/* Network-aware branding and compact, accessible header layout. */
.brand b,.mobile-brand b{white-space:nowrap}
.site-feature-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:transparent!important;color:transparent}
.site-feature-icon img,.site-feature-illustration img{display:block;width:100%;height:100%;object-fit:contain}
.sidebar>nav button i.site-feature-icon{width:26px;height:30px}
.quick-grid i.site-feature-icon,.form-head .round-icon.site-feature-icon{width:44px;height:44px;border-radius:0}
.bottom-nav i.site-feature-icon{width:28px;height:28px}
.commercial-strip i.site-feature-icon{width:32px;height:32px}
.red-envelope.site-feature-illustration{width:94px;height:108px;flex-shrink:0;border:0;border-radius:0;background:transparent}
.mini-envelope{width:60px;height:68px;border-radius:0;background:transparent url("./assets/packet-envelope-v1.png?v=20261009") center/contain no-repeat;font-size:0;color:transparent}
#receive-output .qr-placeholder{width:96px;height:96px;border:0;border-radius:0;background:transparent url("./assets/receive-scan-v1.png?v=20261009") center/contain no-repeat;font-size:0;color:transparent}
.commercial-strip[hidden]{display:none!important}
.wallet-summary[hidden]{display:none!important}
[data-page="home"] .quick-grid{margin-top:18px}
.wallet-button-copy{display:grid;min-width:0;gap:5px;text-align:center}
.header-actions .wallet-button.connected{height:54px;width:190px}
.header-actions .wallet-button.connected #wallet-label{font-size:13px}
#wallet-header-balances{display:flex;justify-content:center;gap:7px;color:#cfe2ff;font-size:10px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums}
#wallet-header-balances[hidden]{display:none}
#wallet-header-balances>span{white-space:nowrap}
.wallet-assets{border:1px solid var(--line);border-radius:13px;padding:14px;background:#f8fbff;min-width:0}
.wallet-assets-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin-bottom:6px}
.wallet-assets-heading button{font-size:12px;padding:7px 10px;flex-shrink:0}
.wallet-asset-row{padding:9px 0;font-weight:650;font-size:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wallet-asset-row+.wallet-asset-row{border-top:1px solid var(--line)}
#wallet-balance-status{margin:5px 0 0;font-size:12px;color:var(--muted);line-height:1.5}
#wallet-balance-status:empty{display:none}
.splash{transition:opacity .2s ease,visibility .2s ease}
body[data-network="bsc"] .circuit-visual em{font-size:21px;letter-spacing:.06em;top:23px}
.hero>div:first-child{min-width:0}
.hero{gap:28px;border-radius:22px}
.workspace>header button:focus-visible,.brand:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.language-select{flex:0 0 96px;width:96px;min-width:96px;height:42px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);padding:0 8px;font:inherit;font-size:14px;cursor:pointer}
.language-select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
body[data-lang="ko"]{word-break:keep-all;overflow-wrap:anywhere}
/* Keep technical readiness checks in the DOM without showing dashboard cards. */
[data-page="veil"] .privacy-launch-grid[hidden],[data-page="veil"] .privacy-stack[hidden]{display:none!important}
[data-page="veil"] .privacy-warning-copy{min-width:0;flex:1}
[data-page="veil"] .privacy-warning-copy small{display:block;margin-top:8px;color:#625c80;font-size:12px;line-height:1.6}
[data-page="veil"] #privacy-health-status:not(.error){display:none}
[data-page="veil"] .privacy-ops{grid-template-columns:minmax(0,1fr)}
[data-page="veil"] #shielded-ragequit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
[data-page="veil"] #shielded-ragequit-form>.form-head,[data-page="veil"] #shielded-ragequit-form>button,[data-page="veil"] #shielded-ragequit-form>p{grid-column:1/-1}
@media(max-width:680px){
  .workspace>header{height:auto;min-height:108px;padding:12px 16px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  .mobile-brand{min-width:0;padding-right:104px}
  .mobile-brand b{display:block;font-size:17px}
  .header-actions{width:100%;min-width:0;justify-content:space-between}
  .header-actions .wallet-button{flex:1 1 0;min-width:0;max-width:190px}
  .header-actions .wallet-button.connected{padding-left:7px;padding-right:21px}
  .wallet-button.connected::after{right:7px}
  #wallet-header-balances{gap:5px;font-size:10px}
  .language-select{position:absolute;right:16px;top:11px;height:32px;width:96px;min-width:96px}
  .hero{gap:18px}
  .red-envelope.site-feature-illustration{width:70px;height:80px}
  .hero h1{font-size:clamp(28px,6.3vw,38px);line-height:1.2}
  [data-page="veil"] #shielded-ragequit-form{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  .splash{transition:none}
  .splash-orbit{animation:none}
}
