:root {
  --void:#091820;
  --panel:#132b34;
  --panel-hi:#1e4148;
  --line:#395059;
  --line-hi:#86a8a8;
  --ion:#a4e2d6;
  --flare:#ef927e;
  --gem:#9bdddf;
  --gold:#eaca95;
  --ok:#91dcb2;
  --text:#f7efda;
  --dim:#b1c6c4;
  --font-d:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --font-n:"Avenir Next Condensed","Bahnschrift","Arial Narrow",system-ui,sans-serif;
}

#app {
  background:radial-gradient(ellipse at 50% 28%,#294a52 0%,#122830 39%,#08131d 77%);
}
#stage { background:#080c16; box-shadow:0 0 0 1px #465260,0 26px 96px #010308cc; }
#hangar { background:linear-gradient(180deg,#152e36 0%,#10252d 77%,#0b1d26 100%); }
.hg-top {
  min-height:67px;
  box-sizing:border-box;
  padding:10px 16px;
  background:linear-gradient(110deg,#224249,#173039 49%,#142630);
  border-bottom:1px solid #ad9265;
}
.brand { gap:4px; white-space:nowrap; flex-shrink:0; }
.brand-cn {
  color:#f3eee2;
  background:none;
  filter:none;
  font-weight:850;
  font-size:clamp(23px,5.7vw,33px);
  letter-spacing:.015em;
  text-shadow:0 2px 0 #0008;
}
.brand-en { color:#a0b4c1; font-size:9px; letter-spacing:.25em; margin:0; }
.wallet,.wallet-btn { gap:4px; }
.chip { border-radius:4px; padding:4px 6px; line-height:1; font-size:15px; }
.chip svg { width:13px; height:13px; }
.icon-btn { width:29px; height:29px; border-radius:4px; background:#19232e; color:#c9d6dd; }
.icon-btn.off { opacity:.55; }

.hg-scroll { padding:0 12px 12px; gap:11px; }
.showcase {
  margin:0 -12px;
  flex-shrink:0;
  isolation:isolate;
  background:
    linear-gradient(180deg,#0c203026 0%,#10222b0a 38%,#10232b85 65%,#10252df5 89%,#10252d 100%),
    url('assets/hangar.jpg') center 43% / cover no-repeat,
    #121b25;
  box-shadow:inset 0 1px #ffffff0e;
}
.showcase::before {
  content:"";
  position:absolute;
  inset:12px 12px auto;
  height:38px;
  border-left:1px solid #c2d5de69;
  border-right:1px solid #c2d5de69;
  background:linear-gradient(#c2d5de69,#c2d5de69) left top / 17px 1px no-repeat,
    linear-gradient(#c2d5de69,#c2d5de69) right top / 17px 1px no-repeat;
  pointer-events:none;
  z-index:-1;
}
#shipView { height:clamp(164px,28dvh,258px); }
.sc-info { margin:-14px 0 4px; gap:7px; }
.sc-name { font-size:31px; font-weight:800; letter-spacing:.06em; padding:0; }
.sc-name small { letter-spacing:.18em; color:#c3d0d5; }
.stat { border-radius:4px; padding:3px 10px; background:#0d1823d9; }
.sc-note { color:#b5c3cd; padding:0 8px; font-size:10.5px; }

.tabs {
  gap:0;
  padding:0;
  border:0;
  border-bottom:1px solid #3d525f;
  border-radius:0;
  background:#112a31;
  backdrop-filter:none;
}
.tabs button {
  padding:10px 0;
  border-radius:0;
  letter-spacing:.08em;
  font-weight:650;
}
.tabs button.on {
  color:var(--ion);
  background:linear-gradient(0deg,#bfab752e,#bfab7500);
  box-shadow:inset 0 -2px var(--ion);
}

.up,.ex-card,.ship-card,.ship-head,.cur-ship,.tbl,.ex-box,.flow-note div,.inc-wallet div,.sd-stats div,.ul-stats div {
  border-radius:4px;
}
.up,.cur-ship,.ship-card,.ship-head,.ex-card {
  background:linear-gradient(112deg,#214047,#142c35 62%);
}
.up { border-left:2px solid #4b7d8b; }
.up.eco { border-left-color:#9c784d; }
.cur-ship,.ship-card.cur {
  border-color:#678a8e;
  background:linear-gradient(115deg,#2b4d51,#142d36 72%);
}
.cur-ship[data-r="4"] { background:linear-gradient(115deg,#403328,#121d29 70%); }
.ship-card canvas,.cur-ship canvas {
  background:radial-gradient(ellipse,#6f94a33a,transparent 70%);
}
.up-ic,.tier,.rar,.ex-quick button,.up-toggle { border-radius:4px; }
.up-ic {
  background:#18323b;
  color:#b9ebea;
  border-color:#4a737d;
}
.up-ic.eco { background:#30281f; color:#f4ce9e; border-color:#685541; }
.grp { color:#c4d7e1; letter-spacing:.11em; }
.buy,.primary,.sh-btn,.ghost { border-radius:4px; }
.buy,.primary {
  color:#2a1b11;
  background:linear-gradient(180deg,#f6d7ad,#cda06a);
  box-shadow:inset 0 1px #ffebc9;
}
.buy:disabled,.primary:disabled { color:#a0afbf; background:#202c38; box-shadow:none; }
.buy.max { color:var(--ok); background:#203932; box-shadow:inset 0 0 0 1px #3d6658; }
.sh-btn,.sh-btn.buy-dia { background:#a9dedb; color:#10252a; }
.sh-btn:disabled { color:#a5b5c4; background:#273440; }
.sh-btn.on { background:#223b38; }
.bar,.bar i,.pips i { border-radius:0; }
.bar i,.pips i.on { background:#9edfe4; box-shadow:none; }
.tbl th { background:#233441; }
.tbl td { color:#e1eaf0; }

.hg-foot {
  border-top:1px solid #435464;
  background:linear-gradient(180deg,#213e45,#152d35);
  padding:9px 12px 11px;
}
.stage-pick {
  border-radius:4px;
  background:#0d1824;
  border-color:#4b6171;
  min-height:54px;
}
.stage-pick button { color:#c9dbe3; }
.stage-pick button:not(:disabled):active { background:#273b4a; }
.stage-pick b { line-height:1; }
.go {
  color:#11252c;
  border-radius:3px;
  background:linear-gradient(160deg,#fff3d4 0%,#ecd3a1 48%,#d5ac71 49%,#e3c18a 100%);
  font-weight:900;
  font-size:24px;
  box-shadow:inset 0 1px #fff9e8,0 3px 0 #947344,inset 0 0 0 3px #d8ba87;
  clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);
  letter-spacing:.36em;
  padding:10px 0 10px .36em;
}
.go::after { animation:none; background:none; }
.go:active { background:#d0ab75; }
.go:focus-visible { outline-offset:-5px; outline-color:#153441; }

.modal,.sheet-wrap { background:#061019bd; }
.card,.sheet {
  border-radius:6px;
  border:1px solid #627c86;
  background:linear-gradient(155deg,#25444a,#122933 64%);
}
.card h2,.sheet-head h3,.ul-info h2 { font-weight:800; letter-spacing:.1em; }
.card h2.win { color:#f6d6ab; background:none; }
.card h2.lose { color:#f2a494; }
.rows { border-radius:3px; border:1px solid #314352; }
.ghost { background:#25333f; }
.up-toggle { background:#372d23; border-color:#927553; }
.sd-hero,.sd-hero[data-r] {
  border-radius:4px;
  background:linear-gradient(#0b16242a,#0b162459 54%,#0b1624ea),
    url('assets/hangar.jpg') center 43% / cover no-repeat,#172331;
}
.unlock { background:radial-gradient(ellipse at 50% 32%,#243b4c,#08111a 67%); }
#toast { border-radius:4px; background:#132431; }

@media (max-width:375px) {
  .hg-top { padding-inline:11px; }
  .wallet,.wallet-btn { gap:3px; }
  .chip { padding-inline:4px; font-size:14px; }
  .icon-btn { width:26px; height:27px; }
}
@media (max-width:325px) {
  .brand-cn { font-size:20px; }
  .wallet { gap:2px; }
  .chip svg { width:11px; height:11px; }
}
@media (prefers-reduced-motion:reduce) {
  .sheet { animation:none; }
}

.stage-pick .st-mid { border-radius:3px; min-width:77px; padding-block:2px; }
.stage-pick .st-mid:hover { background:#20343e; }
.stage-pick .st-mid.boss b { color:var(--gold); }
.stg-sum div,.stg-ch,.stg-lock { border-radius:4px; }
.stg-sum div,.stg-ch { background:#192733; }
.stg-grid button { border-radius:3px; }
.stg-grid button.on { color:#0a1a22; }
.stg-grid button:disabled { opacity:.36; }
.stg-grid button { min-width:0; padding:0; }

/* ================= 飞行员 ================= */
.pt { position:relative; display:block; aspect-ratio:3/4; overflow:hidden; border-radius:3px; isolation:isolate;
  background:radial-gradient(ellipse at 50% 38%,color-mix(in srgb,var(--rc) 30%,transparent),transparent 70%),linear-gradient(180deg,#1b2a36,#0d1620); }
.pt-sil { position:absolute; inset:14% 12% 0; width:76%; height:86%; fill:color-mix(in srgb,var(--rc) 55%,#18242f); }
.pt-sil .v { fill:color-mix(in srgb,var(--rc) 35%,#ffffff); opacity:.7; }
.pt-no { position:absolute; left:5px; top:4px; font-family:var(--font-n); font-size:10px; letter-spacing:.08em; color:#ffffff8c; }
.pt img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 20%; z-index:1; }
.pt.xs { width:30px; border-radius:50%; aspect-ratio:1; box-shadow:0 0 0 1.5px var(--rc); }
.pt.xs .pt-no,.pt.md .pt-no { display:none; }
.pt.xs img { object-position:50% 12%; }
.pt.md { width:66px; flex-shrink:0; box-shadow:0 0 0 1px var(--rc); }
.pt.lg { width:min(62%,230px); margin:0 auto; box-shadow:0 0 0 1px var(--rc),0 0 30px color-mix(in srgb,var(--rc) 35%,transparent); }
.pt.lg .pt-no { font-size:12px; }
/* 无名飞行员：制式头盔 + 反光面罩 */
.pt.def { background:repeating-linear-gradient(135deg,#ffffff06 0 3px,transparent 3px 9px),radial-gradient(ellipse at 50% 40%,#2c5a66,transparent 70%),linear-gradient(180deg,#1a2a35,#0b141c); }
.pt-helm { position:absolute; inset:8% 6% 0; width:88%; height:92%; }
.pt-helm .h-suit { fill:#2b3a47; }
.pt-helm .h-strap { fill:#3b4e5d; }
.pt-helm .h-ring { fill:#5a6e7c; }
.pt-helm .h-shell { fill:#8796a3; }
.pt-helm .h-crest { fill:#d9a441; }
.pt-helm .h-ear { fill:#4c5d6b; }
.pt-helm .h-visor { fill:#0b2f3a; stroke:var(--rc); stroke-width:1.2; }
.pt-helm .h-glint { fill:none; stroke:#ffffffb0; stroke-width:1.6; stroke-linecap:round; }
.pt-helm .h-glint.s { stroke-width:1.2; stroke:#ffffff70; }
.pt-helm .h-scan { stroke:var(--rc); stroke-width:.8; opacity:.55; animation:helmScan 3.2s ease-in-out infinite; }
.pt.xs .pt-helm { inset:4% 0 0; width:100%; height:120%; }
.pt.xs .pt-helm .h-scan { display:none; }
@keyframes helmScan { 0%,100% { transform:translateY(-6px); opacity:0; } 40%,60% { opacity:.6; } 50% { transform:translateY(4px); } }
@media (prefers-reduced-motion:reduce) { .pt-helm .h-scan { animation:none; } }

.pl-badge { position:absolute; left:14px; top:14px; display:flex; align-items:center; gap:7px; padding:4px 10px 4px 4px; border-radius:999px;
  background:#0d1823d9; border:1px solid #4b6171; text-align:left; z-index:1; }
.pl-badge span:last-child { display:flex; flex-direction:column; line-height:1.15; }
.pl-badge small { font-size:9.5px; color:var(--dim); letter-spacing:.1em; }
.pl-badge b { font-size:13px; }

.pl-cur { display:flex; align-items:center; gap:12px; padding:10px; border-radius:4px; border:1px solid #678a8e; text-align:left; width:100%;
  background:linear-gradient(115deg,#2b4d51,#142d36 72%); }
.pl-cur.empty { border-color:#4f6470; background:linear-gradient(115deg,#22343f,#121f29 72%); }
.pl-cur-main { flex:1; display:flex; flex-direction:column; gap:4px; min-width:0; }
.pl-cur-main small { font-size:11px; color:var(--dim); }
.pl-cur-main > b { font-size:19px; letter-spacing:.06em; }
.pl-meta { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--dim); }
.pl-tal { font-size:12.5px; color:var(--ok); }
.pl-filter { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.pl-filter button { padding:7px 0; border-radius:4px; background:#16222d; border:1px solid var(--line); color:var(--dim); font-size:13px; }
.pl-filter button i { font-style:normal; font-family:var(--font-n); font-size:11px; margin-left:4px; opacity:.7; }
.pl-filter button.on { color:var(--ion); border-color:var(--line-hi); background:#1d3240; }
.pl-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.pl-grid.big { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.pl-card { display:flex; flex-direction:column; gap:3px; padding:5px 5px 7px; border-radius:4px; background:linear-gradient(170deg,#1a2732,#121d29); border:1px solid var(--line); text-align:center; min-width:0; }
.pl-card[data-r="1"] { border-color:rgba(93,255,176,.3); }
.pl-card[data-r="2"] { border-color:rgba(79,184,255,.4); }
.pl-card[data-r="3"] { border-color:rgba(200,107,255,.5); box-shadow:inset 0 0 18px rgba(200,107,255,.1); }
.pl-card[data-r="4"] { border-color:rgba(255,198,90,.65); box-shadow:inset 0 0 22px rgba(255,198,90,.14); }
.pl-card.cur { outline:2px solid var(--ok); outline-offset:-1px; }
.pl-card.locked .pt { filter:saturate(.55) brightness(.75); }
.pl-name { font-size:13.5px; font-weight:700; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pl-sub { font-size:10.5px; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pl-st,.pl-price { margin-top:2px; font-size:11.5px; font-weight:700; padding:3px 0; border-radius:3px; background:#202d39; color:#c9d6dd; display:flex; justify-content:center; align-items:center; gap:3px; }
.pl-st.on { background:#223b38; color:var(--ok); }
.pl-price { background:#a9dedb; color:#10252a; font-family:var(--font-n); font-size:13px; }
.pl-price svg { width:11px; height:11px; }
.pl-price.no { background:#273440; color:#a5b5c4; }
.pd-hero { padding:12px 0 4px; border-radius:4px; background:linear-gradient(#0b16242a,#0b1624d0),url('assets/hangar.jpg') center 43% / cover no-repeat,#172331; }
.pd-tag { display:flex; align-items:center; justify-content:center; gap:8px; font-size:12px; color:var(--dim); }
@media (max-width:340px) { .pl-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.pl-meta .rar,.pd-tag .rar { margin-left:0; }

/* ================= 僚机 ================= */
.wing-entry { display:flex; align-items:center; gap:10px; width:100%; padding:9px 10px; border-radius:4px; text-align:left;
  background:linear-gradient(112deg,#20313c,#121d29 70%); border:1px solid #4b6d78; border-left:2px solid var(--ion); }
.we-ic { width:44px; height:44px; flex-shrink:0; display:grid; place-items:center; border-radius:4px; background:#18323b; color:#b9ebea; }
.we-ic > svg { width:22px; height:22px; }
.we-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.we-main b { font-size:14.5px; letter-spacing:.05em; }
.we-main small { font-size:11.5px; color:var(--dim); }
.we-n { font-family:var(--font-n); font-size:14px; color:var(--ion); white-space:nowrap; }
.we-n i { font-style:normal; margin-left:6px; color:var(--dim); }
.wt { position:relative; display:block; aspect-ratio:1; border-radius:3px; overflow:hidden;
  background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--rc) 28%,transparent),transparent 68%),#0f1a24; }
.wt canvas,.wt img { position:absolute; inset:0; width:100%; height:100%; }
.wt img { object-fit:contain; z-index:1; background:#0f1a24; }
.wt.sm { width:44px; }
.wg-head { display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:4px; background:#192733; border:1px solid var(--line); }
.wg-head canvas { width:56px; height:56px; flex-shrink:0; }
.wg-head > span { flex:1; display:flex; flex-direction:column; gap:2px; min-width:0; }
.wg-head small { font-size:11px; color:var(--dim); }
.wg-head b { font-size:16px; display:flex; align-items:center; gap:6px; }
.wg-head em { font-style:normal; font-size:12px; color:var(--ok); }
.wg-card .pl-name { display:flex; align-items:center; justify-content:center; gap:4px; }
.wg-no { font-style:normal; font-family:var(--font-n); font-size:10px; color:var(--dim); }
button.pl-st,button.pl-price { width:100%; border:0; cursor:pointer; }
.pl-st.go { background:#a9dedb; color:#10252a; }
.pl-st:disabled:not(.on) { background:#273440; color:#a5b5c4; cursor:not-allowed; }

/* ---- 武器库 ---- */
.wp-entry { margin-top:6px; }
.wt.wp-art { background:radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--wc) 28%, transparent), #0f1a24 70%); }
.wt.wp-art img { background:transparent; object-fit:contain; padding:6%; }
.wp-hero { display:flex; gap:12px; align-items:center; padding:10px; border-radius:4px; background:#192733; border:1px solid var(--line); }
.wp-hero .wt.lg { width:112px; flex-shrink:0; }
.wp-hero > span { display:flex; flex-direction:column; gap:3px; min-width:0; }
.wp-hero small { font-size:11px; color:var(--dim); }
.wp-hero b { font-size:18px; color:var(--wc); }
.wp-hero em { font-style:normal; font-size:11px; color:var(--dim); letter-spacing:.04em; }
.wp-desc { font-size:12px; line-height:1.5; color:#c9d6e2; }
.wp-tags { display:flex; flex-wrap:wrap; gap:4px; }
.wp-tags i { font-style:normal; font-size:11px; padding:1px 6px; border-radius:3px; background:rgba(255,255,255,.07); }
.pd-line { margin:8px 0 0; font-size:14px; color:#ffe2a8; text-align:center; }

/* 机库拱廊的孔雀青、象牙白与细金边延伸至装备和养成面板。 */
.brand { position:relative; padding-left:34px; }
.brand::before {
  content:""; position:absolute; left:0; top:50%; width:26px; height:34px;
  transform:translateY(-50%);
  background:linear-gradient(110deg,#ac8855 0%,#f3dfb1 43%,#fff9dc 48%,#bc975f 51%,#e7c98f 82%);
  clip-path:polygon(50% 0,62% 42%,94% 62%,80% 79%,63% 66%,50% 100%,37% 66%,20% 79%,6% 62%,38% 42%);
}
.brand-cn { color:#f6ebcf; letter-spacing:.07em; font-weight:800; }
.brand-en { color:#dbc395; }
.hg-top,.hg-foot { box-shadow:inset 0 -3px 0 #0d252b,inset 0 -4px 0 #ba9d6a45; }
.showcase::before { border-color:#dfc79b8c; }
.sc-name { color:#fff4d8; text-shadow:0 2px 5px #06151e; }
.sc-note { color:#d1ddda; }
.tabs button.on { color:#f3d99f; box-shadow:inset 0 -2px #dcc18f; }
.lv-card,.wl-card,.gacha,.wp-hero,.wg-head,.stg-ch {
  border-radius:5px;
  background:linear-gradient(125deg,#24474c,#142d36 65%);
}
.lv-card.buy-first,.gacha { border-color:#91805b; background:linear-gradient(125deg,#384641,#162e36 70%); }
.up-ic,.we-ic,.icon-btn { background:linear-gradient(145deg,#2d5357,#132e35); color:#deeadc; }
.up-ic.eco { color:#efd9a5; }
.card,.sheet { border-color:#93866a; box-shadow:inset 0 0 0 3px #132e36,0 12px 45px #061018b8; }
.evo,.rc-grid button,.ga-odds span,.lv-max { border-radius:4px; }
@media (max-width:365px) { .brand { padding-left:0; } .brand::before { display:none; } }

/* ===== 2026-12-02：强化环绕战机、钱包积分与排名、飞行员交易入口、链上钱包 ===== */
#shipView { cursor:pointer; }
.chip.chain { color:var(--gem); }
.up-entry,.trade-entry { display:flex; align-items:center; gap:12px; width:100%; padding:11px 12px; text-align:left; border-radius:4px;
  border:1px solid #6f8c86; background:linear-gradient(110deg,#28423f,#152e36 72%); }
.up-entry .ue-ic,.trade-entry .te-ic { width:40px; height:40px; flex-shrink:0; display:grid; place-items:center; border-radius:4px; background:#30281f; color:var(--gold); border:1px solid #685541; }
.up-entry .ue-ic svg,.trade-entry .te-ic svg { width:22px; height:22px; }
.ue-main,.te-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.ue-main b,.te-main b { font-size:16px; letter-spacing:.08em; }
.ue-main small,.te-main small { font-size:11.5px; color:var(--dim); line-height:1.45; }
.up-entry em { font-style:normal; font-size:11px; color:#10252a; background:var(--ok); padding:2px 7px; border-radius:3px; white-space:nowrap; }
.up-entry > i,.trade-entry > i,.wl-pts > i { font-style:normal; font-size:22px; color:var(--dim); }
.trade-entry { border-color:#4f6670; background:linear-gradient(110deg,#1d3440,#13262f 72%); }
.trade-entry .te-ic { background:#1b3a43; color:var(--gem); border-color:#3f6b72; }
.trade-entry.on { border-color:#8fc7c0; background:linear-gradient(110deg,#25494b,#152e36 72%); }
.grp.fold { width:100%; padding:10px 2px 4px; cursor:pointer; text-align:left; }
.grp.fold span { display:flex; align-items:center; gap:8px; }
.grp.fold i { font-style:normal; font-size:11px; color:var(--ion); border:1px solid #4d6a6d; padding:1px 8px; border-radius:3px; }
.grp.fold.open i { color:var(--dim); }

/* 强化：战机在中间，强化项环绕 */
.ur { position:relative; width:100%; max-width:360px; aspect-ratio:1; margin:2px auto 4px; }
.ur canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
.ur-btn { position:absolute; transform:translate(-50%,-50%); width:62px; display:flex; flex-direction:column; align-items:center; gap:1px; padding:0; z-index:1; }
.ur-ic { width:40px; height:40px; display:grid; place-items:center; border-radius:50%; background:#13262f; border:1px solid #3f5a60; color:var(--ion); transition:transform .15s; }
.ur-ic svg { width:20px; height:20px; }
.ur-btn.fire .ur-ic { color:#f2b48f; border-color:#6e4c3e; background:#2a1f1c; }
.ur-btn.can .ur-ic { box-shadow:0 0 0 2px #91dcb266,0 0 10px #91dcb255; }
.ur-btn.on .ur-ic { transform:scale(1.14); border-color:var(--gold); box-shadow:0 0 0 2px #eaca95aa,0 0 14px #eaca9566; }
.ur-btn.max .ur-ic { opacity:.7; }
.ur-nm { font-size:10.5px; line-height:1.2; color:var(--text); white-space:nowrap; text-shadow:0 1px 2px #000; }
.ur-lv { font-family:var(--font-n); font-size:10.5px; color:var(--dim); line-height:1.1; }
.ur-btn.on .ur-nm { color:var(--gold); }
.ur-btn.max .ur-lv { color:var(--ok); }
.ur-det { display:flex; flex-direction:column; gap:7px; padding:12px; border-radius:4px; border:1px solid #3f6b72; background:#152a33; }
.ur-det.fire { border-color:#6e4c3e; background:#22201f; }
.ur-dh { display:flex; align-items:center; gap:9px; }
.ur-dh .up-ic { width:34px; height:34px; }
.ur-dh b { font-size:16px; letter-spacing:.06em; }
.ur-dh .lv { font-family:var(--font-n); font-size:13px; color:var(--dim); }
.ur-dh small { margin-left:auto; font-size:11px; color:var(--dim); border:1px solid #4d6a6d; padding:1px 7px; border-radius:3px; }
.ur-det .up-eff { white-space:normal; font-size:13px; }
.ur-det .sh-btn.wide { justify-content:center; padding:10px; margin-top:2px; }
.ur-bal { display:flex; justify-content:space-between; align-items:center; font-size:12px; color:var(--dim); padding:2px 2px 0; }
.ur-bal span { display:flex; align-items:center; gap:4px; }
.ur-bal svg { width:14px; height:14px; color:var(--gold); }
.ur-bal b { font-family:var(--font-n); font-size:15px; color:var(--gold); }

/* 钱包：积分总额、全网排名 */
.wl-pts { display:flex; align-items:center; gap:12px; width:100%; padding:12px; border-radius:4px; text-align:left; background:#1d2f2f; border:1px solid #6c7e66; }
.wl-pts > svg { width:30px; height:30px; color:var(--gold); flex-shrink:0; }
.wl-pts-main { display:flex; flex-direction:column; gap:1px; flex:1; min-width:0; }
.wl-pts-main b { font-family:var(--font-n); font-size:30px; line-height:1.05; color:var(--gold); font-variant-numeric:tabular-nums; }
.wl-pts-main small { font-size:11px; color:var(--dim); }
.wl-pts-side { display:flex; flex-direction:column; align-items:flex-end; gap:3px; font-size:11.5px; color:var(--dim); white-space:nowrap; }
.wl-pts-side em { font-style:normal; color:var(--ok); font-family:var(--font-n); font-size:14px; }
.rank-hero { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.rank-hero div,.pts-sum div { display:flex; flex-direction:column; gap:2px; padding:10px 12px; border-radius:4px; background:#0f222a; border:1px solid #3d525f; }
.rank-hero small,.pts-sum small { font-size:11px; color:var(--dim); }
.rank-hero b { font-family:var(--font-n); font-size:22px; color:var(--gold); font-variant-numeric:tabular-nums; }
.rank-hero em { font-style:normal; font-size:11.5px; color:var(--ok); }
.pts-sum { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.pts-sum b { font-family:var(--font-n); font-size:19px; color:var(--gold); font-variant-numeric:tabular-nums; overflow:hidden; text-overflow:ellipsis; }
.pts-sum div:not(:first-child) b { color:var(--ok); }

/* 链上钱包与交易 */
.chain-bar { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; padding:8px 10px; border-radius:4px; background:#0f222a; border:1px solid #3f6b72; font-size:12.5px; color:var(--dim); }
.chain-bar svg { width:15px; height:15px; color:var(--gem); }
.chain-bar b { font-family:var(--font-n); font-size:16px; color:var(--gem); }
.chain-bar small { flex-basis:100%; font-size:10.5px; color:#8ea6a6; }
.mk-fee { font-size:11.5px; color:var(--dim); padding:2px; }
.nft { font-size:10.5px; color:var(--gem); border:1px solid #3f6b72; padding:1px 6px; border-radius:3px; }
.sh-btn.buy-dia b,.pl-price b { font-family:var(--font-n); font-size:15px; }
@media (max-width:360px) { .ur-btn { width:56px; } .ur-ic { width:36px; height:36px; } .ur-nm { font-size:9.5px; } }
.pl-cur.empty .pl-cur-main small { white-space:normal; line-height:1.45; }
