/* =====================================================================
   MarsFaucet — COMPACT scale (matches the OfferZono site script)
   Loaded LAST on every page, so it only changes sizes (never colours):
   font 13px · top bar 56-60px · cards radius 16px · small icons/inputs/buttons.
   To go back to the big look, remove the <link> to this file.
   ===================================================================== */

/* ---------- 1) global: every rem on the site becomes 13px-based (81.25% of 16px) ---------- */
html{font-size:81.25%;-webkit-text-size-adjust:100%}

/* =====================================================================
   2) SIGN-UP / GUEST PAGE
   ===================================================================== */
html{scroll-padding-top:64px}
body.og-guest{font-size:13px;line-height:1.55}
.dg-wrap{width:min(1080px,100% - 36px)}

/* top bar */
.dg-nav{height:60px}
.dg-brand{gap:9px;font-size:18px;letter-spacing:-.02em}
.dg-logo{width:30px;height:30px;border-radius:9px}
.dg-logo svg{width:18px;height:18px}

/* buttons */
.dg-btn{gap:7px;font:700 12.5px/1 var(--f);padding:10px 18px;border-radius:11px;box-shadow:0 8px 20px -10px var(--glow),inset 0 1px 0 rgba(255,255,255,.25)}
.dg-btn:hover{box-shadow:0 10px 24px -10px var(--glow),inset 0 1px 0 rgba(255,255,255,.3)}
.dg-btn-sm{padding:8px 15px;font-size:12px;border-radius:9px}
.dg-btn-block{padding:13px 16px;font-size:13.5px;border-radius:11px}
.dg-btn .iconify{font-size:16px}

/* glass cards + icon tiles */
.dg-glass{border-radius:16px;box-shadow:0 16px 36px -22px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.06)}
.dg-ic{width:40px;height:40px;border-radius:12px}
.dg-ic .iconify{font-size:19px}

/* hero */
.dg-hero{padding:44px 0 16px}
.dg-hero h1{font-size:clamp(28px,6.2vw,46px);line-height:1.08;letter-spacing:-.035em;margin:0 0 16px}
.dg-chips{gap:8px;max-width:460px;margin:0 auto 18px}
.dg-chip{padding:6px 12px;font-size:11.5px}
.dg-lead{font-size:14.5px;line-height:1.65;max-width:480px;margin:0 auto 24px}

/* sign-up card */
.dg-card{max-width:400px;padding:22px 20px 18px}
.dg-card::before{border-radius:16px}
.dg-card h2{font-size:17px;margin:0 0 4px}
.dg-card p{font-size:12.5px;margin:0 0 14px}
.dg-card input[type=email]{height:42px;padding:0 13px;border-radius:10px;font:500 13px var(--f);margin-bottom:10px}
.dg-card input:focus{box-shadow:0 0 0 3px rgba(239,43,63,.16)}
.dg-field{margin-bottom:10px}
.dg-field-ic{left:13px;font-size:17px}
.dg-card .dg-field input[type=email]{padding-left:40px}
.dg-captcha{margin-bottom:10px}
.dg-card p.dg-hint{font-size:11px;line-height:1.5;margin:-2px 0 12px}
.dg-card p.dg-fine{font-size:11px;margin:12px 0 0}

/* sections */
.dg-sec{padding:48px 0 0}
.dg-eye{font-size:10.5px;letter-spacing:.2em;margin-bottom:8px}
.dg-t{font-size:clamp(22px,4.6vw,28px);letter-spacing:-.025em;margin:0 0 22px}

/* stats */
.dg-stats{gap:12px;padding-top:34px}
.dg-stat{padding:16px 10px;gap:4px}
.dg-stat b{font-size:24px;margin-top:6px}
.dg-stat b em{font-size:12px;margin-left:4px}
.dg-stat small{font-size:11.5px}

/* steps */
.dg-steps{gap:12px}
.dg-step{padding:20px}
.dg-step .n{right:14px;top:-4px;font-size:64px}
.dg-step h3{font-size:14px;margin:14px 0 5px}
.dg-step p{font-size:12.5px;line-height:1.6}

