:root{--bg:#081428;--bg2:#0b1d33;--card:#0d2038;--line:rgba(255,255,255,.08);--tx:#f2f7ff;--mut:#8da2b8;--ac:#2ed8d3;--acd:#0b2a33;--shadow:rgba(0,0,0,.35);box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
:root[data-theme="light"]{--bg:#eef4fa;--bg2:#e3edf6;--card:#fff;--line:rgba(8,20,40,.1);--tx:#0a1a2e;--mut:#56697e;--acd:#d9f5f4;--shadow:rgba(20,50,80,.12)}
*{box-sizing:border-box;margin:0;-webkit-tap-highlight-color:transparent}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body{background:#050d1a;color:var(--tx);font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100vh}
.app{max-width:480px;margin:0 auto;min-height:100vh;background:var(--bg);position:relative;padding-bottom:115px}
header{position:sticky;top:0;z-index:4;background:var(--bg);display:flex;align-items:center;justify-content:space-between;padding:calc(16px + env(safe-area-inset-top,0px)) 20px 16px;border-bottom:1px solid var(--line); border-radius: 0 0 30px 30px;}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#0b2a6b,#061a3d);display:grid;place-items:center}
.brand b{display:block;font-size:20px;font-weight:800;letter-spacing:.12em}
.brand small{font-size:9px;letter-spacing:.18em;color:var(--mut);font-weight:700;text-transform:uppercase}
.tools{display:flex;align-items:center;gap:16px;color:var(--mut)}
.tools button{background:none;border:0;color:inherit;display:flex;align-items:center;gap:6px;font:700 13px Manrope,sans-serif;cursor:pointer}
svg{display:block}
.ico{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.page{display:none}
.page.active{display:block}
.hero{padding:16px 22px 18px;display:flex;justify-content:space-between;align-items:flex-start}
.hero small{font-size:12px;font-weight:700;letter-spacing:.16em;color:var(--mut);text-transform:uppercase}
.hero h1{font-size:34px;letter-spacing:-.03em;font-weight:800;margin-top:10px;line-height:1.1}
.hero h1 i{color:var(--ac);font-style:normal}
.hero button{background:none;border:0;color:var(--mut);margin-top:22px;cursor:pointer}
.card{margin:18px;border:1px solid var(--line);border-radius:30px;padding: 28px 28px 10px;position:relative;overflow:hidden;background:linear-gradient(160deg,var(--bg2),var(--card));}
.card::after{content:"";position:absolute;right:-60px;top:-60px;width:210px;height:210px;border:1px solid var(--line);border-radius:50%}
.card p.l{color:var(--mut);font-size:19px}
.badge{position:absolute;right:26px;top:28px;z-index:1;border:1px solid var(--line);border-radius:20px;padding:7px 12px;font-size:10px;letter-spacing:.1em;font-weight:700;color:var(--mut);display:flex;gap:6px;align-items:center}
.badge .ico{width:13px;height:13px}
.card h2{font-size:clamp(19px,5.4vw,26px);letter-spacing:-.03em;line-height:1.25;margin:8px 0 12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card p.s{color:var(--mut);font-size:15px}
.input{width:100%;margin-top:24px;padding:17px 18px;border-radius:16px;border:1px solid var(--line);background:rgba(0,0,0,.22);color:var(--tx);font:600 15px Manrope,sans-serif;outline:none}
.input:focus{border-color:var(--ac)}
.btn{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#4de6dd,#1fb7c5);color:#04222b;font:800 17px Manrope,sans-serif;border:0;border-radius:18px;padding:17px 22px;cursor:pointer;box-shadow:0 10px 24px rgba(46,216,211,.25);width:100%}
.btn .ico{width:16px;height:16px;stroke-width:2.2}
.hint{margin-top:14px;color:var(--mut);font-size:12px;text-align:center}
.actions{display:grid;grid-template-columns:repeat(4,1fr);padding:26px 14px 6px;text-align:center}
.actions button{background:none;border:0;color:var(--tx);font:700 13px Manrope,sans-serif;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:12px}
.actions span{width:66px;height:66px;border-radius:22px;border:1px solid var(--line);display:grid;place-items:center}
.a1{background:#0d2f3c;color:#2ed8d3}.a2{background:#26261f;color:#f5c542}.a3{background:#10264a;color:#6aa7ff}.a4{background:#241f42;color:#e59aff}
:root[data-theme="light"] .a1{background:#d5f3f1}
:root[data-theme="light"] .a2{background:#fbf0cf}
:root[data-theme="light"] .a3{background:#dbe8ff}
:root[data-theme="light"] .a4{background:#f1e1ff}
.promo{margin:26px 18px 0;border:1px solid var(--line);border-radius:30px;padding:30px 28px;position:relative;overflow:hidden;background:linear-gradient(160deg,var(--bg2),var(--card));min-height:190px}
.promo small{font-size:12px;letter-spacing:.16em;font-weight:700;color:var(--mut);text-transform:uppercase}
.promo h3{font-size:26px;letter-spacing:-.03em;line-height:1.25;margin-top:14px;max-width:230px;font-weight:800}
.gem{position:absolute;right:-6px;top:30px;opacity:.95}
.balance-card{margin:0 18px;border:1px solid var(--line);border-radius:30px;padding:30px 28px;position:relative;overflow:hidden;background:linear-gradient(160deg,var(--bg2),var(--card))}
.balance-label{color:var(--mut);font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.balance-value{font-size:52px;font-weight:800;letter-spacing:-.03em;margin:14px 0 4px}
.balance-value i{color:var(--ac);font-style:normal}
.balance-sub{color:var(--mut);font-size:13px}
.claim{margin-top:26px;width:100%;padding:18px;border:0;border-radius:18px;background:linear-gradient(135deg,#4de6dd,#1fb7c5);color:#04222b;font:800 17px Manrope,sans-serif;cursor:pointer;box-shadow:0 10px 24px rgba(46,216,211,.25)}
.claim:disabled{background:rgba(255,255,255,.06);color:var(--mut);box-shadow:none;cursor:not-allowed}
.timer{margin-top:14px;color:var(--mut);font-size:13px;text-align:center}
.progress{margin-top:12px;height:8px;border-radius:99px;overflow:hidden;background:rgba(0,0,0,.25);border:1px solid var(--line)}
.progress-bar{height:100%;width:0%;background:var(--ac);transition:width 1s linear}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:22px 18px 0}
.stat{border:1px solid var(--line);border-radius:22px;padding:18px;background:linear-gradient(160deg,var(--bg2),var(--card))}
.stat b{display:block;font-size:24px;font-weight:800}
.stat span{color:var(--mut);font-size:12px}
.section{margin:8px 18px 0;border:1px solid var(--line);border-radius:30px;padding:26px 24px;background:linear-gradient(160deg,var(--bg2),var(--card))}
.section h3{font-size:20px;font-weight:800;margin-bottom:18px}
.field{margin-bottom:14px}
.field label{display:block;margin-bottom:7px;color:var(--mut);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.field input{width:100%;padding:15px 16px;border-radius:14px;background:rgba(0,0,0,.22);border:1px solid var(--line);color:var(--tx);font:600 15px Manrope,sans-serif;outline:none}
.field input:focus{border-color:var(--ac)}
.withdraw-btn{width:100%;padding:16px;border:0;border-radius:16px;cursor:pointer;font:800 16px Manrope,sans-serif;color:#04222b;background:linear-gradient(135deg,#4de6dd,#1fb7c5)}
.withdraw-btn:disabled{background:rgba(255,255,255,.06);color:var(--mut);cursor:not-allowed}
.note{margin-top:14px;color:var(--mut);font-size:12px;line-height:1.5}
.history-item{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}
.history-item:last-child{border-bottom:0}
.plus{color:var(--ac);font-weight:800}
.minus{color:#f5c542;font-weight:800}
.empty{color:var(--mut);font-size:14px;text-align:center;padding:12px 0}
.plan{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:18px;margin-bottom:10px;background:rgba(0,0,0,.18)}
.plan b{display:block;font-size:15px}
.plan small{color:var(--mut);font-size:12px}
.price{font-size:17px;font-weight:800;color:var(--ac)}
.buy{padding:10px 16px;border:0;border-radius:12px;background:var(--ac);color:#04222b;font:800 13px Manrope,sans-serif;cursor:pointer}
.ref-link{display:flex;gap:8px;margin-top:16px}
.ref-link input{flex:1;padding:13px;border-radius:12px;border:1px solid var(--line);background:rgba(0,0,0,.22);color:var(--tx);font:600 13px Manrope,sans-serif;outline:none}
.ref-link button{padding:0 16px;border:0;border-radius:12px;background:var(--ac);color:#04222b;font:800 13px Manrope,sans-serif;cursor:pointer}
.settings-card{margin:0 18px;border:1px solid var(--line);border-radius:30px;padding:30px 28px;position:relative;overflow:hidden;background:linear-gradient(160deg,var(--bg2),var(--card))}
.settings-card::after{content:"";position:absolute;right:-60px;top:-60px;width:210px;height:210px;border:1px solid var(--line);border-radius:50%}
.avatar-large{width:84px;height:84px;border-radius:28px;display:grid;place-items:center;margin-bottom:20px;font-size:32px;font-weight:800;color:#04222b;background:linear-gradient(135deg,#4de6dd,#1fb7c5);box-shadow:0 12px 28px rgba(46,216,211,.25)}
.save-btn{margin-top:22px;width:100%;padding:17px;border:0;border-radius:18px;background:linear-gradient(135deg,#4de6dd,#1fb7c5);color:#04222b;font:800 17px Manrope,sans-serif;cursor:pointer;box-shadow:0 10px 24px rgba(46,216,211,.25)}
.save-btn:disabled{background:rgba(255,255,255,.06);color:var(--mut);box-shadow:none;cursor:not-allowed}
.saved-note{margin-top:14px;color:var(--ac);font-size:13px;text-align:center;opacity:0;transition:opacity .25s}
.saved-note.show{opacity:1}
nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding:10px 5px calc(14px + env(safe-area-inset-bottom,0px));background:var(--bg2);border:1px solid var(--line);border-bottom:0;border-radius:30px 30px 0 0;box-shadow:0 -10px 30px var(--shadow);z-index:5}
nav a{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;min-width:0;padding:9px 0 7px;border-radius:16px;color:var(--mut);font-size:9px;font-weight:700;text-decoration:none;position:relative}
nav a.on{color:var(--ac);background:rgba(46,216,211,.1)}
nav a.on::after{content:"";position:absolute;bottom:2px;width:18px;height:3px;border-radius:3px;background:var(--ac)}.fab{position:fixed;right:max(16px,calc(50% - 224px));bottom:115px;width:50px;height:50px;border-radius:50%;background:var(--ac);color:#04222b;display:grid;place-items:center;border:0;box-shadow:0 8px 20px rgba(46,216,211,.35);z-index:6}
@media (prefers-reduced-motion:no-preference){.btn,.claim,.actions span{transition:transform .15s}.btn:active,.claim:active,.actions button:active span{transform:scale(.95)}}
.lang{position:relative}
.lang button{min-width:74px;justify-content:center}
.sheet{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.55)}
.sheet[hidden]{display:none}
.sheet .p{width:100%;max-width:480px;background:var(--card);border-radius:28px 28px 0 0;padding:14px 16px calc(18px + env(safe-area-inset-bottom,0px));border:1px solid var(--line);color:var(--tx)}
.sheet h4{font-size:17px;font-weight:800;padding:10px 10px 12px}
.sheet button{width:100%;display:flex;justify-content:space-between;align-items:center;background:none;border:0;color:var(--tx);font:700 16px Manrope,system-ui,sans-serif;padding:15px 12px;border-radius:14px;cursor:pointer;text-align:start}
.sheet button:hover,.sheet button.on{background:var(--acd)}
.sheet button.on{color:var(--ac)}
[dir=rtl] .badge{right:auto;left:26px}[dir=rtl] .card::after{right:auto;left:-60px}[dir=rtl] .gem{right:auto;left:-6px}

.roadmap-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--mut);text-transform:uppercase;margin-bottom:8px}
.roadmap-list{display:flex;flex-direction:column;gap:10px}
.roadmap-item{border:1px solid var(--line);border-radius:18px;background:rgba(0,0,0,.18);overflow:hidden}
:root[data-theme="light"] .roadmap-item{background:rgba(255,255,255,.55)}
.roadmap-trigger{width:100%;display:flex;align-items:center;gap:12px;padding:14px 16px;background:none;border:0;color:var(--tx);font:700 15px Manrope,sans-serif;cursor:pointer;text-align:left}
.step-num{width:34px;height:34px;flex:0 0 34px;border-radius:11px;display:grid;place-items:center;font-size:12px;font-weight:800;color:#04222b;background:linear-gradient(135deg,#4de6dd,#1fb7c5)}
.step-title{flex:1;font-weight:800}
.step-arrow{color:var(--mut);font-size:18px;line-height:1;transition:transform .2s ease}
.roadmap-item.open .step-arrow{transform:rotate(180deg);color:var(--ac)}
.roadmap-panel{padding:0 16px 15px 62px}
.roadmap-panel p{color:var(--mut);font-size:13px;line-height:1.55}

.tiers-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--mut);text-transform:uppercase;margin-bottom:8px}
.tiers-sub{color:var(--mut);font-size:13px;line-height:1.5;margin:-8px 0 16px}
.tier-list{display:flex;flex-direction:column;gap:10px}
.tier-row{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:rgba(0,0,0,.18)}
:root[data-theme="light"] .tier-row{background:rgba(255,255,255,.55)}
.tier-badge{width:36px;height:36px;flex:0 0 36px;border-radius:11px;display:grid;place-items:center;font-size:12px;font-weight:800}
.tier-1 .tier-badge{background:rgba(46,216,211,.15);color:var(--ac)}
.tier-2 .tier-badge{background:rgba(106,167,255,.16);color:#6aa7ff}
.tier-3 .tier-badge{background:rgba(245,197,24,.16);color:#f5c518}
.tier-info{flex:1;min-width:0}
.tier-info b{display:block;font-size:14px;font-weight:800}
.tier-info small{display:block;color:var(--mut);font-size:12px;margin-top:2px}
.tier-rate{font-size:18px;font-weight:800;color:var(--tx)}
.tier-1 .tier-rate{color:var(--ac)}


.boost-plans{margin:28px 18px 0}
.boost-head{border:1px solid var(--line);border-radius:30px;padding:24px 24px 22px;background:linear-gradient(160deg,var(--bg2),var(--card));margin-bottom:12px}
.boost-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--mut);text-transform:uppercase;margin-bottom:8px}
.boost-head h3{font-size:20px;font-weight:800}
.boost-sub{color:var(--mut);font-size:13px;line-height:1.5;margin-top:6px}
.boost-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.boost-card{min-width:0;border:1px solid var(--line);border-radius:20px;padding:14px 10px;background:linear-gradient(160deg,var(--bg2),var(--card));display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;gap:8px;cursor:pointer;transition:border-color .15s ease,transform .15s ease}
.boost-card:active{transform:scale(.97)}
.boost-card.is-popular{border-color:rgba(46,216,211,.35)}
.boost-card.is-selected{border-color:var(--ac)}
.boost-tag{max-width:100%;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 7px;border-radius:99px;background:rgba(255,255,255,.06);color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.boost-2 .boost-tag{background:rgba(46,216,211,.14);color:var(--ac)}
.boost-3 .boost-tag{background:rgba(245,197,24,.15);color:#f5c518}
.boost-card h4{font-size:15px;font-weight:800;letter-spacing:-.02em}
.boost-percent{font-size:24px;font-weight:800;letter-spacing:-.03em;line-height:1;color:var(--ac)}
.boost-2 .boost-percent{color:#6aa7ff}
.boost-3 .boost-percent{color:#f5c518}
.boost-card p{color:var(--mut);font-size:11px;line-height:1.35}
.boost-price{width:100%;margin-top:4px;padding:8px 6px;border-radius:12px;background:rgba(46,216,211,.12);color:var(--ac);font-size:12px;font-weight:800;white-space:nowrap}
.boost-2 .boost-price{background:rgba(106,167,255,.14);color:#6aa7ff}
.boost-3 .boost-price{background:rgba(245,197,24,.14);color:#f5c518}


.stats-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--mut);text-transform:uppercase;margin-bottom:8px}
.activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.activity-col{min-width:0;border:1px solid var(--line);border-radius:20px;padding:14px 12px;background:rgba(0,0,0,.18)}
:root[data-theme="light"] .activity-col{background:rgba(255,255,255,.55)}
.activity-col-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.activity-col-head h4{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.col-pill{font-size:9px;font-weight:800;letter-spacing:.06em;padding:3px 7px;border-radius:99px;flex-shrink:0}
.pill-cyan{background:rgba(46,216,211,.14);color:var(--ac)}
.pill-gold{background:rgba(245,197,24,.15);color:#f5c518}
.activity-row{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}
.activity-row:last-child{border-bottom:0;padding-bottom:2px}
.activity-user{color:var(--mut);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.activity-val{font-weight:800;white-space:nowrap;flex-shrink:0}
.buy-val{color:#f5c518}

.tools a{background:none;border:0;color:inherit;display:flex;align-items:center;gap:6px;font:700 13px Manrope,sans-serif;text-decoration:none;cursor:pointer}

.boost-plans {
  scroll-margin-top: 84px;
}
.ref-tiers {
  scroll-margin-top: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Header back pill on legal pages */
header .back-link{
  font-size:12px;
  font-weight:700;
  color:var(--ac);
  text-decoration:none;
  padding:6px 12px;
  border-radius:99px;
  border:1px solid rgba(46,216,211,.35);
  background:rgba(46,216,211,.08);
  white-space:nowrap;
  flex-shrink:0;
}

/* Legal pages header card & articles */
.section .kicker{
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  color:var(--ac);
  text-transform:uppercase;
  margin-bottom:8px;
}
.section h1{
  font-size:24px;
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.2;
}
.section .updated{
  display:inline-block;
  margin-top:10px;
  font-size:11px;
  font-weight:700;
  color:var(--mut);
  padding:4px 10px;
  border-radius:99px;
  background:rgba(255,255,255,.05);
}
:root[data-theme="light"] .section .updated{
  background:rgba(8,20,40,.06);
}

.legal-card{
  margin:12px 18px 0;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px 20px;
  background:linear-gradient(160deg,var(--bg2),var(--card));
}
.legal-card h2{
  font-size:15px;
  font-weight:800;
  margin-bottom:8px;
  color:var(--tx);
}
.legal-card p,
.legal-card li{
  font-size:13px;
  line-height:1.6;
  color:var(--mut);
}
.legal-card ul{
  padding-left:18px;
  margin-top:6px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.legal-card strong{
  color:var(--txt);
  font-weight:700;
}

.activity-row{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:4px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
}
.activity-row:last-child{
  border-bottom:0;
  padding-bottom:2px;
}
.activity-user{
  color:var(--mut);
  font-size:11px;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.activity-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
}
.activity-time{
  color:var(--mut);
  font-size:11px;
  opacity:.8;
  white-space:nowrap;
}
.activity-val{
  font-weight:800;
  font-size:12px;
  white-space:nowrap;
  flex-shrink:0;
}

/* Dashboard layout */
.dash-wrap{padding-top:16px}
.dash-top-card{
  margin:0 18px;
  border:1px solid var(--line);
  border-radius:28px;
  padding:20px 22px;
  background:linear-gradient(160deg,var(--bg2),var(--card));
}
.dash-account-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.dash-label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--mut);
}
.dash-email{
  font-size:13px;
  font-weight:800;
  color:var(--tx);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dash-balance-block{padding-top:14px}
.dash-balance-val{
  font-size:32px;
  font-weight:800;
  letter-spacing:-.03em;
  margin-top:6px;
  line-height:1.15;
}
.dash-balance-val i{color:var(--ac);font-style:normal;font-size:20px}
.dash-sub{display:block;margin-top:6px;font-size:12px;color:var(--mut)}

/* 24h bonus card */
.dash-bonus-card{margin-top:18px}
.dash-bonus-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
}
.dash-bonus-head h3{margin-bottom:0}
.dash-cycle-pill{
  font-size:11px;
  font-weight:800;
  padding:5px 10px;
  border-radius:99px;
  background:rgba(46,216,211,.12);
  color:var(--ac);
  white-space:nowrap;
}
.dash-live-box{
  padding:16px;
  border-radius:20px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  text-align:center;
}
:root[data-theme="light"] .dash-live-box{background:rgba(255,255,255,.55)}
.dash-live-amount{
  font-size:28px;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--ac);
}
.dash-live-amount i{font-style:normal;font-size:15px;color:var(--mut)}
.dash-live-note{display:block;margin-top:6px;font-size:12px;color:var(--mut)}
.dash-live-note.is-full{color:#f5c542;font-weight:700}

.dash-meter-wrap{margin-top:16px}
.dash-meter-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12px;
  color:var(--mut);
  margin-bottom:6px;
}
.dash-meter-top strong{color:var(--tx)}

/* Inputs & buttons inside 3 boost cards */
.dash-plan-input{
  width:100%;
  margin-top:2px;
  padding:8px 8px;
  border-radius:11px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
  color:var(--tx);
  font:700 12px Manrope,sans-serif;
  text-align:center;
  outline:none;
}
:root[data-theme="light"] .dash-plan-input{background:rgba(255,255,255,.75)}
.dash-plan-input:focus{border-color:var(--ac)}
.dash-buy-btn{width:100%;margin-top:2px}

/* Compact top account & balance card */
.dash-wrap{padding-top:0px}
.dash-top-card{
  margin:10px 18px;
  border:1px solid var(--line);
  border-radius:20px;
  padding:14px 16px;
  background:linear-gradient(160deg,var(--bg2),var(--card));
}
.dash-account-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding-bottom:10px;
  border-bottom:1px solid var(--line);
}
.dash-label{
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--mut);
  flex-shrink:0;
}
.dash-email{
  font-size:12px;
  font-weight:800;
  color:var(--tx);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dash-balance-block{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:6px 12px;
  padding-top:10px;
}
.dash-balance-val{
  font-size:24px;
  font-weight:800;
  letter-spacing:-.02em;
  margin-top:0;
  line-height:1.1;
}
.dash-balance-val i{
  color:var(--ac);
  font-style:normal;
  font-size:14px;
  font-weight:800;
}
.dash-sub{
  width:100%;
  margin-top:2px;
  font-size:11px;
  color:var(--mut);
}

.dash-bonus-card{margin-top:10px;padding:16px 18px;border-radius:22px}
.dash-bonus-head{margin-bottom:10px}
.dash-live-box{padding:11px 12px;border-radius:14px}
.dash-live-amount{font-size:22px}
.dash-meter-wrap{margin-top:10px}
.dash-bonus-card .claim{margin-top:12px;padding:13px;font-size:15px;border-radius:14px}


.dash-cycle-pill.is-full {
  color: #ff6b6b;
  background: rgba(255, 77, 77, 0.16);
  border: 1px solid rgba(255, 77, 77, 0.45);
  animation: cycleAlertBlink 1s ease-in-out infinite;
}

@keyframes cycleAlertBlink {
  0%, 100% {
    background: rgba(255, 77, 77, 0.14);
    box-shadow: 0 0 0 rgba(255, 77, 77, 0);
  }
  50% {
    background: rgba(255, 77, 77, 0.36);
    box-shadow: 0 0 14px rgba(255, 77, 77, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-cycle-pill.is-full {
    animation: none;
    background: rgba(255, 77, 77, 0.28);
  }
}

#liveBonus.is-full {
  color: #f5c518;
  animation: bonusFullBlink 1s ease-in-out infinite;
}

@keyframes bonusFullBlink {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 0 rgba(245, 197, 24, 0);
  }
  50% {
    opacity: 0.45;
    text-shadow: 0 0 12px rgba(245, 197, 24, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  #liveBonus.is-full {
    animation: none;
    color: #f5c518;
  }
}

.dash-live-note strong{color:var(--tx);font-weight:800}
.dash-live-note.is-full{color:#f5c542;font-weight:700}
.dash-live-note.is-full strong{color:#f5c542}

.boost-percent{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
}
.boost-period{
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#cbd9ed;
  opacity:.95;
}
:root[data-theme="light"] .boost-period{
  color:#334155;
}

.boost-card p.boost-term{
  color:#cfe0f5;
  font-weight:700;
  font-size:11px;
}
:root[data-theme="light"] .boost-card p.boost-term{
  color:#1e293b;
}
.boost-2 p.boost-term{color:#b8d4ff}
.boost-3 p.boost-term{color:#ffe082}
:root[data-theme="light"] .boost-2 p.boost-term{color:#1d4ed8}
:root[data-theme="light"] .boost-3 p.boost-term{color:#a16207}

.boost-history{
  margin-top:16px;
}

.bh-empty{
  padding:12px 14px;
  border-radius:12px;
  background:var(--card, rgba(255,255,255,.03));
  border:1px solid var(--bd, rgba(255,255,255,.08));
  color:var(--muted, #94a3b8);
  font-size:12px;
  text-align:center;
}

.bh-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.bh-item{
  padding:10px 12px;
  border-radius:12px;
  background:var(--card, rgba(255,255,255,.03));
  border:1px solid var(--bd, rgba(255,255,255,.08));
  display:flex;
  flex-direction:column;
  gap:6px;
}

.bh-item.is-expired{
  opacity:.62;
}

.bh-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.bh-plan{
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:2px 8px;
  border-radius:999px;
}

.bh-tier-starter{
  background:rgba(45, 212, 191, .14);
  color:#5eead4;
}

.bh-tier-popular{
  background:rgba(96, 165, 250, .16);
  color:#93c5fd;
}

.bh-tier-max{
  background:rgba(250, 204, 21, .16);
  color:#fde047;
}

.bh-amount{
  font-size:13px;
  font-weight:800;
  color:var(--tx, #f8fafc);
}

.bh-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:4px 12px;
  font-size:11px;
  color:var(--muted, #94a3b8);
}

.bh-meta b{
  color:var(--tx, #e2e8f0);
  font-weight:600;
}
.bh-top{
  display:grid;
  grid-template-columns:78px 88px minmax(0, 1fr);
  align-items:center;
  gap:8px;
}

.bh-plan{
  justify-self:start;
  text-align:center;
  font-size:10px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:2px 7px;
  border-radius:999px;
  white-space:nowrap;
}

.bh-amount{
  text-align:left;
  font-size:12.5px;
  font-weight:800;
  color:var(--tx, #f8fafc);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.bh-profit{
  text-align:right;
  font-size:12.5px;
  font-weight:800;
  color:#38bdf8;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

/* Тёмная тема — бейджи и прибыль */
.bh-tier-starter{background:rgba(45, 212, 191, .16);color:#5eead4}
.bh-tier-popular{background:rgba(96, 165, 250, .18);color:#93c5fd}
.bh-tier-max{background:rgba(250, 204, 21, .18);color:#fde047}

/* Белая тема — контрастные цвета для читаемости */
:root[data-theme="light"] .bh-amount{
  color:#0f172a;
}
:root[data-theme="light"] .bh-profit{
  color:#0284c7;
}
:root[data-theme="light"] .bh-tier-starter{
  background:rgba(13, 148, 136, .14);
  color:#0f766e;
}
:root[data-theme="light"] .bh-tier-popular{
  background:rgba(37, 99, 235, .14);
  color:#1d4ed8;
}
:root[data-theme="light"] .bh-tier-max{
  background:rgba(202, 138, 4, .16);
  color:#a16207;
}
:root[data-theme="light"] .bh-meta{
  color:#475569;
}
:root[data-theme="light"] .bh-meta b{
  color:#0f172a;
}

/* На совсем узких экранах до 400px чуть ужимаем цифры, чтобы не теснились */
@media (max-width:400px){
  .bh-top{
    grid-template-columns:70px 76px minmax(0, 1fr);
    gap:6px;
  }
  .bh-amount,
  .bh-profit{
    font-size:11.5px;
  }
}


.bh-top{
  display:grid;
  grid-template-columns:78px 86px minmax(0, 1fr);
  align-items:center;
  gap:8px;
}

.bh-plan{
  justify-self:start;
  text-align:center;
  font-size:10px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:2px 8px;
  border-radius:999px;
  white-space:nowrap;
}

.bh-amount{
  text-align:left;
  font-size:12.5px;
  font-weight:800;
  color:var(--tx, #f8fafc);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.bh-profit-wrap{
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  gap:5px;
  min-width:0;
  white-space:nowrap;
}

.bh-profit-label{
  font-size:9.5px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#94a3b8;
}

.bh-profit{
  font-size:12.5px;
  font-weight:800;
  color:#38bdf8;
  font-variant-numeric:tabular-nums;
}

/* Тёмная тема */
.bh-tier-starter{
  background:rgba(45, 212, 191, .16);
  color:#5eead4;
}
.bh-tier-popular{
  background:rgba(96, 165, 250, .18);
  color:#93c5fd;
}
.bh-tier-max{
  background:linear-gradient(135deg, rgba(250, 204, 21, .28), rgba(245, 158, 11, .24));
  border:1px solid rgba(250, 204, 21, .45);
  color:#fde047;
  box-shadow:0 0 12px rgba(250, 204, 21, .14);
}

/* Белая тема */
:root[data-theme="light"] .bh-amount{
  color:#0f172a;
}
:root[data-theme="light"] .bh-profit-label{
  color:#64748b;
}
:root[data-theme="light"] .bh-profit{
  color:#0284c7;
}
:root[data-theme="light"] .bh-tier-starter{
  background:rgba(13, 148, 136, .14);
  color:#0f766e;
}
:root[data-theme="light"] .bh-tier-popular{
  background:rgba(37, 99, 235, .14);
  color:#1d4ed8;
}
:root[data-theme="light"] .bh-tier-max{
  background:linear-gradient(135deg, rgba(250, 204, 21, .32), rgba(245, 158, 11, .24));
  border:1px solid rgba(217, 119, 6, .45);
  color:#92400e;
  box-shadow:none;
}
:root[data-theme="light"] .bh-meta{
  color:#475569;
}
:root[data-theme="light"] .bh-meta b{
  color:#0f172a;
}

/* Узкие экраны (до 400px) */
@media (max-width:400px){
  .bh-top{
    grid-template-columns:70px 74px minmax(0, 1fr);
    gap:6px;
  }
  .bh-profit-wrap{
    flex-direction:column;
    align-items:flex-end;
    gap:0;
    line-height:1.15;
  }
  .bh-amount,
  .bh-profit{
    font-size:11.5px;
  }
}

.bh-end{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.bh-expired-badge{
  display:inline-block;
  font-size:9px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:1px 6px;
  border-radius:6px;
  background:rgba(248, 113, 113, .16);
  color:#fca5a5;
  border:1px solid rgba(248, 113, 113, .32);
}

/* Пометка отработавшего буста */
.bh-item.is-expired{
  opacity:.68;
  border-style:dashed;
}

/* Белая тема */
:root[data-theme="light"] .bh-expired-badge{
  background:rgba(220, 38, 38, .12);
  color:#b91c1c;
  border-color:rgba(220, 38, 38, .28);
}

.bh-empty-card{
  align-items:center;
  text-align:center;
  padding:14px 12px;
  gap:4px;
  border-style:dashed;
}

.bh-empty-title{
  font-size:12.5px;
  font-weight:700;
  color:var(--tx, #e2e8f0);
}

.bh-empty-desc{
  font-size:11px;
  color:var(--muted, #94a3b8);
}

/* Белая тема */
:root[data-theme="light"] .bh-empty-title{
  color:#0f172a;
}

:root[data-theme="light"] .bh-empty-desc{
  color:#475569;
}

.cs-toast-backdrop{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(2, 6, 23, .72);
  backdrop-filter:blur(4px);
}
.cs-toast-backdrop.is-open{
  display:flex;
}

.cs-toast-modal{
  width:100%;
  max-width:380px;
  padding:16px;
  border-radius:16px;
  background:var(--card, #0f172a);
  border:1px solid var(--bd, rgba(148, 163, 184, .18));
  box-shadow:0 20px 50px rgba(0, 0, 0, .45);
  color:var(--tx, #f8fafc);
}

.cs-toast-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}

.cs-toast-badge{
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:2px 8px;
  border-radius:999px;
}

.cs-toast-modal.is-warning .cs-toast-badge{
  background:rgba(250, 204, 21, .18);
  color:#fde047;
  border:1px solid rgba(250, 204, 21, .35);
}
.cs-toast-modal.is-success .cs-toast-badge{
  background:rgba(52, 211, 153, .18);
  color:#6ee7b7;
  border:1px solid rgba(52, 211, 153, .35);
}
.cs-toast-modal.is-error .cs-toast-badge{
  background:rgba(248, 113, 113, .18);
  color:#fca5a5;
  border:1px solid rgba(248, 113, 113, .35);
}
.cs-toast-modal.is-info .cs-toast-badge{
  background:rgba(56, 189, 248, .18);
  color:#7dd3fc;
  border:1px solid rgba(56, 189, 248, .35);
}

.cs-toast-close{
  width:28px;
  height:28px;
  border:0;
  border-radius:8px;
  background:rgba(148, 163, 184, .12);
  color:var(--muted, #94a3b8);
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
.cs-toast-close:hover{
  color:var(--tx, #f8fafc);
  background:rgba(148, 163, 184, .22);
}

.cs-toast-title{
  margin:0 0 6px;
  font-size:16px;
  font-weight:800;
  color:var(--tx, #f8fafc);
}

.cs-toast-text{
  margin:0 0 14px;
  font-size:13px;
  line-height:1.45;
  color:var(--muted, #cbd5e1);
  white-space:pre-line;
}

.cs-toast-actions{
  display:flex;
  justify-content:flex-end;
}

.cs-toast-btn{
  padding:8px 18px;
  border:0;
  border-radius:10px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  background:#38bdf8;
  color:#04131e;
}
.cs-toast-modal.is-warning .cs-toast-btn{
  background:#facc15;
  color:#1e1603;
}
.cs-toast-modal.is-success .cs-toast-btn{
  background:#34d399;
  color:#031b12;
}
.cs-toast-modal.is-error .cs-toast-btn{
  background:#f87171;
  color:#240707;
}

/* Белая тема */
:root[data-theme="light"] .cs-toast-backdrop{
  background:rgba(15, 23, 42, .45);
}
:root[data-theme="light"] .cs-toast-modal{
  background:#ffffff;
  border-color:rgba(15, 23, 42, .12);
  color:#0f172a;
  box-shadow:0 20px 40px rgba(15, 23, 42, .16);
}
:root[data-theme="light"] .cs-toast-title{
  color:#0f172a;
}
:root[data-theme="light"] .cs-toast-text{
  color:#475569;
}
:root[data-theme="light"] .cs-toast-close{
  background:rgba(15, 23, 42, .06);
  color:#475569;
}
:root[data-theme="light"] .cs-toast-modal.is-warning .cs-toast-badge{
  background:rgba(202, 138, 4, .14);
  color:#a16207;
  border-color:rgba(202, 138, 4, .3);
}
:root[data-theme="light"] .cs-toast-modal.is-success .cs-toast-badge{
  background:rgba(5, 150, 105, .14);
  color:#047857;
  border-color:rgba(5, 150, 105, .3);
}
:root[data-theme="light"] .cs-toast-modal.is-error .cs-toast-badge{
  background:rgba(220, 38, 38, .14);
  color:#b91c1c;
  border-color:rgba(220, 38, 38, .3);
}
:root[data-theme="light"] .cs-toast-modal.is-info .cs-toast-badge{
  background:rgba(2, 132, 199, .14);
  color:#0369a1;
  border-color:rgba(2, 132, 199, .3);
}

.tier-3 .tier-rate{
  color:#f5c518;
}

.tier-rate{
  white-space:nowrap;
  flex-shrink:0;
}

:root[data-theme="light"] .tier-2 .tier-badge{
  background:rgba(37,99,235,.14);
  color:#1d4ed8;
}

:root[data-theme="light"] .tier-3 .tier-badge{
  background:rgba(202,138,4,.16);
  color:#a16207;
}

:root[data-theme="light"] .tier-3 .tier-rate{
  color:#b45309;
}
/* Уровни партнёрки: L3 и контраст на светлой теме */
.tier-3 .tier-rate{
  color:#f5c518;
}
.tier-rate{
  white-space:nowrap;
  flex-shrink:0;
}
:root[data-theme="light"] .tier-2 .tier-badge{
  background:rgba(37,99,235,.14);
  color:#1d4ed8;
}
:root[data-theme="light"] .tier-3 .tier-badge{
  background:rgba(202,138,4,.16);
  color:#a16207;
}
:root[data-theme="light"] .tier-3 .tier-rate{
  color:#b45309;
}

/* Список приглашённых пользователей */
.ref-users-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.ref-user-row{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
  gap:6px;
}
:root[data-theme="light"] .ref-user-row{
  background:rgba(255,255,255,.55);
}
.ref-user-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:13px;
}
.ref-user-num{
  font-size:11px;
  font-weight:700;
  color:var(--mut);
}
.ref-user-login{
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:800;
  color:var(--tx);
}
.ref-user-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:4px 10px;
  font-size:11px;
  color:var(--mut);
}
.ref-user-meta b{
  color:var(--tx);
  font-weight:700;
}
.ref-empty{
  padding:12px;
  border-radius:14px;
  border:1px dashed var(--line);
  text-align:center;
  font-size:12px;
  color:var(--mut);
}

/* Промо-баннеры под мобильный экран */
.ref-banner-card{
  padding:14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  margin-bottom:10px;
}
.ref-banner-card:last-child{
  margin-bottom:0;
}
:root[data-theme="light"] .ref-banner-card{
  background:rgba(255,255,255,.55);
}
.ref-banner-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px;
  font-size:12px;
  font-weight:800;
  color:var(--mut);
}
.ref-mini-btn{
  padding:6px 12px;
  border:0;
  border-radius:10px;
  background:var(--ac);
  color:#04222b;
  font:800 11px Manrope,sans-serif;
  cursor:pointer;
}
.ref-banner-box{
  width:100%;
  overflow:hidden;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.22);
  display:grid;
  place-items:center;
  padding:8px;
}
.ref-banner-box img{
  display:block;
  max-width:100%;
  height:auto;
}
.ref-banner-url{
  margin-top:8px;
  font-size:11px;
  color:var(--mut);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.pagination{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:14px;
}
.page-link{
  padding:6px 11px;
  border-radius:10px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:var(--mut);
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
.page-link.active{
  background:var(--ac);
  border-color:var(--ac);
  color:#04222b;
}
/* История пополнений и выводов */
.cs-hist-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
}
.cs-hist-head h3{
  margin-bottom:0;
}
.cs-hist-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.cs-hist-row{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
  gap:6px;
}
:root[data-theme="light"] .cs-hist-row{
  background:rgba(255,255,255,.55);
}
.cs-hist-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:13px;
  font-weight:800;
}
.cs-hist-type{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--tx);
}
.cs-hist-ico{
  width:18px;
  height:18px;
  border-radius:6px;
  object-fit:contain;
  flex-shrink:0;
}
.cs-hist-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  color:var(--mut);
}
.cs-hist-status.is-ok{
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(46,216,211,.14);
  color:var(--ac);
}
:root[data-theme="light"] .cs-hist-status.is-ok{
  background:rgba(13,148,136,.14);
  color:#0f766e;
}
:root[data-theme="light"] .minus{
  color:#b45309;
}

/* PTC сёрфинг */
.cs-ptc-add{
  margin-top:20px;
  padding:9px 14px;
  border-radius:14px;
  background:linear-gradient(135deg,#4de6dd,#1fb7c5);
  color:#04222b;
  font:800 12px Manrope,sans-serif;
  text-decoration:none;
  white-space:nowrap;
  flex-shrink:0;
  box-shadow:0 8px 18px rgba(46,216,211,.22);
}

.cs-ptc-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
}
.cs-ptc-head h3{
  margin-bottom:0;
}

.cs-ptc-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cs-ptc-card{
  padding:13px 14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
  gap:10px;
}
:root[data-theme="light"] .cs-ptc-card{
  background:rgba(255,255,255,.6);
}

.cs-ptc-card.is-vip{
  border-color:rgba(245,197,24,.38);
  background:linear-gradient(160deg, rgba(245,197,24,.08), rgba(0,0,0,.18));
}
:root[data-theme="light"] .cs-ptc-card.is-vip{
  background:linear-gradient(160deg, rgba(245,197,24,.14), rgba(255,255,255,.72));
}

.cs-ptc-top{
  display:flex;
  align-items:center;
  gap:9px;
}

.cs-ptc-fav{
  width:20px;
  height:20px;
  border-radius:6px;
  flex-shrink:0;
  object-fit:contain;
  background:rgba(255,255,255,.06);
}

.cs-ptc-title{
  flex:1;
  min-width:0;
  color:var(--tx);
  font-size:13.5px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.cs-ptc-title:hover{
  color:var(--ac);
}

.cs-ptc-reward{
  font-size:12.5px;
  font-weight:800;
  color:var(--ac);
  white-space:nowrap;
  flex-shrink:0;
  font-variant-numeric:tabular-nums;
}

.cs-ptc-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.cs-ptc-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  font-size:11px;
  color:var(--mut);
  font-variant-numeric:tabular-nums;
}

.cs-ptc-vip{
  font-size:10px;
  font-weight:800;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(245,197,24,.16);
  color:#f5c518;
}
:root[data-theme="light"] .cs-ptc-vip{
  background:rgba(202,138,4,.16);
  color:#a16207;
}

.cs-ptc-watch{
  padding:7px 14px;
  border-radius:12px;
  background:var(--ac);
  color:#04222b;
  font:800 12px Manrope,sans-serif;
  text-decoration:none;
  white-space:nowrap;
  flex-shrink:0;
}

/* Страница рекламодателя: шапка, баланс и вкладки */
.cs-ads-topbar{
  margin-top:0;
  padding:16px 18px;
  border-radius:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.cs-ads-nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.cs-ads-tab{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:var(--mut);
  font:800 13px Manrope,sans-serif;
  cursor:pointer;
  transition:all .15s ease;
}
:root[data-theme="light"] .cs-ads-tab{
  background:rgba(255,255,255,.55);
}
.cs-ads-tab.is-active{
  background:var(--ac);
  border-color:var(--ac);
  color:#04222b;
}

.cs-ads-wallet{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:10px;
  border-top:1px solid var(--line);
}

.cs-ads-bal{
  display:flex;
  align-items:baseline;
  gap:6px;
  font-size:13px;
  color:var(--mut);
  font-variant-numeric:tabular-nums;
}
.cs-ads-bal strong{
  font-size:15px;
  font-weight:800;
  color:var(--tx);
}

.cs-ads-topup-link{
  padding:8px 14px;
  border-radius:12px;
  background:rgba(46,216,211,.14);
  border:1px solid rgba(46,216,211,.35);
  color:var(--ac);
  font:800 12px Manrope,sans-serif;
  text-decoration:none;
  white-space:nowrap;
}
:root[data-theme="light"] .cs-ads-topup-link{
  background:rgba(13,148,136,.12);
  border-color:rgba(13,148,136,.3);
  color:#0f766e;
}

.ads-page{
  display:none;
}
.ads-page.active{
  display:block;
}

.cs-ads-form .field{
  margin-bottom:12px;
}
.cs-ads-form .field input,
.cs-ads-form .field select{
  width:100%;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:var(--bg2);
  color:var(--tx);
  font:600 14px Manrope,sans-serif;
  outline:none;
}
.cs-ads-form .field input:focus,
.cs-ads-form .field select:focus{
  border-color:var(--ac);
}

.cs-ads-form-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:end;
}

.cs-ads-vip-field{
  margin-bottom:12px;
}

.cs-ads-check{
  display:inline-flex !important;
  align-items:center;
  gap:8px;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:#f5c518 !important;
  font-size:13px !important;
  cursor:pointer;
}
:root[data-theme="light"] .cs-ads-check{
  background:rgba(255,255,255,.65);
  color:#a16207 !important;
}
.cs-ads-check input{
  width:auto !important;
  accent-color:var(--ac);
}

.cs-ads-cost-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  margin-top:4px;
}
:root[data-theme="light"] .cs-ads-cost-box{
  background:rgba(255,255,255,.6);
}
.cs-ads-cost-label{
  font-size:12px;
  color:var(--mut);
  font-weight:700;
}
.cs-ads-cost-val{
  font-size:14px;
  font-weight:800;
  color:var(--ac);
  font-variant-numeric:tabular-nums;
}

/* Список моих ссылок */
.cs-my-ads-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cs-my-ad-card{
  padding:14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
  gap:10px;
}
:root[data-theme="light"] .cs-my-ad-card{
  background:rgba(255,255,255,.6);
}
.cs-my-ad-card.is-paused{
  opacity:.72;
}

.cs-my-ad-top{
  display:flex;
  align-items:center;
  gap:8px;
}

.cs-my-ad-title{
  flex:1;
  min-width:0;
  color:var(--tx);
  font-size:13.5px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cs-ad-badge{
  font-size:10px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:2px 8px;
  border-radius:999px;
  white-space:nowrap;
  flex-shrink:0;
}
.cs-ad-badge.is-active{
  background:rgba(46,216,211,.15);
  color:var(--ac);
}
.cs-ad-badge.is-paused{
  background:rgba(245,197,24,.16);
  color:#f5c518;
}
:root[data-theme="light"] .cs-ad-badge.is-paused{
  background:rgba(202,138,4,.16);
  color:#a16207;
}

.cs-my-ad-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  font-size:11px;
  color:var(--mut);
  font-variant-numeric:tabular-nums;
}
.cs-my-ad-meta b{
  color:var(--tx);
  font-weight:700;
}

.cs-my-ad-topup{
  display:flex;
  align-items:center;
  gap:8px;
}

.cs-my-ad-amt{
  flex:1;
  min-width:0;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--bg2);
  color:var(--tx);
  font:700 13px Manrope,sans-serif;
  outline:none;
}

.cs-ads-mini-btn{
  padding:8px 14px;
  border:0;
  border-radius:12px;
  background:var(--ac);
  color:#04222b;
  font:800 12px Manrope,sans-serif;
  cursor:pointer;
  white-space:nowrap;
}

.cs-my-ad-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.cs-inline-form{
  flex:1;
  min-width:0;
}
.cs-inline-form button{
  width:100%;
}

.cs-ads-sec-btn{
  flex:1;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--tx);
  font:700 12px Manrope,sans-serif;
  cursor:pointer;
  white-space:nowrap;
}
:root[data-theme="light"] .cs-ads-sec-btn{
  background:rgba(8,20,40,.05);
}

.cs-ads-del-btn{
  padding:8px 12px;
  border-radius:12px;
  border:1px solid rgba(248,113,113,.35);
  background:rgba(248,113,113,.12);
  color:#fca5a5;
  font:700 12px Manrope,sans-serif;
  cursor:pointer;
  white-space:nowrap;
}
:root[data-theme="light"] .cs-ads-del-btn{
  color:#b91c1c;
}

.cs-edit-modal-btns{
  display:flex;
  gap:10px;
  margin-top:14px;
}

.cs-ads-bal-topup{
  display:flex;
  align-items:center;
  gap:6px;
}

.cs-ads-bal-input{
  width:78px;
  padding:7px 8px;
  border-radius:11px;
  border:1px solid var(--line);
  background:var(--bg2);
  color:var(--tx);
  font:700 12px Manrope,sans-serif;
  text-align:right;
  outline:none;
  font-variant-numeric:tabular-nums;
}
.cs-ads-bal-input:focus{
  border-color:var(--ac);
}

.cs-ads-topup-btn{
  padding:8px 12px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg,#4de6dd,#1fb7c5);
  color:#04222b;
  font:800 12px Manrope,sans-serif;
  cursor:pointer;
  white-space:nowrap;
}
.cs-my-ad-visits{
  font-size:11px;
  font-weight:800;
  color:var(--ac);
  white-space:nowrap;
  flex-shrink:0;
  font-variant-numeric:tabular-nums;
}