/* ============================================================================
   创世盲盒 · Obsidian Terminal  (v33, 2026-09-19)
   设计系统: 近黑底 / 单 accent 酸性绿 #c8ff3d / 三级灰文字 / 1px 描边 / 2-4px 圆角 / mono 数字
   加载顺序: style.css → obsidian.css (本文件覆盖旧视觉; 三幕节拍/引擎/陀螺仪 结构规则不动)
   卡本身 (holocard.* / holo/ 五档框) 是 card 资产, 本文件零触碰。
   ============================================================================ */

:root {
  --ob-bg: #07090d;
  --ob-bg2: #0b0e14;
  --ob-panel: #0d1117;
  --ob-panel2: #111722;
  --ob-line: rgba(255,255,255,.08);
  --ob-line2: rgba(255,255,255,.14);
  --ob-t1: #e6edf3;
  --ob-t2: #8b949e;
  --ob-t3: #484f58;
  --ob-acc: #c8ff3d;
  --ob-acc-dim: rgba(200,255,61,.14);
  --ob-acc-line: rgba(200,255,61,.45);
  --ob-acc-glow: rgba(200,255,61,.35);
  --ob-red: #ff5d5d;
  --ob-r-common: #aab4c0; --ob-r-rare: #5eead4; --ob-r-epic: #c084fc; --ob-r-legendary: #f6d078; --ob-r-mythic: #ff7a6e;
  /* v36 Typography (全换): Orbitron=品牌/大标题  Chakra Petch=UI 标签/按钮  Share Tech Mono=哈希/序列号/数字  站酷庆科黄油体=中文展示标题 */
  --ob-hero: 'Orbitron', 'Chakra Petch', 'ZCOOL QingKe HuangYou', 'Noto Sans SC', system-ui, sans-serif;
  --ob-mono: 'Share Tech Mono', 'Chakra Petch', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ob-disp: 'Chakra Petch', 'ZCOOL QingKe HuangYou', 'Noto Sans SC', system-ui, sans-serif;
  --ob-zh: 'ZCOOL QingKe HuangYou', 'Chakra Petch', 'Noto Sans SC', sans-serif;
  --ob-sans: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --ob-r: 4px;
  --ob-r2: 6px;
  --ink: #0d1117; --ink-heavy: #07090d; --gold: var(--ob-acc); --cyan: var(--ob-acc);
  --panel-bg: var(--ob-panel);
}

/* ---------- 全局底 ---------- */
html, body { background: var(--ob-bg) !important; color: var(--ob-t1); }
body { font-family: var(--ob-sans) !important; -webkit-font-smoothing: antialiased; }
body::before {
  background:
    linear-gradient(rgba(7,9,13,.55), rgba(7,9,13,.92)),
    url('/static/ob/bg_dark.webp') center top / cover no-repeat !important;
}
body::after { /* 细网格 */
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 100%);
}
::selection { background: var(--ob-acc); color: #000; }
.holo-text { background: linear-gradient(120deg, #e6edf3, var(--ob-acc), #e6edf3); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono, .num { font-family: var(--ob-mono) !important; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* 稀有度文字色 (UI 只在标签/边框用) */
.r-common { color: var(--ob-r-common) !important; } .r-rare { color: var(--ob-r-rare) !important; } .r-epic { color: var(--ob-r-epic) !important; }
.r-legendary { color: var(--ob-r-legendary) !important; } .r-mythic { color: var(--ob-r-mythic) !important; }

/* ---------- 顶栏 (替代 ticker 的固定位置; ticker 移入首页 feed) ---------- */
#ticker-bar { display: none !important; }
#ob-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: calc(3rem + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: rgba(7,9,13,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ob-line);
}
#ob-brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
#ob-brand img { width: 1.55rem; height: auto; }
#ob-brand .bw { font-family: var(--ob-disp); font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; color: var(--ob-t1); }
#ob-brand .bw i { color: var(--ob-acc); font-style: normal; }
#ob-brand .bt { font-family: var(--ob-mono); font-size: .58rem; color: var(--ob-t3); letter-spacing: .14em; margin-left: .2rem; padding: .1rem .35rem; border: 1px solid var(--ob-line); border-radius: 2px; }
#ob-right { display: flex; align-items: center; gap: .45rem; }
.ob-icon-btn {
  width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--ob-r);
  border: 1px solid var(--ob-line); background: var(--ob-panel); color: var(--ob-t2); font-size: .8rem; cursor: pointer; transition: all .15s;
}
.ob-icon-btn:hover { border-color: var(--ob-line2); color: var(--ob-t1); }
.ob-icon-btn:active { transform: scale(.94); }
#ob-wallet {
  display: inline-flex; align-items: center; gap: .4rem; height: 2rem; padding: 0 .7rem; border-radius: var(--ob-r);
  border: 1px solid var(--ob-acc-line); background: var(--ob-acc-dim); color: var(--ob-acc); font-family: var(--ob-mono); font-size: .7rem; font-weight: 600; cursor: pointer; transition: all .15s; white-space: nowrap;
}
#ob-wallet.on { border-color: var(--ob-line2); background: var(--ob-panel); color: var(--ob-t1); }
#ob-wallet .dot { width: .42rem; height: .42rem; border-radius: 50%; background: var(--ob-acc); box-shadow: 0 0 8px var(--ob-acc); }
#ob-wallet:active { transform: scale(.96); }
.view { padding-top: calc(3.6rem + env(safe-area-inset-top)) !important; padding-bottom: 6rem !important; }

/* ---------- 底部导航 ---------- */
#bottom-tab {
  background: rgba(7,9,13,.9) !important; border-top: 1px solid var(--ob-line) !important; box-shadow: none !important;
  gap: 0; padding: .35rem .5rem calc(.45rem + env(safe-area-inset-bottom));
}
.tab-item { border: 0 !important; border-radius: var(--ob-r); color: var(--ob-t3) !important; font-weight: 600 !important; font-size: .62rem !important; letter-spacing: .06em; gap: .22rem !important; padding: .4rem 0 .3rem !important; }
.tab-item .tab-icon { width: auto !important; height: auto !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.tab-item .tab-icon img { display: none !important; }
.tab-item .tab-icon .ob-ti { font-size: 1.05rem; line-height: 1; color: inherit; }
.tab-item.active { color: var(--ob-acc) !important; background: none !important; box-shadow: none !important; transform: none !important; }
.tab-item.active .tab-icon { background: none !important; box-shadow: none !important; color: var(--ob-acc) !important; }
.nav-btn.active::after { background: var(--ob-acc) !important; bottom: auto !important; }
.tab-item.active::after { content: ''; position: absolute; top: -.35rem; left: 30%; right: 30%; height: 2px; background: var(--ob-acc); box-shadow: 0 0 10px var(--ob-acc); border-radius: 0 0 2px 2px; }
.tab-label { font-family: var(--ob-sans) !important; }

/* ---------- 通用组件 ---------- */
.ob-card { background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: var(--ob-r2); }
.ob-label { font-family: var(--ob-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ob-t3); }
.ob-sec { display: flex; align-items: center; justify-content: space-between; margin: 1.1rem 0 .55rem; }
.ob-sec .ob-label::before { content: '// '; color: var(--ob-acc); }
.ob-sec a, .ob-sec button.lnk { font-family: var(--ob-mono); font-size: .62rem; color: var(--ob-t2); text-decoration: none; letter-spacing: .06em; }
.ob-sec a:hover { color: var(--ob-acc); }
.ob-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 2.5rem; padding: 0 1.1rem;
  border-radius: var(--ob-r); border: 1px solid var(--ob-line2); background: var(--ob-panel2); color: var(--ob-t1);
  font-family: var(--ob-disp); font-weight: 700; font-size: .85rem; letter-spacing: .08em; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.ob-btn:hover { border-color: rgba(255,255,255,.28); }
.ob-btn:active { transform: scale(.97); }
.ob-btn.acc { background: var(--ob-acc); color: #05070a; border-color: var(--ob-acc); }
.ob-btn.acc:hover { box-shadow: 0 0 22px var(--ob-acc-glow); }
.ob-btn.ghost { background: transparent; }
.ob-btn.danger { border-color: rgba(255,93,93,.4); color: var(--ob-red); background: rgba(255,93,93,.06); }
.ob-btn:disabled { opacity: .45; cursor: not-allowed; }
.ob-chip {
  display: inline-flex; align-items: center; gap: .3rem; height: 1.7rem; padding: 0 .7rem; border-radius: var(--ob-r);
  border: 1px solid var(--ob-line); background: transparent; color: var(--ob-t2); font-size: .7rem; font-weight: 600; cursor: pointer; transition: all .15s; white-space: nowrap; font-family: var(--ob-sans);
}
.ob-chip.active, .filter-chip.active { border-color: var(--ob-acc-line) !important; color: var(--ob-acc) !important; background: var(--ob-acc-dim) !important; box-shadow: none !important; }
.filter-chip { border-radius: var(--ob-r) !important; border: 1px solid var(--ob-line) !important; color: var(--ob-t2) !important; font-weight: 600 !important; background: transparent !important; padding: .28rem .7rem !important; font-size: .7rem !important; }
.pill-btn, .ghost-btn, .danger-btn, .mk-sort-btn, .lab-btn, .sell-submit, .mc-buy, .ml-act {
  border-radius: var(--ob-r) !important; font-family: var(--ob-disp) !important; letter-spacing: .06em; font-weight: 700 !important;
  background: var(--ob-panel2) !important; border: 1px solid var(--ob-line2) !important; color: var(--ob-t1) !important; box-shadow: none !important; transform: none !important;
}
.pill-btn:hover, .ghost-btn:hover { border-color: rgba(255,255,255,.3) !important; transform: none !important; }
.pill-btn:active, .ghost-btn:active, .mc-buy:active { transform: scale(.97) !important; }
.mc-buy, .sell-submit, .lab-btn:not(.lab-btn-ghost) { background: var(--ob-acc) !important; color: #05070a !important; border-color: var(--ob-acc) !important; }
.danger-btn { border-color: rgba(255,93,93,.45) !important; color: var(--ob-red) !important; background: rgba(255,93,93,.06) !important; }
.act3-cyan { border-color: var(--ob-acc-line) !important; color: var(--ob-acc) !important; background: var(--ob-acc-dim) !important; box-shadow: none !important; }

/* 统计格 */
.pack-stat, .luck-cell {
  background: var(--ob-panel) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r2) !important; padding: .7rem .8rem !important; text-align: left !important; position: relative;
}
.pack-stat .ps-num, .luck-cell .lc-num { font-family: var(--ob-mono) !important; font-weight: 600 !important; font-size: 1.25rem !important; color: var(--ob-t1) !important; letter-spacing: -.01em; }
.pack-stat .ps-label, .luck-cell .lc-label { font-family: var(--ob-mono); font-size: .56rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ob-t3) !important; margin-top: .25rem !important; }

/* 弹窗 */
.box-modal-mask { background: rgba(3,4,6,.78) !important; backdrop-filter: blur(6px); }
.box-modal-box {
  background: var(--ob-panel) !important; border: 1px solid var(--ob-line2) !important; border-radius: var(--ob-r2) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.7) !important; padding: 1.35rem 1.25rem !important; animation: ob-modal .22s ease-out !important;
}
@keyframes ob-modal { from { transform: translateY(12px); opacity: 0; } }
.box-modal-close { background: var(--ob-panel2) !important; border: 1px solid var(--ob-line) !important; color: var(--ob-t2) !important; border-radius: var(--ob-r) !important; }
.modal-title { font-family: var(--ob-disp); letter-spacing: .08em; color: var(--ob-t1) !important; }
.modal-title .fa-trophy { color: var(--ob-acc) !important; }
.gtab, .ctab, .seg-tab { border-radius: var(--ob-r) !important; border: 1px solid var(--ob-line) !important; background: transparent !important; color: var(--ob-t2) !important; font-weight: 600 !important; box-shadow: none !important; }
.gtab.active, .ctab.active, .seg-tab.active { border-color: var(--ob-acc-line) !important; color: var(--ob-acc) !important; background: var(--ob-acc-dim) !important; }
#codex-tabs, #guide-tabs, .seg-tabs { gap: .4rem; }
.text-amber-200, .text-amber-100, .text-amber-300, b.text-amber-200 { color: var(--ob-acc) !important; }
.odds-sec-title { font-family: var(--ob-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ob-t3) !important; border-left: 2px solid var(--ob-acc); padding-left: .5rem; margin-bottom: .5rem; }
.odds-cell { background: var(--ob-panel2) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; }
.odds-cell b { font-family: var(--ob-mono); font-weight: 600; }
.odds-text { color: var(--ob-t2) !important; }
.story-point .sp-icon, .howto-item .hi-icon, .wallet-head-icon, .mi-icon, .reset-icon { background: var(--ob-acc-dim) !important; color: var(--ob-acc) !important; border: 1px solid var(--ob-acc-line) !important; border-radius: var(--ob-r) !important; box-shadow: none !important; }
.story-hero, .story-cta, .howto-item, .story-point { background: var(--ob-panel2) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r2) !important; }
.cond-row { background: var(--ob-panel2) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; }
.cond-tag { border-radius: 2px !important; font-family: var(--ob-mono) !important; letter-spacing: .06em; }
.wallet-opt { background: var(--ob-panel2) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; color: var(--ob-t1) !important; }
.wallet-opt:hover { border-color: var(--ob-line2) !important; }
.wallet-opt .w-icon { border-radius: var(--ob-r) !important; }
.wallet-success { color: var(--ob-acc) !important; }
.text-emerald-300 { color: var(--ob-acc) !important; }
.rank-row { background: var(--ob-panel2) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; }
.rank-row.rank-top { border-color: var(--ob-acc-line) !important; }
.rk-val { font-family: var(--ob-mono) !important; color: var(--ob-t1) !important; }
.rk-val i { color: var(--ob-t3); font-style: normal; font-size: .6rem; }

/* toast / sub-page */
#toast { background: var(--ob-panel) !important; border: 1px solid var(--ob-acc-line) !important; color: var(--ob-t1) !important; border-radius: var(--ob-r) !important; font-family: var(--ob-mono); font-size: .72rem !important; box-shadow: 0 10px 40px rgba(0,0,0,.6) !important; }
#sub-page { background: var(--ob-bg) !important; }
#sub-head { background: rgba(7,9,13,.9) !important; border-bottom: 1px solid var(--ob-line) !important; backdrop-filter: blur(12px); }
#sub-title { font-family: var(--ob-disp) !important; letter-spacing: .1em; color: var(--ob-t1) !important; }
#sub-back { background: var(--ob-panel) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; color: var(--ob-t2) !important; }