/* ways to earn */
.dg-earn{gap:10px}
.dg-way{padding:16px}
.dg-way .dg-ic{width:38px;height:38px;border-radius:11px;margin-bottom:12px}
.dg-way .dg-ic .iconify{font-size:18px}
.dg-way b{font-size:13.5px}
.dg-way small{font-size:12px;line-height:1.5;margin-top:3px}

/* payment proof */
.dg-pay{max-width:none}
.dg-pay-h{padding:13px 18px;font-size:14px}
.dg-live{font-size:11.5px;gap:6px}
.dg-live::before{width:7px;height:7px;box-shadow:0 0 0 3px rgba(53,208,127,.18)}
#proofList{padding:10px;gap:8px}
.dg-pi{gap:8px 12px;padding:12px 14px;border-radius:12px}
.dg-pi .k{font-size:10px;letter-spacing:.1em}
.dg-pi .v{gap:9px}
.dg-av{width:30px;height:30px;border-radius:9px}
.dg-av .iconify{font-size:16px}
.dg-mail{font-size:12px}
.dg-amt{padding:3px 10px;font-size:12px}
.dg-empty{padding:12px 0}

/* FAQ */
.dg-faq{max-width:860px;margin-left:auto;margin-right:auto;gap:9px}
.dg-faq details{border-radius:13px}
.dg-faq summary{gap:10px;padding:14px 16px;font-size:13px}
.dg-faq summary .iconify{font-size:18px}
.dg-faq details p{padding:0 16px 14px;font-size:12.5px;line-height:1.65}

/* call to action + footer */
.dg-cta{max-width:none;margin:44px 0 0;padding:30px 22px}
.dg-cta h2{font-size:clamp(22px,4.4vw,28px);margin:0 0 8px}
.dg-cta p{font-size:13px;margin:0 auto 18px;max-width:400px}
.dg-foot{margin-top:56px;padding:22px 0 26px;font-size:12px}
.dg-foot .l{gap:18px;margin-top:8px}

/* alerts / spinner / toast / VPN block */
.alert-box{gap:7px;padding:10px 12px;border-radius:10px;font-size:12px;margin-top:10px}
.spinner{width:16px;height:16px;border-width:2.5px}
.toast-container{top:68px;max-width:min(340px,calc(100vw - 2rem))}
.toast{gap:8px;padding:10px 13px;border-radius:11px;font-size:12.5px}
.toast .iconify{font-size:16px}
.vpn-modal{border-radius:16px;padding:24px;max-width:340px}
.vpn-icon{font-size:40px}
.vpn-modal h2{font-size:17px}

/* banners (the ad itself keeps its real size; only the empty placeholder shrinks) */
.dg-ad{padding-top:12px}
.dg-ad-row{gap:12px;padding-top:12px}
.banner-placeholder{min-height:50px;border-radius:10px;font-size:11.5px}

@media (max-width:820px){
  body.og-guest{font-size:13px}
  .dg-hero{padding-top:30px}
  .dg-sec{padding-top:40px}
  .toast-container{right:12px;left:12px;max-width:none}
}


/* ---------- three-dots menu next to Sign In ---------- */
.dg-nav-r{display:flex;align-items:center;gap:8px;position:relative}
.dg-dots{width:32px;height:32px;border-radius:9px;border:1px solid var(--line);background:var(--glass);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0;cursor:pointer;color:var(--ink);transition:background .15s,border-color .15s}
.dg-dots span{width:3.5px;height:3.5px;border-radius:50%;background:currentColor;display:block}
.dg-dots:hover,.dg-dots.on{background:var(--glass-hi);border-color:rgba(239,43,63,.5)}
.dg-menu{position:absolute;right:0;top:calc(100% + 10px);width:210px;padding:6px;text-align:left;background:rgba(16,16,20,.97);border:1px solid var(--line);border-radius:12px;box-shadow:0 20px 40px -16px rgba(0,0,0,.9);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:40;display:flex;flex-direction:column;animation:dgMenuIn .14s ease-out}
.dg-menu[hidden]{display:none}
.dg-menu a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:var(--ink);font-size:12.5px;font-weight:500}
.dg-menu a .iconify{font-size:16px;color:var(--red);flex:none}
.dg-menu a:hover{background:var(--red-soft)}
@keyframes dgMenuIn{from{opacity:0;transform:translateY(-4px)}}

