/* self-hosted fonts (site CSP blocks Google Fonts) */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/bricolage-grotesque-400-800-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/bricolage-grotesque-400-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/jetbrains-mono-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/jetbrains-mono-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Ripl v3 — headings, footer brand, signed-in header, bankroll */

/* ---------- Section headings ---------- */
.sec > h2{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:700;font-size:33px;letter-spacing:-0.02em;}

/* ---------- Footer brand column + trust buttons ---------- */
.foot .fbrand-row{display:flex;align-items:flex-start;gap:48px;width:100%;}
.foot .fbrand{display:flex;flex-direction:column;gap:16px;min-width:220px;flex:none;}
.foot .fbrand-top{display:flex;align-items:center;gap:14px;}
.foot .fbrand-top img{height:44px;width:auto;display:block;}
.foot .f18{width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(255,255,255,.18);display:grid;place-items:center;font:700 14px 'Bricolage Grotesque',sans-serif;color:#d7d7d2;}
.foot .ftag{margin:0;font:400 15px/1.55 'Bricolage Grotesque',sans-serif;color:#9a9a94;}
.foot .fsoc{display:flex;gap:10px;}
.foot .fsoc[hidden]{display:none;}
.foot .fsoc a{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:#b9b9b3;transition:.15s;}
.foot .fsoc a:hover{background:#215cff;color:#070708;border-color:#215cff;}
.foot .fsoc svg{width:18px;height:18px;}
.foot .fbrand-row .ftrust{flex:1;display:flex;flex-direction:column;gap:12px;min-width:0;}
.foot .fbrand-row .ftr{display:flex;align-items:center;gap:16px;padding:12px 16px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);transition:.15s;text-decoration:none;}
.foot .fbrand-row .ftr:hover{background:rgba(255,255,255,.06);border-color:rgba(212,255,58,.45);transform:translateY(-1px);}
@media (max-width:720px){.foot .fbrand-row{flex-direction:column;gap:24px;}}

/* ---------- Signed-in header ---------- */
.hdr .wgrp{display:flex;align-items:center;gap:6px;padding:4px;border-radius:12px;background:#121214;border:1px solid rgba(255,255,255,.07);}
.hdr .wgrp .bal{display:flex;align-items:center;gap:6px;padding:0 8px 0 10px;height:36px;margin:0;background:none;border:0;font:600 15px 'Bricolage Grotesque',system-ui,sans-serif;color:#f2f2ee;}
.hdr .wgrp .bal .amt{display:flex;align-items:center;gap:6px;}
.hdr .wgrp .bal select{background:transparent;border:0;color:#9a9a94;font:600 12px 'JetBrains Mono',monospace;cursor:pointer;padding:0 2px;}
.hdr .wgrp .wbtn{display:flex;align-items:center;gap:8px;height:36px;padding:0 16px;border-radius:9px;background:#215cff;color:#070708;font:700 14px 'Bricolage Grotesque',sans-serif;text-decoration:none;}
.hdr .wgrp .wbtn .ic{width:18px;height:18px;}
.hdr .hpop{position:relative;}
.hdr .hbtn{position:relative;width:44px;height:44px;margin-left:8px;border-radius:12px;display:grid;place-items:center;background:#121214;border:1px solid rgba(255,255,255,.07);color:#d7d7d2;cursor:pointer;padding:0;}
.hdr .hbtn:hover{background:#1a1a1d;color:#fff;}
.hdr .hbtn .ic{width:20px;height:20px;}
.hdr .hbtn .dot{position:absolute;top:9px;right:10px;width:8px;height:8px;border-radius:50%;background:#215cff;box-shadow:0 0 0 2px #121214;}
.hdr .uchip{display:flex;align-items:center;gap:10px;height:44px;margin-left:8px;padding:0 6px 0 10px;border-radius:12px;background:#121214;border:1px solid rgba(255,255,255,.07);color:#f2f2ee;cursor:pointer;}
.hdr .uchip .uav{width:28px;height:28px;display:grid;place-items:center;color:#215cff;}
.hdr .uchip .uav .ic,.hdr .uchip .uav svg{width:24px;height:24px;}
.hdr .uchip .un{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;}
.hdr .uchip .un b{font:700 13px 'Bricolage Grotesque',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px;}
.hdr .uchip .un small{font:500 11px 'Bricolage Grotesque',sans-serif;color:#8a8a84;}
.hdr .uchip .un small:empty{display:none;}
.hdr .uchip .uc{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.06);transition:transform .15s;}
.hdr .uchip .uc .ic{width:16px;height:16px;}
.hdr .hpop.open .uchip .uc{transform:rotate(180deg);}
.hdr .pop{position:absolute;right:0;top:calc(100% + 8px);min-width:240px;padding:8px;border-radius:14px;background:#121214;border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 50px rgba(0,0,0,.6);opacity:0;visibility:hidden;transform:translateY(-6px);transition:.15s;z-index:200;}
.hdr .hpop.open .pop{opacity:1;visibility:visible;transform:none;}
.hdr .pop a,.hdr .pop button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:0;border-radius:9px;background:none;color:#d7d7d2;font:500 15px 'Bricolage Grotesque',sans-serif;text-decoration:none;text-align:left;cursor:pointer;}
.hdr .pop a:hover,.hdr .pop button:hover{background:rgba(255,255,255,.06);color:#fff;}
.hdr .pop .ic{width:18px;height:18px;flex:none;color:#9a9a94;}
.hdr .pop hr{border:0;border-top:1px solid rgba(255,255,255,.08);margin:6px 4px;}
.hdr .pop .red,.hdr .pop .red .ic{color:#ff5a5a;}
.hdr .pop .ph{padding:6px 12px 8px;font:700 10px 'JetBrains Mono',monospace;letter-spacing:1px;text-transform:uppercase;color:#8a8a84;}
.hdr .pop .empty{padding:22px 12px;text-align:center;color:#8a8a84;font:500 14px 'Bricolage Grotesque',sans-serif;}
@media (max-width:720px){
  .hdr .wgrp{position:absolute;left:50%;transform:translateX(-50%);}
  .hdr .wgrp .bal{font-size:14px;padding:0 4px 0 8px;}
  .hdr .wgrp .wbtn{padding:0 11px;}
  .hdr.signed .logo,.hdr.signed .chatb,.hdr .hbtn{display:none;}
  .hdr .uchip{padding:0 4px;gap:4px;margin-left:auto;}
  .hdr .uchip .un{display:none;}
  .hdr .pop{position:fixed;left:12px;right:12px;top:64px;min-width:0;max-height:calc(100vh - 80px);overflow:auto;}
}

/* ---------- Bankroll ---------- */
.brc{display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
.brc .br-t{flex:1;min-width:160px;}
.brc .br-t small{display:block;font:700 10px 'JetBrains Mono',monospace;letter-spacing:1px;text-transform:uppercase;color:#8a8a84;}
.brc .br-t b{display:block;font:800 33px/1.1 'Bricolage Grotesque',sans-serif;letter-spacing:-0.02em;color:#f2f2ee;}
.brc .br-pill{display:flex;align-items:center;gap:12px;padding:10px 18px;border-radius:10px;background:#232327;font:600 22px 'Bricolage Grotesque',sans-serif;color:#f2f2ee;}
.brc .br-pill b{font-weight:600;}
.brc .br-pill .mute{color:#8a8a84;}
.brc .br-flag{width:38px;height:26px;flex:none;}
.brc .br-proof{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:20px;min-width:0;}
.brc .br-proof:empty{display:none;}
.brc .br-addr{font:500 15px 'JetBrains Mono',monospace;color:#9a9a94;white-space:nowrap;}
.brc .br-verify{display:inline-flex;align-items:center;gap:12px;padding:12px 18px;border-radius:10px;background:#2a2a2f;color:#f2f2ee;font:500 16px 'Bricolage Grotesque',sans-serif;text-decoration:none;white-space:nowrap;transition:.15s;}
.brc .br-verify:hover{background:#215cff;color:#070708;}
@media (max-width:720px){
  .brc .br-pill{order:3;width:100%;font-size:18px;}
  .brc .br-proof{order:4;width:100%;flex-basis:100%;justify-content:space-between;gap:10px;flex-wrap:wrap;}
}
/* specificity bump over styles.css */
#bankrollSlot .brc .br-t b{font:800 33px/1.1 "Bricolage Grotesque",sans-serif;letter-spacing:-0.02em;}
#bankrollSlot .brc .br-t small{font:700 10px "JetBrains Mono",monospace;letter-spacing:1px;}
#bankrollSlot .brc .br-pill b{font:600 22px "Bricolage Grotesque",sans-serif;color:#f2f2ee;}
#bankrollSlot .brc .br-pill .mute{font:500 22px "Bricolage Grotesque",sans-serif;}
@media (max-width:720px){#bankrollSlot .brc .br-pill b,#bankrollSlot .brc .br-pill .mute{font-size:18px}#bankrollSlot .brc .br-t b{font-size:28px}}

/* ================= v3.1 ================= */
:root{color-scheme:dark;}

/* ---- dark, rounded native dropdowns everywhere on the site ---- */
select{color-scheme:dark;}
select option{background:#141416;color:#f2f2ee;}
.hdr .wgrp .bal select{appearance:none;-webkit-appearance:none;height:28px;padding:0 24px 0 10px;border-radius:8px;background:rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a94' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center/12px;color:#d7d7d2;font:700 11px 'JetBrains Mono',monospace;letter-spacing:.5px;cursor:pointer;}
.hdr .wgrp .bal select:hover{background-color:rgba(255,255,255,.1);}
.hdr .wgrp .bal select:focus{outline:2px solid rgba(212,255,58,.5);outline-offset:1px;}

/* ---- wallet button: icon only ---- */
.hdr .wgrp .wbtn{width:40px;padding:0;justify-content:center;gap:0;}
.hdr .wgrp .wbtn .ic{width:20px;height:20px;}
.hdr .wgrp .wbtn:hover{filter:brightness(1.08);}

/* ---- chat lives in a floating button now ---- */
.hdr .chatb{display:none !important;}
.chatfab{position:fixed;right:24px;bottom:24px;z-index:96;width:58px;height:58px;border-radius:50%;border:0;display:grid;place-items:center;background:#215cff;color:#070708;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.55),0 0 0 4px rgba(212,255,58,.12);transition:transform .15s,box-shadow .15s;}
.chatfab:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 14px 36px rgba(0,0,0,.6),0 0 0 6px rgba(212,255,58,.16);}
.chatfab .ic{width:26px;height:26px;}
.chatfab .cf-x{display:none;}
body.chat-open .chatfab .cf-o{display:none;}
body.chat-open .chatfab .cf-x{display:grid;}
.chatfab > span{display:grid;place-items:center;}

/* chat window = popup above the button */
body .pchat{top:auto;right:24px;bottom:96px;left:auto;width:380px;height:min(640px,calc(100vh - 140px));border:1px solid rgba(255,255,255,.08);border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.65);transform:translateY(14px) scale(.97);transform-origin:bottom right;opacity:0;transition:transform .2s ease,opacity .2s ease,visibility .2s;}
body .pchat.on{transform:none;opacity:1;}
body.chat-open .main{margin-right:0;}
@media (max-width:899px){
  .chatfab{right:16px;bottom:calc(88px + env(safe-area-inset-bottom));width:54px;height:54px;}
  body .pchat{top:72px;left:8px;right:8px;bottom:calc(86px + env(safe-area-inset-bottom));width:auto;height:auto;border-radius:16px;}
  body.chat-open .chatfab{display:none;}
}

/* ---- account + notification dropdowns ---- */
.hdr .pop{min-width:270px;padding:8px;border-radius:16px;background:#111113;border:1px solid rgba(255,255,255,.09);box-shadow:0 22px 60px rgba(0,0,0,.7),0 0 0 1px rgba(0,0,0,.4);transform-origin:top right;transform:translateY(-6px) scale(.98);}
.hdr .hpop.open .pop{transform:none;}
.hdr .pop::before{content:"";position:absolute;top:-6px;right:22px;width:12px;height:12px;background:#111113;border-left:1px solid rgba(255,255,255,.09);border-top:1px solid rgba(255,255,255,.09);transform:rotate(45deg);}
.hdr .pop .pu{display:flex;align-items:center;gap:12px;padding:10px 10px 12px;}
.hdr .pop .pu .uav{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:rgba(212,255,58,.1);color:#215cff;flex:none;}
.hdr .pop .pu .uav svg{width:26px;height:26px;padding:0;background:none;}
.hdr .pop .pu .pun{display:flex;flex-direction:column;min-width:0;}
.hdr .pop .pu b{font:700 15px 'Bricolage Grotesque',sans-serif;color:#f2f2ee;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hdr .pop .pu small{font:500 12px 'Bricolage Grotesque',sans-serif;color:#8a8a84;}
.hdr .pop .pu small:empty{display:none;}
.hdr .pop a,.hdr .pop button{height:42px;padding:0 10px;gap:12px;border-radius:10px;font:500 14.5px 'Bricolage Grotesque',sans-serif;color:#cfcfca;transition:background .12s,color .12s;}
.hdr .pop a .ic,.hdr .pop button .ic{box-sizing:content-box;width:16px;height:16px;padding:7px;border-radius:9px;background:rgba(255,255,255,.05);color:#a3a39d;transition:background .12s,color .12s;}
.hdr .pop a:hover,.hdr .pop button:hover{background:rgba(255,255,255,.05);color:#fff;}
.hdr .pop a:hover .ic,.hdr .pop button:hover .ic{background:rgba(212,255,58,.14);color:#215cff;}
.hdr .pop hr{margin:6px 6px;border-top-color:rgba(255,255,255,.07);}
.hdr .pop .red{color:#ff6b6b;}
.hdr .pop .red .ic{background:rgba(255,90,90,.1);color:#ff6b6b;}
.hdr .pop .red:hover{background:rgba(255,90,90,.08);color:#ff8080;}
.hdr .pop .red:hover .ic{background:rgba(255,90,90,.18);color:#ff8080;}
.hdr .pop .ph{padding:10px 10px 6px;}
.hdr .pop .empty{padding:26px 12px 22px;}

/* ---- mobile header: logo back, wallet centered, no account dropdown ---- */
@media (max-width:720px){
  .hdr.signed .logo{display:flex !important;}
  .hdr.signed .logo img{height:26px;width:auto;}
  .hdr.signed .sp{display:none;}
  .hdr .wgrp{position:static;transform:none;margin:0 auto;}
  .hdr .hpop,.hdr .hbtn,.hdr .uchip{display:none !important;}
}

/* ---- mobile footer: plain trust rows, no boxes ---- */
@media (max-width:720px){
  .foot .fbrand-row .ftr{border:0;background:none;padding:6px 0;border-radius:0;}
  .foot .fbrand-row .ftr:hover{background:none;transform:none;}
}

/* ================= v3.2 ================= */
/* balance group centered in the header */
.hdr .wgrp{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;}
/* no "USDT" text: the coin icon itself opens the currency picker */
.hdr .wgrp .bal{position:relative;padding:0 10px 0 8px;}
.hdr .wgrp .bal select{position:absolute;left:4px;top:50%;transform:translateY(-50%);width:30px;height:30px;padding:0;margin:0;opacity:0;cursor:pointer;background:none;border:0;}
.hdr .wgrp .bal .amt > :first-child{transition:transform .15s,box-shadow .15s;border-radius:50%;}
.hdr .wgrp .bal:hover .amt > :first-child{transform:scale(1.08);box-shadow:0 0 0 3px rgba(212,255,58,.25);}

@media (max-width:720px){
  /* account button back on the right: icon only, no arrow; tap opens the menu */
  .hdr #mePop.hpop{display:block !important;margin-left:auto;}
  .hdr #mePop .uchip{display:flex !important;width:42px;height:42px;padding:0;gap:0;justify-content:center;margin-left:0;}
  .hdr #mePop .uchip .un,.hdr #mePop .uchip .uc{display:none !important;}
  .hdr #notifPop.hpop{display:block !important;width:0;}
  .hdr #notifPop .hbtn{display:none !important;}
  .hdr .pop{position:fixed;left:auto;right:8px;top:calc(var(--nt, 0px) + 66px);width:min(300px,calc(100vw - 16px));min-width:0;max-height:calc(100vh - 170px);overflow:auto;}
  .hdr .pop::before{display:none;}
}

/* ================= v3.3 ================= */
.foot .fsoc{display:flex !important;gap:10px;margin-top:2px;}
.foot .fsoc .soc-off{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:#b9b9b3;}
.foot .fsoc .soc-off svg{width:18px;height:18px;}

/* ================= v3.4 ================= */
@media (max-width:768px){ .hdr a.logo{width:51px;height:31px;} }
@media (max-width:720px){
  .foot .fbrand-row .ftr{flex-direction:column;align-items:flex-start;text-align:left;}
  .foot .fbrand-row .ftr img{margin:0;}
}

/* ================= v3.5 ================= */
.vipc b.vip-user{text-transform:none;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:700;letter-spacing:-0.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;}

/* ================= v3.6 ================= */
.vipc b.vip-user{font-size:29px;line-height:1.15;}

/* ================= v3.7 ================= */
img.cl{display:inline-block;flex:none;vertical-align:middle;border-radius:50%;object-fit:contain;background:none !important;box-shadow:none !important;border:0 !important;padding:0 !important;}
span.cl{background:var(--a) !important;box-shadow:none !important;text-shadow:none !important;color:#fff;}
.hdr .wgrp .bal select{display:none !important;}
.hdr .wgrp .bal .amt{cursor:pointer;}
.hdr .wgrp .bal .amt > :first-child,.hdr .wgrp .bal:hover .amt > :first-child{transform:none;box-shadow:none;}
.hdr .baldd{width:26px;height:26px;margin-left:2px;border:0;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.06);color:#a3a39d;cursor:pointer;padding:0;transition:background .15s,color .15s;}
.hdr .baldd:hover{background:rgba(255,255,255,.11);color:#fff;}
.hdr .baldd .ic{width:14px;height:14px;transition:transform .15s;}
.hdr #balPop.open .baldd{color:#215cff;}
.hdr #balPop.open .baldd .ic{transform:rotate(180deg);}
.hdr #balPop .pop{left:-4px;right:auto;min-width:270px;top:calc(100% + 12px);transform-origin:top left;}
.hdr #balPop .pop::before{left:30px;right:auto;}
.hdr .balpop button{height:46px;}
.hdr .balpop button span{font:600 14px 'Bricolage Grotesque',sans-serif;color:#f2f2ee;}
.hdr .balpop button b{margin-left:auto;font:600 13px 'JetBrains Mono',monospace;color:#cfcfca;}
.hdr .balpop button.on{background:rgba(212,255,58,.08);}
.hdr .balpop button.on span,.hdr .balpop button.on b{color:#215cff;}
@media (max-width:720px){
  .hdr #balPop.hpop{display:flex !important;}
  .hdr #balPop .pop{position:absolute;top:calc(100% + 12px);right:auto;left:50%;width:min(300px,calc(100vw - 16px));margin-left:calc(min(300px, 100vw - 16px) / -2);max-height:calc(100vh - 170px);overflow:auto;}
}
