/* ======================================================================================================
   theme.css — loaded last. (1) the modern look: aurora backgrounds, glass panels, livelier buttons;
   (2) the components added 2026-11-19 (shop with the 3D character on the right, "Usage", hint on the question
   card, quiz-box badge, run-item buttons, light / dark switch); (3) LIGHT MODE: the tokens for
   <html data-theme="light"> and the places that had a dark colour written in directly.
   The 3D game scene keeps its own colours in both modes; its HUD keeps dark glass so it stays readable on the road.
   ====================================================================================================== */

/* ---------------- 1. modern look (both modes) ---------------- */
:root{--aur1:rgba(124,77,255,.32);--aur2:rgba(34,211,238,.22);--aur3:rgba(255,92,138,.16);--card-hi:rgba(255,255,255,.06);
  --glass2:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.015));--input:#0d1533;--chip:#101a3d;--opt:#160e31;--hint:#103a36;
  --coin-txt:#ffcc33;--coin-line:#5b4a1c;--coinq-txt:#5ff0dc;--coinq-line:#1b6b63;--bad-txt:#ff8a80;--heart:#ff4d6d}
/* coin chips, "needs more" lines and hearts read from tokens, so both modes (and the dark HUD in light mode) get readable colours */
.coins{background:var(--chip);border-color:var(--coin-line);color:var(--coin-txt)}
.coins.quiz{color:var(--coinq-txt);border-color:var(--coinq-line)}
.net{background:var(--chip)}
.item .need{color:var(--bad-txt)}
.ps-lives .ps-ic{color:var(--heart)}
.screen.dots,.screen.home,.screen.shop,.screen.board{background-color:var(--ink);
  background-image:radial-gradient(60vmax 40vmax at 8% -6%,var(--aur1),transparent 62%),radial-gradient(55vmax 38vmax at 105% 8%,var(--aur2),transparent 60%),
    radial-gradient(50vmax 36vmax at 50% 112%,var(--aur3),transparent 62%),radial-gradient(circle at 2px 2px,rgba(160,175,230,.08) 1.4px,transparent 2px);
  background-size:auto,auto,auto,26px 26px}   /* (the screen is the scroller, so the colour glow stays put — no fixed attachment, no repaint on scroll) */
@media (prefers-reduced-motion:no-preference){
  .screen.dots>*,.screen.home>*,.screen.shop>*{position:relative;z-index:1}
}
/* (2026-11-21: the rotating, 60px-blurred aurora layer is gone — a full-screen blur turning forever was the heaviest thing on
   the menu screens. The still aurora above gives the same colours.) */
.card,.item,.navtile,.prevcard,.lb-tablewrap,.stat3>div{background-image:var(--glass2)}
.item{transition:transform .18s,box-shadow .18s,border-color .18s}
.item:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(3,6,20,.35);border-color:color-mix(in srgb,var(--teal) 55%,var(--line))}
.btn{letter-spacing:.2px}
.btn:not(.ghost):not(.yellow):not(.teal):not(.green):not(.pink):not(.bb-btn):not(.play-big):not(.at-login):not(.lvl-side .btn){background-image:var(--grad)}

/* ---------------- 2a. light / dark switch (third segment of every language switch) ---------------- */
.langsw .themebtn{border:0;border-left:2px solid var(--line);background:none;padding:6px 10px;font-size:15px;line-height:1;cursor:pointer}
.langsw .themebtn:hover{background:var(--panel2)}