/* ---------- wide screens: cards stay ONE per row and stretch across the page (like adcoins.cc) ---------- */
@media(min-width:640px){
  /* each payment = one wide row: user | amount | time */
  .dg-pi{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px}
  .dg-pi .k{display:none}
  .dg-pi .v{justify-self:auto}
  .dg-pi .dg-ago{min-width:84px;justify-content:flex-end}
  .dg-pi .v:first-of-type{flex:1;justify-content:flex-start;min-width:0}
}
@media(min-width:900px){
  .dg-wrap{width:min(1180px,100% - 48px)}
  .dg-stats{gap:16px}
  .dg-stat{padding:22px 12px}
  .dg-steps,.dg-earn{gap:16px}
  .dg-step{padding:24px}
  .dg-way{padding:20px}
  #proofList{padding:14px;gap:10px}
  .dg-cta{padding:40px 24px}
  .dg-cta h2{margin:0 0 8px}
  .dg-cta p{max-width:none;margin:0 auto 20px}
  .dg-cta .dg-btn{padding:13px 28px;font-size:13.5px}
}

/* =====================================================================
   3) LOGGED-IN PAGES (home, faucet, PTC, shortlinks, offers, bonus, referral, withdraw, history)
   ===================================================================== */
/* top bar */
.ob-top{height:56px;gap:8px;padding:0 max(14px,calc((100% - 760px)/2 + 14px))}
body.dashboard-mode .ob-logo{width:30px;height:30px;border-radius:9px}
body.dashboard-mode .ob-logo svg{width:18px;height:18px}
.ob-brand{gap:8px;font-size:16px}
body.dashboard-mode .ob-avatar{width:32px;height:32px;border-radius:9px;font-size:12.5px;box-shadow:0 5px 14px -6px rgba(239,43,63,.55)}
.ob-menu{width:210px;border-radius:12px;padding:6px;top:calc(100% + 8px)}
.ob-menu-user{gap:9px;padding:8px 8px 10px}
.ob-menu-av{width:30px;height:30px;border-radius:9px;font-size:12px}
.ob-menu-user b{font-size:12.5px}
.ob-menu-user small{font-size:11px}
.ob-menu a{gap:9px;padding:9px 10px;border-radius:8px;font-size:12.5px}
.ob-menu a .iconify{font-size:15px}

