/* ============================================================
   格来云游戏 · 本地复刻版 设计系统
   深色云游戏 H5 风格 / 原创实现
   ============================================================ */

:root {
  --bg: #0b0d11;
  --bg-2: #12151b;
  --bg-3: #181c24;
  --card: #161a22;
  --card-2: #1d222d;
  --line: rgba(255, 255, 255, 0.07);
  --fg: #f2f5f9;
  --fg-2: #aeb6c4;
  --fg-3: #6b7383;
  --mint: #2df2a4;
  --mint-deep: #0ecf8b;
  --azure: #4d9fff;
  --gold: #ffc24b;
  --rose: #ff5c7a;
  --grad-main: linear-gradient(135deg, #2df2a4 0%, #19c6ff 100%);
  --grad-gold: linear-gradient(135deg, #ffd66b 0%, #ff9d3c 100%);
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;
  --tabbar-h: 58px;
  --page-max: 430px;
  --font-num: "DIN Alternate", "Bahnschrift", "PingFang SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { font-size: 16px; }

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: #050608;
  color: var(--fg);
  min-height: 100vh;
}

/* 桌面预览时的氛围背景 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px 400px at 15% -5%, rgba(45, 242, 164, 0.08), transparent 60%),
    radial-gradient(700px 500px at 90% 110%, rgba(25, 198, 255, 0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* 手机容器：居中模拟 H5 */
.phone {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 12px);
}
.phone.no-tabbar { padding-bottom: 24px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::-webkit-scrollbar { width: 0; height: 0; }

/* ---------- 顶部栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(11, 13, 17, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .back {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-3);
  font-size: 18px;
  color: var(--fg-2);
}
.topbar .title { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.topbar .spacer { flex: 1; }

.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 18px; letter-spacing: 1px;
}
.brand .logo {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad-main);
  display: grid; place-items: center;
  font-size: 15px;
  color: #041b12;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(45, 242, 164, 0.35);
}

/* ---------- 搜索框 ---------- */
.searchbar {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--fg-3);
  font-size: 13px;
}
.searchbar input {
  flex: 1; background: none; border: 0; outline: 0;
  color: var(--fg); font-size: 13px;
}
.searchbar input::placeholder { color: var(--fg-3); }

/* ---------- 横幅轮播 ---------- */
.banner {
  position: relative;
  margin: 12px 14px 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 21 / 10;
}
.banner .slides { display: flex; height: 100%; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.banner .slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
}
.banner .slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.72) 100%);
}
.banner .slide .b-text { position: relative; z-index: 2; }
.banner .slide .b-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(45, 242, 164, 0.18);
  color: var(--mint);
  border: 1px solid rgba(45, 242, 164, 0.4);
  margin-bottom: 6px;
}
.banner .slide h3 { font-size: 19px; font-weight: 800; letter-spacing: 0.5px; }
.banner .slide p { font-size: 12px; color: var(--fg-2); margin-top: 3px; }
.banner .dots {
  position: absolute; right: 14px; bottom: 12px; z-index: 3;
  display: flex; gap: 5px;
}
.banner .dots i {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s;
}
.banner .dots i.on { width: 16px; background: var(--mint); }

/* ---------- 分区标题 ---------- */
.section { margin-top: 22px; }
.sec-head {
  display: flex; align-items: center;
  padding: 0 14px;
  margin-bottom: 10px;
}
.sec-head h2 {
  font-size: 17px; font-weight: 800; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 8px;
}
.sec-head h2::before {
  content: "";
  width: 4px; height: 16px;
  border-radius: 2px;
  background: var(--grad-main);
}
.sec-head .more { margin-left: auto; font-size: 12px; color: var(--fg-3); }
.sec-head .more::after { content: " ›"; }

