:root{--bg:#fff;--surface:#fff;--surface2:#f7f9fc;--card:#fff;--text:#111827;--muted:#718096;--line:#e5eaf2;--blue:#2f6df6;--green:#0eb765;--greenBg:#e2f7eb;--red:#ef476f;--redBg:#fde8ec;--shadow:0 8px 28px rgba(16,24,40,.06);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
    [data-theme=dark]{--bg:#11171c;--surface:#151b21;--surface2:#1a2229;--card:#1c242b;--text:#eef3f7;--muted:#8d9aaa;--line:#28323b;--greenBg:#143d2b;--redBg:#492026;--shadow:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}button,input,a{font:inherit}button{border:0;background:transparent;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}
.mobile-search-actions{display:none}
    .topbar{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 96%,transparent);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.top-inner{height:58px;max-width:1290px;margin:auto;padding:0 18px;display:flex;align-items:center;gap:18px;position:relative}
    .logo{display:inline-flex;align-items:center;gap:9px;font-weight:750;font-size:22px}.logo svg{width:28px;height:28px;fill:currentColor}.brand{padding:0}.search{height:38px;max-width:540px;flex:1;display:flex;align-items:center;gap:10px;padding:0 16px;border-radius:8px;background:var(--surface2);color:var(--muted)}.search input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}
    .actions{display:flex;align-items:center;gap:10px;font-weight:700;white-space:nowrap}.actions button{height:34px;display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:0 12px}.login{border:1px solid var(--line);background:var(--surface)}.signup{background:var(--blue);color:#fff}.icon-btn{width:34px!important;padding:0!important;justify-content:center}
    .cats{max-width:1290px;height:45px;margin:auto;padding:0 18px;display:flex;align-items:center;gap:20px;overflow:auto;color:var(--muted);font-weight:700;scrollbar-width:none}.cats button{white-space:nowrap}.cats .active{color:var(--text)}
    .panel,.lang-panel{display:none;position:absolute;right:18px;top:52px;width:322px;padding:14px 0;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);z-index:50}.panel.open,.lang-panel.open{display:block}.panel button,.lang-panel button{width:100%;height:48px;display:flex;align-items:center;gap:12px;padding:0 24px;font-weight:700;text-align:left}.panel .muted{color:var(--muted)}.panel hr{border:0;border-top:1px solid var(--line);margin:8px 0}.switch{margin-left:auto;width:42px;height:26px;border-radius:20px;background:#e5e7eb;position:relative}.switch:after{content:"";position:absolute;width:22px;height:22px;border-radius:50%;background:#fff;top:2px;left:2px;box-shadow:0 1px 4px #0003;transition:.2s}.switch.on{background:var(--blue)}.switch.on:after{transform:translateX(16px)}.lang-panel{right:380px;top:226px}.lang-panel .selected{background:var(--surface2)}.lang-panel i{margin-left:auto}.lang-panel .selected i{width:7px;height:7px;border-radius:50%;background:var(--blue)}
    .layout{max-width:1290px;margin:22px auto 0;padding:0 18px;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:30px}.hero{min-height:400px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:var(--shadow);display:grid;grid-template-columns:40% 60%;gap:18px;padding:22px;position:relative;overflow:hidden}
    .hero-title{display:flex;gap:14px;align-items:flex-start}.coin{width:48px;height:48px;border-radius:10px;display:grid;place-items:center;background:#ff981a;color:white;font-weight:900;font-size:28px}.hero-title small,.hero p,.source{color:var(--muted);font-weight:700}.hero h1{margin:2px 0 22px;font-size:27px;line-height:1.15}.outcomes{display:grid;gap:18px;max-width:320px;font-size:18px}.outcomes div{display:flex;justify-content:space-between;gap:20px}.outcomes span{color:var(--muted);font-weight:750}.outcomes b{font-size:22px}.hero p{margin-top:38px;max-width:320px;line-height:1.4;opacity:.55}
    .chart{position:relative;display:flex;align-items:center}.chart svg{width:100%;height:270px;overflow:visible}.chart path{fill:none;stroke:#6ea8ff;stroke-width:5}.chart .gold{stroke:#ffc928}.chart .orange{stroke:#ff851f}.legend{position:absolute;top:26px;left:10px;color:var(--muted);font-weight:700;display:flex;gap:10px;align-items:center}.legend span{width:8px;height:8px;border-radius:50%;display:inline-block}.b{background:#4f83ff}.g{background:#ffc928}.o{background:#ff851f}.water{position:absolute;right:0;bottom:20px;color:var(--muted);opacity:.65;transform:scale(.62);transform-origin:right bottom}.dots{position:absolute;left:18px;bottom:-35px;display:flex;gap:8px}.dots span,.dots b{width:7px;height:7px;border-radius:50%;background:#cfd6e2;display:block}.dots b{width:28px;border-radius:8px;background:var(--text)}
    .side{display:flex;flex-direction:column;gap:22px}.promo{min-height:106px;border-radius:14px;background:#1757ff;color:#fff;padding:20px 22px;text-align:left;display:grid;grid-template-columns:36px 1fr;align-content:center}.promo span{font-size:28px;grid-row:span 2}.promo b{font-size:18px}.promo small{color:#c8d7ff;font-weight:700}.side-list h3{display:flex;gap:4px;margin:0 0 12px;font-size:20px}.side-list button{width:100%;display:grid;grid-template-columns:24px 1fr auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);text-align:left}.side-list span{color:var(--muted)}.side-list strong{font-size:20px}.explore{height:38px;border-radius:22px;border:1px solid var(--line);font-weight:800}.side-icons{display:flex;gap:26px;justify-content:flex-end}
    .markets-head{margin-top:64px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}.markets-head h2{margin:0;font-size:22px}.tools{display:flex;gap:24px}.tabs{grid-column:1/-1;display:flex;gap:12px;overflow:auto;scrollbar-width:none}.tabs button{flex:0 0 auto;height:34px;border-radius:7px;padding:0 12px;color:var(--muted);font-weight:750}.tabs .active{background:#e7efff;color:var(--blue)}[data-theme=dark] .tabs .active{background:#12305d}
    .grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{min-height:156px;border:1px solid var(--line);border-radius:10px;background:var(--card);padding:14px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:10px}.card-top{display:grid;grid-template-columns:32px 1fr auto;gap:10px;align-items:start}.avatar{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:var(--surface2);font-size:19px}.card h3{margin:0;font-size:15px;line-height:1.25;min-height:38px}.rows{display:grid;gap:9px}.row{display:grid;grid-template-columns:minmax(0,1fr) 42px 34px 34px;gap:7px;align-items:center;font-weight:700}.row span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.row em{height:24px;display:grid;place-items:center;border-radius:5px;background:var(--greenBg);color:var(--green);font-style:normal;font-size:12px}.row .no{background:var(--redBg);color:var(--red)}.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;margin-top:auto}.split button{height:36px;border-radius:6px;background:var(--greenBg);color:var(--green);font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.split button:nth-child(2),.split button:nth-child(3){background:var(--redBg);color:var(--red)}.foot{margin-top:auto;display:flex;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:700}.gauge{width:45px;height:45px;border-radius:50%;border:5px solid #d5dbe5;border-top-color:#ef476f;display:grid;place-items:center;font-weight:900;font-size:12px}.center{display:grid;place-items:center;margin:34px 0 120px}.more{height:36px;border:1px solid var(--line);border-radius:22px;padding:0 22px;font-weight:800;background:var(--surface)}
footer{max-width:1290px;margin:auto;padding:0 18px 44px;position:relative}.footer-logo{font-size:32px}.footer-logo svg{width:36px;height:36px}footer h2{margin:8px 0 54px;font-size:17px}.footer-grid{display:grid;grid-template-columns:1fr 160px 150px;gap:110px}.footer-grid p{margin:0 0 16px;color:var(--muted);font-weight:700}.footer-links{columns:3}.footer-grid button,.footer-grid a{display:block;text-align:left;margin:0 0 12px;font-weight:800}.footer-links button{break-inside:avoid;margin-bottom:16px}.footer-links span{display:block;color:var(--muted);font-weight:650}.social{display:flex;gap:17px;margin:56px 0 20px;align-items:center;font-weight:900;font-size:18px}.legal{color:var(--muted);font-weight:700;text-align:center}.footer-lang{position:absolute;right:18px;bottom:86px;display:flex;gap:6px;font-weight:800}.disclaimer{color:#a7b0c0;font-size:12px;line-height:1.6;margin-top:26px}
    .mobile-info,.bottom{display:none}.backdrop{display:none;position:fixed;inset:0;z-index:100;place-items:center;padding:20px;background:rgba(6,12,20,.34);backdrop-filter:blur(2px)}.backdrop.open{display:grid}.backdrop.region-lock{background:rgba(6,12,20,.3);backdrop-filter:blur(1.5px)}.gate{width:min(460px,100%);background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:0 24px 70px #0007;position:relative}.gate .close{position:absolute;right:14px;top:14px}.backdrop.region-lock .gate .close,.backdrop.region-lock #okGate{display:none!important}.gate-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;color:#fff;background:var(--blue);margin-bottom:16px}.gate h2{margin:0 0 8px;font-size:22px}.gate p{margin:0;color:var(--muted);line-height:1.6}.track{height:8px;border-radius:999px;background:var(--surface2);overflow:hidden;margin-top:22px}.bar{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--blue),#72a1ff);animation:load 5.6s linear forwards}.bar.region-progress{animation-duration:2s}.bar.done{width:100%;animation:none}@keyframes load{to{width:100%}}.gate-actions{display:none;justify-content:flex-end;gap:10px;margin-top:22px}.gate.done .gate-actions{display:flex}.gate-actions button{height:38px;border:1px solid var(--line);border-radius:8px;padding:0 16px;font-weight:800}.gate-actions .primary{background:var(--blue);color:#fff;border-color:var(--blue)}
    @media(max-width:980px){body{background:#edf3fb}[data-theme=dark] body{background:#0f151a}.app{max-width:414px;margin:auto;background:var(--bg);min-height:100vh;padding-bottom:92px;box-shadow:0 0 0 1px var(--line)}.top-inner{height:64px;padding:0 16px;gap:10px}.search{order:3;position:absolute;top:72px;left:16px;right:78px;height:34px}.actions button:first-child,.login{display:none}.signup{height:38px!important;padding:0 16px!important;border-radius:9px!important}.cats{height:50px;gap:22px;padding:0 16px;margin-top:48px;border-top:1px solid var(--line)}.layout{display:block;padding:0 14px;margin-top:12px}.hero,.side,.tools{display:none}.markets-head{margin-top:0;display:block}.markets-head h2{display:none}.tabs{margin-bottom:12px;gap:8px}.tabs button{height:26px;font-size:12px;padding:0 9px}.grid{grid-template-columns:1fr;gap:10px}.card{min-height:132px;border-radius:8px;padding:12px;box-shadow:0 1px 8px #1018280d}.card h3{font-size:13px;min-height:auto}.row{grid-template-columns:minmax(0,1fr) 42px 30px 30px;font-size:12px}.split button{height:32px;font-size:12px}.center{margin:28px 0 72px}footer{padding:0 16px 26px}.footer-logo{font-size:28px}footer h2{margin-bottom:42px}.footer-grid{grid-template-columns:1fr 1fr;gap:32px 48px}.footer-grid>div:first-child{grid-column:1/-1}.footer-links{columns:2}.social{margin-top:34px}.legal{text-align:left;line-height:1.7}.footer-lang{position:static;margin-top:16px}.mobile-info{position:fixed;bottom:49px;left:50%;transform:translateX(-50%);width:min(414px,100%);height:38px;display:flex;justify-content:center;align-items:center;gap:100px;background:var(--surface);border:1px solid var(--line);z-index:35;color:var(--blue);font-weight:800}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(414px,100%);height:50px;display:grid;grid-template-columns:repeat(4,1fr);background:var(--surface);border-top:1px solid var(--line);z-index:35}.bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;font-weight:750}.panel{right:12px;top:58px;width:272px}.lang-panel{right:12px;top:250px;width:250px}}

/* refinement pass */
.top-inner{justify-content:space-between}.brand{height:32px;display:flex;align-items:center;flex:0 0 auto}.logo-full svg{width:142px!important;height:auto!important;display:block}.logo-full span{display:none}.logo-full{gap:0}.search svg{flex:0 0 auto}.search{max-width:500px;margin-right:auto}
.actions{margin-left:auto}.menu-host{position:relative;height:42px;display:flex;align-items:center}.menu-host:hover .panel,.panel.open{display:block}.panel{right:0;top:42px;width:326px;padding:12px 0;border-radius:12px}.panel button{height:49px;padding:0 24px;font-size:16px;gap:13px}.panel .strong{font-weight:760}.panel .muted{font-weight:720;color:var(--muted)}.panel .mi{width:19px;display:inline-grid;place-items:center;font-weight:900}.panel .dollar{width:18px;height:18px;border-radius:50%;background:#15ba68;color:#fff;font-size:12px}.panel .api{color:#f50062;font-size:22px}.panel .moon{color:#326af5;font-size:20px}.panel .theme-row{background:transparent}.panel .lang-row b{margin-left:auto;color:var(--muted);font-size:25px;font-weight:400}.switch{transform:scale(.94)}
[data-theme=dark] .panel{background:#11181e;border-color:#27323b}.lang-panel{border-radius:12px}
.hero-slider{display:block;min-height:0;height:auto;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}.hero-track{position:relative;width:100%;aspect-ratio:906/490;border-radius:14px;overflow:hidden}.hero-track img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;opacity:0;transition:opacity .45s ease}.hero-track img.active{opacity:1}.hero-dots{position:static;margin:20px 0 0 18px}.hero-dots button{width:7px;height:7px;border-radius:50%;background:#cbd3df;margin-right:8px;padding:0}.hero-dots button.active{width:30px;border-radius:999px;background:#9aa3af}
[data-theme=light] .hero-track .hero-dark,[data-theme=dark] .hero-track .hero-light{opacity:0!important;pointer-events:none}
.promo{position:relative;overflow:hidden;min-height:106px;padding:20px 118px 18px 22px;grid-template-columns:26px 1fr}.promo .ios-mark{font-size:0;grid-row:span 2;width:20px;height:22px;display:block}.promo svg{width:20px;height:22px}.promo img{position:absolute;right:12px;bottom:0;width:82px;height:auto}.promo b{line-height:1.15}.promo small{grid-column:2}
.markets-head,.grid,.center{width:calc(100% + 360px)}.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.side-list:nth-of-type(2){max-height:118px;overflow:hidden;position:relative}.side-list:nth-of-type(2)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:54px;background:linear-gradient(to bottom,transparent,var(--bg));pointer-events:none}
.card{transition:border-color .16s,box-shadow .16s,transform .16s}.card:hover{border-color:#c7d2e2;box-shadow:0 10px 28px rgba(16,24,40,.09);transform:translateY(-1px)}.split button,.row em{transition:filter .16s,transform .16s}.split button:hover,.row em:hover{filter:saturate(1.12) brightness(.98);transform:translateY(-1px)}
.social{gap:14px}.social a{display:inline-flex;width:20px;height:20px;color:var(--text);transition:color .15s}.social a:hover{color:var(--muted)}.social svg{width:20px;height:20px}.footer-lang{height:30px;align-items:center;border-radius:16px;padding:0 10px;gap:6px;color:var(--text)}.footer-lang:hover{background:var(--surface2)}
.download-backdrop{display:none;position:fixed;inset:0;z-index:120;background:rgba(0,0,0,.38);place-items:center;padding:20px}.download-backdrop.open{display:grid}.download-card{width:min(860px,calc(100vw - 40px));height:560px;border-radius:28px;background:#fff;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;position:relative;box-shadow:0 28px 90px rgba(0,0,0,.25)}.download-close{position:absolute;right:22px;top:18px;color:#d8e2ff;font-size:34px;line-height:1;z-index:2}.download-left{padding:30px 34px;color:#111827;display:flex;flex-direction:column}.us-flag{font-size:26px;margin-bottom:16px}.download-left h2{font-size:30px;line-height:1.14;margin:0 0 28px}.download-left p{font-size:25px;line-height:1.15;margin:0;color:#7c8798;font-weight:800}.download-left p b{color:#7c8798}.qr-wrap{margin-top:auto;display:flex;align-items:center;gap:34px}.qr{width:170px;height:170px;border:10px solid #fff;border-radius:14px;background:repeating-linear-gradient(90deg,#111 0 3px,#fff 3px 6px),repeating-linear-gradient(0deg,transparent 0 5px,rgba(255,255,255,.7) 5px 8px);box-shadow:0 0 0 1px #d7dce5 inset}.qr-wrap span{font-family:cursive;font-size:25px;color:#111;transform:rotate(-3deg)}.download-right{background:#6289f7;position:relative;display:grid;place-items:end center;overflow:hidden}.download-right:before{content:"";position:absolute;inset:26px 18px auto 18px;height:170px;border-radius:100px;border:1px solid rgba(255,255,255,.18)}.download-right .coupon{position:absolute;top:66px;text-align:center;color:#fff;font-size:34px;font-weight:900;line-height:1}.download-right .coupon span{display:block;font-size:19px;margin-top:9px;color:#dce6ff}.download-right img{position:absolute;bottom:-18px;width:300px;max-width:84%;filter:drop-shadow(0 16px 22px rgba(0,0,0,.18))}
@media(max-width:980px){.logo-full svg{width:132px!important}.menu-host:hover .panel{display:none}.menu-host .panel.open{display:block}.markets-head,.grid,.center{width:100%}.hero-slider{display:none}.promo img{display:none}.download-card{height:auto;grid-template-columns:1fr;width:min(360px,calc(100vw - 28px));border-radius:22px}.download-right{display:none}.download-left{min-height:430px;padding:24px}.download-left h2{font-size:24px}.download-left p{font-size:20px}.qr{width:142px;height:142px}.qr-wrap{gap:20px}.social a{width:18px;height:18px}.social svg{width:18px;height:18px}}

/* footer, language and modal polish */
.footer-logo-img{width:202px;height:auto;display:block;color:var(--text);filter:none}
[data-theme=dark] .footer-logo-img{filter:invert(1)}
.footer-bottom-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-top:56px;gap:24px}.footer-bottom-row .social{margin:0;justify-self:start}.footer-bottom-row .legal{justify-self:center;text-align:center;margin:0}.footer-lang-host{justify-self:end;position:relative}.footer-lang{position:static;margin:0;font-size:14px;font-weight:760;color:var(--text);display:inline-flex}.footer-lang svg{width:16px;height:16px}.footer-lang b{font-size:12px;color:var(--muted)}.disclaimer{max-width:none;margin-top:22px;color:#b2bccb;font-size:11.5px;line-height:1.55;font-weight:650}
.menu-lang-host{position:relative;width:100%}.menu-lang-host:hover .scoped-lang-panel,.footer-lang-host:hover .scoped-lang-panel,.scoped-lang-panel.open{display:block}.scoped-lang-panel{position:absolute;display:none;width:284px;max-height:none;padding:12px 8px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);z-index:70}.menu-lang-host .scoped-lang-panel{right:100%;top:-222px;margin-right:8px}.footer-lang-host .scoped-lang-panel{right:0;bottom:34px}.scoped-lang-panel button{height:38px;border-radius:8px;padding:0 10px;font-size:15px;font-weight:650;display:flex;align-items:center;gap:10px}.scoped-lang-panel button:hover,.scoped-lang-panel .selected{background:var(--surface2)}.scoped-lang-panel button i{margin-left:auto}.scoped-lang-panel .selected i{width:6px;height:6px;border-radius:50%;background:var(--blue)}
.flag-tw,.us-flag span{display:inline-block;background-size:cover;background-position:center}.flag-tw{width:18px;height:13px;border-radius:2px;background:linear-gradient(#e53935 0 50%,#0d47a1 50%)}.us-flag{width:28px;height:20px;border-radius:2px;overflow:hidden;margin-bottom:22px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}.us-flag span{width:100%;height:100%;background:repeating-linear-gradient(to bottom,#b22234 0 7.69%,#fff 7.69% 15.38%)}.us-flag span:before{content:"";display:block;width:42%;height:54%;background:#3c3b6e}
.gate .close{width:42px!important;height:42px!important;font-size:30px;line-height:1;border-radius:50%;color:var(--muted)}.gate .close:hover{background:var(--surface2);color:var(--text)}
.download-card{width:min(834px,calc(100vw - 48px));height:520px;border-radius:26px;grid-template-columns:326px 1fr}.download-close{right:20px;top:16px;font-size:34px;color:#d7e2ff;width:38px;height:38px}.download-left{padding:28px 30px 28px 30px}.download-left h2{font-size:27px;letter-spacing:0;margin-bottom:28px}.download-left p{font-size:24px;color:#7b8797}.qr-wrap{gap:28px}.qr{width:162px;height:162px;border-width:8px;background:radial-gradient(circle at 16px 16px,#111 0 7px,transparent 8px),radial-gradient(circle at 145px 16px,#111 0 7px,transparent 8px),radial-gradient(circle at 16px 145px,#111 0 7px,transparent 8px),repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 5px),repeating-linear-gradient(0deg,transparent 0 4px,rgba(255,255,255,.72) 4px 7px)}.scan-me{width:118px;height:72px;color:#111;transform:rotate(-7deg);overflow:visible}.download-right{background:#6388f6}.download-right:before{inset:22px 15px auto 15px;height:188px;border-radius:110px}.download-right .coupon{top:58px;font-size:31px}.download-right img{width:318px;bottom:-44px;right:22px;max-width:none}
.row em{cursor:pointer}.card h3:hover,.row span:hover,.split button:hover{text-decoration:underline;text-underline-offset:2px}.row span,.card h3,.split button{cursor:pointer}
@media(max-width:980px){.footer-logo-img{width:190px}.footer-bottom-row{display:block;margin-top:34px}.footer-bottom-row .legal{margin-top:20px}.footer-lang-host{margin-top:16px}.menu-lang-host .scoped-lang-panel{right:0;top:44px;margin-right:0}.footer-lang-host .scoped-lang-panel{left:0;right:auto;bottom:34px}.disclaimer{font-size:11px}.download-card{grid-template-columns:1fr}.download-left{min-height:430px}.download-close{color:#8090aa}}

/* final fidelity pass */
.footer-lang .lang-chev{width:12px;height:12px;display:block;transition:transform .15s}.footer-lang-host:hover .lang-chev{transform:rotate(180deg)}
.gate-icon{position:relative;overflow:hidden}.gate-icon::before,.gate-icon::after{content:"";position:absolute}.gate-loading::before{inset:11px;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .9s linear infinite}.gate-loading::after{width:15px;height:15px;right:10px;top:10px;border-top:3px solid #fff;border-right:3px solid #fff;transform:rotate(45deg)}.gate-blocked{background:#2563eb}.gate-blocked::before{inset:10px;border:3px solid #fff;border-radius:50%}.gate-blocked::after{left:14px;right:14px;top:23px;height:3px;background:#fff;transform:rotate(-35deg);border-radius:8px}@keyframes spin{to{transform:rotate(360deg)}}
.download-card{width:642px;height:450px;border-radius:24px;grid-template-columns:325px 1fr;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);box-shadow:0 12px 30px rgba(0,0,0,.18)}.download-left{position:relative;z-index:2;margin-right:-24px;border-radius:24px;background:#fff;padding:24px;gap:0}.download-right{border-radius:0 24px 24px 0;background:#3f73f5;overflow:hidden}.download-right::after{content:"";position:absolute;left:0;right:0;bottom:0;height:76px;background:rgba(18,49,129,.45)}.download-right:before{left:38px;right:14px;top:18px;height:218px;border-color:rgba(255,255,255,.14);border-radius:120px}.download-right .coupon{top:50px;left:0;right:0;font-size:26px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-.04em}.download-right .coupon span{font-size:16px;margin-top:4px;color:rgba(255,255,255,.62);font-family:inherit}.download-right img{width:300px;right:24px;bottom:-158px;z-index:2;filter:none}.download-close{right:12px;top:12px;width:28px;height:28px;color:rgba(255,255,255,.72);font-size:30px;font-weight:300}.download-left h2{font-size:24px;line-height:1.18;margin:0;font-weight:820;color:#111827}.download-left p{width:210px;margin-top:18px;font-size:22px;line-height:1.12;color:#7b8798;font-weight:820}.us-flag-img{width:25px;height:20px;object-fit:cover;border-radius:3px;margin-bottom:14px}.qr-wrap{margin-top:auto;align-items:flex-start;gap:20px}.qr{width:132px;height:132px;border:1px solid #e5e7eb;border-radius:12px;padding:8px;background:#fff;box-shadow:none;position:relative}.qr::before{content:"";position:absolute;inset:8px;background:radial-gradient(circle at 10px 10px,#111 0 3px,transparent 4px),radial-gradient(circle at 106px 10px,#111 0 3px,transparent 4px),radial-gradient(circle at 10px 106px,#111 0 3px,transparent 4px),repeating-linear-gradient(90deg,#111 0 1.8px,#fff 1.8px 4px),repeating-linear-gradient(0deg,transparent 0 3px,rgba(255,255,255,.7) 3px 5px)}.scan-note{position:relative;width:96px;height:96px;color:#111;margin-top:2px}.scan-note span{position:absolute;left:4px;top:4px;font-family:"Segoe Print","Comic Sans MS",cursive;font-size:18px;white-space:nowrap;transform:rotate(-4deg)}.scan-note img{position:absolute;width:90px;height:95px;left:-14px;top:18px}
@media(max-width:980px){.app{max-width:384px;padding-bottom:92px}.top-inner{height:58px;padding:0 15px}.logo-full svg{width:132px!important}.signup{height:34px!important;padding:0 13px!important}.cats{height:48px;margin-top:46px;gap:20px;padding:0 14px}.search{top:69px;left:14px;right:72px}.layout{padding:0 12px}.tabs{gap:6px}.grid{gap:9px}.card{min-height:auto;padding:10px 11px;border-radius:8px;gap:8px}.card-top{grid-template-columns:28px minmax(0,1fr);gap:8px}.avatar{width:28px;height:28px;font-size:16px}.card h3{font-size:12px;line-height:1.25;min-height:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rows{gap:6px}.row{grid-template-columns:minmax(0,1fr) 38px 28px 28px;gap:5px;font-size:11px}.row span{min-width:0}.row em{height:20px;font-size:10px;border-radius:4px}.split{gap:6px}.split button{height:30px;font-size:11px;padding:0 4px}.foot{font-size:10px;gap:6px;min-width:0}.center{margin:26px 0 76px}footer{padding:72px 16px 112px}.footer-logo-img{width:178px}footer h2{font-size:14px;margin:9px 0 36px}.footer-grid{grid-template-columns:1fr 1fr;gap:28px 44px}.footer-grid p{font-size:13px;margin-bottom:14px}.footer-grid button,.footer-grid a{font-size:13px;margin-bottom:11px}.footer-links{columns:2}.footer-links span{font-size:11px}.footer-bottom-row{display:block;margin-top:32px}.footer-bottom-row .social{margin:0 0 18px}.footer-bottom-row .legal{font-size:13px;line-height:1.75;text-align:left;margin:0;color:#111827}.footer-lang-host{margin-top:14px}.footer-lang{padding:0;font-size:13px}.footer-lang-host .scoped-lang-panel{left:0;right:auto;bottom:28px;width:250px}.disclaimer{font-size:11px;line-height:1.55;color:#aeb8c8;margin-top:28px}.mobile-info{height:40px;bottom:50px;gap:0;justify-content:center;border-left:0;border-right:0;color:#1b64f2;font-size:13px}.mobile-info button:first-child{font-weight:800}.mobile-info button:last-child{position:absolute;right:19px;color:#1b64f2;font-size:20px}.bottom{height:50px}.bottom button{font-size:10px;color:#64748b}.bottom button:first-child{color:#111827;font-weight:800}.bottom button span{line-height:1}.download-card{width:min(360px,calc(100vw - 28px));height:auto;grid-template-columns:1fr;border-radius:24px}.download-right{display:none}.download-left{min-height:410px;margin:0;border-radius:24px}.download-close{color:#8ea0bb}}
@media(max-width:980px){.mobile-info svg{width:14px;height:14px;margin-right:6px}.mobile-info button{display:inline-flex;align-items:center}.bottom svg{width:20px;height:20px}.bottom button{gap:1px}.bottom button:first-child svg{stroke-width:1.9}.footer-bottom-row .legal button{font-size:13px;display:inline;margin:0;color:#667085}.card:hover{transform:none;box-shadow:0 1px 8px #1018280d}}

/* H5 bugfix and simplified download handling */
.gate-loading::after{display:none!important}
.footer-lang-host:hover > .scoped-lang-panel{display:block!important;opacity:1;visibility:visible}
.footer-lang-host{overflow:visible!important}
.footer-lang-host > .scoped-lang-panel{
  top:auto!important;
  bottom:34px!important;
  right:0!important;
  max-height:292px;
  overflow-y:auto;
  overscroll-behavior:contain;
}
@media(max-width:980px){
  .app{max-width:384px;width:384px}
  .topbar{position:sticky}
  .top-inner{height:58px!important;padding:0 14px!important;display:flex}
  .search{position:relative!important;top:auto!important;left:auto!important;right:auto!important;order:5!important;width:calc(100% - 82px)!important;height:36px!important;max-width:none!important;margin:8px 0 8px 14px!important;flex:0 0 auto!important}
  .mobile-search-actions{display:flex;position:relative;order:6;right:auto;top:auto;gap:2px;align-items:center;margin:6px 8px 6px 0}
  .mobile-search-actions button{width:40px;height:40px;border-radius:6px;display:grid;place-items:center;color:#64748b}
  .mobile-search-actions button:hover{background:var(--surface2)}
  .bookmarkButton{width:18px;height:18px;display:block;position:relative}
  .bookmarkButton:before{content:"";position:absolute;inset:1px 3px 1px 3px;border:1.7px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0}
  .bookmarkButton:after{content:"";position:absolute;left:5px;right:5px;bottom:1px;height:8px;border-left:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(-45deg);transform-origin:center}
  .cats{margin-top:0!important;height:44px!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 14px!important;gap:22px!important}
  .layout{margin-top:0!important;padding-top:0!important}
  .tabs{height:42px;align-items:center;margin:0 0 10px!important;padding-top:8px}
  .grid{grid-template-columns:1fr!important;width:100%!important;display:grid!important}
  .markets-head,.center{width:100%!important}
  .card{width:100%;min-height:124px;padding:12px;border-radius:8px;gap:9px}
  .card-top{grid-template-columns:30px minmax(0,1fr) auto}
  .card h3{font-size:13px;line-height:1.28;min-height:0;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .row{grid-template-columns:minmax(0,1fr) 42px 30px 30px;font-size:12px}
  .row em{height:22px;min-width:30px}
  .split button{height:32px;font-size:12px}
  .foot{font-size:11px;line-height:1.25}
  .mobile-info,.bottom{width:384px;max-width:100vw;left:50%;transform:translateX(-50%)}
  .mobile-info{bottom:50px;height:40px;background:#fff;box-shadow:0 -1px 0 var(--line)}
  .bottom{height:50px;background:#fff}
  footer{padding-top:76px}
  .footer-grid{display:grid!important;grid-template-columns:1fr 1fr!important}
  .footer-grid>div:first-child{grid-column:1/-1}
  .footer-links{columns:2!important}
  .footer-bottom-row{margin-top:30px}
  .footer-lang-host:hover .scoped-lang-panel{display:block}
  .footer-lang-host .scoped-lang-panel{z-index:200;width:250px;top:auto!important;bottom:30px!important;left:0!important;right:auto!important;max-height:268px;overflow-y:auto}
}
@media(max-width:390px){
  .app{width:100vw}
  .mobile-info,.bottom{width:100vw}
}

@media(max-width:980px){
  .app{width:100%!important;max-width:none!important}
  .mobile-info,.bottom{left:0!important;right:0!important;transform:none!important;width:auto!important;max-width:none!important}
}

/* H5 header row order: logo, categories, search, tabs */
@media(max-width:980px){
  .topbar{display:grid!important;grid-template-columns:1fr auto;align-items:center}
  .top-inner{display:contents!important}
  .brand{grid-column:1;grid-row:1;height:58px;margin-left:14px}
  .actions{grid-column:2;grid-row:1;height:58px;margin-right:14px}
  .cats{grid-column:1 / -1;grid-row:2}
  .search{grid-column:1;grid-row:3;position:static!important;width:auto!important;margin:8px 0 8px 14px!important}
  .mobile-search-actions{grid-column:2;grid-row:3;position:static!important;margin:6px 8px 6px 0!important}
  .panel{position:absolute!important;right:12px!important;top:48px!important}
  .lang-panel{position:absolute!important}
}

/* footer spacing alignment */
footer{padding-top:48px!important;padding-bottom:48px!important}
@media(max-width:980px){
  footer{padding-top:48px!important;padding-bottom:0!important}
  .footer-lang-host{justify-self:start!important;text-align:left!important;margin-top:14px!important}
  .footer-lang{justify-content:flex-start!important;margin-left:0!important;padding-left:0!important}
  .footer-lang-host .scoped-lang-panel{left:0!important;right:auto!important}
}

/* H5 horizontal overflow guard */
@media(max-width:980px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .app,.topbar,.layout,main,footer{max-width:100%!important;overflow-x:hidden!important}
  .topbar{width:100%!important;min-width:0!important}
  .topbar>*{min-width:0!important}
  .cats,.tabs{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none}
  .cats::-webkit-scrollbar,.tabs::-webkit-scrollbar{display:none}
  .markets-head,.grid,.center{max-width:100%!important;min-width:0!important}
  .footer-grid{max-width:100%!important;min-width:0!important}
  .footer-grid>*{min-width:0!important}
  .mobile-info,.bottom{box-sizing:border-box!important;max-width:100%!important}
}

/* hero image crop normalization */
.hero-track{aspect-ratio:950/503!important}
.hero-track img{object-fit:cover!important}

@media(max-width:980px){
  [data-theme=dark] .mobile-info,
  [data-theme=dark] .bottom{
    background:var(--surface)!important;
    border-color:var(--line)!important;
    color:var(--muted)!important;
  }
  [data-theme=dark] .mobile-info button:first-child{
    color:#4f83ff!important;
  }
  [data-theme=dark] .mobile-info button:last-child{
    color:#4f83ff!important;
  }
  [data-theme=dark] .bottom button{
    color:var(--muted)!important;
  }
  [data-theme=dark] .bottom button:first-child{
    color:var(--text)!important;
  }
}

/* polymarket-git fixes: language hover stability, section arrows, desktop spacing */
.cat-arrow{display:inline-block;margin-right:6px;font-weight:900;line-height:1}
.side-list h3{align-items:center;justify-content:space-between;gap:10px}
.side-list h3 .section-arrow{font-size:18px;line-height:1;color:var(--muted);font-weight:800}
.markets-head .tabs{margin-bottom:18px}
.grid{margin-top:0}
.side-list:nth-of-type(2){max-height:none!important;overflow:visible!important}
.side-list:nth-of-type(2)::after{display:none!important}
.menu-lang-host .scoped-lang-panel{right:100%!important;margin-right:0!important;top:-222px!important}
.menu-lang-host::before{content:"";position:absolute;top:-222px;right:100%;width:12px;height:292px;z-index:69}
.footer-lang-host .scoped-lang-panel{bottom:100%!important;margin-bottom:0!important;right:0!important}
.footer-lang-host::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:12px;z-index:199}
.scoped-lang-panel{z-index:220!important}
.lang-code{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:18px;border-radius:4px;background:var(--surface2);font-size:11px;font-weight:800;color:var(--muted)}
@media(max-width:980px){.markets-head .tabs{margin-bottom:10px}.menu-lang-host::before,.footer-lang-host::before{display:none}.menu-lang-host .scoped-lang-panel{top:44px!important;right:0!important}.footer-lang-host .scoped-lang-panel{bottom:30px!important;left:0!important;right:auto!important}}

/* final language and card polish */
.cat-arrow{font-size:13px;transform:translateY(-1px);color:var(--text)}
.side-list h3 .section-arrow{display:inline-grid;place-items:center;width:20px;height:20px;font-size:18px;line-height:20px;color:var(--muted);font-weight:800;text-align:center}
.avatar{position:relative;overflow:hidden;border-radius:7px!important;background:linear-gradient(135deg,#eff6ff,#dbeafe)!important;color:#2563eb!important;font-size:0!important}
.avatar::before{content:"";position:absolute;inset:7px;border:2px solid currentColor;border-left-color:transparent;border-bottom-color:transparent;border-radius:3px;transform:rotate(45deg)}
.avatar::after{content:"";position:absolute;left:9px;bottom:8px;width:12px;height:2px;border-radius:99px;background:currentColor;box-shadow:5px -5px 0 currentColor}
.lang-code{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.mobile-info button:first-child{gap:6px}
@media(max-width:980px){.avatar::before{inset:6px}.avatar::after{left:8px;bottom:7px;width:11px}}
