/* =========================================================
   CO-SIGN 演示原型 · 各页面样式
   ========================================================= */

/* ================= Home：沉浸式信息流 ================= */
.feed {
  position: absolute;
  inset: 0;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

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

.fi {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: #000;
}

.fi-media { position: absolute; inset: 0; }
.fi-media img { transform: scale(1.06); transition: transform 9s linear; }
.fi.active .fi-media img { transform: scale(1.16) translateY(-1.5%); }

.fi-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 18%, transparent 52%, rgba(0, 0, 0, .78) 86%, rgba(0, 0, 0, .9) 100%);
  pointer-events: none;
}

.feed-top {
  position: absolute;
  top: var(--status-h);
  left: 0;
  right: 0;
  z-index: 20;
  height: 44px;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  padding: 0 10px;
}

.live-entry {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ivory);
  font-family: var(--serif-en);
  font-size: 13px;
}

.live-entry .ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, #e2604f, var(--gold), #e2604f);
  animation: spin 4s linear infinite;
}

.live-entry .ring span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 2px solid #000; animation: spin 4s linear infinite reverse; }
.live-entry .ring img { width: 100%; height: 100%; object-fit: cover; }

.feed-ch { display: flex; justify-content: center; gap: 22px; }
.feed-ch button { position: relative; color: rgba(242, 237, 227, .62); font-size: 16px; font-weight: 500; padding: 6px 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.feed-ch button.on { color: #fff; font-weight: 700; }
.feed-ch button.on::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); }

.feed-top .icon-btn { justify-self: end; }

.feed-wave {
  position: absolute;
  top: calc(var(--status-h) + 44px);
  left: 0;
  width: 100%;
  height: 16px;
  z-index: 19;
  pointer-events: none;
  opacity: .7;
}

