* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%; overflow: hidden;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #fff;
  background: radial-gradient(ellipse at 50% 40%, #c9c6f7 0%, #aaa6ea 55%, #8f8bd9 100%);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- 品牌 ---------- */
.brand { position: fixed; top: 26px; left: 28px; z-index: 5; }
.brand h1 {
  font-size: 19px; font-weight: 600; letter-spacing: .2px;
  text-shadow: 0 1px 8px rgba(60, 40, 140, .25);
}
.drive-btn {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; vertical-align: top;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  font: inherit; font-size: 15px; color: #fff; cursor: pointer;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.drive-btn svg { width: 22px; height: 22px; }
.drive-btn:hover { background: rgba(255, 255, 255, .22); transform: translateY(-1px); }
.drive-btn.active { background: #ff5fa8; border-color: #ff8cc3; box-shadow: 0 6px 20px rgba(255, 95, 168, .45); }

/* ---------- 右上角导航 ---------- */
/* 导航本身不接点击，只有按钮接：折成两行时空出来的那块不会挡住旁边的按钮和场景 */
.zone-nav { position: fixed; top: 24px; right: 26px; z-index: 5; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 60vw; pointer-events: none; }
.zone-nav button {
  pointer-events: auto;
  font: inherit; font-size: 13px; color: #fff; cursor: pointer;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); transition: background .2s;
}
.zone-nav button:hover { background: rgba(255, 255, 255, .26); }
.zone-nav button::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 7px; vertical-align: 1px; background: var(--c, #fff);
}

.orb-counter {
  position: fixed; top: 66px; right: 26px; z-index: 5;
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; background: rgba(60, 40, 140, .22);
  opacity: 0; transition: opacity .4s;
}
.orb-counter.show { opacity: 1; }
.orb-counter i {
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #e28bff 45%, #a64dff);
  box-shadow: 0 0 10px #d77bff;
}
.orb-counter.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.18); } }

/* ---------- 底部提示 ---------- */
.hint {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 5; /* 下面留给页脚 */
  font-size: 13px; padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  background: rgba(40, 28, 100, .28); backdrop-filter: blur(6px);
  transition: opacity .4s;
}
.hint kbd {
  display: inline-block; min-width: 20px; padding: 0 5px; margin: 0 2px;
  font: 600 11px/18px inherit; text-align: center;
  border-radius: 4px; background: rgba(255, 255, 255, .2);
}

