:root{
  --bg:#0b1510; --bg2:#0f1d15; --card:#12221a; --card2:#162a20; --line:rgba(255,255,255,.09);
  --text:#effaf3; --muted:#9db8a8; --accent:#22c55e; --accent2:#16a34a; --onAccent:#04210f;
  --yellow:#facc15; --red:#ef4444; --amber:#f59e0b; --blue:#60a5fa;
  --radius:18px; --shadow:0 10px 30px rgba(0,0,0,.35);
  --font:"Plus Jakarta Sans","Noto Sans Ethiopic",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    --bg:#f5f8f6; --bg2:#ffffff; --card:#ffffff; --card2:#f0f5f2; --line:rgba(16,40,26,.10);
    --text:#0e1d15; --muted:#5a7266; --onAccent:#ffffff; --accent:#16a34a; --accent2:#15803d; --shadow:0 8px 24px rgba(16,40,26,.08);
  }
}
:root[data-theme="light"]{
  --bg:#f5f8f6; --bg2:#ffffff; --card:#ffffff; --card2:#f0f5f2; --line:rgba(16,40,26,.10);
  --text:#0e1d15; --muted:#5a7266; --onAccent:#ffffff; --accent:#16a34a; --accent2:#15803d; --shadow:0 8px 24px rgba(16,40,26,.08);
}
*{ box-sizing:border-box; }
html,body{ margin:0; }
body{ background:var(--bg); color:var(--text); font:15px/1.55 var(--font); -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button,input,select{ font:inherit; color:inherit; }
.hidden{ display:none !important; }
.muted{ color:var(--muted); }
.wrap{ width:100%; max-width:1200px; margin:0 auto; padding:0 16px; }
.skip{ position:absolute; left:-999px; } .skip:focus{ left:16px; top:8px; z-index:99; background:var(--card); padding:8px 12px; border-radius:8px; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:6px; }

/* ---------- Top bar ---------- */
.top{ position:sticky; top:0; z-index:50; background:color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter:blur(14px); border-bottom:1px solid var(--line); }
.topin{ display:flex; align-items:center; gap:18px; height:64px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:18px; letter-spacing:-.2px; white-space:nowrap; }
.brand img{ border-radius:10px; }
.menu{ display:flex; gap:4px; margin-left:8px; }
.menu a{ padding:8px 12px; border-radius:10px; font-weight:700; font-size:14px; color:var(--muted); transition:.15s; }
.menu a:hover{ color:var(--text); background:var(--card); }
.menu a.on{ color:var(--text); background:var(--card); box-shadow:inset 0 -2px 0 var(--accent); }
.topr{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.iconbtn{ width:40px; height:40px; border-radius:12px; border:1px solid var(--line); background:var(--card); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.lang{ height:40px; border-radius:12px; border:1px solid var(--line); background:var(--card); padding:0 8px; font-weight:700; cursor:pointer; }
.wallet{ display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 12px; border-radius:12px; border:1px solid var(--line); background:var(--card); font-family:var(--mono); font-weight:700; font-size:13px; }
.wallet svg{ color:var(--accent); }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--accent); color:var(--onAccent); border:0; border-radius:14px; padding:13px 22px; font-weight:800; cursor:pointer; transition:transform .12s, filter .15s; }
.btn:hover{ filter:brightness(1.06); } .btn:active{ transform:scale(.98); }
.btn.small{ padding:9px 16px; font-size:14px; border-radius:12px; }
.btn.ghost{ background:var(--card); color:var(--text); border:1px solid var(--line); }
.btn.block{ width:100%; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }
.burger{ display:none; }
.searchbar{ border-top:1px solid var(--line); padding:10px 0; }
.searchbar input, .field input{ width:100%; height:48px; border-radius:14px; border:1px solid var(--line); background:var(--card); padding:0 16px; font-size:16px; }

/* ---------- Hero slider ---------- */
.hero{ position:relative; margin:22px 0 10px; border-radius:26px; overflow:hidden; min-height:300px; background:var(--card); box-shadow:var(--shadow); }
.slides{ display:flex; transition:transform .6s cubic-bezier(.2,.8,.2,1); height:100%; }
.slide{ min-width:100%; position:relative; display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:20px; padding:44px 48px; min-height:300px; overflow:hidden; }
.slide .bg{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:.22; filter:blur(18px) saturate(1.3); transform:scale(1.2); }
.slide::after{ content:""; position:absolute; inset:0; background:linear-gradient(100deg, var(--card) 35%, transparent 90%); }
.slide > *{ position:relative; z-index:1; }
.kick{ display:inline-block; background:var(--yellow); color:#1a1300; font-weight:800; font-size:12px; letter-spacing:1.5px; padding:5px 12px; border-radius:999px; text-transform:uppercase; }
.slide h1, .slide h2{ font-size:clamp(28px,4.2vw,46px); line-height:1.06; letter-spacing:-1px; margin:14px 0 10px; }
.slide p{ color:var(--muted); font-size:16px; margin:0 0 20px; max-width:460px; }
.slide .art{ justify-self:center; width:min(260px,100%); aspect-ratio:1; border-radius:28px; overflow:hidden; box-shadow:0 24px 60px rgba(0,0,0,.45); transform:rotate(-4deg); }
.slide .art img{ width:100%; height:100%; object-fit:cover; }
.dots{ position:absolute; left:48px; bottom:18px; display:flex; gap:7px; z-index:2; }
.dots button{ width:9px; height:9px; border-radius:99px; border:0; padding:0; background:var(--line); cursor:pointer; transition:.3s; }
.dots button.on{ width:26px; background:var(--accent); }
.arrows{ position:absolute; right:18px; bottom:14px; display:flex; gap:8px; z-index:2; }
.arrows button{ width:38px; height:38px; border-radius:12px; border:1px solid var(--line); background:color-mix(in srgb, var(--bg) 70%, transparent); cursor:pointer; font-size:18px; }

/* ---------- Trust strip ---------- */
.trust{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:18px 0 6px; }
.trust div{ background:var(--card); border:1px solid var(--line); border-radius:16px; padding:14px 16px; display:flex; gap:12px; align-items:center; }
.trust b{ display:block; font-size:14px; } .trust small{ color:var(--muted); font-size:12.5px; }
.trust .ic{ font-size:22px; }

/* ---------- Sections + grids ---------- */
.sec{ margin:34px 0 8px; }
.sechead{ display:flex; align-items:end; justify-content:space-between; gap:12px; margin-bottom:14px; }
.sechead h2{ font-size:24px; letter-spacing:-.4px; margin:0; }
.sechead small{ display:block; color:var(--muted); font-size:13.5px; margin-top:2px; }
.sechead a{ color:var(--accent); font-weight:700; font-size:14px; white-space:nowrap; }
.grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(168px,1fr)); gap:14px; }
.tile{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:transform .18s, border-color .18s, box-shadow .18s; }
.tile:hover{ transform:translateY(-3px); border-color:color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow:var(--shadow); }
.tile .im{ aspect-ratio:1; background:var(--card2); display:flex; align-items:center; justify-content:center; font-size:46px; overflow:hidden; }
.ph{ font-size:inherit; display:flex; align-items:center; justify-content:center; width:100%; height:100%; background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--card2)), var(--card2)); }
.pack .ph{ width:34px; height:34px; border-radius:9px; font-size:18px; }
.tile .im img{ width:100%; height:100%; object-fit:cover; }
.tile .tx{ padding:12px 14px 14px; display:flex; flex-direction:column; gap:6px; flex:1; }
.tile b{ font-size:15px; line-height:1.25; }
.tile .from{ margin-top:auto; font-size:12px; color:var(--muted); }
.price{ font-family:var(--mono); font-weight:700; color:var(--accent); font-variant-numeric:tabular-nums; }
.pill{ display:inline-block; background:color-mix(in srgb, var(--accent) 14%, transparent); border:1px solid color-mix(in srgb, var(--accent) 32%, transparent); border-radius:999px; padding:3px 10px; }
.tag{ position:absolute; top:10px; left:10px; background:var(--yellow); color:#1a1300; font-size:11px; font-weight:800; padding:3px 8px; border-radius:8px; }
.tag.sale{ background:var(--red); color:#fff; }

/* ---------- Product page ---------- */
.crumbs{ margin:18px 0 0; font-size:13px; color:var(--muted); }
.crumbs a:hover{ color:var(--text); }
.pp{ display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:26px; margin:16px 0 30px; align-items:start; }
.phead{ display:flex; gap:20px; align-items:center; background:var(--card); border:1px solid var(--line); border-radius:24px; padding:20px; position:relative; overflow:hidden; }
.phead .bg{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:.16; filter:blur(22px); transform:scale(1.3); }
.phead > *{ position:relative; }
.phead .ic{ width:96px; height:96px; border-radius:22px; overflow:hidden; flex:0 0 auto; background:var(--card2); display:flex; align-items:center; justify-content:center; font-size:46px; box-shadow:0 10px 26px rgba(0,0,0,.35); }
.phead .ic img{ width:100%; height:100%; object-fit:cover; }
.phead h1{ margin:0 0 4px; font-size:28px; letter-spacing:-.5px; }
.chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.chips span{ font-size:12px; font-weight:700; padding:4px 10px; border-radius:999px; background:var(--card2); border:1px solid var(--line); color:var(--muted); }
.step{ margin:22px 0 10px; display:flex; align-items:center; gap:10px; font-weight:800; font-size:17px; }
.step i{ font-style:normal; width:28px; height:28px; border-radius:50%; background:var(--accent); color:var(--onAccent); display:inline-flex; align-items:center; justify-content:center; font-size:14px; }
.packs{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px,1fr)); gap:10px; }
.pack{ position:relative; text-align:left; background:var(--card); border:1.5px solid var(--line); border-radius:16px; padding:14px; cursor:pointer; display:flex; flex-direction:column; gap:8px; min-height:104px; transition:.15s; }
.pack:hover{ border-color:color-mix(in srgb, var(--accent) 50%, var(--line)); }
.pack.on{ border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); background:color-mix(in srgb, var(--accent) 6%, var(--card)); }
.pack .pn{ font-weight:800; font-size:15px; line-height:1.25; }
.pack .pi{ width:34px; height:34px; border-radius:9px; object-fit:cover; }
.pack .price{ margin-top:auto; font-size:14px; }
.pack s{ color:var(--muted); font-size:12px; margin-left:6px; font-family:var(--mono); }
.pack.off{ opacity:.45; cursor:not-allowed; }
.field{ margin-top:6px; } .field label{ display:block; font-size:13px; font-weight:700; color:var(--muted); margin-bottom:6px; }
.buybox{ position:sticky; top:84px; background:var(--card); border:1px solid var(--line); border-radius:22px; padding:20px; box-shadow:var(--shadow); }
.buybox h3{ margin:0 0 12px; font-size:16px; }
.sumrow{ display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px dashed var(--line); font-size:14px; }
.sumrow:last-of-type{ border-bottom:0; }
.total{ display:flex; justify-content:space-between; align-items:center; margin:14px 0; font-weight:800; }
.total .price{ font-size:22px; }
.note{ font-size:12.5px; color:var(--muted); margin-top:10px; line-height:1.5; }
.empty{ text-align:center; padding:60px 16px; color:var(--muted); }
.spin{ width:28px; height:28px; border-radius:50%; border:3px solid var(--line); border-top-color:var(--accent); animation:sp 0.8s linear infinite; margin:40px auto; }
@keyframes sp{ to{ transform:rotate(360deg); } }
.skel{ background:linear-gradient(90deg, var(--card) 0, var(--card2) 50%, var(--card) 100%); background-size:200% 100%; animation:sk 1.2s infinite; border-radius:var(--radius); }
@keyframes sk{ to{ background-position:-200% 0; } }
.notice{ background:color-mix(in srgb, var(--yellow) 12%, var(--card)); border:1px solid color-mix(in srgb, var(--yellow) 35%, transparent); border-radius:16px; padding:12px 16px; margin:16px 0 0; font-weight:600; font-size:14px; }

