/* ==========================================================================
   0.1折游戏合集 · 移动端复刻（基准画布 375 × 812，1rem = 16 设计像素）
   所有尺寸以 rem 表达：html{font-size:calc(100vw * 16 / 375)}
   ⇒ 375 宽的手机上 1:1；其他宽度等比缩放；桌面端居中成 375 宽的一列。
   ========================================================================== */

*,*::before,*::after { box-sizing: border-box; }

html {
  font-size: calc(100vw * 16 / 375);
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 768px) {
  html { font-size: 16px; }
}

body {
  margin: 0;
  background: #080808;
  color: #fff;
  font-family: "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC",
               "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img { display: block; max-width: 100%; border: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
h1,h2,h3,p,ul,li { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

.app {
  position: relative;
  width: 100%;
  max-width: 23.4375rem;          /* 375 设计像素 */
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  animation: pageIn .42s cubic-bezier(.22,1,.36,1) both;
}
@media (min-width: 768px) {
  body { background: #0b0b0b; }
  .app { border-left: 1px solid #1b1b1b; border-right: 1px solid #1b1b1b; }
}

/* ==========================================================================
   动效基座
   ========================================================================== */
@keyframes pageIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes riseIn   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes popIn    { 0% { transform: scale(.8); } 62% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes floaty   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes breathe  { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes sweep    { 0% { transform: translateX(-130%) skewX(-16deg); } 100% { transform: translateX(330%) skewX(-16deg); } }
@keyframes rippleOut{ from { opacity: .5; transform: scale(0); } to { opacity: 0; transform: scale(2.6); } }
@keyframes sheen    { from { background-position: -180% 0; } to { background-position: 180% 0; } }
@keyframes spinGlow { to { transform: rotate(360deg); } }

/* 滚动进场（无 JS 时不隐藏内容） */
.reveal { transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1); }
html.has-js .reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }

/* 按压反馈 */
.press { transition: transform .16s cubic-bezier(.22,1,.36,1), box-shadow .16s ease; }
.press:active { transform: scale(.94); }

/* 波纹 */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  transform: scale(0);
  animation: rippleOut .62s ease-out forwards;
  pointer-events: none;
}

/* ==========================================================================
   底部导航（三页共用 · 统一徽章式图标）
   ========================================================================== */
.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 60;
  width: 23.4375rem;
  max-width: 100vw;
  height: 3.625rem;                /* 58 设计像素 */
  padding: .3125rem 0 .4375rem;
  display: flex;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,.07);
}
.tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #8a8a8a;
  transition: color .25s ease;
}
.tabbar__icon {
  position: relative;
  width: 1.6875rem;
  height: 1.6875rem;
  display: block;
}
.tabbar__icon svg { width: 100%; height: 100%; display: block; }
.tabbar__item.is-active { color: #fff; }
.tabbar__item.is-active .tabbar__icon svg { animation: popIn .52s cubic-bezier(.22,1,.36,1) both; }
/* 选中态辉光（亮度压在判据阈值之下，不干扰文字轮廓） */
.tabbar__item.is-active[data-icon="home"] .tabbar__icon svg { filter: drop-shadow(0 2px 6px rgba(60,140,255,.45)); }
.tabbar__item.is-active[data-icon="vip"]  .tabbar__icon svg { filter: drop-shadow(0 2px 6px rgba(255,160,50,.45)); }
.tabbar__item.is-active[data-icon="mine"] .tabbar__icon svg { filter: drop-shadow(0 2px 6px rgba(150,110,255,.45)); }
.tabbar__label {
  margin-top: .2rem;
  font-size: .75rem;
  line-height: 1.2;
  color: currentColor;
  transition: color .25s ease;
}

/* ==========================================================================
   首页
   ========================================================================== */
.page--home { padding-bottom: 3.625rem; }

/* 顶部搜索栏 */
.topbar {
  display: flex;
  align-items: center;
  padding: .5rem .625rem .4375rem;
  background: #0d0d0d;
}
.topbar__search {
  flex: 1;
  min-width: 0;
  height: 1.7875rem;
  display: flex;
  align-items: center;
  padding: 0 .5rem 0 .4375rem;
  background: #000;
  border-radius: .3125rem;
  transition: box-shadow .3s ease;
}
.topbar__search:focus-within { box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset; }
.topbar__search svg { width: .6rem; height: .6rem; flex: 0 0 auto; color: #b4b4b4; }
.topbar__input {
  flex: 1;
  min-width: 0;
  margin-left: .6875rem;
  font-size: .875rem;
  color: #fff;
}
.topbar__input::placeholder { color: #8a8a8a; }
.topbar__submit {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  margin: 0 .9rem 0 .975rem;
  font-size: .9125rem;
  color: #fff;
}

/* 精品推荐 */
.recommend { padding-top: 1.9rem; }
.section-title {
  margin-left: .875rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.feat {
  display: flex;
  margin: 1.025rem 0 0 1.5625rem;
}
.feat__icon {
  position: relative;
  flex: 0 0 auto;
  width: 4.6875rem;
  height: 4.6875rem;
  border-radius: .5rem;
  overflow: hidden;
  background: #151a33;
}
.feat__icon img { width: 100%; height: 100%; object-fit: cover; animation: floaty 5s ease-in-out infinite; }
.feat__icon::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 45%;
  height: 140%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.22), rgba(255,255,255,0));
  transform: translateX(-130%) skewX(-16deg);
  animation: sweep 5.5s ease-in-out infinite;
  pointer-events: none;
}
.feat__body {
  flex: 1;
  min-width: 0;
  margin-left: .6875rem;
  padding-top: .53125rem;
}
.feat__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feat__sub {
  margin-top: .325rem;
  font-size: .875rem;
  line-height: 1.1;
  color: #999;
}
.feat__dl {
  margin-top: .34375rem;
  font-size: .9rem;
  line-height: 1.1;
  color: #666;
}

/* 标签（免费 / 官方授权 / 0.1折） */
.tag-free {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0 .0625rem;
  height: 1.25rem;
  line-height: 1.25rem;
  font-size: .6875rem;
  font-weight: 500;
  color: #06352a;
  background: #21a67e;
}
.tag-auth {
  flex: 0 0 auto;
  padding: 0 .3125rem;
  height: 1rem;
  line-height: 1rem;
  font-size: .75rem;
  font-weight: 500;
  color: #fff;
  background: #7e3f00;
  border-radius: .25rem;
}
.tag-discount {
  position: absolute;
  left: .3125rem;
  top: .3125rem;
  font-size: .6875rem;
  font-weight: 900;
  font-style: italic;
  color: #ff9b3d;
  text-shadow: 0 .0625rem .125rem rgba(0,0,0,.75);
  transform: rotate(-14deg);
  pointer-events: none;
}
.tag-ribbon {
  position: absolute;
  left: 0;
  top: 0;
  padding: .0625rem .25rem .125rem .3125rem;
  font-size: .625rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e0402a, #b32d1c);
  border-radius: 0 0 .5rem 0;
  pointer-events: none;
}

/* 游戏列表卡片 */
.gamecard {
  margin: 1.9125rem .875rem 0;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: .75rem;
  padding-top: .825rem;
  overflow: hidden;
}
.tabs {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-left: 1.3125rem;
}
.tab {
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  opacity: .62;
  transition: opacity .28s ease;
}
.tab + .tab { margin-left: 1.5rem; }
.tab:first-child + .tab { margin-left: 1.4375rem; }
.tab.is-active { font-weight: 700; opacity: 1; }
.tab:hover { opacity: .9; }
.tabs__ink {
  position: absolute;
  left: 0;
  top: 1.5625rem;
  height: .125rem;
  width: 2.77rem;
  border-radius: .0625rem;
  background: linear-gradient(90deg, #00c853, #009839);
  transition: transform .38s cubic-bezier(.22,1,.36,1), width .38s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.gamelist { margin-top: 1.53125rem; }
.grow {
  position: relative;
  display: flex;
  cursor: pointer;
  align-items: flex-start;
  height: 5.9375rem;
  padding: 0 .75rem 1.1875rem .26875rem;
}
.grow__icon {
  position: relative;
  flex: 0 0 auto;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: .375rem;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.grow:hover .grow__icon { transform: scale(1.04); }
.grow__icon img { width: 100%; height: 100%; object-fit: cover; }
.grow__body {
  flex: 1;
  min-width: 0;
  margin-left: .6875rem;
  height: 4.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.grow__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.1;
}
.grow__name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.grow__dl {
  margin-top: .375rem;
  font-size: .8125rem;
  line-height: 1.1;
  color: #666;
}
.btn-play {
  position: absolute;
  right: .75rem;
  bottom: 1.1875rem;
  overflow: hidden;
  width: 4.09375rem;
  height: 1.4875rem;
  border-radius: .75rem;
  background: #009b3a;
  color: #05240f;
  font-size: .8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 .1875rem .5rem rgba(0,155,58,.28);
  transition: transform .16s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
}
.btn-play:active { transform: scale(.94); box-shadow: 0 .0625rem .25rem rgba(0,155,58,.3); }

/* ==========================================================================
   首页：备注声明 / 游戏列表底部（数量 + 加载更多）
   ========================================================================== */
.notice {
  margin: 1.25rem .875rem 0;
  padding: .625rem .75rem;
  border-radius: .5rem;
  background: rgba(255,255,255,.05);
  color: #9a9a9a;
  font-size: .8125rem;
  line-height: 1.55;
}
.gamelist__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: .5rem .875rem 1.75rem;
}
.gamelist__count {
  color: #8a8a8a;
  font-size: .8125rem;
  line-height: 1.2;
}
.gamelist__more {
  flex: 0 0 auto;
  padding: .5rem 1.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: .875rem;
  line-height: 1.2;
  transition: background .2s ease, transform .16s cubic-bezier(.22,1,.36,1);
}
.gamelist__more:hover { background: rgba(255,255,255,.15); }
.gamelist__more:active { transform: scale(.96); }
.gamelist__more:disabled { opacity: .55; cursor: default; }
.gamelist__empty {
  padding: 2.75rem 0;
  color: #8a8a8a;
  font-size: .875rem;
  text-align: center;
}

/* ==========================================================================
   瀑布流（热门精选 / 商品区）
   ========================================================================== */
.waterfall {
  display: flex;
  align-items: flex-start;
  gap: .6875rem;
  margin-top: .9375rem;
}
.wfcol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .6875rem; }

/* 瀑布流分区 */
.wf-section { padding: 1.5rem .875rem 2rem; }
.wf-section__sub {
  margin: .375rem .875rem 0;
  font-size: .8125rem;
  line-height: 1.2;
  color: #6b6b6b;
}
.wf-section--shop { padding: .25rem 0 1.5rem; }
.wf-section--shop .wf-section__sub { color: #9a9a9a; }
.wf-section--shop .picktitle { margin-top: 1.5rem; }

/* 不同高宽比 ⇒ 瀑布流错落 */
.wcard__media { aspect-ratio: 1 / 1; }
.wcard--ar45 .wcard__media { aspect-ratio: 4 / 5; }
.wcard--ar34 .wcard__media { aspect-ratio: 3 / 4; }
.wcard--ar23 .wcard__media { aspect-ratio: 2 / 3; }
.wcard--ar54 .wcard__media { aspect-ratio: 5 / 4; }

.wcard {
  position: relative;
  cursor: pointer;
  border-radius: .5rem;
  overflow: hidden;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.wcard:active { transform: scale(.985); }
.wcard__media { position: relative; width: 100%; overflow: hidden; background: #141414; }
.wcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.wcard:active .wcard__media img { transform: scale(1.05); }
.wcard__mask {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
  pointer-events: none;
}
.wcard__body { position: relative; padding: .5rem .5625rem .625rem; }
.wcard__title {
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wcard__meta { margin-top: .1875rem; font-size: .6875rem; color: #7a7a7a; }
.wcard__badge {
  position: absolute;
  right: .4375rem;
  top: .4375rem;
  z-index: 2;
  padding: .0625rem .3125rem;
  border-radius: .625rem;
  font-size: .5625rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
}

/* ==========================================================================
   购买会员（店铺页）
   ========================================================================== */
.page--shop { background: #fff; color: #333; padding-bottom: 1rem; }
.shop__header {
  position: relative;
  height: 11.625rem;
  padding: .4375rem .875rem 0;
  color: #fff;
  background: linear-gradient(112deg, #4aa5f9 0%, #2f6ef5 55%, #3577ff 100%);
  overflow: hidden;
}
.shop__header::after {
  content: "";
  position: absolute;
  right: -30%;
  top: -60%;
  width: 70%;
  height: 160%;
  background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(255,255,255,0));
  opacity: .5;
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
}
.shop__tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .6875rem;
}
.iconbtn {
  position: relative;
  overflow: hidden;
  width: 1.9375rem;
  height: 1.9375rem;
  border-radius: 50%;
  background: #2a56cc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .25s ease;
}
.iconbtn:active { transform: scale(.92); }
.iconbtn svg { width: 1.1875rem; height: 1.1875rem; color: #fff; }
.orderbtn {
  position: relative;
  overflow: hidden;
  height: 1.60625rem;
  padding: 0 .75rem;
  border-radius: .8125rem;
  background: #2a56cc;
  display: flex;
  align-items: center;
  gap: .3125rem;
  font-size: .875rem;
  transition: transform .18s ease, background .25s ease;
}
.orderbtn:active { transform: scale(.95); background: #2250bc; }
.orderbtn svg { width: .8125rem; height: .8125rem; }
.shop__profile {
  display: flex;
  align-items: flex-start;
  margin-top: .53125rem;
}
.shop__avatar {
  flex: 0 0 auto;
  width: 2.9375rem;
  height: 2.9375rem;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  object-fit: cover;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.18);
}
.shop__id { margin-left: .9375rem; padding-top: .4375rem; }
.shop__name {
  display: flex;
  align-items: center;
  gap: .3125rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.1;
}
.shop__verified {
  display: flex;
  align-items: center;
  gap: .1875rem;
  height: 1.0625rem;
  padding: 0 .3125rem;
  border-radius: .25rem;
  background: #fff;
  color: #ff8a00;
  font-size: .6875rem;
  font-weight: 500;
}
.shop__verified svg { width: .8125rem; height: .8125rem; }
.shop__meta {
  margin-top: .7rem;
  font-size: .8125rem;
  line-height: 1.1;
  color: rgba(255,255,255,.95);
}
.shop__desc {
  margin-top: 1rem;
  font-size: .8125rem;
  line-height: 1.2;
  color: rgba(255,255,255,.96);
}
.contactbtn {
  position: absolute;
  overflow: hidden;
  right: .875rem;
  bottom: 1.375rem;
  height: 1.75rem;
  padding: 0 .875rem;
  border-radius: .875rem;
  background: #fff;
  color: #1a66e8;
  display: flex;
  align-items: center;
  gap: .3125rem;
  font-size: .9375rem;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.16);
  transition: transform .18s ease;
}
.contactbtn:active { transform: scale(.95); }
.contactbtn svg { width: 1rem; height: 1rem; }

.shop__body { padding: 1.0625rem 1.1625rem 0; background: #fff; }
.shoptab {
  position: relative;
  display: inline-block;
  margin-left: .625rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1677ff;
}
.shoptab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .125rem;
  width: 1.5rem;
  height: .125rem;
  border-radius: .0625rem;
  background: #1677ff;
}
.bundle {
  position: relative;
  margin-top: 1.03125rem;
  width: 10.25rem;
  height: 4.125rem;
  padding: .475rem .75rem;
  border-radius: .625rem;
  color: #fff;
  background: linear-gradient(120deg, #45a8fb 0%, #2b7bf3 60%, #1f63ea 100%);
  overflow: hidden;
  box-shadow: 0 .375rem .875rem rgba(43,123,243,.28);
}
.bundle__title { font-size: .9375rem; font-weight: 700; line-height: 1.1; }
.bundle__sub { margin-top: .75rem; font-size: .875rem; line-height: 1.1; color: rgba(255,255,255,.82); }
.bundle__check {
  position: absolute;
  right: -.4375rem;
  bottom: -.4375rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bundle__check svg { width: 1.5rem; height: 1.5rem; color: rgba(255,255,255,.85); }
.picktitle {
  margin-top: 1.3125rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}
.goods {
  display: flex;
  flex-wrap: wrap;
  gap: .675rem;
  margin-top: .9375rem;
}
.goods__item {
  width: 10.21875rem;
  border-radius: .4375rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 .0625rem .5rem rgba(0,0,0,.08);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease;
}
.goods__item:active { transform: scale(.985); box-shadow: 0 .0625rem .25rem rgba(0,0,0,.08); }
.poster {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: .375rem;
  background: radial-gradient(120% 80% at 50% 110%, #7a1230 0%, #2a0a24 55%, #14061c 100%);
}
.poster--tall { aspect-ratio: 3 / 4; }
.poster__title {
  position: relative;
  z-index: 2;
  padding: .5625rem .3125rem 0;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  text-align: center;
  letter-spacing: -.5px;
}
.poster__sub {
  position: relative;
  z-index: 2;
  margin-top: .3125rem;
  text-align: center;
  font-size: .6875rem;
  color: rgba(255,255,255,.9);
}
.poster__tags {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: .25rem;
  margin-top: .4375rem;
}
.poster__tags li {
  padding: .0625rem .3125rem;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: .625rem;
  font-size: .5625rem;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}
.poster__phone {
  position: absolute;
  left: 2%;
  top: 66%;
  width: 96%;
  border-radius: .625rem;
  overflow: hidden;
  transform: rotate(-8deg);
  box-shadow: 0 .375rem 1rem rgba(0,0,0,.55);
  border: .25rem solid #23232b;
}
.poster--tall .poster__phone { top: 56%; width: 92%; left: 4%; }
.poster__phone img { width: 100%; display: block; }
.poster__glow {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -14%;
  height: 52%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(255,60,60,.55), rgba(255,60,60,0) 70%);
  pointer-events: none;
}
.goods__name {
  margin-top: .5rem;
  padding: 0 .625rem;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.25;
  color: #333;
}
.goods__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .4375rem;
  padding: 0 1.0625rem 0 .625rem;
}
.goods__price {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1;
  color: #ff5000;
}
.goods__price i { font-style: normal; font-size: .8125rem; }
.goods__stock {
  padding: .0625rem .25rem;
  border-radius: .1875rem;
  background: #eaf3ff;
  color: #1677ff;
  font-size: .75rem;
  line-height: 1.25;
}
.nomore {
  margin-top: 2rem;
  text-align: center;
  font-size: .875rem;
  color: #b0b0b0;
}
/* 店铺页（无底部导航）返回首页的悬浮按钮 */
.shop__back {
  position: fixed;
  overflow: hidden;
  left: calc(50% - 11.71875rem + .875rem);
  bottom: 1.25rem;
  z-index: 50;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(0,0,0,.42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.25);
  transition: transform .18s ease, background .25s ease;
}
.shop__back:active { transform: scale(.92); background: rgba(0,0,0,.6); }
.shop__back svg { width: 1.125rem; height: 1.125rem; }

/* ==========================================================================
   我的
   ========================================================================== */
.page--mine { padding-bottom: 3.625rem; }
.mine__head { padding: 1.84375rem 0 0; background: #0c0c0c; }
.mine__row { display: flex; align-items: flex-start; padding: 0 .875rem; }
.mine__avatar {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #e9e9e9;
  box-shadow: 0 0 1.25rem .3125rem rgba(255,255,255,.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: avatarGlow 3.6s ease-in-out infinite;
}
@keyframes avatarGlow {
  0%,100% { box-shadow: 0 0 1.25rem .3125rem rgba(255,255,255,.38); }
  50%     { box-shadow: 0 0 1.75rem .5rem rgba(255,255,255,.56); }
}
.mine__avatar svg { width: 2.25rem; height: 2.25rem; color: #1a1a1a; }
.mine__login {
  margin-left: 1.0625rem;
  margin-top: .625rem;
  font-size: 1.0625rem;
  line-height: 1.2;
  font-weight: 600;
}
.mine__quota {
  margin-top: 1.5rem;
  padding: 0 .875rem;
  text-align: right;
  font-size: .8125rem;
  line-height: 1.2;
  color: #fff;
}
.mine__quota b { font-size: 1rem; color: #ff4d4f; font-weight: 700; display: inline-block; }
.minecard {
  margin: 1.375rem .875rem 0;
  padding: 1.0625rem .75rem 0 .4375rem;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: .75rem;
  background: #000;
}
.mineitem {
  display: flex;
  align-items: flex-start;
  height: 3.8125rem;
}
.mineitem__icon {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .625rem;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.22,1,.36,1);
}
.mineitem:active .mineitem__icon { transform: scale(.9); }
.mineitem__icon svg { width: 2.25rem; height: 2.25rem; display: block; }
.mineitem__text {
  margin-left: 1rem;
  margin-top: .1875rem;
  font-size: 1.125rem;
  line-height: 1.2;
  color: #fff;
}
.mineitem__arrow { margin-left: auto; margin-top: .0625rem; color: #4d4d4d; display: flex; }
.mineitem__arrow svg { width: 1.25rem; height: 1.25rem; transition: transform .2s ease; }
.mineitem:active .mineitem__arrow svg { transform: translateX(.125rem); }

/* 兑换下载次数：底部弹层 */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.sheet.is-open { display: flex; }
.sheet__mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  animation: pageIn .28s ease both;
}
.sheet__panel {
  position: relative;
  width: 23.4375rem;
  max-width: 100vw;
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: 1rem 1rem 0 0;
  background: #171717;
  color: #fff;
  animation: sheetUp .34s cubic-bezier(.22,1,.36,1) both;
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
.sheet__title { font-size: 1.0625rem; font-weight: 700; }
.sheet__hint { margin-top: .5rem; font-size: .8125rem; color: #8a8a8a; }
.sheet__input {
  width: 100%;
  height: 2.625rem;
  margin-top: 1rem;
  padding: 0 .75rem;
  border-radius: .5rem;
  background: #000;
  border: 1px solid rgba(255,255,255,.14);
  font-size: .9375rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.sheet__input:focus { border-color: rgba(0,155,58,.7); box-shadow: 0 0 0 3px rgba(0,155,58,.16); }
.sheet__input::placeholder { color: #5a5a5a; }
.sheet__submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 2.625rem;
  margin-top: .75rem;
  border-radius: .5rem;
  background: linear-gradient(135deg, #00c853, #009b3a);
  color: #05240f;
  font-size: .9375rem;
  font-weight: 600;
  transition: transform .16s ease;
}
.sheet__submit:active { transform: scale(.97); }
.sheet__msg {
  margin-top: .625rem;
  min-height: 1.125rem;
  font-size: .8125rem;
  color: #ff6b6b;
  text-align: center;
}
.sheet__msg.is-ok { color: #35d07f; }

/* 轻提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%);
  z-index: 90;
  max-width: 78vw;
  padding: .5625rem .875rem;
  border-radius: .5rem;
  background: rgba(30,30,30,.94);
  color: #fff;
  font-size: .8125rem;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.toast.is-show { opacity: 1; }

/* ==========================================================================
   尊重系统「减弱动态效果」
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.has-js .reveal:not(.is-in) { opacity: 1; transform: none; }
}

/* ==========================================================================
   可点击的游戏卡片（首页）：焦点可见 + 按压反馈
   ========================================================================== */
.grow:focus-visible, .wcard:focus-visible {
  outline: 2px solid rgba(0,200,90,.85);
  outline-offset: 2px;
  border-radius: .5rem;
}
.grow:active { transform: scale(.995); }

/* ==========================================================================
   首页顶部横幅（后台可增删改；文字用 HTML 叠在图上，不烧进图片）
   ========================================================================== */
.banner { margin: .8125rem .875rem 0; }
.banner__link {
  position: relative;
  display: block;
  border-radius: .75rem;
  overflow: hidden;
  background: #0b1030;
  box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .18s cubic-bezier(.22,1,.36,1);
}
.banner__link:active { transform: scale(.993); }
.banner__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.banner__text {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 64%;
  padding: .875rem .625rem .875rem .875rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .26rem;
  background: linear-gradient(100deg, rgba(8,12,36,.74) 0%, rgba(8,12,36,.46) 58%, rgba(8,12,36,0) 100%);
  /* ★ 阴影做在这一层，不做在「渐变字」元素上：
     有些浏览器（部分安卓 WebView / 微信内置）里 filter + background-clip:text
     打架，会把渐变字渲染成【黑字】或整行看不见 ⇒ 阴影挪到外层就没这个问题了。 */
  filter: drop-shadow(0 .125rem .25rem rgba(0,0,0,.55));
}
/* ★ 横幅标题/副标题是「渐变字」。
   —— 有些手机浏览器（微信内置、老版安卓 WebView）不支持 background-clip:text，
      那样写出来的字会变成【黑色】或整行看不见。
   —— 这里加两层保险：① color 写实色兜底 + -webkit-text-fill-color 一起设；
      ② @supports 里再兜一次 ⇒ 任何浏览器都只会看到金色实字，绝不发黑、也绝不变透明。 */
.banner__title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .01em;
  color: #ffd76e;
  background: linear-gradient(92deg, #fff8e6 0%, #ffdc96 44%, #ffab4d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* ★ 阴影不放在自己身上（见下面 .banner__text 的说明），避免 filter 跟渐变字打架 */
}
.banner__subtitle {
  font-size: .9375rem;
  font-weight: 900;
  line-height: 1.2;
  color: #ff9d8a;
  background: linear-gradient(92deg, #ffd166 0%, #ff7d7d 50%, #c98bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .banner__title {
    color: #ffd76e;
    -webkit-text-fill-color: currentColor;
    background: none;
  }
  .banner__subtitle {
    color: #ff9d8a;
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}
.banner__row { display: flex; align-items: center; gap: .5rem; margin-top: .08rem; }
.banner__btn {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 .75rem;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 900;
  color: #a8321c;
  background: linear-gradient(180deg, #ffe9b5, #f7b955);
  box-shadow: 0 .1875rem .5rem rgba(247,185,85,.3);
}
.banner__tags {
  font-size: .75rem;
  font-weight: 700;
  color: #ffe6c2;
  text-shadow: 0 .0625rem .1875rem rgba(0,0,0,.65);
}
.banner__foot {
  font-size: .9375rem;
  font-weight: 900;
  letter-spacing: .02em;
  color: #ffd76e;
  text-shadow: 0 .125rem .3125rem rgba(0,0,0,.7);
}
.banner__sub {
  margin: .5rem 0 0;
  padding: .7rem .75rem;
  border-radius: .5rem;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  color: #e6e6f0;
  font-size: .75rem;
  line-height: 1.3;
  text-align: center;
  letter-spacing: .02em;
}

/* ==========================================================================
   顶部横幅轮播（多于一条时自动播下一张）
   —— 所有 slide 叠在同一格里，容器高度取最高的那张，切换时页面不跳
   ========================================================================== */
.banner__stage { position: relative; display: grid; }
.banner__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease;
}
.banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 指示点：右下角（文字在左侧，不挡字） */
.banner__dots {
  position: absolute;
  right: .625rem;
  bottom: .625rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .3125rem;
}
.banner__dot {
  width: .4375rem;
  height: .4375rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  box-shadow: 0 .0625rem .1875rem rgba(0,0,0,.45);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.banner__dot.is-active { width: 1.125rem; background: #ffd76e; }
.banner__dot:focus-visible { outline: 2px solid rgba(255,215,110,.9); outline-offset: 2px; }

/* 新品角标（蓝色斜体） */
.tag-new {
  position: absolute;
  left: .3125rem;
  top: .3125rem;
  font-size: .6875rem;
  font-weight: 900;
  font-style: italic;
  color: #8ec5ff;
  text-shadow: 0 .0625rem .125rem rgba(0,0,0,.75);
  transform: rotate(-14deg);
  pointer-events: none;
}

/* ==========================================================================
   登录 / 注册
   ========================================================================== */
.auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(19,26,58,.86) 0%, rgba(6,8,16,.95) 62%),
    url('/assets/auth-bg.jpg') center/cover no-repeat;
}
.auth__wrap { width: 100%; max-width: 20rem; }
.auth__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.auth__mark {
  width: 2.25rem; height: 2.25rem;
  flex: none;
  border-radius: .75rem;
  background: linear-gradient(140deg, #6fb6ff, #1e6bff);
  box-shadow: 0 .5rem 1.1rem rgba(30,107,255,.42);
  display: grid;
  place-items: center;
  color: #fff;
}
.auth__mark svg { width: 1.25rem; height: 1.25rem; }
.auth__brandtxt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: #fff;
}
.auth__brandtxt em {
  font-style: normal;
  font-size: .5625rem;
  letter-spacing: 2px;
  color: #8a93b5;
  font-weight: 600;
}
.auth__card {
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
  padding: 1.875rem 1.5rem 1.625rem;
  border-radius: 1.25rem;
  background: rgba(15,19,36,.72);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 1.25rem 3rem rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.auth__card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd76e, #ff9f43, transparent);
  opacity: .9;
}
.auth__title { font-size: 1.375rem; font-weight: 800; text-align: center; letter-spacing: 1px; }
.auth__sub { margin-top: .4375rem; font-size: .8125rem; color: #9a9aa8; text-align: center; line-height: 1.7; }
.auth__form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .9375rem; }
.auth__field { display: flex; flex-direction: column; gap: .4375rem; }
.auth__label { font-size: .75rem; color: #c3c6d6; letter-spacing: .3px; }
.auth__input {
  height: 2.875rem;
  padding: 0 .875rem;
  border-radius: .75rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: .9375rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.auth__input::placeholder { color: #6b7186; }
.auth__input:focus {
  outline: none;
  border-color: #5ab0ff;
  background: rgba(90,176,255,.10);
  box-shadow: 0 0 0 3px rgba(90,176,255,.16);
}
.auth__msg { min-height: 1.125rem; font-size: .8125rem; color: #ff6b6b; }
.auth__msg.is-ok { color: #31c48d; }
.auth__submit {
  height: 3rem;
  border-radius: .75rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: #fff;
  background: linear-gradient(135deg, #5ab0ff, #1e6bff);
  box-shadow: 0 .625rem 1.5rem rgba(30,107,255,.38);
  transition: filter .18s, transform .12s;
}
.auth__submit:hover { filter: brightness(1.07); }
.auth__submit:active { transform: translateY(1px); }
.auth__submit--link { display: flex; align-items: center; justify-content: center; margin-top: 1.25rem; }
.auth__foot { margin-top: 1.25rem; font-size: .8125rem; color: #8e8e9c; text-align: center; }
.auth__foot a { color: #5ab0ff; }
.auth__demo { margin-top: .625rem; font-size: .6875rem; color: #6d6d7c; text-align: center; }

/* 我的：登录态 */
.mine__login a { color: #5ab0ff; }
.mine__role {
  margin-left: .375rem;
  padding: 0 .3125rem;
  height: 1rem;
  line-height: 1rem;
  font-size: .625rem;
  font-weight: 700;
  border-radius: .25rem;
  color: #1a1200;
  background: linear-gradient(135deg, #ffd76e, #ff9f43);
}
.mine__logout {
  margin-left: .5rem;
  font-size: .75rem;
  font-weight: 400;
  color: #8a8a9a;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

/* 退出登录按钮 */
.mine__logout { display: inline-block; }
.mine__logout button { font-size: .75rem; color: #8a8a9a; border-bottom: 1px solid rgba(255,255,255,.22); }

/* ======================================================================
   详情页（深色主题）
   结构照参考图：顶栏 → 图标卡 → 三格数据 → 介绍(带色高亮) → 推荐 → 底部开始游戏
   ====================================================================== */

.page--detail { background: #000; }
.page--detail .app { background: #000; }

/* ---------- 顶栏 ---------- */
.dtop {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 .75rem;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}
.dtop__title {
  font-size: 1rem;
  font-weight: 600;
  color: #f2f2f5;
  letter-spacing: .5px;
}
.dtop__btn {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #f2f2f5;
  cursor: pointer;
}

/* ---------- 卡片 ---------- */
.dcard {
  margin: 0 .5rem .625rem;
  padding: .875rem .75rem;
  border-radius: .75rem;
  background: #0e0e10;
  border: 1px solid #1c1c20;
}

/* 图标 + 标题 */
.dhead { display: flex; gap: .75rem; align-items: flex-start; }
.dhead__icon {
  position: relative;
  width: 4.375rem;
  height: 4.375rem;
  flex: none;
  border-radius: .625rem;
  overflow: hidden;
  background: #17171b;
}
.dhead__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dhead__corner {
  position: absolute;
  left: 0; top: 0;
  padding: .0625rem .1875rem;
  font-size: .5rem;
  font-weight: 700;
  color: #fff;
  background: #e0483c;
  border-bottom-right-radius: .3125rem;
}
.dhead__body { min-width: 0; flex: 1; }
.dhead__title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f2f2f5;
}
.dhead__sub {
  margin-top: .4375rem;
  font-size: .875rem;
  color: #8b8b95;
}
.dhead__tag {
  display: inline-block;
  margin-top: .4375rem;
  padding: .0625rem .3125rem;
  font-size: .6875rem;
  border-radius: .1875rem;
  color: #ffb457;
  background: rgba(255, 180, 87, .16);
}

/* 三格数据 */
.dcard--stats {
  display: flex;
  padding: 1rem .5rem;
}
.dstat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
}
.dstat b {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f2f2f5;
  line-height: 1;
}
.dstat span { font-size: .75rem; color: #6f6f78; }

/* 小节标题（居中 + 绿色下划线） */
.dsec {
  position: relative;
  margin-bottom: .875rem;
  text-align: center;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #f2f2f5;
}
.dsec::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.375rem;
  width: 2rem;
  height: .125rem;
  transform: translateX(-50%);
  background: #29c05a;
  border-radius: .0625rem;
}

/* 介绍：一行一条带色高亮 */
.dintro__line {
  display: block;
  margin-bottom: .1875rem;
  padding: .125rem .3125rem;
  border-radius: .25rem;
  font-size: .8125rem;
  line-height: 1.65;
  word-break: break-all;
}
.dintro__line:last-child { margin-bottom: 0; }
.dintro__line--orange { color: #f0b05a; background: rgba(240, 176, 90, .13); }
.dintro__line--green  { color: #5fd08a; background: rgba(95, 208, 138, .13); }
.dintro__line--yellow { color: #e6d061; background: rgba(230, 208, 97, .13); }
.dintro__line--red    { color: #f08576; background: rgba(240, 133, 118, .13); }
.dintro__line--blue   { color: #74baf7; background: rgba(116, 186, 247, .13); }

/* 推荐：横向滚动 */
.drec {
  display: flex;
  gap: .625rem;
  overflow-x: auto;
  padding-bottom: .125rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.drec::-webkit-scrollbar { display: none; }
.drec__item { flex: none; width: 4.375rem; }
.drec__img {
  display: block;
  width: 4.375rem;
  height: 4.375rem;
  border-radius: .4375rem;
  overflow: hidden;
  background: #17171b;
}
.drec__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drec__name {
  display: block;
  margin-top: .3125rem;
  font-size: .6875rem;
  color: #d9d9df;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 底部：开始游戏 */
.dact {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: .625rem .75rem calc(.625rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(0,0,0,0), #000 42%);
}
.dact__btn {
  display: block;
  max-width: 23.4375rem;
  margin: 0 auto;
  height: 2.875rem;
  line-height: 2.875rem;
  text-align: center;
  border-radius: 1.4375rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #04320f;
  background: #2fc45c;
}
.dact__btn:active { filter: brightness(.92); }
.page--detail .app { padding-bottom: 4.25rem; }

/* ---------- 角标样式的统一配色 ----------
   后台选「角标样式」时，首页 / 会员页 / 详情页要用同一套颜色语义，
   否则会出现「选了蓝色，详情页还是红色」这种看不懂的情况。
   （首页保留原来的形状 tag-*；会员页/详情页保留自己的形状，只换颜色） */
.bs-free     { --bs-fg: #06352a; --bs-bg: #21a67e; }
.bs-discount { --bs-fg: #5a3200; --bs-bg: #ff9b3d; }
.bs-ribbon   { --bs-fg: #ffffff; --bs-bg: linear-gradient(135deg, #e0402a, #b32d1c); }
.bs-new      { --bs-fg: #ffffff; --bs-bg: #3b82f6; }

.wcard__badge.bs-free,
.wcard__badge.bs-discount,
.wcard__badge.bs-ribbon,
.wcard__badge.bs-new {
  color: var(--bs-fg);
  background: var(--bs-bg);
}
.dhead__corner.bs-free,
.dhead__corner.bs-discount,
.dhead__corner.bs-ribbon,
.dhead__corner.bs-new {
  color: var(--bs-fg);
  background: var(--bs-bg);
}

/* ---------- 我的卡密 ---------- */
.minecard__title {
  margin: 0 0 10px;
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
}
.minecard__tip {
  margin: 9px 0 0;
  font-size: .6875rem;
  color: #9fb0cd;
  line-height: 1.6;
}
.mycards { display: flex; flex-direction: column; gap: .5rem; }
.mycard {
  padding: .625rem .6875rem;
  border-radius: .625rem;
  background: rgba(255, 255, 255, .06);
}
.mycard__top { display: flex; align-items: center; gap: .5rem; margin-bottom: .4375rem; }
.mycard__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  object-fit: cover;
  flex: none;
}
.mycard__meta { min-width: 0; }
.mycard__meta b {
  display: block;
  font-size: .75rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mycard__meta span {
  display: block;
  font-size: .625rem;
  color: #9fb0cd;
  margin-top: 2px;
}
.mycard__code {
  padding: .4375rem .5rem;
  border-radius: .375rem;
  background: rgba(0, 0, 0, .28);
  color: #ffd666;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .75rem;
  letter-spacing: .04em;
  word-break: break-all;
  cursor: pointer;
  user-select: all;
}
.mycard__code:active { opacity: .7; }
.goods__stock.is-empty { color: #e8a33d; }

/* ---------- 详情页介绍区里的图片 ---------- */
.dintro__figure {
  margin: .625rem 0;
}
.dintro__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: .5rem;
  box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .35);
}

/* 我的卡密：待兑换 / 已兑换 */
.mycard__wait { color: #29c05a; }
.mycard__used { color: #8a94a6; }

/* 文字弹窗：全屏 / 存档教程、客服 */
.sheet--info .sheet__panel { max-height: 78vh; }
.sheet__text {
  max-height: 56vh;
  overflow-y: auto;
  margin: 4px 0 14px;
  text-align: left;
}
.sheet__text h4 {
  margin: 14px 0 6px;
  font-size: 15px;
  font-weight: 650;
  color: #f2f2f5;
}
.sheet__text h4:first-child { margin-top: 0; }
.sheet__steps {
  margin: 0 0 6px;
  padding-left: 20px;
  color: #c9d1e0;
  font-size: 13.5px;
  line-height: 1.85;
}
.sheet__steps li { margin-bottom: 4px; }
.sheet__line {
  margin: 0 0 8px;
  color: #c9d1e0;
  font-size: 14px;
  line-height: 1.7;
  word-break: break-all;
}

/* ---------- 永久包站徽标（「我的」页头部） ---------- */
.mine__vip {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd66b, #ff9f2e);
  color: #4a2c00;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}
/* hidden 属性必须真的藏起来（别被别的 display 规则盖掉） */
.mine__quota span[hidden] { display: none !important; }

/* ---------- 顶部搜索条（做显眼一点） ----------
   原来黑底上还是黑框 + 灰字，几乎看不出来是个能点的搜索框。
   现在改成白底深色字的胶囊 + 实心蓝色「搜索」按钮，一眼就找得到。 */
.topbar__search {
  height: 2.125rem;
  padding: 0 .5625rem 0 .5rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .38);
}
.topbar__search:focus-within {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .6), 0 2px 10px rgba(0, 0, 0, .38);
}
.topbar__search svg { width: .75rem; height: .75rem; color: #8a92a4; }
.topbar__input {
  margin-left: .5rem;
  font-size: .9375rem;
  color: #141824;
}
.topbar__input::placeholder { color: #aeb4c2; }
.topbar__submit {
  height: 1.75rem;
  margin: 0 .75rem 0 .6875rem;
  padding: 0 .875rem;
  border-radius: .3125rem;
  background: linear-gradient(180deg, #3d78f0, #2f6ef5);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(47, 110, 245, .38);
}