.prompt {
  position: fixed; left: 50%; bottom: 76px; z-index: 6;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 11px 20px; border-radius: 14px; font-size: 15px; font-weight: 600;
  background: #fff; color: #3a2a7a; box-shadow: 0 12px 30px rgba(50, 30, 120, .3);
  transition: opacity .25s, transform .25s; cursor: pointer; white-space: nowrap;
}
.prompt.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.prompt b { color: var(--c, #ff5fa8); }
.prompt kbd {
  display: inline-block; padding: 0 6px; margin-left: 6px; font: 600 12px/20px inherit;
  border-radius: 5px; background: #efeaff; color: #6b54d6;
}

.toast {
  position: fixed; left: 50%; top: 90px; z-index: 9; transform: translate(-50%, -10px);
  padding: 10px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  width: max-content; max-width: min(520px, calc(100vw - 32px)); text-align: center; white-space: pre-line; /* 窄屏上不会被挤成半屏宽，文字里的 \n 换行 */
  background: rgba(255, 255, 255, .95); color: #6b3fd6; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 页脚：公司名、AI 生成声明、备案号（首页底部正中） ---------- */
.site-foot {
  position: fixed; left: 50%; bottom: 8px; z-index: 4; transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 24px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px;
  font-size: 11px; line-height: 16px; color: rgba(255, 255, 255, .72);
  text-shadow: 0 1px 4px rgba(40, 20, 110, .35);
  pointer-events: none; /* 只有备案号链接接点击，其余地方不挡场景 */
}
.site-foot a { color: inherit; text-decoration: none; pointer-events: auto; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
/* 手机上开车时底部是方向键、进房间时底部是信息卡，这两种时候先收起来；小岛首页上一直显示 */
body.driving.is-touch .site-foot, body.in-room .site-foot { display: none; }
/* 加上备案号以后，窄屏上页脚会折成两行，提示条跟着往上让 */
@media (max-width: 720px) { body:has(.site-foot a) .hint { bottom: 50px; } }

/* ---------- 触控 ---------- */
.touch { display: none; }
body.driving.is-touch .touch {
  display: flex; justify-content: space-between; align-items: flex-end;
  position: fixed; left: 0; right: 0; bottom: 18px; padding: 0 18px; z-index: 6; pointer-events: none;
}
.touch div { display: flex; gap: 12px; pointer-events: auto; }
.touch-right { flex-direction: row; align-items: flex-end; }
.touch button {
  width: 62px; height: 62px; border-radius: 50%; font-size: 20px; color: #fff;
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px); touch-action: none;
}
.touch button.on { background: rgba(255, 95, 168, .6); }
.touch .touch-enter { font-size: 14px; background: rgba(255, 95, 168, .45); visibility: hidden; }
.touch .touch-enter.show { visibility: visible; }
body.is-touch.driving .hint { display: none; }
body.is-touch .prompt { bottom: 100px; }

/* ---------- 面板 ---------- */
.panel-wrap {
  position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(45, 30, 110, .28); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.panel-wrap.open { opacity: 1; pointer-events: auto; }
.panel {
  position: relative; width: min(760px, 100%); max-height: min(82vh, 780px); overflow-y: auto;
  padding: 40px 40px 36px; border-radius: 26px; color: #2b2250; user-select: text;
  background: rgba(255, 255, 255, .94); box-shadow: 0 30px 80px rgba(40, 20, 110, .35);
  transform: translateY(24px) scale(.97); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
.panel-wrap.open .panel { transform: none; }
.panel-close {
  position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; font-size: 24px; line-height: 38px; color: #6b5ca8; background: #f1edff; cursor: pointer;
}
.panel-close:hover { background: #e4ddff; }
.panel-accent { width: 44px; height: 6px; border-radius: 3px; background: var(--c); margin-bottom: 18px; }
.panel h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.5px; }
.panel .sub { margin-top: 6px; font-size: 15px; color: #8a7fb8; font-weight: 500; }
.panel .intro { margin-top: 18px; font-size: 16px; line-height: 1.75; color: #4a4170; }
.cards { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.card {
  display: block; text-decoration: none; color: inherit; border-radius: 16px; overflow: hidden;
  background: #f6f3ff; border: 1px solid #ece6ff; transition: transform .2s, box-shadow .2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(90, 60, 180, .16); }
.card-cover {
  aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--c), #9d8cff); background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .8); font-size: 26px;
}
.card-body { padding: 12px 14px 14px; }
.card-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--c); }
.card h3 { margin-top: 8px; font-size: 16px; }
.card p { margin-top: 4px; font-size: 13px; line-height: 1.6; color: #6f6694; }
.links { margin-top: 24px; display: grid; gap: 10px; }
.link-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px; background: #f3fbfd; border: 1px solid #d9f2f7;
  text-decoration: none; color: inherit; transition: background .2s;
}
a.link-row:hover, .link-row[data-act]:hover { background: #e3f7fb; }
.link-row[data-act] { cursor: pointer; }
.link-row span { font-size: 13px; font-weight: 700; color: #1c9fb8; }
.link-row b { font-size: 15px; font-weight: 600; }

/* ---------- 房间模式 ---------- */
.iris {
  position: fixed; inset: 0; z-index: 30; pointer-events: none;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, .35), transparent 45%), var(--c, #9b6bff);
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
  transition: clip-path .34s cubic-bezier(.6, 0, .8, .4);
}
.iris.on { clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%)); pointer-events: auto; transition-timing-function: cubic-bezier(.4, 0, .9, .5); }
body.in-room .hint, body.in-room .drive-btn, body.in-room .orb-counter, body.in-room .prompt { display: none; }
body.in-room .touch { display: none !important; }

.room-ui { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: 0; transition: opacity .35s; }
.room-ui.open { opacity: 1; }
.room-ui.open > * { pointer-events: auto; }
.room-back {
  position: absolute; top: 61px; left: 28px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.room-back:hover { background: rgba(255, 255, 255, .28); transform: translateX(-2px); }
.room-card {
  position: absolute; right: 26px; top: 50%; width: min(380px, 34vw); max-height: calc(100vh - 170px); overflow-y: auto;
  padding: 26px 24px 22px; border-radius: 22px; color: #2b2250; user-select: text;
  background: rgba(255, 255, 255, .94); box-shadow: 0 24px 60px rgba(40, 20, 110, .3);
  transform: translate(0, -46%); transition: transform .45s cubic-bezier(.2, .9, .3, 1.1);
}
.room-ui.open .room-card { transform: translate(0, -50%); }
.room-card .panel-accent { margin-bottom: 14px; }
.room-card h2 { font-size: 30px; line-height: 1.1; letter-spacing: -.4px; }
.room-card .sub { margin-top: 5px; font-size: 14px; color: #8a7fb8; font-weight: 500; }
.room-card .intro { margin-top: 14px; font-size: 14px; line-height: 1.7; color: #4a4170; }
.room-item { margin-top: 18px; padding: 16px; border-radius: 16px; background: #f6f3ff; border: 1px solid #ece6ff; }
.room-item h3 { margin-top: 8px; font-size: 18px; line-height: 1.3; }
.room-item p { margin-top: 5px; font-size: 13px; line-height: 1.65; color: #6f6694; }
.room-actions { margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.room-play {
  padding: 8px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: var(--c);
  box-shadow: 0 6px 16px rgba(80, 40, 160, .22); transition: transform .15s;
}
.room-play:hover { transform: translateY(-1px) scale(1.03); }
.room-count { margin-left: auto; font-size: 13px; font-weight: 600; color: #8a7fb8; }
.room-arrow {
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font: inherit; font-size: 20px; line-height: 28px; color: #6b5ca8; background: #fff; border: 1px solid #e4ddff;
}
.room-arrow:hover { background: #f1edff; }
.room-list { margin-top: 12px; list-style: none; display: grid; gap: 4px; counter-reset: n; }
.room-list button {
  width: 100%; padding: 9px 12px; border: 0; border-radius: 12px; cursor: pointer; text-align: left;
  font: inherit; font-size: 14px; color: #4a4170; background: transparent; transition: background .15s;
}
.room-list button::before { counter-increment: n; content: counter(n, decimal-leading-zero); margin-right: 10px; font-weight: 700; opacity: .45; }
.room-list button:hover { background: #f3efff; }
.room-list button.on { background: #f1ecff; color: var(--c); font-weight: 700; }

.player {
  --ph: 190px; /* 视频框上下要留给标题、选集的高度 */
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 58px 16px 22px; background: rgba(20, 12, 50, .8); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.player.open { opacity: 1; pointer-events: auto; }
.player-box { position: relative; flex: none; width: min(1100px, 92vw, calc((100vh - var(--ph)) * 16 / 9)); aspect-ratio: 16 / 9; }
.player-box.portrait { width: min(92vw, calc((100vh - var(--ph)) * 9 / 16)); aspect-ratio: 9 / 16; }
.player-box.douyin { width: var(--douyin-width, 324px); height: var(--douyin-height, 672px); aspect-ratio: auto; }
.player-box.pics { width: min(1200px, 94vw); flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.player-body, .player-body iframe, .player-body video { width: 100%; height: 100%; display: block; border: 0; border-radius: 14px; background: #000; }
.player-box.douyin .player-body { overflow: hidden; }
.player-box.douyin iframe { width: 324px; height: 672px; transform: scale(var(--douyin-scale, 1)); transform-origin: top left; }
.player-box.pics .player-body { background: none; }
.player-miss { height: 100%; display: grid; place-items: center; font-size: 15px; color: rgba(255, 255, 255, .8); }
.player-miss a { color: #ff9ad5; }
.pics-stage { width: 100%; height: 100%; display: flex; overflow: auto; overscroll-behavior: contain; }
.pics-stage img { flex: none; margin: auto; display: block; border-radius: 10px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); cursor: zoom-in; }
.pics-stage.zoom img { border-radius: 0; cursor: zoom-out; }
.player-cap { max-width: min(1100px, 100%); text-align: center; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.player-cap b { margin-right: 10px; font-size: 16px; color: #fff; }
.player-cap em { margin-left: 10px; font-style: normal; opacity: .6; }
.player-close {
  position: absolute; top: 14px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 0; font-size: 26px; line-height: 40px; color: #fff; background: rgba(255, 255, 255, .18);
}
.player-close:hover { background: rgba(255, 255, 255, .3); }
.player-nav {
  display: none; position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; cursor: pointer;
  border: 0; font-size: 28px; line-height: 40px; color: #fff; background: rgba(30, 18, 70, .55); backdrop-filter: blur(4px);
}
.player-nav:hover { background: rgba(255, 95, 168, .8); }
.player-nav[data-nav="-1"] { left: 10px; }
.player-nav[data-nav="1"] { right: 10px; }
.player.multi .player-nav { display: block; }
.player-eps { flex: none; display: flex; gap: 8px; max-width: min(1100px, 100%); overflow-x: auto; padding-bottom: 2px; } /* flex: none：屏幕矮时别被压扁把按钮裁掉 */
.player-eps:empty { display: none; }
.player-eps > :first-child { margin-left: auto; }
.player-eps > :last-child { margin-right: auto; }
.player-eps button {
  flex: none; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer;
  padding: 6px 14px 6px 7px; border-radius: 999px; font: inherit; font-size: 13px; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); transition: background .2s;
}
.player-eps button:hover { background: rgba(255, 255, 255, .26); }
.player-eps button.on { background: #ff5fa8; border-color: #ff8cc3; }
.player-eps i {
  display: inline-block; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%;
  font-style: normal; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; background: rgba(255, 255, 255, .22);
}

/* ---------- 作品标签、二维码、奖状、跳转按钮 ---------- */
.card-meta { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: #6b5ca8; background: #ebe5ff; }
/* 「AI 生成」：浅色信息卡上用深色小胶囊，一眼能看到；播放器里跟在标题后面 */
.card-ai { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: #fff; background: #2b2250; }
.card p.item-note, .room-item p.item-note { margin-top: 6px; font-size: 12px; line-height: 1.5; color: #9a90c4; }
.player-cap .ai-mark {
  display: inline-block; margin-right: 10px; padding: 1px 8px; border-radius: 999px; vertical-align: 1px;
  font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .4);
}
.player-cap small { display: block; font-size: 12px; opacity: .75; }
.card[data-act] { cursor: pointer; }
.card[data-act]:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(90, 60, 180, .16); }
.card-cover.tall { background-size: contain; background-repeat: no-repeat; background-color: #2a2150; }
.link-row b { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.link-row small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; line-height: 1.4; color: #7aa9b4; }
.qr-card { margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: #f3fbfd; border: 1px solid #d9f2f7; }
.qr-card img { flex: none; width: 92px; height: 92px; border-radius: 10px; background: #fff; }
.qr-card b { display: block; font-size: 15px; }
.qr-card span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.5; color: #6f8f99; }
.award-row {
  margin-top: 12px; width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; cursor: pointer;
  font: inherit; text-align: left; color: inherit; background: #fff8e8; border: 1px solid #f3e2b8; transition: background .2s;
}
.award-row:hover { background: #fff1d1; }
.award-row img { flex: none; width: 64px; height: 45px; object-fit: cover; border-radius: 5px; border: 2px solid #d4a64a; }
.award-row span { font-size: 13px; font-weight: 600; line-height: 1.45; }
.award-row small { display: block; font-size: 11px; font-weight: 700; color: #b8862a; }
.cta-btn {
  margin-top: 16px; width: 100%; padding: 11px 16px; border: 0; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: var(--c, #3fc1d6);
  box-shadow: 0 8px 20px rgba(40, 100, 180, .22); transition: transform .15s;
}
.cta-btn:hover { transform: translateY(-1px); }

/* ---------- 加载 ---------- */
.loader {
  position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(160deg, #c9c6f7, #9d98e6); transition: opacity .6s;
}
.loader.hide { opacity: 0; pointer-events: none; }
.loader p { font-size: 14px; letter-spacing: .5px; opacity: .85; }
.loader-car { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .3); border-top-color: #ff5fa8; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .brand { top: 16px; left: 16px; }
  .zone-nav { top: 16px; right: 12px; max-width: 52vw; }
  .zone-nav button { font-size: 12px; padding: 5px 9px; }
  .orb-counter { top: 88px; right: 12px; }
  .panel { padding: 30px 22px 24px; border-radius: 20px; }
  .panel h2 { font-size: 30px; }
  .room-back { top: 51px; left: 16px; }
  .room-card {
    top: auto; right: 12px; left: 12px; bottom: 12px; width: auto; max-height: 44vh;
    padding: 18px 18px 14px; border-radius: 18px; transform: translateY(20px);
  }
  .room-ui.open .room-card { transform: none; }
  .room-card h2 { font-size: 24px; }
  .room-item { margin-top: 12px; padding: 12px; }
}
/* 竖屏手机：右上角放不下导航（会压到声音按钮），挪到 Drive 那排按钮下面，固定排成 3 + 2 两行，左边跟品牌名对齐 */
@media (max-width: 480px) {
  .zone-nav { top: 97px; left: 16px; right: auto; max-width: none; justify-content: flex-start; row-gap: 3px; }
  .zone-nav::after { content: ""; order: 1; flex-basis: 100%; } /* 占满一行的空元素 = 换行；它自己那行没有高度，所以行距减半 */
  .zone-nav button:nth-child(n+4) { order: 2; }
  .orb-counter { top: 55px; right: 16px; }
  .toast { top: 172px; }
}
/* 横屏手机：屏幕很矮，信息卡从导航下面一直铺到底，内容排得紧凑些 */
@media (max-height: 500px) and (min-width: 721px) {
  .room-card { top: 70px; bottom: 12px; max-height: none; padding: 16px 18px 14px; transform: translateY(12px); }
  .room-ui.open .room-card { transform: none; }
  .room-card .panel-accent { margin-bottom: 8px; }
  .room-card h2 { font-size: 22px; }
  .room-item { margin-top: 10px; padding: 12px; }
}
@media (max-height: 500px) {
  .player { --ph: 132px; padding: 46px 12px 10px; gap: 8px; } /* 132 = 上边距 46 + 标题 24 + 两个间隔 16 + 选集 36 + 下边距 10 */
  .player-close { top: 4px; right: 8px; }
}

/* ---------- 新手引导 / 彩带特效 ---------- */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 7; pointer-events: none; }
.guide-btn, .sound-btn { margin-left: 8px; padding-right: 13px; }
.sound-btn.muted { opacity: .72; }
.guide-btn b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; background: rgba(255, 255, 255, .25); }
.guide { position: fixed; inset: 0; z-index: 45; opacity: 0; pointer-events: none; transition: opacity .35s; }
.guide.open { opacity: 1; pointer-events: auto; }
.guide-spot { position: absolute; pointer-events: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 0 26px 8px rgba(255, 120, 200, .55), 0 0 0 200vmax rgba(26, 14, 72, .55); }
.guide-spot::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid #ff9ad5; animation: guidePulse 1.6s ease-out infinite; }
@keyframes guidePulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.22); opacity: 0; } }
.guide.free .guide-spot { box-shadow: 0 0 0 200vmax rgba(26, 14, 72, .55); }
.guide.free .guide-spot::after { display: none; }
.guide-card { position: absolute; left: 50%; top: 50%; width: min(360px, calc(100vw - 28px)); padding: 22px 22px 16px; border-radius: 22px; color: #2b2250; cursor: default; background: #fff; box-shadow: 0 24px 60px rgba(30, 16, 90, .4); }
.guide-in { animation: guideIn .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes guideIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.guide-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, #ffe1f0, #e9ddff); }
.guide-card h3 { margin-top: 12px; font-size: 19px; line-height: 1.3; }
.guide-card p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: #5a5080; }
.guide-card p b { color: #e2489a; }
.guide-card kbd { display: inline-block; min-width: 20px; padding: 0 5px; margin: 0 1px; text-align: center; font-family: inherit; font-size: 12px; font-weight: 700; line-height: 20px; border-radius: 5px; background: #f1edff; color: #6b54d6; }
.guide-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.guide-skip { border: 0; background: none; font: inherit; font-size: 13px; color: #9a90c0; cursor: pointer; padding: 8px 4px; }
.guide-skip:hover { color: #6b5ca8; }
.guide-dots { display: flex; gap: 6px; }
.guide-dots i { width: 7px; height: 7px; border-radius: 4px; background: #e2dcf5; transition: width .25s, background .25s; }
.guide-dots i.on { width: 20px; background: #ff5fa8; }
.guide-next { padding: 9px 18px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: #ff5fa8; box-shadow: 0 6px 16px rgba(255, 95, 168, .35); transition: transform .15s; }
.guide-next:hover { transform: translateY(-1px) scale(1.03); }
@media (max-width: 720px) { .guide-btn span, .sound-btn span { display: none; } .guide-btn, .sound-btn { padding: 6px; } }
