/* ==========================================================================
   黄果短剧 · 手机版样式
   --------------------------------------------------------------------------
   深底 #0e0e0e + 品牌金 #ffc53d；所有尺寸按 390px 宽设计，靠 vw / min() 适配。
   ========================================================================== */
:root{
  --bg:#0e0e0e;
  --bg1:#151515;
  --bg2:#1c1c1f;
  --fg:#f2f2f5;
  --fg2:#a8a8b3;
  --fg3:#6e6e7a;
  --gold:#ffc53d;
  --gold2:#ffdd8f;
  --line:rgba(255,255,255,.08);
  --line2:rgba(255,255,255,.14);
  --tab-h:52px;
  --safe-b:env(safe-area-inset-bottom,0px);
  --safe-t:env(safe-area-inset-top,0px);
  /* ---- 线上 live.css :root 真值（首页轮照抄引入，段落里直接引用这些变量） ---- */
  --nav-h:52px;
  --watch-h:46px;
  --watch-prog-h:40px;
  --watch-gap:8px;
  --text:#f6f5f1;
  --text-2:#c6c5bf;
  --text-3:#8c8b86;
  --brand:#ffd21f;
  --brand-soft:#ffe066;
  --brand-wash:rgba(255,210,31,.13);
  --brand-ink:#1c1500;
  --glass-a:rgba(22,22,23,.62);
  --glass-b:rgba(14,14,14,.9);
  --glass-blur:blur(22px) saturate(170%);
  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
img,video{-webkit-user-drag:none;user-select:none}
html,body{
  margin:0;padding:0;height:100%;background:#000;color:var(--text);
  font-family:'HarmonyOS Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,-apple-system,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased;overscroll-behavior:none;
  -webkit-text-size-adjust:100%;text-size-adjust:100%;overflow:hidden;
}
button{font-family:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
input,textarea{font-family:inherit}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
svg{display:block}
::-webkit-scrollbar{width:0;height:0}

/* 线上 live.css 100-108：#app 是 fixed，文档被误滚时 tabbar 也不会位移 */
#app{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;overflow:hidden;background:var(--bg)}

/* ============================ 视图容器 ============================ */
.view{position:absolute;inset:0;display:none}
.view.on{display:block}
.view-home{background:#000}
.view-scroll{
  overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  padding-bottom:calc(var(--tab-h) + var(--safe-b) + 14px);
}
.list-state{padding:18px 0 26px;text-align:center;font-size:12px;color:#8c8b86;display:flex;flex-direction:column;align-items:center;gap:10px}
.list-state:empty{display:none}
.st-ico{flex:none;width:58px;height:58px;color:#8a8a8a}
.st-ico.st-spin{width:44px;height:44px;color:#ffd21f;transform-origin:50% 50%;animation:st-roll 1.2s linear infinite}
.st-ico path{fill:currentColor}
.st-text{font-size:12px;line-height:1.6;color:#8c8b86}
@keyframes st-roll{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.st-spin{animation-duration:3s}}

/* ==================== 首页 · 竖滑流（逐条照抄 live.css 151-1094 / swipe-tip / gate 真值） ==================== */
.home-stage{position:absolute;inset:0;overflow:hidden;transform-origin:50% 50%;backface-visibility:hidden;z-index:1}

/* 跟手拖拽的邻居卡：铺满整屏、默认隐藏；JS 拖动时把相邻那一部的大封面填进来并从对侧平移露出（z-index:0 在当前屏之下） */
#drag-card{position:absolute;inset:0;z-index:0;background:#000 center/cover no-repeat;opacity:0;pointer-events:none;will-change:transform}

/* 下一条预告卡：线上用 transform+display；我们 JS 走内联 opacity 驱动，故基础态用 opacity:0 承接 */
.slide-ghost{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#0a0a0a;opacity:0;transition:opacity .22s ease}
.slide-ghost.on{opacity:1}
.slide-ghost::after{content:'';position:absolute;left:0;right:0;bottom:0;height:64px;z-index:1;pointer-events:none;background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,0))}
.sg-bg{position:absolute;inset:-8%;z-index:0;background:#000 center/cover no-repeat;filter:blur(22px) brightness(.5) saturate(1.15)}
.sg-pic{position:absolute;left:50%;top:96px;width:72%;aspect-ratio:3/4;transform:translateX(-50%);z-index:1;border-radius:12px;background:#141414 center/cover no-repeat;box-shadow:0 14px 40px rgba(0,0,0,.55)}
.sg-meta{position:absolute;left:0;right:0;top:0;z-index:3;padding:60px 74px 0 12px;box-sizing:border-box;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.74) 0,rgba(0,0,0,.38) 82px,rgba(0,0,0,0) 132px)}
.sg-title{margin:0;font-size:19px;line-height:25px;font-weight:700;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.sg-remark{margin-top:7px;font-size:13px;line-height:18px;color:#ededed}

.player{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;background:transparent;z-index:1;transform:translateZ(0);will-change:transform}
.player.fit-contain{object-fit:contain}
/* 首页待机封面：原图清晰铺满整屏（center/cover 不裁变形、不模糊、不压暗），
   开始播放后 JS 去掉 .on 隐藏它，不影响视频画面 */
.player-bg{position:absolute;inset:0;z-index:0;background:#000 center/cover no-repeat;opacity:0;transition:opacity .28s ease;pointer-events:none}
.player-bg.on{opacity:1}
.player-shade{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.22) 0%,rgba(0,0,0,0) 20%),linear-gradient(0deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.22) 22%,rgba(0,0,0,0) 42%)}

.boot-play{position:absolute;z-index:6;left:50%;top:50%;width:62px;height:62px;margin:-31px 0 0 -31px;border-radius:50%;background:rgba(0,0,0,.45);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;transition:opacity .18s ease}
.boot-play svg{width:30px;height:30px;fill:#fff;margin-left:3px}
.boot-play.hide{opacity:0;pointer-events:none}

/* 右侧互动栏（线上 412-441）：描边图标，选中态黄字黄形 */
.rail{position:absolute;z-index:5;right:6px;bottom:calc(var(--nav-h) + var(--safe-b) + var(--watch-gap) + var(--watch-h) + var(--watch-prog-h) + 66px);display:flex;flex-direction:column;gap:16px;align-items:center}
.rail-btn{width:46px;display:flex;flex-direction:column;align-items:center;gap:3px;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.55)}
.rail-btn svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linejoin:round;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}
.rail-btn.on svg{fill:var(--brand);stroke:var(--brand)}
.rail-num{font-size:11px;color:#e6e6e6;line-height:14px}

/* 底部信息（线上 444-512） */
.meta{position:absolute;z-index:5;left:12px;right:74px;bottom:calc(var(--nav-h) + var(--safe-b) + var(--watch-gap) + var(--watch-h) + var(--watch-prog-h) + 18px);display:flex;flex-direction:column;gap:6px;transition:bottom .26s var(--ease)}
.meta-title{margin:0;font-size:17px;line-height:22px;font-weight:700;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.5);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.meta-tags{display:flex;gap:6px;flex-wrap:wrap}
.meta-tags span{font-size:11px;line-height:18px;padding:0 7px;border-radius:5px;background:rgba(255,255,255,.18);color:#fff}
.meta-line{margin:0;display:flex;align-items:baseline;gap:8px;font-size:12px;line-height:17px;color:#f0f0f0}
.meta-expand{font-size:12px;color:#fff;font-weight:500;flex:none}
.meta-synopsis{margin:0;font-size:12px;line-height:17px;color:#cfcfcf;display:none}
.meta.expanded .meta-synopsis,.meta.open .meta-synopsis{display:block}
.meta.collapsed{bottom:calc(var(--nav-h) + var(--safe-b) + var(--watch-gap) + var(--watch-prog-h) + 18px)}
.meta.nav-on{bottom:calc(var(--nav-h) + var(--safe-b) + var(--watch-gap) + var(--watch-h) + var(--watch-prog-h) + 18px)}

/* 观看完整短剧 + 控制行（线上 519-963） */
.watchbar{position:absolute;z-index:5;left:0;right:0;bottom:calc(var(--nav-h) + var(--safe-b));padding-bottom:var(--watch-gap);display:flex;flex-direction:column;pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.watchbar.hide{opacity:0;transform:translateY(10px)}
.watchbar.hide .watch-main,.watchbar.hide .ep-nav button,.watchbar.hide .watch-progress,.watchbar.hide .wc-btn,.watchbar.hide .wc-pop{pointer-events:none}
.watchbar.collapsed .watch-main{visibility:hidden;pointer-events:none}
.watchbar.nav-on .watch-main{display:none}

.ep-nav{flex:none;display:flex;align-items:center;gap:6px;width:100%;height:var(--watch-h);padding:0 12px;box-sizing:border-box;pointer-events:none}
.ep-nav[hidden]{display:none}
.ep-nav button{pointer-events:auto;flex:none;height:32px;padding:0 10px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:3px;font-size:12.5px;font-weight:600;color:#fff;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.ep-nav button:active{background:rgba(255,255,255,.24)}
.ep-nav button:disabled{opacity:.38}
.ep-nav button svg{width:13px;height:13px;fill:currentColor;flex:none}
.ep-nav .en-now{flex:1 1 auto;min-width:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:#fff;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-nav .en-next{background:var(--brand-wash);color:var(--brand);padding:0 12px}
.ep-nav .en-all{padding:0 9px}

.watch-ctl{position:relative;flex:none;display:flex;align-items:center;width:100%;height:var(--watch-prog-h);padding:0 4px;pointer-events:none}
.wc-btn{flex:none;width:40px;height:40px;padding:0;border:0;border-radius:8px;background:none;color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.86);pointer-events:none;transition:opacity .16s ease,transform .16s ease,background .16s ease}
.wc-btn svg{width:20px;height:20px;fill:currentColor}
.wc-btn:active{background:rgba(255,255,255,.14)}
.watch-ctl.on .wc-btn{opacity:1;transform:none;pointer-events:auto}
.wc-toggle{width:38px}
.wc-toggle svg{width:19px;height:19px}
.wc-ico-pause{display:none}
.watch-ctl.playing .wc-ico-play,#app.playing .wc-ico-play{display:none}
.watch-ctl.playing .wc-ico-pause,#app.playing .wc-ico-pause{display:block}
.wc-rate{width:52px;gap:3px}
.wc-rate-ring svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.wc-rate-txt{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.wc-vol-w,.wc-vol-x{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.wc-vol-x{display:none}
.wc-vol.mute .wc-vol-w{display:none}
.wc-vol.mute .wc-vol-x{display:block}

.watch-ctl .watch-progress{flex:1 1 auto;min-width:0;margin:0 6px}
.watch-ctl .watch-progress::before{height:3px;margin-top:-1.5px;border-radius:2px;background:rgba(255,255,255,.3);box-shadow:0 0 0 1px rgba(0,0,0,.26);transition:height .16s ease,margin-top .16s ease,background .16s ease}
.watch-ctl .watch-progress i{height:3px;border-radius:2px;background-image:none;background-color:#fff;animation:none;box-shadow:none;transition:height .16s ease}
.watch-ctl .watch-progress .watch-knob{width:13px;height:13px;margin:-6.5px 0 0 -6.5px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.55);opacity:0;transform:scale(.5)}
.watch-ctl.on .watch-progress::before{height:5px;margin-top:-2.5px;background:rgba(255,255,255,.36)}
.watch-ctl.on .watch-progress i{height:5px}
.watch-ctl.on .watch-progress .watch-knob{opacity:1;transform:scale(1)}
.watch-ctl .watch-progress.on::before{height:5px;margin-top:-2.5px;background:rgba(255,255,255,.4);box-shadow:0 0 0 1px rgba(0,0,0,.3)}
.watch-ctl .watch-progress.on i{height:5px}
.watch-ctl .watch-progress.on .watch-knob{opacity:1;transform:scale(1.18)}

.watch-main{flex:none;display:flex;align-items:center;gap:8px;width:100%;height:var(--watch-h);padding:0 14px;pointer-events:auto;border:0;background:rgba(255,255,255,.12);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;transition:background .16s ease}
.watch-main:active{background:rgba(255,255,255,.2)}
.watch-play{width:18px;height:18px;border-radius:4px;background:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.watch-play svg{width:12px;height:12px;fill:#111;margin-left:1px}
.watch-text{font-size:13px;font-weight:500}
.watch-chev{width:14px;height:14px;margin-left:auto;color:#fff}

.watch-progress{position:relative;flex:none;height:var(--watch-prog-h);margin:0 14px;pointer-events:auto;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}
.watch-progress::before{content:'';position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;border-radius:2px;background:rgba(255,255,255,.24);box-shadow:inset 0 1px 2px rgba(0,0,0,.45),0 0 0 1px rgba(0,0,0,.25);transition:height .18s ease,margin-top .18s ease,box-shadow .18s ease}
.watch-progress i{position:absolute;left:0;top:50%;display:block;height:4px;width:0;border-radius:2px;transform:translateY(-50%);pointer-events:none;background:#fff;transition:height .18s ease}
.watch-knob{position:absolute;left:0;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.55);opacity:0;transform:scale(.7);transition:opacity .16s ease,transform .16s ease;pointer-events:none}
@media (hover:hover) and (pointer:fine){
  .watch-ctl .watch-progress:hover::before{height:5px;margin-top:-2.5px;background:rgba(255,255,255,.36)}
  .watch-ctl .watch-progress:hover i{height:5px}
  .watch-ctl .watch-progress:hover .watch-knob{opacity:1;transform:scale(1)}
}

/* 弹层：倍速 / 音量 / 更多（线上 731-847） */
.wc-pop{position:absolute;z-index:9;bottom:calc(100% + 2px);pointer-events:auto;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(24,24,26,.96);box-shadow:0 12px 32px rgba(0,0,0,.55);backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%)}
.wc-pop[hidden]{display:none}
.wc-pop-rate{right:96px;width:108px;padding:6px 0;display:flex;flex-direction:column}
.wc-pop-rate button{height:40px;border:0;background:none;color:#fff;font-size:15px;font-variant-numeric:tabular-nums}
.wc-pop-rate button:active{background:rgba(255,255,255,.12)}
.wc-pop-rate button.on{color:#ffd21f;font-weight:700}
.wc-pop-vol{right:46px;width:62px;padding:10px 0 12px;display:flex;flex-direction:column;align-items:center;gap:10px}
.wc-vol-num{font-size:13px;color:#fff;font-variant-numeric:tabular-nums}
.wc-vol-track{position:relative;width:4px;height:118px;border-radius:2px;background:rgba(255,255,255,.26);touch-action:none}
.wc-vol-track::before{content:'';position:absolute;left:50%;top:0;bottom:0;width:44px;margin-left:-22px}
.wc-vol-track i{position:absolute;left:0;right:0;bottom:0;height:100%;border-radius:2px;background:#fff;pointer-events:none;transition:height .08s ease-out}
.wc-vol-track b{position:absolute;left:50%;bottom:100%;width:13px;height:13px;margin:0 0 -6.5px -6.5px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.55);pointer-events:none;transition:bottom .08s ease-out}
.wc-pop-vol.dragging .wc-vol-track i,.wc-pop-vol.dragging .wc-vol-track b{transition:none}
.wc-pop-more{right:2px;min-width:158px;padding:6px 0;display:flex;flex-direction:column}
.wc-pop-more button{height:44px;padding:0 16px;border:0;background:none;color:#fff;font-size:14px;text-align:left;white-space:nowrap}
.wc-pop-more button:active{background:rgba(255,255,255,.12)}
.wc-pop-more button[hidden]{display:none}
.wc-mask{position:absolute;inset:0;z-index:4;background:transparent}
.wc-mask[hidden]{display:none}

/* 顶栏：线上 326-353 */
.topbar{
  position:absolute;left:0;right:0;top:0;z-index:5;
  height:calc(var(--safe-t) + 50px);padding:calc(var(--safe-t) + 10px) 10px 6px;
  box-sizing:border-box;display:flex;align-items:center;gap:6px;
  background:linear-gradient(180deg, rgba(0,0,0,.48), rgba(0,0,0,.20) 60%, rgba(0,0,0,0));
}
.icon-btn{flex:none;width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:#fff}
.icon-btn svg{width:21px;height:21px;fill:none}
/* 线上 361-409：栏目是 34px 高、无底无圆角的纯文字行，靠 space-evenly 均分；
   gap 必须归零（space-evenly 本身就是间距来源），选中态是白字 + 贴合文字宽度的白色指示条。
   之前字挤在一起就是我这里留着 4px gap + 横向滚动、跟 space-evenly 叠坏了 */
.channels{
  flex:1 1 auto;min-width:0;height:34px;
  display:flex;align-items:center;justify-content:space-evenly;
  gap:0;overflow:hidden;padding:0 2px;
}
.channels button{
  position:relative;flex:0 1 auto;min-width:0;height:34px;line-height:34px;
  font-size:14px;color:#c4c4c4;font-weight:400;padding:0;
  white-space:nowrap;overflow:hidden;transition:color .2s ease;
}
.channels button.on{color:#fff;font-weight:700}
.channels button.on::after{
  content:"";position:absolute;left:0;right:0;bottom:2px;
  width:auto;min-width:18px;height:2px;border-radius:1px;background:#fff;
  box-shadow:0 0 8px rgba(255,255,255,.5);
}

/* 上滑提示（线上 1559-1594） */
.swipe-tip{position:absolute;left:50%;bottom:30%;z-index:12;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 16px;border-radius:14px;background:rgba(0,0,0,.46);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font-size:12.5px;letter-spacing:.3px;pointer-events:none;white-space:nowrap;width:max-content;max-width:80vw;visibility:hidden;opacity:0;transition:opacity .34s ease,visibility .34s ease}
.swipe-tip.show,.swipe-tip.on{visibility:visible;opacity:1}
.swipe-tip .swipe-arrow{width:22px;height:22px;animation:swipeNudge 1.5s ease-in-out infinite}
@keyframes swipeNudge{0%,100%{transform:translateY(4px);opacity:.5}50%{transform:translateY(-6px);opacity:1}}

/* 非 Telegram 环境引导（线上 1101-1162） */
.gate{position:absolute;inset:0 0 calc(var(--nav-h) + var(--safe-b)) 0;z-index:13;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(120% 80% at 50% 10%,rgba(48,38,10,.95),rgba(10,10,10,.98) 62%);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.gate[hidden]{display:none}
.gate-card{width:100%;max-width:300px;text-align:center}
.gate-ico{width:56px;height:56px;margin:0 auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ffd21f;color:#1c1500}
.gate-ico svg{width:26px;height:26px}
.gate-title{margin:0 0 8px;font-size:17px;font-weight:700;color:#fff}
.gate-desc{margin:0 0 18px;font-size:12.5px;line-height:1.7;color:var(--text-3)}
.gate-btn{display:block;height:44px;line-height:44px;border-radius:22px;background:#ffd21f;color:#1c1500;font-size:15px;font-weight:700;text-decoration:none;box-shadow:0 6px 18px rgba(255,210,31,.22)}
.gate-btn:active{transform:scale(.98)}
.gate-hint{margin:10px 0 0;font-size:11.5px;color:var(--text-3)}
.gate-hint b{color:#ffd21f;font-weight:600}
.gate-close{margin-top:18px;height:34px;padding:0 16px;border-radius:17px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text-2);font-size:12.5px}

/* ============================ 剧场 / 推荐 ============================ */
/* 页头：线上 .view-scroll 提供 padding-top(safe-t+10)，我们保留 block 流，把它内化到 page-head */
.page-head{
  display:flex;align-items:center;gap:8px;
  padding:calc(var(--safe-t) + 10px) 12px 10px;
}
.search-pill{
  flex:1;min-width:0;display:flex;align-items:center;gap:8px;
  height:40px;padding:0 14px;border-radius:20px;
  background:#1a1a1b;color:#8c8b86;font-size:13px;
}
.search-pill svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.reco-actions{display:flex;gap:8px;flex:none}
.reco-submit,.reco-refresh{
  flex:none;height:28px;padding:0 12px;font-size:12px;line-height:26px;
  border-radius:999px;transition:transform .12s ease;
}
.reco-refresh{border:1px solid rgba(255,255,255,.16);color:#d8d8d8;background:rgba(255,255,255,.06)}
.reco-refresh:active{transform:scale(.96)}
.reco-submit{padding:0 14px;line-height:28px;border:0;color:#1a1200;font-weight:700;background:linear-gradient(135deg,#ffd21f,#ffa51f)}
.reco-submit:active{transform:scale(.96)}

/* 线上 1190-1224：cat-row 是 44px 高的纯文字行（无胶囊底、无描边），
   选中只有白字加粗 + 14×3 白色指示条 */
.cat-row{
  display:flex;align-items:center;gap:clamp(12px, 4.2vw, 22px);
  height:44px;margin-bottom:6px;overflow:hidden;padding:0 12px;
}
.cat-row button{
  flex:0 1 auto;min-width:0;height:44px;line-height:44px;font-size:14px;
  color:#868686;font-weight:400;padding:0;
  white-space:nowrap;overflow:hidden;position:relative;transition:color .15s ease;
}
.cat-row button.on{color:#fff;font-weight:700}
.cat-row button.on::after{
  content:"";position:absolute;left:50%;bottom:8px;
  width:14px;height:3px;border-radius:2px;background:#fff;transform:translateX(-50%);
}

.grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;
  padding:0 12px;
}
.card{display:flex;flex-direction:column;gap:8px;text-align:left;background:none}
.card-poster{
  position:relative;width:100%;aspect-ratio:3/4;min-height:200px;
  border-radius:12px;overflow:hidden;background:#1a1a1b;
}
.card-poster img{width:100%;height:100%;object-fit:cover;display:block}
.card-badge{
  position:absolute;left:6px;bottom:6px;font-size:10px;line-height:16px;
  padding:0 6px;border-radius:4px;background:rgba(0,0,0,.62);color:#fff;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.card-title{
  font-size:13px;line-height:1.38;color:#fff;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  word-break:break-all;
}
.card-sub{font-size:11px;color:#8c8b86}

/* ============================ 搜索页 ============================ */
.search-head{
  display:flex;align-items:center;gap:8px;
  padding:calc(var(--safe-t) + 10px) 12px 10px;
  position:sticky;top:0;z-index:5;background:var(--bg);
}
.search-back{width:32px;height:32px;flex:none;display:grid;place-items:center}
.search-back svg{width:20px;height:20px;fill:none;stroke:var(--fg);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.search-input-wrap{
  flex:1;min-width:0;display:flex;align-items:center;gap:7px;height:36px;
  padding:0 10px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid var(--line);
}
.search-ico{width:15px;height:15px;flex:none;fill:none;stroke:var(--fg3);stroke-width:2}
.search-input-wrap input{
  flex:1;min-width:0;height:100%;background:none;border:0;outline:0;
  color:var(--fg);font-size:14px;
}
.search-input-wrap input::placeholder{color:var(--fg3)}
.search-input-wrap input::-webkit-search-cancel-button{display:none}
.search-x{width:20px;height:20px;flex:none;font-size:16px;color:var(--fg3);line-height:1}
.search-submit{flex:none;height:36px;padding:0 12px;font-size:14px;color:var(--gold);font-weight:600}

.quick-row{display:flex;gap:10px;padding:6px 14px 14px;overflow-x:auto;scrollbar-width:none}
.quick-row::-webkit-scrollbar{display:none}
.qk{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:56px}
.qk-ico{
  width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
  font-style:normal;font-size:15px;font-weight:800;color:#1c1500;
}
.qk-ico-ai{background:linear-gradient(140deg,#ffd977,#f0a800)}
.qk-ico-scene{background:linear-gradient(140deg,#8ad1ff,#3d8bfd);color:#06203f}
.qk-ico-rank{background:linear-gradient(140deg,#ffb0b0,#f5584f);color:#3d0806}
.qk-ico-new{background:linear-gradient(140deg,#b6f0c8,#33c46a);color:#06301a}
.qk-ico-star{background:linear-gradient(140deg,#dcc4ff,#9a63f5);color:#22073d}
.qk span{font-size:11.5px;color:var(--fg2)}

.sblock{padding:10px 14px 4px}
.sblock-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.sblock-head h3{margin:0;font-size:15px;font-weight:700}
.sact{margin-left:auto;width:26px;height:26px;display:grid;place-items:center;color:var(--fg3)}
.sact svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.swords{display:flex;flex-wrap:wrap;gap:8px}
.sword{
  max-width:100%;height:30px;padding:0 12px;border-radius:15px;font-size:12.5px;
  color:var(--fg2);background:rgba(255,255,255,.06);border:1px solid var(--line);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

.shot-tabs{display:flex;gap:16px;overflow-x:auto;margin-bottom:12px;scrollbar-width:none}
.shot-tabs::-webkit-scrollbar{display:none}
.shot-tab{
  flex:none;position:relative;padding:4px 0 8px;font-size:14px;color:var(--fg3);
}
.shot-tab.on{color:var(--gold);font-weight:700}
.shot-tab.on::after{
  content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:2px;
  width:20px;height:2px;border-radius:2px;background:var(--gold);
}
.hot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 9px}
.hcell{text-align:left;width:100%}
.hcell-poster{position:relative;display:block;aspect-ratio:2/3;border-radius:9px;overflow:hidden;background:var(--bg2)}
.hcell-poster img{width:100%;height:100%;object-fit:cover}
.hcell-rank{
  position:absolute;left:5px;top:5px;min-width:18px;height:18px;padding:0 5px;
  border-radius:5px;font-size:11px;font-weight:800;line-height:18px;text-align:center;
  background:rgba(0,0,0,.62);color:#fff;
}
.hcell-rank.top{background:var(--gold);color:#1c1500}
.hcell-heat{
  position:absolute;left:0;right:0;bottom:0;padding:12px 5px 4px;
  font-size:9.5px;color:#ffdede;
  background:linear-gradient(0deg,rgba(0,0,0,.75),rgba(0,0,0,0));
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.hcell-title{
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
  margin-top:5px;font-size:12.5px;font-weight:600;
}
.hcell-sub{
  display:block;margin-top:2px;font-size:10.5px;color:var(--fg3);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* ============================ 我的 ============================ */
/* 本段逐条照抄 live.css：1727-1915（列表/卡片）、2332-2469（hero/六套背景主题/头像挂件）、2471-2607（个人信息编辑全屏层） */
.view-mine{background:var(--bg);padding-top:0}
.mine-scroll{padding-bottom:20px}
.mine-hero{
  position:relative;margin:0 0 14px;
  padding:calc(var(--safe-t) + 14px) 16px 16px;
  overflow:hidden;border-radius:0 0 20px 20px;
}
/* 背景单独一层：默认档是香蕉黄，内容全部浮在上面 */
.hero-art{
  position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(132% 110% at 4% -16%,rgba(255,214,60,.48),transparent 63%),
    radial-gradient(104% 92% at 62% 26%,rgba(255,226,120,.16),transparent 62%),
    radial-gradient(96% 122% at 98% 0%,rgba(255,244,176,.20),transparent 60%),
    linear-gradient(160deg,#261e0d 0%,#1a1610 46%,#0e0e0e 100%);
}
.hero-art::before{
  /* 底部渐隐回页面底色，避免和下面的入口卡之间出现硬边 */
  content:'';position:absolute;left:0;right:0;bottom:0;height:58px;
  background:linear-gradient(180deg,rgba(14,14,14,0),var(--bg));
}
.hero-art::after{
  /* 极淡点阵，纯渐变在大屏上会显得发空 */
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:13px 13px;opacity:.45;
}
.mine-hero > *:not(.hero-art){position:relative;z-index:1}
/* 背景主题：编辑资料里的「背景图」直接切这一层 */
.mine-hero[data-bg="banana"] .hero-art{
  background:
    radial-gradient(132% 110% at 4% -16%,rgba(255,214,60,.48),transparent 63%),
    radial-gradient(104% 92% at 62% 26%,rgba(255,226,120,.16),transparent 62%),
    radial-gradient(96% 122% at 98% 0%,rgba(255,244,176,.20),transparent 60%),
    linear-gradient(160deg,#261e0d 0%,#1a1610 46%,#0e0e0e 100%);
}
.mine-hero[data-bg="rose"] .hero-art{
  background:
    radial-gradient(120% 96% at 8% -12%,rgba(255,88,112,.30),transparent 60%),
    radial-gradient(92% 118% at 96% 2%,rgba(255,166,66,.18),transparent 58%),
    linear-gradient(158deg,#1d1216 0%,#141115 46%,#0e0e0e 100%);
}
.mine-hero[data-bg="warm"] .hero-art{
  background:
    radial-gradient(120% 96% at 10% -10%,rgba(255,120,58,.34),transparent 62%),
    radial-gradient(90% 112% at 94% 4%,rgba(255,198,92,.20),transparent 56%),
    linear-gradient(158deg,#201410 0%,#171110 46%,#0e0e0e 100%);
}
.mine-hero[data-bg="cool"] .hero-art{
  background:
    radial-gradient(120% 96% at 10% -10%,rgba(70,148,255,.30),transparent 62%),
    radial-gradient(90% 112% at 94% 4%,rgba(122,96,255,.20),transparent 56%),
    linear-gradient(158deg,#0f1520 0%,#101218 46%,#0e0e0e 100%);
}
.mine-hero[data-bg="gold"] .hero-art{
  background:
    radial-gradient(120% 96% at 10% -10%,rgba(226,166,66,.32),transparent 62%),
    radial-gradient(90% 112% at 94% 4%,rgba(255,222,142,.16),transparent 56%),
    linear-gradient(158deg,#1c1710 0%,#161311 46%,#0e0e0e 100%);
}
.mine-hero[data-bg="ink"] .hero-art{
  background:
    radial-gradient(130% 96% at 50% -22%,rgba(126,136,156,.24),transparent 62%),
    linear-gradient(158deg,#131417 0%,#101113 46%,#0e0e0e 100%);
}
.avatar{
  width:54px;height:54px;border-radius:50%;
  background:linear-gradient(135deg,#2c2c2c,#191919);
  border:1px solid rgba(255,255,255,.08);flex:none;overflow:hidden;position:relative;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;font-weight:700;color:rgba(255,255,255,.88);letter-spacing:.5px;
}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.avatar-lg{width:58px;height:58px}
.mine-hero-top{display:flex;align-items:center;gap:12px}
.mine-id{flex:1 1 auto;min-width:0}
.mine-id h2{margin:0;font-size:20px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mine-id p{margin:5px 0 0;font-size:12px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 黄果号做成可点（点了复制），所以是 button 不是 p */
.mine-uid{
  display:inline-flex;align-items:center;gap:5px;max-width:100%;margin-top:5px;
  padding:0;background:none;border:0;color:rgba(255,255,255,.52);font-size:12px;line-height:1.5;
}
.mine-uid span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mine-uid svg{flex:none;width:12px;height:12px;opacity:.72}
.mine-uid:active{color:rgba(255,255,255,.78)}
.hero-acts{flex:none;display:flex;gap:6px}
.hero-act{
  /* 32px 在真机上手指经常点空，40px 才够稳 */
  width:40px;height:40px;display:grid;place-items:center;padding:0;border-radius:12px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.07);color:#ececec;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  transition:color .16s ease,background .16s ease;
}
.hero-act svg{width:18px;height:18px}
.hero-act.on{color:#ffbe4d;background:rgba(255,190,77,.16);border-color:rgba(255,190,77,.34)}
.hero-act:active{transform:scale(.94)}
.mine-hero-bottom{display:flex;align-items:flex-end;gap:12px}
.mine-stats{flex:1 1 auto;display:flex;gap:24px;padding:15px 0 0}
.mine-stat{background:none;border:0;padding:0;text-align:left;color:inherit}
.mine-stat b{display:block;font-size:21px;font-weight:700;line-height:26px}
.mine-stat span{font-size:12px;color:var(--text-3)}
/* 线上 2452-2464：深灰半透明底 + 白字 + 8px 方角。我原来那圈黄边黄字是自己加的，撤掉 */
.mine-edit{
  flex:none;height:30px;margin-bottom:1px;padding:0 14px;border-radius:8px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.09);
  color:#f2f2f2;font-size:12.5px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
.mine-edit:active{background:rgba(255,255,255,.18)}
/* 头像挂件：编辑资料里切换，三档描边 */
.avatar.frame-gold{box-shadow:0 0 0 2px #d9a94e,0 0 14px rgba(217,169,78,.42)}
.avatar.frame-glow{box-shadow:0 0 0 2px #56d4ff,0 0 16px rgba(86,212,255,.52)}
.avatar.frame-neon{box-shadow:0 0 0 2px #ff4d84,0 0 16px rgba(255,77,132,.52)}

.mine-entries{display:flex;gap:8px;padding:0 16px 16px;overflow:hidden}
.entry{
  flex:1 1 0;min-width:0;padding:10px 8px;border-radius:10px;
  background:#1a1a1b;border:0;color:#fff;text-align:left;overflow:hidden;
}
.entry b{display:block;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.entry span{display:block;margin-top:3px;font-size:11px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.entry:active{background:#242426}

.mine-panel{margin:0 8px;padding:4px 8px 12px;border-radius:16px 16px 0 0;background:#171717}
/* 线上 1807-1818：48px 高、20px 间距、占位符灰 #8e8e8e，选中只有白字加粗，没有下划线 */
.mine-tabs{display:flex;align-items:center;gap:20px;height:48px;padding:0 4px;overflow:hidden}
.mtab{flex:0 0 auto;height:48px;font-size:15px;color:#8e8e8e}
.mtab.on{color:#fff;font-weight:700}
.mtab-icon{margin-left:auto;flex:none;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:#cfcfcf}
.mtab-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
/* 线上 1820-1839：mine-filter 高 38；chip 26 高 / 7px 圆角 / 深灰块 #242426 / 无描边；
   选中是线上原本的纯黄底 #ffd21f + 黑字，不是我那层半透明黄 */
.mine-filter{display:flex;align-items:center;gap:8px;height:38px;padding:0 4px 8px;overflow:hidden}
.mine-filter .chip{
  flex:0 0 auto;height:26px;padding:0 12px;border-radius:7px;
  background:#242426;border:0;color:#cfcfcf;font-size:12px;
}
.mine-filter .chip.on{background:#ffd21f;color:#1a1000;font-weight:700}
.mine-clear{margin-left:auto;flex:none;height:26px;padding:0 8px;font-size:12px;color:#8e8e8e;background:none;border:0}

/* 两列：三列时 390 宽单列 122×163，低于「长边 200」的清晰度底线；两列 187×249 */
.mine-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 8px;padding:2px 4px 0}
.mcell{display:flex;flex-direction:column;gap:6px;text-align:left;background:none;border:0;padding:0;min-width:0;overflow:hidden}
.mcell-poster{position:relative;width:100%;aspect-ratio:3/4;min-height:200px;border-radius:8px;overflow:hidden;background:#1a1a1b}
.mcell-poster img{width:100%;height:100%;object-fit:cover;display:block}
.mcell-badge{
  position:absolute;right:4px;top:4px;max-width:calc(100% - 8px);
  font-size:10px;line-height:16px;padding:0 5px;border-radius:4px;
  background:rgba(0,0,0,.6);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
/* 两行裁切：行高用倍数、高度用 em，跟随字号缩放 —— 系统字体调大时不叠行 */
.mcell-title{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  font-size:13px;line-height:1.3;height:2.6em;color:#fff;overflow:hidden;word-break:break-all;
}
.mcell-sub{display:block;font-size:11px;line-height:1.45;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mcell-mark{flex:none;font-size:10px;line-height:15px;padding:1px 5px;border-radius:4px;background:var(--brand-wash);color:var(--brand)}
.works-grid{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;padding:2px 4px 0}
.works-grid.on{display:grid}

/* ============================ 全屏层 · 通用 ============================ */
.edit-layer{
  position:fixed;inset:0;z-index:45;display:flex;flex-direction:column;
  background:#0a0a0a;visibility:hidden;transform:translateX(100%);
  transition:transform .26s cubic-bezier(.22,.61,.36,1),visibility .26s;
}
.edit-layer.on{transform:none;visibility:visible}
.edit-head{
  flex:none;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;
  height:calc(48px + var(--safe-t));padding-top:var(--safe-t);
  background:rgba(10,10,10,.95);border-bottom:1px solid rgba(255,255,255,.04);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
}
.edit-head h1{grid-column:2;margin:0;text-align:center;font-size:16px;font-weight:600;color:#fff;white-space:nowrap}
.edit-back{
  grid-column:1;width:40px;height:40px;display:grid;place-items:center;margin-left:4px;
  padding:0;background:none;border:0;color:#fff;
}
.edit-back svg{width:22px;height:22px}
.edit-back:active{opacity:.6}
/* 钱包层头部多一个刷新按钮，落到第 3 列 */
#wallet-refresh{grid-column:3;margin-left:0;margin-right:4px}
.edit-scroll{
  flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;padding-bottom:calc(var(--safe-b) + 28px);
}

/* ============================ 个人信息编辑 ============================ */
.edit-avatar-wrap{position:relative;width:88px;margin:26px auto 30px}
.edit-avatar{width:88px;height:88px;border-radius:50%}
.edit-cam{
  position:absolute;right:-4px;bottom:-4px;width:30px;height:30px;
  display:grid;place-items:center;padding:0;border-radius:50%;
  background:#2c2c2c;border:2px solid #0a0a0a;color:#fff;
}
.edit-cam svg{width:15px;height:15px}
.edit-cam:active{background:#3d3d3d}

.pf-card{margin:0 16px 12px;border-radius:14px;background:#171717;overflow:hidden}
.pf-row{
  display:flex;align-items:center;gap:12px;width:100%;height:54px;padding:0 4px 0 16px;
  background:none;border:0;color:inherit;font:inherit;text-align:left;
}
.pf-row:active{background:rgba(255,255,255,.045)}
.pf-k{flex:none;width:76px;font-size:14.5px;color:#e2e2e2}
.pf-v{
  flex:1 1 auto;min-width:0;display:block;font-size:14.5px;color:#fff;line-height:1.5;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.pf-v.is-ph{color:#6b6b6b}
.pf-v em{font-style:normal}
.pf-arw{flex:none;width:15px;height:15px;margin-right:10px;color:#4a4a4a}
.pf-sep{height:1px;margin-left:16px;background:rgba(255,255,255,.06)}
.pf-bgchip{
  display:inline-block;vertical-align:middle;width:36px;height:36px;margin-right:10px;
  border-radius:9px;border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(158deg,#3d3010,#0e0e0e); /* 无设置时和默认的香蕉黄对齐 */
}
.pf-bgchip[data-bg="banana"]{background:linear-gradient(158deg,#3d3010,#0e0e0e)}
.pf-bgchip[data-bg="rose"]{background:linear-gradient(158deg,#2b1418,#0e0e0e)}
.pf-bgchip[data-bg="warm"]{background:linear-gradient(158deg,#2b1710,#0e0e0e)}
.pf-bgchip[data-bg="cool"]{background:linear-gradient(158deg,#10192a,#0e0e0e)}
.pf-bgchip[data-bg="gold"]{background:linear-gradient(158deg,#2a2113,#0e0e0e)}
.pf-bgchip[data-bg="ink"]{background:linear-gradient(158deg,#1b1d22,#0e0e0e)}
.edit-foot{margin:18px 26px 0;text-align:center;font-size:12px;line-height:1.7;color:#4f4f4f}

/* ============================ 钱包 ============================
   这一段的颜色 / 圆角 / 间距逐条照搬线上 live.css 的钱包段，并且写成字面值：
   卡面 #1a1a1b、次级面 #242426、分隔线 rgba(255,255,255,.075)、品牌黄 #ffd21f
   与本文件顶部的 --bg1 / --line / --gold 不是同一套，挂全局变量会比线上黄得偏橙。
   品牌橙只用在「钱」和主操作上，正文用 #c6c5bf，辅助信息一律 #8c8b86
   —— 一页里出现四种灰色就散了。 */
#wallet-layer{background:#0a0a0a}
#wallet-scroll{padding:0 0 calc(var(--safe-b) + 28px)}
#wallet-layer .list-state{padding:14px 0 6px;text-align:center;font-size:12px;color:#8c8b86}
#wallet-layer .list-state:empty{display:none}

/* ---------------- 钱包 · 资产卡 ---------------- */
.wa-card{
  margin:16px 16px 0;padding:16px;border-radius:16px;
  /* 斜向渐变 + 一层右上角高光，比纯色更像卡；不加阴影，避免和深底糊成一片。
     卡面用琥珀（辅助色）而不是品牌黄：36px 的余额数字压在白字上，
     #ffd21f 的对比只有 1.7:1，读不出来。 */
  background:
    radial-gradient(120% 90% at 92% 0%, rgba(255,255,255,.3), rgba(255,255,255,0) 58%),
    linear-gradient(152deg, #ffb347 0%, #f08519 52%, #b8560b 100%);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22);
}
.wa-label{margin:0;font-size:12px;font-weight:600;letter-spacing:.4px;opacity:.88}
.wa-num{
  display:flex;align-items:baseline;gap:6px;margin:6px 0 0;
  font-size:36px;font-weight:800;line-height:1.06;
  /* 数字用等宽数位，翻动时不会左右抖 */
  font-variant-numeric:tabular-nums;letter-spacing:-.5px;word-break:break-all;
}
.wa-num em{font-size:12px;font-style:normal;font-weight:600;opacity:.9;letter-spacing:0}
.wa-sub{
  display:flex;align-items:center;gap:8px;margin:8px 0 0;
  font-size:11px;opacity:.92;font-variant-numeric:tabular-nums;
}
.wa-sub b{font-weight:700}
.wa-sub i{width:1px;height:9px;background:rgba(255,255,255,.5)}
.wa-acts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}
.wa-act{
  height:36px;border-radius:10px;
  background:rgba(255,255,255,.18);color:#fff;font-size:13px;font-weight:700;
  transition:background .15s ease;
}
.wa-act:active{background:rgba(255,255,255,.3)}
.wa-act:disabled{opacity:.55}

/* ---------------- 钱包 · 地址块 ---------------- */
.wa-bind{margin:12px 16px 0;padding:12px 14px;border-radius:12px;background:#1a1a1b}
.wa-bind-hd{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.wa-bind-hd b{font-size:13px;font-weight:700}
.wa-bind-hd span{font-size:11px;color:#8c8b86}
.wa-bind-hd span.on{color:#35c759}
.wa-addr{
  margin:7px 0 0;font-size:12px;line-height:1.5;color:#8c8b86;
  /* 地址必须整串可见可选中，不能省略号截断，否则用户无法核对 */
  word-break:break-all;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
.wa-addr.on{color:#c6c5bf}
.wa-bindbtn{
  width:100%;height:38px;margin-top:10px;border-radius:10px;
  background:rgba(255,210,31,.13);color:#ffd21f;
  box-shadow:inset 0 0 0 1px rgba(255,210,31,.3);
  font-size:13px;font-weight:700;
}
.wa-bindbtn:active{background:rgba(255,210,31,.24)}
.wa-bindbtn:disabled{background:#242426;color:#8c8b86;box-shadow:none}

/* ---------------- 钱包 · 分区标题 ---------------- */
.wa-sec{margin-top:18px}
.wa-sec-hd{display:flex;align-items:baseline;justify-content:space-between;padding:0 16px 4px}
.wa-sec-hd b{font-size:14px;font-weight:700}
.wa-sec-hd span{font-size:11px;color:#8c8b86;font-variant-numeric:tabular-nums}

/* ---------------- 钱包 · 今日果币（观看阶梯） ----------------
   一张卡一条规则：左上写做什么，右上写「今天到哪一步」，
   下面三格就是规则里的三档金额。已领到的那格换成品牌黄底，
   三档全亮也就是整卡发亮 —— 用户不需要读文字就知道今天满了。 */
.wa-earn{display:grid;gap:8px;margin:0 16px}
.wa-ecard{padding:12px 14px;border-radius:12px;background:#1a1a1b}
.wa-ehd{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.wa-ehd b{font-size:13px;font-weight:700}
.wa-ehd span{font-size:11px;color:#8c8b86;font-variant-numeric:tabular-nums}
.wa-eladder{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.wa-estep{
  display:flex;flex-direction:column;gap:3px;padding:7px 0;border-radius:9px;
  background:#242426;text-align:center;font-size:10px;line-height:1.2;color:#8c8b86;
  font-variant-numeric:tabular-nums;
}
.wa-estep b{font-size:13px;font-weight:800;color:#c6c5bf}
.wa-estep.on{background:rgba(255,210,31,.13);color:rgba(255,210,31,.72)}
.wa-estep.on b{color:#ffd21f}

/* ---------------- 钱包 · 每日签到 ----------------
   7 个格子横排，格子里直接写当天金额（20/30/50/80/100/150/200）。
   写金额而不是写「第 N 天」：用户关心的是能拿多少，不是第几天。 */
.wa-signbox{margin:12px 16px 0;padding:14px;border-radius:14px;background:#1a1a1b}
.wa-sign-hd{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.wa-sign-hd b{font-size:14px;font-weight:700}
.wa-sign-hd span{font-size:11px;color:#8c8b86;font-variant-numeric:tabular-nums}
.ws-dots{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:12px 0 0}
.ws-dots i{
  display:flex;align-items:center;justify-content:center;height:30px;border-radius:8px;
  background:#242426;font-size:10px;font-style:normal;font-weight:700;color:#8c8b86;
  font-variant-numeric:tabular-nums;
}
.ws-dots i.on{background:rgba(255,210,31,.13);color:#ffd21f}
/* 今天待签的那一格描一圈品牌色：断签后回到第 1 天时，这一圈会自己跳回最左 */
.ws-dots i.cur{box-shadow:inset 0 0 0 1px rgba(255,210,31,.55);color:#c6c5bf}
.wa-signbtn{
  width:100%;height:40px;margin-top:12px;border-radius:11px;
  background:#ffd21f;color:#1c1500;font-size:14px;font-weight:800;
}
.wa-signbtn:active{background:#e8bd12}
.wa-signbtn:disabled{background:#242426;color:#8c8b86}

/* ---------------- 钱包 · 果币用途（商城） ----------------
   右侧只放「多少果币」，不放「立即兑换」按钮：整行就是按钮，
   对触摸来说是最大的命中区，也省掉一行高度。 */
.wa-shop{display:grid;gap:8px;margin:0 16px}
.wa-item{
  display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;
  border-radius:12px;background:#1a1a1b;text-align:left;
}
.wa-item:active{background:#242426}
.wa-item-l{flex:1 1 auto;min-width:0}
.wa-item-l b{display:block;font-size:13px;font-weight:700}
.wa-item-l span{display:block;margin-top:3px;font-size:11px;line-height:1.45;color:#8c8b86}
.wa-item-r{flex:none;text-align:right}
.wa-item-r em{font-size:15px;font-style:normal;font-weight:800;color:#ffd21f;font-variant-numeric:tabular-nums}
.wa-item-r i{display:block;margin-top:2px;font-size:10px;font-style:normal;color:#8c8b86}
/* 已开通的整块压暗、金额换成「已开通」：视觉上先劝退一次，服务端还会再挡一次 */
.wa-item.owned{opacity:.62}
.wa-item.owned .wa-item-r em{color:#8c8b86;font-size:12px}
.wa-item.owned .wa-item-r i{display:none}

/* ---------------- 钱包 · 每日空降 ---------------- */
.wa-lottery{margin:8px 16px 0;padding:12px 14px;border-radius:12px;background:#1a1a1b}
.wa-lot-hd{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.wa-lot-hd b{font-size:13px;font-weight:700}
.wa-lot-hd span{font-size:11px;color:#8c8b86;font-variant-numeric:tabular-nums}
.wa-lot-tx{margin:7px 0 0;font-size:11px;line-height:1.55;color:#8c8b86}
.wa-lot-ft{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.wa-lot-ft span{font-size:11px;line-height:1.45;color:#8c8b86}
/* 持有往期资格且今天还没参与时会有两颗按钮，用一层 flex 把它们绑在一起，
   否则 .wa-lot-ft 的 space-between 会把「转让」和「参与」顶到两端 */
.wa-lot-acts{display:flex;flex:none;gap:6px}
.wa-lot-btn{
  flex:none;height:32px;padding:0 14px;border-radius:999px;
  background:rgba(255,210,31,.13);color:#ffd21f;font-size:12px;font-weight:700;
}
.wa-lot-btn:active{background:rgba(255,210,31,.24)}
.wa-lot-btn:disabled{background:#242426;color:#8c8b86}

/* ---------------- 钱包 · VIP 权益 ----------------
   这一块用一块极淡的品牌黄光把权益从「明细」里挑出来，
   但正文仍然是 #c6c5bf：黄色只负责框，不负责读。 */
.wa-vip{
  margin:18px 16px 0;padding:14px;border-radius:14px;border:1px solid rgba(255,210,31,.26);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255,210,31,.13), rgba(255,210,31,0) 62%),
    #1a1a1b;
}
.wa-vip-hd{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.wa-vip-hd b{font-size:14px;font-weight:800;color:#ffd21f}
.wa-vip-hd span{font-size:11px;color:#8c8b86}
.wa-vip-hd span.on{color:#35c759}
.wa-vip-ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;margin:11px 0 0;padding:0;list-style:none}
.wa-vip-ul li{position:relative;padding-left:13px;font-size:12px;line-height:1.6;color:#c6c5bf}
/* 4px 小方点而不是圆点：两列等宽网格里方点的左边缘对得更齐 */
.wa-vip-ul li::before{
  content:'';position:absolute;left:0;top:7px;width:4px;height:4px;border-radius:1px;background:#ffd21f;
}
.wa-vip-tip{
  margin:11px 0 0;padding-top:10px;border-top:1px solid rgba(255,255,255,.075);
  font-size:10px;line-height:1.6;color:#8c8b86;
}

/* ---------------- 钱包 · 商业合作奖励 ---------------- */
.wa-coop{display:grid;gap:6px;margin:0 16px}
.wa-crow{
  display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;
  border-radius:11px;background:#1a1a1b;text-align:left;
}
.wa-crow:active{background:#242426}
.wa-crow-l{flex:1 1 auto;min-width:0}
.wa-crow-l b{display:block;font-size:12px;font-weight:700}
.wa-crow-l span{display:block;margin-top:2px;font-size:10px;line-height:1.45;color:#8c8b86}
.wa-crow-v{flex:none;font-size:13px;font-weight:800;color:#ffd21f;font-variant-numeric:tabular-nums}
.wa-crow-v.doing,.wa-crow-v.done{font-size:11px;font-weight:600}
.wa-crow-v.doing{color:#c6c5bf}
.wa-crow-v.done{color:#35c759}

/* ---------------- 钱包 · 收支明细卡 ----------------
   收起只留一行卡头，眼睛不必先滤过几十条流水；展开后一页 5 条，
   其余走底部翻页。箭头旋转 90 度表示开合，不用额外的文字提示。 */
.wa-logcard{margin:12px 16px 0;border-radius:12px;background:#1a1a1b;overflow:hidden}
.wa-logcard-hd{
  display:flex;align-items:center;gap:8px;width:100%;min-height:48px;padding:12px 14px;
  background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;
}
.wa-logcard-hd b{flex:0 0 auto;font-size:14px;font-weight:700}
.wa-logcard-hd span{flex:1 1 auto;font-size:11px;color:#8c8b86;text-align:right}
.wa-logcard-ar{
  flex:0 0 auto;width:8px;height:8px;
  border-right:1.5px solid #8c8b86;border-bottom:1.5px solid #8c8b86;
  transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s ease;
}
.wa-logcard.on .wa-logcard-ar{transform:rotate(-135deg) translate(-2px,-2px)}
.wa-logcard-bd{padding:0 14px 10px}
.wa-logcard-bd[hidden]{display:none}
.wa-logcard-bd .wa-logs{margin:0}
.wa-logcard-bd .wa-log:first-child{padding-top:2px}
.wa-logs{margin:0 12px}
.wa-log{display:flex;align-items:center;gap:10px;padding:11px 4px;border-bottom:1px solid rgba(255,255,255,.075)}
.wa-log:last-child{border-bottom:0}
.wa-log-l{flex:1 1 auto;min-width:0}
.wa-log-t{margin:0;font-size:13px;color:#f6f5f1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-log-s{margin:3px 0 0;font-size:11px;color:#8c8b86;font-variant-numeric:tabular-nums}
.wa-log-v{flex:none;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.wa-log-v.up{color:#35c759}
.wa-log-v.down{color:#f6f5f1}
.wa-logpager{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 0 2px}
.wa-logpager[hidden]{display:none}
.wa-pg{
  height:30px;padding:0 16px;border-radius:999px;background:#242426;color:#c6c5bf;
  font:inherit;font-size:12px;cursor:pointer;
}
.wa-pg:active{background:rgba(255,255,255,.075)}
.wa-pg[disabled]{opacity:.35}
.wa-pg-n{min-width:54px;text-align:center;font-size:11px;color:#8c8b86;font-variant-numeric:tabular-nums}

/* ---------------- 钱包 · 合规声明 ---------------- */
.wa-note{
  margin:16px 16px 28px;font-size:10px;line-height:1.7;color:#8c8b86;
  /* 三条声明用 \n 拼成一个串，靠 pre-line 换行；不插 <br> 免得 innerHTML 拼接 */
  white-space:pre-line;
}

/* ============================ 代理中心 ============================
   这一段的颜色 / 圆角 / 间距逐条照搬线上 live.css 的代理段，并且写成字面值：
   品牌黄 #ffd21f、卡面 #1a1a1b、分隔线 rgba(255,255,255,.075) 与本文件顶部的
   --gold / --bg1 / --line 不是同一套，直接挂全局变量会让这一页比线上黄得偏橙。 */
#agent-layer{background:#0a0a0a}
#agent-scroll{padding:0 0 calc(var(--safe-b) + 28px)}
#agent-layer .list-state{padding:18px 0 26px;text-align:center;font-size:12px;color:#8c8b86}
#agent-layer .list-state:empty{display:none}

/* ---------------- 代理 · 邀请卡 ---------------- */
.ag-card{
  margin:16px 16px 0;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,210,31,.26);
  background:
    radial-gradient(120% 100% at 100% 0%,rgba(255,210,31,.16),rgba(255,210,31,0) 62%),
    #17140d;
}
.ag-inv{display:flex;align-items:center;gap:14px}
.ag-qr{
  flex:none;
  width:92px;
  height:92px;
  border-radius:12px;
  background:#fff;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.ag-qr img{width:84px;height:84px;display:block}
/* 二维码拉不到时不留白洞：换成品牌色底 + 邀请码首字，用户仍能靠下面的码手输 */
.ag-qr.ph{background:rgba(255,210,31,.13)}
.ag-qr.ph img{display:none}
.ag-qr.ph::after{content:'码';font-size:22px;font-weight:800;color:#ffd21f}
.ag-inv-txt{flex:1 1 auto;min-width:0}
.ag-inv-l{margin:0;font-size:11px;color:#8c8b86}
.ag-code{
  margin:4px 0 0;
  font-size:21px;
  font-weight:800;
  letter-spacing:2px;
  color:#fff;
  font-variant-numeric:tabular-nums;
  word-break:break-all;
}
.ag-inv-s{margin:6px 0 0;font-size:11px;color:#8c8b86}
.ag-btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.ag-btn{
  height:40px;
  border-radius:12px;
  background:#ffd21f;
  color:#1c1500;
  font-size:14px;
  font-weight:700;
  transition:transform .14s cubic-bezier(.22,.61,.36,1),filter .14s cubic-bezier(.22,.61,.36,1);
}
.ag-btn:active{transform:scale(.97);filter:brightness(.94)}
.ag-btn.ghost{background:rgba(255,255,255,.1)}

/* ---------------- 代理 · 四格数据 ----------------
   第四格就是提现按钮：尺寸对齐旁边三格的两行内容高（17 + 3 + 14 ≈ 34px），
   文字在格内居中；字号按需求定 13px，颜色用本页规则段同档品牌黄 */
.ag-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:12px 16px 0;
  padding:12px 0;
  border-radius:12px;
  background:#1a1a1b;
}
.ag-stat{text-align:center;min-width:0}
.ag-stat + .ag-stat{border-left:1px solid rgba(255,255,255,.075)}
.ag-stat b{display:block;font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.ag-stat span{display:block;margin-top:3px;font-size:11px;color:#8c8b86}
/* 第四格没有第二行标签，拿格子自身做 flex 居中：按钮行高的墨迹留白会让
   文字中心偏下几 px，靠按钮自己居中不够精确 */
.ag-stat:nth-child(4){display:flex;align-items:center;justify-content:center}
.ag-stat > .ag-wd-btn{
  display:block;width:100%;padding:0;background:none;border:0;
  color:#ffd21f;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;
}
.ag-stat > .ag-wd-btn:active{filter:brightness(.8)}

/* 提现中提示行：只在 pending > 0 时出现，字号颜色与规则段下辅助信息同档 */
.ag-pend{margin:8px 16px 0;font-size:11px;color:#8c8b86;font-variant-numeric:tabular-nums}

/* ---------------- 代理 · 邀请返奖规则 ---------------- */
.ag-rules{margin:12px 16px 0;padding:12px 14px;border-radius:12px;background:#1a1a1b}
.ag-rules-hd b{font-size:13px;font-weight:700}
.ag-rules-list{margin:8px 0 0;padding-left:18px}
.ag-rules-list li{margin-top:6px;font-size:12px;line-height:1.6;color:#c6c5bf}
.ag-rules-list li:first-child{margin-top:0}
.ag-rules-list em{font-style:normal;font-weight:800;color:#ffd21f;font-variant-numeric:tabular-nums}

/* ---------------- 代理 · 果币获取明细卡片 ----------------
   卡头 = 标题 + 账户级汇总；卡内四 tab 过滤同一份事件流，分页每页 10 条 */
.ag-logcard{margin:12px 16px 0;padding:12px 0;border-radius:12px;background:#1a1a1b}
.ag-log-hd{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:0 14px}
.ag-log-hd b{font-size:14px;font-weight:700;flex:none}
.ag-log-hd span{min-width:0;font-size:11px;color:#8c8b86;text-align:right;font-variant-numeric:tabular-nums}
.ag-log-hd span[hidden]{display:none}

/* 分段 tab：v1 代理页旧 .ag-segs/.ag-seg 的字面值原样写回（32px 高、#1a1a1b 底、
   选中 rgba(255,210,31,.13) + #ffd21f）；卡片底色相同，选中改用白底胶囊才辨得出 */
.ag-segs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 14px 2px}
.ag-seg{
  height:30px;border:0;border-radius:8px;background:none;
  font-size:12px;color:#8c8b86;
  transition:background .16s,color .16s;
}
.ag-seg.on{background:rgba(255,255,255,.08);color:#ffd21f;font-weight:700}

/* 分页条：页码窗 = 首页 / … / 当前±一 / … / 末页；当前页用本页品牌黄 */
.ag-pg{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;padding:12px 14px 2px}
.ag-pg[hidden]{display:none}
.ag-pg button{
  min-width:28px;height:28px;padding:0 8px;border:0;border-radius:8px;
  background:rgba(255,255,255,.06);color:#c6c5bf;
  font-size:12px;font-variant-numeric:tabular-nums;
}
.ag-pg button:active{filter:brightness(.8)}
.ag-pg button.on{background:#ffd21f;color:#1c1500;font-weight:700}
.ag-pg button:disabled{opacity:.35}
.ag-pg i.pg-gap{font-style:normal;font-size:12px;color:#8c8b86;padding:0 2px}

/* ---------------- 代理 · 团队行 ---------------- */
.ag-team{display:block;margin:0 12px}
.ag-trow{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 4px;
  border-bottom:1px solid rgba(255,255,255,.075);
}
.ag-ava{
  flex:none;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#242426;
  color:#c6c5bf;
  font-size:13px;
  font-weight:700;
  overflow:hidden;
}
.ag-info{flex:1 1 auto;min-width:0}
.ag-nick{
  margin:0;
  font-size:13px;
  color:#f6f5f1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ag-at{margin:3px 0 0;font-size:11px;color:#8c8b86;font-variant-numeric:tabular-nums}
.ag-tag{
  flex:none;
  padding:3px 8px;
  border-radius:8px;
  font-size:10px;
  font-weight:700;
}
.ag-tag.ok{background:rgba(53,199,89,.14);color:#35c759}
.ag-tag.wait{background:rgba(255,255,255,.06);color:#8c8b86}

/* 列表拉到底之前的兜底按钮（钱包流水与代理团队共用一个样式） */
.wa-more{
  display:block;
  margin:12px auto 4px;
  height:32px;
  padding:0 22px;
  border-radius:999px;
  background:#1a1a1b;
  color:#c6c5bf;
  font-size:12px;
}
/* 列表拉空时按钮带 hidden，display:block 会盖掉 UA 的 [hidden]，得显式补回来 */
.wa-more[hidden]{display:none}
.wa-more:active{background:#242426}

@media (min-width:620px){
  .ag-rules,.ag-logcard,.ag-pend,.ag-stats,.ag-card{max-width:560px;margin-left:auto;margin-right:auto}
  .wa-card,.wa-sec,.wa-signbox,.wa-bind,.wa-logcard,.wa-vip,.wa-note{max-width:560px;margin-left:auto;margin-right:auto}
  .wa-earn,.wa-shop,.wa-coop,.wa-lottery{max-width:560px;margin-left:auto;margin-right:auto}
  .wa-sec-hd{max-width:560px;margin-left:auto;margin-right:auto}
}

/* ---------------- 钱包表单面板 ----------------
   绑定 / 兑换 / 提现 / 申报共用一个 #wal-sheet，只靠标题、提示、快捷金额、按钮文案区分：
   同一张输入卡长两个样是线上不会发生的事，这里也不会。 */
#wal-sheet{z-index:70}
/* 挂上 #wal-sheet 是为了能压住文件后面那条 .sheet-body{max-height:80%}：
   两边都是单类选择器时同特异性，后出现的会赢，76vh 就失效了 */
#wal-sheet .wal-sbody{max-height:76vh;overflow-y:auto}
.wal-tip{margin:0 0 10px;padding:0 16px;font-size:12px;line-height:1.55;color:#8c8b86}
.wal-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 16px 10px}
.wal-fact{padding:10px 12px;border-radius:10px;background:#242426}
.wal-fact span{display:block;font-size:10px;color:#8c8b86}
.wal-fact b{display:block;margin-top:4px;font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}
/* 余额不够时把「当前余额」标红，用户在面板里就看见，不必等提交后弹错 */
.wal-fact b.warn{color:#ff8a8a}
.wal-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 10px}
.wal-chips:empty{display:none}
.wal-chip{
  height:30px;padding:0 13px;border-radius:999px;
  background:#242424;color:#c6c5bf;font-size:12px;font-variant-numeric:tabular-nums;
}
.wal-chip.on{background:rgba(255,210,31,.13);color:#ffd21f;font-weight:700}
.wal-err{margin:8px 16px 0;min-height:15px;font-size:12px;color:#ff6b6b}
.wal-foot{flex:none;padding:8px 16px 2px}
.wal-sbody .text-in{width:calc(100% - 32px);margin:0 16px;height:46px;padding:0 14px;background:#202020;border-color:rgba(255,255,255,.08);color:#fff;font-size:15px;font-variant-numeric:tabular-nums}
/* 申报面板会把三个输入框接在同一个容器里，不垫这一行它们会贴在一起 */
.wal-extra .text-in{margin-bottom:8px}
.wal-sbody .text-ok{width:100%;margin-left:0;height:38px;background:#ffd21f;color:#1c1500;font-size:14px;font-weight:600}
.wal-sbody .text-ok:active{background:#e8bd12}
/* hidden 属性必须显式写回 display:none：.wal-chips 有 display:flex、.text-in 有宽度规则，
   都会盖掉 UA 的 [hidden] 默认样式 */
.wal-facts[hidden],
.wal-chips[hidden],
.wal-sbody .text-in[hidden]{display:none}

/* ============================ 会员中心（VIP） ============================
   页面主体全部复用钱包/代理现成块（.wa-vip/.pf-card/.ag-qr/.wal-facts），
   这里只补三处确实存在不下的：弹窗双按钮、长订单号字号、二维码+地址横排。 */
/* 拦截弹窗双按钮：主钮沿用 .text-ok 字面值竖排，副钮同尺寸半透明 ghost */
.vip-acts{display:flex;flex-direction:column;gap:10px;padding:2px 16px 14px}
.vip-acts .text-ok{width:100%;height:40px;margin:0}
.vip-acts .text-ok:disabled{background:#242426;color:#8c8b86}
.vip-ghost{height:40px;border:0;border-radius:10px;background:rgba(255,255,255,.1);color:#c6c5bf;font-size:14px;font-weight:600}
.vip-ghost:active{background:rgba(255,255,255,.16)}
/* 订单号 16 位压在 16px 的事实格子里会撑爆第二列，降字号并允许断行 */
.wal-fact b.sm{font-size:12px;font-weight:600;word-break:break-all}
/* 收款二维码直接复用 .ag-qr 的字面值（含 .ph 退化），地址列在右边 */
.pay-qr{display:flex;align-items:center;gap:12px;margin:0 16px 10px}
.pay-qr-txt{flex:1 1 auto;min-width:0}
.pay-addr{margin:0 0 8px;font-size:12px;line-height:1.5;color:#c6c5bf;word-break:break-all}
.pay-qr-txt .text-ok{width:100%;height:34px;font-size:13px}

/* ============================ 底部弹层 ============================ */
.sheet{position:absolute;inset:0;z-index:60;display:none}
.sheet.on{display:block}
.sheet-mask{position:absolute;inset:0;background:rgba(0,0,0,.56);opacity:0;transition:opacity .26s}
.sheet.on .sheet-mask{opacity:1}
.sheet-body{
  position:absolute;left:0;right:0;bottom:0;max-height:62vh;
  border-radius:16px 16px 0 0;background:#181818;
  padding:0 0 calc(var(--safe-b) + 8px);
  transform:translateY(100%);transition:transform .24s cubic-bezier(.22,.61,.36,1);
  display:flex;flex-direction:column;
}
.sheet.on .sheet-body{transform:translateY(0)}
.sheet-head{flex:none;display:flex;align-items:center;gap:10px;padding:14px 14px 10px}
.sheet-head h3{margin:0;font-size:15px;font-weight:700}
.sheet-close{
  margin-left:auto;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.08);color:var(--fg2);font-size:17px;line-height:1;
}

/* 线上 2609-2649：通用选择器面板，选中行浅底 + 黄✓，带挂件/背景预览 chip */
.pick-list{max-height:52vh;padding:4px 10px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.music-list{overflow-y:auto;padding:0 14px 6px}
.pick-item{
  display:flex;align-items:center;gap:12px;width:100%;height:52px;padding:0 12px;
  border:0;border-radius:10px;background:none;color:#e6e6e6;font-size:14.5px;text-align:left;
}
.pick-item span{flex:1 1 auto}
.pick-item b{flex:none;color:#ffd21f;font-size:15px;opacity:0}
.pick-item.on{background:rgba(255,255,255,.05);color:#fff}
.pick-item.on b{opacity:1}
.pick-item:active{background:rgba(255,255,255,.08)}
.pk-av{flex:none;width:30px;height:30px;border-radius:50%;background:#333}
.pk-bg{
  flex:none;width:34px;height:22px;border-radius:6px;
  border:1px solid rgba(255,255,255,.10);background:linear-gradient(158deg,#3d3010,#0e0e0e);
}
.pk-bg[data-bg="banana"]{background:linear-gradient(158deg,#3d3010,#0e0e0e)}
.pk-bg[data-bg="rose"]{background:linear-gradient(158deg,#2b1418,#0e0e0e)}
.pk-bg[data-bg="warm"]{background:linear-gradient(158deg,#2b1710,#0e0e0e)}
.pk-bg[data-bg="cool"]{background:linear-gradient(158deg,#10192a,#0e0e0e)}
.pk-bg[data-bg="gold"]{background:linear-gradient(158deg,#2a2113,#0e0e0e)}
.pk-bg[data-bg="ink"]{background:linear-gradient(158deg,#1b1d22,#0e0e0e)}

/* 线上 2651-2678：文本输入面板 */
.text-in{
  width:100%;height:46px;margin:4px 0 12px;padding:0 14px;border-radius:10px;
  border:1px solid rgba(255,255,255,.08);background:#202020;color:#fff;font-size:15px;outline:none;
}
.text-in:focus{border-color:rgba(255,210,31,.6)}
.text-foot{flex:none;display:flex;align-items:center;justify-content:space-between;padding:12px 14px 0}
.text-foot span{font-size:12px;color:#6b6b6b}
.text-ok{
  height:38px;padding:0 26px;border:0;border-radius:10px;
  background:#ffd21f;color:#1c1500;font-size:14px;font-weight:600;
}
.text-ok:active{background:#e8bd12}

/* 线上 2680-2724：设置面板 + 开关 */
.set-body{max-height:72vh;padding:0 12px calc(var(--safe-b) + 12px)}
.set-group{margin:4px 0 12px;border-radius:12px;background:#1a1a1a;overflow:hidden}
.set-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;
  min-height:50px;padding:0 14px;border:0;background:none;color:#e6e6e6;font-size:14px;text-align:left;
}
.set-row + .set-row{border-top:1px solid rgba(255,255,255,.05)}
.set-row>span:first-child{flex:1;min-width:0}
.set-btn:active{background:rgba(255,255,255,.05)}
.set-btn.danger{color:#ffd21f}
.set-foot{margin:4px 0 8px;text-align:center;font-size:11.5px;color:#4a4a4a}

.sw{position:relative;flex:none;width:44px;height:26px;padding:0;border:0;border-radius:13px;background:#3a3a3a;transition:background .18s ease}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;
  background:#fff;transition:transform .18s ease}
/* 开态用品牌香蕉黄，圆点补一道暖褐投影把轮廓拉出来 */
.sw.on{background:#ffd21f}
.sw.on::after{transform:translateX(18px);box-shadow:0 1px 3px rgba(90,66,0,.45)}

.music-tabs{flex:none;display:flex;gap:8px;padding:0 14px 10px;overflow-x:auto}
.music-tabs button{
  flex:none;height:28px;padding:0 12px;border-radius:14px;font-size:12.5px;color:var(--fg2);
  background:rgba(255,255,255,.06);border:1px solid var(--line);
}
.music-tabs button.on{background:rgba(255,197,61,.14);border-color:rgba(255,197,61,.5);color:var(--gold);font-weight:600}
.music-item{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;text-align:left;
  border-bottom:1px solid var(--line);font-size:13px}
.music-item:last-child{border-bottom:0}
.music-item.on{color:var(--gold)}
.music-ico{flex:none;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;
  background:rgba(255,255,255,.07);color:var(--fg2)}
.music-ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.music-item.on .music-ico{background:rgba(255,197,61,.16);color:var(--gold)}

/* 线上 1957-1986：三个按钮同一档深灰底 #242424，
   中间「第 N 集 / M」是透底 + 品牌黄加粗，右侧下一集是半透明黄底 */
.sheet-nav{flex:none;display:flex;align-items:center;gap:8px;padding:0 14px 10px}
.sheet-nav button{
  flex:1 1 0;height:36px;border-radius:9px;background:#242424;color:#e6e6e6;
  font-size:13px;font-weight:500;
  display:flex;align-items:center;justify-content:center;gap:4px;
}
.sheet-nav button:disabled{opacity:.34}
.sheet-nav .sn-now{flex:0 0 auto;min-width:92px;background:none;color:#ffd21f;font-weight:700;font-variant-numeric:tabular-nums}
.sheet-nav .sn-next{background:rgba(255,210,31,.13);color:#ffd21f}
/* 线上 1987-2010：选集网格固定一行四列，只有这一块自己滚 */
.sheet-eps{
  display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:8px;
  padding:4px 14px 8px;
  flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
}
.ep-btn{
  height:40px;border-radius:8px;background:#242424;color:#cfcfcf;font-size:13px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.ep-btn.on{background:rgba(255,210,31,.13);color:#ffd21f;font-weight:700}

/* 线上 2726-2730：护眼用覆盖层而不是 filter，三档循环 */
#eye-veil{position:fixed;inset:0;z-index:900;display:none;pointer-events:none}
html.eye-soft #eye-veil{display:block;background:rgba(255,176,74,.10)}
html.eye-warm #eye-veil{display:block;background:rgba(255,146,40,.17)}

/* ============================ 视频专区全屏播放（对齐线上） ============================ */
.reco-play{position:fixed;inset:0;z-index:50;display:none;background:#000}
.reco-play.on{display:block}
.reco-stage{position:absolute;inset:0;overflow:hidden;background:#000}
.reco-bg{position:absolute;inset:-8%;z-index:0;background:#000 center/cover no-repeat;filter:blur(22px) brightness(.5) saturate(1.15);opacity:0;transition:opacity .28s ease;pointer-events:none}
.reco-bg.on{opacity:1}
#reco-video{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;background:transparent;z-index:1;transform:translateZ(0);will-change:transform}
#reco-video.fit-contain{object-fit:contain}
.reco-shade{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.26) 0%,rgba(0,0,0,0) 18%),linear-gradient(0deg,rgba(0,0,0,.66) 0%,rgba(0,0,0,.26) 22%,rgba(0,0,0,0) 44%)}
.reco-boot{position:absolute;z-index:6;left:50%;top:50%;width:62px;height:62px;margin:-31px 0 0 -31px;border-radius:50%;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;transition:opacity .18s ease}
.reco-boot svg{width:30px;height:30px;fill:#fff;margin-left:3px}
.reco-boot.hide{opacity:0;pointer-events:none}
.reco-rail{z-index:5;right:10px;bottom:calc(var(--safe-b) + 132px);gap:14px}
.reco-meta{position:absolute;z-index:5;left:14px;right:78px;bottom:calc(var(--safe-b) + 30px)}
.reco-meta-title{margin:0;font-size:17px;line-height:23px;font-weight:700;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.55);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}
.reco-meta-desc{margin:6px 0 0;font-size:12.5px;line-height:18px;color:#e2e2e2;text-shadow:0 1px 4px rgba(0,0,0,.55);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}
.reco-meta-sub{margin:5px 0 0;font-size:11px;line-height:15px;color:rgba(255,255,255,.62)}
.reco-meta-desc:empty,.reco-meta-sub:empty{display:none}
.reco-progress{position:absolute;left:0;right:0;bottom:0;height:3px;z-index:6;background:rgba(255,255,255,.22);cursor:pointer;touch-action:none;user-select:none}
.reco-progress::before{content:'';position:absolute;left:0;right:0;top:-16px;bottom:0}
#reco-fill{display:block;height:100%;width:0;background:#fff;pointer-events:none}
.reco-progress .watch-knob{opacity:0}
.reco-progress.on{height:5px}
.reco-progress.on .watch-knob{opacity:1}
.reco-play-top{position:absolute;top:calc(var(--safe-t) + 8px);left:10px;right:10px;z-index:7;display:flex;align-items:center;gap:10px;pointer-events:none}
.reco-play-close{pointer-events:auto;flex:none;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff}
.reco-play-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.reco-sheet{z-index:55}
.reco-sheet-list{padding:2px 12px 10px;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:8px}
.reco-sheet-item{display:flex;align-items:center;gap:10px;padding:6px;border-radius:10px;background:#202020;text-align:left}
.reco-sheet-item.on{background:rgba(255,210,31,.13)}
.reco-sheet-cover{flex:none;width:92px;height:123px;border-radius:8px;overflow:hidden;background:#101010}
.reco-sheet-cover img{width:100%;height:100%;object-fit:cover;display:block}
.reco-sheet-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.reco-sheet-name{font-size:13px;line-height:18px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reco-sheet-sub{font-size:11px;color:#9a9a9a}
.reco-sheet-item.on .reco-sheet-name{color:#ffb066}

/* ============================ 投稿 ============================ */
.sub-layer{
  position:absolute;inset:0;z-index:55;display:flex;flex-direction:column;background:var(--bg);
  visibility:hidden;transform:translateY(100%);
  transition:transform .3s cubic-bezier(.32,.72,0,1),visibility .3s;
}
.sub-layer.on{transform:none;visibility:visible}
.sub-head{
  flex:none;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:6px;
  min-height:48px;padding:calc(var(--safe-t) + 6px) 10px 6px;border-bottom:1px solid var(--line);
}
.sub-head h3{margin:0;text-align:center;font-size:15.5px;font-weight:700}
.sub-close{width:36px;height:36px;display:grid;place-items:center;color:var(--fg)}
.sub-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.sub-send{height:32px;padding:0 14px;border-radius:16px;font-size:12.5px;font-weight:700;
  background:var(--gold);color:#1c1500}
.sub-send[disabled]{background:rgba(255,255,255,.08);color:var(--fg3);font-weight:600}
.sub-body{flex:1;min-height:0;overflow-y:auto;padding:14px 14px calc(var(--safe-b) + 24px)}
.sub-notice{margin:0 0 12px;padding:10px 12px;border-radius:10px;font-size:11.5px;line-height:1.6;
  color:var(--gold);background:rgba(255,197,61,.1);border:1px solid rgba(255,197,61,.28)}
.sub-pick{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  width:100%;height:132px;border-radius:14px;
  border:1.5px dashed var(--line2);background:rgba(255,255,255,.04);
  color:var(--fg2);font-size:12.5px;
}
.sub-pick svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.sub-file{margin-top:12px;border-radius:14px;background:var(--bg1);border:1px solid var(--line);overflow:hidden}
#sub-preview{width:100%;aspect-ratio:16/9;background:#000;object-fit:contain}
.sub-file-meta{display:flex;align-items:center;gap:8px;padding:10px 12px 0;font-size:11.5px;color:var(--fg3)}
.sub-file-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--fg)}
.sub-file-x{margin:10px 12px 12px;height:32px;padding:0 12px;border-radius:8px;font-size:12px;
  background:rgba(255,255,255,.07);border:1px solid var(--line);color:var(--fg2)}
.sub-label{display:block;margin:16px 0 7px;font-size:12.5px;color:var(--fg2)}
.sub-input{
  width:100%;height:44px;padding:0 12px;border-radius:10px;outline:0;
  background:rgba(255,255,255,.06);border:1px solid var(--line);color:var(--fg);font-size:14px;
}
.sub-input:focus{border-color:rgba(255,197,61,.5)}
.sub-textarea{height:auto;padding:10px 12px;line-height:1.6;resize:none}
.sub-hint{margin:14px 0 0;font-size:10.5px;line-height:1.7;color:var(--fg3)}
#sub-file-input{display:none}

/* ============================ 底部导航 ============================ */
.tabbar{
  position:absolute;left:0;right:0;bottom:0;z-index:30;
  height:calc(var(--tab-h) + var(--safe-b));padding-bottom:var(--safe-b);
  display:grid;grid-template-columns:repeat(5,1fr);align-items:center;
  background:rgba(12,12,14,.94);backdrop-filter:blur(16px);border-top:1px solid var(--line);
}
/* 线上 1011-1055：默认灰 #8c8b86，选中是白字 + 白图标 + 栏顶 18×2 白色指示条。
   字号不随选中变（15 改 16 会让整排文字左右抖），只换颜色、加粗、图标微抬 */
.tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;height:100%;color:#8c8b86;font-size:11px;line-height:1;letter-spacing:.2px;
  transition:color .22s ease,transform .16s ease}
.tab-ico{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
  transition:transform .26s ease-out,opacity .22s ease}
.tab:active{transform:scale(.94)}
.tab.on{color:#fff}
.tab.on span{font-weight:600}
.tab.on .tab-ico{transform:translateY(-1px) scale(1.06)}
.tab.on::before{
  content:"";position:absolute;top:0;left:50%;
  width:18px;height:2px;border-radius:1px;background:#fff;
  box-shadow:0 0 10px rgba(255,255,255,.5);transform:translateX(-50%);
}
/* 线上 1070-1094：中间那颗是白色描边小胶囊 + 白色加号，整体 22 高 32 宽，
   不凸出、无底色无阴影。我原来那颗 46×46 黄色渐变方块是自己加的，撤掉。
   尺寸必须跟两侧文字同档：svg 13 + padding 3/8 + border 1.5 = 22 高 / 32 宽。
   线上 .tabbar 是 flex，靠 flex:0 0 52px 定槽位；我们的 .tabbar 是 grid，
   flex-basis 对 grid 子项不生效（实测被拉成 60 宽 / 加了 justify-self 又收缩成 31），
   所以槽位宽用 width 写死 52、高度跟栏齐平，保证点击热区与线上同一档。 */
.tab-create{
  width:52px;height:100%;justify-self:center;
  display:flex;align-items:center;justify-content:center;
  padding:0;border:0;background:none;transition:transform .12s ease;
}
.tab-create:active{transform:scale(.93)}
.tab-create svg{
  width:13px;height:13px;padding:3px 8px;box-sizing:content-box;
  border:1.5px solid currentColor;border-radius:999px;
  color:#fff;stroke:currentColor;stroke-width:3;stroke-linecap:round;fill:none;
}

/* ============================ 发布作品（对齐线上：橙色主题） ============================ */
.pub-layer{--pub-g1:#ff6b35;--pub-g2:#ff8c42;--pub-grad:linear-gradient(135deg,#ff6b35,#ff8c42);--pub-ink:#1b0c05;--pub-text:#f3f2f5;--pub-sub:#8b8b93;--pub-line:rgba(255,255,255,.09);--pub-surface:rgba(255,255,255,.045);--pub-err:#ff5a52;position:fixed;inset:0;z-index:60;display:none;flex-direction:column;padding-top:var(--safe-t);background:radial-gradient(140% 52% at 50% -8%,rgba(255,107,53,.16),rgba(255,140,66,.045) 44%,transparent 70%),#08080a}
.pub-layer.on{display:flex}
.pub-step{display:none;flex:1;min-height:0;flex-direction:column}
.pub-step.on{display:flex;animation:pub-step-in .26s cubic-bezier(.22,.61,.36,1) both}
@keyframes pub-step-in{from{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:none}}
.pub-head{position:relative;flex:none;height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 8px}
.pub-head h3{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;max-width:46%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:17px;font-weight:600;letter-spacing:-.2px;color:var(--pub-text)}
.pub-ico{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:rgba(255,255,255,.06);color:var(--pub-text);transition:background .16s,transform .12s}
.pub-ico:active{transform:scale(.92);background:rgba(255,255,255,.12)}
.pub-ico svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.pub-next{min-width:74px;height:34px;padding:0 16px;border:0;border-radius:17px;background:var(--pub-grad);color:#fff;font-size:13px;font-weight:600;letter-spacing:.2px;text-shadow:0 1px 2px rgba(110,30,0,.35);box-shadow:0 4px 14px rgba(255,107,53,.3);transition:transform .12s,box-shadow .2s,background .2s}
.pub-next:active:not(:disabled){transform:scale(.95);box-shadow:0 2px 8px rgba(255,107,53,.24)}
.pub-next:disabled{background:rgba(255,255,255,.07);color:#6d6d75;text-shadow:none;box-shadow:none}
.pub-next.sm{min-width:0;height:30px;padding:0 13px;font-size:12px}
.pub-ghost{min-width:42px;text-align:right;font-size:12px;color:var(--pub-sub)}
.pub-lead{flex:none;display:flex;flex-direction:column;gap:3px;padding:0 16px 14px}
.pub-lead b{font-size:15px;font-weight:600;color:var(--pub-text)}
.pub-lead span{font-size:12px;line-height:1.5;color:var(--pub-sub)}
.pub-album{flex:1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 16px 12px;align-content:start}
.pub-album.is-empty{display:flex;align-items:center;justify-content:center;padding-bottom:60px}
.pub-cell{position:relative;height:0;padding-top:100%;border-radius:12px;overflow:hidden;background:#17171a;touch-action:none;transition:transform .16s,box-shadow .16s,opacity .16s}
.pub-cell.dragging{transform:scale(1.06);box-shadow:0 12px 28px rgba(0,0,0,.62),0 0 0 2px var(--pub-g1);z-index:4;opacity:.95}
.pub-cell>img,.pub-cell>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.pub-cell .pub-no{position:absolute;left:6px;top:6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:rgba(0,0,0,.55);font-size:10px;line-height:20px;text-align:center;color:#fff}
.pub-cell .pub-dur,.pub-thumb .pub-dur{position:absolute;right:6px;bottom:6px;padding:1px 5px;border-radius:5px;background:rgba(0,0,0,.62);font-size:10px;color:#fff;line-height:1.5}
.pub-cell .pub-del{position:absolute;right:0;top:0;width:44px;height:44px;padding:0;border:0;background:none;display:flex;align-items:flex-start;justify-content:flex-end}
.pub-cell .pub-del i{display:block;width:22px;height:22px;margin:4px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:14px;font-style:normal;line-height:22px;text-align:center;box-shadow:0 1px 4px rgba(0,0,0,.4)}
.pub-cell .pub-first{position:absolute;left:6px;bottom:6px;padding:1px 6px;border-radius:5px;background:var(--pub-grad);color:#fff;font-size:10px;font-weight:600;line-height:1.5;text-shadow:0 1px 2px rgba(110,30,0,.35)}
.pub-cell-add{position:relative;display:block;border:1px dashed rgba(255,255,255,.16);background:rgba(255,255,255,.03);color:var(--pub-sub);padding:0;padding-top:100%}
.pub-cell-add:active{background:rgba(255,107,53,.1);border-color:rgba(255,107,53,.5)}
.pub-cell-add svg{position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-20px 0 0 -11px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.pub-cell-add span{position:absolute;left:0;right:0;bottom:14px;font-size:11px;text-align:center}
.pub-empty-cell{display:flex;flex-direction:column;align-items:center;padding:0 12px;text-align:center}
.pub-empty-ico{width:78px;height:78px;margin-bottom:16px;border-radius:26px;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,rgba(255,107,53,.18),rgba(255,140,66,.05));border:1px solid rgba(255,107,53,.22)}
.pub-empty-ico svg{width:34px;height:34px;fill:none;stroke:#ff8c5c;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pub-empty-cell b{font-size:15px;font-weight:600;color:var(--pub-text)}
.pub-empty-cell>span{margin-top:6px;font-size:12px;line-height:1.6;color:var(--pub-sub)}
.pub-empty-btn{margin-top:20px;height:44px;padding:0 26px;border:0;border-radius:22px;background:var(--pub-grad);color:#fff;font-size:14px;font-weight:600;text-shadow:0 1px 2px rgba(110,30,0,.35);box-shadow:0 6px 18px rgba(255,107,53,.28);transition:transform .12s}
.pub-empty-btn:active{transform:scale(.95)}
.pub-foot{flex:none;display:flex;align-items:center;gap:12px;padding:10px 16px calc(var(--safe-b) + 12px);border-top:1px solid var(--pub-line)}
.pub-add{display:flex;align-items:center;gap:7px;height:46px;padding:0 20px;border:0;border-radius:23px;background:var(--pub-grad);color:#fff;font-size:14px;font-weight:600;letter-spacing:.2px;text-shadow:0 1px 2px rgba(110,30,0,.35);box-shadow:0 6px 18px rgba(255,107,53,.28);transition:transform .12s,box-shadow .2s}
.pub-add:active{transform:scale(.95);box-shadow:0 3px 10px rgba(255,107,53,.22)}
.pub-add svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.pub-count{font-size:12px;color:var(--pub-sub);font-variant-numeric:tabular-nums}
.pub-link{margin-left:auto;display:inline-flex;align-items:center;gap:1px;height:44px;padding:0 2px;border:0;background:none;color:#ff9a63;font-size:13px}
.pub-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#pub-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.pub-preview{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;margin:0 16px 12px;border-radius:16px;background:#000;overflow:hidden}
.pub-preview video,.pub-preview img{max-width:100%;max-height:100%;display:block}
.pub-preview img{object-fit:contain}
.pub-preview .pub-multi{position:absolute;inset:0;display:flex;overflow-x:auto;scroll-snap-type:x mandatory}
.pub-preview .pub-multi>*{flex:0 0 100%;scroll-snap-align:center;object-fit:contain}
.pub-tools{flex:none;display:flex;gap:10px;padding:0 16px 12px}
.pub-tool{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;height:46px;border:1px solid var(--pub-line);border-radius:14px;background:var(--pub-surface);color:#dcdce2;font-size:13px;transition:border-color .18s,background .18s,color .18s,transform .12s}
.pub-tool:active{transform:scale(.97)}
.pub-tool.on{border-color:transparent;background:rgba(255,107,53,.12);color:#ff9a63;box-shadow:inset 0 0 0 1px rgba(255,107,53,.55)}
.pub-tool:disabled{opacity:.4}
.pub-tool svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pub-coverbar{flex:none;padding:12px 16px calc(var(--safe-b) + 12px);border-top:1px solid var(--pub-line)}
.pub-coverbar-tip{font-size:12px;color:var(--pub-sub)}
.pub-coverbar input[type="range"]{width:100%;margin:12px 0;accent-color:var(--pub-g1)}
.pub-coverbar-row{display:flex;align-items:center;gap:12px}
.pub-coverbar-row img{width:56px;height:56px;border-radius:10px;object-fit:cover;background:#222}
.pub-musicbar{flex:none;display:flex;align-items:center;gap:8px;padding:12px 16px calc(var(--safe-b) + 8px);border-top:1px solid var(--pub-line)}
.pub-musicbar[hidden]{display:none}
.pub-musicbar svg{flex:none;width:16px;height:16px;fill:none;stroke:#ff8c5c;stroke-width:1.8;stroke-linecap:round}
.pub-musicbar b{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;color:#eee}
.pub-musicbar .pub-link{margin-left:0}
.pub-form{flex:1;min-height:0;overflow-y:auto;padding:0 16px calc(var(--safe-b) + 24px)}
.pub-media{display:flex;gap:12px}
.pub-thumb{flex:none;align-self:flex-start;position:relative;width:88px;height:88px;border-radius:12px;overflow:hidden;background:#17171a}
.pub-thumb>img,.pub-thumb>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pub-fields{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.pub-field{position:relative;display:block;border:1px solid var(--pub-line);border-radius:12px;background:var(--pub-surface);transition:border-color .18s,background .18s,box-shadow .18s}
.pub-field:focus-within{border-color:rgba(255,107,53,.75);background:rgba(255,107,53,.06);box-shadow:0 0 0 3px rgba(255,107,53,.12)}
.pub-field.err{border-color:var(--pub-err);box-shadow:0 0 0 3px rgba(255,90,82,.14);animation:pub-shake .32s}
@keyframes pub-shake{0%,100%{transform:none}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.pub-field input,.pub-field textarea{display:block;width:100%;border:0;border-radius:12px;background:none;color:var(--pub-text);font-size:15px;font-family:inherit;outline:none}
.pub-field input{padding:12px 54px 12px 13px}
.pub-field textarea{padding:11px 13px 22px;resize:none;line-height:1.5}
.pub-field input::placeholder,.pub-field textarea::placeholder{color:#5e5e66}
.pub-count-mini{position:absolute;right:12px;bottom:6px;font-size:10px;color:#5a5a62;font-variant-numeric:tabular-nums;pointer-events:none}
.pub-field input + .pub-count-mini{top:50%;bottom:auto;transform:translateY(-50%)}
.pub-sec{margin-top:22px}
.pub-sec-hd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}
.pub-sec-hd b{font-size:14px;font-weight:600;color:var(--pub-text)}
.pub-sec-hd span{font-size:11px;color:var(--pub-sub)}
.pub-chips{display:flex;flex-wrap:wrap;gap:8px}
.pub-chip{display:inline-flex;align-items:center;gap:3px;height:40px;padding:0 15px;border:1px solid var(--pub-line);border-radius:20px;background:var(--pub-surface);color:#c3c3ca;font-size:13px;transition:border-color .18s,background .18s,color .18s,transform .12s}
.pub-chip:active{transform:scale(.95)}
.pub-chip i{font-style:normal;color:#7a7a83}
.pub-chip.on{border-color:transparent;background:rgba(255,107,53,.13);color:#ff9a63;box-shadow:inset 0 0 0 1px rgba(255,107,53,.55)}
.pub-chip.on i{color:#ff8c5c}
.pub-chip-x{width:12px;height:12px;margin-left:2px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;opacity:.85}
.pub-chip-add{border-style:dashed;color:var(--pub-sub)}
.pub-chip-add svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.pub-topic-new{display:flex;gap:8px;margin-top:10px}
.pub-topic-new[hidden]{display:none}
.pub-topic-new input{flex:1;min-width:0;height:42px;padding:0 14px;border:1px solid rgba(255,107,53,.55);border-radius:21px;background:rgba(255,107,53,.07);color:var(--pub-text);font-size:14px;font-family:inherit;outline:none}
.pub-topic-new input::placeholder{color:#5e5e66}
.pub-topic-new button{flex:none;height:42px;padding:0 20px;border:0;border-radius:21px;background:var(--pub-grad);color:#fff;font-size:13px;font-weight:600}
.pub-vis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pub-vis-item{position:relative;min-height:66px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:12px 14px;border:1px solid var(--pub-line);border-radius:14px;background:var(--pub-surface);color:var(--pub-sub);text-align:left;transition:border-color .18s,background .18s,box-shadow .18s,transform .12s}
.pub-vis-item:active{transform:scale(.97)}
.pub-vis-item svg{position:absolute;right:12px;top:12px;width:17px;height:17px;fill:none;stroke:#74747c;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pub-vis-item b{font-size:14px;font-weight:600;color:var(--pub-text)}
.pub-vis-item span{font-size:11px;color:var(--pub-sub)}
.pub-vis-item.on{border-color:transparent;background:rgba(255,107,53,.11);box-shadow:inset 0 0 0 1px rgba(255,107,53,.6)}
.pub-vis-item.on svg{stroke:#ff8c5c}
.pub-vis-item.on b{color:#ff9a63}
.pub-vis-item.on span{color:rgba(255,154,99,.78)}
.pub-note{margin:20px 0 0;font-size:11px;line-height:1.6;color:#63636b}
.pub-progress{margin-top:16px}
.pub-progress[hidden]{display:none}
.pub-pbar{position:relative;height:6px;border-radius:3px;background:rgba(255,255,255,.08);overflow:hidden}
.pub-pbar>i{position:relative;display:block;height:100%;width:0;border-radius:3px;background:var(--pub-grad);transition:width .28s cubic-bezier(.4,0,.2,1)}
.pub-pbar>i::after{content:'';position:absolute;top:0;bottom:0;left:0;width:42%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);animation:pub-shine 1.1s linear infinite}
@keyframes pub-shine{from{transform:translateX(-100%)}to{transform:translateX(340%)}}
.pub-progress.ok .pub-pbar>i{background:linear-gradient(90deg,#22c55e,#4ade80)}
.pub-progress.ok .pub-pbar>i::after{display:none}
.pub-progress.err .pub-pbar>i{background:linear-gradient(90deg,#ef4444,#ff6b60)}
.pub-progress.err .pub-pbar>i::after{display:none}
.pub-progress>span{display:block;margin-top:8px;font-size:12px;color:var(--pub-sub)}
.pub-progress.ok>span{color:#4ade80}
.pub-progress.err>span{color:#ff8078}
.pub-mine{flex:1;min-height:0;overflow-y:auto;padding:0 16px calc(var(--safe-b) + 16px)}
.pub-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--pub-line)}
.pub-item-thumb{flex:none;width:62px;height:62px;border-radius:12px;overflow:hidden;background:#17171a;position:relative}
.pub-item-thumb img{width:100%;height:100%;object-fit:cover}
.pub-item-thumb .pub-item-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:11px;color:#777}
.pub-item-main{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px}
.pub-item-main h4{margin:0;font-size:14px;font-weight:500;color:var(--pub-text);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pub-item-main p{margin:0;font-size:12px;color:var(--pub-sub);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pub-item-del{flex:none;align-self:center;height:40px;padding:0 14px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:none;color:#b6b6bd;font-size:12px}
.pub-item-del:active{background:rgba(255,90,82,.12);border-color:rgba(255,90,82,.45);color:#ff8078}
.pub-empty{padding:64px 20px;text-align:center;font-size:13px;color:var(--pub-sub);line-height:1.9}
@media (min-width:560px){.pub-layer{padding-left:calc((100% - 520px)/2);padding-right:calc((100% - 520px)/2)}}
@media (prefers-reduced-motion:reduce){.pub-step.on,.pub-pbar>i::after,.pub-field.err{animation:none}}
/* ---- 配乐面板 ---- */
#music-sheet{z-index:70}
.music-body{max-height:68vh}
.music-tabs{flex:none;display:flex;gap:18px;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.06)}
.music-tabs button{position:relative;padding:0 0 8px;border:0;background:none;color:#9a9a9a;font-size:14px}
.music-tabs button.on{color:#fff;font-weight:600}
.music-tabs button.on::after{content:'';position:absolute;left:50%;bottom:0;width:18px;height:2px;margin-left:-9px;border-radius:1px;background:#ffd21f}
.music-list{flex:1;min-height:0;overflow-y:auto;padding:6px 0 calc(var(--safe-b) + 8px)}
.music-row{display:flex;align-items:center;gap:10px;padding:11px 16px}
.music-row.on{background:rgba(255,210,31,.09)}
.music-row-main{flex:1;min-width:0}
.music-row-main b{display:block;font-size:14px;font-weight:500;color:#eee;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.music-row-main span{font-size:11px;color:var(--text-3)}
.music-play{flex:none;width:30px;height:30px;padding:0;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:none;color:#ddd;font-size:11px}
.music-play.on{border-color:#ffd21f;color:#ffd21f}
.music-use{flex:none;height:28px;padding:0 12px;border:0;border-radius:14px;background:#ffd21f;color:#1c1500;font-size:12px;font-weight:600}
.music-use.ghost{background:none;border:1px solid rgba(255,255,255,.16);color:#bbb}
.music-empty{padding:44px 24px;text-align:center;font-size:13px;color:var(--text-3);line-height:1.9}

/* ============================ 侧边栏 ============================ */
.drawer{position:absolute;inset:0;z-index:58;display:none}
.drawer.on{display:block}
.drawer-mask{position:absolute;inset:0;background:rgba(0,0,0,.6)}
.drawer-body{
  position:absolute;left:0;top:0;bottom:0;width:78%;max-width:310px;
  display:flex;flex-direction:column;background:var(--bg1);border-right:1px solid var(--line2);
  transform:translateX(-100%);transition:transform .28s cubic-bezier(.32,.72,0,1);
}
.drawer.on .drawer-body{transform:none}
.drawer-head{flex:none;display:flex;align-items:center;gap:8px;
  padding:calc(var(--safe-t) + 12px) 14px 10px}
.drawer-head b{font-size:15px;font-weight:800}
.drawer-x{margin-left:auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.07);color:var(--fg2)}
.drawer-x svg{width:16px;height:16px}
.drawer-scroll{flex:1;min-height:0;overflow-y:auto;padding:4px 14px calc(var(--safe-b) + 20px)}
.drawer-user{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;
  background:rgba(255,255,255,.04);border:1px solid var(--line)}
.drawer-user h3{margin:0;font-size:15px;font-weight:700}
.drawer-user p{margin:4px 0 0;font-size:10.5px;color:var(--fg3)}
.drawer-sec{display:flex;align-items:center;margin:16px 0 10px}
.drawer-sec>span{font-size:13px;font-weight:700}
.drawer-sec-more{margin-left:auto;display:flex;align-items:center;gap:2px;font-size:11.5px;color:var(--fg3)}
.drawer-sec-more svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.drawer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.drawer-card{position:relative;border-radius:10px;overflow:hidden;background:var(--bg2);aspect-ratio:2/3}
.drawer-card img{width:100%;height:100%;object-fit:cover}
.drawer-card span{position:absolute;left:0;right:0;bottom:0;padding:10px 6px 5px;font-size:10.5px;color:#fff;
  background:linear-gradient(0deg,rgba(0,0,0,.75),rgba(0,0,0,0));
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer-menu{margin-top:16px;border-radius:12px;overflow:hidden;
  background:rgba(255,255,255,.04);border:1px solid var(--line)}
.drawer-item{display:flex;align-items:center;width:100%;height:46px;padding:0 12px;
  font-size:13.5px;text-align:left;border-bottom:1px solid var(--line)}
.drawer-item:last-child{border-bottom:0}
.di-tip{margin-left:auto;font-style:normal;font-size:11px;color:var(--fg3)}

/* ============================ 公告 ============================ */
.nt-list{display:flex;flex-direction:column;gap:8px}
.nt-item{display:flex;align-items:center;gap:10px;width:100%;padding:12px;border-radius:12px;
  text-align:left;background:var(--bg1);border:1px solid var(--line)}
.nt-item-tx{flex:1;min-width:0}
.nt-item-tx b{display:block;font-size:13px;font-weight:600;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nt-item-tx span{display:block;margin-top:3px;font-size:10.5px;color:var(--fg3)}
.nt-item-ar{flex:none;width:7px;height:7px;border-right:1.6px solid var(--fg3);
  border-bottom:1.6px solid var(--fg3);transform:rotate(-45deg)}
.nt-art{padding:2px}
.nt-art h2{margin:4px 0 0;font-size:17px;font-weight:800;line-height:1.4}
.nt-art-meta{margin:8px 0 0;font-size:11px;color:var(--fg3)}
.nt-body{margin-top:14px;font-size:13.5px;line-height:1.9;color:var(--fg2)}
.nt-body p{margin:0 0 12px}
.nt-body b{color:var(--fg)}

/* ============================ 长按快捷菜单 ============================ */
.lp{position:absolute;inset:0;z-index:62;display:none}
.lp.on{display:block}
.lp-mask{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.lp-body{
  position:absolute;left:12px;right:12px;bottom:calc(var(--tab-h) + var(--safe-b) + 12px);
  padding:14px;border-radius:18px;
  background:rgba(24,24,28,.98);border:1px solid var(--line2);
  box-shadow:0 16px 48px rgba(0,0,0,.6);
  transform:translateY(18px);opacity:0;transition:transform .24s,opacity .24s;
}
.lp.on .lp-body{transform:none;opacity:1}
.lp-head{display:flex;align-items:center;gap:10px}
.lp-copy b{display:block;font-size:14px;font-weight:700}
.lp-copy span{display:block;margin-top:3px;font-size:10.5px;color:var(--fg3)}
.lp-x{margin-left:auto;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.08);color:var(--fg2);font-size:15px;line-height:1}
.lp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}
.lp-cell{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px;
  border-radius:12px;font-size:11px;color:var(--fg2);
  background:rgba(255,255,255,.05);border:1px solid var(--line)}
.lp-cell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}
.lp-cell:active{background:rgba(255,255,255,.1)}
.lp-speed{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.lp-speed-top{display:flex;align-items:center;gap:8px}
.lp-speed-lab{font-size:12.5px;font-weight:700}
.lp-speed-tip{margin-left:auto;font-size:10px;color:var(--fg3)}
.lp-chips{display:flex;gap:6px;margin-top:10px}
.lp-chip{flex:1;height:32px;border-radius:8px;font-size:11.5px;color:var(--fg2);
  background:rgba(255,255,255,.06);border:1px solid var(--line)}
.lp-chip.on{background:rgba(255,197,61,.16);border-color:rgba(255,197,61,.5);color:var(--gold);font-weight:700}

/* ============================ 清屏 / 提示 ============================ */
#app.clear .topbar,
#app.clear .meta,
#app.clear .rail,
#app.clear .watchbar,
#app.clear .swipe-tip{opacity:0;visibility:hidden;pointer-events:none}
.clear-exit{
  position:absolute;right:12px;bottom:calc(var(--tab-h) + var(--safe-b) + 22px);z-index:35;
  height:32px;padding:0 14px;border-radius:16px;font-size:11.5px;color:#fff;
  background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(6px);
  display:none;
}
.clear-exit.on{display:block}
.toast{
  position:absolute;left:50%;bottom:calc(var(--tab-h) + var(--safe-b) + 96px);z-index:90;
  max-width:78%;padding:9px 16px;border-radius:10px;text-align:center;
  font-size:12.5px;line-height:1.5;color:#fff;background:rgba(0,0,0,.82);backdrop-filter:blur(8px);
  transform:translate(-50%,10px);opacity:0;pointer-events:none;
  transition:transform .22s,opacity .22s;
}
.toast.on{transform:translate(-50%,0);opacity:1}
.search-hint{text-align:left}
@media (max-width:360px){
  /* 线上 2296-2304：窄屏选集收成一行三列，栏目字号降一档 */
  .sheet-eps{grid-template-columns:repeat(3, minmax(0, 1fr))}
  .channels button{font-size:12.5px}
  .cat-row button{font-size:12.5px}
  .wa-earn,.wa-shop{grid-template-columns:1fr}
}
@media (min-width:720px){
  /* 线上 2289-2292：宽屏不锁宽度，选集按 86px 下限自动加列 */
  .sheet-eps{grid-template-columns:repeat(auto-fill, minmax(86px, 1fr))}
}

/* ===== VIP 页重构新增（全部复用现有字面值：#ffd21f / rgba(255,210,31) / #1a1a1b / #8c8b86 / #1c1500）=====
   不引入任何新颜色/新尺寸，只把会员充值卡片、去提现链接、订单倒计时、黄果号 VIP 角标补齐 */
.vip-reco-row{display:flex;gap:10px;margin:14px 16px 0}
#pay-sheet .vip-reco-row{margin:0}
.vip-reco{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:4px;padding:12px 10px;border-radius:12px;border:1px solid rgba(255,210,31,.26);background:radial-gradient(120% 100% at 100% 0%, rgba(255,210,31,.13), rgba(255,210,31,0) 62%), #1a1a1b;color:#fff;text-align:left;font:inherit;cursor:pointer}
.vip-reco b{font-size:14px;font-weight:600;line-height:1.2}
.vip-reco span{font-size:11px;line-height:1.3;color:#8c8b86}
.wa-lnk{border:0;background:none;padding:0;margin:0 0 0 6px;font:inherit;font-weight:600;color:#ffd21f;cursor:pointer}
.os-count{margin:0 0 10px;padding:0 16px;font-size:12px;line-height:1.5;color:#8c8b86}
.os-count.warn{color:#ffd21f}
.uid-vip{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:6px;font-style:normal;font-size:10px;font-weight:700;line-height:16px;background:#ffd21f;color:#1c1500;vertical-align:middle}

/* 明细卡三 tab：.ag-segs 同一套字面值只改列数 4→3；充值按钮嵌进两张卡后与上方小字拉开间距 */
#vip-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
#rc-coin-card,#rc-vip-card{margin-top:10px}


/* plan-sheet 居中弹出（仅特化本面板，其他 sheet 不受影响） */
#plan-sheet .sheet-body{left:50%;right:auto;bottom:auto;top:50%;width:min(86%,340px);max-height:70vh;border-radius:16px;transform:translate(-50%,-54%)}
#plan-sheet.on .sheet-body{transform:translate(-50%,-50%)}