/* ---------------- 2b. Profile Accessories: items left, the 3D character right (phones too) ---------------- */
.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:16px;align-items:start;padding-bottom:50px}
.shop-layout .shopgrid{padding-block:0;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.prevcard{position:sticky;top:76px;display:grid;gap:6px;justify-items:center;text-align:center;margin:0;padding:12px;border-radius:22px;
  box-shadow:0 18px 40px rgba(3,6,20,.35)}
.prevcard canvas{width:100%;height:clamp(300px,58vh,520px);border-radius:16px;background:radial-gradient(circle at 50% 72%,#2c3a80,#0b1230 72%);touch-action:none}
.prevcard .prev-title{font-family:var(--fd);font-size:18px;color:var(--yellow)}
.prevcard .prev-drag{margin:0;font-size:12.5px;color:var(--muted)}
.prevcard p{margin:0}
.item .btns .use{border-color:color-mix(in srgb,var(--teal) 60%,var(--line))}
.item.char .ic{background:radial-gradient(circle at 50% 30%,#3a4890,var(--ink2))}
.item.char .ic svg{width:52px;height:52px}
@media(max-width:820px){
  /* phone / small tablet: still on the right, as a narrow sticky column; the cards stack in one column on the left */
  .shop-layout{grid-template-columns:minmax(0,1fr) 40%;gap:10px}
  .shop-layout .shopgrid{grid-template-columns:1fr;gap:10px}
  .prevcard{top:64px;padding:8px;border-radius:18px}
  .prevcard canvas{height:min(62vh,420px)}
  .prevcard .prev-title{font-size:15px}
  .item{padding:12px;gap:6px;border-radius:16px}
  .item .ic{width:48px;height:48px;border-radius:14px}.item .ic svg{width:32px;height:32px}
  .item h3{font-size:16px;padding-right:56px}.item p{font-size:13px;min-height:0}
  .item .row{flex-direction:column;align-items:stretch}.item .btns{justify-content:flex-start}
  .item .btns .btn.sm{padding:7px 10px;font-size:13.5px}
}
@media(max-width:380px){.shop-layout{grid-template-columns:minmax(0,1fr) 38%}.prevcard .prev-drag{display:none}}
/* "Usage" card */
.usage-ic{width:84px;height:84px;margin:0 auto;border-radius:22px;display:grid;place-items:center;background:var(--ink2);border:2px solid var(--line)}
.usage-ic svg{width:56px;height:56px}
.usage-what{margin:0;color:var(--muted)}
.usage-box{background:var(--panel2);border:2px solid color-mix(in srgb,var(--teal) 55%,var(--line));border-radius:16px;padding:12px 14px;text-align:left}
.usage-box b{font-family:var(--fd);color:var(--teal)}.usage-box p{margin:4px 0 0;line-height:1.6}

/* ---------------- 2c. question card: hint button on it, quiz-box badge ---------------- */
.tp-qcard{display:grid;gap:10px;background:var(--panel2);border:2px solid var(--line);border-radius:18px;padding:12px 14px}
.tp-hint{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hintbtn{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;padding:7px 14px;font-family:var(--fd);font-weight:800;font-size:15px;
  background:linear-gradient(135deg,#ffd23f,#ff9f1c);color:#2a1a00;box-shadow:0 6px 16px rgba(255,170,30,.3)}
.hintbtn b{background:rgba(42,26,0,.16);border-radius:999px;padding:0 8px}
.hintbtn[disabled]{filter:grayscale(.85);opacity:.55;box-shadow:none;cursor:not-allowed}
.tp-hint small{color:var(--muted);font-size:13px}
.tp-badge.box{background:linear-gradient(135deg,#7c4dff,#22d3ee);color:#fff}

/* ---------------- 2d. run items (right side of the run screen): wrap into a second column when there are many ---------------- */
.carry{display:flex;flex-direction:column;flex-wrap:wrap-reverse;align-content:flex-start;align-items:flex-end;gap:8px;max-height:calc(100% - 230px)}
.carry .tiffin{padding:6px 10px;border-width:2px}
.carry .tiffin svg{width:26px;height:26px}
.tiffin.daab{background:#2e9e4f;color:#fff}.tiffin.umb{background:#7c4dff;color:#fff}.tiffin.dbl{background:#ffcc33;color:#2a1a00}.tiffin.tea{background:#8d5524;color:#fff}

/* ---------------- 3. LIGHT MODE ---------------- */
:root[data-theme="light"]{
  --ink:#eef2fb; --ink2:#e2e8f6; --panel:#ffffff; --panel2:#f2f5fd; --line:#cdd6ee;
  --pink:#d6336c; --teal:#0b7f9c; --yellow:#b07a00; --green:#15803d; --red:#d61f45; --blue:#3557e8; --orange:#d9620a; --violet:#6d3ae0;
  --paper:#141b3a; --muted:#46517a; --dim:#5a6590;
  --grad:linear-gradient(135deg,#6d5dfc 0%,#4f7cff 45%,#0ea5c6 100%);
  --glass:rgba(255,255,255,.82); --shadow:0 10px 30px rgba(30,45,95,.14);
  --aur1:rgba(124,77,255,.16);--aur2:rgba(14,165,198,.14);--aur3:rgba(214,51,108,.09);
  --glass2:linear-gradient(160deg,rgba(255,255,255,.9),rgba(240,244,253,.7));
  --input:#ffffff;--chip:#ffffff;--opt:#f4f6fd;--hint:#e6f6f9;
  --coin-txt:#8a5a00;--coin-line:#e0b84a;--coinq-txt:#0b6f64;--coinq-line:#5fc9bb;--bad-txt:#c81e3c;--heart:#e11d48;
  color-scheme:light}
/* Parts that stay dark in light mode: the landing / login page (video hero, designed on dark) and everything drawn over
   the 3D road or the question picture (HUD, subtitle bubble, banners, missions, pedals, run items, picture captions). */
[data-theme="light"] :is(#scrAuth,.hud,.bubble,.evbanner,.missions,.ctrl-hint,.powers,.countdown,.pedals,.carry,.tp-prop){
  --ink:#0b1230;--ink2:#111a3f;--panel:#18234f;--panel2:#1f2c60;--line:#2e3c7a;--paper:#f5f7ff;--muted:#a9b4d9;--dim:#7584b8;
  --pink:#ff5c8a;--teal:#22d3ee;--yellow:#ffcc33;--green:#22c55e;--red:#f43f5e;--blue:#4f7cff;--orange:#ff8a3d;--violet:#8b5cf6;
  --grad:linear-gradient(135deg,#6d5dfc 0%,#4f7cff 45%,#22d3ee 100%);--input:#0d1533;--chip:#101a3d;--opt:#160e31;--hint:#103a36;
  --glass:rgba(24,35,79,.72);--glass2:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.015));
  --coin-txt:#ffcc33;--coin-line:#5b4a1c;--coinq-txt:#5ff0dc;--coinq-line:#1b6b63;--bad-txt:#ff8a80;--heart:#ff4d6d;color-scheme:dark}
[data-theme="light"] #scrAuth{color:var(--paper);--aur1:rgba(124,77,255,.32);--aur2:rgba(34,211,238,.22);--aur3:rgba(255,92,138,.16)}
[data-theme="light"] #scrAuth .inp,[data-theme="light"] #scrAuth .seg label{background:#0d1533;color:#f5f7ff}
[data-theme="light"] #scrAuth .btn.ghost{color:#f5f7ff}
[data-theme="light"] #scrAuth :is(#btnDemo,#loginBack){color:#000}
[data-theme="light"] .hud{color:#f5f7ff}
[data-theme="light"] .tp-timer{background:var(--panel2)}
[data-theme="light"] .admin{background:var(--ink)}
/* bright accents keep their own colour as BACKGROUNDS (buttons, active tabs) */
[data-theme="light"] .btn.yellow,[data-theme="light"] .langsw button.on,[data-theme="light"] .tp-badge{background-color:#ffcc33;color:#2a1a00}
[data-theme="light"] .btn.teal{--c:#22d3ee;--t:#04211d}
[data-theme="light"] .btn.green{--c:#22c55e;--t:#06210f}
[data-theme="light"] .btn.ghost{color:var(--paper)}
[data-theme="light"] .btn[disabled]{filter:grayscale(.6) brightness(.95);opacity:.6}
[data-theme="light"] .item:hover{box-shadow:0 14px 30px rgba(30,45,95,.16)}
/* dark colours that were written straight into the older stylesheets */
[data-theme="light"] .inp,[data-theme="light"] .seg label{background:var(--input);color:var(--paper)}
[data-theme="light"] .opt{background:var(--opt);color:var(--paper)}
[data-theme="light"] .tool{background:var(--chip)}
[data-theme="light"] .hintbox{background:var(--hint);color:var(--paper)}
[data-theme="light"] .prevcard canvas{background:radial-gradient(circle at 50% 72%,#dfe7ff,#b9c6ee 75%)}
[data-theme="light"] .item.char .ic{background:radial-gradient(circle at 50% 30%,#ffffff,var(--ink2))}
[data-theme="light"] .shop-hero h2{background:linear-gradient(92deg,#3d2a8c 0%,#6d3ae0 45%,#d6336c 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
[data-theme="light"] .shop-hero p{color:var(--muted)}
[data-theme="light"] .ph-ic{background:linear-gradient(145deg,rgba(255,204,51,.35),rgba(214,51,108,.18));border-color:rgba(20,27,58,.12);box-shadow:0 8px 20px rgba(30,45,95,.14)}
[data-theme="light"] .hbar{background:rgba(255,255,255,.78)}
[data-theme="light"] .usage-box b{color:var(--teal)}
[data-theme="light"] .tp-points .dif.hard{color:var(--bad-txt)}
/* no life left today: on every level card, how long until the lives come back */
.lvl-nolife{position:absolute;left:8px;right:8px;bottom:8px;z-index:3;text-align:center;padding:5px 10px;border-radius:12px;font-family:var(--fd);font-weight:800;font-size:13.5px;
  background:rgba(120,10,35,.88);color:#fff;border:1.5px solid #ff6b8b;box-shadow:0 6px 16px rgba(0,0,0,.35);font-variant-numeric:tabular-nums}
.lvl:has(.lvl-nolife) .lvl-scene{filter:grayscale(.55) brightness(.75)}

/* ---------------- result card = a newspaper front page (ui/run.js → paperHTML) ---------------- */
.mbox:has(.np){width:min(600px,100%);max-height:94%;background:#f3ead6;border:3px solid #1d1a15;box-shadow:0 24px 70px rgba(0,0,0,.6)}
body.in-game .mbox:has(.np){max-height:90%}
.mbox:has(.np) .strip{display:none}
.mbody:has(>.np){padding:0;gap:0;text-align:left}
.np{--ink-np:#1d1a15;--rule:#1d1a15;color:var(--ink-np);padding:16px 18px 18px;display:grid;gap:10px;font-family:'Anek Bangla','Hind Siliguri',serif;
  background:radial-gradient(circle at 20% 10%,rgba(255,255,255,.55),transparent 55%),repeating-linear-gradient(0deg,rgba(80,60,30,.035) 0 1px,transparent 1px 3px),#f3ead6}
.np-mast{text-align:center;border-bottom:4px double var(--rule);padding-bottom:6px}
.np-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11.5px;font-weight:600;border-bottom:1px solid var(--rule);padding-bottom:4px;color:#3b342a}
.np-name{font-family:'Anek Bangla','Baloo Da 2',serif;font-weight:800;font-size:clamp(30px,7vw,44px);line-height:1.05;letter-spacing:-.5px;margin-top:4px}
.np-motto{font-size:12px;font-style:italic;color:#4a4134}
.np-kicker{margin:0;justify-self:start;background:#c8102e;color:#fff;font-family:var(--fd);font-weight:800;font-size:13px;letter-spacing:.3px;padding:2px 10px;border-radius:3px;text-transform:uppercase}
.np-head{margin:0;font-family:'Anek Bangla','Baloo Da 2',serif;font-weight:800;font-size:clamp(24px,5.6vw,34px);line-height:1.12;color:var(--ink-np);text-wrap:balance}
.np-byline{margin:0;font-size:12.5px;font-weight:600;color:#5a5044;border-bottom:1px solid #b9ad97;padding-bottom:6px}
.np-photo{position:relative;margin:0;border:1.5px solid var(--rule);background:#d9cfbb;padding:4px}
.np-photo img{display:block;width:100%;aspect-ratio:16/8;object-fit:cover;filter:grayscale(1) contrast(1.15) sepia(.25)}
.np-noimg{aspect-ratio:16/8;display:grid;place-items:center;font-size:48px;filter:grayscale(.6)}
.np-photo figcaption{font-size:11.5px;font-style:italic;color:#4a4134;padding:4px 2px 0}
.np-stamp{position:absolute;right:12px;top:12px;max-width:calc(100% - 24px);white-space:nowrap;transform:rotate(-8deg);border:3px solid #c8102e;color:#c8102e;background:rgba(243,234,214,.82);font-family:var(--fd);font-weight:800;font-size:22px;padding:0 10px;border-radius:6px;letter-spacing:1px}
.np-win .np-stamp{border-color:#1b7a3a;color:#1b7a3a}.np-win .np-kicker{background:#1b7a3a}
.np-cols{columns:2 210px;column-gap:18px;column-rule:1px solid #b9ad97;font-size:14.5px;line-height:1.55}
.np-cols p{margin:0 0 8px;break-inside:avoid}.np-cols b{font-weight:800}
.mbody .np-head{color:var(--ink-np)}
.np-quote{margin:0;break-inside:avoid;border-left:4px solid #c8102e;padding:4px 10px;font-weight:700;font-size:15.5px;background:rgba(200,16,46,.06)}
.np-quote cite{display:block;font-style:normal;font-weight:600;font-size:12px;color:#5a5044;margin-top:2px}
.np-facts{border:1.5px solid var(--rule);padding:10px 12px 12px;background:rgba(255,255,255,.4);display:grid;gap:10px}
/* "এক নজরে": coins · progress bars · small facts */
.npf-row{display:grid;gap:8px}
.npf-row.money{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.npf-coin{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:12px;background:#fff7df;border:1.5px solid #d9b65a}
.npf-coin .coin-ic{width:38px;height:38px;font-size:17px;flex:none}
.npf-coin b{display:block;font-family:var(--fd);font-weight:800;font-size:24px;line-height:1.05;color:#7a4d00;font-variant-numeric:tabular-nums}
.npf-coin span:not(.coin-ic){display:block;font-size:12.5px;font-weight:700;color:#4a4134}
.npf-coin em{display:block;font-style:normal;font-size:11.5px;color:#1b6b34;font-weight:700}
.npf-coin.quiz{background:#e7f7f3;border-color:#5fc9bb}.npf-coin.quiz b{color:#0b5f56}
.npf-coin.lost{background:#f6e3e3;border-color:#d79a9a}.npf-coin.lost b{color:#8a2a2a;text-decoration:line-through;text-decoration-thickness:2px}.npf-coin.lost em{color:#b3122c}
.npf-row.bars{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px 14px}
.npf-bl{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;font-weight:700;color:#4a4134}
.npf-bl b{font-family:var(--fd);font-size:15px;color:var(--ink-np);font-variant-numeric:tabular-nums}
.npf-track{height:9px;border-radius:999px;background:#e2d8c3;border:1px solid #b9ad97;overflow:hidden;margin-top:3px}
.npf-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#6d5dfc,#22a6c7)}
.npf-bar.r .npf-track i{background:linear-gradient(90deg,#ff8a3d,#c8102e)}
.np-win .npf-bar.r .npf-track i{background:linear-gradient(90deg,#22c55e,#1b7a3a)}
.npf-row.chips{grid-template-columns:repeat(auto-fit,minmax(86px,1fr))}
.npf-chip{display:grid;justify-items:center;text-align:center;gap:1px;padding:7px 4px 6px;border-radius:10px;background:rgba(255,255,255,.65);border:1px solid #c9bea8}
.npf-chip i{font-style:normal;font-size:17px;line-height:1.1}
.npf-chip b{font-family:var(--fd);font-weight:800;font-size:18px;line-height:1.1;color:var(--ink-np);font-variant-numeric:tabular-nums}
.npf-chip span{font-size:11.5px;font-weight:600;color:#5a5044;line-height:1.2}
.npf-chip.bad b{color:#b3122c}.npf-chip.good b{color:#1b6b34}
@media(max-width:480px){.npf-row.chips{grid-template-columns:repeat(3,1fr)}.npf-coin b{font-size:21px}}
.np-facts h3{margin:0 0 6px;font-family:var(--fd);font-size:14px;color:var(--ink-np);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--rule);padding-bottom:3px}
.np-extra{display:grid;gap:6px;text-align:center}
.np-extra:empty{display:none}
.np-extra p,.np-extra .help{color:#3b342a!important;margin:0}
.np-extra .coinline.good,.np-good{color:#1b6b34!important;font-weight:700;margin:0}
.np-extra .coinline.bad{color:#b3122c!important}
.np-extra [style*="#ff8a80"]{color:#b3122c!important}
.np-note{font-weight:700}
.np .mbtns{margin-top:2px}
.np .btn.ghost{color:var(--ink-np);border-color:var(--rule)}
@media(max-width:480px){.np{padding:12px 12px 14px;gap:8px}.np-top span:last-child{display:none}.np-cols{columns:1}.np-stamp{font-size:17px}}

/* ---- newspaper card: the buttons stay at the bottom, everything above scrolls (phone first) ---- */
.mbox:has(.np){max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body.in-game .mbox:has(.np){max-height:calc(100dvh - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
.np{padding-bottom:0;min-width:0}
.np>*{min-width:0}
.np>.mbtns{position:sticky;bottom:0;z-index:4;margin:4px -18px 0;padding:10px 14px calc(12px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(180deg,rgba(243,234,214,.94),#f3ead6 40%);border-top:2px solid var(--rule);box-shadow:0 -10px 18px rgba(60,45,20,.18);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:8px}
.np>.mbtns .btn{width:100%;min-height:48px;padding:10px 12px;font-size:16px;white-space:normal;line-height:1.15;text-align:center}
/* nothing may be cut: long words wrap, rows shrink */
.np,.np *{overflow-wrap:anywhere}
.np-top span{white-space:nowrap}
.npf-chip span,.npf-bl span{overflow-wrap:normal}
@media(max-width:480px){
  .np>.mbtns{margin:4px -12px 0;padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px))}
  .np-head{font-size:clamp(21px,6.4vw,28px)}
  .np-name{font-size:clamp(26px,8.6vw,36px)}
  .np-top{justify-content:center;column-gap:12px}
  .np-photo img,.np-noimg{aspect-ratio:16/9}
}
@media(max-width:360px){
  .np{padding:10px 10px 0}.np>.mbtns{margin:4px -10px 0}
  .np-facts{padding:8px}.npf-row.chips{grid-template-columns:repeat(2,1fr)}
  .npf-coin{padding:7px 9px}.npf-coin .coin-ic{width:32px;height:32px}
  .np>.mbtns .btn{font-size:15px}
}
/* short screens (phone held sideways): a smaller photo and tighter masthead, the buttons still at the bottom */
@media(max-height:520px){
  .np{gap:7px}.np-name{font-size:26px}.np-motto{display:none}
  .np-photo img,.np-noimg{aspect-ratio:21/8}
  .np>.mbtns .btn{min-height:42px;padding:8px 10px}
}

/* newspaper photo: the paper's wide frame (2:1); the picture is already cut round the student and Sir (engine.js → snapshot) */
.np-photo img{aspect-ratio:2/1;width:100%;height:auto;max-height:none;object-fit:cover}
.np-noimg{aspect-ratio:2/1}

/* missions sit right under the HUD, wherever its bottom is on this screen (ui/run.js measures it → --hud-b) */
.game .missions:not(.brief){top:calc(var(--hud-b,112px) + 8px)}
/* the stamp sits low on the road, never over the faces (the photo is framed round the two of them) */
.np-stamp{top:auto;bottom:34px;right:10px}

/* ---------------- animation on / off (js/core/motion.js; Home switch + pause menu) ---------------- */
.home-head .hh-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.animsw{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:4px 6px 4px 11px;border-radius:999px;border:2px solid var(--line);background:var(--chip);color:var(--muted);cursor:pointer;line-height:1.2}
.animsw b{color:var(--paper);font-family:var(--fd)}
.animsw .sw{position:relative;width:30px;height:17px;border-radius:999px;background:var(--line);flex:none;transition:background .2s}
.animsw .sw::after{content:"";position:absolute;left:2px;top:2px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.35);transition:transform .2s}
.animsw.on .sw{background:var(--teal)}
.animsw.on .sw::after{transform:translateX(13px)}
.animsw:hover{border-color:var(--teal)}
/* OFF: nothing moves by itself; the decorative moving layers (floating coins, ripples, effects) are
   not drawn at all, so the screens stay as light as possible. Only the loading spinner keeps turning (it means "wait"). */
.no-anim *,.no-anim *::before,.no-anim *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.no-anim .spinner{animation:spin .9s linear infinite!important}
.no-anim .screen::before,.no-anim .screen::after,.no-anim .auth::before,.no-anim .auth-fx,.no-anim .fx-layer,.no-anim .rip,.no-anim .shine{display:none!important}
.no-anim .lvl{transform:none!important}
.no-anim .marquee .citychips{flex-wrap:wrap;width:auto;justify-content:center}
.no-anim .marquee .citychips li[aria-hidden="true"]{display:none}
.no-anim .marquee{mask-image:none;-webkit-mask-image:none}

/* ---------------- 2026-11-21: Home head, How to play, guest locks, landing video switch, gift cart ---------------- */
/* "Choose a level" jumps down to the level cards */
.home-head h2{margin:0}
.home-head{align-items:center}
.hh-jump{display:inline-flex;align-items:center;gap:10px;border:0;background:none;padding:0;cursor:pointer;font:inherit;color:inherit;text-align:left}
.hh-jump span{background:var(--head-g,linear-gradient(95deg,#fff,#ffd23f));-webkit-background-clip:text;background-clip:text;color:transparent}
.hh-jump i{font-style:normal;font-size:.55em;width:1.6em;height:1.6em;display:grid;place-items:center;border-radius:50%;color:#2a1a00;
  background:linear-gradient(180deg,#fff1a8,#ffcc33 55%,#f0a000);box-shadow:0 3px 0 #b06e00,0 6px 14px rgba(255,180,0,.3);transition:transform .2s}
.hh-jump:hover i{transform:translateY(3px)}
.levelmap{scroll-margin-top:12px}
/* "How to play" button + window */
.howbtn{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;font-family:var(--fd);padding:5px 12px 5px 8px;border-radius:999px;cursor:pointer;
  border:2px solid color-mix(in srgb,var(--yellow) 60%,var(--line));background:linear-gradient(180deg,rgba(255,204,51,.16),rgba(255,204,51,.04)),var(--chip);color:var(--paper)}
.howbtn i{font-style:normal}
.howbtn:hover{border-color:var(--yellow)}
.mbox:has(.hw){width:min(620px,100%)}
.mbody .hw{display:grid;gap:12px;text-align:left}
.hw-head{text-align:center}.hw-head h2{margin:0}.hw-head p{margin:4px 0 0;color:var(--muted);font-weight:600}
.hw-sec{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:12px 14px;border-radius:18px;background:var(--panel2);border:1.5px solid var(--line)}
.hw-ic{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:24px;background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.55),transparent 45%),linear-gradient(145deg,#a78bfa,#7c4dff 50%,#4f7cff);box-shadow:0 6px 14px rgba(124,77,255,.35)}
.hw-sec.quiz .hw-ic{background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.55),transparent 45%),linear-gradient(135deg,#67e8f9,#22d3ee 45%,#0ea5c6);box-shadow:0 6px 14px rgba(34,211,238,.35)}
.hw-sec.coin .hw-ic{background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.55),transparent 45%),linear-gradient(180deg,#fff1a8,#ffcc33 55%,#f0a000);box-shadow:0 6px 14px rgba(255,180,0,.35)}
.hw-sec.life .hw-ic{background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.55),transparent 45%),linear-gradient(135deg,#ff8fb1,#ff4d8d 50%,#e11d74);box-shadow:0 6px 14px rgba(255,77,141,.35)}
.hw-tx{min-width:0}
.hw-tx h3{margin:0;font-size:19px;color:var(--yellow)}
.hw-lead{margin:3px 0 0;font-weight:600;line-height:1.55}
.hw-tx ul{margin:6px 0 0;padding-left:18px;color:var(--muted);font-size:14px;line-height:1.55;display:grid;gap:3px}
.hw-guest{margin:0;padding:10px 12px;border-radius:14px;background:rgba(255,179,0,.14);border:1.5px solid rgba(255,179,0,.45);font-weight:700;text-align:center}
@media(max-width:480px){.hw-sec{grid-template-columns:1fr;gap:8px}.hw-ic{width:40px;height:40px;font-size:21px}}
/* guest: every option except the first levels shows a lock */
.navrow.guest .navtile{position:relative;opacity:.72}
.navrow.guest .navtile::before{content:"🔒";position:absolute;right:6px;top:5px;font-size:13px;z-index:2}
.lvl .lvl-side .btn.login-play,.lvl.locked .lvl-side .btn.login-play{background:linear-gradient(180deg,#ffe680,#ffcc33 55%,#f5a300);color:#2a1a00;box-shadow:0 5px 0 #b06e00,0 10px 22px rgba(255,180,0,.3);text-shadow:none}
/* lives line: easy to read in both modes */
.lifebar b{color:#ffe066;text-shadow:0 1px 0 rgba(0,0,0,.35)}
.lifebar.locked b{color:#fff}
[data-theme="light"] .lifebar b{color:#b45309;text-shadow:none}
[data-theme="light"] .lifebar.locked b{color:#9f1239}
/* landing video on / off */
.hero-vid{position:absolute;left:12px;bottom:12px;z-index:3;display:inline-flex;align-items:center;gap:6px;padding:5px 12px 5px 9px;border-radius:999px;cursor:pointer;
  border:1.5px solid rgba(255,255,255,.55);background:rgba(10,14,40,.78);color:#fff;font-family:var(--fd);font-weight:700;font-size:13px;line-height:1.2}
.hero-vid:hover{border-color:#ffd23f}
.hero-vid:not(.on){background:rgba(190,24,60,.9);border-color:#fff}
@media(max-width:640px){.hero-vid{left:9px;bottom:9px;font-size:12px;padding:4px 10px 4px 8px}}
/* gift shop: coin progress on every gift, quantity, cart */
.gift-prog{display:grid;gap:5px}
.gp-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;color:var(--muted);font-weight:600}
.gp-top b{font-family:var(--fd);color:var(--paper);font-variant-numeric:tabular-nums}
.gp-bar{position:relative;height:10px;border-radius:999px;background:rgba(3,6,20,.4);box-shadow:inset 0 1px 3px rgba(0,0,0,.4),0 0 0 1px var(--line);overflow:hidden}
.gp-bar i{position:absolute;inset:0 auto 0 0;border-radius:999px;background:linear-gradient(90deg,#22d3ee,#5ff0dc 60%,#ffd23f);min-width:6px}
.gift-prog.full .gp-bar i{background:linear-gradient(90deg,#22c55e,#86efac)}
.gift-prog small{font-size:12.5px;font-weight:700}
.gift-prog small.need{color:var(--bad-txt,#ff8a80)}.gift-prog small.ok{color:var(--green)}
[data-theme="light"] .gp-bar{background:#e4e9f7}
.item.in-cart{border-color:color-mix(in srgb,var(--yellow) 70%,transparent)}
.owned.cart-tag{background:linear-gradient(180deg,#fff1a8,#ffcc33 60%,#f0a000);color:#2a1a00}
.cartbar{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:6;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 24px;padding:12px 14px;border-radius:18px;
  background:linear-gradient(135deg,rgba(44,30,110,.97),rgba(14,20,56,.97));border:2px solid rgba(255,204,51,.55);color:#f5f7ff;box-shadow:0 14px 34px rgba(3,6,20,.45)}
.cb-info{display:grid;gap:4px;min-width:min(100%,260px);flex:1}
.cb-info>b{font-family:var(--fd);font-size:17px;color:#ffd84a}
.cb-info>span{font-size:13.5px;color:#c9d2f5}.cb-info>span b{color:#fff;font-family:var(--fd)}
.cb-info .coin-ic{width:18px;height:18px;font-size:10px;display:inline-grid;vertical-align:-3px}
.cb-info small.need{color:#ffb3ad;font-weight:700}
.cb-btns{display:flex;gap:8px;align-items:center}
.cartbar .btn.ghost{color:#f5f7ff}
.cart-lines{list-style:none;margin:0;padding:0;display:grid;gap:6px;text-align:left}
.cart-lines li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;border-radius:12px;background:var(--ink2);border:1.5px solid var(--line)}
.cart-lines li.tot{background:none;border-style:dashed;font-family:var(--fd);font-weight:800}
.cart-lines b{display:inline-flex;align-items:center;gap:5px;font-family:var(--fd);color:var(--coinq-txt,#5ff0dc);white-space:nowrap}
.cart-lines .coin-ic{width:18px;height:18px;font-size:10px}
.lb-table td.lb-tnum .coin-ic,.pod-val .coin-ic{width:18px;height:18px;font-size:10px;display:inline-grid;vertical-align:-3px}
/* claimed gifts: Pending / Delivered */
.mine-list.claimed li{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px 12px;align-items:center}
.cl-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:21px;background:var(--ink2);box-shadow:inset 0 0 0 1.5px var(--line)}
.cl-who{min-width:0}.cl-who b{display:block;font-family:var(--fd);overflow-wrap:anywhere}.cl-who small{color:var(--muted);font-size:12.5px}
.gift-st{justify-self:end;white-space:nowrap;padding:4px 12px;border-radius:999px;font-family:var(--fd);font-weight:800;font-size:13px;border:1.5px solid}
.gift-st.pending{color:#ffd166;background:rgba(255,179,0,.14);border-color:rgba(255,179,0,.55)}
.gift-st.delivered{color:#7dffb0;background:rgba(34,197,94,.16);border-color:rgba(34,197,94,.6)}
.mine-list.claimed li.st-delivered{border-color:color-mix(in srgb,var(--green) 55%,var(--line))}
[data-theme="light"] .gift-st.pending{color:#92400e;background:#fff4d6;border-color:#f0b429}
[data-theme="light"] .gift-st.delivered{color:#166534;background:#dcfce7;border-color:#4ade80}
@media(max-width:520px){.mine-list.claimed li{grid-template-columns:auto 1fr auto}.mine-list.claimed .gift-st{grid-column:2/-1;justify-self:start}}
/* delivery form */
.gf-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gf-h{margin:4px 0 -2px;font-family:var(--fd);font-size:16px;color:var(--yellow)}
select.inp{appearance:auto;cursor:pointer}
.gift-form .f span{font-size:13.5px}
@media(max-width:480px){.gf-grid{grid-template-columns:1fr}}

/* ---------------- 2026-11-21: অভীক্ষা top bar on every page · coins beside "Choose a level" · smaller lives strip ---------------- */
/* the logo: white-text version on dark, black-text version in light mode */
.ovk{display:block;height:44px;width:auto;max-width:100%}
.ovk-l{display:none}
[data-theme="light"] .ovk-d{display:none}
[data-theme="light"] .ovk-l{display:block}
.tb-logo{display:flex;align-items:center;min-width:0}
/* Home: logo · language / theme / sound · student + logout.   Other pages: logo · student */
.hbar .wrap.tb-row{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"logo mid right";align-items:center;gap:10px 16px}
.tb-row .tb-logo{grid-area:logo}
.tb-row .tb-mid{grid-area:mid;justify-self:center;display:flex;align-items:center;gap:8px}
.tb-row .tb-right{grid-area:right;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.hbar .wrap.tb-row:not(.home-tb){grid-template-columns:auto 1fr;grid-template-areas:"logo right"}
.tb-row:not(.home-tb)>.tb-user{grid-area:right;justify-self:end}
.tb-user{display:flex;align-items:center;gap:10px;min-width:0;max-width:min(340px,100%);padding:4px 14px 4px 4px;border-radius:999px;background:var(--chip);border:1.5px solid var(--line);text-align:left}
.tb-user:hover{border-color:var(--teal)}
.tb-user .avatar{width:38px;height:38px;border-radius:50%;font-size:17px;border-width:2px}
.tb-txt{display:grid;min-width:0;line-height:1.2}
.tb-txt b{display:block;font-family:var(--fd);font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tb-txt small{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* other pages: Back + the page's own coins under the top bar */
.subbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-block:12px 0}
/* Home: the coins sit right of "Choose a level" */
.hh-left{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;min-width:0}
.hh-coins{display:flex;gap:8px;flex-wrap:wrap}
/* the lives strip: one slim line */
.lifebar{padding:6px 12px;gap:4px 10px;font-size:12.5px;border-radius:12px;margin-bottom:10px}
.lifebar .lb-h{font-size:14px}
.lifebar b{font-size:13.5px}
.lifebar small.help{font-size:11px}
/* landing: the অভীক্ষা logo top-left */
.at-brand img.ovk-brand{width:auto;height:42px;border-radius:0;background:none;box-shadow:none}
/* phones: row 1 logo + student (+ logout), row 2 language / theme / sound */
@media(max-width:680px){
  .hbar .wrap.tb-row.home-tb{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"logo right" "mid mid";gap:8px 10px}
  .tb-row .tb-mid{justify-self:center}
  .ovk{height:34px}
  .tb-user{padding:3px 10px 3px 3px;gap:8px}
  .tb-user .avatar{width:32px;height:32px;font-size:15px}
  .tb-txt b{font-size:13.5px}.tb-txt small{font-size:11px}
  .tb-row .tb-right{gap:6px}
  .tb-row .tb-right .iconbtn{width:38px;height:38px}
  .at-brand img.ovk-brand{height:34px}
}
@media(max-width:380px){.ovk{height:28px}.at-brand img.ovk-brand{height:30px}.tb-user{max-width:62vw}}

/* ---------------- 2026-11-21: Home top bar = logo · ☀️/🌙 · student · ⚙️ settings · logout; the Settings window ---------------- */
.hbar .wrap.tb-row.home-tb{grid-template-columns:auto 1fr auto auto;grid-template-areas:"logo mid user acts"}
.home-tb>.tb-user{grid-area:user;justify-self:end}
.tb-acts{grid-area:acts;display:flex;align-items:center;gap:8px}
/* the light / dark switch: the knob sits under the current mode */
.tb-theme{position:relative;width:66px;height:34px;padding:0 7px;border-radius:999px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  border:1.5px solid rgba(255,255,255,.22);background:linear-gradient(180deg,#bfe3ff,#eaf5ff);box-shadow:inset 0 2px 5px rgba(0,0,0,.15),0 4px 12px rgba(3,6,20,.2)}
.tb-theme.is-dark{background:linear-gradient(180deg,#121a45,#26307a);border-color:rgba(255,255,255,.2)}
[data-theme="light"] .tb-theme{border-color:rgba(40,52,110,.2)}
.tt-ic{position:relative;z-index:2;font-size:14px;line-height:1}
.tt-knob{position:absolute;z-index:1;top:3px;left:3px;width:26px;height:26px;border-radius:50%;transition:transform .25s cubic-bezier(.3,1.4,.5,1);
  background:radial-gradient(circle at 35% 30%,#fff,#ffe08a 60%,#ffb300);box-shadow:0 2px 6px rgba(0,0,0,.3)}
.tb-theme.is-dark .tt-knob{transform:translateX(32px);background:radial-gradient(circle at 35% 30%,#fff,#c7d2fe 60%,#818cf8)}
.tb-theme:hover{filter:brightness(1.06)}
/* phones: row 1 logo · ☀️/🌙 · ⚙️ · logout, row 2 the student */
@media(max-width:680px){
  .hbar .wrap.tb-row.home-tb{grid-template-columns:auto 1fr auto;grid-template-areas:"logo mid acts" "user user user";gap:8px 10px}
  .home-tb>.tb-user{justify-self:end;max-width:100%}
  .tb-theme{width:60px;height:32px}.tt-knob{width:24px;height:24px}.tb-theme.is-dark .tt-knob{transform:translateX(28px)}
  .tb-acts .iconbtn{width:38px;height:38px}
}
/* the Settings window */
.mbox:has(.setw){width:min(520px,100%)}
.mbody .setw{display:grid;gap:14px;text-align:left}
.setw h2{text-align:center;margin:0}
.set-list{display:grid;gap:8px}
.set-row{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:16px;cursor:pointer;
  background:var(--panel2);border:1.5px solid var(--line);color:var(--paper);font:inherit;text-align:left}
.set-row.lang{grid-template-columns:auto 1fr auto;cursor:default}
.set-row:not(.lang):hover{border-color:var(--teal)}
.set-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:20px;background:var(--ink2);box-shadow:inset 0 0 0 1.5px var(--line)}
.set-tx{display:grid;min-width:0}
.set-tx b{font-family:var(--fd);font-size:16px}
.set-tx small{color:var(--muted);font-size:12.5px;line-height:1.35}
.set-st{font-family:var(--fd);font-weight:800;font-size:13px;color:var(--muted);white-space:nowrap}
.set-row[aria-checked="true"] .set-st{color:var(--green)}
.set-sw{position:relative;width:46px;height:26px;border-radius:999px;background:var(--line);transition:background .2s;flex:none}
.set-sw::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.35);transition:transform .2s}
.set-sw.on{background:var(--green)}
.set-sw.on::after{transform:translateX(20px)}
.set-seg{display:inline-flex;border-radius:12px;overflow:hidden;border:1.5px solid var(--line)}
.set-seg button{border:0;background:var(--chip);color:var(--muted);padding:8px 16px;font-family:var(--fd);font-weight:800;font-size:15px;cursor:pointer}
.set-seg button.on{background:linear-gradient(180deg,#fff1a8,#ffcc33 60%,#f0a000);color:#2a1a00}
@media(max-width:420px){
  .set-row{grid-template-columns:auto 1fr auto;gap:10px;padding:10px 12px}.set-st{display:none}
  .set-row.lang{grid-template-columns:auto 1fr}.set-row.lang .set-seg{grid-column:1/-1;justify-self:start}
}

/* ---------------- 2026-11-21: the Home top bar stays on ONE line on every device ----------------
   phones: logo · ☀️/🌙 · student (name cut with … when long) · ⚙️ · logout — the pieces just get a little smaller */
@media(max-width:680px){
  .hbar .wrap.tb-row.home-tb{grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:"logo mid user acts";gap:6px}
  .home-tb>.tb-user{justify-self:end;max-width:100%;min-width:0}
  .home-tb .tb-mid{justify-self:start}
  .ovk{height:28px}
  .tb-theme{width:50px;height:28px;padding:0 5px}.tt-ic{font-size:12px}.tt-knob{width:22px;height:22px;top:2px;left:2px}.tb-theme.is-dark .tt-knob{transform:translateX(22px)}
  .tb-acts{gap:6px}.tb-acts .iconbtn{width:34px;height:34px;border-radius:10px}.tb-acts .iconbtn svg{width:18px;height:18px}
  .tb-user{gap:6px;padding:2px 9px 2px 2px}.tb-user .avatar{width:30px;height:30px;font-size:14px}
  .tb-txt b{font-size:13px}.tb-txt small{font-size:10.5px}
}
@media(max-width:380px){
  .hbar .wrap.tb-row.home-tb{gap:5px}
  .ovk{height:24px}
  .tb-theme{width:44px;height:26px}.tt-ic{font-size:11px}.tt-knob{width:20px;height:20px}.tb-theme.is-dark .tt-knob{transform:translateX(18px)}
  .tb-acts{gap:5px}.tb-acts .iconbtn{width:32px;height:32px}.tb-acts .iconbtn svg{width:17px;height:17px}
  .tb-user .avatar{width:28px;height:28px;font-size:13px}.tb-txt b{font-size:12.5px}
}

/* ---------------- 2026-11-21: under "Choose a level" on phones — ৳ coins · ? coins · How to play · Online on ONE line ----------------
   (desktop: the coins stay beside the heading, How to play + Online on the right). The coin numbers never shrink; the
   two buttons get smaller and, on a very narrow phone, cut their text with … */
@media(max-width:680px){
  .home-head{display:grid;grid-template-columns:auto auto minmax(0,auto) minmax(0,auto) 1fr;align-items:center;gap:8px 6px}
  .home-head .hh-left,.home-head .hh-right,.home-head .hh-coins{display:contents}
  .home-head h2{grid-column:1/-1}
  .home-head .coins{padding:3px 9px 3px 3px;gap:5px;font-size:14px}
  .home-head .coins .coin-ic{width:21px;height:21px;font-size:11px}
  .home-head .howbtn{min-width:0;font-size:12px;padding:4px 10px 4px 7px;gap:4px}
  .home-head .net{min-width:0;font-size:12px;padding:3px 9px}
  .home-head .howbtn span,.home-head .net{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .home-head .howbtn span{min-width:0}
}
@media(max-width:380px){
  .home-head{gap:8px 5px}
  .home-head .coins{padding:2px 7px 2px 2px;gap:4px;font-size:13px}
  .home-head .coins .coin-ic{width:19px;height:19px;font-size:10px}
  .home-head .howbtn{font-size:11px;padding:4px 8px 4px 6px}
  .home-head .net{font-size:11px;padding:3px 7px}
}

/* ---------------- 2026-11-21: ☀️/🌙 right beside the student · the logo in a frame, a button back to the dashboard ---------------- */
.hbar .wrap.tb-row.home-tb{grid-template-columns:auto minmax(0,1fr) auto minmax(0,max-content) auto;grid-template-areas:"logo . mid user acts"}
.home-tb .tb-mid{justify-self:end}
/* the frame: a white line on dark, a dark line in light mode */
button.tb-logo{display:flex;align-items:center;padding:4px 10px;border:1.5px solid rgba(255,255,255,.85);border-radius:12px;background:transparent;cursor:pointer;transition:border-color .2s,box-shadow .2s}
button.tb-logo:hover{border-color:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.14)}
[data-theme="light"] button.tb-logo{border-color:#141b3a}
[data-theme="light"] button.tb-logo:hover{box-shadow:0 0 0 3px rgba(20,27,58,.14)}
.tb-logo .ovk{height:38px}
.at-brand img.ovk-brand{height:36px;padding:4px 10px;border:1.5px solid rgba(255,255,255,.85);border-radius:12px;box-sizing:content-box}
@media(max-width:680px){
  button.tb-logo{padding:3px 7px;border-radius:10px}.tb-logo .ovk{height:26px}
  .at-brand img.ovk-brand{height:28px;padding:3px 7px;border-radius:10px}
}
@media(max-width:380px){button.tb-logo{padding:2px 5px;border-radius:8px}.tb-logo .ovk{height:22px}}