/* ---------- 横向滚动卡片 ---------- */
.hscroll {
  display: flex; gap: 10px;
  padding: 2px 14px 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.hscroll .g-card { scroll-snap-align: start; }

/* ---------- 游戏卡片 ---------- */
.g-card { flex: 0 0 auto; width: 118px; }
.g-card .cover {
  position: relative;
  width: 118px; height: 150px;
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex; align-items: flex-end;
  transition: transform 0.25s;
}
.g-card .cover:active { transform: scale(0.96); }
.g-card .cover .cover-title {
  position: relative; z-index: 2;
  padding: 8px;
  font-size: 12px; font-weight: 800; line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.g-card .name { font-size: 12.5px; font-weight: 600; margin-top: 7px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-card .sub { font-size: 11px; color: var(--fg-3); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cover .badge {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: var(--mint);
}
.cover .badge.gold { color: var(--gold); }
.cover .badge.rose { color: var(--rose); }
.cover .badge.azure { color: var(--azure); }

/* 封面程序化美术 */
.art { position: absolute; inset: 0; }
.art::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 60% at 50% 115%, rgba(0, 0, 0, 0.55), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 30%);
}
.art .glyph {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  font-size: 44px; font-weight: 900;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-num);
  letter-spacing: -2px;
}

/* ---------- 网格卡片（游戏库 / 列表） ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
  padding: 0 14px;
}
.grid .g-card { width: auto; }
.grid .g-card .cover { width: 100%; height: auto; aspect-ratio: 3 / 3.8; }

/* ---------- 横排条目 ---------- */
.row-item {
  display: flex; gap: 12px;
  padding: 10px 14px;
  align-items: center;
}
.row-item .cover {
  position: relative;
  width: 74px; height: 74px; flex: 0 0 auto;
  border-radius: var(--radius-s);
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.row-item .cover .glyph { font-size: 26px; }
.row-item .info { flex: 1; min-width: 0; }
.row-item .info h4 { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.row-item .info p { font-size: 12px; color: var(--fg-3); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-item .go {
  flex: 0 0 auto;
  font-size: 12px; font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #041b12;
}
.row-item .go.ghost { background: var(--bg-3); color: var(--fg-2); border: 1px solid var(--line); }

/* ---------- 榜单 ---------- */
.rank-list { padding: 0 14px; }
.rank-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.rank-item:last-child { border-bottom: 0; }
.rank-item .num {
  width: 30px; flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: 22px; font-weight: 900; font-style: italic;
  color: var(--fg-3);
  text-align: center;
}
.rank-item:nth-child(1) .num { color: #ffd66b; }
.rank-item:nth-child(2) .num { color: #cfd8e3; }
.rank-item:nth-child(3) .num { color: #e8a06c; }
.rank-item .cover {
  position: relative;
  width: 58px; height: 58px; flex: 0 0 auto;
  border-radius: var(--radius-s); overflow: hidden;
  display: flex; align-items: flex-end;
}
.rank-item .cover .glyph { font-size: 20px; }
.rank-item .info { flex: 1; min-width: 0; }
.rank-item .info h4 { font-size: 14px; font-weight: 700; }
.rank-item .info p { font-size: 11.5px; color: var(--fg-3); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-item .hot { flex: 0 0 auto; text-align: right; font-size: 11px; color: var(--fg-3); }
.rank-item .hot b { display: block; font-family: var(--font-num); font-size: 15px; color: var(--rose); font-style: italic; }

/* ---------- 分类标签 ---------- */
.chips {
  display: flex; gap: 8px;
  padding: 2px 14px 4px;
  overflow-x: auto;
}
.chips .chip {
  flex: 0 0 auto;
  font-size: 12.5px; font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--fg-2);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.chips .chip.on {
  background: rgba(45, 242, 164, 0.12);
  color: var(--mint);
  border-color: rgba(45, 242, 164, 0.45);
  font-weight: 700;
}

/* ---------- 底部标签栏 ---------- */
.tabbar {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: 0;
  z-index: 60;
  width: 100%; max-width: var(--page-max);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  background: rgba(15, 18, 23, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  color: var(--fg-3);
}
.tabbar a .ico { font-size: 21px; line-height: 1; filter: grayscale(1) opacity(0.6); transition: all 0.2s; }
.tabbar a.on { color: var(--mint); font-weight: 700; }
.tabbar a.on .ico { filter: none; transform: translateY(-1px); }

/* ---------- 详情页 ---------- */
.detail-hero {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.detail-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 17, 0.15) 0%, transparent 35%, var(--bg) 98%);
}
.detail-hero .glyph { font-size: 90px; }
.detail-hero .hero-info { position: relative; z-index: 2; padding: 0 16px 4px; width: 100%; }
.detail-hero h1 { font-size: 22px; font-weight: 900; letter-spacing: 0.5px; }
.detail-hero .tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.detail-hero .tags span {
  font-size: 10.5px; padding: 3px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.08); color: var(--fg-2);
  border: 1px solid var(--line);
}

.play-cta {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: 0; z-index: 60;
  width: 100%; max-width: var(--page-max);
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 18, 23, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: flex; gap: 10px;
}
.play-cta .btn-main {
  flex: 1; height: 46px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #041b12;
  font-size: 16px; font-weight: 900; letter-spacing: 2px;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(45, 242, 164, 0.3);
}
.play-cta .btn-side {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 18px;
}

.stat-row {
  display: flex;
  margin: 14px;
  padding: 14px 0;
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
}
.stat-row .cell { flex: 1; text-align: center; }
.stat-row .cell + .cell { border-left: 1px solid var(--line); }
.stat-row .cell b { font-family: var(--font-num); font-size: 17px; font-style: italic; color: var(--mint); }
.stat-row .cell span { display: block; font-size: 11px; color: var(--fg-3); margin-top: 3px; }

.shots { display: flex; gap: 8px; padding: 0 14px; overflow-x: auto; }
.shots .shot {
  position: relative;
  flex: 0 0 72%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-m);
  overflow: hidden;
}

.about-text { padding: 4px 16px; font-size: 13px; line-height: 1.85; color: var(--fg-2); }
.about-text p + p { margin-top: 8px; }

/* ---------- 我的 / 表单 / 列表控件 ---------- */
.user-hero {
  position: relative;
  padding: 26px 16px 20px;
  overflow: hidden;
  background:
    radial-gradient(300px 160px at 85% 0%, rgba(45, 242, 164, 0.15), transparent 65%),
    var(--bg-2);
}
.user-hero .u-row { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.avatar {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--grad-main);
  display: grid; place-items: center;
  font-size: 26px; font-weight: 900; color: #041b12;
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.user-hero h3 { font-size: 18px; font-weight: 800; }
.user-hero .uid { font-size: 11.5px; color: var(--fg-3); margin-top: 4px; }
.user-hero .vip-tag {
  display: inline-block; margin-top: 6px;
  font-size: 10px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
  background: var(--grad-gold); color: #3d2403;
}

.panel {
  margin: 12px 14px 0;
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.panel .p-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  font-size: 14px;
}
.panel .p-row + .p-row { border-top: 1px solid var(--line); }
.panel .p-row .ico { width: 26px; text-align: center; font-size: 17px; }
.panel .p-row .val { margin-left: auto; font-size: 12.5px; color: var(--fg-3); }
.panel .p-row .arr { color: var(--fg-3); font-size: 13px; }
.panel .p-row .val.coin { color: var(--gold); font-weight: 700; }

.mini-grid { display: flex; padding: 16px 0; }
.mini-grid .m-cell { flex: 1; text-align: center; font-size: 12px; color: var(--fg-2); }
.mini-grid .m-cell b { display: block; font-family: var(--font-num); font-size: 19px; font-style: italic; color: var(--fg); margin-bottom: 4px; }

/* ---------- 按钮 / 表单 ---------- */
.btn-block {
  display: block; width: 100%;
  height: 48px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #041b12;
  font-size: 16px; font-weight: 900; letter-spacing: 4px;
  text-align: center; line-height: 48px;
}
.btn-block:disabled, .btn-block.disabled { opacity: 0.45; }
.btn-line {
  display: block; width: 100%;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--fg-2);
  font-size: 14px; font-weight: 700;
  text-align: center; line-height: 46px;
}

.field {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 12px;
  height: 50px;
  padding: 0 16px;
  border-radius: var(--radius-m);
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.field input { flex: 1; background: none; border: 0; outline: 0; color: var(--fg); font-size: 14px; }
.field input::placeholder { color: var(--fg-3); }
.field .code-btn { font-size: 12.5px; color: var(--mint); font-weight: 700; white-space: nowrap; }

.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; color: var(--fg-3); line-height: 1.6; }
.agree a { color: var(--azure); }
.agree .dot {
  width: 15px; height: 15px; flex: 0 0 auto;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--fg-3);
  display: grid; place-items: center;
  font-size: 10px; color: transparent;
}
.agree.on .dot { background: var(--mint); border-color: var(--mint); color: #041b12; }

/* ---------- 会员卡 ---------- */
.vip-card {
  position: relative;
  margin: 14px;
  padding: 20px 18px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(120deg, #2a2119 0%, #17130d 100%);
  border: 1px solid rgba(255, 194, 75, 0.35);
}
.vip-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(240px 120px at 90% 0%, rgba(255, 194, 75, 0.22), transparent 65%);
}
.vip-card h3 { position: relative; font-size: 18px; font-weight: 900; color: var(--gold); letter-spacing: 1px; }
.vip-card .price { position: relative; margin-top: 12px; font-family: var(--font-num); color: #ffe9bd; }
.vip-card .price b { font-size: 34px; font-weight: 900; font-style: italic; }
.vip-card .price span { font-size: 12px; opacity: 0.8; }
.vip-card .perks { position: relative; display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.vip-card .perks span {
  font-size: 10.5px; color: #ffe9bd;
  padding: 4px 9px; border-radius: 6px;
  background: rgba(255, 194, 75, 0.12);
  border: 1px solid rgba(255, 194, 75, 0.25);
}

.plan-tabs { display: flex; gap: 10px; padding: 0 14px; }
.plan-tabs .plan {
  flex: 1;
  padding: 14px 10px;
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}
.plan-tabs .plan.on { border-color: var(--gold); background: rgba(255, 194, 75, 0.07); }
.plan-tabs .plan h4 { font-size: 13px; font-weight: 700; }
.plan-tabs .plan .p { font-family: var(--font-num); font-size: 21px; font-weight: 900; font-style: italic; color: var(--gold); margin-top: 6px; }
.plan-tabs .plan .o { font-size: 10.5px; color: var(--fg-3); text-decoration: line-through; margin-top: 2px; }

/* ---------- 协议 / 关于 ---------- */
.doc-body { padding: 18px 16px 40px; font-size: 13.5px; line-height: 1.9; color: var(--fg-2); }
.doc-body h1 { font-size: 19px; color: var(--fg); margin-bottom: 14px; }
.doc-body h2 { font-size: 15px; color: var(--fg); margin: 20px 0 8px; }
.doc-body p + p { margin-top: 6px; }
.doc-body .ver { font-size: 12px; color: var(--fg-3); margin-bottom: 16px; }

.about-logo { text-align: center; padding: 40px 0 24px; }
.about-logo .logo {
  width: 74px; height: 74px; margin: 0 auto 14px;
  border-radius: 20px;
  background: var(--grad-main);
  display: grid; place-items: center;
  font-size: 36px; font-weight: 900; color: #041b12;
  box-shadow: 0 10px 30px rgba(45, 242, 164, 0.35);
}
.about-logo h2 { font-size: 20px; font-weight: 900; letter-spacing: 2px; }
.about-logo .ver { font-size: 12px; color: var(--fg-3); margin-top: 6px; }

/* ---------- 错误页 ---------- */
.err-wrap { text-align: center; padding: 110px 30px 0; }
.err-wrap .code {
  font-family: var(--font-num);
  font-size: 84px; font-weight: 900; font-style: italic;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 4px;
}
.err-wrap h2 { font-size: 17px; margin-top: 8px; }
.err-wrap p { font-size: 13px; color: var(--fg-3); margin-top: 8px; line-height: 1.7; }
.err-wrap .btn-line { max-width: 200px; margin: 30px auto 0; }

/* ---------- 活动页 ---------- */
.act-hero {
  position: relative;
  padding: 60px 20px 34px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(300px 200px at 50% 0%, rgba(255, 92, 122, 0.25), transparent 70%),
    linear-gradient(180deg, #241019 0%, var(--bg) 100%);
}
.act-hero .act-tag {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 3px;
  padding: 4px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 92, 122, 0.5); color: var(--rose);
}
.act-hero h1 { font-size: 30px; font-weight: 900; letter-spacing: 2px; margin-top: 14px; }
.act-hero p { font-size: 12.5px; color: var(--fg-2); margin-top: 10px; }

.prize-row { display: flex; gap: 10px; padding: 0 14px; }
.prize {
  flex: 1; text-align: center;
  padding: 16px 6px;
  border-radius: var(--radius-m);
  background: var(--card);
  border: 1px solid var(--line);
}
.prize .p-ico { font-size: 30px; }
.prize h4 { font-size: 12.5px; margin-top: 8px; }
.prize span { font-size: 10.5px; color: var(--fg-3); }

/* ---------- 结果页 ---------- */
.result-wrap { text-align: center; padding: 90px 24px 0; }
.result-wrap .r-ico {
  width: 84px; height: 84px; margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 40px;
  background: rgba(45, 242, 164, 0.12);
  border: 2px solid var(--mint);
  color: var(--mint);
}
.result-wrap .r-ico.fail { background: rgba(255, 92, 122, 0.1); border-color: var(--rose); color: var(--rose); }
.result-wrap h2 { font-size: 19px; font-weight: 800; }
.result-wrap p { font-size: 13px; color: var(--fg-3); margin-top: 10px; line-height: 1.7; }

/* ---------- 下载页 ---------- */
.dl-hero { text-align: center; padding: 70px 24px 30px; }
.dl-hero .logo {
  width: 88px; height: 88px; margin: 0 auto 18px;
  border-radius: 24px;
  background: var(--grad-main);
  display: grid; place-items: center;
  font-size: 42px; font-weight: 900; color: #041b12;
  box-shadow: 0 14px 40px rgba(45, 242, 164, 0.4);
}
.dl-hero h1 { font-size: 24px; font-weight: 900; letter-spacing: 2px; }
.dl-hero p { font-size: 13px; color: var(--fg-2); margin-top: 10px; }
.dl-btns { padding: 10px 24px 0; display: grid; gap: 12px; }
.dl-feats { display: flex; padding: 34px 20px; gap: 8px; }
.dl-feats .f { flex: 1; text-align: center; font-size: 11.5px; color: var(--fg-2); }
.dl-feats .f .f-ico { font-size: 26px; margin-bottom: 8px; }

/* ---------- 空状态 / 提示 ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--fg-3); }
.empty .e-ico { font-size: 46px; opacity: 0.5; }
.empty p { font-size: 13px; margin-top: 12px; }

.toast {
  position: fixed;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  z-index: 99;
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.82);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.toast.show { opacity: 1; }

/* ---------- 底部备案 ---------- */
.footer-note {
  margin-top: 30px;
  padding: 0 20px;
  text-align: center;
  font-size: 11px;
  color: var(--fg-3);
  line-height: 1.9;
}
.footer-note a { color: var(--fg-3); }

/* ---------- 上拉加载 ---------- */
.load-more { text-align: center; padding: 18px 0 6px; font-size: 12px; color: var(--fg-3); }

/* 桌面端让手机容器更像样机 */
@media (min-width: 520px) {
  .phone { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

/* ---------- 分页组件 ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 20px 0;
  padding: 0 10px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--card);
  color: var(--fg-2);
  font-size: 13px;
  border: 1px solid var(--line);
  text-decoration: none;
}
.pagination .current, .pagination a.on {
  background: var(--mint);
  color: #050608;
  font-weight: 700;
  border-color: var(--mint);
}

/* ---------- 文章正文排版 ---------- */
.detail-article-content {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--fg-2);
}
.detail-article-content h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--fg);
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-article-content h2::before {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--mint);
  border-radius: 2px;
}
.detail-article-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin: 16px 0 8px;
}
.detail-article-content p { margin-bottom: 12px; }
.detail-article-content strong { color: var(--fg); font-weight: 700; }
.detail-article-content ul, .detail-article-content ol { margin: 10px 0 14px 18px; padding: 0; }
.detail-article-content li { margin-bottom: 5px; }
.detail-article-content img { border-radius: var(--radius-s); margin: 12px 0; width: 100%; height: auto; }

/* ---------- 移动端试玩 / 下载通道弹窗 ---------- */
.play-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: pm-fade-in 0.2s ease-out;
}
.play-modal-mask[hidden] {
  display: none !important;
}
@keyframes pm-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.play-modal-box {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--card);
  border: 1px solid rgba(45, 242, 164, 0.35);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(45, 242, 164, 0.15);
  animation: pm-pop-up 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes pm-pop-up {
  from { transform: scale(0.92) translateY(14px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.pm-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--fg-3);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.pm-close:hover {
  background: var(--card-2);
  color: var(--fg);
}
.pm-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 16px;
}
.pm-btn-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
}
.pm-coupon-box {
  margin-top: 14px;
  background: rgba(59, 130, 246, 0.04);
  border: 1.5px dashed rgba(59, 130, 246, 0.5);
  border-radius: 10px;
  padding: 14px;
}
.pm-coupon-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pm-coupon-badge {
  padding: 2px 7px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  flex-shrink: 0;
}
.pm-coupon-code {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
  flex: 1;
}
.pm-coupon-copy {
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.pm-coupon-copy.copied {
  background: var(--mint);
  color: #050608;
  border-color: var(--mint);
}
.pm-coupon-tip {
  margin-top: 10px;
  color: var(--fg-2);
  font-size: 12px;
  line-height: 1.55;
}
.pm-hl {
  color: #ef4444;
  font-weight: 800;
}