/* ============================================================================
   首页 · OPEN
   ============================================================================ */
#view-open .hero-app { padding-top: 0 !important; min-height: 0 !important; }
#title-zone, #home-title, #title-art, .title-sub, #cta-zone .img-open-btn .ob-img, #ob-bang, #box-glow, #cloud-base { display: none !important; }

/* LIVE feed 横滚 */
#ob-feed { margin: .2rem -1rem 0; padding: 0 1rem; position: relative; }
#ob-feed .ob-sec { margin: .3rem 0 .45rem; }
#ob-feed .live { display: inline-flex; align-items: center; gap: .35rem; }
#ob-feed .live::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: var(--ob-acc); box-shadow: 0 0 8px var(--ob-acc); animation: ob-blink 1.4s ease-in-out infinite; }
@keyframes ob-blink { 50% { opacity: .35; } }
#ob-feed-track { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; scroll-snap-type: x proximity; }
#ob-feed-track::-webkit-scrollbar { display: none; }
.fd-item {
  flex: none; display: flex; align-items: center; gap: .55rem; height: 2.65rem; padding: 0 .7rem 0 .45rem; scroll-snap-align: start;
  background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: var(--ob-r); border-left: 2px solid var(--fc, var(--ob-t3)); text-decoration: none; color: inherit;
}
.fd-item.rc-legendary, .fd-item.rc-mythic { background: linear-gradient(90deg, color-mix(in srgb, var(--fc) 12%, var(--ob-panel)), var(--ob-panel)); }
.fd-thumb { width: 1.65rem; height: 2.15rem; border-radius: 2px; object-fit: cover; background: var(--ob-panel2); flex: none; }
.fd-body { display: flex; flex-direction: column; line-height: 1.15; }
.fd-name { font-size: .7rem; font-weight: 700; color: var(--ob-t1); max-width: 8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-meta { font-family: var(--ob-mono); font-size: .56rem; color: var(--ob-t3); letter-spacing: .04em; }
.fd-meta b { color: var(--fc); font-weight: 600; }
.fd-val { margin-left: .3rem; font-family: var(--ob-mono); font-size: .72rem; font-weight: 600; color: var(--ob-t1); }
.fd-val small { font-size: .5rem; color: var(--ob-t3); margin-left: .15rem; }

/* 舞台: 黑曜石立方 */
#stage-zone { min-height: 0 !important; padding: .4rem 0 0 !important; }
#box-stage { width: min(21rem, 78vw) !important; }
#stage-zone #box-stage { margin-top: 0 !important; }
#box-stage::after { display: none !important; }
#ob-stage-ring { position: absolute; inset: 6% 6% 2%; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, var(--ob-acc-glow), transparent 60%); filter: blur(28px); opacity: .55; animation: ob-breathe 4s ease-in-out infinite; }
@keyframes ob-breathe { 50% { opacity: .85; transform: scale(1.06); } }
#ob-stage-grid { position: absolute; left: -10%; right: -10%; bottom: -4%; height: 42%; pointer-events: none; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(200,255,61,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(200,255,61,.22) 1px, transparent 1px); background-size: 34px 22px;
  transform: perspective(300px) rotateX(62deg); transform-origin: 50% 100%; mask-image: linear-gradient(to top, #000 20%, transparent 100%); }
.box-cube {
  --box-img: url('/static/ob/cube_closed.webp?v2') !important;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.65)) drop-shadow(0 0 18px rgba(200,255,61,.18));
}
.box-cube::after { display: none !important; }   /* 旧 sheen 蒙版依赖旧盒形, 关掉 */
#float-group .box-cube::before { display: none !important; }
#float-group .box-cube { animation: ob-float 4.2s ease-in-out infinite !important; }
@keyframes ob-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
#box-cube.tapped { --box-img: url('/static/ob/cube_closed.webp?v2') !important; filter: drop-shadow(0 22px 34px rgba(0,0,0,.65)) drop-shadow(0 0 36px rgba(var(--tap-rgb,200,255,61),.6)) !important; }
#box-cube .tap-ring { border-color: rgba(var(--tap-rgb,200,255,61),.7) !important; }
/* 充能态 (幕一): 立方不换图, 靠 drop-shadow 着色 (五档) */
.box-cube.charge-common    { --box-img: url('/static/ob/cube_closed.webp?v2') !important; filter: drop-shadow(0 0 36px rgba(210,225,245,.55)) !important; }
.box-cube.charge-rare      { --box-img: url('/static/ob/cube_closed.webp?v2') !important; filter: drop-shadow(0 0 42px rgba(94,234,212,.65)) !important; }
.box-cube.charge-epic      { --box-img: url('/static/ob/cube_closed.webp?v2') !important; filter: drop-shadow(0 0 48px rgba(192,132,252,.7)) !important; }
.box-cube.charge-legendary { --box-img: url('/static/ob/cube_closed.webp?v2') !important; filter: drop-shadow(0 0 54px rgba(246,208,120,.75)) !important; }
.box-cube.charge-mythic    { --box-img: url('/static/ob/cube_closed.webp?v2') !important; filter: drop-shadow(0 0 64px rgba(255,122,110,.8)) !important; }
.box-cube.opening-mid, .box-cube.opening-burst { --box-img: url('/static/ob/cube_open.webp?v2') !important; }
.box-cube.opening-burst { filter: drop-shadow(0 0 70px rgba(200,255,61,.85)) brightness(1.25) !important; }