/* page column */
:root[data-theme] body.dashboard-mode .dash-main{padding:14px 14px calc(76px + env(safe-area-inset-bottom,0px))}
body.dashboard-mode .dash-main{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
:root[data-theme] body.dashboard-mode .dash-main>*+*{margin-top:12px}

/* cards */
body.dashboard-mode .ob-card{border-radius:16px!important;box-shadow:0 16px 36px -22px rgba(0,0,0,.8)!important;padding:16px}
body.dashboard-mode .rx-item,body.dashboard-mode .rx-stat,body.dashboard-mode .ob-stat,body.dashboard-mode .ob-earn-item{border-radius:14px}
.ob-tile{width:34px;height:34px;border-radius:10px;font-size:15px}
.ob-tile-lg{width:40px;height:40px;border-radius:11px;font-size:18px}
body.dashboard-mode .ob-tile .iconify{font-size:17px}

/* home: balance cards + activity log */
.dg-bal{gap:12px}
body.dashboard-mode .dg-b{min-height:0;padding:16px 18px}
/* three home cards: big icon tile on the left, vertically centred; the texts sit to its right */
body.dashboard-mode .dg-b{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;row-gap:0;align-items:center}
body.dashboard-mode .dg-b>*{grid-column:2;min-width:0}
body.dashboard-mode .dg-b>.ob-tile{grid-column:1;grid-row:1 / span 5;align-self:center;display:grid;place-items:center;width:64px;height:64px;margin:0;border-radius:18px;font-size:34px}
body.dashboard-mode .dg-b>.ob-tile .iconify{width:1em;height:1em;font-size:34px}
.dg-b h2{font-size:13.5px;font-weight:700}
.dg-b .amt{font-size:26px;margin:4px 0 2px}
.dg-b .amt small{font-size:12.5px;margin-left:5px}
.dg-b p{font-size:11.5px}
.dg-log-h{padding:13px 16px;font-size:14px}
.dg-log-h span{gap:8px}
.dg-log-h .iconify{font-size:17px}
.dg-log-h a{font-size:12px}
.dg-log .ob-row{padding:10px 16px}
.ob-row{gap:11px}
.ob-row-main b{font-size:12.5px}
.ob-row-main span{font-size:10.5px}
.ob-row-amt{font-size:12.5px}
.ob-row-amt small{font-size:9.5px}
.ob-badge{font-size:9.5px;padding:2px 7px}
.ob-hold{font-size:10.5px;padding:3px 9px}
.dg-hold-note{margin-top:8px}

/* section headers, tabs, pills */
.ob-sec h2{font-size:14px}
.ob-sec h2::before{width:3px;height:15px}
:root[data-theme] body.dashboard-mode .tb-tabs,:root[data-theme] body.dashboard-mode .sl-pills{gap:8px;margin:0 0 12px}
:root[data-theme] body.dashboard-mode .tb-tab,:root[data-theme] body.dashboard-mode .sl-pills .tx-filter-pill{padding:7px 14px;font-size:12px}

/* buttons + inputs */
.ob-btn{padding:11px 16px;font-size:12.5px;gap:7px}
.ob-btn .iconify{font-size:16px}
body.dashboard-mode .ob-btn-primary{border-radius:11px;box-shadow:0 8px 20px -10px rgba(239,43,63,.55),inset 0 1px 0 rgba(255,255,255,.25)}
body.dashboard-mode input:not([type=checkbox]):not([type=radio]):not([type=range]),body.dashboard-mode select,body.dashboard-mode textarea{font-size:13px}
body.dashboard-mode .wd-input:focus,body.dashboard-mode input:focus,body.dashboard-mode select:focus{box-shadow:0 0 0 3px rgba(239,43,63,.16)}

/* PTC + shortlinks ad cards */
#bitcoAdsList,#adslabAdsList,#slList,.dg-pair{gap:10px}
body.dashboard-mode .rx-item.sl-row.ad-card{padding:13px;border-radius:14px}
.ad-top{min-height:22px}
.ad-chip{font-size:10px;padding:2px 7px;border-radius:7px}
.ad-title{font-size:12.5px;margin:10px 0 9px}
.ad-reward{font-size:12.5px;margin:0 0 9px}
.ad-reward small{font-size:10px}
body.dashboard-mode .ad-card .ob-btn{height:36px;padding:0 12px;font-size:12px;border-radius:10px}
body.dashboard-mode .dg-zst{padding:14px!important}
.dg-zst .ob-tile{margin-bottom:9px}
.dg-zst b{font-size:19px}
.dg-zst b em{font-size:11.5px}
.dg-note{font-size:12px}
body.dashboard-mode .dg-wall{padding:9px!important}
.dg-wall-h{padding:6px 9px 10px}
.dg-wall-h a{width:30px;height:30px;border-radius:9px;font-size:16px}
.dg-frame{border-radius:12px}

/* bottom navigation */
body.dashboard-mode .ob-nav-item{padding:9px 0 8px!important;font-size:10.5px;gap:2px}
body.dashboard-mode .ob-nav-item .iconify{font-size:20px}
body.dashboard-mode .ob-nav-item.active::before{width:34px;height:3px;margin-left:-17px}
body.dashboard-mode .ob-sheet{bottom:calc(58px + env(safe-area-inset-bottom,0px))!important;border-radius:16px!important}
body.dashboard-mode .ob-sheet-item{border-radius:12px}

/* footer inside the dashboard */
body.dashboard-mode .dg-foot-in{margin-top:22px;padding:16px 0 4px;font-size:12px}
.dg-foot-in .l{gap:18px;margin-top:8px}

/* toasts in the dashboard */
body.dashboard-mode .toast{border-radius:11px}

/* desktop (>=900px): orange.css/nova.css enlarge everything again here, so shrink it back */
@media(min-width:900px){
  html{font-size:81.25%}
  .ob-top{height:56px;padding:0 max(18px,calc((100% - 760px)/2 + 18px))}
  body.dashboard-mode .ob-logo{width:30px;height:30px}
  body.dashboard-mode .ob-avatar{width:32px;height:32px}
  :root[data-theme] body.dashboard-mode .dash-main{max-width:760px;padding:20px 18px 84px}
  body.dashboard-mode .dash-main{padding-bottom:84px!important}
  :root[data-theme] body.dashboard-mode .dash-main:has(> .rx-card),
  :root[data-theme] body.dashboard-mode .dash-main:has(> .tb-tabs){max-width:700px!important}
  .ob-hero{padding:20px}
  .ob-stats{gap:10px}
  .ob-stat{padding:14px 8px}
  .ob-earn{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
  .ob-nav{width:min(560px,calc(100% - 2rem));padding:6px}
  .ob-nav-item{padding:9px 4px 8px;font-size:10.5px}
  .ob-nav-item .iconify{font-size:20px}
  .ob-sheet{width:min(560px,calc(100% - 2rem));bottom:calc(max(10px,env(safe-area-inset-bottom,0px)) + 62px)}
  .ob-menu{width:210px}
}
:root[data-theme] body.dashboard-mode .tb-tab,:root[data-theme] body.dashboard-mode .sl-pills .tx-filter-pill{border-radius:11px!important}

/* =====================================================================
   4) PUBLIC PAGES (Contact / Terms / Privacy)
   ===================================================================== */
:root[data-theme] .page-card{border-radius:16px!important}

/* =====================================================================
   5) DESKTOP SIDE MENU (>=900px AND a real mouse/trackpad: a phone using "desktop site" keeps the bottom bar)
   Phones/tablets keep the bottom bar. On desktop the bottom bar + its "More" sheet are hidden
   and a flat full-height panel (same look as the admin panel) sits on the left.
   ===================================================================== */
.ob-side{display:none}
@media(min-width:900px) and (pointer:fine){
  :root{--ob-side:232px}
  body.dashboard-mode .ob-nav,
  body.dashboard-mode .ob-sheet,
  body.dashboard-mode .ob-sheet-bg{display:none!important}

  body.dashboard-mode .ob-side{
    display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;width:var(--ob-side);z-index:950;
    background:#0a0a0d;border-right:1px solid var(--ob-line,rgba(255,255,255,.09));overflow:hidden;
  }
  body.dashboard-mode .ob-side-brand{display:flex;align-items:center;gap:9px;height:56px;flex:none;padding:0 16px;border-bottom:1px solid var(--ob-line,rgba(255,255,255,.09));font-size:17px;font-weight:800;letter-spacing:-.01em;color:var(--text-primary)}
  body.dashboard-mode .ob-side-brand .ob-brand-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.dashboard-mode .ob-side-nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 10px 16px}
  body.dashboard-mode .ob-side-lbl{font-size:9.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);padding:14px 8px 6px}
  body.dashboard-mode .ob-side-lbl:first-child{padding-top:10px}
  body.dashboard-mode .ob-side-nav a{display:flex;align-items:center;gap:10px;padding:8px 10px;margin:0 0 2px;border-radius:9px;color:var(--text-muted);font-size:12.5px;font-weight:500;line-height:1.35;transition:background .15s,color .15s}
  body.dashboard-mode .ob-side-nav a .iconify{width:16px;height:16px;font-size:16px;flex:none;color:#ef2b3f}
  body.dashboard-mode .ob-side-nav a:hover{background:rgba(255,255,255,.06);color:#fff}
  body.dashboard-mode .ob-side-nav a.active{background:linear-gradient(135deg,#ff4757,#c81e33);color:#fff;box-shadow:0 8px 20px -10px rgba(239,43,63,.8)}
  body.dashboard-mode .ob-side-nav a.active .iconify{color:#fff}
  body.dashboard-mode .ob-side-nav a.ob-side-out:hover{background:rgba(239,43,63,.12);color:#ff6b78}

  /* content + top bar sit to the right of the panel (the panel is fixed, so out of the flow) */
  :root[data-theme] body.dashboard-mode .dash-wrap{padding-left:var(--ob-side)!important}
  /* the brand lives in the panel now; keep the avatar on the right of the top bar */
  body.dashboard-mode .ob-top .ob-brand{display:none}
  body.dashboard-mode .ob-top .ob-profile{margin-left:auto}
  /* no bottom bar any more, so no extra room needed under the content */
  :root[data-theme] body.dashboard-mode .dash-main{padding-bottom:28px!important}
}

/* "View all" link on the right of a card header (Withdraw page) */
body.dashboard-mode .rx-head .rx-all{margin-left:auto;color:var(--text-muted);font-weight:500;font-size:12px;white-space:nowrap}
body.dashboard-mode .rx-head .rx-all:hover{color:#ff6b78}

/* ===== COIN icon + payout currency select (coin system) ===== */
.coin-ic{display:inline-block;width:1.15em;height:1.15em;vertical-align:-.22em;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe27a'/%3E%3Cstop offset='1' stop-color='%23f2a20c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='16' cy='16' r='15' fill='%23b8730a'/%3E%3Ccircle cx='16' cy='16' r='13.2' fill='url(%23g)'/%3E%3Ccircle cx='16' cy='16' r='10.3' fill='none' stroke='%23c98410' stroke-width='1.2'/%3E%3Ctext x='16' y='21.4' font-family='Arial,Helvetica,sans-serif' font-size='15' font-weight='700' text-anchor='middle' fill='%237a4a05'%3E$%3C/text%3E%3C/svg%3E") center/contain no-repeat}
.coin-txt{font-weight:700}
/* the coin next to big numbers */
body.dashboard-mode .dg-b .amt small,body.dashboard-mode .dg-zst b em,body.dashboard-mode .wd-balance em{font-size:inherit;display:inline-flex;align-items:center;vertical-align:baseline}
body.dashboard-mode .dg-b .amt .coin-ic{width:.78em;height:.78em;margin-left:.22em;vertical-align:-.08em}
body.dashboard-mode .wd-balance em .coin-ic{width:.8em;height:.8em;margin-left:.2em;vertical-align:-.06em}
body.dashboard-mode .rx-stat b em .coin-ic,body.dashboard-mode .dg-zst b em .coin-ic{width:.9em;height:.9em;margin-left:.15em;vertical-align:-.12em}
body.dashboard-mode .hx-amt small,body.dashboard-mode .ob-row-amt small,body.dashboard-mode .ad-reward small{display:inline-flex;align-items:center;gap:.3em}
body.dashboard-mode .hx-cur{font-size:.8em;opacity:.75;letter-spacing:.02em}
body.dashboard-mode .wd-est{min-height:1.2em;margin:-.2rem 0 .6rem;font-size:12px;color:var(--text-muted)}
body.dashboard-mode select.wd-input{appearance:auto;cursor:pointer;margin-bottom:.6rem}
body.dashboard-mode .rx-stat b em .coin-ic,body.dashboard-mode .dg-zst b em .coin-ic{width:16px;height:16px;margin-left:4px;vertical-align:-3px}
body.dashboard-mode .wd-min .coin-ic,body.dashboard-mode .ob-hold .coin-ic,body.dashboard-mode .rx-desc .coin-ic,body.dashboard-mode .alert-box .coin-ic{width:14px;height:14px;vertical-align:-2px}

/* ---------- profile button: a small card = rounded-square avatar + chevron ---------- */
body.dashboard-mode .ob-top .ob-avatar{display:inline-flex;align-items:center;gap:10px;width:auto;height:auto;padding:4px 10px 4px 4px;border-radius:12px;background:var(--dg-glass,rgba(255,255,255,.05));border:1px solid var(--ob-line);color:#fff;font:inherit;box-shadow:0 16px 36px -22px rgba(0,0,0,.8);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);cursor:pointer;transition:border-color .15s,background .15s}
body.dashboard-mode .ob-top .ob-avatar:hover,body.dashboard-mode .ob-top .ob-avatar.active{border-color:rgba(239,43,63,.55);background:rgba(239,43,63,.08)}
body.dashboard-mode .ob-top .ob-av-sq{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--ob-grad);color:#fff;font-weight:800;font-size:13.5px;line-height:1;box-shadow:0 5px 14px -6px rgba(239,43,63,.55)}
body.dashboard-mode .ob-top .ob-ch{font-size:18px;color:var(--text-muted,#9d9da8);transition:transform .18s,color .15s}
body.dashboard-mode .ob-top .ob-avatar.active .ob-ch{transform:rotate(180deg);color:#ff6b78}

/* ---------- withdraw page: "Receive as" currency cards ---------- */
/* Receive-as cards: centered, same look as the site's inner cards (glass, 1px line, 14px corners); turn red when picked */
body.dashboard-mode .wd-cur-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 .9rem}
body.dashboard-mode .wd-cur{
  -webkit-tap-highlight-color:transparent;appearance:none;-webkit-appearance:none;font:inherit;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  flex:1 1 calc((100% - 16px) / 3);min-width:0;padding:10px 4px 9px;border-radius:14px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.16);box-shadow:none;
  -webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);
  color:var(--text-primary);text-align:center;
  transition:border-color .15s,background .15s;
}
body.dashboard-mode .wd-cur:hover:not(:disabled):not(.sel){border-color:rgba(255,255,255,.3)}
body.dashboard-mode .wd-cur .wd-cur-code{font-size:15px;font-weight:800;letter-spacing:.02em;color:#fff;transition:color .15s}
body.dashboard-mode .wd-cur .wd-cur-amt{display:block;max-width:100%;font-size:11px;font-weight:500;color:var(--text-secondary,#c4c4cf);overflow-wrap:anywhere;line-height:1.25}
body.dashboard-mode .wd-cur .wd-cur-usd{font-size:10.5px;color:var(--text-muted)}
body.dashboard-mode .wd-cur:active:not(:disabled),
body.dashboard-mode .wd-cur.sel,body.dashboard-mode .wd-cur.sel:hover,body.dashboard-mode .wd-cur.sel:focus,body.dashboard-mode .wd-cur.sel:focus-visible{background:rgba(239,43,63,.16);border-color:#ef2b3f;box-shadow:0 0 0 1px rgba(239,43,63,.35);outline:none}
body.dashboard-mode .wd-cur:active:not(:disabled) .wd-cur-code,
body.dashboard-mode .wd-cur.sel .wd-cur-code{color:#ff5468}
body.dashboard-mode .wd-cur.sel .wd-cur-amt{color:#fff}
body.dashboard-mode .wd-cur:disabled{opacity:.4;cursor:not-allowed}

/* =====================================================================
   DESKTOP SIDE MENU — same look as the admin panel's side menu:
   glass 5% panel glued to the left edge, 1px line, every link = a small inner card.
   ===================================================================== */
@media(min-width:900px) and (pointer:fine){
  body.dashboard-mode .ob-side{
    background:linear-gradient(rgba(255,255,255,.05),rgba(255,255,255,.05)),#0c0c10;
    border-right:1px solid rgba(255,255,255,.09);
    -webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);
  }
  body.dashboard-mode .ob-side-brand{height:56px;margin:0 0 8px;border-bottom:1px solid rgba(255,255,255,.09)}
  body.dashboard-mode .ob-side-nav{padding:2px 12px 14px}
  body.dashboard-mode .ob-side-lbl:first-child{padding-top:10px}
  body.dashboard-mode .ob-side-nav a{
    background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);border-radius:12px;
    margin:0 0 6px;padding:9px 10px;color:var(--text-secondary,#c4c4cf);box-shadow:none;
  }
  body.dashboard-mode .ob-side-nav a:hover{background:rgba(255,255,255,.07);border-color:rgba(239,43,63,.35);color:#fff}
  body.dashboard-mode .ob-side-nav a.active{background:rgba(239,43,63,.14);border-color:rgba(239,43,63,.5);color:#fff;box-shadow:none}
  body.dashboard-mode .ob-side-nav a.active .iconify{color:#ef2b3f}
  body.dashboard-mode .ob-side-nav a.ob-side-out:hover{background:rgba(239,43,63,.12);border-color:rgba(239,43,63,.5);color:#ff6b78}
}

/* Public text pages (contact / terms / privacy): footer sits at the bottom of the screen, not right under the content */
body.pub-page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body.pub-page .page-content{width:100%;box-sizing:border-box;flex:0 0 auto}
body.pub-page .site-footer{margin-top:auto!important}
body.pub-page .navbar{flex:none}

/* Notifications: green = success, red = error, amber = warning (dashboard + landing page) */
.toast.toast-success{background:#213a30!important;border:1px solid rgba(53,208,127,.35)!important;color:#35d07f!important}
.toast.toast-error{background:#3b1c24!important;border:1px solid rgba(239,43,63,.45)!important;color:#ff6b78!important}
.toast.toast-warning{background:#3a2d12!important;border:1px solid rgba(245,158,11,.4)!important;color:#f5a524!important}
.toast.toast-success .iconify{color:#35d07f!important}.toast.toast-error .iconify{color:#ff6b78!important}.toast.toast-warning .iconify{color:#f5a524!important}

/* amber note line inside a card */
body.dashboard-mode .rx-desc.rx-note-amber{color:#f5a524;font-weight:600;margin-top:-4px}

/* Ads: the ad iframe is a light document. Inside a dark page the browser would paint it on an opaque WHITE
   canvas (white strip under the ad, white box while it loads). Telling the iframe element it is "light" keeps it transparent. */
.ad-slot iframe,.ad-slot .ad-frame{color-scheme:light}

/* Watch Videos: the partner widget draws its own UI, so the card only gives it room */
body.dashboard-mode .av-card{padding:12px;min-height:320px}
body.dashboard-mode .av-card #aviso-widget{width:100%;max-width:100%}

/* More sheet: an odd last item sits centred at the same width instead of leaving an empty cell */
body.dashboard-mode .ob-sheet .ob-sheet-item:last-child:nth-child(odd){grid-column:1 / -1;justify-self:center;width:calc(50% - .3rem)}

/* History lives in the "More" menu on phones; the profile menu keeps it only on desktop */
.ob-menu a.ob-menu-hist{display:none}
@media(min-width:900px) and (pointer:fine){.ob-menu a.ob-menu-hist{display:flex}}

/* Referral list: inactive badge (grey) */
body.dashboard-mode .ob-badge.off{background:rgba(148,155,170,.14);color:#9aa3b2}

/* PTC provider tabs: the three tabs share the full width (no empty space on one side) */
:root[data-theme] body.dashboard-mode .tb-tabs .tb-tab{flex:1 1 auto;justify-content:center;text-align:center}

/* Public pages (terms / privacy / contact): top bar attached to the screen edges, not a floating rounded pill */
:root[data-theme] body.pub-page .navbar{top:0!important;width:100%;max-width:none!important;box-sizing:border-box;margin:0!important;border-radius:0!important;border:0!important;border-bottom:1px solid var(--border-color)!important;padding:0 1rem}
@media(min-width:900px){:root[data-theme] body.pub-page .navbar{padding:0 max(1.5rem,calc((100% - 1100px)/2))}}

/* PTC cards: the "iframe" tag is amber */
:root[data-theme] body.dashboard-mode .ad-chip.ad-chip-iframe{background:rgba(245,158,11,.16);color:#ffb020;box-shadow:inset 0 0 0 1px rgba(245,158,11,.45)}

/* Notifications: same green / red / amber as the status badges (e.g. "Complete"), and square-ish corners instead of pills */
:root[data-theme] body .toast{border-radius:8px!important}
:root[data-theme] body.dashboard-mode .alert-box{border-radius:8px!important;font-weight:600}
:root[data-theme] body.dashboard-mode .alert-box.alert-success{background:rgba(53,208,127,.14);color:#35d07f;border-color:transparent}
:root[data-theme] body.dashboard-mode .alert-box.alert-error{background:rgba(239,43,63,.16);color:#ff6b78;border-color:transparent}
:root[data-theme] body.dashboard-mode .alert-box.alert-warning{background:rgba(245,158,11,.15);color:#f5a524;border-color:transparent}