/* ---------- Bottom sheet / modal ---------- */
.sheet{ position:fixed; inset:0; z-index:100; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; padding:16px; }
.sheetin{ width:100%; max-width:420px; background:var(--bg2); border:1px solid var(--line); border-radius:24px; padding:24px; box-shadow:0 30px 80px rgba(0,0,0,.5); text-align:center; }
.sheetin h3{ margin:8px 0 6px; font-size:20px; } .sheetin p{ color:var(--muted); margin:0 0 18px; }
.sheetin .btn + .btn{ margin-top:10px; }

/* ---------- Footer ---------- */
.foot{ margin-top:50px; border-top:1px solid var(--line); background:var(--bg2); }
.footin{ display:flex; justify-content:space-between; gap:30px; padding-top:30px; padding-bottom:20px; flex-wrap:wrap; }
.footcols{ display:flex; gap:50px; }
.footcols div{ display:flex; flex-direction:column; gap:8px; font-size:14px; }
.footcols a{ color:var(--muted); } .footcols a:hover{ color:var(--text); }
.legal{ font-size:12.5px; padding-bottom:30px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .pp{ grid-template-columns:minmax(0,1fr); }
  .buybox{ position:static; }
  .trust{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 820px){
  .menu{ display:none; position:absolute; top:64px; left:0; right:0; flex-direction:column; background:var(--bg2); border-bottom:1px solid var(--line); padding:8px 16px 14px; }
  .menu.open{ display:flex; }
  .burger{ display:inline-flex; }
  .slide{ grid-template-columns:1fr 150px; padding:28px 22px 56px; }
  .slide .art{ width:150px; }
  .slide.spinslide, .slide.imgslide{ grid-template-columns:1fr; }
  .dots{ left:22px; }
  .wallet span{ display:none; }
}
@media (max-width: 480px){
  .brand span{ display:none; }
  .grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .packs{ grid-template-columns:repeat(2,1fr); }
  .footcols{ gap:30px; }
  .lang{ padding:0 4px; }
}
@media (prefers-reduced-motion: reduce){ *{ transition:none !important; animation:none !important; } }
.slide .art .ph{ font-size:96px; }
.phead .ic .ph{ font-size:46px; }

/* ---------- Login / account ---------- */
.auth{ display:flex; justify-content:center; padding:36px 0 10px; }
.authcard{ width:100%; max-width:440px; background:var(--card); border:1px solid var(--line); border-radius:26px; padding:28px 24px; box-shadow:var(--shadow); text-align:center; }
.authlogo{ margin:0 auto; border-radius:16px; }
.authcard h1{ font-size:24px; margin:12px 0 4px; letter-spacing:-.4px; }
.authcard > p{ margin:0 0 18px; }
.gwrap{ margin-bottom:6px; } .gbtn{ display:flex; justify-content:center; min-height:44px; }
.orline{ display:flex; align-items:center; gap:10px; color:var(--muted); font-size:13px; margin:16px 0 10px; }
.orline::before, .orline::after{ content:""; flex:1; height:1px; background:var(--line); }
.tabs2{ display:grid; grid-template-columns:1fr 1fr; background:var(--card2); border-radius:14px; padding:4px; margin:6px 0 14px; }
.tabs2 button{ border:0; background:none; padding:10px; border-radius:11px; font-weight:800; cursor:pointer; color:var(--muted); }
.tabs2 button.on{ background:var(--accent); color:var(--onAccent); }
#authForm{ text-align:left; } #authForm .field{ margin-bottom:12px; }
.field input.bad{ border-color:var(--red); }
.pw{ position:relative; } .pw input{ padding-right:74px; }
.pwbtn{ position:absolute; right:6px; top:6px; height:36px; border:0; border-radius:10px; background:var(--card2); padding:0 12px; font-weight:700; font-size:13px; cursor:pointer; }
.authmsg{ min-height:20px; color:var(--red); font-size:14px; font-weight:600; margin:2px 0 10px; }
.acct{ display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; margin:26px 0; align-items:start; }
.acctside{ background:var(--card); border:1px solid var(--line); border-radius:22px; padding:16px; position:sticky; top:84px; }
.who{ display:flex; gap:12px; align-items:center; padding:4px 4px 14px; border-bottom:1px solid var(--line); margin-bottom:8px; }
.who small{ display:block; font-size:12.5px; word-break:break-all; }
.av{ width:44px; height:44px; border-radius:50%; background:var(--accent); color:var(--onAccent); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; flex:0 0 auto; }
.acctside nav{ display:flex; flex-direction:column; gap:2px; }
.acctside nav a, .acctside nav button{ text-align:left; padding:10px 12px; border-radius:12px; font-weight:700; font-size:14px; color:var(--muted); background:none; border:0; cursor:pointer; }
.acctside nav a.on, .acctside nav a:hover, .acctside nav button:hover{ background:var(--card2); color:var(--text); }
.acctmain h1{ margin:0 0 14px; font-size:26px; letter-spacing:-.4px; }
.card2{ background:var(--card); border:1px solid var(--line); border-radius:20px; padding:16px 18px; margin-bottom:14px; }
.tgbox{ display:flex; gap:14px; align-items:flex-start; } .tgbox p{ margin:4px 0 0; font-size:14px; }
.bal{ display:flex; justify-content:space-between; align-items:center; } .bal .price{ font-size:28px; }
.ord{ display:flex; justify-content:space-between; gap:12px; align-items:center; background:var(--card); border:1px solid var(--line); border-left:4px solid var(--line); border-radius:16px; padding:12px 16px; margin-bottom:10px; }
.ord small{ display:block; font-size:12.5px; } .ord.ok{ border-left-color:var(--accent); } .ord.wait{ border-left-color:var(--amber); } .ord.bad{ border-left-color:var(--red); }
.ordr{ text-align:right; display:flex; flex-direction:column; gap:2px; } .ordr .st{ font-size:12.5px; color:var(--muted); font-weight:700; }
@media (max-width: 820px){ .acct{ grid-template-columns:1fr; } .acctside{ position:static; } }
main{ min-height:calc(100vh - 64px - 260px); }

/* ---------- Step 3: checkout, payment, orders ---------- */
.bellbtn{ position:relative; } .belldot{ position:absolute; top:8px; right:9px; width:9px; height:9px; border-radius:50%; background:var(--red); box-shadow:0 0 0 2px var(--bg); }
.info{ margin:14px 0 0; padding:12px 14px; border-radius:14px; background:color-mix(in srgb, var(--blue) 10%, var(--card)); border:1px solid color-mix(in srgb, var(--blue) 28%, transparent); font-size:14px; line-height:1.5; }
.howto{ margin-top:16px; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:12px 16px; } .howto summary{ cursor:pointer; font-weight:700; } .howto p{ margin:8px 0 0; color:var(--muted); font-size:14px; }
.devs{ display:grid; grid-template-columns:1fr 1fr; gap:10px; } .devs .pack{ min-height:auto; align-items:center; justify-content:center; font-weight:800; flex-direction:row; }
.pagetitle{ margin:4px 0 6px; font-size:28px; letter-spacing:-.5px; }
.banks{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px,1fr)); gap:10px; }
.bank{ display:flex; align-items:center; gap:10px; background:var(--card); border:1.5px solid var(--line); border-radius:14px; padding:12px; cursor:pointer; text-align:left; }
.bank.on{ border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.banklogo{ width:34px; height:34px; border-radius:9px; object-fit:contain; background:#fff; flex:0 0 auto; } .banklogo.ph{ display:flex; align-items:center; justify-content:center; background:var(--card2); }
.paycard{ background:var(--card); border:1px solid var(--line); border-radius:18px; padding:8px 16px; }
.paycard.wpay{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 16px; margin:12px 0 4px; } .paycard.wpay small{ display:block; }
.paycard.dim{ opacity:.8; }
.sumrow.big b{ font-size:20px; }
.mono{ font-family:var(--mono); font-weight:700; letter-spacing:.3px; }
.copyrow{ display:flex; align-items:center; gap:8px; }
.copybtn{ border:1px solid var(--line); background:var(--card2); border-radius:9px; padding:4px 10px; font-size:12.5px; font-weight:800; cursor:pointer; color:var(--accent); }
textarea{ width:100%; border-radius:14px; border:1px solid var(--line); background:var(--card); padding:12px 14px; font-size:15px; resize:vertical; }
.upl{ cursor:pointer; }
.timer{ margin-top:10px; font-weight:700; font-size:14px; color:var(--amber); }
.ostat{ max-width:620px; margin:26px auto; text-align:center; background:var(--card); border:1px solid var(--line); border-radius:26px; padding:28px 22px; box-shadow:var(--shadow); }
.obig{ font-size:54px; } .ostat h1{ margin:6px 0 4px; font-size:24px; }
.tl{ list-style:none; padding:0; margin:22px 0; display:flex; justify-content:space-between; position:relative; }
.tl::before{ content:""; position:absolute; top:11px; left:12%; right:12%; height:3px; background:var(--line); }
.tl li{ flex:1; position:relative; font-size:13px; font-weight:700; color:var(--muted); display:flex; flex-direction:column; align-items:center; gap:8px; }
.tl li span{ width:24px; height:24px; border-radius:50%; background:var(--card2); border:3px solid var(--line); z-index:1; }
.tl li.done span{ background:var(--accent); border-color:var(--accent); } .tl li.done{ color:var(--text); }
.tl li.now span{ border-color:var(--accent); animation:pulse 1.4s infinite; } .tl li.now{ color:var(--text); }
@keyframes pulse{ 50%{ box-shadow:0 0 0 7px color-mix(in srgb, var(--accent) 20%, transparent); } }
.codes{ text-align:left; margin:16px 0; } .codes h3{ margin:0 0 8px; }
.code{ display:flex; justify-content:space-between; align-items:center; gap:10px; background:var(--card2); border:1px dashed color-mix(in srgb, var(--accent) 50%, var(--line)); border-radius:12px; padding:10px 12px; margin-bottom:8px; word-break:break-all; }
.orow{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:16px; }
.amts{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:10px; } .amts .pack{ min-height:auto; align-items:center; }
.nb{ display:block; white-space:pre-wrap; font-size:14px; margin-top:2px; }
a.ord{ color:inherit; }
@media (max-width:480px){ .amts{ grid-template-columns:repeat(2,1fr); } .paycard.wpay{ flex-direction:column; align-items:stretch; } }

/* ---------- Line icons ---------- */
.ico{ display:inline-block; vertical-align:-3px; flex:0 0 auto; }
.trust .ic{ width:40px; height:40px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; background:color-mix(in srgb, var(--accent) 14%, var(--card2)); color:var(--accent); }
.ph .ico{ color:var(--accent); opacity:.85; }
.info{ display:flex; gap:10px; align-items:flex-start; } .info .ico{ color:var(--blue); margin-top:2px; }
.notice .ico{ color:var(--amber); }
.bigic{ width:64px; height:64px; margin:0 auto 6px; border-radius:20px; display:flex; align-items:center; justify-content:center; background:color-mix(in srgb, var(--accent) 14%, var(--card2)); color:var(--accent); }
.bigic.sm{ width:44px; height:44px; border-radius:14px; margin:0; flex:0 0 auto; }
.obig{ width:72px; height:72px; margin:0 auto; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.obig.ok{ background:color-mix(in srgb, var(--accent) 16%, transparent); color:var(--accent); }
.obig.bad{ background:color-mix(in srgb, var(--red) 16%, transparent); color:var(--red); }
.obig.wait{ background:color-mix(in srgb, var(--amber) 16%, transparent); color:var(--amber); }
.acctside nav a .ico, .acctside nav button .ico{ margin-right:6px; }
.timer{ display:flex; align-items:center; gap:6px; }
.chips span{ display:inline-flex; align-items:center; gap:5px; }
.btn.small{ white-space:nowrap; }
@media (max-width: 480px){
  .topin{ gap:8px; } .topr{ gap:6px; }
  .iconbtn, .lang, .wallet{ height:38px; } .iconbtn{ width:38px; }
  .wallet{ display:none; }
  .lang{ padding:0 2px; font-size:13px; }
  .btn.small{ padding:8px 12px; font-size:13.5px; }
}

/* Support chat, invite, helper */
.chatbox{ display:flex; flex-direction:column; gap:10px; }
.chatlog{ display:flex; flex-direction:column; gap:8px; max-height:55vh; min-height:200px; overflow:auto; padding:4px; }
.msg{ max-width:82%; padding:9px 12px; border-radius:14px; white-space:pre-wrap; word-break:break-word; font-size:14px; line-height:1.5; }
.msg small{ display:block; font-size:11px; color:var(--muted); margin-top:4px; }
.msg.them{ background:var(--card2); align-self:flex-start; border-bottom-left-radius:4px; }
.msg.me{ background:color-mix(in srgb, var(--accent) 20%, var(--card)); align-self:flex-end; border-bottom-right-radius:4px; }
.msg a{ color:var(--accent); font-weight:700; }
.chatform{ display:flex; gap:8px; align-items:flex-end; } .chatform textarea{ flex:1; }
.invhero{ display:flex; gap:14px; align-items:flex-start; } .invhero p{ margin:4px 0 0; font-size:14px; }
.kpis2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:14px; } .kpis2 b{ display:block; font-size:24px; margin-top:4px; }
.copyrow2{ display:flex; gap:8px; margin-top:6px; } .copyrow2 input{ flex:1; height:42px; border-radius:12px; border:1px solid var(--line); background:var(--card2); padding:0 12px; font-family:var(--mono); font-size:13px; min-width:0; }
.helpbtn{ position:fixed; right:18px; bottom:18px; z-index:60; width:56px; height:56px; border-radius:50%; border:0; background:var(--accent); color:var(--onAccent); box-shadow:0 10px 26px rgba(0,0,0,.35); cursor:pointer; display:flex; align-items:center; justify-content:center; }
.helppanel{ position:fixed; right:18px; bottom:86px; z-index:61; width:min(370px, calc(100vw - 32px)); max-height:min(560px, calc(100vh - 120px)); display:flex; flex-direction:column; background:var(--bg2); border:1px solid var(--line); border-radius:20px; box-shadow:0 24px 60px rgba(0,0,0,.45); overflow:hidden; }
.hhead{ display:flex; justify-content:space-between; align-items:center; padding:12px 14px; border-bottom:1px solid var(--line); }
.hx{ background:none; border:0; cursor:pointer; color:var(--muted); }
.hlog{ flex:1; overflow:auto; padding:12px; display:flex; flex-direction:column; gap:8px; min-height:140px; }
.hfaq{ display:flex; gap:6px; overflow-x:auto; padding:0 12px 8px; } .hfaq button{ flex:0 0 auto; border:1px solid var(--line); background:var(--card); border-radius:999px; padding:6px 10px; font-size:12.5px; font-weight:700; cursor:pointer; white-space:nowrap; }
.hform{ display:flex; gap:6px; padding:0 12px 10px; } .hform input{ flex:1; height:40px; border-radius:12px; border:1px solid var(--line); background:var(--card); padding:0 12px; min-width:0; }
.hhuman{ display:block; text-align:center; padding:0 12px 12px; color:var(--accent); font-weight:700; font-size:13.5px; }
.dots3 i{ display:inline-block; width:6px; height:6px; margin:0 2px; border-radius:50%; background:var(--muted); animation:dt 1s infinite; } .dots3 i:nth-child(2){ animation-delay:.15s; } .dots3 i:nth-child(3){ animation-delay:.3s; }
@keyframes dt{ 50%{ opacity:.25; } }
/* account security card */
.card2.sec h2{ font-size:17px; margin:0 0 10px; }
#pwf label{ display:block; font-size:13px; font-weight:700; color:var(--muted); margin:10px 0 6px; }
#pwf input{ width:100%; height:48px; border-radius:14px; border:1px solid var(--line); background:var(--card); padding:0 16px; font-size:16px; color:inherit; }
#pwf .small{ font-size:12.5px; margin:10px 0; }
#pwe{ color:var(--red); font-size:13px; min-height:18px; margin-bottom:6px; }
.note.ok{ color:var(--green, #16a34a); font-weight:700; font-size:14px; }
.note.warn{ color:var(--red); font-weight:700; font-size:14px; margin:10px 0; }
.qrbox{ background:var(--card); border:1px solid var(--line); border-radius:18px; padding:16px; margin:16px auto; max-width:360px; text-align:center; }
.qrbox h3{ margin:0 0 4px; } .qrbox img{ display:block; margin:12px auto; border-radius:12px; background:#fff; padding:8px; max-width:100%; height:auto; }
.qrbox .orow{ display:grid; gap:8px; }
/* ---- Midasbuy-inspired additions ---- */
.phead.big{ min-height:200px; padding:30px 28px; align-items:flex-end; }
.phead.big .bg{ opacity:.35; filter:blur(10px) saturate(1.3); }
.phead.big h1{ font-size:clamp(26px,4vw,40px); }
.saved{ display:flex; align-items:center; gap:12px; background:var(--card); border:1px solid var(--line); border-radius:16px; padding:12px 14px; margin:12px 0; }
.saved span{ display:flex; flex-direction:column; margin-right:auto; min-width:0; } .saved b{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.saved svg{ color:var(--accent); flex:0 0 auto; }
.slide.imgslide{ display:block; padding:0; } .slide.imgslide::after{ display:none; }
.slide.imgslide img{ width:100%; height:100%; min-height:300px; max-height:360px; object-fit:cover; display:block; }
.wheelart{ transform:none !important; box-shadow:none !important; border-radius:50% !important; }
.spinchip{ position:fixed; left:16px; bottom:22px; z-index:30; display:inline-flex; gap:6px; align-items:center; background:var(--accent); color:var(--onAccent); padding:10px 16px; border-radius:999px; font-weight:800; box-shadow:var(--shadow); animation:chipPulse 2.4s ease-in-out infinite; }
@keyframes chipPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.06); } }
@media (prefers-reduced-motion: reduce){ .spinchip{ animation:none; } .wheel{ transition:none !important; } }
.faq{ margin-top:26px; } .faq h2{ font-size:20px; margin:0 0 10px; }
.faq details{ background:var(--card); border:1px solid var(--line); border-radius:14px; padding:12px 16px; margin-bottom:8px; }
.faq summary{ font-weight:700; cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:10px; }
.faq summary::after{ content:"+"; color:var(--accent); font-weight:800; } .faq details[open] summary::after{ content:"–"; }
.faq summary::-webkit-details-marker{ display:none; } .faq p{ margin:8px 0 0; color:var(--muted); line-height:1.55; }
.spinpg{ max-width:520px; margin:24px auto; text-align:center; } .spinhead h1{ margin:0 0 6px; font-size:clamp(24px,5vw,34px); }
.wheelwrap{ position:relative; width:min(320px,86vw); margin:22px auto 14px; }
.wheelbox{ border-radius:50%; padding:8px; background:var(--card); box-shadow:var(--shadow); border:4px solid var(--accent); }
.wheel{ width:100%; height:auto; display:block; transition:transform 4s cubic-bezier(.15,.9,.2,1); }
.pointer{ position:absolute; top:-6px; left:50%; transform:translateX(-50%); width:0; height:0; border-left:14px solid transparent; border-right:14px solid transparent; border-top:24px solid var(--text); z-index:2; }
.spinmsg{ min-height:24px; margin:10px 0 14px; } .spinmsg.win{ color:var(--accent); font-size:17px; }
.btn.big{ font-size:18px; padding:16px 22px; }
.coupons{ text-align:left; margin-top:20px; } .coupons h3{ margin:0 0 10px; }
.cp{ display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px dashed var(--line); } .cp:last-child{ border:0; }
.nset{ display:flex; align-items:center; gap:14px; justify-content:space-between; margin-bottom:14px; } .nset small{ display:block; }
.sw2{ width:48px; height:28px; border-radius:999px; border:0; background:var(--card2); box-shadow:inset 0 0 0 1px var(--line); position:relative; cursor:pointer; flex:0 0 auto; padding:0; }
.sw2 i{ position:absolute; top:4px; left:4px; width:20px; height:20px; border-radius:50%; background:var(--muted); transition:.15s; }
.sw2.on{ background:var(--accent); } .sw2.on i{ left:24px; background:#fff; }
.footx{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; padding-top:18px; padding-bottom:18px; border-top:1px solid var(--line); }
.fx b{ display:block; margin-bottom:8px; font-size:13px; } .pms{ display:flex; flex-wrap:wrap; gap:8px; }
.pms img{ height:30px; width:auto; border-radius:8px; background:#fff; padding:3px; } .pmn{ font-size:12px; border:1px solid var(--line); border-radius:8px; padding:5px 8px; }
.socs{ display:flex; gap:8px; } .soc{ width:40px; height:40px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; background:var(--card); border:1px solid var(--line); color:var(--text); }
.soc:hover{ color:var(--accent); } .dlv{ display:flex; align-items:center; gap:6px; font-weight:800; margin-bottom:10px; } .dlv svg{ color:var(--accent); }
@media (max-width:760px){ .footx{ grid-template-columns:1fr; } .phead.big{ min-height:170px; padding:22px 18px; } .slide.imgslide img{ min-height:200px; } }
/* ---- Phone home: compact, products first ---- */
@media (max-width:640px){
  .hero{ min-height:0; margin:12px 0 8px; border-radius:20px; }
  .slide{ grid-template-columns:1fr 100px; min-height:0; padding:18px 18px 34px; gap:12px; }
  .slide h1, .slide h2{ font-size:21px; letter-spacing:-.3px; margin:8px 0 4px; }
  .slide p{ font-size:13px; margin:0 0 10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .slide .btn{ padding:9px 14px; font-size:14px; }
  .slide .art{ display:block; width:100px; border-radius:18px; transform:rotate(-3deg); }
  .slide .kick{ font-size:10.5px; padding:3px 9px; }
  .slide.imgslide img{ min-height:0; height:140px; max-height:140px; }
  .hero .arrows{ display:none; }
  .hero .dots{ bottom:12px; left:18px; }
  .trust{ display:flex; overflow-x:auto; gap:8px; margin:6px 0 4px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .trust::-webkit-scrollbar{ display:none; }
  .trust div{ flex:0 0 auto; padding:8px 12px; border-radius:999px; gap:8px; }
  .trust small{ display:none; } .trust b{ font-size:12.5px; white-space:nowrap; }
  .trust .ic{ width:26px; height:26px; border-radius:8px; } .trust .ic svg{ width:15px; height:15px; }
  .spinchip{ bottom:84px; padding:8px 13px; font-size:13px; }
}
/* Player ID help, recent IDs, coupons, report form */
.linkbtn{ background:none; border:0; color:var(--accent); font-weight:700; cursor:pointer; padding:4px 0; display:inline-flex; gap:5px; align-items:center; font-size:13.5px; }
.recent{ margin:8px 0 4px; } .rchips{ display:flex; gap:8px; overflow-x:auto; padding:6px 0 2px; scrollbar-width:none; }
.rchip{ display:inline-flex; align-items:stretch; border:1px solid var(--line); background:var(--card); border-radius:12px; flex:0 0 auto; overflow:hidden; }
.rchip.on{ border-color:var(--accent); box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.rchip button{ background:none; border:0; cursor:pointer; padding:8px 10px; text-align:left; color:inherit; }
.rchip b{ display:block; font-size:13px; } .rchip small{ color:var(--muted); font-size:11.5px; font-family:var(--mono); }
.rchip .rx{ color:var(--muted); padding:8px; border-left:1px solid var(--line); }
.idstep{ margin:10px 0; } .idstep b{ display:block; margin-bottom:6px; } .idstep img{ width:100%; border-radius:12px; border:1px solid var(--line); }
.cprow{ width:100%; background:none; border:0; border-top:1px dashed var(--line); cursor:pointer; color:inherit; font:inherit; padding-top:10px; }
.cplist{ display:flex; flex-direction:column; gap:8px; margin-top:10px; }
.cpopt{ display:flex; justify-content:space-between; align-items:center; gap:10px; padding:12px 14px; border-radius:14px; border:1px solid var(--line); background:var(--card); cursor:pointer; color:inherit; font:inherit; text-align:left; }
.cpopt.on{ border-color:var(--accent); background:color-mix(in srgb, var(--accent) 10%, var(--card)); }
.rpbox{ margin-bottom:14px; } .rpbox summary{ cursor:pointer; font-weight:800; display:flex; gap:8px; align-items:center; }
#rpf label{ display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:700; color:var(--muted); margin-top:12px; }
#rpf select, #rpf textarea, #rpf input[type=file]{ width:100%; border:1px solid var(--line); border-radius:12px; background:var(--card); padding:10px 12px; font:inherit; color:inherit; }
.rpprev{ display:flex; gap:8px; margin-top:8px; } .rpprev img{ width:70px; height:70px; object-fit:cover; border-radius:10px; }
.hfaq .hq{ border-color:var(--accent); color:var(--accent); font-weight:800; }
.hord{ display:block; padding:6px 0; border-bottom:1px dashed var(--line); } .hord:last-child{ border:0; }
/* ---- Game page: clean header, tabs, big pack pictures ---- */
.instant{ display:inline-flex; align-items:center; gap:6px; color:var(--accent); font-weight:700; font-size:14px; margin-top:8px; }
.ptabs{ display:flex; gap:8px; overflow-x:auto; margin:4px 0 12px; scrollbar-width:none; } .ptabs::-webkit-scrollbar{ display:none; }
.ptabs button{ flex:0 0 auto; border:1px solid var(--line); background:var(--card); color:var(--muted); padding:9px 16px; border-radius:999px; font-weight:800; cursor:pointer; font:inherit; font-weight:800; }
.ptabs button.on{ background:var(--accent); border-color:var(--accent); color:var(--onAccent); }
.packs{ grid-template-columns:repeat(auto-fill, minmax(160px,1fr)); gap:12px; }
.pack{ padding:0; gap:0; overflow:hidden; min-height:0; }
.pack .pimg{ position:relative; display:block; width:100%; aspect-ratio:4/3; background:var(--card2); overflow:hidden; }
.pack .pimg img{ width:100%; height:100%; object-fit:cover; display:block; }
.pack .pimg .ic, .pack .pimg svg{ width:100%; height:100%; }
.pack .pimg em{ position:absolute; top:8px; font-style:normal; font-size:11.5px; font-weight:800; padding:3px 8px; border-radius:999px; }
.pack .pimg .disc{ right:8px; background:var(--red); color:#fff; } .pack .pimg .pop{ left:8px; background:var(--yellow, #facc15); color:#1a1300; }
.pack .pbody{ display:flex; flex-direction:column; gap:6px; padding:10px 12px 12px; }
.pack .pn{ font-size:15.5px; } .pack .pprice{ display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; }
.pack .tag{ display:none; }
/* Home: 3 small games per row on phones (picture + name) */
@media (max-width:640px){
  .grid{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; }
  .tile{ border-radius:16px; } .tile .tx{ padding:8px 8px 10px; gap:0; }
  .tile b{ font-size:12.5px; line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .tile .from{ display:none; } .tile .tag{ font-size:9.5px; padding:2px 6px; }
  .packs{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
}
.pack .pimg .ph{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; border-radius:0; background:none; color:var(--accent); }
.pp > div{ min-width:0; }
.pack .pimg .ph svg{ width:38%; height:auto; }
/* FAQ under the order summary, full width */
.pp + .faq{ margin-top:4px; margin-bottom:24px; }
/* Phone account pages: small sliding chips instead of the big menu card */
@media (max-width:820px){
  .acct{ gap:12px; margin:14px 0; }
  .acctside{ padding:0; background:none; border:0; border-radius:0; }
  .acctside .who{ display:none; }
  .acctside nav{ display:flex; flex-direction:row; flex-wrap:nowrap; gap:8px; overflow-x:auto; scrollbar-width:none; padding-bottom:4px; }
  .acctside nav::-webkit-scrollbar{ display:none; }
  .acctside nav a, .acctside nav button{ flex:0 0 auto; white-space:nowrap; padding:8px 12px; border-radius:999px; border:1px solid var(--line); background:var(--card); font-size:13.5px; }
  .acctside nav a.on{ background:var(--accent); border-color:var(--accent); color:var(--onAccent); }
  .acctside nav a.on svg{ color:inherit; }
  .acctmain h1{ font-size:24px; margin:4px 0 12px; }
}
/* Menu: account section */
.menuacct{ display:none; }
@media (max-width:900px){
  .menu.open .menuacct{ display:flex; flex-direction:column; border-top:1px solid var(--line); margin-top:8px; padding-top:8px; }
  .menuacct small{ color:var(--muted); font-weight:700; font-size:12px; padding:6px 16px; text-transform:uppercase; letter-spacing:.6px; }
  .menuacct a, .menuacct button{ display:flex; align-items:center; gap:10px; }
  .menuacct button{ background:none; border:0; color:var(--muted); font:inherit; font-weight:700; padding:10px 16px; text-align:left; cursor:pointer; }
}
/* Feti the helper robot */
.helpbtn.mascot{ width:64px; height:64px; background:none; box-shadow:none; border-radius:0; touch-action:none; filter:drop-shadow(0 8px 16px rgba(0,0,0,.35)); }
.helpbtn.mascot svg{ width:64px; height:64px; animation:fetiBob 3s ease-in-out infinite; }
.helpbtn.mascot .eyes{ transform-origin:32px 29px; animation:fetiBlink 4.5s infinite; }
.helpbtn.mascot .ant{ animation:fetiGlow 1.8s ease-in-out infinite; }
.helpbtn.mascot .wave{ transform-origin:52px 54px; animation:fetiWave 6s ease-in-out infinite; }
.helpbtn.mascot.dragging svg{ animation:none; transform:scale(1.08); }
.helpbtn.mascot .say{ position:absolute; right:68px; top:14px; white-space:nowrap; background:var(--card); color:var(--text); border:1px solid var(--line); padding:6px 12px; border-radius:14px 14px 4px 14px; font-size:13px; font-weight:700; opacity:0; transform:translateX(6px); transition:.3s; pointer-events:none; box-shadow:var(--shadow); }
.helpbtn.mascot.hi .say{ opacity:1; transform:none; }
@keyframes fetiBob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-4px); } }
@keyframes fetiBlink{ 0%,92%,100%{ transform:scaleY(1); } 95%{ transform:scaleY(.1); } }
@keyframes fetiGlow{ 0%,100%{ opacity:1; } 50%{ opacity:.45; } }
@keyframes fetiWave{ 0%,80%,100%{ transform:rotate(0); } 85%{ transform:rotate(-25deg); } 90%{ transform:rotate(15deg); } 95%{ transform:rotate(-15deg); } }
@media (prefers-reduced-motion: reduce){ .helpbtn.mascot svg, .helpbtn.mascot .eyes, .helpbtn.mascot .ant, .helpbtn.mascot .wave{ animation:none; } }
@media (max-width:820px){ .acct{ grid-template-columns:minmax(0,1fr); } .acctside, .acctmain{ min-width:0; } }
/* ---- Side drawer menu (phones) ---- */
.mhome{ display:none; }
@media (max-width:900px){
  .mhome{ display:flex; }
  .menu{ display:flex; position:fixed; top:0; right:0; bottom:0; left:auto; width:min(290px, 76vw); flex-direction:column; gap:2px; margin:0; padding:20px 12px; background:var(--bg2); border-left:1px solid var(--line); border-bottom:0; z-index:80; transform:translateX(105%); transition:transform .25s ease; overflow-y:auto; box-shadow:-20px 0 40px rgba(0,0,0,.3); }
  .menu.open{ transform:none; }
  .menu a{ padding:12px 14px; font-size:15.5px; border-radius:12px; display:flex; align-items:center; gap:10px; }
  .menu a.on{ box-shadow:none; background:color-mix(in srgb, var(--accent) 14%, var(--card)); color:var(--accent); }
  .menu.open .menuacct{ display:flex; flex-direction:column; gap:2px; border-top:1px solid var(--line); margin-top:10px; padding-top:10px; }
  .menuacct small{ display:none; }
  .menushade{ position:fixed; inset:0; z-index:79; background:rgba(0,0,0,.45); }
  body.noscroll{ overflow:hidden; }
}
/* ---- Settings page ---- */
.me{ display:flex; align-items:center; gap:14px; margin-bottom:12px; } .me .av{ width:52px; height:52px; border-radius:50%; background:var(--accent); color:var(--onAccent); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:22px; flex:0 0 auto; }
.me small{ display:block; }
.setlist{ padding:4px 6px; margin-bottom:12px; }
.setrow{ display:flex; align-items:center; gap:12px; padding:13px 10px; border-bottom:1px solid var(--line); color:inherit; }
.setrow:last-child{ border-bottom:0; } .setrow > svg:first-child, .setrow .ic2{ color:var(--accent); flex:0 0 auto; }
.setrow > span:not(.ic2){ flex:1; font-weight:700; } .setrow small{ display:block; font-weight:500; font-size:12.5px; margin-top:2px; }
.setrow > svg:last-child{ color:var(--muted); }
.logoutb{ margin:6px 0 20px; color:var(--red); }
/* Phones: no side menu on account pages, just a back link to Settings */
.backset{ display:none; }
@media (max-width:820px){
  .acctside{ display:none; }
  .backset{ display:inline-flex; align-items:center; gap:4px; color:var(--muted); font-weight:700; font-size:14px; margin:2px 0 -4px; }
}
/* ---- Notifications list ---- */
.nlist{ display:flex; flex-direction:column; gap:8px; }
.nitem{ display:flex; align-items:center; gap:12px; background:var(--card); border:1px solid var(--line); border-radius:16px; padding:13px 14px; color:inherit; }
.nitem .nd{ width:9px; height:9px; border-radius:50%; background:var(--line); flex:0 0 auto; }
.nitem.unread{ border-color:color-mix(in srgb, var(--accent) 45%, var(--line)); background:color-mix(in srgb, var(--accent) 6%, var(--card)); }
.nitem.unread .nd{ background:var(--accent); } .nitem.bad.unread .nd{ background:var(--red); }
.nitem .nt{ flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; } .nitem .nb{ font-weight:600; line-height:1.4; }
.nitem small{ font-size:12px; } .nitem > svg{ color:var(--muted); flex:0 0 auto; }

/* Gamer kid helper: waving arm */
.helpbtn.mascot .arm{ transform-origin:48px 50px; animation:kidWave 5s ease-in-out infinite; }
@keyframes kidWave{ 0%,70%,100%{ transform:rotate(0); } 76%{ transform:rotate(-18deg); } 82%{ transform:rotate(10deg); } 88%{ transform:rotate(-14deg); } 94%{ transform:rotate(6deg); } }
.helpbtn.mascot svg{ width:68px; height:68px; } .helpbtn.mascot{ width:68px; height:68px; }
.helpbtn.mascot .eyes{ transform-origin:32px 29px; }
@media (prefers-reduced-motion: reduce){ .helpbtn.mascot .arm{ animation:none; } }

/* ---------- Top bar: flag language, bell popup, round avatar ---------- */
.langwrap,.bellwrap{ position:relative; }
.langbtn .flag{ width:24px; height:16px; border-radius:3px; display:block; box-shadow:0 0 0 1px var(--line); }
.langlist,.bellpop{ position:absolute; top:calc(100% + 8px); right:0; z-index:80; background:var(--card); border:1px solid var(--line); border-radius:14px; box-shadow:0 12px 32px rgba(0,0,0,.28); }
.langlist{ min-width:190px; padding:6px; }
.langlist button{ display:flex; align-items:center; gap:10px; width:100%; padding:9px 10px; border:0; background:none; color:inherit; font:inherit; border-radius:10px; cursor:pointer; text-align:left; }
.langlist button:hover,.langlist button.on{ background:var(--card2); }
.langlist button.on span{ font-weight:700; }
.langlist .flag{ width:24px; height:16px; border-radius:3px; flex:none; }
.bellpop{ width:min(340px, calc(100vw - 24px)); max-height:min(420px, 70vh); overflow:auto; padding:6px; }
.bphead{ padding:8px 10px 6px; font-size:14px; }
.bpitem{ display:flex; gap:10px; padding:9px 10px; border-radius:10px; color:inherit; text-decoration:none; font-size:13px; line-height:1.35; }
.bpitem:hover{ background:var(--card2); }
.bpitem .nd{ width:8px; height:8px; border-radius:50%; margin-top:5px; flex:none; background:transparent; }
.bpitem.unread .nd{ background:var(--accent); }
.bpitem .nb{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.bpitem small{ display:block; margin-top:2px; font-size:11px; }
.bpall{ display:block; text-align:center; padding:9px; font-size:13px; font-weight:600; border-top:1px solid var(--line); margin-top:4px; text-decoration:none; }
.bpempty{ padding:16px 12px; font-size:13px; text-align:center; }
@media (max-width:560px){ .bellpop{ position:fixed; top:62px; right:12px; left:12px; width:auto; } }
.avbtn{ width:36px; height:36px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; overflow:hidden; background:var(--card2); border:1px solid var(--line); font-weight:800; font-size:15px; color:inherit; text-decoration:none; flex:none; }
.avbtn img{ width:100%; height:100%; object-fit:cover; }
.backbtn{ display:inline-flex; align-items:center; gap:4px; margin:4px 0 10px; padding:6px 12px 6px 8px; border:1px solid var(--line); background:var(--card); color:inherit; font:inherit; font-size:14px; font-weight:600; border-radius:999px; cursor:pointer; }
.backbtn:hover{ background:var(--card2); }

/* ---------- Custom amount, TikTok login, gift steps, maintenance ---------- */
.custamt{ background:var(--card); border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin-bottom:12px; }
.custamt label{ display:block; font-weight:700; font-size:14px; margin-bottom:8px; }
.custrow{ display:flex; align-items:center; gap:10px; }
.custrow input{ flex:1; min-width:0; font-size:18px; font-weight:800; }
.custamt small{ display:block; margin-top:6px; font-size:12px; }
.custamt small.bad{ color:var(--bad, #e5484d); }
.loginbox{ text-align:left; background:var(--card); border:1px solid var(--line); border-radius:16px; padding:16px; margin:16px auto; max-width:420px; display:flex; flex-direction:column; gap:10px; }
.loginbox h3{ margin:0; } .loginbox p{ margin:0; font-size:13px; }
.howto ol{ margin:8px 0 12px; padding-left:20px; line-height:1.55; font-size:14px; }
.howto li{ margin:3px 0; }
.mnt{ text-align:center; max-width:460px; margin:48px auto; padding:28px 20px; background:var(--card); border:1px solid var(--line); border-radius:20px; }
.mntic{ width:76px; height:76px; border-radius:50%; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; background:var(--card2); color:var(--accent); }
.mnt h1{ font-size:24px; margin:0 0 8px; } .mnt p{ color:var(--muted); margin:0 0 18px; }
/* Phones: no profile circle in the top bar (Settings is in the menu), smaller gaps */
@media (max-width:900px){
  #loginBtn.avbtn{ display:none; }
  .top .iconbtn{ width:40px; height:40px; }
}
.custrow input{ background:var(--bg2); color:var(--text); border:1px solid var(--line); border-radius:12px; padding:12px 14px; -webkit-appearance:none; appearance:none; }
.custrow input::placeholder{ color:var(--muted); font-weight:600; font-size:15px; }
.custrow input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.custrow input::-webkit-outer-spin-button,.custrow input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.helpbtn.mascot.feti{ right:8px; bottom:8px; }

/* Rewards (Account page) + favourites */
.rwtitle{ font-size:16px; margin:18px 2px 8px; }
.rwcard{ margin-bottom:12px; }
.rwh{ display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:15px; }
.ckdots{ display:flex; gap:6px; margin:12px 0; }
.ckdots i{ flex:1; height:34px; border-radius:10px; background:var(--card); border:1.5px solid var(--line); display:flex; align-items:center; justify-content:center; font-style:normal; font-size:12px; font-weight:800; color:var(--muted); }
.ckdots i.got{ background:var(--accent); border-color:var(--accent); color:var(--onAccent); }
.ckdots i.next{ border-color:var(--accent); color:var(--accent); animation:ckPulse 1.6s ease-out infinite; }
@keyframes ckPulse{ 0%{ box-shadow:0 0 0 0 rgba(34,197,94,.5);} 70%{ box-shadow:0 0 0 8px rgba(34,197,94,0);} 100%{ box-shadow:0 0 0 0 rgba(34,197,94,0);} }
.toplist{ display:flex; flex-direction:column; gap:8px; margin:10px 0 4px; }
.toplist .tr{ display:flex; align-items:center; gap:10px; font-size:14.5px; }
.toplist .tr .n{ width:26px; text-align:center; font-weight:900; }
.toplist .tr .p{ margin-left:auto; color:var(--accent); font-weight:800; font-size:13px; }
.toplist .tr.me{ font-weight:800; }
#topCard{ cursor:pointer; }
.favbtn{ margin-top:10px; display:inline-flex; align-items:center; gap:8px; background:var(--card); color:var(--text); border:1px solid var(--line); border-radius:999px; padding:7px 14px; font-size:13px; font-weight:700; cursor:pointer; }
.favbtn.on{ border-color:var(--accent); }
@media (prefers-reduced-motion: reduce){ .ckdots i.next{ animation:none; } }
/* Connect Telegram card (Account) */
.tgcard{ margin-bottom:12px; border:1px solid color-mix(in srgb, #2aabee 35%, transparent); }
.tgh{ display:flex; align-items:center; gap:10px; margin-bottom:4px; }
.tgi{ width:34px; height:34px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; background:#2aabee; color:#fff; }
.tgcard #tgBtn{ background:#2aabee; color:#fff; margin-top:8px; }
.tgcard #tgBody > .muted{ margin-top:8px; }
.tgwait{ display:flex; align-items:center; gap:10px; margin:10px 0 6px; font-weight:600; }
.spin2{ width:18px; height:18px; flex:0 0 18px; border-radius:50%; border:2px solid color-mix(in srgb, #2aabee 30%, transparent); border-top-color:#2aabee; animation:sp .8s linear infinite; }
@media (prefers-reduced-motion: reduce){ .spin2{ animation:none; } }
.tgcard #tgBody a{ text-decoration:underline; }
/* Install as an app */
.instcard{ position:relative; display:flex; align-items:center; gap:12px; margin:14px 0 4px; padding:12px 40px 12px 12px; border-radius:18px; background:var(--card); border:1px solid color-mix(in srgb, var(--accent) 35%, transparent); box-shadow:var(--shadow); }
.instcard img{ width:48px; height:48px; border-radius:12px; flex:0 0 48px; }
.instx{ flex:1; min-width:0; } .instx b{ display:block; } .instx small{ display:block; color:var(--muted); font-size:13px; line-height:1.35; margin-top:2px; }
.instcard .btn{ flex:0 0 auto; padding:10px 16px; }
.instclose{ position:absolute; top:6px; right:6px; width:30px; height:30px; border:0; background:none; color:var(--muted); border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.instrow{ width:100%; background:none; border:0; border-top:1px solid var(--line); font:inherit; text-align:left; cursor:pointer; }
.insteps{ text-align:left; margin:12px 0 0; padding-left:22px; line-height:1.55; } .insteps li{ margin:6px 0; }
@media (max-width:420px){ .instcard{ flex-wrap:wrap; } .instcard .btn{ width:100%; } }
/* Email codes: forgot password / confirm email */
.linkbtn{ display:block; width:100%; margin-top:12px; background:none; border:0; color:var(--accent); font:inherit; font-weight:700; cursor:pointer; padding:6px; }
.linkbtn:disabled{ color:var(--muted); cursor:default; }
.linkbtn.hidden{ display:none; }
.codein{ width:100%; height:58px; border-radius:14px; border:1px solid var(--line); background:var(--card); color:var(--text); text-align:center; font-size:28px; font-weight:800; letter-spacing:10px; font-variant-numeric:tabular-nums; }
#emF .codein{ margin:6px 0 10px; }
.authcard form{ text-align:left; } .authcard form .field{ margin-bottom:12px; } .authcard form .linkbtn{ text-align:center; }
