/* LootRadar styles. Light + dark follow the system unless the visitor picks one. */
:root {
  --bg: #f6f5f1;
  --bg-2: #efede7;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --line: #e4e1d8;
  --line-2: #d5d1c5;
  --text: #16181d;
  --muted: #5d6270;
  --faint: #8a8f9c;
  --accent: #0a8f5c;
  --accent-ink: #ffffff;
  --accent-soft: #dff5ea;
  --accent-2: #0b6b8a;
  --warn: #b45309;
  --warn-soft: #fdecd0;
  --danger: #b42318;
  --ai: #5b3fd1;
  --ai-soft: #ebe6ff;
  --shadow: 0 1px 2px rgba(20, 22, 28, 0.05), 0 8px 24px -12px rgba(20, 22, 28, 0.18);
  --shadow-hover: 0 2px 4px rgba(20, 22, 28, 0.06), 0 18px 38px -16px rgba(20, 22, 28, 0.28);
  --radius: 16px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Tamil", "Noto Sans Sinhala", sans-serif;
  --header-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0f13; --bg-2: #12151a; --surface: #151922; --surface-2: #1a1f2a; --line: #252b38; --line-2: #323a4a;
    --text: #eceef3; --muted: #a3a9b8; --faint: #747b8b;
    --accent: #2fd596; --accent-ink: #04150d; --accent-soft: #11382a; --accent-2: #5cc8e8;
    --warn: #f5b04a; --warn-soft: #3a2a10; --danger: #ff8a7d; --ai: #b3a3ff; --ai-soft: #2a2350;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.5), 0 18px 38px -16px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0f13; --bg-2: #12151a; --surface: #151922; --surface-2: #1a1f2a; --line: #252b38; --line-2: #323a4a;
  --text: #eceef3; --muted: #a3a9b8; --faint: #747b8b;
  --accent: #2fd596; --accent-ink: #04150d; --accent-soft: #11382a; --accent-2: #5cc8e8;
  --warn: #f5b04a; --warn-soft: #3a2a10; --danger: #ff8a7d; --ai: #b3a3ff; --ai-soft: #2a2350;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.5), 0 18px 38px -16px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100vh; overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
body { top: 0 !important; } /* Google Translate pushes the page down; undo that */
.skiptranslate iframe, iframe.skiptranslate, #goog-gt-tt, .goog-te-banner-frame { display: none !important; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }

/* progress + top */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.1s linear; }

