/* =========================================================
   CO-SIGN 联合署名 · 演示原型 · 基础样式
   黑漆底 + 金箔线：黑金骨架不动，艺人色彩呼吸
   ========================================================= */

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

:root {
  --lacquer: #050505;
  --vinyl: #141416;
  --vinyl-2: #1c1c1f;
  --vinyl-3: #242428;
  --groove: #2c2b2e;
  --gold: #c8a45a;
  --gold-hi: #ebddb8;
  --gold-lo: #7e6430;
  --ivory: #f2ede3;
  --smoke: #8d8879;
  --ash: #5d5a53;
  --up: #7fbf92;
  --down: #c9705f;
  --danger: #d0705e;

  --accent: var(--gold);
  --accent-soft: rgba(200, 164, 90, .16);
  --cta: linear-gradient(135deg, #7e6430 0%, #c8a45a 26%, #f3e6bd 50%, #c8a45a 74%, #8a6c34 100%);
  --cta-ink: #1a1408;
  --leaf: linear-gradient(135deg, #8a6c34, #c8a45a 30%, #f1e2b6 50%, #c8a45a 70%, #7e6430);

  --serif-en: "Bodoni 72", "Didot", "Bodoni Moda", "Bodoni MT", "Playfair Display", "Times New Roman", serif;
  --serif-zh: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;

  --r-media: 14px;
  --r-sheet: 22px;
  --hair: 1px solid rgba(200, 164, 90, .28);
  --hair-dim: 1px solid rgba(242, 237, 227, .08);

  --tabbar-h: 84px;
  --status-h: 47px;
}

/* 冠军全服接管：低饱和冠军色只改高亮，不改品牌金 */
[data-skin="champion"] {
  --accent: #a596ee;
  --accent-soft: rgba(165, 150, 238, .18);
  --cta: linear-gradient(135deg, #5b4fa3 0%, #a596ee 30%, #e9e4ff 50%, #a596ee 70%, #4c4290 100%);
  --cta-ink: #120f24;
}

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--lacquer);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ---------- 舞台布局（桌面） ---------- */
.stage {
  position: relative;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: 56px;
  padding: 24px 48px;
  background:
    radial-gradient(900px 600px at 50% 46%, rgba(200, 164, 90, .10), transparent 60%),
    radial-gradient(500px 400px at 50% 100%, rgba(200, 164, 90, .06), transparent 70%),
    var(--lacquer);
}

.stage::before {
  /* 唱片纹理：只在舞台背景出现一次 */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px);
  mask-image: radial-gradient(520px 520px at 50% 46%, #000 40%, transparent 72%);
}

/* 左侧：封套 */
.cover-notes {
  justify-self: end;
  max-width: 300px;
  position: relative;
}

.cover-notes .logo { width: 120px; margin: 0 0 22px -10px; mix-blend-mode: lighten; }

.cover-notes h1 {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  letter-spacing: .01em;
  margin: 0;
  background: var(--leaf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cover-notes .zh { font-family: var(--serif-zh); font-size: 20px; letter-spacing: .3em; color: var(--gold-hi); margin: 10px 0 26px; }
.cover-notes p { color: var(--smoke); font-size: 13px; line-height: 1.8; margin: 0 0 14px; }
.cover-notes .motto { font-family: var(--serif-zh); color: var(--ivory); font-size: 15px; line-height: 1.7; }
.cover-notes .motto em { display: block; font-family: var(--serif-en); font-style: italic; color: var(--gold); font-size: 15px; }
.cover-notes .meta { margin-top: 28px; padding-top: 14px; border-top: var(--hair); color: var(--ash); font-size: 12px; line-height: 1.9; }

/* 右侧：Liner Notes 功能目录 */
.liner-notes {
  justify-self: start;
  width: 320px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  border: var(--hair);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(20, 20, 22, .92), rgba(10, 10, 11, .92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.liner-notes header { padding: 18px 20px 12px; border-bottom: var(--hair); }
.liner-notes header h2 { margin: 0; font-family: var(--serif-en); font-weight: 400; font-size: 22px; color: var(--gold-hi); }
.liner-notes header p { margin: 4px 0 0; color: var(--smoke); font-size: 12px; }

.liner-notes .demo-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 20px;
  border-bottom: var(--hair-dim);
}

.liner-notes .demo-switches button {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: var(--hair);
  color: var(--gold-hi);
}

.liner-notes .demo-switches button:hover,
.liner-notes .demo-switches button.on { background: var(--accent-soft); }

.liner-notes .tracks { overflow: auto; padding: 6px 0 14px; scrollbar-width: thin; scrollbar-color: #3a352a transparent; }
.liner-notes .side { padding: 12px 20px 4px; font-family: var(--serif-en); font-style: italic; color: var(--gold); font-size: 14px; }

.liner-notes .track {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 6px 20px;
  color: var(--ivory);
  font-size: 13px;
}

.liner-notes .track .n { font-family: var(--serif-en); color: var(--ash); font-variant-numeric: tabular-nums; }
.liner-notes .track small { display: block; color: var(--smoke); font-size: 11.5px; line-height: 1.5; }
.liner-notes .track:hover { background: rgba(200, 164, 90, .07); }
.liner-notes .track:hover .n { color: var(--gold); }

/* ---------- 设备外壳 ---------- */
.device {
  position: relative;
  width: 414px;
  height: 868px;
  padding: 12px;
  border-radius: 64px;
  background: linear-gradient(145deg, #2a2620, #0c0b09 40%, #1d1a15 70%, #3a3226);
  box-shadow:
    0 0 0 1px rgba(200, 164, 90, .35),
    0 50px 120px rgba(0, 0, 0, .75),
    0 0 90px rgba(200, 164, 90, .08);
}

.device::after {
  /* 侧键 */
  content: "";
  position: absolute;
  right: -3px;
  top: 190px;
  width: 3px;
  height: 90px;
  border-radius: 0 3px 3px 0;
  background: #3a3226;
}

#app {
  position: relative;
  width: 390px;
  height: 844px;
  overflow: hidden;
  border-radius: 52px;
  background: var(--lacquer);
  isolation: isolate;
}

.statusbar {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--status-h);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px 0 34px;
  font-weight: 600;
  font-size: 15px;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.statusbar .sys { display: flex; gap: 6px; align-items: center; }

.island {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 124px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
  z-index: 90;
  transition: width .35s cubic-bezier(.22, 1, .36, 1), height .35s cubic-bezier(.22, 1, .36, 1);
}

.island.wide { width: 200px; }

.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 134px;
  height: 5px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: rgba(242, 237, 227, .85);
  z-index: 95;
  pointer-events: none;
}

/* ---------- App 结构 ---------- */
.tab-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: none;
}

.tab-root.active { display: block; }

.scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.scroll::-webkit-scrollbar { display: none; }

.tab-root .scroll { padding-bottom: calc(var(--tabbar-h) + 24px); }

.push-layer { position: absolute; inset: 0; z-index: 40; pointer-events: none; }

.screen {
  position: absolute;
  inset: 0;
  background: var(--lacquer);
  pointer-events: auto;
  animation: pushIn .32s cubic-bezier(.22, 1, .36, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, .6);
}

.screen.leaving { animation: pushOut .26s ease-in forwards; }

@keyframes pushIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pushOut { to { transform: translateX(100%); } }

.screen .scroll { top: 0; padding-top: calc(var(--status-h) + 52px); padding-bottom: 40px; }
.screen.no-head .scroll { padding-top: 0; }

.head {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  height: calc(var(--status-h) + 52px);
  padding: var(--status-h) 12px 0;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: linear-gradient(180deg, #050505 70%, rgba(5, 5, 5, 0));
}

.head.clear { background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); }
.head h1 { margin: 0; text-align: center; font-family: var(--serif-zh); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.head h1 small { display: block; font-family: var(--serif-en); font-style: italic; font-weight: 400; font-size: 11px; color: var(--gold); letter-spacing: .02em; }
.head .right { justify-self: end; display: flex; gap: 4px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ivory);
}

.icon-btn:active { background: rgba(255, 255, 255, .06); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: absolute;
  inset: auto 0 0 0;
  height: var(--tabbar-h);
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  padding: 8px 6px 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, .9) 28%, #050505);
  border-top: 1px solid rgba(200, 164, 90, .12);
}

.tabbar.on-media { background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .78) 35%); border-top-color: rgba(255, 255, 255, .06); }
.tabbar.hidden { transform: translateY(110%); }

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding-top: 4px;
  color: var(--smoke);
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: .02em;
  transition: color .2s;
}