/* 主 CTA: 终端式按钮 */
#cta-zone { margin-top: .25rem !important; padding-bottom: .5rem !important; }
.img-open-btn {
  width: min(22rem, 88vw) !important; aspect-ratio: auto !important; height: 3.6rem; transform: none !important;
  background: var(--ob-acc) !important; border: 1px solid var(--ob-acc) !important; border-radius: var(--ob-r2) !important;
  display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; gap: .8rem; padding: 0 1.1rem 0 1.25rem !important; margin: 0 auto !important; line-height: 1 !important;
  color: #05070a; box-shadow: 0 0 0 1px rgba(200,255,61,.25), 0 10px 40px rgba(200,255,61,.22), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .12s, box-shadow .2s, filter .2s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.img-open-btn::after { display: none !important; }
.img-open-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 250% 100%; animation: ob-sheen 3.4s linear infinite; mix-blend-mode: overlay; pointer-events: none; }
@keyframes ob-sheen { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.img-open-btn:hover { filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(200,255,61,.4), 0 14px 50px rgba(200,255,61,.32); }
.img-open-btn.pressing, .img-open-btn:active { transform: scale(.975) !important; filter: brightness(.92); }
.img-open-btn:disabled { filter: saturate(.3) brightness(.6); }
.img-open-btn .ob-l { display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center; gap: .15rem; line-height: 1.05 !important; text-align: left; flex: 1 1 auto; min-width: 0; }
.img-open-btn .ob-l b { display: block; font-family: var(--ob-disp); font-weight: 700; font-size: 1.25rem; letter-spacing: .18em; line-height: 1 !important; white-space: nowrap; }
.img-open-btn .ob-l span { display: block; font-family: var(--ob-mono); font-size: .58rem; letter-spacing: .14em; opacity: .7; line-height: 1 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.img-open-btn .ob-p { flex: none; font-family: var(--ob-mono); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; display: flex !important; align-items: baseline; gap: .25rem; line-height: 1 !important; white-space: nowrap; padding-left: .8rem; border-left: 1px solid rgba(5,7,10,.25); }
.img-open-btn .ob-p small { font-size: .6rem; opacity: .7; letter-spacing: .08em; }
.img-open-btn.phase-red { filter: none !important; } /* 旧交替机制无效化 */

/* 数据条 (4 格) */
#ob-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin-top: .55rem; }
#ob-stats .st { background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: var(--ob-r); padding: .5rem .45rem; min-width: 0; }
#ob-stats .st b { display: block; font-family: var(--ob-mono); font-weight: 600; font-size: .86rem; color: var(--ob-t1); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ob-stats .st b small { font-size: .55rem; color: var(--ob-t3); margin-left: .1rem; }
#ob-stats .st span { display: block; font-family: var(--ob-mono); font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ob-t3); margin-top: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ob-stats .st.acc b { color: var(--ob-acc); }

/* 概率 & 品相 折叠面板 */
#ob-odds { margin-top: .6rem; }
#ob-odds summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: .7rem .85rem; cursor: pointer; font-size: .75rem; font-weight: 700; color: var(--ob-t1); }
#ob-odds summary::-webkit-details-marker { display: none; }
#ob-odds summary .ob-label { color: var(--ob-t2); }
#ob-odds summary i { color: var(--ob-t3); transition: transform .2s; font-size: .7rem; }
#ob-odds[open] summary i { transform: rotate(180deg); }
#ob-odds .ob-body { padding: 0 .85rem .85rem; border-top: 1px solid var(--ob-line); }
.odds-bars { display: grid; gap: .38rem; margin-top: .7rem; }
.ob-row { display: grid; grid-template-columns: 3.2rem 1fr 3rem; align-items: center; gap: .55rem; font-size: .68rem; }
.ob-row .nm { font-weight: 700; }
.ob-row .bar { height: .38rem; background: var(--ob-panel2); border-radius: 2px; overflow: hidden; border: 1px solid var(--ob-line); }
.ob-row .bar i { display: block; height: 100%; background: var(--c); box-shadow: 0 0 8px var(--c); width: var(--w); }
.ob-row .pct { font-family: var(--ob-mono); text-align: right; color: var(--ob-t2); font-size: .66rem; }
.ob-note { font-family: var(--ob-mono); font-size: .58rem; color: var(--ob-t3); line-height: 1.6; margin-top: .6rem; letter-spacing: .02em; }
.ob-note b { color: var(--ob-acc); font-weight: 600; }
.ob-kv { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .7rem; }
.ob-kv div { background: var(--ob-panel2); border: 1px solid var(--ob-line); border-radius: var(--ob-r); padding: .45rem .6rem; }
.ob-kv div span { display: block; font-family: var(--ob-mono); font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ob-t3); }
.ob-kv div b { font-family: var(--ob-mono); font-weight: 600; font-size: .8rem; color: var(--ob-t1); }

/* 快捷入口行 */
#ob-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin-top: .6rem; }
#ob-quick .qk { display: flex; flex-direction: column; align-items: center; gap: .32rem; padding: .6rem 0 .5rem; background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: var(--ob-r); color: var(--ob-t2); font-size: .6rem; font-weight: 600; cursor: pointer; transition: all .15s; }
#ob-quick .qk i { font-size: .95rem; color: var(--ob-t2); }
#ob-quick .qk:hover { border-color: var(--ob-acc-line); color: var(--ob-t1); }
#ob-quick .qk:hover i { color: var(--ob-acc); }
#ob-quick .qk:active { transform: scale(.96); }

/* ============================================================================
   列表卡 (我的伙伴 / 交易所 / 出售) — 五档框 (card 资产) 不动, 只重做卡外 chrome
   ============================================================================ */
.gallery-card.rcard, .market-card .rcard { filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.rcard .rc-top span:first-child, .rc-top > span:first-child { font-family: var(--ob-mono) !important; letter-spacing: .04em; }
.cond-pct { font-family: var(--ob-mono) !important; border-radius: 2px !important; letter-spacing: .02em; }
.rc-name { font-family: var(--ob-sans) !important; }
.rc-price .gp-num, .gp-num { font-family: var(--ob-mono) !important; font-weight: 600 !important; }
.rc-price small { font-family: var(--ob-mono); letter-spacing: .08em; }
.corner-badge { border-radius: 2px !important; transform: none !important; font-family: var(--ob-mono) !important; letter-spacing: .1em; top: -.4rem !important; right: -.3rem !important; }
.market-card { background: var(--ob-panel) !important; border: 1px solid var(--ob-line); border-radius: var(--ob-r2) !important; padding: .7rem .6rem .6rem !important; }
.market-card:hover { border-color: var(--ob-line2); }
.mc-name { font-size: .78rem !important; }
.mc-meta { font-family: var(--ob-mono); font-size: .56rem !important; color: var(--ob-t3) !important; letter-spacing: .04em; }
.mc-buy { width: 100%; height: 2rem; font-size: .72rem !important; }
.sell-fab { width: auto !important; height: 2.6rem !important; padding: 0 1rem; flex-direction: row !important; gap: .45rem !important; background: var(--ob-acc) !important; color: #05070a !important; border: 1px solid var(--ob-acc) !important; border-radius: var(--ob-r) !important; box-shadow: 0 10px 30px rgba(200,255,61,.25) !important; font-family: var(--ob-disp) !important; letter-spacing: .08em; font-size: .8rem !important; }
.sell-fab span { font-size: .78rem !important; }
.mk-bar { align-items: center; }
.mk-sort-btn { height: 1.7rem; font-size: .68rem !important; padding: 0 .65rem !important; }
#market-stats.grid { grid-template-columns: repeat(3, 1fr) !important; max-width: none !important; gap: .45rem !important; }
#pack-stats.grid { grid-template-columns: repeat(3, 1fr) !important; max-width: none !important; gap: .45rem !important; }

/* 图鉴元素格 */
.codex-item { background: var(--ob-panel) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; padding: .55rem .45rem !important; }
.codex-item.owned { border-color: var(--ob-acc-line) !important; background: linear-gradient(180deg, var(--ob-acc-dim), var(--ob-panel)) !important; }
.codex-item.owned::after { background: var(--ob-acc) !important; color: #05070a !important; border-radius: 2px !important; font-family: var(--ob-mono) !important; }
.codex-item.locked { opacity: .7; }
.codex-thumb { border-radius: 2px !important; box-shadow: none !important; }
#codex-progress { font-family: var(--ob-mono); font-size: .66rem; color: var(--ob-t2); letter-spacing: .04em; }
.codex-item .text-gray-500 { font-family: var(--ob-mono); color: var(--ob-t3) !important; }
#gallery-empty p, #gallery-empty .text-6xl { color: var(--ob-t2) !important; }
#gallery-empty .text-6xl { display: none; }
.ob-empty-img { width: 9.5rem; margin: 0 auto .6rem; filter: drop-shadow(0 10px 30px rgba(200,255,61,.18)); }

/* ============================================================================
   我的
   ============================================================================ */
.me-guest .mg-mascot { display: none !important; }
.ob-guest-hero { position: relative; width: 12rem; margin: .4rem auto 0; }
.ob-guest-hero img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)) drop-shadow(0 0 22px rgba(200,255,61,.18)); }
.me-guest h2 { font-family: var(--ob-disp) !important; letter-spacing: .1em; color: var(--ob-t1) !important; }
.img-login-btn { display: none !important; }
.me-head { background: var(--ob-panel) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r2) !important; }
.me-avatar { border-radius: var(--ob-r) !important; border: 1px solid var(--ob-acc-line) !important; box-shadow: none !important; background: var(--ob-panel2); }
.me-avatar img { object-fit: contain !important; padding: .25rem; }
.me-head .text-amber-100 { color: var(--ob-t1) !important; font-family: var(--ob-disp); letter-spacing: .06em; }
.me-addr { font-family: var(--ob-mono) !important; color: var(--ob-acc) !important; background: var(--ob-acc-dim); border: 1px solid var(--ob-acc-line); border-radius: 2px; padding: .1rem .45rem; }
.me-addr .fa-wallet { color: var(--ob-acc) !important; }
.me-logout { background: var(--ob-panel2) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; color: var(--ob-t2) !important; }
.me-menu { background: var(--ob-panel) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r2) !important; overflow: hidden; }
.me-item { border-bottom: 1px solid var(--ob-line) !important; font-weight: 600 !important; font-size: .8rem !important; }
.me-item .mi-note { font-family: var(--ob-mono); font-size: .58rem; color: var(--ob-t3); }
.me-menu-danger { border-color: rgba(255,93,93,.25) !important; }
.mi-icon.mi-danger { background: rgba(255,93,93,.08) !important; color: var(--ob-red) !important; border-color: rgba(255,93,93,.35) !important; }
.lab-card { background: var(--ob-panel) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r2) !important; }
.lab-card.lab-on { border-color: var(--ob-acc-line) !important; }
.lab-row i { color: var(--ob-acc) !important; }
.lab-in { background: var(--ob-bg) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; color: var(--ob-t1) !important; font-family: var(--ob-mono); }
.lab-in:focus { border-color: var(--ob-acc-line) !important; box-shadow: none !important; }
.lab-badge { background: var(--ob-panel) !important; border: 1px solid var(--ob-acc-line) !important; color: var(--ob-acc) !important; border-radius: var(--ob-r) !important; font-family: var(--ob-mono); font-size: .62rem !important; }
.mylist-row, .order-row, .luck-bar-row { background: var(--ob-panel) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; }
.ml-status { border-radius: 2px !important; font-family: var(--ob-mono) !important; }
.sell-card.selected { outline: 2px solid var(--ob-acc) !important; }
.sell-card.selected::after { background: var(--ob-acc) !important; color: #000 !important; }
.sell-bar { background: rgba(7,9,13,.92) !important; border-top: 1px solid var(--ob-line) !important; }
input[type=number], input[type=text] { font-family: var(--ob-mono); }

/* ============================================================================
   三幕开盒 — 节拍/DOM 不动, 只换视觉语言
   ============================================================================ */
#reveal-overlay { background: rgba(4,5,8,.97) !important; }
#reveal-overlay::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .25; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
#reveal-overlay::after { /* 扫描线 */ content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .18;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.6) 2px 3px); }
.act { position: relative; z-index: 1; }
.act-particles { opacity: .4; }
.summon-hint { font-family: var(--ob-disp) !important; font-weight: 700 !important; letter-spacing: .32em !important; text-indent: .32em !important; font-size: 1.25rem !important; }
.summon-hint.h-multi { font-size: 1.05rem !important; letter-spacing: .22em !important; text-indent: .22em !important; }
.element-row { background: var(--ob-panel) !important; border: 1px solid var(--ob-line) !important; border-radius: var(--ob-r) !important; border-left: 2px solid var(--ob-t3) !important; }
.element-row.row-legendary { border-left-color: var(--ob-r-legendary) !important; background: linear-gradient(90deg, rgba(246,208,120,.08), var(--ob-panel)) !important; box-shadow: none !important; }
.element-row.row-mythic { border-left-color: var(--ob-r-mythic) !important; background: linear-gradient(90deg, rgba(255,122,110,.1), var(--ob-panel)) !important; box-shadow: none !important; }
.el-bot { border-top: 1px solid var(--ob-line) !important; }
.slot-tag { font-family: var(--ob-mono); font-size: .6rem; letter-spacing: .06em; color: var(--ob-t2); }
.el-name { font-family: var(--ob-sans) !important; font-weight: 700; }
.el-rbadge { border-radius: 2px !important; font-family: var(--ob-mono) !important; letter-spacing: .08em; font-size: .56rem !important; }
.el-price { font-family: var(--ob-mono) !important; font-weight: 600 !important; }
.el-unit { font-family: var(--ob-mono); font-size: .55rem; letter-spacing: .1em; color: var(--ob-t3); }
.element-tease { font-family: var(--ob-mono) !important; color: var(--ob-acc) !important; font-size: .68rem; letter-spacing: .1em; border: 1px dashed var(--ob-acc-line); border-radius: var(--ob-r); padding: .5rem .8rem; }
.first-mint-badge { width: auto !important; height: auto !important; background: var(--ob-acc) !important; color: #05070a !important; border-radius: 2px !important;
  font-family: var(--ob-mono) !important; font-size: .52rem !important; font-weight: 700; letter-spacing: .14em; padding: .16rem .4rem; line-height: 1; filter: none !important; box-shadow: 0 0 10px var(--ob-acc-glow); }
.element-egg { font-family: var(--ob-disp) !important; letter-spacing: .3em; }
.forge-vortex .fv-ring { border-color: var(--ob-acc-line) !important; border-top-color: var(--ob-acc) !important; }
.forge-vortex .fv-core { background: radial-gradient(circle, var(--ob-acc), rgba(200,255,61,.2) 60%, transparent) !important; box-shadow: 0 0 40px var(--ob-acc-glow) !important; }
#forge-sub { font-family: var(--ob-mono) !important; letter-spacing: .14em !important; color: var(--ob-t3) !important; }
#forge-skip { font-family: var(--ob-mono); color: var(--ob-t3) !important; }
#final-card-status { font-family: var(--ob-mono) !important; letter-spacing: .08em; color: var(--ob-t3) !important; }
#final-stats .cond-bar { background: var(--ob-panel2) !important; border: 1px solid var(--ob-line); border-radius: 2px !important; }
#final-stats .cond-bar > i { background: var(--ob-acc) !important; box-shadow: 0 0 10px var(--ob-acc) !important; }
#final-jv { font-family: var(--ob-mono) !important; font-weight: 600 !important; letter-spacing: -.02em; }
#final-stats .text-gray-500 { font-family: var(--ob-mono); letter-spacing: .06em; color: var(--ob-t3) !important; }
#act3-return-hint, .act3-skip-hint { font-family: var(--ob-mono) !important; letter-spacing: .1em; color: var(--ob-t3) !important; }
/* 鉴定按钮: 图 → 终端按钮 */
.img-ident-btn { width: auto !important; height: 3rem !important; aspect-ratio: auto !important; padding: 0 1.6rem !important; display: inline-flex !important; align-items: center; gap: .6rem;
  background: var(--ob-acc) !important; border: 1px solid var(--ob-acc) !important; border-radius: var(--ob-r) !important; color: #05070a; font-family: var(--ob-disp); font-weight: 700; font-size: 1rem; letter-spacing: .28em; text-indent: .28em;
  box-shadow: 0 0 0 1px rgba(200,255,61,.3), 0 10px 36px rgba(200,255,61,.25) !important; transform: none !important; animation: ob-pulse 2.2s ease-in-out infinite; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.img-ident-btn.pressing { transform: scale(.96) !important; filter: brightness(.9); }
@keyframes ob-pulse { 50% { box-shadow: 0 0 0 1px rgba(200,255,61,.5), 0 10px 46px rgba(200,255,61,.45); } }
.ident-label { display: none !important; }
#leak-glow.leak-common, #leak-glow.leak-rare, #leak-glow.leak-epic, #leak-glow.leak-legendary, #leak-glow.leak-mythic { border-radius: 50%; }
/* 幕间遮罩: 白闪 → 酸绿闪 */
#flash-white { background: #dfffb0 !important; }
#act-veil { background: var(--ob-bg) !important; }

/* ============================================================================
   Splash
   ============================================================================ */
#splash { background: var(--ob-bg) !important; }
#splash .sp-icon { border-radius: var(--ob-r2) !important; box-shadow: 0 0 0 1px var(--ob-line2), 0 0 40px rgba(200,255,61,.18) !important; animation: none !important; width: 5rem !important; height: 5rem !important; }
#splash .sp-name { font-family: var(--ob-disp) !important; color: var(--ob-t1) !important; letter-spacing: .3em !important; }
#splash .sp-bar { border-radius: 2px !important; height: .3rem !important; border: 1px solid var(--ob-line) !important; background: var(--ob-panel) !important; }
#splash .sp-fill { background: var(--ob-acc) !important; border-radius: 0 !important; box-shadow: 0 0 12px var(--ob-acc) !important; }
#splash .sp-pct { font-family: var(--ob-mono) !important; color: var(--ob-t2) !important; }
#splash .sp-tip { font-family: var(--ob-mono) !important; color: var(--ob-t3) !important; letter-spacing: .16em !important; text-transform: uppercase; }

/* 下拉刷新 */
#ptr .ptr-ring { border-color: var(--ob-line2) !important; color: var(--ob-acc) !important; background: var(--ob-panel) !important; }
#ptr .ptr-txt { font-family: var(--ob-mono); color: var(--ob-t3) !important; letter-spacing: .1em; }

/* 桌面端限宽 */
@media (min-width: 900px) {
  #view-open .hero-app { max-width: 46rem; }
  #box-stage { width: min(16rem, 30vh) !important; }
  #stage-zone { padding: .6rem 0 .8rem !important; }
  #ob-stats .st b { font-size: 1.15rem; }
  #ob-feed-track { justify-content: center; }
}

/* ---- v33b 修补 ---- */
@media (min-width: 900px) {
  #ob-feed { margin: .2rem 0 0; padding: 0; }
  #view-open .hero-app { max-width: 42rem; }
  #box-stage { width: 19rem !important; }
  #view-market section, #view-codex section { max-width: 72rem; }
  #market-grid, #gallery-grid { grid-template-columns: repeat(5, 1fr) !important; }
  #market-stats.grid, #pack-stats.grid { max-width: 36rem !important; }
}
.market-card .mc-name { margin-top: .15rem; }
.market-card .mc-meta { margin-bottom: .35rem; }

/* ============================================================================
   v33.3 全方位审查修补 (2026-09-19)
   ============================================================================ */
/* 幕一/幕三: 旧紫色泡泡粒子贴图 → 代码扫描线 + 六角点阵 (酸绿, 极低对比) */
.act-particles { background: none !important; opacity: 1 !important; animation: none !important; }
.act-particles::before { content: ''; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(circle, rgba(200,255,61,.9) 1px, transparent 1.5px); background-size: 34px 34px; animation: ob-dots 40s linear infinite; }
.act-particles::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; top: -2px; opacity: .55;
  background: linear-gradient(90deg, transparent, var(--ob-acc), transparent); box-shadow: 0 0 18px var(--ob-acc); animation: ob-scan 3.6s linear infinite; }
@keyframes ob-dots { to { background-position: 0 -680px; } }
@keyframes ob-scan { to { top: 100%; } }
#act3-fx.on::before, #act3-fx.on::after { background-image: none !important; }
#act3-fx.on::before { background-image: radial-gradient(circle, rgba(246,208,120,.9) 1px, transparent 1.6px) !important; background-size: 26px 26px; opacity: .22 !important; }
#act3-fx.on::after  { background-image: radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1.4px) !important; background-size: 41px 41px; opacity: .14 !important; }
/* 幕一提示字 */
.summon-hint { color: var(--ob-t1) !important; }
/* 幕三数值 */
#final-stats .cond-tag-big { border-radius: 2px !important; font-family: var(--ob-mono) !important; letter-spacing: .1em; font-size: .78rem !important; padding: .35rem .8rem !important; }
#final-stats .cond-pct { font-size: .85rem !important; color: var(--ob-t2) !important; }

/* 二级页 (手气统计 / 我的挂单 / 交易记录 / 出售) */
.luck-grid { gap: .45rem !important; }
.luck-bar-row .lb-name { font-family: var(--ob-mono); font-size: .62rem !important; font-weight: 600 !important; letter-spacing: .04em; }
.luck-bar-row .lb-track { height: .38rem !important; border-radius: 2px !important; background: var(--ob-panel2) !important; border: 1px solid var(--ob-line); }
.luck-bar-row .lb-fill { border-radius: 0 !important; }
.luck-bar-row .lb-val { font-family: var(--ob-mono) !important; color: var(--ob-t3) !important; font-size: .6rem !important; }
#sub-body .text-5xl, #sub-body .text-4xl { font-family: var(--ob-mono) !important; font-weight: 600 !important; color: var(--ob-acc) !important; letter-spacing: -.02em; }
.order-row { padding: .65rem .8rem !important; }
.or-type, .ml-status { border-radius: 2px !important; font-family: var(--ob-mono) !important; letter-spacing: .1em; font-size: .52rem !important; text-transform: uppercase; }
.or-open { background: var(--ob-acc-dim) !important; color: var(--ob-acc) !important; border-color: var(--ob-acc-line) !important; }
.or-trade { background: rgba(94,234,212,.1) !important; color: var(--ob-r-rare) !important; border-color: rgba(94,234,212,.35) !important; }
.order-row .text-red-300 { color: var(--ob-t1) !important; }
.order-row .text-emerald-300 { color: var(--ob-acc) !important; }
.order-row [style*="Rajdhani"], .mylist-row [style*="Rajdhani"], #sub-body [style*="Rajdhani"] { font-family: var(--ob-mono) !important; font-weight: 600 !important; }
.mylist-row .ml-thumb { border-radius: 2px !important; }
.ml-on { background: var(--ob-acc-dim) !important; color: var(--ob-acc) !important; border-color: var(--ob-acc-line) !important; }
.ml-sold { background: rgba(94,234,212,.1) !important; color: var(--ob-r-rare) !important; border-color: rgba(94,234,212,.35) !important; }
.sell-card.selected { outline-offset: 0 !important; border-radius: 4px !important; }
.sell-bar { padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)) !important; }
.sell-bar input { background: var(--ob-bg) !important; border: 1px solid var(--ob-line2) !important; border-radius: var(--ob-r) !important; color: var(--ob-t1) !important; font-family: var(--ob-mono) !important; }
.sell-bar input:focus { border-color: var(--ob-acc-line) !important; }
#sub-body .text-gray-500, #sub-body .text-gray-400 { color: var(--ob-t3) !important; }
#sub-body p.text-center.text-gray-500 { font-family: var(--ob-mono); letter-spacing: .08em; font-size: .68rem !important; }
#sub-body .text-amber-200, #sub-body .text-amber-100, #sub-body .text-amber-300 { color: var(--ob-acc) !important; }
#sub-body .text-6xl { display: none; }