.sound-hint {
  position: absolute;
  top: calc(var(--status-h) + 66px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 21;
}

/* 右侧一体式毛玻璃竖条 */
.fi-rail {
  position: absolute;
  right: 10px;
  bottom: 150px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rail-av { position: relative; width: 48px; height: 48px; }
.rail-av .avatar { width: 48px; height: 48px; box-shadow: 0 0 0 1.5px var(--gold-hi); }

.rail-av .plus {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #1a1408;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.rail-av.followed .plus { background: #2b2b2e; color: var(--gold-hi); }

.rail-glass {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 30px;
  background: rgba(30, 28, 24, .35);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(235, 221, 184, .22);
}

.rail-btn { width: 50px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 11px; color: var(--ivory); text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.rail-btn svg { width: 28px; height: 28px; color: var(--gold-hi); filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.rail-btn.on svg { color: #ff7a8a; }
.rail-btn.saved svg { color: var(--gold); }
.rail-btn.vinyl .disc { width: 40px; height: 40px; border-radius: 50%; background: repeating-radial-gradient(circle, #111 0 2px, #1d1d1d 2px 3px); display: grid; place-items: center; animation: spin 5s linear infinite; box-shadow: 0 0 0 1.5px rgba(235, 221, 184, .5); }
.rail-btn.vinyl .disc img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

.fi-cap {
  position: absolute;
  left: 14px;
  right: 82px;
  bottom: calc(var(--tabbar-h) + 14px);
  z-index: 5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}

.fi-cap .who { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.fi-cap .who svg { width: 15px; height: 15px; color: var(--gold); }
.fi-cap h3 { margin: 6px 0 4px; font-family: var(--serif-zh); font-size: 16.5px; font-weight: 700; line-height: 1.45; }
.fi-cap p { margin: 0; color: rgba(242, 237, 227, .82); font-size: 13px; line-height: 1.55; }
.fi-cap .tags { color: var(--gold-hi); }
.fi-cap .badges { display: flex; gap: 6px; margin-bottom: 6px; }

.capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin-top: 9px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(16, 15, 13, .58);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(235, 221, 184, .25);
  font-size: 12.5px;
  color: var(--ivory);
}

.capsule svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.capsule b { color: var(--gold-hi); font-weight: 600; }

.cosign-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  height: 40px;
  padding: 0 16px 0 14px;
  width: max-content;
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-ink);
  font-weight: 700;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 24px rgba(0, 0, 0, .45);
  text-shadow: none;
}

.cosign-pill svg { width: 18px; height: 18px; }
.cosign-pill .p { font-weight: 600; opacity: .8; font-variant-numeric: tabular-nums; }

.fi-sound { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: rgba(242, 237, 227, .85); overflow: hidden; }
.fi-sound svg { width: 14px; height: 14px; flex: none; color: var(--gold); }
.fi-sound .marq { overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.fi-sound .marq span { display: inline-block; padding-right: 40px; animation: marquee 12s linear infinite; }

@keyframes marquee { to { transform: translateX(-100%); } }

.fi-progress { position: absolute; left: 0; right: 0; bottom: calc(var(--tabbar-h) - 1px); height: 2px; background: rgba(255, 255, 255, .12); z-index: 6; }
.fi-progress i { display: block; height: 100%; width: 0; background: var(--gold-hi); }
.fi.active .fi-progress i { animation: prog var(--dur, 14s) linear infinite; }

@keyframes prog { to { width: 100%; } }

.burst { position: absolute; z-index: 30; width: 110px; height: 110px; margin: -55px 0 0 -55px; pointer-events: none; color: var(--gold-hi); animation: burst .9s ease-out forwards; }
.burst svg { width: 100%; height: 100%; filter: drop-shadow(0 0 14px rgba(235, 221, 184, .6)); }

@keyframes burst { 0% { transform: scale(.3) rotate(-12deg); opacity: 0; } 25% { transform: scale(1.1) rotate(0); opacity: 1; } 100% { transform: scale(1.4) translateY(-60px); opacity: 0; } }

.fi.live-card .live-tag { position: absolute; top: calc(var(--status-h) + 70px); left: 14px; z-index: 6; }
.fi.live-card .enter-live { margin-top: 12px; }

/* ================= 直播间 ================= */
.live-room { position: absolute; inset: 0; background: #000; overflow: hidden; }
.live-bg { position: absolute; inset: 0; }
.live-bg img { animation: drift 18s ease-in-out infinite alternate; }

@keyframes drift { from { transform: scale(1.08) translateX(-2%); } to { transform: scale(1.14) translateX(2%); } }

.beams { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .7; }

.beams i {
  position: absolute;
  top: -10%;
  width: 34%;
  height: 90%;
  background: linear-gradient(180deg, rgba(255, 236, 190, .55), rgba(255, 236, 190, 0) 80%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  filter: blur(6px);
  animation: sweep 6s ease-in-out infinite alternate;
}

.beams i:nth-child(1) { left: 2%; }
.beams i:nth-child(2) { left: 33%; animation-delay: -2s; }
.beams i:nth-child(3) { left: 64%; animation-delay: -4s; }

@keyframes sweep { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }

.live-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 22%, transparent 55%, rgba(0, 0, 0, .85)); pointer-events: none; }

.live-top { position: absolute; top: var(--status-h); left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 6px 10px; }

.host {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(8px);
}

.host .avatar { width: 32px; height: 32px; }
.host b { display: block; font-size: 13px; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host small { display: block; font-size: 10.5px; color: var(--smoke); }
.host .btn { height: 28px; padding: 0 12px; font-size: 12px; }

.viewers { margin-left: auto; display: flex; align-items: center; gap: 0; border-radius: 999px; overflow: hidden; border: 1px solid rgba(235, 221, 184, .35); font-size: 12px; }
.viewers .pill { border-radius: 0; height: 26px; }
.viewers span { padding: 0 10px; color: var(--ivory); background: rgba(0, 0, 0, .35); line-height: 26px; }

.hud-card {
  position: absolute;
  top: calc(var(--status-h) + 52px);
  left: 12px;
  right: 12px;
  z-index: 5;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(16, 15, 13, .55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(235, 221, 184, .3);
}

.hud-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.hud-card header b { font-family: var(--serif-en); font-weight: 400; color: var(--gold-hi); font-size: 15px; }
.hud-card header span { font-size: 11.5px; color: var(--smoke); }
.hud-card.collapsed .hud-rows { display: none; }

.hud-row { display: grid; grid-template-columns: 30px 1fr 64px; align-items: center; gap: 8px; padding: 4px 0; }
.hud-row .rk { font-family: var(--serif-en); font-size: 20px; color: var(--gold-hi); }
.hud-row .nm { font-size: 13px; font-weight: 600; }
.hud-row .sc { text-align: right; font-size: 12px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.hud-row .bar { margin-top: 4px; }
.hud-card.sealed .sc, .hud-card.sealed .rk { filter: blur(0); }

.program-chip { position: absolute; top: calc(var(--status-h) + 226px); left: 12px; z-index: 5; }

/* 直播画面内的叠加层（OBS 画面元素） */
.stream-ov { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

.pk-bar { position: absolute; left: 14px; right: 14px; top: 46%; display: none; }
.pk-bar.on { display: block; animation: fadeIn .3s; }
.pk-bar .names { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-bottom: 4px; text-shadow: 0 1px 6px #000; }
.pk-track { position: relative; display: flex; height: 14px; border-radius: 7px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.pk-track .l { background: linear-gradient(90deg, #c8364a, #ff6b6b); transition: width .25s cubic-bezier(.22, 1, .36, 1); }
.pk-track .r { flex: 1; background: linear-gradient(90deg, #3d6bff, #6aa6ff); }
.pk-track .bolt { position: absolute; top: -6px; width: 26px; height: 26px; margin-left: -13px; color: #fff3c4; filter: drop-shadow(0 0 6px #ffd46b); transition: left .25s cubic-bezier(.22, 1, .36, 1); }
.pk-bar .pk-note { margin-top: 4px; text-align: center; font-size: 10.5px; color: rgba(255, 255, 255, .7); }

.overtake {
  position: absolute;
  top: 34%;
  left: 10px;
  right: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: #1a1408;
  background: var(--leaf);
  box-shadow: 0 10px 30px rgba(200, 164, 90, .45);
  animation: drop .5s cubic-bezier(.22, 1, .36, 1);
}

@keyframes drop { from { transform: translateY(-40px); opacity: 0; } }

.live-comments {
  position: absolute;
  left: 12px;
  right: 92px;
  bottom: 120px;
  z-index: 5;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 30%);
}

.lc { align-self: flex-start; max-width: 100%; padding: 4px 10px; border-radius: 12px; background: rgba(0, 0, 0, .35); font-size: 12.5px; line-height: 1.5; animation: lcIn .3s; }
.lc b { color: var(--gold-hi); font-weight: 600; margin-right: 6px; }
.lc.sys { color: var(--gold-hi); background: rgba(200, 164, 90, .18); }

@keyframes lcIn { from { transform: translateY(12px); opacity: 0; } }

.live-bottom { position: absolute; left: 0; right: 0; bottom: 64px; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 0 12px; }

.live-input { flex: 1; height: 38px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); padding: 0 14px; color: var(--ivory); outline: none; }

.live-bottom .icon-btn { background: rgba(0, 0, 0, .45); width: 38px; height: 38px; }
.live-bottom .icon-btn svg { color: var(--gold-hi); }

.cosign-stage {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 6;
  height: 44px;
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-ink);
  font-family: var(--serif-en);
  font-size: 18px;
  letter-spacing: .04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 30px rgba(0, 0, 0, .5);
}

.cosign-stage small { font-family: var(--sans); font-size: 12px; letter-spacing: 0; margin-left: 8px; opacity: .75; }

.gift-fly { position: absolute; z-index: 30; left: 30px; bottom: 210px; display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: linear-gradient(90deg, rgba(200, 164, 90, .45), rgba(200, 164, 90, 0)); font-size: 12.5px; animation: giftFly 2.6s ease-out forwards; pointer-events: none; }
.gift-fly .g { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1a1408; color: var(--gold-hi); }
.gift-fly .g svg { width: 20px; height: 20px; }

@keyframes giftFly { 0% { transform: translateX(-120%); opacity: 0; } 15% { transform: none; opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-40px); opacity: 0; } }

.cert-strip { position: absolute; left: 0; right: 0; top: 28%; z-index: 7; text-align: center; padding: 8px; font-family: var(--serif-en); font-style: italic; font-size: 16px; color: var(--gold-hi); background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .6), transparent); animation: fadeIn .4s; pointer-events: none; }

/* 应援道具面板 */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gift { padding: 10px 4px 8px; border-radius: 14px; border: 1px solid transparent; text-align: center; }
.gift .g { width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, rgba(235, 221, 184, .35), rgba(200, 164, 90, .06)); color: var(--gold-hi); }
.gift .g svg { width: 24px; height: 24px; }
.gift b { display: block; font-size: 12.5px; font-weight: 500; }
.gift small { display: block; font-size: 11px; color: var(--gold); font-variant-numeric: tabular-nums; }
.gift.on { border-color: var(--gold); background: var(--accent-soft); }

/* ================= Fandom ================= */
.fd-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: calc(var(--status-h) + 4px) 14px 10px; background: linear-gradient(180deg, #050505 75%, rgba(5, 5, 5, 0)); }
.city { display: flex; align-items: center; gap: 2px; font-family: var(--serif-zh); font-weight: 700; font-size: 16px; white-space: nowrap; }
.city svg { width: 14px; height: 14px; color: var(--gold); }
.searchbox { flex: 1; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--vinyl-2); color: var(--ash); font-size: 13px; border: var(--hair-dim); }
.searchbox svg { width: 16px; height: 16px; }
.fd-top .icon-btn { width: 34px; height: 34px; position: relative; }
.fd-top .icon-btn .badge-dot { position: absolute; top: 0; right: -2px; transform: scale(.85); }

.hero-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 18px 6px; scrollbar-width: none; }
.hero-rail::-webkit-scrollbar { display: none; }

.pcard {
  flex: none;
  width: 330px;
  scroll-snap-align: center;
  border-radius: 18px;
  overflow: hidden;
  background: var(--vinyl);
  border: 1px solid rgba(200, 164, 90, .3);
  box-shadow: 0 18px 40px -18px var(--theme, rgba(200, 164, 90, .5));
}

.pcard .media { height: 184px; }
.pcard .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .82)); }
.pcard .ov { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 2; }
.pcard .ov small { font-family: var(--serif-zh); font-size: 13px; color: var(--gold-hi); }
.pcard .ov h3 { margin: 2px 0 0; font-family: var(--serif-en); font-weight: 400; font-size: 34px; line-height: 1.05; color: #fff; }
.pcard .ov p { margin: 2px 0 0; font-size: 12px; color: rgba(242, 237, 227, .78); }
.pcard .crown { position: absolute; top: 12px; left: 12px; z-index: 2; }

.pcard-stats { display: grid; grid-template-columns: 1fr 1fr 1.2fr; border-top: 1px solid rgba(200, 164, 90, .35); }
.pcard-stats > div { padding: 10px 12px; border-right: var(--hair-dim); }
.pcard-stats > div:last-child { border-right: 0; }
.pcard-stats b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 21px; color: var(--ivory); line-height: 1.1; }
.pcard-stats span { font-size: 11px; color: var(--smoke); }
.pcard-stats .first { background: linear-gradient(180deg, rgba(200, 164, 90, .25), rgba(200, 164, 90, .06)); }
.pcard-stats .first b { color: var(--gold-hi); }
.pcard-acts { display: flex; gap: 8px; padding: 10px 12px 12px; }
.pcard-acts .btn { flex: 1; height: 36px; }

/* 社区入口：金刚区 */
.kingkong { display: grid; grid-template-columns: repeat(5, 1fr); row-gap: 14px; padding: 18px 10px 4px; }
.kk { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--ivory); }

.kk .ic {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--gold-hi);
  background: linear-gradient(160deg, #1f1d19, #0f0f10);
  border: 1px solid rgba(200, 164, 90, .32);
}

.kk .ic svg { width: 23px; height: 23px; }
.kk .ic .tag { position: absolute; top: -7px; right: -12px; font-size: 9.5px; padding: 0 5px; line-height: 15px; background: #b33a3a; color: #fff; }

.tonight { margin: 16px 18px 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.tonight .when { text-align: center; padding-right: 12px; border-right: var(--hair); }
.tonight .when b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 26px; line-height: 1; color: var(--gold-hi); }
.tonight .when span { font-size: 11px; color: var(--smoke); }
.tonight .what { flex: 1; min-width: 0; }
.tonight .what b { display: block; font-family: var(--serif-zh); font-size: 15px; }
.tonight .what span { display: block; font-size: 12px; color: var(--smoke); }

.track-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 10px; overflow-x: auto; padding: 0 18px; scrollbar-width: none; }
.track-grid::-webkit-scrollbar { display: none; }
.tg { text-align: left; }
.tg .media { height: 150px; border-radius: var(--r-media); }
.tg .rk { position: absolute; top: 6px; right: 10px; z-index: 2; font-family: var(--serif-en); font-size: 24px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.tg b { display: block; margin-top: 8px; font-family: var(--serif-en); font-weight: 400; font-size: 15px; }
.tg span { display: block; font-size: 11.5px; color: var(--smoke); }
.tg .play { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(235, 221, 184, .9); color: #1a1408; }
.tg .play svg { width: 14px; height: 14px; }

.rail { display: flex; gap: 12px; overflow-x: auto; padding: 0 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }

.ar-card { flex: none; width: 250px; border-radius: 16px; overflow: hidden; background: var(--vinyl); border: var(--hair-dim); text-align: left; }
.ar-card .media { height: 120px; }
.ar-card .body { padding: 10px 12px 12px; }
.ar-card .body b { display: block; font-family: var(--serif-zh); font-size: 14.5px; }
.ar-card .body .meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--smoke); margin: 6px 0 6px; }

.bts-card { flex: none; width: 132px; text-align: left; }
.bts-card .media { height: 165px; border-radius: 12px; }
.bts-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .8)); }
.bts-card .lbl { position: absolute; left: 10px; bottom: 8px; z-index: 2; }
.bts-card .lbl small { display: block; font-family: var(--serif-en); font-style: italic; color: var(--gold); font-size: 11px; }
.bts-card .lbl b { font-size: 12.5px; font-weight: 600; }
.bts-card .num { position: absolute; top: 8px; left: 8px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); font-size: 11px; }

.event-row .when { width: 46px; text-align: center; flex: none; }
.event-row .when b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 22px; line-height: 1; color: var(--gold-hi); }
.event-row .when span { font-size: 10.5px; color: var(--smoke); }

.post { padding: 14px 18px; border-bottom: var(--hair-dim); }
.post header { display: flex; align-items: center; gap: 10px; }
.post header b { font-size: 13.5px; }
.post header small { display: block; color: var(--ash); font-size: 11px; }
.post p { margin: 8px 0; font-size: 14px; line-height: 1.7; }
.post .pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.post .pics .media { aspect-ratio: 1; border-radius: 8px; }
.post footer { display: flex; gap: 18px; margin-top: 8px; color: var(--smoke); font-size: 12px; }
.post footer span { display: inline-flex; align-items: center; gap: 4px; }
.post footer svg { width: 15px; height: 15px; }

/* ================= 周榜 ================= */
.chart-week { padding: 6px 18px 0; display: flex; justify-content: space-between; align-items: flex-end; }
.chart-week h2 { margin: 0; font-family: var(--serif-en); font-weight: 400; font-size: 30px; line-height: 1; }
.chart-week small { color: var(--smoke); font-size: 12px; }
.countdown { font-variant-numeric: tabular-nums; color: var(--gold-hi); }

.champ { margin: 14px 18px 4px; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.champ .media { width: 96px; height: 96px; border-radius: 10px; }
.champ .no { display: flex; align-items: center; gap: 8px; }
.champ .no b { font-family: var(--serif-en); font-weight: 400; font-size: 34px; line-height: 1; color: var(--gold-hi); }
.champ h3 { margin: 4px 0 0; font-family: var(--serif-en); font-weight: 400; font-size: 21px; line-height: 1.15; }
.champ .by { font-size: 12px; color: var(--smoke); margin-top: 2px; }
.champ .sc { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 6px; }
.champ .sc b { font-family: var(--serif-en); font-weight: 400; font-size: 20px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.champ .sc small { display: block; font-size: 10.5px; color: var(--smoke); }
.champ svg.spark { width: 92px; height: 34px; }

.crow { display: grid; grid-template-columns: 34px 14px 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 18px; border-bottom: var(--hair-dim); text-align: left; width: 100%; }
.crow .rk { font-family: var(--serif-en); font-size: 24px; text-align: center; color: var(--ivory); }
.crow .mv svg { width: 12px; height: 12px; }
.crow .mv.up { color: var(--up); }
.crow .mv.down { color: var(--down); }
.crow .mv.same { color: var(--ash); }
.crow .mv.new { font-family: var(--serif-en); font-size: 9px; color: var(--gold); }
.crow .media { width: 52px; height: 52px; border-radius: 8px; }
.crow b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 16px; }
.crow span { display: block; font-size: 11.5px; color: var(--smoke); }
.crow .sc { text-align: right; }
.crow .sc b { font-family: var(--sans); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--gold-hi); }
.crow .sc span { font-size: 10.5px; }
.sealed-q { filter: blur(.2px); color: var(--gold) !important; letter-spacing: .1em; }

.sealed-banner { margin: 10px 18px 0; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(200, 164, 90, .5); color: var(--gold-hi); font-size: 12.5px; display: flex; gap: 8px; align-items: center; }
.sealed-banner svg { width: 18px; height: 18px; flex: none; }

.weights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.weights div { padding: 10px; border-radius: 12px; background: var(--vinyl); border: var(--hair-dim); }
.weights b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 22px; color: var(--gold-hi); }
.weights span { font-size: 11.5px; color: var(--smoke); }

