
    :root { color-scheme: dark; }
    * { box-sizing: border-box; }
    html, body { margin: 0; min-height: 100%; }
    body {
      background: #0A0F1D;
      color: #94A3B8;
      font-family: Nunito, "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", "Noto Sans Thai", "Noto Sans Devanagari", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      font-weight: 600;
      -webkit-user-select: none;
      user-select: none;
    }
    input, textarea { -webkit-user-select: text; user-select: text; }
    button, textarea, input { font: inherit; color: inherit; }
    button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: rgba(0,242,254,.25); touch-action: manipulation; }
    a { color: #00F2FE; text-decoration: none; -webkit-tap-highlight-color: rgba(0,242,254,.25); touch-action: manipulation; }
    .build { border: 1px solid rgba(0,242,254,.45); border-radius: 999px; background: rgba(0,242,254,.12); padding: 2px 8px; color: #00F2FE; font-size: 10px; font-weight: 800; letter-spacing: 0; }
    .head-actions { display: flex; align-items: center; gap: 6px; }
    .lang-btn { display: inline-flex; height: 36px; align-items: center; gap: 4px; border: 1px solid rgba(0,242,254,.35); border-radius: 999px; background: rgba(0,242,254,.1); padding: 0 10px; color: #00F2FE; font-size: 12px; font-weight: 800; }
    .ip-banner { position: sticky; top: 56px; z-index: 28; display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 14px; border-bottom: 1px solid rgba(0,242,254,.25); background: rgba(7,17,31,.96); color: #fff; font-size: 12px; line-height: 18px; }
    .ip-banner[hidden] { display: none; }
    .ip-banner button { color: #00F2FE; font-weight: 800; }
    .err { display:none; position: fixed; top: 36px; left: 50%; z-index: 90; width: min(400px,92%); transform: translateX(-50%); border: 1px solid #fb7185; border-radius: 10px; background: #3f1219; color: #fecdd3; padding: 8px 10px; font-size: 12px; }
    .err.on { display:block; }
    .phone { width: min(430px, 100%); min-height: 100dvh; margin: 0 auto; padding-bottom: 118px; position: relative; z-index: 1; }
    header { position: sticky; top: 0; z-index: 30; display: flex; height: 56px; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid rgba(0,242,254,.1); background: rgba(10,15,29,.92); backdrop-filter: blur(12px); }
    .brand { display: flex; align-items: center; gap: 6px; min-width: 0; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
    .icon-btn { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
    .menu { display: none; border-bottom: 1px solid rgba(0,242,254,.12); background: rgba(5,7,14,.96); padding: 8px 12px 12px; }
    .menu.on { display: block; }
    .menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 8px; border-radius: 12px; color: #fff; text-align: left; }
    .menu small { display: block; color: rgba(255,255,255,.4); font-size: 12px; }
    main { padding: 16px; }
    .view { display: none; }
    .view.on { display: block; }
    .card { border: 1px solid rgba(0,242,254,.2); border-radius: 12px; background: rgba(15,23,42,.75); }
    .status { display: flex; align-items: center; justify-content: space-between; padding: 12px; }
    .dot { width: 10px; height: 10px; border-radius: 999px; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
    .chip { border: 1px solid rgba(0,242,254,.3); border-radius: 4px; background: rgba(0,242,254,.1); padding: 2px 8px; color: #00F2FE; font-size: 11px; font-family: ui-monospace, monospace; }
    .label { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; }
    .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .coin { padding: 10px; border: 1px solid rgba(0,242,254,.15); border-radius: 12px; background: rgba(15,23,42,.85); }
    .coin.up { border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.1); }
    .coin.down { border-color: rgba(251,113,133,.5); background: rgba(251,113,133,.1); }
    .coin .row { display: flex; justify-content: space-between; font-size: 12px; }
    .coin strong { display: block; margin-top: 4px; color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; font-family: ui-monospace, monospace; }
    .coin.up strong { color: #6ee7b7; }
    .coin.down strong { color: #fda4af; }
    .coin p { margin: 4px 0 0; color: #94a3b8; font-size: 10px; line-height: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .chg-up { color: #34d399; font-size: 10px; }
    .chg-down { color: #fb7185; font-size: 10px; }
    .chg-flat { color: #94a3b8; font-size: 10px; }
    .alert { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 12px; border: 1px solid rgba(244,63,94,.3); border-radius: 12px; background: rgba(15,23,42,.5); font-size: 12px; color: #cbd5e1; }
    .alert b { color: #fb7185; }
    .news {
      position: relative;
      isolation: isolate;
      margin-top: 16px;
      overflow: hidden;
      border: 1px solid rgba(0,242,254,.3);
      border-radius: 24px;
      background: #07111f;
    }
    .news::before, .news::after { content: ""; position: absolute; pointer-events: none; }
    .news::before {
      inset: -30%;
      background:
        radial-gradient(circle at 18% 30%, rgba(0,242,254,.42), transparent 36%),
        radial-gradient(circle at 82% 18%, rgba(79,172,254,.32), transparent 34%),
        radial-gradient(circle at 62% 88%, rgba(168,85,247,.28), transparent 40%);
      animation: news-drift 8s ease-in-out infinite alternate;
    }
    .news::after {
      inset: 0;
      opacity: .55;
      background-image: linear-gradient(rgba(0,242,254,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(0,242,254,.14) 1px, transparent 1px);
      background-size: 26px 26px;
      mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
      animation: news-grid 12s linear infinite;
    }
    .news > * { position: relative; z-index: 1; }
    .hero-card { --veil: 6, 10, 18; --sub: #a2a9b8; --rise: 8px; position: relative; width: 100%; min-height: 560px; overflow: hidden; border-radius: 24px; border: 1px solid rgba(0,242,254,.3); box-shadow: inset 0 0 20px rgba(0,242,254,.15), 0 10px 30px rgba(0,0,0,.5); padding: 18px 20px 22px; display: flex; flex-direction: column; align-items: stretch; text-align: center; background-color: #03060c; background-image: url("/news/hero-card.jpg"), url("news/hero-card.jpg"), url("public/news/hero-card.jpg"), url('img/image-1.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; }
    .hero-card .card-bg-motion { position: absolute; inset: -14%; z-index: 0; pointer-events: none; background: inherit; animation: hero-drift 7s ease-in-out infinite alternate; }
    .hero-card .card-bg-video { position: absolute; inset: -14%; width: auto; height: auto; object-fit: cover; object-position: center; z-index: 0; pointer-events: none; opacity: 0; background: transparent; }
    .hero-card .card-bg-video.is-ready { opacity: 1; animation: hero-drift 7s ease-in-out infinite alternate; }
    @keyframes hero-drift { from { transform: scale(1.04) translate3d(-2.2%, -1.2%, 0); } to { transform: scale(1.14) translate3d(2.4%, 2%, 0); } }
    .hero-card .card-bg-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6,10,18,.42) 0%, rgba(6,10,18,.08) 32%, rgba(6,10,18,0) 58%, rgba(6,10,18,.18) 100%); }
    .hero-card > *:not(.card-bg-video):not(.card-bg-veil):not(.card-bg-motion) { position: relative; z-index: 2; }
    .hero-card .hero-content, .hero-card .hero-below { position: relative; z-index: 2; width: 100%; }
    .hero-card .hero-content { flex: 1; display: flex; flex-direction: column; align-items: center; min-height: 100%; }
    .hero-card .hero-actions { width: 100%; margin-top: auto; padding-top: 28px; }
    .hero-card .hero-below { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
    .hero-card .title { margin: 26px 0 10px; font-size: 28px; font-weight: 800; line-height: 1.28; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.85); }
    .hero-card .subtitle { font-size: 13px; font-weight: 700; color: #00f2fe; letter-spacing: .08em; margin-bottom: 12px; text-shadow: 0 0 12px rgba(0,242,254,.5); }
    .hero-card .desc { font-size: 12.5px; line-height: 1.55; color: #a2a9b8; max-width: 290px; margin: 0 0 24px; font-weight: 500; }
    .hero-card .cta-main, .hero-card .cta-sub { position: relative; width: 100%; border-radius: 999px; text-align: center; }
    .hero-card .cta-main { padding: 14px 20px; margin-bottom: 12px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(180deg, rgba(6,12,22,0) 45%, rgba(6,12,22,.12) 78%, rgba(6,12,22,.28) 100%), linear-gradient(90deg, rgba(0,242,254,.25) 0%, rgba(255,236,208,.07) 50%, rgba(0,242,254,.25) 100%), linear-gradient(90deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.11) 26%, rgba(255,255,255,.04) 100%); box-shadow: 0 -2px 15px rgba(0,242,254,.2), 0 0 25px rgba(0,242,254,.25), inset 0 1px 0 0 rgba(255,255,255,.45); }
    .hero-card .cta-sub { padding: 12px 20px; font-size: 14px; font-weight: 600; color: #ff7b92; background: rgba(255,77,106,.08); border: 1px solid rgba(255,77,106,.3); }
    .hero-card + .status { margin-top: 32px; }
    .hero-card ~ .label { margin-top: 28px; }
    .hero-card ~ .alert { margin-top: 28px; }
    .hero-card ~ .news { margin-top: 28px; }
    @keyframes news-drift { from { transform: translate3d(-6%,-3%,0) scale(1); } to { transform: translate3d(7%,4%,0) scale(1.12); } }
    @keyframes news-grid { to { background-position: 26px 26px, 26px 26px; } }
    .news-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 0; }
    .news-top span { color: #00F2FE; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .16em; }
    .news-top small { color: rgba(255,255,255,.4); font-size: 10px; }
    .news-card { display: block; width: 100%; padding: 12px 16px; text-align: left; }
    .news-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .news-icon { display: block; width: 56px; height: 56px; flex: none; object-fit: cover; border: 1px solid rgba(0,242,254,.4); border-radius: 16px; background-color: #07111f; background-position: center; background-size: cover; background-repeat: no-repeat; box-shadow: 0 0 18px rgba(0,242,254,.35); }
    .news-card h3 { margin: 12px 0 0; color: #fff; font-size: 14px; line-height: 22px; }
    .news-card p { margin: 8px 0 0; color: #94a3b8; font-size: 12px; line-height: 18px; }
    .news-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; color: rgba(255,255,255,.4); font-size: 11px; }
    .news-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 12px; }
    .news-nav button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.7); }
    .dots { display: flex; gap: 6px; align-items: center; }
    .dots button { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.25); }
    .dots button.on { width: 20px; background: #00F2FE; }
    .posts { margin-top: 12px; display: grid; gap: 12px; }
    .post { width: 100%; padding: 16px; text-align: left; border: 1px solid rgba(0,242,254,.2); border-radius: 12px; background: rgba(15,23,42,.75); }
    .tag { display: inline-flex; border: 1px solid rgba(0,242,254,.2); border-radius: 999px; background: rgba(0,242,254,.1); padding: 2px 8px; color: #00F2FE; font-size: 10px; }
    .post h3 { margin: 8px 0 0; color: #fff; font-size: 14px; line-height: 20px; }
    .post p { margin: 8px 0 0; color: #94a3b8; font-size: 12px; line-height: 18px; }
    .more { margin-top: 8px; color: #00F2FE; font-size: 11px; }
    .warn { margin-top: 16px; padding: 12px; border: 1px solid rgba(244,63,94,.2); border-radius: 12px; background: rgba(244,63,94,.1); text-align: center; color: #fb7185; font-size: 11px; }
    .kicker { margin: 0; color: #00F2FE; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .22em; }
    h1 { margin: 8px 0 0; color: #fff; font-size: 1.7rem; line-height: 1.25; }
    .muted { color: rgba(255,255,255,.55); font-size: 14px; line-height: 24px; }
    .bars { display: grid; gap: 18px; margin-top: 20px; }
    .bar { border: 1px solid rgba(0,242,254,.25); border-radius: 18px; background: rgba(8,16,32,.55); overflow: hidden; }
    .bar > div { display: flex; align-items: flex-start; }
    .bar > button, .bar button[onclick^="openChat"] { display: block; width: 100%; padding: 16px; text-align: left; }
    .bar strong { display: block; color: #fff; font-size: 14px; font-weight: 500; }
    .meta { display: flex; gap: 12px; margin-top: 4px; color: rgba(255,255,255,.45); font-size: 11px; }
    .thread { border-top: 1px solid rgba(0,242,254,.16); padding: 12px; }
    .back { margin: 0 0 8px; color: #00F2FE; font-size: 14px; font-weight: 800; }
    .bubble-row { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 14px; }
    .bubble-row.mine { align-items: flex-end; }
    .bubble-name { display: flex; gap: 8px; align-items: baseline; margin-bottom: 4px; color: #00F2FE; font-size: 12px; font-weight: 800; }
    .bubble-row.mine .bubble-name { flex-direction: row-reverse; }
    .bubble-name time { color: rgba(255,255,255,.35); font-size: 11px; font-weight: 600; }
    .bubble { max-width: 86%; border: 1px solid rgba(0,242,254,.28); border-radius: 20px 20px 20px 6px; background: rgba(7,17,31,.92); padding: 8px 12px; color: rgba(255,255,255,.9); font-size: 14px; line-height: 24px; }
    .bubble-row.mine .bubble { border-color: rgba(0,242,254,.55); border-radius: 20px 20px 6px 20px; background: rgba(0,242,254,.15); }
    .comment { margin: 0 0 12px; }
    .comment .who { display: flex; justify-content: space-between; color: #fff; font-size: 14px; }
    .comment time { color: rgba(255,255,255,.35); font-size: 11px; }
    .comment p { margin: 4px 0 0; color: rgba(255,255,255,.75); font-size: 14px; line-height: 24px; }
    .like { margin-top: 6px; color: rgba(255,255,255,.45); font-size: 12px; }
    .like.on { color: #00F2FE; }
    textarea { width: 100%; resize: none; border: 1px solid rgba(0,242,254,.25); border-radius: 12px; background: rgba(0,0,0,.3); padding: 8px 12px; outline: none; font-size: 14px; line-height: 24px; color: #fff; }
    .composer { display: flex; justify-content: flex-end; margin-top: 8px; }
    .send { height: 36px; padding: 0 16px; border: 1px solid rgba(0,242,254,.45); border-radius: 12px; background: rgba(0,242,254,.12); color: #00F2FE; }
    .send:disabled { opacity: .4; }
    .check { display: flex; width: 100%; gap: 12px; align-items: flex-start; margin-top: 8px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.03); text-align: left; }
    .check.on { border-color: rgba(0,242,254,.55); background: rgba(0,242,254,.08); }
    .box { display: grid; width: 20px; height: 20px; flex: none; place-items: center; margin-top: 2px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; color: transparent; font-size: 11px; }
    .check.on .box { border-color: #00F2FE; background: #00F2FE; color: #041018; }
    .score { margin-top: 16px; padding: 12px; border: 1px solid rgba(0,242,254,.25); border-radius: 12px; background: rgba(0,242,254,.06); }
    .score b { color: #00F2FE; font-family: ui-monospace, monospace; font-size: 12px; }
    .alert-card { display: block; width: 100%; margin-top: 12px; padding: 16px; border: 1px solid rgba(255,75,75,.35); border-radius: 12px; background: rgba(255,75,75,.06); text-align: left; font: inherit; color: inherit; cursor: pointer; }
    .alert-card span { color: #FF4B4B; font-family: ui-monospace, monospace; font-size: 11px; }
    .alert-card b { display: block; margin-top: 4px; color: #fff; font-size: 16px; font-weight: 500; }
    .alert-card .hint { display: block; margin-top: 8px; color: #fda4af; font-family: inherit; font-size: 12px; font-weight: 800; }
    .alert-zoom-overlay { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(0,0,0,.74); }
    .alert-zoom { width: min(430px, 100%); max-height: 86dvh; overflow: auto; border: 1px solid rgba(255,75,75,.5); border-radius: 24px; background: #14080d; padding: 20px 18px 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); animation: alert-zoom .72s cubic-bezier(.22,1,.36,1) both; }
    .alert-zoom .kicker { margin: 0; color: #fda4af; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
    .alert-zoom h2 { margin: 8px 36px 0 0; color: #fff; font-size: 20px; line-height: 1.35; }
    .alert-zoom .lead { margin: 12px 0 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.6; }
    .alert-zoom .more { margin-top: 14px; animation: alert-rise .5s ease .4s both; }
    .alert-zoom .more p { margin: 0 0 12px; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.7; }
    .alert-zoom .close { position: absolute; top: 12px; right: 12px; width: auto; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: 12px; font-weight: 800; }
    @keyframes alert-zoom { from { transform: scale(.62); opacity: .3; } to { transform: scale(1); opacity: 1; } }
    @keyframes alert-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    .rule { margin-top: 8px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.03); font-size: 14px; line-height: 24px; color: rgba(255,255,255,.8); }
    .name { width: 100%; height: 44px; margin-top: 8px; border: 1px solid rgba(0,242,254,.25); border-radius: 12px; background: rgba(0,0,0,.3); padding: 0 12px; outline: none; color: #fff; }
    footer { margin: 18px 16px 0; border-top: 1px solid rgba(255,75,75,.38); padding: 14px 4px 4px; text-align: center; color: #FF4B4B; font-size: 13px; font-weight: 800; line-height: 20px; }
    .tabs { display: flex; gap: 8px; overflow-x: auto; margin: 14px 0 8px; padding-bottom: 4px; }
    .tabs button { flex: none; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 6px 12px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 800; }
    .tabs button.on { border-color: #00F2FE; background: rgba(0,242,254,.15); color: #00F2FE; }
    .pill { display: inline-flex; border-radius: 999px; border: 1px solid transparent; padding: 2px 8px; font-size: 10px; font-weight: 800; }
    .tag-market { color: #6ee7b7; border-color: rgba(110,231,183,.4); background: rgba(16,185,129,.12); }
    .tag-scam { color: #fecdd3; border-color: rgba(251,113,133,.45); background: rgba(244,63,94,.12); }
    .tag-hardware { color: #a5f3fc; border-color: rgba(34,211,238,.4); background: rgba(34,211,238,.1); }
    .tag-multisig { color: #fde68a; border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.1); }
    .progress { margin-top: 16px; padding: 14px; border: 1px solid rgba(0,242,254,.35); border-radius: 18px; background: rgba(0,242,254,.06); }
    .progress .count { color: #fff; font-family: ui-monospace, monospace; font-size: 26px; font-weight: 800; }
    .barline { height: 10px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
    .barline span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg,#00F2FE,#4FACFE); transition: width .35s ease; }
    @keyframes pop { from { transform: scale(.45); } to { transform: scale(1); } }
    .medal-pop { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 8px 10px; border: 1px solid rgba(251,191,36,.4); border-radius: 16px; background: rgba(251,191,36,.1); color: #fde68a; animation: pop .35s ease; }
    .medal-pop b { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 999px; background: linear-gradient(135deg,#fde68a,#f59e0b); color: #1a1203; }
    .lookup { margin-top: 14px; padding: 12px; border: 1px solid rgba(255,75,75,.35); border-radius: 18px; background: rgba(255,75,75,.05); }
    .lookup input, .clear-btn { width: 100%; height: 44px; margin-top: 8px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(0,0,0,.35); padding: 0 14px; color: #fff; }
    .lookup .go, .clear-btn { font-weight: 800; }
    .lookup .go { width: 100%; height: 40px; margin-top: 10px; border: 1px solid rgba(251,113,133,.5); border-radius: 999px; background: rgba(244,63,94,.15); color: #ffe4e6; }
    .idcard { overflow: hidden; border: 1px solid rgba(0,242,254,.45); border-radius: 28px; background: #07111f; }
    .idcard .top { padding: 16px; border-bottom: 1px solid rgba(0,242,254,.18); background-image: linear-gradient(rgba(0,242,254,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,242,254,.08) 1px, transparent 1px); background-size: 22px 22px; }
    .anon { margin: 4px 0 0; color: #fff; font-family: ui-monospace, monospace; font-size: 26px; font-weight: 800; letter-spacing: .06em; }
    .medals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
    .medals i { display: grid; width: 44px; height: 44px; margin: 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.03); color: rgba(255,255,255,.28); font-style: normal; }
    .medals i.on { border-color: rgba(253,230,138,.7); background: linear-gradient(135deg,#fde68a,#f59e0b); color: #1a1203; }
    .medals small { display: block; margin-top: 4px; text-align: center; font-size: 10px; font-weight: 800; color: rgba(255,255,255,.35); }
    .medals i.on + small { color: #fde68a; }
    .gate { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.75); padding: 16px; }
    .gate[hidden] { display: none; }
    .gate-card { width: min(430px, 100%); max-height: 86dvh; overflow: auto; border: 1px solid rgba(0,242,254,.45); border-radius: 28px; background: #07111f; padding: 20px 20px 16px; box-shadow: 0 0 40px rgba(0,242,254,.18); }
    .gate-kicker { margin: 0; color: #00F2FE; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
    .gate-card h2 { margin: 8px 0 0; color: #fff; font-size: 1.35rem; line-height: 1.35; }
    .gate-rule { display: flex; gap: 10px; margin-top: 12px; color: rgba(255,255,255,.85); font-size: 14px; line-height: 24px; }
    .gate-rule b { display: grid; width: 24px; height: 24px; flex: none; place-items: center; border-radius: 999px; background: rgba(0,242,254,.15); color: #00F2FE; font-size: 12px; }
    .gate-primary, .gate-secondary { position: relative; width: 100%; overflow: hidden; }
    .gate-primary { height: 48px; margin-top: 18px; border: 1px solid rgba(0,242,254,.4); border-radius: 999px; color: #fff; font-weight: 800; }
    .gate-primary .gate-track { position: absolute; right: 16px; bottom: 6px; left: 16px; height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
    .gate-primary .gate-fill { display: block; height: 100%; width: 0; background: #00F2FE; }
    .gate-primary.ready .gate-track { display: none; }
    .gate-primary:disabled, .gate-secondary:disabled { cursor: not-allowed; }
    .gate-primary.ready { border-color: #00F2FE; background: #00F2FE; color: #041018; box-shadow: 0 0 24px rgba(0,242,254,.45); }
    .gate-primary.ready .gate-fill { display: none; }
    .gate-secondary { height: 48px; margin-top: 18px; border: 1px solid rgba(0,242,254,.4); border-radius: 999px; background: transparent; color: #fff; font-weight: 800; }
    .gate-secondary .gate-track { position: absolute; right: 16px; bottom: 6px; left: 16px; height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
    .gate-secondary .gate-fill { display: block; height: 100%; width: 0; background: #00F2FE; }
    .gate-secondary.ready .gate-track { display: none; }
    .gate-secondary.ready { border-color: #00F2FE; background: #00F2FE; color: #041018; box-shadow: 0 0 24px rgba(0,242,254,.45); }
    .gate-label { position: relative; }
    .tabbar { position: fixed; left: 50%; bottom: 0; z-index: 50; display: flex; width: min(430px, 100%); align-items: flex-end; justify-content: space-around; transform: translateX(-50%); border-top: 1px solid rgba(0,242,254,.2); background: rgba(10,15,29,.95); padding: 6px 4px max(8px, env(safe-area-inset-bottom)); }
    .tabbar button { display: flex; width: 68px; min-height: 52px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #64748b; font-size: 11px; font-weight: 800; }
    .tabbar button.on { color: #00F2FE; }
    .tabbar .hub { position: relative; top: -12px; width: 74px; color: #00F2FE; }
    .nav-ico { width: 28px; height: 28px; display: block; }
    .hub-ico { width: 32px; height: 32px; display: block; }
    .ring { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 999px; padding: 3px; background: linear-gradient(to top right, #00F2FE, #4FACFE, #00F2FE); box-shadow: 0 0 25px rgba(0,242,254,.55); color: #00F2FE; }
    .ring span { display: grid; width: 100%; height: 100%; place-items: center; border-radius: 999px; background: #0A0F1D; }
    .lang-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.72); }
    .lang-panel { position: absolute; left: 50%; bottom: 0; display: flex; width: min(430px, 100%); max-height: 78vh; transform: translateX(-50%); flex-direction: column; border: 1px solid rgba(0,242,254,.4); border-bottom: 0; border-radius: 28px 28px 0 0; background: #0F172A; }
    .lang-panel input { width: 100%; height: 44px; margin-top: 12px; border: 1px solid rgba(0,242,254,.3); border-radius: 999px; background: rgba(0,0,0,.3); padding: 0 16px; color: #fff; outline: none; }
    .lang-list { overflow: auto; padding: 8px 12px 28px; }
    .lang-list button { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-bottom: 4px; border-radius: 16px; padding: 12px; text-align: left; color: rgba(255,255,255,.85); }
    .lang-list button.on { background: rgba(0,242,254,.15); color: #fff; }
    .lang-list small { display: block; color: rgba(255,255,255,.4); font-size: 12px; }
    #overlay { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(0,0,0,.72); }
    .sheet { position: relative; display: flex; width: min(400px, 100%); max-height: 78dvh; flex-direction: column; border: 1px solid rgba(0,242,254,.4); border-radius: 24px; background: #0F172A; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
    .handle { padding: 12px 0 4px; text-align: center; }
    .handle u { display: inline-block; width: 48px; height: 4px; border-radius: 999px; background: #334155; text-decoration: none; }
    .sheet-head { position: relative; padding: 8px 56px 12px 24px; border-bottom: 1px solid #1e293b; }
    .sheet-head p { margin: 0; color: #00F2FE; font-family: ui-monospace, monospace; font-size: 12px; }
    .sheet-head h2 { margin: 4px 0 0; color: #fff; font-size: 18px; }
    .close { position: absolute; top: 0; right: 16px; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 999px; background: #1e293b; color: #94a3b8; }
    .sheet-body { overflow: auto; padding: 16px 24px 28px; color: #e2e8f0; font-size: 14px; line-height: 24px; }
  
