/* ===========================================================
   五月科技 · 电竞外设展示 H5
   设计基调：深色高级感（近黑底 + 暖金点缀 + 大图留白）
   =========================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --bg:        #0A0B0C;
  --surface:   #121416;
  --surface-2: #171A1D;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);

  --text:      #ECE9E3;
  --text-2:    #A8AAAD;
  --muted:     #6E7175;

  --gold:      #C7A667;
  --gold-soft: rgba(199, 166, 103, .12);
  --gold-line: rgba(199, 166, 103, .28);

  --radius:    18px;
  --radius-sm: 12px;

  --ease:      cubic-bezier(.16, 1, .3, 1);
  --ease-out:  cubic-bezier(.22, .61, .36, 1);

  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 18px 40px -24px rgba(0,0,0,.9);

  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --maxw: 560px;
}

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

html {
  background: #050506;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(120% 70% at 50% 0%, #16181B 0%, #08090A 55%, #050506 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- App Shell ---------- */
.app {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: calc(var(--safe-bottom) + 8px);
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(255,255,255,.035);
  overflow-x: hidden;
}

/* 页面切换动效 */
.page {
  animation: pageIn .46s var(--ease) both;
  will-change: transform, opacity;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* 元素浮入（backwards：延迟期间隐藏，结束后交还控制权给 :active） */
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* 首页按钮逐个浮现 */
.poster > .hotspot {
  animation: rise .55s var(--ease) backwards;
}
.poster > .hotspot:nth-of-type(1) { animation-delay: .10s; }
.poster > .hotspot:nth-of-type(2) { animation-delay: .16s; }
.poster > .hotspot:nth-of-type(3) { animation-delay: .22s; }
.poster > .hotspot:nth-of-type(4) { animation-delay: .28s; }
.poster > .hotspot:nth-of-type(5) { animation-delay: .34s; }
.poster > .hotspot:nth-of-type(6) { animation-delay: .40s; }
.poster > .hotspot:nth-of-type(7) { animation-delay: .46s; }

/* 列表卡片错落渐入 */
.brands > *,
.models > * {
  animation: rise .5s var(--ease) backwards;
}
.brands > :nth-child(1), .models > :nth-child(1) { animation-delay: .06s; }
.brands > :nth-child(2), .models > :nth-child(2) { animation-delay: .12s; }
.brands > :nth-child(3), .models > :nth-child(3) { animation-delay: .18s; }
.brands > :nth-child(4), .models > :nth-child(4) { animation-delay: .24s; }
.brands > :nth-child(n+5), .models > :nth-child(n+5) { animation-delay: .30s; }

/* ===========================================================
   通用组件
   =========================================================== */

/* 占位块：后期把 image 填进 data.js 即自动替换 */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  color: var(--muted);
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.026) 0px,
      rgba(255,255,255,.026) 1px,
      transparent 1px,
      transparent 11px),
    radial-gradient(90% 120% at 22% 0%, rgba(255,255,255,.055) 0%, transparent 55%),
    linear-gradient(158deg, #171A1D 0%, #0E1012 55%, #14161A 100%);
}

.ph__label {
  font-size: 12px;
  letter-spacing: .2em;
  color: #8F9296;
  text-align: center;
  padding: 0 12px;
}
.ph__size {
  font-size: 10px;
  letter-spacing: .12em;
  color: #55585C;
  font-variant-numeric: tabular-nums;
}
.ph__tag {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  font-size: 9px;
  letter-spacing: .1em;
  border-radius: 5px;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
}

/* 图片容器（真实图加载后占满） */
.media { position: relative; overflow: hidden; background: var(--surface-2); }
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.media > img.is-loaded { opacity: 1; }