.ep-line { display: flex; align-items: center; gap: -6px; }
.ep-line .avatar { width: 26px; height: 26px; font-size: 11px; margin-right: -6px; box-shadow: 0 0 0 2px #050505; }

/* ================= 艺人主页 / 单曲 ================= */
.artist-hero { position: relative; height: 330px; }
.artist-hero .media { position: absolute; inset: 0; }
.artist-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .4), transparent 35%, rgba(5, 5, 5, .4) 60%, #050505); }
.artist-hero .glow { position: absolute; inset: auto -20% -40px; height: 160px; background: radial-gradient(closest-side, var(--theme), transparent); opacity: .55; filter: blur(30px); z-index: 1; }
.artist-hero .ov { position: absolute; left: 18px; right: 18px; bottom: 6px; z-index: 2; }
.artist-hero small { font-family: var(--serif-zh); color: var(--theme-hi, var(--gold-hi)); font-size: 13px; }
.artist-hero h2 { margin: 2px 0; font-family: var(--serif-en); font-weight: 400; font-size: 40px; line-height: 1; }
.artist-hero p { margin: 4px 0 0; font-size: 12.5px; color: var(--smoke); }

.a-stats { display: grid; grid-template-columns: 1fr 1fr 1.5fr; margin: 14px 18px 0; border: 1px solid rgba(200, 164, 90, .3); border-radius: 14px; overflow: hidden; }
.a-stats > div { padding: 10px 12px; border-right: var(--hair-dim); }
.a-stats > div:last-child { border-right: 0; }
.a-stats b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 20px; }
.a-stats span { font-size: 11px; color: var(--smoke); }
.a-acts { display: flex; gap: 8px; padding: 12px 18px 0; }
.a-acts .btn { flex: 1; }

.trk-row { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; padding: 10px 18px; border-bottom: var(--hair-dim); }
.trk-row .media { width: 50px; height: 50px; border-radius: 8px; }
.trk-row b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 16px; }
.trk-row span { display: block; font-size: 11.5px; color: var(--smoke); }
.trk-row .acts { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }

.profile-kv { display: grid; grid-template-columns: 84px 1fr; row-gap: 10px; padding: 14px 18px; font-size: 13.5px; }
.profile-kv dt { color: var(--smoke); }
.profile-kv dd { margin: 0; }

.honor { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 18px; }
.honor .plaque { text-align: center; padding: 18px 10px; }
.honor .plaque b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 28px; color: var(--gold-hi); }
.honor .plaque span { font-size: 12px; color: var(--smoke); }

/* 单曲播放页 */
.player { padding: 0 18px; text-align: center; }
.player .frame { position: relative; width: 268px; height: 268px; margin: 6px auto 0; padding: 8px; background: var(--leaf); box-shadow: 0 30px 60px -20px var(--theme, rgba(200, 164, 90, .5)); }
.player .frame .media { width: 100%; height: 100%; }
.player .frame .vinyl { position: absolute; right: -46px; top: 24px; width: 220px; height: 220px; border-radius: 50%; z-index: -1; background: repeating-radial-gradient(circle, #0c0c0c 0 2px, #1a1a1a 2px 3px); animation: spin 6s linear infinite; animation-play-state: paused; }
.player.playing .frame .vinyl { animation-play-state: running; }
.player .cosigners { margin-top: 18px; font-size: 11.5px; color: var(--smoke); }
.player h2 { margin: 2px 0 0; font-family: var(--serif-en); font-weight: 400; font-size: 28px; }
.player .by { color: var(--smoke); font-size: 13px; }
.player canvas.wave { width: 100%; height: 48px; margin: 12px 0 4px; }
.player .times { display: flex; justify-content: space-between; font-size: 11px; color: var(--ash); font-variant-numeric: tabular-nums; }
.player .ctrl { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 6px 0 4px; }
.player .ctrl .icon-btn svg { width: 26px; height: 26px; }

.player .ctrl .main {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cta);
  color: var(--cta-ink);
}

.player .ctrl .main svg { width: 26px; height: 26px; }
.ep-row { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }
.ep { width: 74px; text-align: center; }
.ep .avatar { width: 50px; height: 50px; margin: 0 auto; box-shadow: 0 0 0 2px #050505, 0 0 0 3px var(--gold); position: relative; }
.ep .star { position: absolute; right: -4px; top: -4px; color: var(--gold); }
.ep span { display: block; margin-top: 6px; font-size: 11.5px; }
.credit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; text-align: left; margin-top: 12px; font-size: 12.5px; }
.credit-list dt { color: var(--smoke); font-size: 11px; }
.credit-list dd { margin: 0; }
.lyrics { max-height: 210px; overflow-y: auto; padding: 8px 0; font-family: var(--serif-zh); font-size: 15px; line-height: 2.1; color: var(--smoke); text-align: center; mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }
.lyrics .on { color: var(--ivory); font-weight: 700; }

/* ================= 演出 / 票 / 二维码 ================= */
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 18px 0; scrollbar-width: none; }
.dates button { flex: none; width: 52px; padding: 8px 0; border-radius: 12px; border: var(--hair-dim); text-align: center; color: var(--smoke); }
.dates button b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 20px; color: var(--ivory); }
.dates button.on { border-color: var(--gold); background: var(--accent-soft); color: var(--gold-hi); }
.dates button.has::after { content: ""; display: block; width: 4px; height: 4px; border-radius: 50%; margin: 3px auto 0; background: var(--gold); }

.show-card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 18px; border-bottom: var(--hair-dim); text-align: left; width: 100%; }
.show-card .media { height: 128px; border-radius: 10px; }
.show-card b { display: block; font-family: var(--serif-zh); font-size: 15px; line-height: 1.4; }
.show-card .meta { margin-top: 6px; font-size: 12px; color: var(--smoke); line-height: 1.7; }
.show-card .price { margin-top: 8px; color: var(--gold-hi); font-weight: 600; }