/* header */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, 0.4); }
.header .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; font-size: 1.2rem; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--accent-ink);
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent) 60%, var(--accent-2)); box-shadow: 0 6px 16px -6px var(--accent); }
.brand-mark .icon { width: 20px; height: 20px; stroke-width: 2; }
.brand small { font-weight: 600; color: var(--faint); font-size: 0.68rem; letter-spacing: 0.04em; display: block; line-height: 1; margin-top: 2px; text-transform: uppercase; }
.hbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-weight: 600; font-size: 0.9rem; transition: transform 0.15s, border-color 0.15s, background 0.15s; }
.hbtn { text-decoration: none; }
.hbtn:hover { border-color: var(--line-2); transform: translateY(-1px); }
.hbtn .count { background: var(--accent); color: var(--accent-ink); min-width: 20px; height: 20px; border-radius: 10px; font-size: 0.72rem; display: inline-grid; place-items: center; padding: 0 6px; }
.hbtn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.hbtn.primary:hover { background: color-mix(in srgb, var(--text) 88%, var(--accent)); }
.lang { position: relative; }
.lang select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 30px 0 36px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 0.88rem; max-width: 170px; cursor: pointer; }
.lang .icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.lang::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* hero */
.hero { padding: 40px 0 8px; }
.hero-grid { display: grid; gap: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 2.2s ease-out infinite; }
.pulse.warn { background: var(--warn); } .pulse.warn::after { border-color: var(--warn); }
@keyframes ping { 0% { transform: scale(0.4); opacity: 0.8; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.04; letter-spacing: -0.035em; margin: 12px 0 14px; font-weight: 800; max-width: 16ch; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 52ch; margin: 0 0 18px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.pill b { color: var(--text); }
.pill .icon { color: var(--accent); }
.pill.fire .icon { color: #ea580c; }

/* ask */
.ask { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.ask::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px; background: radial-gradient(circle, color-mix(in srgb, var(--ai) 22%, transparent), transparent 65%); pointer-events: none; }
.ask h2 { font-size: 1.05rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; letter-spacing: -0.01em; }
.ask h2 .icon { color: var(--ai); }
.ask p { margin: 0 0 12px; color: var(--muted); font-size: 0.9rem; }
.ask-form { display: flex; gap: 8px; position: relative; }
.ask-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 0.98rem; }
.ask-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 14px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; transition: transform 0.15s, filter 0.15s, box-shadow 0.15s; box-shadow: 0 8px 20px -10px var(--accent); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.suggest button { border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: 5px 11px; font-size: 0.8rem; color: var(--muted); transition: all 0.15s; }
.suggest button:hover { color: var(--text); border-color: var(--accent); }
.ask-out { margin-top: 14px; display: grid; gap: 10px; }
.ask-answer { background: var(--ai-soft); color: var(--text); border-radius: 14px; padding: 12px 14px; font-size: 0.95rem; animation: rise 0.35s ease both; }
.ask-picks { display: grid; gap: 8px; }
.mini { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.mini:hover { border-color: var(--accent); transform: translateX(2px); }
.mini strong { display: block; font-size: 0.92rem; line-height: 1.3; }
.mini span { color: var(--muted); font-size: 0.8rem; }
.mini .icon { margin-left: auto; color: var(--faint); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* toolbar */
.toolbar { position: sticky; top: var(--header-h); z-index: 40; padding: 12px 0; background: linear-gradient(var(--bg) 70%, transparent); }
.toolbar-in { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; flex: 1 1 100%; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 0.88rem; color: var(--muted); transition: all 0.15s; white-space: nowrap; }
.tab:hover { color: var(--text); border-color: var(--line-2); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab small { opacity: 0.7; font-weight: 700; }
.searchbox { position: relative; flex: 1 1 220px; }
.searchbox input { width: 100%; height: 40px; padding: 0 12px 0 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.searchbox input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.searchbox .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.sort { height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 0.88rem; }

/* layout */
.layout { display: grid; gap: 24px; padding-top: 8px; padding-bottom: 56px; }
@media (min-width: 1100px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; } .hero { padding-top: 56px; } }
.aside { display: none; }
@media (min-width: 1100px) { .aside { display: block; } .aside-sticky { position: sticky; top: calc(var(--header-h) + 76px); display: grid; gap: 18px; justify-items: center; } }

/* grid of cards */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1), box-shadow 0.25s, border-color 0.2s; content-visibility: auto; contain-intrinsic-size: auto 420px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-2); }
.card.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow); } 30% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent); } }
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.2,.7,.2,1); }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 8.5; min-height: 150px; background: var(--bg-2); overflow: hidden; }
.thumb img { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; object-position: center; transition: transform 0.5s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.thumb.logo { display: grid; place-items: center; }
.thumb.logo img.domain-logo { width: 76px; height: 76px; object-fit: contain; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.thumb.ph { display: grid; place-items: center; color: color-mix(in srgb, #fff 85%, transparent); }
.thumb.ph > .icon { width: 44px; height: 44px; stroke-width: 1.4; opacity: 0.9; }
.thumb.course { background: linear-gradient(135deg, #0b6b8a, #0a8f5c); }
.thumb.tool { background: linear-gradient(135deg, #5b3fd1, #0b6b8a); }
.thumb.game { background: linear-gradient(135deg, #b4236a, #5b3fd1); }
.badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; right: 52px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(12, 14, 18, 0.72); color: #fff; backdrop-filter: blur(6px); }
.badge.new { background: var(--accent); color: var(--accent-ink); }
.badge.ai { background: var(--ai); color: #fff; }
.badge.soon { background: var(--warn); color: #fff; }
.save { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(12, 14, 18, 0.72); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: transform 0.15s, background 0.15s; }
.save:hover { transform: scale(1.08); }
.save[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.save[aria-pressed="true"] .icon { fill: currentColor; }
.body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.meta { display: flex; gap: 8px; align-items: center; color: var(--faint); font-size: 0.76rem; font-weight: 600; flex-wrap: wrap; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.card h3 { margin: 0; font-size: 1.04rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 0.9rem; flex: 1; }
.foot { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.get { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; font-size: 0.92rem; transition: filter 0.15s, transform 0.15s; }
.get:hover { filter: brightness(1.07); transform: translateY(-1px); }
.iconbtn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); display: grid; place-items: center; color: var(--muted); transition: all 0.15s; }
.iconbtn:hover { color: var(--text); border-color: var(--line-2); }
.aud { padding: 2px 8px; border-radius: 6px; background: var(--bg-2); color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.worth { text-decoration: line-through; color: var(--faint); }

/* featured pick */
.pick { grid-column: 1 / -1; display: grid; border-radius: 20px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); box-shadow: var(--shadow); }
@media (min-width: 720px) { .pick { grid-template-columns: 0.9fr 1.1fr; } }
.pick .thumb { aspect-ratio: auto; min-height: 180px; }
.pick .body { padding: 20px; gap: 10px; }
.pick .label { color: var(--accent); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.pick h3 { font-size: 1.35rem; }

/* ad slots */
.ad-slot { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.ad-slot > span, .ad-tag { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.ad-box { display: flex; justify-content: center; align-items: center; width: 100%; background: repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--line) 35%, transparent) 10px 11px); border-radius: 12px; border: 1px dashed var(--line); overflow: hidden; }
.ad-box iframe { border: 0; max-width: 100%; display: block; background: transparent; }
.ad-box.native { min-height: 120px; padding: 8px; background: none; border-style: solid; }
.ad-slot[data-show="mobile"] { display: flex; } .ad-slot[data-show="tablet"], .ad-slot[data-show="wide"] { display: none; }
@media (min-width: 560px) { .ad-slot[data-show="mobile"] { display: none; } .ad-slot[data-show="tablet"] { display: flex; } }
@media (min-width: 840px) { .ad-slot[data-show="wide"] { display: flex; } .ad-slot[data-show="tablet"] { display: none; } }
.is-premium .ad-slot, .is-premium [data-support] { display: none !important; }
.free-ad-note { font-size: 0.78rem; color: var(--faint); text-align: center; margin: 8px 0 0; }

/* side cards */
.sidecard { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.sidecard h4 { margin: 0 0 6px; font-size: 0.98rem; display: flex; align-items: center; gap: 8px; }
.sidecard h4 .icon { color: var(--accent); }
.sidecard p { margin: 0 0 12px; font-size: 0.86rem; color: var(--muted); }
.sidecard .btn { height: 42px; width: 100%; font-size: 0.9rem; }
.ptsbar { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; margin: 8px 0 12px; }
.ptsbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width 0.5s ease; }

/* trust strip */
.trust { display: grid; gap: 12px; padding: 36px 0; border-top: 1px solid var(--line); margin-top: 8px; }
@media (min-width: 800px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.trust div { display: flex; gap: 12px; align-items: flex-start; }
.trust .icon { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.trust b { display: block; margin-bottom: 2px; }
.trust span { color: var(--muted); font-size: 0.9rem; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.88rem; background: var(--bg-2); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--text); text-decoration: underline; }
.footer p { margin: 0; flex: 1 1 100%; font-size: 0.8rem; color: var(--faint); }

/* modal + toast + misc */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(8, 10, 14, 0.62); backdrop-filter: blur(4px); animation: fade 0.2s ease; }
.modal-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); animation: rise 0.3s ease; position: relative; }
.modal-card h3 { margin: 0 0 6px; font-size: 1.25rem; letter-spacing: -0.02em; }
.modal-card p { color: var(--muted); font-size: 0.93rem; margin: 0 0 14px; }
.modal-x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); display: grid; place-items: center; }
.modal-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--muted); font-size: 0.88rem; }
.ring { width: 96px; height: 96px; margin: 8px auto 14px; position: relative; }
.ring svg { transform: rotate(-90deg); } .ring circle { fill: none; stroke-width: 7; } .ring .bg { stroke: var(--bg-2); } .ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.center { text-align: center; }
.stack { display: grid; gap: 10px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--text); color: var(--bg); padding: 11px 16px; border-radius: 14px; font-size: 0.9rem; font-weight: 600; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.5); animation: rise 0.3s ease; display: flex; gap: 10px; align-items: center; }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: all 0.25s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.empty, .errbox { text-align: center; padding: 48px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 18px; grid-column: 1 / -1; }
.empty .icon, .errbox .icon { width: 36px; height: 36px; color: var(--faint); margin-bottom: 8px; }
.skel { height: 330px; border-radius: var(--radius); background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }
.more { grid-column: 1 / -1; display: flex; justify-content: center; padding-top: 6px; }
.btn.small { height: 40px; }

/* simple pages (privacy, sponsor) */
.page { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); max-width: none; }
.page h2 { margin-top: 32px; letter-spacing: -0.02em; }
.page p, .page li { color: var(--muted); }
.page a { color: var(--accent); }
.notice { border: 1px solid var(--line-2); background: var(--surface); border-radius: 16px; padding: 16px 18px; }
.notice.warn { border-color: color-mix(in srgb, var(--warn) 50%, var(--line)); background: color-mix(in srgb, var(--warn) 9%, var(--surface)); }
.ad-grid { display: grid; gap: 18px; justify-items: center; margin: 22px 0; }

@media (max-width: 640px) {
  .header .wrap { gap: 8px; }
  .hbtn .lbl { display: none; }
  .hbtn { padding: 0 11px; }
  .lang select { max-width: 120px; padding-left: 34px; }
  .brand small { display: none; }
  .brand { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .ask-form { flex-direction: column; }
  .ask-form .btn { width: 100%; }
  .hero { padding-top: 24px; }
}
@media (max-width: 719px) { .toolbar { position: static; background: none; } }
@media (max-width: 480px) {
  .ask-form input { flex: none; width: 100%; }
  .lang select { max-width: 96px; }
}
a.btn { text-decoration: none; }
.btn.ghost { height: auto; min-height: 48px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.ad-grid .ad-slot[data-ad="native"] { width: min(100%, 560px); }