.tab svg { width: 23px; height: 23px; }
.tab.active { color: var(--ivory); }
.tab.active svg { color: var(--accent); }

.tab .dot { width: 4px; height: 4px; border-radius: 50%; background: transparent; margin-top: 1px; }
.tab.active .dot { background: var(--accent); }

/* 中间印章按钮：只用图标 */
.sigil-wrap { display: grid; place-items: center; margin-top: -22px; }

.sigil {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, #f6e9c4 0%, #c8a45a 34%, #7a5f2c 70%, #3b2e14 100%);
  box-shadow:
    0 0 0 3px #050505,
    0 0 0 4px rgba(200, 164, 90, .55),
    0 10px 30px rgba(200, 164, 90, .28);
  color: #1c160a;
}

.sigil::before {
  /* 扭索纹环 */
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(40, 30, 10, .55) 0 2deg, transparent 2deg 6deg);
  mask: radial-gradient(circle, transparent 58%, #000 59% 70%, transparent 71%);
  animation: spin 24s linear infinite;
}

.sigil::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(40, 30, 10, .45);
}

.sigil svg { position: relative; z-index: 1; width: 28px; height: 28px; }
.sigil.active { box-shadow: 0 0 0 3px #050505, 0 0 0 4px var(--accent), 0 0 34px rgba(200, 164, 90, .55); }
.sigil.pulse::before { animation-duration: 3s; }

.sigil .halo {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
}

.sigil.unread .halo { animation: halo 2.4s ease-out infinite; }

[data-skin="champion"] .sigil {
  background: radial-gradient(circle at 35% 30%, #f1edff 0%, #a596ee 34%, #4f448f 72%, #1f1a3d 100%);
  color: #120f24;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes halo { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- 文字 ---------- */
.didot { font-family: var(--serif-en); font-weight: 400; }
.songti { font-family: var(--serif-zh); }
.it { font-family: var(--serif-en); font-style: italic; color: var(--gold); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--smoke); }
.ash { color: var(--ash); }
.gold { color: var(--gold); }
.goldhi { color: var(--gold-hi); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }

.sec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 26px 18px 12px;
}

.sec h2 { margin: 0; font-family: var(--serif-zh); font-weight: 700; font-size: 18px; letter-spacing: .03em; }
.sec h2 .it { font-size: 13px; margin-left: 8px; letter-spacing: 0; }
.sec .more { color: var(--smoke); font-size: 12px; }

.pad { padding: 0 18px; }
.gap-s > * + * { margin-top: 8px; }
.gap-m > * + * { margin-top: 14px; }
.row-flex { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.center { text-align: center; }
.hr { height: 1px; background: rgba(242, 237, 227, .08); margin: 0 18px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .12s, opacity .2s, background .2s;
}

.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; }

.btn-gold {
  background: var(--cta);
  background-size: 160% 100%;
  color: var(--cta-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 20px rgba(200, 164, 90, .22);
}

.btn-gold:hover { background-position: 100% 0; }
.btn-line { border: 1px solid rgba(200, 164, 90, .55); color: var(--gold-hi); }
.btn-ghost { background: rgba(242, 237, 227, .08); color: var(--ivory); }
.btn-dark { background: var(--vinyl-2); color: var(--ivory); border: var(--hair-dim); }
.btn-block { display: flex; width: 100%; height: 48px; font-size: 15px; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
.btn[disabled], .btn.disabled { opacity: .38; pointer-events: none; filter: grayscale(.4); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(242, 237, 227, .08);
  color: var(--ivory);
  white-space: nowrap;
}

.pill svg { width: 13px; height: 13px; }
.pill.gold { background: rgba(200, 164, 90, .16); color: var(--gold-hi); }
.pill.line { background: transparent; border: var(--hair); color: var(--gold-hi); }
.pill.live { background: #b33a3a; color: #fff; font-family: var(--serif-en); letter-spacing: .04em; }
.pill.ai { background: rgba(120, 200, 255, .12); color: #a9dcff; border: 1px solid rgba(169, 220, 255, .35); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 237, 227, .14);
  color: var(--smoke);
  font-size: 13px;
  transition: all .18s;
}

.chip.on { border-color: var(--accent); color: var(--ivory); background: var(--accent-soft); }

.seg {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--vinyl-2);
  border: var(--hair-dim);
}

.seg button { flex: 1; height: 30px; border-radius: 999px; font-size: 13px; color: var(--smoke); }
.seg button.on { background: var(--vinyl-3); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(200, 164, 90, .45); }

.tabs-line {
  display: flex;
  gap: 22px;
  padding: 0 18px;
  border-bottom: var(--hair-dim);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-line::-webkit-scrollbar { display: none; }
.tabs-line button { position: relative; padding: 12px 0 10px; color: var(--smoke); font-size: 14px; white-space: nowrap; }
.tabs-line button.on { color: var(--ivory); font-weight: 600; }
.tabs-line button.on::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }

/* ---------- 媒体与回退 ---------- */
.media { position: relative; overflow: hidden; background: var(--fb, linear-gradient(135deg, #1d1a14, #0b0b0c)); }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media .fb { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif-en); color: rgba(242, 237, 227, .5); font-size: 15px; text-align: center; padding: 8px; }
.media > img + .fb { display: none; }
.media .fb.art { display: block; padding: 0; }
.media .fb.art svg { display: block; width: 100%; height: 100%; }

.avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--serif-zh);
  font-size: 14px;
  font-weight: 700;
  color: #120f0a;
  background: var(--av, var(--leaf));
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.ring { box-shadow: 0 0 0 2px #050505, 0 0 0 3.5px var(--gold); }

/* ---------- 金属铭牌（夺冠、荣誉专用） ---------- */
.plaque {
  position: relative;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(200, 164, 90, .14), rgba(200, 164, 90, .03)),
    var(--vinyl);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}

.plaque::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: var(--leaf);
  clip-path: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- 列表行 ---------- */
.list { border-top: var(--hair-dim); }

.li {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 18px;
  text-align: left;
  border-bottom: var(--hair-dim);
}

.li .ic { width: 22px; height: 22px; color: var(--gold); flex: none; }
.li .ic svg { width: 22px; height: 22px; }
.li .t { flex: 1; min-width: 0; }
.li .t b { display: block; font-weight: 500; font-size: 14.5px; }
.li .t span { display: block; color: var(--smoke); font-size: 12px; }
.li .r { color: var(--smoke); font-size: 12.5px; display: flex; align-items: center; gap: 4px; }
.li .r svg { width: 16px; height: 16px; }
.li:active { background: rgba(255, 255, 255, .03); }

.tag { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 11px; line-height: 18px; background: rgba(242, 237, 227, .08); color: var(--smoke); }
.tag.gold { background: rgba(200, 164, 90, .16); color: var(--gold-hi); }
.tag.red { background: rgba(201, 112, 95, .18); color: #f0a291; }
.tag.green { background: rgba(127, 191, 146, .15); color: #a5dcb4; }
.tag.blue { background: rgba(120, 170, 255, .14); color: #a9c6ff; }

.badge-dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #c4433a; color: #fff; font-size: 11px; display: inline-grid; place-items: center; font-weight: 700; }

.bar { height: 4px; border-radius: 2px; background: rgba(242, 237, 227, .1); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 2px; background: var(--accent); width: var(--v, 50%); transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.bar.gold > i { background: var(--leaf); }
.bar.thick { height: 8px; border-radius: 4px; }

/* 开关 */
.switch { position: relative; width: 46px; height: 28px; border-radius: 14px; background: var(--vinyl-3); border: var(--hair-dim); transition: background .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--smoke); transition: transform .2s, background .2s; }
.switch.on { background: rgba(200, 164, 90, .35); border-color: var(--gold); }
.switch.on::after { transform: translateX(18px); background: var(--gold-hi); }

/* 表单 */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; color: var(--smoke); font-size: 12.5px; margin-bottom: 6px; }

.input,
.textarea,
.select {
  width: 100%;
  background: var(--vinyl);
  border: 1px solid rgba(242, 237, 227, .1);
  border-radius: 12px;
  padding: 11px 13px;
  outline: none;
  color: var(--ivory);
  transition: border-color .2s;
}

.input:focus, .textarea:focus, .select:focus { border-color: var(--gold); }
.textarea { resize: none; min-height: 96px; line-height: 1.6; }
.counter { text-align: right; font-size: 11.5px; color: var(--ash); margin-top: 4px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--smoke); line-height: 1.6; text-align: left; }

.check .box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1.5px solid var(--ash);
  display: grid;
  place-items: center;
  transition: all .15s;
}

.check .box svg { width: 12px; height: 12px; opacity: 0; }
.check.on .box { background: var(--gold); border-color: var(--gold); color: #1a1408; }
.check.on .box svg { opacity: 1; }
.check a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

.stepper { display: inline-flex; align-items: center; border: var(--hair-dim); border-radius: 999px; }
.stepper button { width: 34px; height: 32px; font-size: 18px; color: var(--gold-hi); }
.stepper b { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- 浮层：底部面板 / 对话框 / 提示 ---------- */
.overlay-layer { position: absolute; inset: 0; z-index: 100; pointer-events: none; }

.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px); pointer-events: auto; animation: fadeIn .2s; }

.sheet {
  position: absolute;
  inset: auto 0 0 0;
  max-height: 86%;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  background: linear-gradient(180deg, #19191c, #0f0f11);
  border-top: var(--hair);
  pointer-events: auto;
  animation: sheetUp .3s cubic-bezier(.22, 1, .36, 1);
  padding-bottom: 26px;
}

.sheet.closing { animation: sheetDown .22s ease-in forwards; }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: rgba(242, 237, 227, .2); margin: 9px auto 2px; flex: none; }
.sheet .sh-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 10px; flex: none; }
.sheet .sh-head h3 { margin: 0; font-family: var(--serif-zh); font-size: 17px; }
.sheet .sh-head h3 .it { font-size: 12px; margin-left: 6px; font-weight: 400; }
.sheet .sh-body { overflow-y: auto; padding: 4px 18px 0; scrollbar-width: none; }
.sheet .sh-foot { padding: 12px 18px 0; flex: none; }

@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@keyframes fadeIn { from { opacity: 0; } }

.dialog {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  padding: 22px 20px 16px;
  border-radius: 18px;
  background: #151517;
  border: var(--hair);
  pointer-events: auto;
  animation: dialogIn .25s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}

.dialog h3 { margin: 0 0 8px; font-family: var(--serif-zh); font-size: 18px; text-align: center; }
.dialog .body { color: var(--smoke); font-size: 13.5px; line-height: 1.75; }
.dialog .body b { color: var(--ivory); font-weight: 600; }
.dialog .acts { display: flex; gap: 10px; margin-top: 18px; }
.dialog .acts .btn { flex: 1; }

@keyframes dialogIn { from { opacity: 0; transform: translateY(-46%) scale(.96); } }

.toast {
  position: absolute;
  left: 50%;
  bottom: 120px;
  max-width: 300px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(24, 22, 18, .96);
  border: var(--hair);
  color: var(--ivory);
  font-size: 13px;
  text-align: center;
  pointer-events: none;
  z-index: 140;
  animation: toastIn .25s cubic-bezier(.22, 1, .36, 1);
}

@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* 顶部推送横幅 */
.pushbanner {
  position: absolute;
  top: 52px;
  left: 10px;
  right: 10px;
  z-index: 130;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 20px;
  background: rgba(28, 26, 22, .94);
  backdrop-filter: blur(16px);
  border: var(--hair);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
  animation: bannerIn .4s cubic-bezier(.22, 1, .36, 1);
  pointer-events: auto;
  cursor: pointer;
  text-align: left;
}

.pushbanner.out { animation: bannerOut .3s ease-in forwards; }
.pushbanner .app-ic { width: 38px; height: 38px; border-radius: 9px; flex: none; background: #000 url(../assets/img/logo.webp) center/150% no-repeat; border: var(--hair); }
.pushbanner b { display: block; font-size: 13.5px; }
.pushbanner span { display: block; font-size: 12.5px; color: var(--smoke); }
.pushbanner time { font-size: 11px; color: var(--ash); align-self: flex-start; }

@keyframes bannerIn { from { transform: translateY(-140%); } }
@keyframes bannerOut { to { transform: translateY(-140%); opacity: 0; } }

/* ---------- 全局特效浮层 ---------- */
.fx-layer { position: absolute; inset: 0; z-index: 120; pointer-events: none; }

/* 联合署名：金色签名 */
.signature-fx {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 46%, rgba(0, 0, 0, .55), rgba(0, 0, 0, .78));
  animation: fadeIn .25s;
}

.signature-fx.out { animation: fadeOut .45s .1s forwards; }
.signature-fx svg.sig { width: 300px; height: 140px; overflow: visible; }
.signature-fx path { fill: none; stroke: url(#sigGold); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(235, 221, 184, .55)); }
.signature-fx .cap { text-align: center; margin-top: 4px; }
.signature-fx .cap b { display: block; font-family: var(--serif-en); font-style: italic; font-weight: 400; font-size: 26px; color: var(--gold-hi); }
.signature-fx .cap span { display: block; color: var(--smoke); font-size: 13px; margin-top: 6px; }

@keyframes fadeOut { to { opacity: 0; } }

/* 开屏：冠军全服接管 */
.splash {
  position: absolute;
  inset: 0;
  z-index: 150;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  cursor: pointer;
}

.splash.out { animation: fadeOut .5s forwards; }
.splash .media { position: absolute; inset: 0; }
.splash .media img { filter: grayscale(1) contrast(1.25) brightness(.85); transform: scale(1.08); animation: slowZoom 6s ease-out forwards; }
.splash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, transparent 30%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .92) 100%); }
.splash .inner { position: relative; z-index: 2; padding: 0 28px 70px; text-align: center; }
.splash .laurel { width: 210px; margin: 0 auto 8px; color: var(--gold); }
.splash .rotw { font-family: var(--serif-en); font-size: 15px; letter-spacing: .32em; color: var(--gold-hi); margin-bottom: 4px; }
.splash .ttl { font-family: var(--serif-en); font-size: 48px; line-height: 1; color: #fff; margin: 6px 0 10px; }
.splash .who { font-family: var(--serif-zh); color: var(--ivory); font-size: 15px; letter-spacing: .12em; }
.splash .credit { margin-top: 22px; font-size: 11.5px; color: var(--smoke); line-height: 1.7; }
.splash .skip { position: absolute; top: 56px; right: 18px; z-index: 3; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font-size: 12px; color: var(--ivory); background: rgba(0, 0, 0, .35); }
.splash .issue { position: absolute; top: 58px; left: 22px; z-index: 3; font-family: var(--serif-en); font-style: italic; color: var(--gold); font-size: 13px; }

@keyframes slowZoom { to { transform: scale(1); } }

/* 加冕：长条彩带 + 气柱 */
.coronation { position: absolute; inset: 0; z-index: 125; pointer-events: none; }
.coronation canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.coronation .column { position: absolute; bottom: 0; width: 70px; height: 0; background: linear-gradient(0deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); filter: blur(10px); animation: column 2.4s ease-out forwards; }
.coronation .column.l { left: 8px; }
.coronation .column.r { right: 8px; }

@keyframes column { 15% { height: 70%; } 100% { height: 60%; opacity: 0; } }

/* ---------- 窄屏：直接全屏为 App ---------- */
@media (max-width: 1180px) {
  .liner-notes { width: 280px; }
  .stage { gap: 32px; padding: 20px; }
}

@media (max-width: 980px) {
  .cover-notes { display: none; }
  .stage { grid-template-columns: auto minmax(280px, 1fr); }
}

@media (max-width: 760px) {
  .liner-notes { display: none; }
  .stage { display: block; padding: 0; }
  .device { width: 100vw; height: 100dvh; padding: 0; border-radius: 0; box-shadow: none; background: none; }
  .device::after { display: none; }
  #app { width: 100vw; height: 100dvh; border-radius: 0; }
  .island, .home-indicator { display: none; }
  /* 真机上由系统绘制状态栏：隐藏演示用的假状态栏，改用安全区 */
  :root { --status-h: max(env(safe-area-inset-top, 0px), 16px); }
  .statusbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