.ticket {
  position: relative;
  margin: 0 auto;
  width: 290px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #1d1b17, #0e0e0f);
  border: var(--hair);
}

.ticket .top { padding: 16px 18px 12px; }
.ticket .top small { font-family: var(--serif-en); font-style: italic; color: var(--gold); }
.ticket .top b { display: block; font-family: var(--serif-zh); font-size: 17px; margin: 4px 0; }
.ticket .top span { display: block; font-size: 12px; color: var(--smoke); }
.ticket .cut { position: relative; height: 0; border-top: 1px dashed rgba(200, 164, 90, .4); margin: 0 14px; }
.ticket .cut::before, .ticket .cut::after { content: ""; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: #151517; }
.ticket .cut::before { left: -24px; }
.ticket .cut::after { right: -24px; }
.ticket .qr-wrap { padding: 16px; display: grid; place-items: center; }
.qr { width: 170px; height: 170px; padding: 10px; background: #f6efe0; border-radius: 10px; }
.qr svg { width: 100%; height: 100%; }
.qr-note { font-size: 11.5px; color: var(--smoke); text-align: center; margin-top: 8px; }

/* ================= 商城 ================= */
.exp-rail { display: flex; gap: 12px; overflow-x: auto; padding: 0 18px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.exp-rail::-webkit-scrollbar { display: none; }
.exp-card { flex: none; width: 320px; height: 190px; border-radius: 18px; overflow: hidden; scroll-snap-align: center; position: relative; border: 1px solid rgba(200, 164, 90, .35); text-align: left; }
.exp-card .media { position: absolute; inset: 0; }
.exp-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 40%, rgba(0, 0, 0, .85)); }
.exp-card .ov { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.exp-card .ov b { display: block; font-family: var(--serif-zh); font-size: 16px; }
.exp-card .ov span { font-size: 12px; color: var(--gold-hi); }
.exp-card .tl { position: absolute; top: 12px; left: 12px; z-index: 2; }

.merch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 18px; }
.merch { text-align: left; border-radius: 16px; background: var(--vinyl); border: var(--hair-dim); overflow: hidden; }
.merch .media { aspect-ratio: 1; }
.merch .body { padding: 10px 12px 12px; }
.merch .body b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.merch .body .row-flex { margin-top: 8px; justify-content: space-between; }
.merch .price { color: var(--gold-hi); font-weight: 700; }

.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 40px; border-radius: 10px; border: var(--hair-dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.slot.on { border-color: var(--gold); background: var(--accent-soft); color: var(--gold-hi); }
.slot.full { opacity: .35; text-decoration: line-through; pointer-events: none; }

.pkg { display: block; width: 100%; text-align: left; padding: 14px; border-radius: 14px; border: var(--hair-dim); margin-bottom: 10px; }
.pkg.on { border-color: var(--gold); background: var(--accent-soft); }
.pkg b { font-family: var(--serif-zh); font-size: 15px; }
.pkg .price { float: right; color: var(--gold-hi); font-weight: 700; }
.pkg ul { margin: 6px 0 0; padding-left: 18px; color: var(--smoke); font-size: 12.5px; line-height: 1.7; }

/* ================= A&R 企划 ================= */
.prop-hero { position: relative; height: 230px; }
.prop-hero .media { position: absolute; inset: 0; }
.prop-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(5, 5, 5, .2) 50%, #050505); }
.prop-hero .ov { position: absolute; left: 18px; right: 18px; bottom: 8px; z-index: 2; }
.prop-hero h2 { margin: 6px 0 0; font-family: var(--serif-zh); font-size: 22px; line-height: 1.35; }

.progress-box { margin: 14px 18px 0; padding: 14px; border-radius: 14px; background: var(--vinyl); border: var(--hair-dim); }
.progress-box .big { display: flex; align-items: baseline; gap: 6px; }
.progress-box .big b { font-family: var(--serif-en); font-weight: 400; font-size: 34px; color: var(--gold-hi); line-height: 1; }
.progress-box .big span { color: var(--smoke); font-size: 13px; }

.timeline { position: relative; padding: 4px 18px 0 40px; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 1px; background: rgba(200, 164, 90, .3); }
.tl-item { position: relative; padding: 6px 0 12px; }
.tl-item::before { content: ""; position: absolute; left: -19px; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: #050505; border: 1.5px solid var(--ash); }
.tl-item.done::before { background: var(--gold); border-color: var(--gold); }
.tl-item.now::before { background: #050505; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 90, .2); }
.tl-item b { font-size: 13.5px; font-weight: 600; }
.tl-item.todo b { color: var(--smoke); font-weight: 400; }
.tl-item p { margin: 3px 0 0; font-size: 12px; color: var(--smoke); line-height: 1.6; }
.tl-item .media { width: 100%; height: 120px; border-radius: 10px; margin-top: 8px; }

.tier { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; width: 100%; text-align: left; padding: 14px; border-radius: 14px; border: var(--hair-dim); margin-bottom: 10px; }
.tier.on { border-color: var(--gold); background: var(--accent-soft); }
.tier.sold { opacity: .45; pointer-events: none; }
.tier b { font-family: var(--serif-zh); font-size: 15px; }
.tier .price { color: var(--gold-hi); font-weight: 700; text-align: right; }
.tier p { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--smoke); line-height: 1.65; }
.tier .left { font-size: 11.5px; color: var(--gold); text-align: right; }
.tier.ep { background: linear-gradient(135deg, rgba(200, 164, 90, .12), rgba(200, 164, 90, .02)); }

.fund-table { width: calc(100% - 36px); margin: 0 18px; border-collapse: collapse; font-size: 12.5px; }
.fund-table td { padding: 8px 0; border-bottom: var(--hair-dim); }
.fund-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--gold-hi); }

/* ================= 任务 / 破圈 ================= */
.credit-score { margin: 12px 18px 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--vinyl); border: var(--hair-dim); }
.credit-score b { font-family: var(--serif-en); font-weight: 400; font-size: 30px; color: var(--gold-hi); line-height: 1; }
.task-card { display: block; width: 100%; text-align: left; padding: 14px 18px; border-bottom: var(--hair-dim); }
.task-card .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.task-card b { font-size: 14.5px; font-weight: 600; }
.task-card .rw { color: var(--gold-hi); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.task-card .meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--smoke); }

.workpass { width: 290px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: var(--hair); background: linear-gradient(180deg, #1d1b17, #0e0e0f); text-align: center; padding: 18px; }
.workpass .zone { font-family: var(--serif-zh); font-size: 20px; color: var(--gold-hi); margin: 8px 0; }

.chat { padding: 10px 14px 90px; }
.bubble { max-width: 76%; padding: 9px 12px; border-radius: 16px; margin: 6px 0; font-size: 13.5px; line-height: 1.6; background: var(--vinyl-2); }
.bubble.me { margin-left: auto; background: rgba(200, 164, 90, .22); border-bottom-right-radius: 4px; }
.bubble.them { border-bottom-left-radius: 4px; }
.bubble.sys { max-width: 100%; margin: 10px auto; text-align: center; background: none; color: var(--smoke); font-size: 12px; }
.bubble small { display: block; color: var(--smoke); font-size: 11px; margin-bottom: 2px; }

.composer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 10px 12px 30px; background: linear-gradient(180deg, rgba(5, 5, 5, .7), #050505 40%); border-top: var(--hair-dim); }
.composer .input { border-radius: 999px; height: 40px; padding: 0 14px; }
.composer .icon-btn { width: 38px; height: 38px; flex: none; }
.composer .icon-btn svg { color: var(--gold-hi); }

.bounty { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 18px; border-bottom: var(--hair-dim); text-align: left; width: 100%; }
.bounty .media { height: 96px; border-radius: 10px; }
.bounty b { font-size: 14px; font-weight: 600; line-height: 1.45; }
.bounty .rw { color: var(--gold-hi); font-weight: 700; margin-top: 6px; }

/* ================= 新人企划 ================= */
.phase-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 18px; }
.phase { padding: 10px 8px; border-radius: 12px; border: var(--hair-dim); text-align: center; font-size: 11.5px; color: var(--smoke); }
.phase b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 13px; color: var(--ivory); }
.phase.now { border-color: var(--gold); background: var(--accent-soft); color: var(--gold-hi); }
.phase.done { opacity: .6; }

.trainee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 18px; }
.trainee { text-align: left; }
.trainee .media { aspect-ratio: 3 / 4; border-radius: 12px; }
.trainee .st { position: absolute; top: 6px; left: 6px; z-index: 2; }
.trainee b { display: block; margin-top: 6px; font-size: 13px; }
.trainee span { display: block; font-size: 11px; color: var(--smoke); font-variant-numeric: tabular-nums; }

/* ================= 名人堂 ================= */
.hof { margin: 0 18px 12px; display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; }
.hof .media { height: 110px; border-radius: 6px; }
.hof .wk { font-family: var(--serif-en); font-style: italic; color: var(--gold); font-size: 12px; }
.hof b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 19px; margin-top: 2px; }
.hof span { display: block; font-size: 12px; color: var(--smoke); }
.wall { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 18px; font-family: var(--serif-en); font-style: italic; color: var(--gold-hi); font-size: 15px; }