/* 顶部导航 */
.head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(var(--safe-top) + 12px) 16px 12px;
  background: linear-gradient(to bottom, rgba(10,11,12,.94) 60%, rgba(10,11,12,.72) 100%);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.back {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03);
  color: var(--text);
  transition: transform .3s var(--ease), background .25s, border-color .25s;
}
.back:active { transform: scale(.92); background: rgba(255,255,255,.08); }
.back svg { width: 18px; height: 18px; }

.head__title { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.head__cn {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.head__en {
  font-size: 9px;
  letter-spacing: .24em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: .85;
}

.head__count {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 箭头 */
.chev {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform .35s var(--ease), color .3s;
}

/* ===========================================================
   首页
   =========================================================== */
.home { padding-bottom: 28px; }

.home__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: calc(var(--safe-top) + 22px) 20px 16px;
}

.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-mark__bar {
  width: 3px;
  height: 26px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(199,166,103,.15));
}
.brand-mark__cn {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
}
.brand-mark__en {
  font-size: 8.5px;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.home__badge {
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* ---------- 海报 ---------- */
.poster {
  position: relative;
  margin: 0 14px;
  aspect-ratio: 750 / 1120;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,1), 0 0 0 1px rgba(255,255,255,.02) inset;
  isolation: isolate;
}

.poster__bg { position: absolute; inset: 0; }
.poster__bg img { width: 100%; height: 100%; object-fit: cover; }

/* 海报占位：电竞氛围稿（真实海报图上传后自动覆盖） */
.poster__bg .ph {
  justify-content: flex-end;
  padding-bottom: 3.5%;
  background:
    /* 右上青蓝光晕 —— 呼应按钮图的浅蓝 */
    radial-gradient(58% 34% at 80% 5%, rgba(96, 172, 224, .17) 0%, transparent 62%),
    /* 左下紫晕 */
    radial-gradient(46% 30% at 10% 80%, rgba(136, 118, 218, .11) 0%, transparent 65%),
    /* 金色主光 */
    radial-gradient(70% 55% at 50% 20%, rgba(199, 166, 103, .13) 0%, transparent 62%),
    /* 对角光束 */
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .045) 45%, transparent 50%),
    linear-gradient(115deg, transparent 62%, rgba(255, 255, 255, .03) 67%, transparent 72%),
    /* 细网格 */
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0px, rgba(255, 255, 255, .022) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0px, rgba(255, 255, 255, .022) 1px, transparent 1px, transparent 26px),
    /* 底色 */
    linear-gradient(168deg, #1B2027 0%, #0B0C0E 48%, #12151A 100%);
}
/* 顶部金线 + 中央环形装饰，填补空区 */
.poster__bg .ph::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  top: 6%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(199, 166, 103, .38) 50%, transparent);
}
.poster__bg .ph::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 24%;
  width: 60%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(199, 166, 103, .10);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .02),
    inset 0 0 0 22px rgba(255, 255, 255, .012);
}
.poster__bg .ph__label { font-size: 10px; letter-spacing: .3em; color: rgba(236,233,227,.42); }
.poster__bg .ph__size  { color: rgba(236,233,227,.26); }
.poster__bg .ph__tag   { display: none; }