/* 弹窗内残留 */
.story-hero { text-align: center; }
.story-img { border-radius: var(--ob-r) !important; box-shadow: none !important; width: 7rem !important; filter: drop-shadow(0 8px 24px rgba(200,255,61,.15)); }
.story-lead b, .story-point b, .howto-item b, .howto-item h3 { color: var(--ob-acc) !important; }
.odds-cell span { font-size: .68rem; }
.odds-cell b { color: var(--ob-t1); }
.rank-row .rk-no { font-family: var(--ob-mono) !important; color: var(--ob-t3) !important; font-size: .7rem !important; width: 1.6rem; text-align: right; }
.rank-row.rank-top .rk-no { color: var(--ob-acc) !important; }
.rk-name { color: var(--ob-t1) !important; font-weight: 600 !important; }
#rank-list { gap: .3rem !important; }
#modal-card-body .codex-thumb { border-radius: var(--ob-r) !important; box-shadow: none !important; border: 1px solid var(--ob-line); }
#modal-card-body .text-lg, #modal-card-body h2, #modal-card-body h3 { font-family: var(--ob-sans) !important; }
#modal-card-body .text-white\/50, #modal-card-body .text-gray-500 { font-family: var(--ob-mono); font-size: .6rem !important; letter-spacing: .06em; color: var(--ob-t3) !important; }
#modal-card-body .text-amber-300, #modal-card-body .text-amber-200, #modal-card-body .text-amber-100 { color: var(--ob-acc) !important; }
#modal-card-body .text-2xl { font-family: var(--ob-mono) !important; font-weight: 600 !important; letter-spacing: .3em !important; }
#modal-card-body .rounded-xl { border-radius: var(--ob-r) !important; border-color: var(--ob-line2) !important; background: var(--ob-panel2) !important; }
.wallet-head-icon { width: 2.6rem !important; height: 2.6rem !important; font-size: 1rem !important; }
#wallet-addr-show { font-family: var(--ob-mono) !important; color: var(--ob-t2) !important; }
#wallet-chosen { color: var(--ob-acc) !important; }

/* 交易所: LIST FAB 不再遮卡 → 贴底栏上方居中 */
.sell-fab { right: auto !important; left: 50% !important; transform: translateX(-50%) !important; bottom: calc(4.9rem + env(safe-area-inset-bottom)) !important; }
.sell-fab:active { transform: translateX(-50%) scale(.95) !important; }
#market-grid { padding-bottom: 5.5rem !important; }
/* toast 位置抬高避开 FAB */
#toast { bottom: calc(8.2rem + env(safe-area-inset-bottom)) !important; }

/* 首页 feed: 首屏至少露 2.5 条 */
.fd-item { padding: 0 .6rem 0 .4rem; gap: .45rem; }
.fd-name { max-width: 6.2rem; font-size: .66rem; }
.fd-body { min-width: 0; }

/* 通用: tailwind 旧色残留兜底 (说明/弹窗/二级页内) */
.box-modal-box .text-gray-300, #sub-body .text-gray-300, .box-modal-box .text-gray-400 { color: var(--ob-t2) !important; }
.box-modal-box .text-gray-500 { color: var(--ob-t3) !important; }

/* 三幕终端 HUD (v33.3): 左上状态行 + 右上序列号, 节拍不变只加信息层 */
#ob-hud { position: fixed; left: 0; right: 0; top: calc(.6rem + env(safe-area-inset-top)); z-index: 60; pointer-events: none; display: none;
  padding: 0 1rem; justify-content: space-between; font-family: var(--ob-mono); font-size: .58rem; letter-spacing: .14em; color: var(--ob-t3); text-transform: uppercase; }
#ob-hud.on { display: flex; }
#ob-hud b { color: var(--ob-acc); font-weight: 600; }
#ob-hud .hl::before { content: '> '; color: var(--ob-acc); }
#ob-hud .cur { display: inline-block; width: .5em; height: .9em; background: var(--ob-acc); vertical-align: -.12em; margin-left: .2em; animation: ob-blink 1s steps(2) infinite; }
/* 幕二 进度条 */
#ob-hud-bar { position: fixed; left: 0; right: 0; top: calc(2rem + env(safe-area-inset-top)); height: 2px; z-index: 60; pointer-events: none; background: var(--ob-line); display: none; }
#ob-hud.on ~ #ob-hud-bar { display: block; }
#ob-hud-bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--ob-acc); box-shadow: 0 0 10px var(--ob-acc); transition: width .3s; }

/* ===================== v34a · MARKET 结构级重做 ===================== */
.rc-common { --rc: var(--ob-r-common); } .rc-rare { --rc: var(--ob-r-rare); } .rc-epic { --rc: var(--ob-r-epic); } .rc-legendary { --rc: var(--ob-r-legendary); } .rc-mythic { --rc: var(--ob-r-mythic); }
#mk-head { margin-bottom: .6rem; }
#mk-live { display: inline-flex; align-items: center; gap: .35rem; color: var(--ob-acc) !important; }
#mk-live::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: var(--ob-acc); box-shadow: 0 0 8px var(--ob-acc); animation: ob-blink 1.4s ease-in-out infinite; }
#mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ob-line); border: 1px solid var(--ob-line); border-radius: var(--ob-r2); overflow: hidden; }
.kpi { background: var(--ob-panel); padding: .55rem .6rem .5rem; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.kpi > span { font-family: var(--ob-mono); font-size: .52rem; letter-spacing: .12em; color: var(--ob-t3); }
.kpi > b { font-family: var(--ob-mono); font-weight: 600; font-size: 1.05rem; line-height: 1.15; color: var(--ob-t1); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi > b.sm { font-size: .8rem; font-family: inherit; }
.kpi > small { font-family: var(--ob-mono); font-size: .52rem; letter-spacing: .08em; color: var(--ob-t3); }
.kpi > small i { font-style: normal; color: var(--ob-t2); }
#mk-kpis .kpi:first-child > b { color: var(--ob-acc); }
@media (max-width: 380px) { .kpi > b { font-size: .92rem; } }
/* 行情带 */
#mk-tape { margin-top: .5rem; height: 1.6rem; border: 1px solid var(--ob-line); border-radius: var(--ob-r); background: var(--ob-panel); overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
#mk-tape-track { display: inline-flex; align-items: center; height: 100%; gap: 1.6rem; padding-left: .8rem; white-space: nowrap; width: max-content; animation: mk-tape 48s linear infinite; }
#mk-tape:hover #mk-tape-track { animation-play-state: paused; }
@keyframes mk-tape { to { transform: translateX(-50%); } }
.tp { display: inline-flex; align-items: center; gap: .4rem; font-size: .66rem; color: var(--ob-t2); font-family: var(--ob-mono); }
.tp .dot { width: .38rem; height: .38rem; border-radius: 50%; background: var(--rc, var(--ob-t3)); box-shadow: 0 0 6px var(--rc, transparent); }
.tp b { color: var(--ob-t1); font-weight: 600; }
.tp em { font-style: normal; color: var(--ob-acc); font-weight: 600; }
.tp small { color: var(--ob-t3); font-size: .56rem; }
/* 筛选栏 */
#market-filters .filter-chip.rc-common, #market-filters .filter-chip.rc-rare, #market-filters .filter-chip.rc-epic, #market-filters .filter-chip.rc-legendary, #market-filters .filter-chip.rc-mythic { position: relative; padding-left: 1.15rem !important; }
#market-filters .filter-chip[class*="rc-"]::before { content: ''; position: absolute; left: .5rem; top: 50%; transform: translateY(-50%); width: .36rem; height: .36rem; border-radius: 50%; background: var(--rc); }
#market-filters .filter-chip.active { border-color: var(--ob-acc-line) !important; color: var(--ob-acc) !important; background: var(--ob-acc-dim) !important; }
#market-filters .filter-chip[class*="rc-"].active { border-color: var(--rc) !important; color: var(--rc) !important; background: color-mix(in srgb, var(--rc) 12%, transparent) !important; }
.mk-sort-btn { border-radius: var(--ob-r) !important; background: var(--ob-panel) !important; border: 1px solid var(--ob-line) !important; color: var(--ob-t2) !important; font-family: var(--ob-mono) !important; font-weight: 600 !important; letter-spacing: .06em; position: relative; }
.mk-sort-btn.on { border-color: var(--ob-acc-line) !important; color: var(--ob-acc) !important; }
.mk-sort-btn .adv-dot { position: absolute; top: -.2rem; right: -.2rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ob-acc); box-shadow: 0 0 6px var(--ob-acc); }
.mk-bar { gap: .4rem !important; }
#mk-adv { margin-top: .5rem; padding: .55rem .65rem !important; display: flex; flex-direction: column; gap: .5rem; }
#mk-adv.hidden { display: none; }
.adv-row { display: flex; align-items: center; gap: .6rem; }
.adv-row > .ob-label { flex: none; width: 3.4rem; }
.adv-seg { display: flex; flex: 1; border: 1px solid var(--ob-line); border-radius: var(--ob-r); overflow: hidden; }
.adv-seg button { flex: 1; height: 1.75rem; font-family: var(--ob-mono); font-size: .62rem; letter-spacing: .04em; color: var(--ob-t2); background: transparent; border: 0; border-right: 1px solid var(--ob-line); cursor: pointer; }
.adv-seg button:last-child { border-right: 0; }
.adv-seg button.on { background: var(--ob-acc); color: #05070a; font-weight: 600; }
/* 结果行 */
#mk-result { display: flex; align-items: center; gap: .4rem; }
#mk-result b { color: var(--ob-t1); font-weight: 600; }
#mk-result [data-mkreset] { margin-left: auto; color: var(--ob-acc); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
/* 网格卡 */
.market-card { position: relative; }
.market-card .rcard { cursor: pointer; }
.mc-tag { display: inline-block; font-family: var(--ob-mono); font-size: .5rem; letter-spacing: .1em; padding: .05rem .3rem; border-radius: 2px; vertical-align: middle; margin-left: .2rem; border: 1px solid; }
.mc-tag.you { color: var(--ob-acc); border-color: var(--ob-acc-line); }
.mc-tag.chain { color: var(--ob-r-rare); border-color: color-mix(in srgb, var(--ob-r-rare) 45%, transparent); }
.mc-meta { display: flex; justify-content: space-between; width: 100%; gap: .5rem; }
.mc-meta span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.market-card .mc-name { width: 100%; text-align: center; }
.mk-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.6rem 1rem !important; gap: .4rem; }
.mk-empty img { width: 6.5rem; opacity: .9; }
.mk-empty p { color: var(--ob-t2); font-size: .8rem; margin: 0 0 .4rem; }
/* 底部详情抽屉 */
#mk-sheet { position: fixed; inset: 0; z-index: 70; }
#mk-sheet.hidden { display: none; }
#mk-sheet .sh-mask { position: absolute; inset: 0; background: rgba(3,5,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s; }
#mk-sheet .sh-body { position: absolute; left: 0; right: 0; bottom: 0; max-width: 40rem; margin: 0 auto; background: var(--ob-panel); border: 1px solid var(--ob-line2); border-bottom: 0; border-radius: 10px 10px 0 0; padding: .5rem .9rem calc(1rem + env(safe-area-inset-bottom)); transform: translateY(102%); transition: transform .26s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 60px rgba(0,0,0,.6); }
#mk-sheet.show .sh-mask { opacity: 1; } #mk-sheet.show .sh-body { transform: translateY(0); }
.sh-grip { width: 2.6rem; height: 3px; border-radius: 2px; background: var(--ob-line2); margin: .2rem auto .8rem; cursor: pointer; }
.sh-head { display: flex; gap: .8rem; align-items: center; }
.sh-thumb { flex: none; width: 4.2rem; aspect-ratio: 5 / 7; border-radius: var(--ob-r); border: 1px solid var(--rc, var(--ob-line2)); background: #0a0d12; overflow: hidden; box-shadow: 0 0 18px color-mix(in srgb, var(--rc, transparent) 30%, transparent); }
.sh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-title { min-width: 0; }
.sh-title .ob-label { color: var(--rc, var(--ob-t3)) !important; }
.sh-title h3 { font-family: var(--ob-disp); font-weight: 700; font-size: 1.25rem; line-height: 1.15; color: var(--ob-t1); margin: .15rem 0; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-sub { font-size: .62rem; color: var(--ob-t3); letter-spacing: .06em; }
.sh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ob-line); border: 1px solid var(--ob-line); border-radius: var(--ob-r2); overflow: hidden; margin: .8rem 0 .6rem; }
.sh-grid .kpi:first-child > b { color: var(--ob-acc); }
.sh-cond .bar { height: 4px; background: var(--ob-line); border-radius: 2px; overflow: hidden; margin-top: .3rem; }
.sh-cond .bar i { display: block; height: 100%; background: var(--ob-acc); box-shadow: 0 0 8px var(--ob-acc); }
.sh-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; margin-top: .9rem; }
.sh-actions .ob-btn { height: 2.7rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; text-decoration: none; }
#mk-sheet .sh-body { padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }

/* ===================== v34b · CODEX 热力矩阵 ===================== */
.kpis3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ob-line); border: 1px solid var(--ob-line); border-radius: var(--ob-r2); overflow: hidden; }
#pack-stats.kpis3 .kpi:nth-child(2) > b { color: var(--ob-acc); }
#cx-head { display: flex; align-items: center; gap: 1rem; padding: .85rem .9rem !important; }
#cx-ring { position: relative; flex: none; width: 5.4rem; height: 5.4rem; }
#cx-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
#cx-ring circle { fill: none; stroke-width: 6; }
#cx-ring .bg { stroke: var(--ob-line); }
#cx-ring .fg { stroke: var(--ob-acc); stroke-linecap: butt; filter: drop-shadow(0 0 6px var(--ob-acc-glow)); transition: stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1); }
.cx-ring-txt { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 1.75rem; font-family: var(--ob-mono); color: var(--ob-t1); }
.cx-ring-txt b { font-size: 1.35rem; font-weight: 600; line-height: 1; }
.cx-ring-txt small { font-size: .6rem; color: var(--ob-t3); margin-left: .1rem; }
#cx-sum { flex: 1; min-width: 0; }
.cx-n { display: flex; align-items: baseline; gap: .3rem; margin: .15rem 0 .45rem; font-family: var(--ob-mono); }
.cx-n b { font-size: 1.5rem; font-weight: 600; color: var(--ob-t1); line-height: 1; }
.cx-n span { font-size: .7rem; color: var(--ob-t3); }
#cx-bars { display: flex; flex-direction: column; gap: .22rem; }
.cxb { display: grid; grid-template-columns: 3.6rem 1fr 2.6rem; align-items: center; gap: .45rem; cursor: pointer; }
.cxb > span { font-family: var(--ob-mono); font-size: .5rem; letter-spacing: .1em; color: var(--rc); }
.cxb .bar { position: relative; height: 3px; background: var(--ob-line); border-radius: 2px; overflow: hidden; }
.cxb .bar i { position: absolute; left: 0; top: 0; height: 100%; }
.cxb .bar .o { background: var(--rc); z-index: 2; }
.cxb .bar .s { background: var(--rc); opacity: .3; }
.cxb > b { font-family: var(--ob-mono); font-size: .62rem; font-weight: 600; color: var(--ob-t1); text-align: right; }
.cxb > b small { color: var(--ob-t3); font-weight: 400; }
/* 矩阵 */
#cx-matrix { display: flex; flex-direction: column; gap: 3px; }
.cxrow { display: grid; grid-template-columns: 4.2rem repeat(5, 1fr); gap: 3px; align-items: stretch; }
.cxrow.hd .cxs { border: 0; background: none; }
.cxh { display: flex; align-items: center; justify-content: center; font-style: normal; font-family: var(--ob-mono); font-size: .52rem; letter-spacing: .12em; color: var(--rc); height: 1.3rem; cursor: pointer; }
.cxs { display: flex; flex-direction: column; justify-content: center; padding: 0 .45rem; background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: var(--ob-r); cursor: pointer; min-width: 0; }
.cxs b { font-family: var(--ob-mono); font-size: .56rem; letter-spacing: .1em; color: var(--ob-t2); font-weight: 600; line-height: 1.1; }
.cxs small { font-size: .55rem; color: var(--ob-t3); line-height: 1.2; }
.cxrow.on .cxs { border-color: var(--ob-acc-line); background: var(--ob-acc-dim); } .cxrow.on .cxs b { color: var(--ob-acc); }
.cxc { position: relative; height: 2.1rem; border: 1px solid var(--ob-line); border-radius: var(--ob-r); background: var(--ob-panel); cursor: pointer; padding: 0; overflow: hidden; }
.cxc::before { content: ''; position: absolute; inset: 0; background: var(--rc); opacity: calc(.08 + var(--h, 0) * .72); transition: opacity .2s; }
.cxc.lock::before { opacity: 0; }
.cxc.seen::before { opacity: .1; }
.cxc.seen { border-color: color-mix(in srgb, var(--rc) 35%, transparent); }
.cxc.part, .cxc.full { border-color: color-mix(in srgb, var(--rc) 60%, transparent); }
.cxc.full { box-shadow: inset 0 0 0 1px var(--rc), 0 0 10px color-mix(in srgb, var(--rc) 40%, transparent); }
.cxc b { position: relative; font-family: var(--ob-mono); font-size: .68rem; font-weight: 600; color: var(--ob-t3); }
.cxc.seen b { color: var(--ob-t2); } .cxc.part b { color: #fff; } .cxc.full b { color: #05070a; }
.cxc.full::before { opacity: .95; }
.cxc.lock b { opacity: .5; }
.cxc.on { outline: 1.5px solid var(--ob-acc); outline-offset: -1px; }
.cxc.on::after { content: ''; position: absolute; right: 3px; top: 3px; width: .3rem; height: .3rem; border-radius: 50%; background: var(--ob-acc); box-shadow: 0 0 6px var(--ob-acc); }
#cx-legend { display: flex; gap: 1rem; margin-top: .5rem; font-family: var(--ob-mono); font-size: .52rem; letter-spacing: .1em; color: var(--ob-t3); }
#cx-legend span { display: inline-flex; align-items: center; gap: .35rem; }
#cx-legend .lg { width: .7rem; height: .5rem; border-radius: 2px; border: 1px solid var(--ob-line); }
#cx-legend .lg.own { background: var(--ob-acc); border-color: var(--ob-acc); } #cx-legend .lg.seen { background: rgba(255,255,255,.12); } #cx-legend .lg.lock { background: var(--ob-panel); }
#cx-clear { color: var(--ob-acc) !important; }
/* 元素列表 */
#codex-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
@media (min-width: 768px) { #codex-grid { grid-template-columns: repeat(4, 1fr); } .cxrow { grid-template-columns: 6rem repeat(5, 1fr); } .cxc { height: 2.4rem; } }
.codex-item { display: flex !important; align-items: center; gap: .5rem; position: relative; border-left: 2px solid var(--rc) !important; cursor: pointer; min-width: 0; }
.codex-item.locked { border-left-color: var(--ob-line2) !important; opacity: .55 !important; }
.codex-item.seen { opacity: .85; }
.codex-item.owned { border-color: var(--ob-line) !important; border-left-color: var(--ob-acc) !important; background: linear-gradient(90deg, var(--ob-acc-dim), var(--ob-panel) 60%) !important; }
.codex-item.owned::after { display: none !important; }
.codex-item .codex-thumb { width: 2.2rem !important; height: 2.2rem !important; flex: none; object-fit: contain; background: rgba(255,255,255,.03); }
.cx-name { font-size: .74rem; font-weight: 600; color: var(--ob-t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.codex-item.locked .cx-name { color: var(--ob-t3); font-family: var(--ob-mono); }
.cx-meta { display: flex; gap: .35rem; font-family: var(--ob-mono); font-size: .5rem; letter-spacing: .06em; color: var(--ob-t3); margin-top: .12rem; white-space: nowrap; overflow: hidden; }
.cx-meta span:nth-child(2) { color: var(--rc); }
.cx-st { position: absolute; right: .35rem; top: .3rem; font-style: normal; font-family: var(--ob-mono); font-size: .42rem; letter-spacing: .1em; color: var(--ob-t3); }
.codex-item.owned .cx-st { color: var(--ob-acc); }
/* sheet 扩展 */
.sh-thumb.sq { aspect-ratio: 1; width: 4.2rem; display: flex; align-items: center; justify-content: center; }
.sh-thumb.sq img { object-fit: contain; padding: .35rem; }
.sh-lore { font-size: .8rem; line-height: 1.65; color: var(--ob-t2); margin: .3rem 0 0; }
.sh-actions.one { grid-template-columns: 1fr; }

/* ===================== v34c · ME Bento 资产仪表盘 ===================== */
#view-me > section { padding-top: .5rem !important; }
.me-title { font-family: var(--ob-disp); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; color: var(--ob-t1); display: flex; align-items: center; gap: .45rem; }
.me-badge { font-family: var(--ob-mono); font-size: .5rem; letter-spacing: .12em; padding: .1rem .35rem; border: 1px solid var(--ob-acc-line); color: var(--ob-acc); border-radius: 2px; font-weight: 600; }
.me-via { font-size: .58rem; color: var(--ob-t3); margin-top: .15rem; letter-spacing: .06em; }
#me-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; margin-top: .6rem; }
.bto { position: relative; background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: var(--ob-r2); padding: .65rem .7rem .6rem; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.bto[data-nav-go], .bto[data-me], .bto[data-card] { cursor: pointer; }
.bto[data-nav-go]:hover, .bto[data-me]:hover, .bto[data-card]:hover { border-color: var(--ob-line2); }
.bt-port { grid-column: 1 / -1; }
.bt-big { display: flex; align-items: baseline; gap: .35rem; margin-top: .15rem; }
.bt-big b { font-family: var(--ob-mono); font-weight: 600; font-size: 2.1rem; line-height: 1; color: var(--ob-acc); letter-spacing: -.02em; }
.bt-big small, .bt-mid small { font-family: var(--ob-mono); font-size: .6rem; letter-spacing: .1em; color: var(--ob-t3); }
.bt-roi { font-family: var(--ob-mono); font-size: .66rem; margin-top: .3rem; display: flex; align-items: center; gap: .3rem; }
.bt-roi.up { color: var(--ob-acc); } .bt-roi.dn { color: var(--ob-red, #ff5d5d); }
.bt-roi span { color: var(--ob-t3); font-size: .56rem; letter-spacing: .04em; }
.bt-dist { display: flex; gap: 2px; height: 5px; margin-top: .6rem; border-radius: 2px; overflow: hidden; }
.bt-dist i { display: block; background: var(--rc); min-width: 3px; }
.bt-dist-lg { display: flex; gap: .7rem; margin-top: .35rem; font-family: var(--ob-mono); font-size: .56rem; color: var(--ob-t2); }
.bt-dist-lg span { display: inline-flex; align-items: center; gap: .25rem; } .bt-dist-lg span i { width: .4rem; height: .4rem; border-radius: 1px; background: var(--rc); }
.bt-mid { display: flex; align-items: baseline; gap: .25rem; }
.bt-mid b { font-family: var(--ob-mono); font-weight: 600; font-size: 1.45rem; line-height: 1.1; color: var(--ob-t1); }
.bt-mid.sm b { font-size: 1.1rem; }
.bto > small.mono { font-size: .54rem; letter-spacing: .1em; color: var(--ob-t3); }
.bt-go { position: absolute; right: .6rem; top: .6rem; font-size: .6rem; color: var(--ob-t3); }
.bt-top { grid-row: span 2; }
.bt-topcard { width: 100%; aspect-ratio: 5 / 7; max-height: 9.5rem; border-radius: var(--ob-r); border: 1px solid var(--rc); overflow: hidden; margin: .35rem 0 .4rem; background: #0a0d12; box-shadow: 0 0 16px color-mix(in srgb, var(--rc) 25%, transparent); align-self: center; }
.bt-topcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-topname { font-size: .74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; flex: 1; padding: .8rem 0; text-align: center; }
.bt-empty img { width: 3.4rem; opacity: .7; } .bt-empty small { font-size: .52rem; letter-spacing: .1em; color: var(--ob-t3); }
.bt-cond .bar { height: 3px; background: var(--ob-line); border-radius: 2px; overflow: hidden; margin-top: .45rem; } .bt-cond .bar i { display: block; height: 100%; background: var(--ob-acc); }
.bt-recent { grid-column: 1 / -1; }
.bt-recent .ob-sec { margin: 0 0 .4rem; }
.bt-strip { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .1rem; }
.bt-strip::-webkit-scrollbar { display: none; }
.bt-rc { flex: none; width: 3.6rem; aspect-ratio: 5 / 7; border-radius: var(--ob-r); border: 1px solid var(--rc); overflow: hidden; position: relative; background: #0a0d12; display: flex; align-items: center; justify-content: center; color: var(--ob-t3); text-decoration: none; }
.bt-rc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-rc span { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--ob-mono); font-size: .46rem; letter-spacing: .06em; text-align: center; background: rgba(5,7,10,.75); color: var(--ob-t2); padding: .1rem 0; }
.bt-strip-empty { font-size: .6rem; color: var(--ob-t3); letter-spacing: .12em; padding: .8rem 0; width: 100%; text-align: center; }
@media (min-width: 640px) { #me-bento { grid-template-columns: repeat(4, 1fr); } .bt-port { grid-column: span 2; grid-row: span 2; } .bt-top { grid-column: span 1; } .bt-recent { grid-column: 1 / -1; } }

/* 顶栏: 钱包已连时窄屏隐藏 GENESIS 标签, 防挤压 */
@media (max-width: 420px) { #ob-top:has(#ob-wallet.on) #ob-brand .bt { display: none; } #ob-wallet.on { max-width: 8.6rem; overflow: hidden; text-overflow: ellipsis; } }

/* ===================== v35 · 二级页 Terminal Ledger ===================== */
#sub-body { padding: .8rem 1rem 7rem !important; }
.sp-kpis { display: grid; gap: 1px; background: var(--ob-line); border: 1px solid var(--ob-line); border-radius: var(--ob-r2); overflow: hidden; margin-bottom: .6rem; }
.sp-kpis .kpi > b { font-size: 1.1rem; } .sp-kpis .kpi > b.acc { color: var(--ob-acc); }
.ob-seg { display: flex; border: 1px solid var(--ob-line); border-radius: var(--ob-r); overflow: hidden; margin-bottom: .6rem; background: var(--ob-panel); }
.ob-seg button { flex: 1; height: 2rem; border: 0; border-right: 1px solid var(--ob-line); background: transparent; color: var(--ob-t2); font-family: var(--ob-mono); font-size: .64rem; letter-spacing: .08em; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; }
.ob-seg button:last-child { border-right: 0; }
.ob-seg button i { font-style: normal; font-size: .54rem; color: var(--ob-t3); padding: .02rem .28rem; border: 1px solid var(--ob-line); border-radius: 2px; }
.ob-seg button.on { background: var(--ob-acc-dim); color: var(--ob-acc); } .ob-seg button.on i { color: var(--ob-acc); border-color: var(--ob-acc-line); }
.sp-list { display: flex; flex-direction: column; gap: .35rem; }
.sp-day { display: flex; justify-content: space-between; padding: .5rem .15rem .15rem; }
.sp-row { display: flex; align-items: center; gap: .6rem; padding: .55rem .65rem; background: var(--ob-panel); border: 1px solid var(--ob-line); border-left: 2px solid var(--rc, var(--ob-line2)); border-radius: var(--ob-r); cursor: pointer; min-width: 0; }
.sp-row:hover { border-color: var(--ob-line2); border-left-color: var(--rc); }
.sp-row.st-off, .sp-row.st-sold { opacity: .7; }
.sp-thumb { flex: none; width: 2.4rem; aspect-ratio: 5 / 7; border-radius: 2px; overflow: hidden; background: #0a0d12; border: 1px solid var(--ob-line); display: flex; align-items: center; justify-content: center; color: var(--ob-t3); }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-ico { flex: none; width: 2rem; height: 2rem; border-radius: var(--ob-r); border: 1px solid var(--ob-line); display: flex; align-items: center; justify-content: center; font-size: .75rem; color: var(--ob-t2); background: var(--ob-panel2); }
.sp-ico.trade { color: var(--ob-acc); border-color: var(--ob-acc-line); background: var(--ob-acc-dim); }
.sp-main { flex: 1; min-width: 0; }
.sp-name { font-size: .8rem; font-weight: 600; color: var(--ob-t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: .4rem; }
.sp-st { font-style: normal; font-family: var(--ob-mono); font-size: .48rem; letter-spacing: .12em; padding: .05rem .3rem; border: 1px solid var(--ob-line2); border-radius: 2px; color: var(--ob-t3); }
.st-on .sp-st { color: var(--ob-acc); border-color: var(--ob-acc-line); }
.sp-meta { display: flex; gap: .5rem; font-family: var(--ob-mono); font-size: .54rem; letter-spacing: .04em; color: var(--ob-t3); margin-top: .15rem; white-space: nowrap; overflow: hidden; }
.sp-meta span.rc { color: var(--rc); }
.sp-amt { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.sp-amt b { font-family: var(--ob-mono); font-weight: 600; font-size: .92rem; color: var(--ob-t1); line-height: 1.1; }
.sp-amt small { font-family: var(--ob-mono); font-size: .48rem; letter-spacing: .1em; color: var(--ob-t3); }
.sp-amt.in b { color: var(--ob-acc); } .sp-amt.out b { color: var(--ob-t2); }
.sp-act { flex: none; height: 1.7rem; padding: 0 .6rem; border-radius: var(--ob-r); border: 1px solid var(--ob-line2); background: transparent; color: var(--ob-t2); font-family: var(--ob-mono); font-size: .58rem; letter-spacing: .08em; font-weight: 600; cursor: pointer; }
.sp-act:hover { border-color: var(--ob-red, #ff5d5d); color: var(--ob-red, #ff5d5d); }
.sp-foot { margin-top: 1rem; text-align: center; font-family: var(--ob-mono); font-size: .54rem; letter-spacing: .08em; color: var(--ob-t3); }
.sp-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1rem; gap: .45rem; }
.sp-empty img { width: 7rem; opacity: .9; margin-bottom: .3rem; } .sp-empty p { color: var(--ob-t2); font-size: .8rem; margin: 0 0 .5rem; }
/* 出售 */
.sell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (min-width: 640px) { .sell-grid { grid-template-columns: repeat(5, 1fr); } }
.sell-card { background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: var(--ob-r2) !important; padding: .45rem .4rem .4rem; position: relative; }
.sell-card .rcard { filter: none !important; }
.sell-card.selected { outline: none !important; border-color: var(--ob-acc) !important; background: linear-gradient(180deg, var(--ob-acc-dim), var(--ob-panel)) !important; }
.sell-card.selected .rcard { filter: none !important; }
.sell-card.selected::after { display: none !important; }
.sc-check { position: absolute; top: .3rem; right: .3rem; width: 1.15rem; height: 1.15rem; border-radius: 2px; background: var(--ob-acc); color: #05070a; display: none; align-items: center; justify-content: center; font-size: .6rem; z-index: 9; }
.sell-card.selected .sc-check { display: flex; }
.sc-name { font-size: .68rem; font-weight: 600; color: var(--ob-t1); margin-top: .3rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-meta { display: flex; justify-content: space-between; font-family: var(--ob-mono); font-size: .5rem; color: var(--ob-t3); margin-top: .1rem; }
.sc-meta span:last-child { color: var(--rc); }
.sell-bar { position: fixed !important; left: 0; right: 0; bottom: 0; margin: 0 !important; align-items: stretch !important; display: flex !important; flex-direction: column; gap: .45rem; padding: .6rem 1rem calc(.8rem + env(safe-area-inset-bottom)) !important; background: rgba(7,9,13,.94) !important; border-top: 1px solid var(--ob-line) !important; backdrop-filter: blur(12px); z-index: 5; }
.sb-sel { display: flex; flex-direction: column; gap: .1rem; }
.sb-sel b { font-size: .85rem; font-weight: 600; color: var(--ob-t2); font-family: var(--ob-disp); letter-spacing: .04em; }
.sell-bar.has .sb-sel b { color: var(--ob-t1); }
.sb-sel small { font-size: .56rem; color: var(--ob-t3); letter-spacing: .06em; min-height: .8rem; }
.sb-sel small.hi { color: var(--ob-r-legendary); } .sb-sel small.lo { color: var(--ob-red, #ff5d5d); }
.sb-quick { display: flex; gap: .35rem; }
.sb-quick button { flex: 1; height: 1.7rem; border: 1px solid var(--ob-line); border-radius: var(--ob-r); background: var(--ob-panel); color: var(--ob-t2); font-family: var(--ob-mono); font-size: .6rem; font-weight: 600; cursor: pointer; }
.sb-quick button.on { border-color: var(--ob-acc-line); color: var(--ob-acc); background: var(--ob-acc-dim); }
.sell-bar:not(.has) .sb-quick button { opacity: .4; pointer-events: none; }
.sb-row { display: flex; gap: .5rem; }
.sb-in { flex: 1; display: flex; align-items: center; border: 1px solid var(--ob-line2); border-radius: var(--ob-r); background: var(--ob-bg); padding-right: .6rem; }
.sb-in input { flex: 1; height: 2.6rem; background: transparent !important; border: 0 !important; color: var(--ob-t1); font-family: var(--ob-mono); font-weight: 600; font-size: 1.05rem; padding: 0 .7rem; outline: none; min-width: 0; }
.sb-in span { font-family: var(--ob-mono); font-size: .58rem; letter-spacing: .1em; color: var(--ob-t3); }
.sb-in:focus-within { border-color: var(--ob-acc-line); }
.sell-submit { height: 2.6rem !important; min-width: 6rem; }
/* 手气 */
.lk-hero { display: flex; align-items: center; gap: 1rem; padding: .85rem .9rem !important; margin-bottom: .6rem; }
.lk-gauge { position: relative; flex: none; width: 5.6rem; height: 5.6rem; }
.lk-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); } .lk-gauge circle { fill: none; stroke-width: 6; }
.lk-gauge .bg { stroke: var(--ob-line); } .lk-gauge .fg { stroke: var(--ob-acc); filter: drop-shadow(0 0 6px var(--ob-acc-glow)); }
.lk-num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 1.85rem; font-family: var(--ob-mono); color: var(--ob-t1); }
.lk-num b { font-size: 1.5rem; font-weight: 600; line-height: 1; } .lk-num small { font-size: .55rem; color: var(--ob-t3); margin-left: .1rem; }
.lk-sum { flex: 1; min-width: 0; }
.lk-tier { display: flex; align-items: center; gap: .55rem; margin: .2rem 0 .3rem; }
.lk-tier b { font-family: var(--ob-disp); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--ob-acc); }
.lk-tier span { font-family: var(--ob-disp); font-weight: 700; font-size: .85rem; letter-spacing: .06em; color: var(--ob-t1); }
.lk-sub { font-size: .56rem; color: var(--ob-t3); letter-spacing: .06em; }
.lk-bars { display: flex; flex-direction: column; gap: .5rem; padding: .7rem .8rem !important; }
.lk-row { display: grid; grid-template-columns: 4.6rem 1fr 5rem; align-items: center; gap: .6rem; }
.lk-name { font-family: var(--ob-mono); font-size: .56rem; letter-spacing: .08em; color: var(--rc); font-weight: 600; display: flex; flex-direction: column; line-height: 1.2; }
.lk-name small { color: var(--ob-t3); font-size: .5rem; letter-spacing: .04em; font-family: inherit; }
.lk-track { position: relative; height: 6px; background: var(--ob-panel2); border: 1px solid var(--ob-line); border-radius: 2px; overflow: visible; }
.lk-track .fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--rc); box-shadow: 0 0 8px color-mix(in srgb, var(--rc) 50%, transparent); }
.lk-track .base { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--ob-t2); z-index: 2; }
.lk-val { font-family: var(--ob-mono); font-size: .58rem; color: var(--ob-t2); text-align: right; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.lk-val b { color: var(--ob-t1); font-weight: 600; } .lk-val small { font-size: .5rem; color: var(--ob-t3); } .lk-val small.up { color: var(--ob-acc); } .lk-val small.dn { color: var(--ob-t3); }
.lk-strip { display: flex; gap: 3px; flex-wrap: wrap; direction: rtl; }
.lk-strip i { width: calc((100% - 19 * 3px) / 20); aspect-ratio: 1; border-radius: 2px; background: var(--rc); opacity: .85; min-width: .7rem; }
#sub-page { z-index: 48 !important; }   /* v35: 盖住底栏 (二级页有自己的返回键), 出售底栏才可点 */
.ob-sec .ob-label:not(:first-child)::before { content: none; }   /* v35: 右侧副标签不带 // */
.lk-val { flex-direction: row; gap: .3rem; align-items: baseline; white-space: nowrap; }
.lk-val small { min-width: 2.2rem; text-align: right; }
.lk-row { grid-template-columns: 4.6rem 1fr 5.6rem; }
.sell-bar { width: 100%; box-sizing: border-box; }
.sb-row .sell-submit { flex: none; min-width: 5.6rem; padding: 0 .9rem !important; }
.sb-in { min-width: 0; }
/* v35 modal 内容结构 */
.ob-modal { text-align: left; }
.om-title { font-family: var(--ob-disp); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; color: var(--ob-t1); margin: 0 0 .35rem; }
.om-desc { font-size: .8rem; line-height: 1.6; color: var(--ob-t2); margin: 0; } .om-desc b { color: var(--ob-acc); font-weight: 600; }
.om-code { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; padding: .6rem .8rem; border: 1px solid var(--ob-acc-line); background: var(--ob-acc-dim); border-radius: var(--ob-r); }
.om-code b { font-size: 1.4rem; letter-spacing: .22em; color: var(--ob-acc); font-weight: 600; }
.om-link { margin-top: .4rem; font-size: .6rem; color: var(--ob-t3); letter-spacing: .04em; word-break: break-all; }
.om-list { margin: .7rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.om-list li { font-family: var(--ob-mono); font-size: .62rem; color: var(--ob-t3); letter-spacing: .04em; padding-left: .9rem; position: relative; }
.om-list li::before { content: '>'; position: absolute; left: 0; color: var(--ob-acc); }
.ob-modal.danger .om-list li::before { color: var(--ob-red, #ff5d5d); }
.om-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; margin-top: 1rem; }
.om-actions .ob-btn { height: 2.6rem; }

/* ===================== v35.1 · 全量复核修补 ===================== */
#view-market > section { padding-bottom: 4.5rem !important; }   /* 最后一行 BUY 不被 LIST FAB 遮住 */
#bottom-tab { background: rgba(7,9,13,.97) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }   /* 消除背后文字鬼影 */
.lab-card { margin-top: 0 !important; margin-bottom: .5rem; }
.lab-card summary, .lab-card .lab-row { font-size: .78rem !important; }
@media (min-width: 640px) {
  .bt-top { grid-row: span 1; }
  .bt-recent { grid-column: span 3; }
  .bt-topcard { max-height: 6.5rem; width: auto; }
}
@media (min-width: 640px) {
  #me-bento { grid-template-columns: repeat(4, 1fr); grid-template-areas: "port port usdt cards" "port port cond list" "top top recent recent" "top top recent recent"; }
  .bt-port { grid-area: port; } .bt-usdt { grid-area: usdt; } .bt-cards { grid-area: cards; } .bt-cond { grid-area: cond; } .bt-list { grid-area: list; }
  .bt-top { grid-area: top; grid-row: auto; flex-direction: row; align-items: center; gap: .9rem; }
  .bt-top .ob-label { position: absolute; top: .65rem; left: .7rem; }
  .bt-topcard { width: 6rem; max-height: none; margin: 1.2rem 0 0; flex: none; }
  .bt-top .bt-topname, .bt-top .bt-mid { align-self: flex-end; }
  .bt-recent { grid-area: recent; grid-column: auto; }
  .bt-port .bt-big b { font-size: 2.6rem; }
}
@media (min-width: 640px) {
  #me-bento { grid-template-areas: "port port usdt cards" "port port cond list" "top top top top" "recent recent recent recent" !important; }
  .bt-top { grid-area: top !important; grid-column: auto !important; flex-direction: row !important; align-items: center !important; gap: 1rem; padding-top: 2rem !important; }
  .bt-top .ob-label { position: absolute; top: .65rem; left: .7rem; }
  .bt-topcard { width: 5.2rem !important; margin: 0 !important; max-height: none !important; }
  .bt-top .bt-topname { font-size: 1rem; align-self: auto !important; flex: 1; }
  .bt-top .bt-mid { align-self: auto !important; }
  .bt-recent { grid-area: recent !important; grid-column: auto !important; }
}
@media (min-width: 640px) {
  #me-bento { grid-template-areas: none !important; grid-auto-flow: dense; }
  .bt-port { grid-area: auto !important; grid-column: 1 / 3 !important; grid-row: 1 / 3 !important; }
  .bt-usdt, .bt-cards, .bt-cond, .bt-list { grid-area: auto !important; }
  .bt-usdt { grid-column: 3 !important; grid-row: 1 !important; } .bt-cards { grid-column: 4 !important; grid-row: 1 !important; }
  .bt-cond { grid-column: 3 !important; grid-row: 2 !important; } .bt-list { grid-column: 4 !important; grid-row: 2 !important; }
  .bt-top { grid-area: auto !important; grid-column: 1 / -1 !important; grid-row: 3 !important; }
  .bt-recent { grid-area: auto !important; grid-column: 1 / -1 !important; grid-row: 4 !important; }
}

/* ===================== v35.2 · 首页首屏重排 (CTA 文字错位 + 下方留空) ===================== */
/* 目标: 一屏内 feed → 立方 → CTA → 数据条 全部可见; 立方按视口高度缩放而不是撑满 */
#view-open .hero-app { min-height: 0 !important; padding-top: .3rem !important; padding-bottom: .4rem !important; display: flex; flex-direction: column; }
#stage-zone { flex: none !important; min-height: 0 !important; padding: .2rem 0 .1rem !important; }
#box-stage { width: clamp(11rem, 34dvh, 20rem) !important; margin-top: 0 !important; }
#stage-zone #box-stage { transform: none !important; }
#cta-zone { margin-top: .4rem !important; padding-bottom: .35rem !important; }
.img-open-btn { height: 3.5rem !important; }
#ob-stats { margin-top: .5rem; }
#ob-odds { margin-top: .55rem; }
#ob-quick { margin-top: .5rem; }
#ob-feed .ob-sec { margin: 0 0 .35rem; }
.fd-item { height: 2.5rem; }
/* 极小屏 (SE 568) 再压 */
@media (max-height: 620px) {
  #box-stage { width: clamp(9.5rem, 30dvh, 14rem) !important; }
  .img-open-btn { height: 3.2rem !important; } .img-open-btn .ob-l b { font-size: 1.1rem; }
  #ob-stats .st { padding: .4rem .4rem; }
}
/* 高屏 (≥ 800) 给立方多一点 */
@media (min-height: 800px) { #box-stage { width: clamp(14rem, 36dvh, 21rem) !important; } }
@media (min-width: 900px) { #box-stage { width: 17rem !important; } #view-open .hero-app { max-width: 42rem; } }
/* 立方真实尺寸由 #float-group(20×21rem) + .box-cube(16rem) 决定, 用 --cube 统一缩放 */
:root { --cube: 1; }
#box-stage { width: calc(20rem * var(--cube)) !important; height: calc(20rem * var(--cube)); overflow: visible; }
#float-group { transform-origin: 50% 0; transform: scale(var(--cube)); width: 20rem !important; height: 21rem !important; margin: 0 auto; position: relative; left: 50%; margin-left: -10rem !important; }
#stage-zone { overflow: visible; }
@media (max-height: 620px) { :root { --cube: .62; } }
@media (min-height: 621px) and (max-height: 700px) { :root { --cube: .76; } }
@media (min-height: 701px) and (max-height: 780px) { :root { --cube: .86; } }
@media (min-height: 781px) { :root { --cube: .95; } }
@media (min-width: 900px) { :root { --cube: .9; } }
#ob-stats .st b { font-size: .82rem; }
@media (max-width: 380px) { #ob-stats .st b { font-size: .74rem; } #ob-stats .st b small { font-size: .5rem; } .img-open-btn .ob-l b { font-size: 1.05rem; letter-spacing: .14em; } .img-open-btn .ob-p { font-size: 1rem; } }
@media (max-width: 380px) { #ob-brand .bt { display: none; } #ob-stats .st b { font-size: .7rem; letter-spacing: -.02em; } #ob-stats .st b small { display: none; } #ob-stats { gap: .35rem; } }

/* ===================== v35.3 · 首页首屏精确填充 (盒子不再靠上, 底部不留空) ===================== */
/* 首屏 = 顶栏 → [feed] → [舞台: 吃掉全部剩余高度, 立方居中] → [CTA] → [数据条] → [PROVABLY FAIR] → [快捷] → 底栏; 不产生滚动 */
#view-open { padding-bottom: calc(4.1rem + env(safe-area-inset-bottom)) !important; overflow: hidden !important; }
#view-open .hero-app {
  height: calc(100dvh - 3.6rem - env(safe-area-inset-top) - 4.1rem - env(safe-area-inset-bottom)) !important;
  min-height: 0 !important; max-height: none !important;
  display: flex !important; flex-direction: column !important; padding-top: .35rem !important; padding-bottom: .5rem !important;
}
#ob-feed, #cta-zone, #ob-stats, #ob-odds, #ob-quick { flex: none; }
#stage-zone { flex: 1 1 auto !important; min-height: 6rem !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: .25rem 0 !important; position: relative; }
/* 立方随舞台高度缩放: 舞台高度 = 立方 20rem*scale → 用 container query 单位近似; 无 cq 支持时回退到 --cube 分档 */
#box-stage { width: calc(20rem * var(--cube)) !important; height: calc(20rem * var(--cube)) !important; margin: 0 auto !important; }
/* 立方缩放由 app.js fitCube() 按舞台实际高度写 --cube (CSS 无法读取 flex 剩余高度) */
#box-stage { --cube: .8; }
#float-group { transform: translateY(var(--cube-dy, 0px)) scale(var(--cube)) !important; transform-origin: 50% 50% !important; position: absolute !important; left: 50% !important; top: 50% !important; margin: -10.5rem 0 0 -10rem !important; }
#box-stage { position: relative !important; }
#ob-odds[open] .ob-body { max-height: 40dvh; overflow-y: auto; }
#stage-zone { overflow: visible !important; }
#float-group { margin-top: -10rem !important; }   /* 20rem 框 + 立方 top .4rem: 视觉中心略上移补偿光环 */

/* ===================== v35.4 · 新立方 (更立体) 舞台呈现 ===================== */
.box-cube { filter: drop-shadow(0 26px 30px rgba(0,0,0,.7)) drop-shadow(0 0 22px rgba(200,255,61,.22)) !important; }
#float-group .box-cube { animation: ob-float 4.2s ease-in-out infinite, ob-core 2.6s ease-in-out infinite !important; }
@keyframes ob-core { 0%,100% { filter: drop-shadow(0 26px 30px rgba(0,0,0,.7)) drop-shadow(0 0 18px rgba(200,255,61,.18)); } 50% { filter: drop-shadow(0 26px 30px rgba(0,0,0,.7)) drop-shadow(0 0 34px rgba(200,255,61,.42)); } }
/* 地面反射: 立方倒影 (镜像 + 渐隐) */
#box-stage::after { content: ''; display: block !important; position: absolute; left: 50%; top: 100%; width: 60%; height: 22%; transform: translate(-50%, -38%); background: radial-gradient(ellipse at 50% 0%, rgba(200,255,61,.28), rgba(200,255,61,.06) 45%, transparent 70%); filter: blur(6px); pointer-events: none; z-index: -1; }
#ob-stage-ring { inset: 10% 8% 4%; opacity: .45; }
#ob-stage-grid { opacity: .42; }


/* ============================================================================
   v36 · Typography 全换 + Obsidian Ritual (三幕开盒结构重做, nano 字图标题板)
   字体分工: Orbitron=品牌/大数字  Chakra Petch=UI 标签/按钮/标题  Share Tech Mono=哈希/序列号/读数  站酷庆科黄油体=中文展示标题
   ============================================================================ */
/* --- 字体层级 --- */
h1, h2, h3, .ob-h, .sh-title h3, .om-title, .me-title, #sub-title, .modal-title { font-family: var(--ob-disp) !important; text-transform: uppercase; }
.ob-zh, .el-name, .sh-title h3 .zh, .codex-item .cx-name, .sp-name, .sc-name, .bt-title { font-family: var(--ob-zh) !important; font-weight: 400 !important; letter-spacing: .04em; }
.kpi > b, .kpis3 b, .lk-tier b, .bt-port b, .bt-usdt b, .sp-kpis .kpi > b, #final-jv, .a2-cnt { font-family: var(--ob-hero) !important; font-weight: 700 !important; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.kpi > b.sm { font-family: var(--ob-mono) !important; font-weight: 400 !important; }
.ob-mono, code, .hash, .sn, .bt, .slot-tag, .el-price, .sp-meta, .sp-amt, .sh-meta, .mk-price, #ob-hud, .act-readout { font-family: var(--ob-mono) !important; font-weight: 400 !important; }
.img-open-btn .ob-l b { font-family: var(--ob-hero) !important; font-size: 1.12rem !important; letter-spacing: .12em !important; }
.img-open-btn .ob-l small, .img-open-btn .ob-p { font-family: var(--ob-mono) !important; font-weight: 400 !important; }
.tab-btn, .filter-chip, .ob-seg button, .adv-seg button, .ctab, #codex-tabs button, .ob-ghost, .ob-btn-acc, .sell-fab, .ghost-btn { font-family: var(--ob-disp) !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase; }
#bottom-tab .tb span, #bottom-tab button span, #bottom-tab .lbl { font-family: var(--ob-disp) !important; font-weight: 600 !important; letter-spacing: .12em; text-transform: uppercase; }
/* Share Tech Mono 单字重, 去粗 */
[style*="Rajdhani"] { font-family: var(--ob-disp) !important; }

/* --- 品牌: nano 字标替换文字 --- */
#ob-brand .bm { width: 1.45rem; height: auto; }
#ob-brand .bwm { height: 1.15rem; width: auto; display: block; filter: drop-shadow(0 0 6px rgba(200,255,61,.18)); }
#ob-brand .bw { display: none !important; }
#ob-brand .bt { font-family: var(--ob-mono) !important; }
@media (max-width: 360px) { #ob-brand .bt { display: none; } }

/* --- 通用按钮 (三幕 + 弹层复用) --- */
.ob-btn-acc { display: inline-flex; align-items: center; gap: .5rem; height: 2.7rem; padding: 0 1.3rem; background: var(--ob-acc); color: #05070a !important; border: 1px solid var(--ob-acc); border-radius: var(--ob-r); font-size: .8rem;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px)); box-shadow: 0 8px 28px rgba(200,255,61,.22); transition: transform .12s, filter .12s; }
.ob-btn-acc:active { transform: scale(.97); filter: brightness(.92); }
.ob-ghost { display: inline-flex; align-items: center; gap: .5rem; height: 2.7rem; padding: 0 1.2rem; background: transparent; color: var(--ob-t2) !important; border: 1px solid var(--ob-line2, var(--ob-line)); border-radius: var(--ob-r); font-size: .78rem;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px)); transition: all .15s; text-decoration: none !important; opacity: 1 !important; }
.ob-ghost:hover, .ob-ghost:active { border-color: var(--ob-acc-line); color: var(--ob-acc) !important; }

/* --- 幕间步进 + HUD --- */
#ob-steps { position: fixed; right: 1rem; top: calc(2.55rem + env(safe-area-inset-top)); z-index: 60; display: flex; gap: .3rem; pointer-events: none; }
#ob-steps i { width: 1.35rem; height: 3px; background: var(--ob-line); border-radius: 1px; transition: background .3s, box-shadow .3s; }
#ob-steps i.done { background: var(--ob-t2); }
#ob-steps i.on { background: var(--ob-acc); box-shadow: 0 0 8px var(--ob-acc-glow); animation: ob-step-blink 1s steps(2) infinite; }
@keyframes ob-step-blink { 50% { opacity: .55; } }
#ob-hud { font-family: var(--ob-mono) !important; }

/* --- nano 标题板 (act-plate) --- */
.act-plate { display: block; width: min(78vw, 420px); height: auto; margin: 0 auto 1.4rem; opacity: 0; transform: translateY(-8px) scaleX(1.04); filter: drop-shadow(0 0 22px rgba(200,255,61,.16)); animation: plate-in .55s cubic-bezier(.2,.9,.3,1.2) .12s forwards; pointer-events: none; user-select: none; }
.act-plate-sm { width: min(64vw, 320px); margin-bottom: 1.1rem; }
.act:not(.hidden) .act-plate { animation-play-state: running; }
@keyframes plate-in { 0% { opacity: 0; transform: translateY(-8px) scaleX(1.04); clip-path: inset(0 100% 0 0); } 60% { opacity: 1; clip-path: inset(0 0 0 0); } 100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
#act1 .act-plate { position: absolute; top: calc(4.2rem + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); margin: 0; animation-name: plate-in-c; }
@keyframes plate-in-c { 0% { opacity: 0; transform: translateX(-50%) translateY(-8px); clip-path: inset(0 100% 0 0); } 60% { opacity: 1; clip-path: inset(0); } 100% { opacity: 1; transform: translateX(-50%); clip-path: inset(0); } }
#act3 .act3-plate { width: min(56vw, 260px); margin-bottom: .6rem; }
#act3.identified .act3-plate { opacity: .35; filter: none; }

/* --- 幕一: 提示文字 (EN 小 mono + ZH 大黄油体) + 读数 --- */
.summon-hint { font-family: var(--ob-zh) !important; font-weight: 400 !important; letter-spacing: .28em !important; text-indent: .28em !important; font-size: 1.45rem !important; }
.summon-hint.h-multi { font-size: 1.45rem !important; letter-spacing: .24em !important; text-indent: .24em !important; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.summon-hint .hline.h-en { font-family: var(--ob-mono) !important; font-size: .68rem !important; letter-spacing: .22em !important; text-indent: .22em; color: var(--ob-acc) !important; opacity: .9; }
.summon-hint .hline.h-en .hchar { color: var(--ob-acc) !important; text-shadow: none !important; }
.summon-hint .hline.h-en::before { content: '> '; }
.act-readout { position: absolute; left: 50%; bottom: calc(2.2rem + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; grid-template-columns: auto auto; gap: .18rem .7rem; padding: .55rem .9rem; background: rgba(13,17,23,.75); border: 1px solid var(--ob-line); border-radius: var(--ob-r); font-family: var(--ob-mono); font-size: .58rem; letter-spacing: .1em; color: var(--ob-t3); backdrop-filter: blur(6px); }
.act-readout span { text-align: right; }
.act-readout b { font-weight: 400; color: var(--ob-t2); white-space: nowrap; }
.act-readout.locked b { color: var(--ob-acc); text-shadow: 0 0 8px var(--ob-acc-glow); }
.act-readout::before { content: ''; position: absolute; left: -1px; top: -1px; width: 8px; height: 8px; border-left: 1px solid var(--ob-acc); border-top: 1px solid var(--ob-acc); }
.act-readout::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-right: 1px solid var(--ob-acc); border-bottom: 1px solid var(--ob-acc); }
@media (max-height: 640px) { .act-readout { display: none; } }

/* --- 幕二: 显影列表 (账本行) --- */
.act2-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 .7rem; padding: 0 .1rem .5rem; border-bottom: 1px solid var(--ob-line); }
.a2-tag { font-family: var(--ob-mono); font-size: .6rem; letter-spacing: .18em; color: var(--ob-t3); }
.a2-tag::before { content: '// '; color: var(--ob-acc); }
.a2-cnt { font-size: 1.05rem; color: var(--ob-t1); }
.element-row { display: flex !important; align-items: stretch; gap: 0 !important; padding: 0 !important; overflow: hidden; border-left: 2px solid var(--rc, var(--ob-t3)) !important; }
.element-row .el-idx { flex: none; width: 2rem; display: flex; align-items: center; justify-content: center; font-family: var(--ob-mono); font-size: .62rem; color: var(--ob-t3); background: rgba(255,255,255,.02); border-right: 1px solid var(--ob-line); }
.element-row .el-main { flex: 1 1 auto; min-width: 0; }
.element-row .el-top, .element-row .el-bot { padding: .45rem .7rem !important; }
.element-row .el-tick { flex: none; width: 4px; background: linear-gradient(to top, var(--rc) 0 calc((var(--n) + 1) * 20%), transparent calc((var(--n) + 1) * 20%)); opacity: .8; }
.element-row.row-legendary, .element-row.row-mythic { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 35%, transparent) !important; }
.el-rbadge { background: color-mix(in srgb, var(--rc) 16%, transparent) !important; color: var(--rc) !important; border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent) !important; padding: .12rem .4rem !important; }
.el-name { font-size: 1.02rem !important; }
.cond-pct { font-size: .62rem !important; letter-spacing: .08em !important; }
.act2-sum { display: flex; align-items: baseline; gap: .5rem; justify-content: flex-end; margin-top: .9rem; padding: .6rem .8rem; border: 1px solid var(--ob-acc-line); border-radius: var(--ob-r); background: var(--ob-acc-dim); font-family: var(--ob-mono); font-size: .6rem; letter-spacing: .14em; color: var(--ob-t2); }
.act2-sum b { font-family: var(--ob-hero); font-size: 1.15rem; color: var(--ob-acc); letter-spacing: .02em; }
.act2-sum i { font-style: normal; color: var(--ob-t3); }
.act2-sum .sep { flex: 1; }
.act2-sum b.r-common { color: var(--ob-r-common); } .act2-sum b.r-rare { color: var(--ob-r-rare); } .act2-sum b.r-epic { color: var(--ob-r-epic); } .act2-sum b.r-legendary { color: var(--ob-r-legendary); } .act2-sum b.r-mythic { color: var(--ob-r-mythic); }
.element-egg { font-family: var(--ob-zh) !important; font-size: 1.25rem !important; letter-spacing: .26em !important; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1rem 0 .4rem; }
.element-egg small { font-family: var(--ob-mono); font-size: .6rem; letter-spacing: .22em; color: var(--ob-acc); }
.element-egg small::before { content: '> '; }

/* --- 幕二半: 锻造 --- */
.forge-vortex { position: relative; }
.forge-vortex .fv-hex { position: absolute; inset: 18%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); border: 1px solid var(--ob-acc-line); background: linear-gradient(135deg, rgba(200,255,61,.12), transparent 60%); animation: fv-hex-spin 6s linear infinite; }
.forge-vortex .fv-hex::after { content: ''; position: absolute; inset: 1px; clip-path: inherit; border: 1px dashed rgba(200,255,61,.25); }
@keyframes fv-hex-spin { to { transform: rotate(360deg); } }
.forge-steps { display: flex; gap: .35rem; margin-top: 1.4rem; }
.forge-steps i { width: 2.2rem; height: 4px; background: var(--ob-line); border-radius: 1px; position: relative; transition: background .35s; }
.forge-steps i.done { background: var(--ob-t2); }
.forge-steps i.on { background: var(--ob-acc); box-shadow: 0 0 10px var(--ob-acc-glow); }
.forge-steps i.on::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: fs-sweep 1.2s linear infinite; }
@keyframes fs-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
#forge-skip { margin-top: 2.2rem !important; height: 2.3rem !important; font-size: .68rem !important; }

/* --- 幕三: 鉴定按钮 (nano 字图) + 结算矩阵 --- */
.img-ident-btn { width: min(70vw, 300px) !important; height: auto !important; aspect-ratio: auto !important; padding: 0 !important; margin: .4rem auto 0; display: block !important; background: transparent !important; border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; clip-path: none !important; animation: ident-float 2.4s ease-in-out infinite !important; filter: drop-shadow(0 10px 30px rgba(200,255,61,.28)); transform: none !important; }
.img-ident-btn .ib-img { display: block !important; width: 100%; height: auto; opacity: 1 !important; position: static !important; animation: none !important; pointer-events: none; }
.img-ident-btn.pressing { transform: scale(.96) translateY(2px) !important; filter: drop-shadow(0 4px 14px rgba(200,255,61,.3)) brightness(.92); animation: none !important; }
@keyframes ident-float { 50% { transform: translateY(-3px); filter: drop-shadow(0 16px 40px rgba(200,255,61,.42)); } }
.ident-label { display: block !important; margin-top: .7rem; font-family: var(--ob-mono); font-size: .58rem; letter-spacing: .2em; color: var(--ob-t3); }
#final-stats .fs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ob-line); border: 1px solid var(--ob-line); border-radius: var(--ob-r); overflow: hidden; max-width: 340px; margin: 0 auto; }
#final-stats .fs-cell { background: var(--ob-panel); padding: .55rem .4rem .5rem; display: flex; flex-direction: column; align-items: center; gap: .12rem; }
#final-stats .fs-cell span { font-family: var(--ob-mono); font-size: .52rem; letter-spacing: .16em; color: var(--ob-t3); }
#final-stats .fs-cell b { font-family: var(--ob-disp); font-weight: 700; font-size: .95rem; letter-spacing: .06em; color: var(--ob-t1); line-height: 1.1; }
#final-stats .fs-cell small { font-family: var(--ob-zh); font-size: .66rem; color: var(--ob-t2); letter-spacing: .06em; }
#final-stats .fs-cell b.r-common { color: var(--ob-r-common); } #final-stats .fs-cell b.r-rare { color: var(--ob-r-rare); } #final-stats .fs-cell b.r-epic { color: var(--ob-r-epic); } #final-stats .fs-cell b.r-legendary { color: var(--ob-r-legendary); } #final-stats .fs-cell b.r-mythic { color: var(--ob-r-mythic); }
#final-stats .fs-val { display: flex; align-items: baseline; justify-content: center; gap: .5rem; margin-top: .8rem; }
#final-stats .fs-val span { font-family: var(--ob-mono); font-size: .56rem; letter-spacing: .18em; color: var(--ob-t3); }
#final-stats .fs-val b { font-size: 2.1rem; line-height: 1; }
#final-stats .fs-val i { font-style: normal; font-family: var(--ob-mono); font-size: .68rem; color: var(--ob-acc); letter-spacing: .12em; }
.act3-btns { display: flex; gap: .6rem; justify-content: center; }
.act3-btns .ghost-btn { display: none !important; }

/* v36.1 视觉复核修正 */
#act1 { padding-top: calc(5.5rem + env(safe-area-inset-top)) !important; padding-bottom: 6.5rem !important; justify-content: flex-start !important; }
#act1 .act-plate { position: static !important; transform: none !important; margin: 0 auto 1.2rem !important; width: min(72vw, 360px); z-index: 3; animation-name: plate-in !important; }
#act1 #summon-wrap { margin-top: .4rem; }
#act1 .summon-hint { margin-top: 1.6rem !important; }
.final-card { --a3-avail: calc(100dvh - 19rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important; }
#act3 .act3-plate { width: min(48vw, 220px) !important; margin-bottom: .4rem !important; }
.act3-skip-hint { bottom: calc(.55rem + env(safe-area-inset-bottom, 0px)) !important; font-size: .56rem !important; background: linear-gradient(to top, rgba(7,9,13,.95), rgba(7,9,13,0)); padding: 1.2rem 0 .2rem; }
#act3-identify { padding-bottom: 1.6rem; }
@media (max-height: 700px) { #act3 .act3-plate { width: min(40vw, 180px) !important; } .img-ident-btn { width: min(58vw, 250px) !important; } #act1 .act-plate { width: min(62vw, 300px); } }

/* ===================== v37 · 立方放大下移 + 酸绿电流 (zap.js) ===================== */
/* 电流 canvas 挂在 .box-cube 内, 各向外扩 14% 让电弧/火花可越出轮廓; 随 ob-float 一起浮动 */
#box-cube .zap-layer { position: absolute; left: -14%; top: -14%; width: 128%; height: 128%; pointer-events: none; z-index: 3; mix-blend-mode: screen; }
/* 浪涌: 盒体瞬时提亮 + 光环脉冲 (由 zap.js 加 .zap-surge) */
#float-group .box-cube.zap-surge { animation: ob-float 4.2s ease-in-out infinite, zap-flash .42s ease-out 1 !important; }
@keyframes zap-flash {
  0%   { filter: drop-shadow(0 26px 30px rgba(0,0,0,.7)) drop-shadow(0 0 22px rgba(200,255,61,.22)) brightness(1); }
  18%  { filter: drop-shadow(0 26px 30px rgba(0,0,0,.7)) drop-shadow(0 0 54px rgba(200,255,61,.75)) brightness(1.22) saturate(1.15); }
  100% { filter: drop-shadow(0 26px 30px rgba(0,0,0,.7)) drop-shadow(0 0 22px rgba(200,255,61,.22)) brightness(1); }
}
#box-cube.zap-surge ~ #ob-stage-ring, #box-stage:has(.zap-surge) #ob-stage-ring { animation: ob-breathe 4s ease-in-out infinite, ring-pulse .5s ease-out 1; }
@keyframes ring-pulse { 30% { opacity: 1; transform: scale(1.12); } }
/* 立方放大后地面反射加宽下移一点, 网格略亮 */
#box-stage::after { width: 68%; height: 24%; transform: translate(-50%, -30%); }
#ob-stage-grid { opacity: .5; }
@media (prefers-reduced-motion: reduce) { #box-cube .zap-layer { display: none; } }

/* ===================== v38 · 幕一立方: 舞台余量定尺 + 居中 (用户: 开盒时盒子太靠上、再大一点) ===================== */
/* #act1 = 精确一屏 (不再 min-h-screen 溢出); 纵向: 标题板 → 舞台(flex:1, 立方居中) → 提示句 → 读数(绝对贴底, 用 padding-bottom 预留) */
#act1 { height: 100dvh; min-height: 0 !important; box-sizing: border-box; overflow: hidden;
  padding-top: calc(4.2rem + env(safe-area-inset-top, 0px)) !important;
  padding-bottom: calc(7.2rem + env(safe-area-inset-bottom, 0px)) !important; }
#act1 .act-plate { flex: none; margin-bottom: .4rem !important; }
#act1-stage { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
#act1 #summon-wrap { margin: 0; flex: none; }
#act1 .box-cube { width: 16rem; height: 16rem; }   /* JS fitAct1() 以内联 style 覆盖 */
#act1 .summon-hint { flex: none; margin-top: .9rem !important; min-height: 4rem; display: flex; flex-direction: column; justify-content: center; align-items: center; }
@media (max-height: 640px) { #act1 { padding-bottom: calc(2.2rem + env(safe-area-inset-bottom, 0px)) !important; } }   /* 读数已隐藏, 不留位 */
@media (min-width: 900px) { #act1 { padding-bottom: calc(9.5rem + env(safe-area-inset-bottom, 0px)) !important; } #act1 .summon-hint { min-height: 5rem; } .act-readout { bottom: calc(1.6rem + env(safe-area-inset-bottom)); } }
@media (max-height: 700px) and (min-height: 641px) { #act1 .act-plate { width: min(56vw, 240px) !important; } }   /* 中等高度: 标题板再收一点给立方 */

/* ===================== v38 · 全量复核修补 ===================== */
/* ① 说明弹窗 4 tab: 第 4 个「品相」被右上关闭键压住 → tab 收窄 + 右侧给关闭键让位 */
#guide-tabs { padding-right: 2.3rem; }
#guide-tabs .gtab { padding: .45rem .25rem !important; font-size: .7rem !important; white-space: nowrap; letter-spacing: .02em !important; }
#guide-tabs .gtab i { margin-right: .2rem !important; }
/* ② 交易所 LIST 按钮: 悬浮 FAB 在 2 列网格里必然遮到某一行 BUY (v33.3 居中仍遮首行) → app.js 把它移进 #mk-head .ob-sec, 改普通按钮 */
#mk-head .ob-sec { display: flex; align-items: center; }
#mk-head .sell-fab { position: static !important; transform: none !important; margin-left: auto; margin-right: .6rem; height: 1.75rem !important; padding: 0 .65rem !important; font-size: .66rem !important; box-shadow: none !important; gap: .3rem !important; }
#mk-head .sell-fab span { font-size: .66rem !important; }
#mk-head .sell-fab:active { transform: scale(.95) !important; }
#market-grid { padding-bottom: 1.5rem !important; }
#view-market section { padding-bottom: 1rem !important; }
/* ③ 幕三鉴定后整幕 700 > 664 溢出 → 收结算矩阵/按钮上边距 */
#act3 #final-stats { margin-top: .9rem !important; }
#act3 .act3-btns { margin-top: 1rem !important; }
/* ④ 幕三鉴定态: 卡下方多出结算矩阵 (133px) + 按钮 → 卡可用高再让 2.5rem, 整幕 ≤ 一屏不滚 */
#act3.identified .final-card { --a3-avail: calc(100dvh - 21.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important; }

/* ===== 2.0 Genesis Box · MOMO METAVERSE (平台登录 / 只读门 / 文字字标) ===== */
.box-wm { font-family: var(--ob-hero, Orbitron, sans-serif); font-weight: 700; letter-spacing: .14em; color: var(--ob-t1, #e6edf3); white-space: nowrap; line-height: 1; }
.box-wm i { font-style: normal; color: var(--ob-acc, #c8ff3d); margin-left: .35em; text-shadow: 0 0 12px rgba(200,255,61,.35); }
#ob-brand .bwm.box-wm { height: auto; font-size: 1rem; display: inline-block; }
#splash .sp-wm.box-wm { width: auto; font-size: clamp(1.4rem, 7vw, 2.2rem); text-align: center; }
#splash .sp-wm.box-wm small { display: block; margin-top: .55rem; font-family: var(--ob-zh, 'ZCOOL QingKe HuangYou', sans-serif); font-size: .5em; letter-spacing: .4em; color: var(--ob-t2, #8b949e); }
#ob-wallet img { width: 1.25rem; height: 1.25rem; border-radius: 50%; object-fit: cover; margin-right: .1rem; }
#ob-wallet.on .dot { display: none; }
#ob-wallet.on img[hidden] + .dot { display: inline-block; }
.box-gate { margin: .7rem auto 0; max-width: 28rem; padding: .7rem .9rem; border: 1px solid var(--ob-line, rgba(255,255,255,.08)); border-radius: 4px; background: rgba(200,255,61,.04); display: flex; align-items: center; gap: .8rem; font-size: .72rem; color: var(--ob-t2, #8b949e); }
.box-gate[hidden] { display: none !important; }
.box-gate b { color: var(--ob-t1, #e6edf3); font-weight: 700; }
.box-gate p { flex: 1; margin: 0; line-height: 1.45; }
.box-gate .ob-btn { flex: none; white-space: nowrap; }
.img-open-btn.need-login .ob-p { opacity: .55; }
.mc-buy.soon, .ob-btn.soon { opacity: .55; cursor: not-allowed; }
html[data-box-frame="platform"] #btn-download, html[data-box-frame="platform"] #pwa-install-now { display: none !important; }
@media (orientation: landscape) and (max-height: 520px) { #ob-stats, #ob-odds, #ob-quick { display: none; } .box-gate { margin-top: .4rem; padding: .45rem .7rem; } }
@media (max-width: 520px) { .box-gate { flex-direction: column; align-items: stretch; text-align: center; gap: .55rem; } .box-gate .ob-btn { justify-content: center; } }