/* ================= Cabin：制作人主舱 ================= */
.cabin { position: absolute; inset: 0; overflow: hidden; background: #000; }
.cabin-bg { position: absolute; inset: 0; }
.cabin-bg img { animation: breathe 9s ease-in-out infinite alternate; }

@keyframes breathe { from { transform: scale(1.04); } to { transform: scale(1.1) translateY(-1%); } }

.cabin-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .1) 22%, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .78) 66%, #000 100%); pointer-events: none; }
.cabin-rim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 45% at 78% 30%, rgba(235, 200, 120, .22), transparent 70%); mix-blend-mode: screen; animation: rim 5s ease-in-out infinite alternate; }

@keyframes rim { from { opacity: .5; } to { opacity: 1; } }

.cabin .scroll { padding-top: 0; padding-bottom: calc(var(--tabbar-h) + 20px); }
.cabin-top { position: relative; z-index: 3; padding: calc(var(--status-h) + 4px) 16px 0; display: flex; align-items: center; justify-content: space-between; }
.cabin-top .ttl { font-family: var(--serif-zh); font-weight: 700; font-size: 16px; }
.cabin-top .ttl small { display: block; font-family: var(--serif-en); font-style: italic; font-weight: 400; color: var(--gold); font-size: 11.5px; }

.cabin-switch { display: flex; gap: 6px; }
.cabin-switch button { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; opacity: .55; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .25); transition: all .2s; }
.cabin-switch button.on { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
.cabin-switch .avatar { width: 34px; height: 34px; font-size: 12px; }

.cabin-spacer { height: 300px; }
.cabin-name { position: relative; z-index: 3; padding: 0 18px; }
.cabin-name small { font-family: var(--serif-en); font-style: italic; color: var(--gold); font-size: 13px; }
.cabin-name h2 { margin: 0; font-family: var(--serif-zh); font-size: 30px; letter-spacing: .06em; }
.cabin-name .say { margin-top: 6px; font-family: var(--serif-zh); color: var(--ivory); font-size: 14px; line-height: 1.7; opacity: .9; }

.bond { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 18px 0; padding: 12px 14px; border-radius: 14px; background: rgba(12, 11, 10, .62); backdrop-filter: blur(10px); border: 1px solid rgba(200, 164, 90, .3); }
.bond b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 26px; line-height: 1; color: var(--gold-hi); }
.bond span { font-size: 11.5px; color: var(--smoke); }
.bond .bar { margin-top: 8px; grid-column: 1 / -1; }

.meters { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 18px 0; }
.meter { padding: 8px; border-radius: 12px; background: rgba(12, 11, 10, .55); border: var(--hair-dim); font-size: 11px; color: var(--smoke); }
.meter b { display: block; color: var(--ivory); font-size: 13px; font-variant-numeric: tabular-nums; margin-bottom: 4px; }

.cabin-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 18px 0; }

.ctile {
  position: relative;
  min-height: 104px;
  padding: 12px;
  border-radius: 16px;
  text-align: left;
  background: linear-gradient(160deg, rgba(36, 33, 27, .82), rgba(12, 12, 13, .82));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 164, 90, .3);
}

.ctile svg { width: 28px; height: 28px; color: var(--gold-hi); }
.ctile b { display: block; margin-top: 8px; font-family: var(--serif-zh); font-size: 15px; }
.ctile span { display: block; font-size: 11.5px; color: var(--smoke); line-height: 1.5; }
.ctile .badge-dot { position: absolute; top: 10px; right: 10px; }

.room-strip { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; margin: 12px 18px 0; padding: 12px 14px; border-radius: 16px; width: calc(100% - 36px); text-align: left; background: rgba(12, 11, 10, .62); border: var(--hair-dim); }
.room-strip .t { flex: 1; min-width: 0; }
.room-strip .t b { display: block; font-size: 14px; }
.room-strip .t span { display: block; font-size: 12px; color: var(--smoke); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.objective { position: relative; z-index: 3; margin: 12px 18px 0; display: flex; align-items: center; gap: 12px; }
.objective .t { flex: 1; min-width: 0; }
.objective small { font-family: var(--serif-en); font-style: italic; color: var(--gold); font-size: 12px; }
.objective b { display: block; font-family: var(--serif-zh); font-size: 16px; margin: 2px 0 6px; }

.greeting { position: absolute; z-index: 6; left: 18px; right: 18px; top: calc(var(--status-h) + 60px); display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(12, 11, 10, .72); backdrop-filter: blur(12px); border: var(--hair); animation: bannerIn .5s cubic-bezier(.22, 1, .36, 1); }
.greeting canvas { width: 70px; height: 28px; flex: none; }
.greeting p { margin: 0; font-size: 12.5px; line-height: 1.55; }
.greeting small { color: var(--gold); }

/* 房间 */
.room-list .li .avatar { width: 46px; height: 46px; }
.room-list .li .avatar.live { box-shadow: 0 0 0 2px #050505, 0 0 0 3.5px #d9534f; }
.room-list .li .avatar.mic { box-shadow: 0 0 0 2px #050505, 0 0 0 3.5px var(--gold); }

.room { position: absolute; inset: 0; }
.room .msgs { position: absolute; inset: 0; overflow-y: auto; padding: calc(var(--status-h) + 100px) 14px 110px; scrollbar-width: none; }
.room .msgs::-webkit-scrollbar { display: none; }
.room.radio { background: radial-gradient(120% 70% at 50% 0%, #2a1c10, #0b0806 60%); }
.room.radio .msgs { filter: sepia(.15); }

.room-views { position: absolute; top: calc(var(--status-h) + 52px); left: 14px; right: 14px; z-index: 20; display: flex; gap: 8px; align-items: center; }
.room-views .seg { flex: 1; }
.radio-chip { position: absolute; top: calc(var(--status-h) + 92px); left: 0; right: 0; z-index: 19; text-align: center; font-size: 11.5px; color: var(--gold-hi); }

.m { display: flex; gap: 8px; margin: 12px 0; align-items: flex-start; }
.m .avatar { width: 34px; height: 34px; font-size: 12px; }
.m .body { max-width: 78%; }
.m .who { font-size: 11.5px; color: var(--smoke); margin-bottom: 3px; }
.m .who b { color: var(--gold-hi); font-weight: 600; }
.m .bub { padding: 9px 12px; border-radius: 4px 16px 16px 16px; background: var(--vinyl-2); font-size: 14px; line-height: 1.6; }
.m .bub.img { padding: 0; overflow: hidden; width: 190px; }
.m .bub.img .media { height: 240px; }
.m.me { flex-direction: row-reverse; }
.m.me .body { text-align: right; }
.m.me .bub { border-radius: 16px 4px 16px 16px; background: rgba(200, 164, 90, .22); text-align: left; }
.m.fan .bub { background: rgba(242, 237, 227, .06); }

.voice { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.voice .pb { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1a1408; flex: none; }
.voice .pb svg { width: 14px; height: 14px; }
.voice canvas { width: 110px; height: 26px; }
.voice .dur { font-size: 11.5px; color: var(--smoke); font-variant-numeric: tabular-nums; }
.transcript { margin-top: 6px; font-size: 12.5px; color: var(--smoke); border-top: var(--hair-dim); padding-top: 6px; }

.quote { margin-bottom: 6px; padding: 6px 8px; border-left: 2px solid var(--gold); background: rgba(0, 0, 0, .25); font-size: 12px; color: var(--smoke); border-radius: 0 6px 6px 0; }

.notecard { border-radius: 14px; overflow: hidden; border: 1px solid rgba(200, 164, 90, .35); background: var(--vinyl); }
.notecard .q { padding: 10px 12px; font-size: 13px; border-bottom: var(--hair-dim); }
.notecard .q small { display: block; color: var(--gold); font-size: 11px; margin-bottom: 2px; }
.notecard .a { padding: 10px 12px; font-size: 13.5px; }

.sys-card { margin: 14px auto; max-width: 300px; padding: 10px 12px; border-radius: 14px; text-align: center; font-size: 12.5px; color: var(--gold-hi); background: rgba(200, 164, 90, .1); border: 1px solid rgba(200, 164, 90, .3); }

.stickers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sticker { height: 64px; border-radius: 14px; background: var(--vinyl-2); display: grid; place-items: center; font-size: 26px; }

.mic-banner { position: absolute; top: calc(var(--status-h) + 92px); left: 14px; right: 14px; z-index: 19; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(200, 164, 90, .14); border: 1px solid rgba(200, 164, 90, .4); font-size: 12.5px; }
.mic-banner canvas { width: 60px; height: 22px; }

/* 收件箱 / 语音明信片播放页 */
.vn { padding: 0 18px; }
.vn .stagecard { position: relative; height: 300px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(200, 164, 90, .4); }
.vn .stagecard .media { position: absolute; inset: 0; }
.vn .stagecard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .85)); }
.vn .stagecard .pl { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.vn .stagecard .pl .pb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-hi); color: #1a1408; }
.vn .stagecard .pl .pb svg { width: 16px; height: 16px; }
.vn .stagecard .pl canvas { width: 100%; height: 36px; }
.vn .stagecard .pl .tm { grid-column: 2; font-size: 11px; color: var(--smoke); font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; }
.vn .from { margin: 14px 0 6px; padding-left: 12px; border-left: 2px solid var(--gold); }
.vn .from b { display: block; font-size: 14px; }
.vn .from p { margin: 4px 0 0; color: var(--smoke); font-size: 13px; line-height: 1.7; font-family: var(--serif-zh); }

/* 来电 */
.call { position: absolute; inset: 0; z-index: 145; overflow: hidden; background: #000; animation: fadeIn .3s; }
.call .media { position: absolute; inset: 0; }
.call .media img { filter: blur(18px) brightness(.55); transform: scale(1.2); }
.call .inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; padding: 120px 30px 80px; text-align: center; }
.call .avatar { width: 108px; height: 108px; box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--gold); }
.call .avatar.ringing { animation: ringPulse 1.4s ease-out infinite; }
.call h2 { margin: 18px 0 4px; font-family: var(--serif-zh); font-size: 28px; }
.call p { margin: 0; color: var(--smoke); font-size: 14px; }
.call canvas { width: 220px; height: 60px; margin-top: 30px; }
.call .tm { font-variant-numeric: tabular-nums; color: var(--gold-hi); margin-top: 6px; }
.call .acts { margin-top: auto; display: flex; gap: 70px; }
.call .acts button { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; }
.call .acts button svg { width: 28px; height: 28px; }
.call .acts .no { background: #c8433a; color: #fff; }
.call .acts .yes { background: #3fa86a; color: #fff; }
.call .acts label { display: block; margin-top: 8px; font-size: 12px; color: var(--smoke); }
.call .demo-note { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; text-align: center; font-size: 11px; color: var(--ash); }

@keyframes ringPulse { 0% { box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--gold), 0 0 0 4px rgba(200, 164, 90, .6); } 100% { box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--gold), 0 0 0 34px rgba(200, 164, 90, 0); } }

/* 卡册 */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 18px; }
.mcard { position: relative; aspect-ratio: 5 / 7.4; border-radius: 12px; overflow: hidden; text-align: left; border: 1px solid rgba(200, 164, 90, .45); }
.mcard .media { position: absolute; inset: 0; }
.mcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .22) 35%, rgba(180, 160, 255, .18) 45%, rgba(255, 220, 150, .2) 55%, transparent 70%); background-size: 250% 250%; background-position: var(--hx, 50%) var(--hy, 50%); mix-blend-mode: screen; }
.mcard .lbl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 10px 10px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); }
.mcard .lbl small { font-family: var(--serif-en); font-style: italic; color: var(--gold); font-size: 11px; }
.mcard .lbl b { display: block; font-size: 13px; }
.mcard .stars { position: absolute; top: 8px; right: 8px; z-index: 2; color: var(--gold-hi); font-size: 11px; letter-spacing: 1px; }