/* 顶部标题区（海报内，设计师出图后可关闭） */
.poster__lead {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  top: 9%;
  pointer-events: none;
}
.poster__kicker {
  display: inline-block;
  position: relative;
  padding-left: 34px;
  font-size: 9px;
  letter-spacing: .34em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.poster__kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 26px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.poster__title {
  margin: 0;
  font-size: 31px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: .04em;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.poster__title em,
.poster__title .gold {
  font-style: normal;
  color: var(--gold);
}
/* 金属渐变字：仅在支持 background-clip: text 的内核启用，避免旧 WebView 白字 */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .poster__title .gold {
    background: linear-gradient(118deg, #EAD5A0 0%, #C7A667 48%, #9C7C3E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.poster__sub {
  margin: 12px 0 0;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: rgba(236,233,227,.5);
}

/* 底部渐隐，让按钮区更沉 */
.poster__shade {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  height: 62%;
  background: linear-gradient(to bottom, transparent, rgba(6,7,8,.5) 42%, rgba(6,7,8,.86) 100%);
  pointer-events: none;
}

/* ---------- 品类按钮（热区） ---------- */
.hotspot {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 11px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.13);
  background:
    linear-gradient(155deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.028) 46%, rgba(255,255,255,.055) 100%);
  backdrop-filter: blur(9px) saturate(130%);
  -webkit-backdrop-filter: blur(9px) saturate(130%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.14) inset,
    0 -8px 18px -12px rgba(0,0,0,.8) inset,
    0 8px 22px -14px rgba(0,0,0,.9);
  color: var(--text);
  text-align: left;
  transition: transform .34s var(--ease), border-color .3s, box-shadow .3s, background .3s;
  overflow: hidden;
}
.hotspot::after {
  content: '';
  position: absolute;
  left: 11px;
  bottom: 8px;
  width: 14px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
  transition: width .4s var(--ease), opacity .3s;
}
.hotspot:active {
  transform: scale(.955);
  border-color: var(--gold-line);
  background: linear-gradient(155deg, rgba(199,166,103,.16) 0%, rgba(255,255,255,.04) 60%);
}
.hotspot:active::after { width: 26px; opacity: 1; }

.hotspot__idx {
  position: absolute;
  top: 7px;
  right: 8px;
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--gold);
  opacity: .7;
  font-variant-numeric: tabular-nums;
}
.hotspot__cn {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.hotspot__en {
  font-size: 8px;
  letter-spacing: .16em;
  color: rgba(236,233,227,.42);
  text-transform: uppercase;
  line-height: 1;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/* 按钮换图模式：只显示图片 */
.hotspot--img {
  padding: 0;
  border: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .58));
  transition: transform .34s var(--ease), filter .3s;
}
.hotspot--img::after { display: none; }
.hotspot--img img { width: 100%; height: auto; display: block; }
.hotspot--img .hotspot__cn,
.hotspot--img .hotspot__en,
.hotspot--img .hotspot__idx { display: none; }
.hotspot--img:active {
  transform: scale(.955);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .6)) drop-shadow(0 0 20px rgba(122, 182, 255, .30));
}

/* ---------- 首页底部提示 ---------- */
.home__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--muted);
}
.home__hint::before,
.home__hint::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-2));
}
.home__hint::after { background: linear-gradient(to left, transparent, var(--line-2)); }

.home__foot {
  margin: 26px 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .12em;
  color: #4E5155;
}

/* ===========================================================
   品牌列表
   =========================================================== */
.brands { padding: 18px 16px 34px; }

.list-intro {
  margin: 0 2px 16px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted);
  line-height: 1.7;
}
.list-intro::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--gold);
}

.brand-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(158deg, var(--surface) 0%, #0F1113 100%);
  box-shadow: var(--shadow-card);
  transition: transform .34s var(--ease), border-color .3s, background .3s;
}
.brand-card:active {
  transform: scale(.982);
  border-color: var(--gold-line);
}
.brand-card:last-child { margin-bottom: 0; }

.brand-card__logo {
  flex: 0 0 64px;
  width: 64px;
  aspect-ratio: 1 / 1;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.brand-card__logo .ph__label { font-size: 9px; letter-spacing: .08em; }
.brand-card__logo .ph__size { display: none; }
.brand-card__logo .ph__tag { display: none; }

.brand-card__body { flex: 1 1 auto; min-width: 0; }
.brand-card__name {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-card__desc {
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-card__n {
  margin-top: 7px;
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 2px 8px;
}

/* ===========================================================
   型号列表
   =========================================================== */
.models { padding: 16px 16px 40px; }

.model {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .36s var(--ease), border-color .3s;
}
.model:active { transform: scale(.982); border-color: var(--gold-line); }
.model:last-child { margin-bottom: 0; }

.model__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.model__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), opacity .5s var(--ease-out);
  opacity: 0;
}
.model__img img.is-loaded { opacity: 1; }
.model:active .model__img img { transform: scale(1.03); }

.model__no {
  position: absolute;
  left: 12px;
  top: 10px;
  font-size: 9px;
  letter-spacing: .16em;
  color: rgba(236,233,227,.6);
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  font-variant-numeric: tabular-nums;
}

.model__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.model__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.model__spec {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.model__go {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--gold);
}
.model__go svg { width: 12px; height: 12px; }

/* ===========================================================
   详情页（长图）
   =========================================================== */
.detail {
  position: relative;
  min-height: 100dvh;
  background: var(--bg);
}

.detail__bar {
  position: fixed;
  z-index: 40;
  top: calc(var(--safe-top) + 12px);
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.detail__bar > * { pointer-events: auto; }

.detail__bar .back {
  width: 38px; height: 38px;
  background: rgba(10,11,12,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.9);
}

.detail__label {
  margin-left: auto;
  max-width: 62%;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: rgba(236,233,227,.78);
  background: rgba(10,11,12,.68);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail__media {
  position: relative;
  width: 100%;
  background: #0D0E10;
}
.detail__media img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.detail__media img.is-loaded { opacity: 1; }

/* 长图占位 */
.detail__media .ph {
  aspect-ratio: 750 / 3000;
  height: auto;
}
.detail__media .ph__label { font-size: 14px; letter-spacing: .3em; }

/* 长图骨架 */
.detail__skeleton {
  aspect-ratio: 750 / 1334;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.02) 0px,
      rgba(255,255,255,.02) 1px,
      transparent 1px,
      transparent 13px),
    linear-gradient(160deg, #131518, #0B0C0E);
}

/* 加载指示 */
.detail__loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--muted);
}
.detail__loading[hidden] { display: none; }

.spinner {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.12);
  border-top-color: var(--gold);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.detail__end {
  padding: 30px 20px calc(var(--safe-bottom) + 36px);
  text-align: center;
  font-size: 9.5px;
  letter-spacing: .28em;
  color: #3E4144;
}

/* ===========================================================
   Toast
   =========================================================== */
.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(var(--safe-bottom) + 42px);
  transform: translate(-50%, 16px);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text);
  background: rgba(24, 26, 29, .94);
  border: 1px solid var(--line-2);
  box-shadow: 0 16px 34px -14px rgba(0,0,0,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease-out), transform .34s var(--ease);
  white-space: nowrap;
  max-width: 86vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ===========================================================
   404 / 空态
   =========================================================== */
.notfound {
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
}
.notfound__code {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: .1em;
  color: rgba(255,255,255,.08);
  line-height: 1;
}
.notfound__title { font-size: 15px; letter-spacing: .1em; margin-top: 6px; }
.notfound__desc { font-size: 11.5px; letter-spacing: .1em; color: var(--muted); }
.notfound .btn { margin-top: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .08em;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold);
  transition: transform .3s var(--ease), background .25s;
}
.btn:active { transform: scale(.96); background: rgba(199,166,103,.2); }

/* ===========================================================
   大屏适配（微信内以移动为主，桌面仅作预览）
   =========================================================== */
@media (min-width: 561px) {
  body { padding: 0; }
  .app { border-left: 1px solid rgba(255,255,255,.04); border-right: 1px solid rgba(255,255,255,.04); }
}

/* 粗指针设备禁用 hover 动效 */
@media (hover: hover) and (pointer: fine) {
  .hotspot:hover {
    border-color: var(--gold-line);
    box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 14px 30px -18px rgba(199,166,103,.5);
  }
  .hotspot:hover::after { width: 26px; opacity: 1; }
  .brand-card:hover { border-color: var(--gold-line); }
  .model:hover { border-color: var(--gold-line); }
  .model:hover .model__img img { transform: scale(1.03); }
}

/* 减少动效 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