.card3d-wrap { perspective: 1000px; display: grid; place-items: center; padding: 10px 0 0; }
.card3d { position: relative; width: 250px; height: 370px; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.22, 1, .36, 1); cursor: pointer; }
.card3d .face { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; backface-visibility: hidden; border: 1px solid rgba(200, 164, 90, .6); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.card3d .face .media { position: absolute; inset: 0; }
.card3d .face.back { transform: rotateY(180deg); background: repeating-radial-gradient(circle at 50% 50%, #0d0d0d 0 2px, #171717 2px 3px); display: grid; place-items: center; text-align: center; }
.card3d .holo { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: color-dodge; opacity: .55; background: linear-gradient(var(--ha, 115deg), transparent 25%, rgba(255, 90, 200, .35) 38%, rgba(90, 220, 255, .35) 48%, rgba(255, 230, 120, .4) 58%, transparent 72%); }
.card3d .engrave b { display: block; font-family: var(--serif-en); font-style: italic; font-weight: 400; font-size: 24px; color: var(--gold-hi); }
.card3d .engrave span { display: block; margin-top: 6px; font-size: 12px; color: var(--smoke); letter-spacing: .1em; }
.card3d.flipped { transform: rotateY(180deg); }

/* 剧情（视觉小说） */
.vn-scene { position: absolute; inset: 0; background: #000; }
.vn-scene .media { position: absolute; inset: 0; }
.vn-scene .media img { filter: brightness(.8); }
.vn-box { position: absolute; left: 12px; right: 12px; bottom: 34px; z-index: 3; padding: 16px 16px 14px; border-radius: 16px; background: rgba(10, 9, 8, .82); backdrop-filter: blur(12px); border: 1px solid rgba(200, 164, 90, .4); min-height: 150px; }
.vn-box .nm { position: absolute; top: -14px; left: 16px; padding: 3px 14px; border-radius: 6px; background: var(--leaf); color: #1a1408; font-family: var(--serif-zh); font-weight: 700; font-size: 14px; }
.vn-box p { margin: 6px 0 0; font-family: var(--serif-zh); font-size: 15.5px; line-height: 1.85; min-height: 84px; }
.vn-box .tap { text-align: right; font-size: 11px; color: var(--gold); animation: blink 1.2s infinite; }
.vn-choices { position: absolute; left: 24px; right: 24px; top: 34%; z-index: 4; display: grid; gap: 12px; }
.vn-choices button { padding: 14px; border-radius: 12px; background: rgba(12, 11, 10, .85); border: 1px solid rgba(200, 164, 90, .55); font-family: var(--serif-zh); font-size: 14.5px; animation: fadeIn .3s; }
.vn-choices button:hover { background: rgba(200, 164, 90, .2); }

@keyframes blink { 50% { opacity: .2; } }

/* ================= Studio：AI 工作室 ================= */
.studio { position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 0%, #15131f 0%, #070708 55%); }
.studio canvas.latent { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.studio .scroll { padding-top: 0; }
.st-head { position: relative; padding: calc(var(--status-h) + 6px) 18px 0; display: flex; align-items: flex-end; justify-content: space-between; }
.st-head h1 { margin: 0; font-family: var(--serif-en); font-weight: 400; font-size: 40px; line-height: 1; background: var(--leaf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-head p { margin: 4px 0 0; font-size: 12.5px; color: var(--smoke); }
.st-wallet { text-align: right; font-size: 12px; color: var(--smoke); }
.st-wallet b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 20px; color: var(--gold-hi); }

.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 18px 0; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 15px; height: 1px; background: rgba(200, 164, 90, .3); }
.st-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--smoke); }
.st-step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0d0d0f; border: 1px solid rgba(200, 164, 90, .45); font-family: var(--serif-en); color: var(--gold-hi); }
.st-step.done .n { background: var(--gold); color: #1a1408; }
.st-step.done .n svg { width: 14px; height: 14px; }
.st-step.on { color: var(--ivory); }
.st-step.on .n { box-shadow: 0 0 0 4px rgba(200, 164, 90, .18), 0 0 20px rgba(160, 140, 255, .35); }
.st-step small { font-size: 10.5px; color: var(--ash); }

.console { position: relative; margin: 16px 14px 0; padding: 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(26, 25, 30, .92), rgba(13, 13, 15, .95)); border: 1px solid rgba(200, 164, 90, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 20px 50px rgba(0, 0, 0, .5); }
.console .lbl { font-size: 12.5px; color: var(--smoke); margin: 14px 0 8px; display: flex; justify-content: space-between; }
.console .lbl:first-child { margin-top: 0; }
.console .textarea { background: rgba(0, 0, 0, .35); border-color: rgba(160, 150, 220, .2); min-height: 108px; font-family: var(--serif-zh); font-size: 14.5px; }
.console .textarea:focus { border-color: #a596ee; box-shadow: 0 0 0 3px rgba(165, 150, 238, .12); }
.inspire { display: flex; gap: 6px; overflow-x: auto; margin-top: 8px; scrollbar-width: none; }
.inspire button { flex: none; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(165, 150, 238, .1); color: #c9c0ff; }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode button { padding: 10px 12px; border-radius: 12px; border: var(--hair-dim); text-align: left; }
.mode button b { display: block; font-size: 13.5px; }
.mode button span { font-size: 11.5px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.mode button.on { border-color: var(--gold); background: var(--accent-soft); }
.console .gen { margin-top: 16px; }
.ai-note { margin-top: 10px; font-size: 11px; color: var(--ash); line-height: 1.6; }

.render { position: relative; margin: 16px 14px 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(165, 150, 238, .35); background: #08080b; }
.render canvas { display: block; width: 100%; height: 200px; }
.render .logs { padding: 12px 14px 14px; font-family: "SF Mono", "Menlo", "Consolas", monospace; font-size: 11px; line-height: 1.8; color: #b9b2e6; min-height: 120px; }
.render .logs div { animation: fadeIn .3s; }
.render .logs .ok { color: var(--gold-hi); }
.render .pct { position: absolute; top: 12px; right: 14px; font-family: var(--serif-en); font-size: 22px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }

.demo-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--vinyl); border: var(--hair-dim); margin-top: 10px; }
.demo-card .pb { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--cta); color: var(--cta-ink); }
.demo-card .pb svg { width: 18px; height: 18px; }
.demo-card canvas { width: 100%; height: 34px; }
.demo-card b { font-size: 13.5px; }

.dancer-box { position: relative; margin-top: 10px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(165, 150, 238, .3); background: radial-gradient(80% 60% at 50% 80%, #1b1830, #070709); }
.dancer-box canvas { display: block; width: 100%; height: 330px; }
.dancer-box .ov { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-size: 11px; color: #c9c0ff; }

.mv-box { position: relative; margin-top: 10px; height: 420px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(200, 164, 90, .45); }
.mv-box .media { position: absolute; inset: 0; }
.mv-box .media img { animation: drift 10s ease-in-out infinite alternate; }
.mv-box .scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.mv-box .neon { position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 100%, rgba(165, 150, 238, .35), transparent), radial-gradient(40% 30% at 80% 10%, rgba(90, 220, 255, .2), transparent); mix-blend-mode: screen; }
.mv-box .wm { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: 11px; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 4px #000; }
.mv-box .pill.ai { position: absolute; top: 10px; left: 10px; z-index: 2; }

.photo-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photo-pick button { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; border: 1.5px solid transparent; }
.photo-pick button .media { position: absolute; inset: 0; }
.photo-pick button.on { border-color: var(--gold); }
.photo-pick button.locked { opacity: .4; pointer-events: none; }
.photo-pick button small { position: absolute; left: 4px; bottom: 4px; z-index: 2; font-size: 9.5px; padding: 0 4px; border-radius: 4px; background: rgba(0, 0, 0, .65); }

.ticker { margin: 18px 14px 0; overflow: hidden; border-radius: 12px; border: 1px solid rgba(200, 164, 90, .25); background: rgba(200, 164, 90, .06); font-size: 12px; color: var(--gold-hi); white-space: nowrap; padding: 8px 0; }
.ticker span { display: inline-block; padding-left: 100%; animation: ticker 22s linear infinite; }

@keyframes ticker { to { transform: translateX(-100%); } }

.draft-rail .media { width: 120px; height: 120px; border-radius: 12px; }
.plaza-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px 18px; border-bottom: var(--hair-dim); width: 100%; text-align: left; }
.plaza-item .media { width: 54px; height: 54px; border-radius: 10px; }
.plaza-item b { font-size: 13.5px; }
.plaza-item span { display: block; font-size: 11.5px; color: var(--smoke); }

/* ================= Producer：我的 ================= */
.pro-cover { position: relative; height: 170px; overflow: hidden; }
.pro-cover::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 80% 120%, rgba(200, 164, 90, .09) 0 1px, transparent 1px 5px), linear-gradient(180deg, #17140e, #050505); }
.pro-cover .tools { position: absolute; top: var(--status-h); right: 10px; display: flex; gap: 2px; }
.pro-id { position: relative; margin-top: -58px; padding: 0 18px; display: flex; gap: 14px; align-items: flex-end; }
.pro-id .avatar { width: 92px; height: 92px; font-size: 32px; box-shadow: 0 0 0 3px #050505, 0 0 0 5px var(--gold), 0 0 30px rgba(200, 164, 90, .35); }
.pro-id .who { padding-bottom: 4px; }
.pro-id h2 { margin: 0; font-family: var(--serif-zh); font-size: 24px; }
.pro-id .mask { font-family: var(--serif-en); font-style: italic; color: var(--gold); font-size: 14px; }
.pro-meta { padding: 12px 18px 0; font-size: 12.5px; color: var(--smoke); }
.pro-meta .lv { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pro-meta .lv .bar { flex: 1; }
.pro-stats { display: flex; gap: 22px; padding: 14px 18px 0; }
.pro-stats b { font-family: var(--serif-en); font-weight: 400; font-size: 20px; margin-right: 4px; }
.pro-stats span { font-size: 12px; color: var(--smoke); }
.pro-acts { display: flex; gap: 8px; padding: 14px 18px 0; }
.pro-acts .btn { flex: 1; }
.badge-row { display: flex; gap: 6px; margin-top: 8px; }

.wallet-plaque { margin: 16px 18px 0; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; }
.wallet-plaque .cell small { display: block; font-size: 11.5px; color: var(--smoke); }
.wallet-plaque .cell b { font-family: var(--serif-en); font-weight: 400; font-size: 24px; color: var(--gold-hi); }
.wallet-plaque .cell em { display: block; font-style: normal; font-size: 10.5px; color: var(--ash); }

.pro-grid { display: grid; grid-template-columns: repeat(5, 1fr); row-gap: 16px; padding: 18px 8px 4px; }
.pro-grid button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; position: relative; }
.pro-grid svg { width: 25px; height: 25px; color: var(--gold-hi); }
.pro-grid .badge-dot { position: absolute; top: -6px; right: 12px; transform: scale(.8); }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.works-grid .media { aspect-ratio: 3 / 4; }
.works-grid .cnt { position: absolute; left: 6px; bottom: 6px; z-index: 2; font-size: 11px; display: flex; gap: 3px; align-items: center; text-shadow: 0 1px 4px #000; }
.works-grid .cnt svg { width: 12px; height: 12px; }

.cert { margin: 0 18px 12px; padding: 18px; text-align: center; }
.cert .seal { width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf); color: #1a1408; }
.cert .seal svg { width: 26px; height: 26px; }
.cert b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 20px; }
.cert span { display: block; font-size: 12px; color: var(--smoke); margin-top: 4px; line-height: 1.6; }

.badge-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 18px; }
.bdg { text-align: center; }
.bdg .medal { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #f6e9c4, #c8a45a 40%, #6b5225 85%); color: #1a1408; box-shadow: 0 6px 18px rgba(200, 164, 90, .25); }
.bdg .medal svg { width: 28px; height: 28px; }
.bdg.locked .medal { background: #1c1c1f; color: var(--ash); box-shadow: none; }
.bdg b { display: block; margin-top: 6px; font-size: 12px; }
.bdg span { display: block; font-size: 10.5px; color: var(--ash); line-height: 1.4; }

.recharge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.recharge button { padding: 12px 6px; border-radius: 12px; border: var(--hair-dim); text-align: center; }
.recharge button b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 19px; color: var(--gold-hi); }
.recharge button span { font-size: 12px; color: var(--smoke); }
.recharge button.on { border-color: var(--gold); background: var(--accent-soft); }

.membership { margin: 0 18px; padding: 22px 18px; border-radius: 20px; background: linear-gradient(135deg, #0c0c0c, #1c1914 50%, #0a0a0a); border: 1px solid rgba(200, 164, 90, .5); position: relative; overflow: hidden; }
.membership::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 220px; height: 220px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(200, 164, 90, .08) 0 1px, transparent 1px 5px); }
.membership h3 { margin: 0; font-family: var(--serif-en); font-weight: 400; font-size: 28px; color: var(--gold-hi); }
.membership ul { margin: 12px 0 0; padding-left: 18px; color: var(--ivory); font-size: 13px; line-height: 1.9; }

.workspace-kpi { margin: 12px 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { padding: 12px; border-radius: 14px; background: var(--vinyl); border: var(--hair-dim); text-align: left; }
.kpi b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: 26px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12px; color: var(--smoke); }

.rec-btn { width: 84px; height: 84px; margin: 10px auto; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #d4473c 55%, rgba(212, 71, 60, .2) 56%); box-shadow: 0 0 0 1px rgba(212, 71, 60, .5); color: #fff; }
.rec-btn.on { animation: ringPulse 1.2s infinite; }
.rec-btn svg { width: 30px; height: 30px; }

.sop-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 18px; border-bottom: var(--hair-dim); width: 100%; text-align: left; }
.sop-item .tm { width: 82px; flex: none; font-family: var(--serif-en); color: var(--gold-hi); font-size: 13px; font-variant-numeric: tabular-nums; }
.sop-item b { font-size: 13.5px; font-weight: 600; }
.sop-item p { margin: 3px 0 0; font-size: 12px; color: var(--smoke); line-height: 1.6; }
.sop-item .check { margin-left: auto; }

/* 扫一扫 */
.scanner { position: absolute; inset: 0; background: #000; }
.scanner .media { position: absolute; inset: 0; opacity: .35; filter: blur(3px); }
.scanner .frame { position: absolute; left: 50%; top: 40%; width: 240px; height: 240px; transform: translate(-50%, -50%); }
.scanner .frame i { position: absolute; width: 30px; height: 30px; border-color: var(--gold-hi); border-style: solid; }
.scanner .frame i:nth-child(1) { top: 0; left: 0; border-width: 3px 0 0 3px; }
.scanner .frame i:nth-child(2) { top: 0; right: 0; border-width: 3px 3px 0 0; }
.scanner .frame i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 3px 3px; }
.scanner .frame i:nth-child(4) { bottom: 0; right: 0; border-width: 0 3px 3px 0; }
.scanner .line { position: absolute; left: 10px; right: 10px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); box-shadow: 0 0 12px var(--gold); animation: scanline 2.2s ease-in-out infinite; }
.scanner .acts { position: absolute; left: 18px; right: 18px; bottom: 60px; display: grid; gap: 10px; }

@keyframes scanline { 0% { top: 10px; } 50% { top: 226px; } 100% { top: 10px; } }

/* ================= HUD 大屏 / 导播台（舞台外层） ================= */
.hud-overlay { position: fixed; inset: 0; z-index: 500; background: rgba(0, 0, 0, .88); display: grid; place-items: center; animation: fadeIn .25s; padding: 24px; }
.hud-wrap { width: min(1100px, 100%); }
.hud-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 10px; border: 1px solid rgba(200, 164, 90, .45); background: #000; }
.hud-frame .media { position: absolute; inset: 0; }
.hud-frame .media img { filter: brightness(.75); }
.hud-patch { position: absolute; top: 3%; left: 2.4%; display: flex; align-items: stretch; font-size: clamp(10px, 1.25vw, 15px); border-radius: 6px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.hud-patch .live { background: #c0392b; color: #fff; padding: .4em .8em; font-family: var(--serif-en); letter-spacing: .08em; }
.hud-patch .brand { background: var(--leaf); color: #1a1408; padding: .4em .8em; font-family: var(--serif-en); }
.hud-patch .now { background: rgba(10, 9, 8, .82); padding: .4em 1em; color: var(--ivory); }
.hud-patch .now small { color: var(--gold-hi); margin-left: .6em; }
.hud-top5 { position: absolute; left: 2.4%; top: 16%; width: 27%; }
.hud-top5 .it-row { position: absolute; left: 0; right: 0; height: 13%; display: grid; grid-template-columns: 2.2em 1fr auto; align-items: center; gap: .6em; padding: 0 .8em; border-radius: 6px; background: rgba(10, 9, 8, .78); border: 1px solid rgba(200, 164, 90, .35); font-size: clamp(9px, 1.15vw, 14px); transition: transform .4s ease; }
.hud-top5 { height: 62%; }
.hud-top5 .it-row .r { font-family: var(--serif-en); font-size: 1.6em; color: var(--gold-hi); }
.hud-top5 .it-row .s { font-variant-numeric: tabular-nums; color: var(--gold-hi); }
.hud-pk { position: absolute; left: 22%; right: 22%; bottom: 7%; display: none; }
.hud-pk.on { display: block; }
.hud-pk .names { display: flex; justify-content: space-between; font-size: clamp(10px, 1.2vw, 15px); font-weight: 700; margin-bottom: .4em; text-shadow: 0 2px 6px #000; }
.hud-pk .pk-track { height: clamp(12px, 1.6vw, 22px); }
.hud-banner { position: absolute; top: 12%; left: 30%; right: 30%; text-align: center; padding: .7em 1em; border-radius: 8px; background: var(--leaf); color: #1a1408; font-weight: 800; font-size: clamp(11px, 1.3vw, 17px); animation: drop .5s cubic-bezier(.22, 1, .36, 1); }
.hud-crown { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, rgba(0, 0, 0, .3), rgba(0, 0, 0, .75)); animation: fadeIn .4s; }
.hud-crown b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: clamp(24px, 4.5vw, 60px); color: var(--gold-hi); }
.hud-crown span { display: block; font-size: clamp(11px, 1.4vw, 18px); color: var(--ivory); margin-top: .4em; }
.director { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.director .lbl { color: var(--smoke); font-size: 12px; margin-right: 6px; }
.director .select { width: auto; height: 34px; padding: 0 10px; border-radius: 999px; }
.director .btn { height: 34px; }

/* ================= 补充：主舱 / 房间 / 卡册 ================= */
.rail-btn.vinyl .disc .media { position: relative; width: 22px; height: 22px; border-radius: 50%; }
.rail-btn.vinyl .disc .media svg { width: 100%; height: 100%; }
.media.thumb48 { width: 48px; height: 48px; border-radius: 8px; flex: none; }

.cabin-list { position: relative; z-index: 3; margin: 12px 18px 0; border-radius: 16px; overflow: hidden; background: rgba(12, 11, 10, .62); backdrop-filter: blur(10px); border: var(--hair-dim); }
.cabin-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; }
.cabin-list button + button { border-top: var(--hair-dim); }
.cabin-list button > svg { width: 20px; height: 20px; color: var(--gold-hi); flex: none; }
.cabin-list button > svg:last-child { width: 16px; height: 16px; color: var(--ash); }
.cabin-list .t { flex: 1; min-width: 0; }
.cabin-list .t b { display: block; font-size: 14px; font-weight: 600; }
.cabin-list .t span { display: block; font-size: 12px; color: var(--smoke); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.objective.plaque { padding: 14px; }

.udot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #d9534f; margin-left: 6px; vertical-align: 3px; }

.composer .cnt { position: absolute; right: 78px; top: -18px; font-size: 11px; color: var(--ash); font-variant-numeric: tabular-nums; }
.composer .input { flex: 1; min-width: 0; }

.sticker.word { font-family: var(--serif-zh); font-size: 15px; color: var(--gold-hi); border: 1px solid rgba(200, 164, 90, .3); background: rgba(200, 164, 90, .06); }
.sticker.word.on { background: var(--accent-soft); border-color: var(--gold); }
.m .bub.stk { font-family: var(--serif-zh); font-size: 16px; color: var(--gold-hi); background: transparent; border: 1px solid rgba(200, 164, 90, .45); border-radius: 999px; padding: 6px 16px; }

.mcard.locked { border-style: dashed; opacity: .55; }
.mcard.locked::after { display: none; }
.mcard .lbl span { display: block; }

/* ================= 补充：Studio ================= */
.st-step { background: none; }
.st-brief { position: relative; display: flex; align-items: center; gap: 12px; margin: 14px 14px 0; padding: 10px 6px 10px 12px; border-radius: 14px; background: rgba(165, 150, 238, .08); border: 1px solid rgba(165, 150, 238, .28); }
.st-brief .media, .st-brief .avatar { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.st-brief .avatar { border-radius: 50%; }
.st-brief b { display: block; font-size: 13.5px; }
.st-brief span span, .st-brief .grow > span { display: block; font-size: 11.5px; color: var(--smoke); }
.st-brief .icon-btn { width: 34px; height: 34px; }
.st-brief .icon-btn svg { width: 16px; height: 16px; }

.src-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(160, 150, 220, .18); font-size: 13px; }
.src-row svg { width: 18px; height: 18px; color: #c9c0ff; flex: none; }

.st-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.st-acts .btn { height: 40px; padding: 0 6px; font-size: 13px; }

.demo-card.picked { border-color: rgba(200, 164, 90, .55); }
.demo-card .icon-btn svg { color: var(--gold-hi); }

.lyrics-mini { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: var(--hair-dim); font-family: var(--serif-zh); font-size: 13.5px; line-height: 1.9; max-height: 150px; overflow: auto; scrollbar-width: none; }
.lyrics-mini p { margin: 0; }

.draft { position: relative; flex: none; width: 120px; text-align: left; }
.draft .tag { position: absolute; top: 6px; left: 6px; z-index: 2; }
.draft b { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draft small { display: block; font-size: 11px; color: var(--smoke); }

.mv-box .mv-play { position: absolute; left: 50%; top: 50%; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .45); border: 1px solid rgba(235, 221, 184, .6); color: var(--gold-hi); backdrop-filter: blur(6px); transition: opacity .3s; }
.mv-box .mv-play svg { width: 22px; height: 22px; }
.mv-box.playing .mv-play { opacity: .35; }
.mv-box.playing .media img { animation-duration: 5s; }
.mv-box.playing .neon { animation: rim 1.2s ease-in-out infinite alternate; }

/* ================= 补充：Producer ================= */
.pro-stats button { text-align: left; }
.wallet-plaque .cell b { display: block; }
.kpi .spark { display: block; width: 100%; height: 40px; margin-top: 6px; }
.faq details { border-bottom: var(--hair-dim); padding: 0 18px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; font-size: 14.5px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 16px; height: 16px; color: var(--ash); flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0 0 14px; color: var(--smoke); font-size: 13px; line-height: 1.8; }
.sop-item .grow { flex: 1; min-width: 0; }
.st-head > div:first-child { min-width: 0; }
.st-wallet { white-space: nowrap; flex: none; padding-left: 12px; }

/* 修正：列表标题里的小标签保持行内；房间视图切换条加底色 */
.li .t b .tag, .li .t b .pill { display: inline-block; vertical-align: 1px; margin-left: 6px; font-size: 10.5px; font-weight: 400; }
.li .t .tag.gold { color: var(--gold-hi); }
.li .t .tag.green { color: #a5dcb4; }
.room-views { left: 0; right: 0; top: calc(var(--status-h) + 46px); padding: 6px 14px 12px; background: linear-gradient(180deg, rgba(5, 5, 5, .96) 62%, rgba(5, 5, 5, 0)); }
.room.radio .room-views { background: linear-gradient(180deg, rgba(20, 14, 8, .96) 62%, rgba(20, 14, 8, 0)); }

/* 非沉浸页滚动时，状态栏下方加一层渐隐，保证时间和信号可读 */
#tab-fandom::before, #tab-studio::before, #tab-producer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: calc(var(--status-h) + 8px); z-index: 25; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, .94) 55%, rgba(5, 5, 5, 0));
}
.call .demo-note { padding: 0 30px; line-height: 1.6; }
.room .head { background: linear-gradient(180deg, #050505 88%, rgba(5, 5, 5, .9)); }
.room .room-views { background: linear-gradient(180deg, #050505 70%, rgba(5, 5, 5, 0)); }
.room.radio .head { background: linear-gradient(180deg, #120c07 88%, rgba(18, 12, 7, .9)); }
.room.radio .room-views { background: linear-gradient(180deg, #120c07 70%, rgba(18, 12, 7, 0)); }
.btn-dark > svg { width: 26px; height: 26px; color: var(--gold-hi); }
