/* mesolens.app: one night-market scroll. The app's own world: deep navy, the meso coin's gold,
   Nunito, and the in-game price badges (green deal, amber above market, red overpriced). */
@font-face {
  font-family: 'Nunito';
  src: url('/assets/nunito.woff2') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  --night: #0a0f21;
  --deep: #10172f;
  --panel: #151e3c;
  --panel-hi: #1b2650;
  --line: rgba(150, 172, 255, 0.14);
  --ink: #eef1fb;
  --muted: #a9b2d2;
  --faint: #737ea3;
  --gold: #f39a2b;
  --gold-hi: #ffbe5c;
  --gold-ink: #2a1500;
  --deal: #3fe08e;
  --above: #ffb547;
  --over: #ff6b6b;
  --sans: 'Nunito', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'Consolas', monospace;
  --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 500 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 900; font-size: clamp(38px, 6vw, 64px); }
h2 { font-weight: 900; font-size: clamp(28px, 4vw, 42px); }
h3 { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 800; color: var(--gold-hi); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---- the bar at the top ---- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(10, 15, 33, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--night); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; font-size: 21px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--gold-hi); font-weight: 900; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { color: var(--muted); font-weight: 700; font-size: 15px; }
.top nav a:hover { color: var(--ink); text-decoration: none; }
.top nav a.btn, .top nav a.btn:hover { color: var(--gold-ink); }
@media (max-width: 720px) { .top nav .opt { display: none; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 800; font-size: 17px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 60%, #e07f14 100%); color: var(--gold-ink); border-color: #b9650d; box-shadow: 0 8px 28px rgba(243, 154, 43, 0.28); }
.btn-gold:hover { box-shadow: 0 10px 34px rgba(243, 154, 43, 0.4); }
.btn-ghost { background: rgba(150, 172, 255, 0.08); color: var(--ink); border-color: var(--line); }
.btn small { font-weight: 700; opacity: 0.75; font-size: 13px; }
.btn-sm { padding: 8px 14px; font-size: 15px; border-radius: 10px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding-block: 72px 56px; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(243, 154, 43, 0.18), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--gold-hi); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--deal); box-shadow: 0 0 10px rgba(63, 224, 142, 0.7); }
.shopframe { position: relative; border-radius: 16px; padding: 10px; background: linear-gradient(160deg, #2c5a95, #1f3f6e); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.shopframe img { border-radius: 10px; width: 100%; image-rendering: auto; }
.shopframe .cap { position: absolute; left: 16px; bottom: -14px; background: var(--deep); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 800; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-block: 44px 40px; } }

/* ---- badges, as in the game ---- */
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: grid; gap: 1px; padding: 8px 12px 8px 14px; border-radius: 10px; background: #0c1226; border: 1px solid var(--line); border-left: 3px solid var(--c); min-width: 168px; }
.badge b { color: var(--c); font-size: 14px; display: flex; justify-content: space-between; gap: 18px; }
.badge span { color: var(--faint); font-size: 12.5px; font-family: var(--mono); }
.badge.deal { --c: var(--deal); } .badge.above { --c: var(--above); } .badge.over { --c: var(--over); }

/* ---- sections ---- */
section { padding-block: 72px; }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.band { background: linear-gradient(180deg, var(--deep), var(--night)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* features: picture and words, side by side, alternating */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 28px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .media { order: 2; }
.feature .words { display: grid; gap: 14px; min-width: 0; }
.feature .words p { color: var(--muted); }
.feature .media { min-width: 0; }
.feature .media img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); margin-inline: auto; }
.tier-tag { justify-self: start; font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(243, 154, 43, 0.14); color: var(--gold-hi); border: 1px solid rgba(243, 154, 43, 0.35); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 3px; top: 0.55em; width: 11px; height: 6px; border-left: 2.5px solid var(--deal); border-bottom: 2.5px solid var(--deal); transform: rotate(-45deg); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 22px; } .feature:nth-child(even) .media { order: 0; } }

.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.more div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; gap: 6px; }
.more b { font-size: 17px; }
.more span { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .more { grid-template-columns: 1fr; } }

/* safe by design */
.safe { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.safe .col { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; display: grid; gap: 14px; align-content: start; }
.safe .col.no .ticks li::before { width: 12px; height: 12px; border: 0; transform: none; top: 0.45em; background: linear-gradient(45deg, transparent 43%, var(--over) 43%, var(--over) 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--over) 43%, var(--over) 57%, transparent 57%); }
.fine { color: var(--faint); font-size: 14px; margin-top: 18px; max-width: 80ch; }
@media (max-width: 800px) { .safe { grid-template-columns: 1fr; } }

/* everyone makes the prices */
.crowd { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.earn { background: radial-gradient(120% 120% at 0% 0%, rgba(63, 224, 142, 0.12), transparent 60%), var(--panel); border: 1px solid rgba(63, 224, 142, 0.3); border-radius: 18px; padding: 26px 28px; display: grid; gap: 12px; }
.earn .big { font-size: 46px; font-weight: 900; line-height: 1; color: var(--deal); }
.bar { height: 10px; border-radius: 99px; background: rgba(150, 172, 255, 0.12); overflow: hidden; }
.bar i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, #2bbf75, var(--deal)); border-radius: 99px; }
@media (max-width: 860px) { .crowd { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; position: relative; color: var(--ink); transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease; }
a.plan:hover { text-decoration: none; transform: translateY(-3px); border-color: rgba(243, 154, 43, 0.7); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35); }
a.plan:hover .btn { transform: none; }
.plan .btn { justify-content: center; }
.plan.pop { border-color: rgba(243, 154, 43, 0.6); background: linear-gradient(180deg, rgba(243, 154, 43, 0.1), transparent 40%), var(--panel); }
.plan .flag { position: absolute; top: -12px; left: 22px; background: var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 40px; font-weight: 900; letter-spacing: -0.02em; }
.price span { color: var(--faint); font-weight: 700; }
.plan .ticks { font-size: 15px; align-content: start; }
.plan .ticks li.inc { color: var(--faint); }
.plan .ticks li.inc::before { border-color: var(--faint); }
.plan .how { color: var(--faint); font-size: 13.5px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan-note { margin-top: 22px; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.donate { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--muted); }
.donate b { color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-hi); font-weight: 900; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* last call */
.final { text-align: center; padding-block: 84px; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; left: 50%; top: 40%; width: 640px; max-width: 100%; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(243, 154, 43, 0.2), transparent); pointer-events: none; }
.final .wrap { position: relative; display: grid; gap: 22px; justify-items: center; }
.final img.coin { width: 88px; height: 88px; filter: drop-shadow(0 10px 30px rgba(243, 154, 43, 0.45)); }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--faint); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a { color: var(--muted); font-weight: 700; }

/* download page and the legal pages */
.page { padding-block: 56px 72px; }
.page .wrap { max-width: 860px; display: grid; gap: 24px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px 16px 62px; position: relative; color: var(--muted); }
.steps li b { color: var(--ink); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(243, 154, 43, 0.16); color: var(--gold-hi); font-weight: 900; display: grid; place-items: center; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; font-size: 15px; }
.kv dt { color: var(--faint); font-weight: 700; }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.legal { color: var(--muted); }
.legal h1 { color: var(--ink); font-size: clamp(30px, 4vw, 42px); margin-bottom: 6px; }
.legal h2 { color: var(--ink); font-size: 22px; margin: 26px 0 8px; }
.legal p, .legal li { margin: 0 0 10px; }
.legal ul { padding-left: 22px; }
.notfound { text-align: center; padding-block: 120px; display: grid; gap: 18px; justify-items: center; }

/* short benefits (home) */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perks div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.perks b { font-size: 17px; }
.perks span { color: var(--muted); }
@media (max-width: 900px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* subscribe pages */
.subpage { padding-block: 48px 64px; }
.subhead { display: grid; gap: 12px; max-width: 760px; margin: 0 auto 28px; }
.subhead h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.subprice { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.subprice small { color: var(--muted); font-size: 1em; font-weight: 700; }
.subforms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin-inline: auto; }
.subform { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.subform h2 { font-size: 20px; }
.subform label { display: grid; gap: 5px; font-size: 14px; font-weight: 700; }
.subform label small { color: var(--faint); font-weight: 600; }
.subform input[type=email], .subform input[type=password], .subform input:not([type]) { font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--deep); color: var(--ink); width: 100%; }
.subform input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.subform .ack { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; color: var(--muted); }
.subform .ack input { margin-top: 3px; accent-color: var(--gold); }
.subform .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 760px) { .subforms { grid-template-columns: 1fr; } }
/* Report a problem (the "website" field is for bots only: off screen) */
.report-form { max-width: 760px; margin-inline: auto; }
.report-form textarea, .report-form select, .report-form input[type=file] { font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--deep); color: var(--ink); width: 100%; }
.report-form textarea { resize: vertical; min-height: 120px; }
.report-form textarea:focus, .report-form select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.report-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.report-note { text-align: center; margin-top: 14px; }

/* see it in action (home): the pictures keep their shape at every width */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; align-items: start; }
.shots figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
.shots img { width: 100%; height: auto; aspect-ratio: 590 / 418; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); background: #0c1226; }
.shots figcaption { text-align: center; font-weight: 800; color: var(--ink); font-size: 16px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---- the account pages (/account, /app-login) ---- */
.top nav a.acct-link { display: inline-flex; }
.acct-page { padding-block: 40px 72px; min-height: 70vh; }
.acard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.acard h2 { font-size: 20px; margin: 0; }
.acard h3 { font-size: 16px; margin: 0; }
.acard p { margin: 0; }
.acard.narrow { max-width: 560px; margin-inline: auto; }
.acard.center { text-align: center; justify-items: center; }
.acard.loading { color: var(--muted); max-width: 560px; margin-inline: auto; text-align: center; }
.acct-in { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 40px; align-items: center; max-width: 980px; margin-inline: auto; }
.acct-in h1 { margin: 6px 0 10px; }
@media (max-width: 860px) { .acct-in { grid-template-columns: 1fr; gap: 24px; } }
/* the download page: signing in, then the buttons */
.dl-gate { margin-top: 18px; }
.dl-gate .acct-in { margin-inline: 0; max-width: none; gap: 28px; }
.dl-gate .acct-in h2 { margin: 0 0 8px; font-size: 24px; }
.dl-gate .acard.loading { margin-inline: 0; text-align: left; }
.dl-ready { max-width: 640px; }
.dl-ready .ctas { margin: 2px 0; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.acct-head h1 { margin: 4px 0 2px; font-size: clamp(26px, 4vw, 36px); }
.agrid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.acol { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 900px) { .agrid { grid-template-columns: 1fr; } }
.ahead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tierpill { font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(150, 172, 255, 0.12); color: var(--muted); white-space: nowrap; }
.tierpill.t1 { background: rgba(63, 224, 142, 0.14); color: var(--deal); }
.tierpill.t2 { background: rgba(243, 154, 43, 0.16); color: var(--gold-hi); }
.tierpill.t3 { background: rgba(255, 210, 87, 0.18); color: #ffd257; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 2px 8px; border-radius: 6px; margin-right: 6px; vertical-align: 2px; }
.tag.paused { background: rgba(150, 172, 255, 0.16); color: #c6d0ff; }
.tag.ends { background: rgba(255, 181, 71, 0.16); color: var(--above); }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.row-btns .btn { padding: 9px 16px; font-size: 15px; border-radius: 10px; }
.btn-danger { background: rgba(255, 107, 107, 0.14); color: #ffb0b0; border-color: rgba(255, 107, 107, 0.4); }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--gold-hi); font: inherit; font-weight: 700; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.acct-err { color: #ffb0b0; background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255, 107, 107, 0.3); border-radius: 10px; padding: 9px 12px; margin: 0 0 12px; }
.acct-ok { color: #b9f5d4; background: rgba(63, 224, 142, 0.1); border: 1px solid rgba(63, 224, 142, 0.3); border-radius: 10px; padding: 9px 12px; margin: 0 0 12px; }
.acard .acct-err, .acard .acct-ok { margin: 0; }
.abox { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 10px; }
.abox.danger { border-color: rgba(255, 107, 107, 0.35); }
.abox input, .aform input:not([type=checkbox]), .sel input, .sel select, .rfilters select { width: 100%; background: var(--night); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; }
.sel { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.sel small, .aform small { color: var(--faint); font-weight: 600; }
.aform { display: grid; gap: 12px; }
.aform label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.aform .ack { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; color: var(--muted); }
.aform .ack input { margin-top: 3px; }
.seg { display: inline-flex; background: var(--night); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.seg button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.seg button.on { background: var(--panel-hi); color: var(--ink); }
.seg.small button { padding: 5px 10px; font-size: 14px; }
.tierpick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .tierpick { grid-template-columns: 1fr; } }
.tp { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: left; color: var(--ink); font: inherit; cursor: pointer; display: grid; gap: 2px; }
.tp b { font-size: 16px; }
.tp span { color: var(--gold-hi); font-weight: 800; font-size: 14px; }
.tp small { color: var(--faint); font-size: 12.5px; line-height: 1.35; }
.tp.on, .tp:hover { border-color: var(--gold); }
.walk { list-style: none; counter-reset: w; margin: 0; padding: 0; display: grid; gap: 10px; }
.walk li { counter-increment: w; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; }
.walk li::before { content: counter(w); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(150, 172, 255, 0.12); color: var(--muted); font-weight: 800; font-size: 14px; }
.walk li.done::before { content: '\2713'; background: rgba(63, 224, 142, 0.18); color: var(--deal); }
.walk li b { font-size: 15px; }
.walk li span { color: var(--muted); font-size: 14px; }
.rtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.rtile { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.rtile span { color: var(--faint); font-size: 12.5px; font-weight: 700; }
.rtile b { font-size: 22px; }
.rtile small { color: var(--muted); font-size: 12.5px; }
.rfilters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.rtable td { padding: 6px 4px; border-top: 1px solid var(--line); }
.rtable td:first-child { color: var(--faint); width: 2.5em; }
.rtable td.num { text-align: right; font-variant-numeric: tabular-nums; }
.rtable tr.me td { color: var(--gold-hi); font-weight: 800; }
.codebig { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.codebig b { font-family: var(--mono); font-size: 26px; letter-spacing: 2px; color: var(--gold-hi); }
.pair { font-family: var(--mono); font-size: 40px; font-weight: 800; letter-spacing: 6px; color: var(--gold-hi); background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 12px 22px; }
.bigcheck { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: rgba(63, 224, 142, 0.16); color: var(--deal); }
.kv.small { font-size: 14px; padding: 12px 14px; background: var(--deep); }
.kv.small small { color: var(--faint); }
/* the language link (EN / FR) in the top bar */
.top nav a.lang-link { font-size: 12.5px; letter-spacing: .06em; border: 1px solid var(--line, rgba(255,255,255,.18)); border-radius: 6px; padding: 3px 7px; }
.top nav a.lang-link:hover { border-color: var(--muted); }
@media (max-width: 720px) { .top nav { gap: 14px; } }
@media (max-width: 440px) { .top nav a.lang-link { display: none; } }

/* ---- mesolens.app/dev: the team's Dev page ---- */
.dev-wrap { max-width: 1400px; }
.dev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.dev-head h1 { margin: 4px 0 0; font-size: clamp(26px, 4vw, 34px); }
.dev-who { font-size: 14px; }
.dev-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.dev-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: 15px; padding: 10px 14px; cursor: pointer; margin-bottom: -1px; }
.dev-tabs button:hover { color: var(--ink); }
.dev-tabs button.on { color: var(--gold-hi); border-bottom-color: var(--gold); }
.dev-pane { display: grid; gap: 12px; padding-block: 0 24px; }
.dev-pane.hidden { display: none; }
.dev-pane h3 { margin: 14px 0 0; font-size: 17px; }
.dev-pane .fine, .dev-pane p { margin: 0; }
.dev-over { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; line-height: 1.7; font-size: 14.5px; color: var(--muted); }
.dev-over b { color: var(--ink); }
.dev-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dev-row input, .dev-row select, .dev-form input:not([type=checkbox]) { background: var(--night); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 15px; flex: 1; min-width: 160px; }
.dev-row select { flex: 0 1 auto; min-width: 0; }
.dev-form { display: grid; gap: 10px; max-width: 760px; }
.dev-form label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; color: var(--muted); }
.dev-form label.ack { display: flex; gap: 8px; align-items: center; }
.dev-form label.ack input { accent-color: var(--gold); }
.dev-form textarea, .dev-form select { background: var(--night); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 15px; resize: vertical; }
.dev-form select { justify-self: start; }
/* Message to players: the strip as the app shows it, and Save's confirm row */
.dm-strip { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 10px; border-radius: 9px; font-size: 13px; line-height: 1.35; color: #eef1fb; background: rgba(127, 208, 255, 0.12); border: 1px solid rgba(127, 208, 255, 0.45); max-width: 420px; }
.dm-strip.warn { background: rgba(242, 180, 92, 0.14); border-color: rgba(242, 180, 92, 0.55); }
.dm-strip .t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dm-strip .b { flex: none; font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, 0.25); }
.dm-strip .x { flex: none; opacity: 0.7; }
.dm-confirm { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 10px 12px; border: 1px solid var(--gold); border-radius: 10px; }
.dm-confirm.hidden { display: none; }
/* Dev page bar charts (Security log by day, Usage) */
.dev-bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; margin: 10px 0 4px; padding: 0 2px; overflow-x: auto; }
.dev-bar { flex: 1 0 14px; max-width: 40px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.dev-bar-stack { flex: 1; display: flex; flex-direction: column-reverse; justify-content: flex-start; }
.dev-bar-stack span { display: block; min-height: 2px; border-radius: 2px 2px 0 0; }
.dev-bar-x { font-size: 10px; color: var(--faint); text-align: center; white-space: nowrap; margin-top: 3px; }
.dev-hbars { display: grid; grid-template-columns: minmax(120px, 30%) 1fr auto; gap: 4px 10px; align-items: center; font-size: 13.5px; margin: 8px 0 14px; }
.dev-hbar { height: 14px; border-radius: 4px; background: var(--gold, #e8b14a); min-width: 2px; }
.dev-hbar.low { background: #adb5bd; }
.dev-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.dev-scroll { overflow: auto; max-height: 70vh; border: 1px solid var(--line); border-radius: 12px; }
.dev-t { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.dev-t th { position: sticky; top: 0; background: var(--panel); text-align: left; color: var(--faint); font-weight: 800; font-size: 12.5px; padding: 8px 10px; white-space: nowrap; cursor: pointer; user-select: none; border-bottom: 1px solid var(--line); z-index: 1; }
.dev-t th.on { color: var(--ink); }
.dev-t td { padding: 7px 10px; border-top: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.dev-t tbody tr:hover td { background: rgba(150, 172, 255, 0.06); cursor: pointer; }
.dev-t.kv td { white-space: normal; cursor: default; }
.dev-t .r { text-align: right; }
.dev-t .s { font-size: 12.5px; color: var(--faint); }
.dev-t td.nm .s { padding-left: 14px; }
.dev-pane .faint, .dev-t .faint, .dev-over .faint { color: var(--faint); }
.dev-pane .down, .dev-over .down { color: #ff8f8f; }
.dev-pane .up { color: #7ee2a8; }
.odot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; box-shadow: inset 0 0 0 1px var(--line); }
.odot.on { background: #34d17a; box-shadow: 0 0 7px rgba(52, 209, 122, 0.75); }
.tierchip { display: inline-block; font-weight: 800; font-size: 12.5px; padding: 1px 8px; border-radius: 999px; background: rgba(150, 172, 255, 0.12); color: var(--muted); }
.tierchip.t1 { background: rgba(63, 224, 142, 0.14); color: #7ee2a8; }
.tierchip.t2 { background: rgba(96, 165, 250, 0.16); color: #9cc8ff; }
.tierchip.t3 { background: rgba(243, 154, 43, 0.18); color: var(--gold-hi); }
.flag { display: inline-block; font-size: 11.5px; padding: 0 6px; border-radius: 6px; background: rgba(150, 172, 255, 0.1); color: var(--muted); margin-right: 3px; }
/* Accounts: fits the page (fixed columns that wrap, no scrolling left and right), Options per row */
.dev-t.acc { table-layout: fixed; min-width: 900px; }
.dev-t.acc td { white-space: normal; overflow-wrap: anywhere; }
.dev-t.acc th { white-space: normal; }
.dev-t.acc td.nm .s { padding-left: 14px; }
.dev-t.acc td.acc-act { text-align: right; white-space: nowrap; }
.dev-t.acc tr.open td { background: rgba(243, 154, 43, 0.06); }
.dev-t.acc tr.acc-opts td { background: var(--night); cursor: default; border-top: 0; padding: 4px 10px 12px; }
.dev-t.acc tr.acc-opts:hover td { background: var(--night); }
.acc-box { display: grid; gap: 8px; background: var(--panel); border: 1px solid var(--gold); border-radius: 12px; padding: 10px 12px; }
.acc-box .dev-row input, .acc-box .dev-row select { flex: 0 1 auto; min-width: 0; padding: 6px 10px; font-size: 14px; }
.acc-sep { flex: 0 0 12px; }
.dev-ask { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dev-ask span { flex: 1; min-width: 220px; }
.dev-byemail summary { cursor: pointer; color: var(--muted); font-weight: 700; font-size: 14px; margin: 6px 0; }
.dev-byemail[open] summary { margin-bottom: 10px; }
.dev-report { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; }
#dp-list { display: grid; gap: 10px; min-width: 0; }
.dev-report > * { min-width: 0; }
.dev-rtext, .dev-pre { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; margin: 0; }
.dev-rtext { max-height: 22em; overflow-y: auto; line-height: 1.5; }
.dev-pre { max-height: 360px; overflow: auto; font-size: 12.5px; line-height: 1.45; background: var(--night); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.dev-rfiles a { overflow-wrap: anywhere; }
.dev-rbox:empty { display: none; }
.dev-autologs { display: grid; gap: 10px; }
.dev-autologs > summary { cursor: pointer; color: var(--muted); font-weight: 700; font-size: 14px; margin: 6px 0; }

/* the box over the download page when MesoLens's Update button sent you there */
.ml-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 8, 20, .72); backdrop-filter: blur(3px); }
.ml-modal-card { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #151e3c; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 26px 26px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.ml-modal-card h2 { margin: 6px 0 10px; font-size: 26px; line-height: 1.15; }
.ml-modal-card .steps { margin: 14px 0 20px; padding-left: 22px; display: grid; gap: 10px; line-height: 1.4; }
.ml-modal-card .btn { width: 100%; justify-content: center; }
.trust .trust-link { color: var(--gold-hi); text-decoration: none; }
.trust .trust-link:hover { text-decoration: underline; }
.safe-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.safe-why > div { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: grid; gap: 6px; align-content: start; color: var(--muted); }
.safe-why b { color: var(--ink); }
@media (max-width: 800px) { .safe-why { grid-template-columns: 1fr; } }
.perks .pi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(243, 154, 43, 0.14); color: var(--gold-hi); margin-bottom: 4px; }
.perks .pi svg { width: 21px; height: 21px; }
.shots4 { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shots4 img { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .shots4 { grid-template-columns: 1fr; } }
.steps3 { list-style: none; counter-reset: s3; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps3 li { counter-increment: s3; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 62px 22px 22px; display: grid; gap: 6px; align-content: start; color: var(--muted); }
.steps3 li::before { content: counter(s3); position: absolute; left: 22px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(180deg, #ffd257, #f39a2b); color: #1a1205; font-weight: 900; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(243, 154, 43, 0.35); }
.steps3 li b { color: var(--ink); font-size: 17px; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

/* Only in MesoLens: the two features no other tool has */
.only { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.only-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.only-shot { background: radial-gradient(120% 120% at 30% 20%, rgba(255, 190, 60, 0.12), transparent 60%), #0e1430; padding: 22px; display: grid; place-items: center; height: 290px; box-sizing: border-box; }
@media (max-width: 860px) { .only-shot { height: auto; min-height: 200px; } }
.only-shot img { width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.only-copy { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; }
.only-copy h3 { margin: 0; font-size: 22px; }
.only-copy p { margin: 0; color: var(--muted); }
.tag-new { justify-self: start; font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #1a1205; background: linear-gradient(180deg, #ffd257, #f39a2b); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 860px) { .only { grid-template-columns: 1fr; } }

/* free first: the hero's line, what a free account gets, then the optional support cards */
.freeline { display: inline-flex; align-self: flex-start; width: fit-content; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(63, 224, 142, 0.5); background: rgba(63, 224, 142, 0.1); color: var(--deal); font-weight: 900; font-size: 16px; }
.free-card { background: linear-gradient(180deg, rgba(63, 224, 142, 0.09), transparent 45%), var(--panel); border: 2px solid rgba(63, 224, 142, 0.45); border-radius: 20px; padding: 28px; display: grid; gap: 22px; }
.free-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.free-top .price b { font-size: 52px; color: var(--deal); }
.free-card .ticks { grid-template-columns: repeat(2, 1fr); gap: 10px 32px; color: var(--ink); }
.plans.support { grid-template-columns: repeat(3, 1fr); }
.free-word { font-size: clamp(26px, 4vw, 36px); font-weight: 900; color: var(--deal); }
.plan .amount { color: var(--faint); font-size: 13px; font-weight: 700; text-align: center; }
.plans.support .plan { grid-template-rows: auto 1fr auto auto; }
.plans.support .ticks li b { display: block; color: var(--ink); font-weight: 800; }
.plans.support .ticks .hint { display: block; font-size: 13.5px; color: var(--faint); line-height: 1.35; }
@media (max-width: 860px) { .plans.support { grid-template-columns: 1fr; } .free-card .ticks { grid-template-columns: 1fr; } }

/* the public rankings (/rankings) and the weekly market report (/market-report) */
.rk, .mr { display: grid; gap: 16px; max-width: 900px; margin-inline: auto; }
.rk [hidden] { display: none; }
.rk-filters { grid-template-columns: repeat(3, 1fr); }
.rk-table th { text-align: left; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 4px; }
.rk-table th.num { text-align: right; }
.rk-table tr.top1 td:first-child { color: var(--gold-hi); font-weight: 800; }
.rk-table tr.top2 td:first-child, .rk-table tr.top3 td:first-child { color: var(--ink); font-weight: 800; }
.rk-sub { color: var(--faint); font-size: 12.5px; }
.rk-anon { color: var(--muted); }
.rk-prize { border-color: var(--gold); }
.rk .rtile small { display: block; }
.mr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.mr-up { color: var(--deal); font-weight: 800; }
.mr-down { color: var(--over); font-weight: 800; }
.mr-weeks { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 560px) { .rk-filters { grid-template-columns: 1fr; } .rk-table th:nth-child(4), .rk-table td:nth-child(4) { display: none; } }

/* The player pages (signed-in accounts only; players.js) */
.member-only { display: none; }
html.member .member-only { display: revert; }
@media (max-width: 720px) { html.member .top nav .member-only.opt { display: none; } }
.pl-tabs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 16px; }
.pl-tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(150, 172, 255, 0.08); color: var(--muted); font-weight: 800; font-size: 14px; }
.pl-tabs a.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); border-color: #b9650d; }
.pl-gate { justify-items: center; text-align: center; }
.pl-lv { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 700; }
.pl-lv input, #pl-find { font: inherit; color: var(--ink); background: #0a1024; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.pl-lv input { width: 5em; }
#pl-lead { font: inherit; color: var(--ink); background: #0a1024; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.pl-table { min-width: 0; }
.pl-table th { text-align: left; color: var(--faint); font-size: 12px; font-weight: 800; padding: 4px; }
.pl-table th.num { text-align: right; }
#pl-out { overflow-x: auto; }
.pl-table td:first-child, #pl-mine .rtable td:first-child { color: var(--ink); width: auto; }
.pl-table tr[class^="top"] td:first-child { color: var(--faint); width: 2.5em; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pl-card { display: grid; gap: 8px; background: var(--panel-hi); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); }
.pl-card img { width: 100%; height: auto; display: block; }
.pl-card div { display: grid; gap: 2px; padding: 0 12px 12px; }
.pl-card span, .pl-card small { color: var(--muted); font-size: 14px; }
.pl-boss-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; }
.pl-sw { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.pl-bosses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 14px; }
.pl-timers { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pl-timers li { display: grid; grid-template-columns: 3.6em 1fr; gap: 0 8px; padding: 8px 10px; border-radius: 10px; background: var(--panel-hi); border-left: 3px solid var(--line); }
.pl-timers li small { grid-column: 2; }
.pl-timers li .pl-learn { margin-top: 2px; }
.pl-chn { font-weight: 900; }
.pl-cd { font-size: 20px; font-variant-numeric: tabular-nums; }
.pl-timers .pl-open { border-left-color: var(--gold-hi); }
.pl-timers .pl-up { border-left-color: var(--deal); }
.pl-timers .pl-mych { outline: 1px solid var(--gold-hi); }
/* Player pages: pictures, medals, the podium and small bars (players.js; Ramy 2026-11-11) */
.pl-gone { display: none !important; }
.pl-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pl-row > div { min-width: 0; }
.pl-av { width: 34px; height: 44px; object-fit: contain; object-position: center bottom; flex: none; image-rendering: auto; }
.pl-av.big { width: 76px; height: 96px; }
.pl-mob { object-fit: contain; vertical-align: middle; flex: none; }
.pl-mobs { display: inline-flex; gap: 2px; flex: none; }
.pl-mobs .pl-mob { width: 32px; height: 32px; background: rgba(150, 172, 255, 0.07); border-radius: 8px; padding: 2px; }
.pl-map { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.pl-map .pl-mob { width: 20px; height: 20px; }
.pl-bosspic { width: 44px; height: 44px; margin-right: 10px; }
.pl-boss h2 { display: flex; align-items: center; }
.pl-medal { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12.5px; font-weight: 900; color: #2a1500; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.12); vertical-align: middle; }
.pl-medal.m1 { background: radial-gradient(circle at 35% 30%, #fff1b8, #ffc83d 45%, #d68a00); }
.pl-medal.m2 { background: radial-gradient(circle at 35% 30%, #ffffff, #cfd8e8 45%, #8d99b3); }
.pl-medal.m3 { background: radial-gradient(circle at 35% 30%, #ffe0c2, #e39a5b 45%, #a35d22); }
.pl-bar { display: block; position: relative; height: 4px; margin-top: 4px; border-radius: 99px; background: rgba(150, 172, 255, 0.1); overflow: hidden; }
.pl-bar i, .pl-bar u { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.pl-bar u { background: rgba(255, 190, 92, 0.28); text-decoration: none; }
.pl-bar i { background: linear-gradient(90deg, var(--gold), var(--gold-hi)); z-index: 1; }
.pl-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; margin: 4px 0 6px; }
.pl-step { display: grid; justify-items: center; text-align: center; gap: 3px; padding: 12px 8px 14px; border-radius: 14px; background: linear-gradient(180deg, rgba(150, 172, 255, 0.1), rgba(150, 172, 255, 0.03)); border: 1px solid var(--line); min-width: 0; position: relative; }
.pl-step.s1 { order: 2; padding-top: 22px; border-color: rgba(255, 200, 61, 0.55); background: linear-gradient(180deg, rgba(255, 200, 61, 0.18), rgba(255, 200, 61, 0.03)); }
.pl-step.s2 { order: 1; }
.pl-step.s3 { order: 3; }
.pl-step .pl-medal { width: 30px; height: 30px; font-size: 15px; margin-top: -8px; }
.pl-step .pl-who { font-size: 16px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-step .pl-fig { font-size: 19px; font-weight: 900; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.pl-step .pl-fig small { font-size: 12px; color: var(--muted); font-weight: 700; }
.pl-step.s1 .pl-av.big { width: 92px; height: 112px; }
.pl-mix { display: grid; gap: 6px; margin-top: 6px; }
.pl-mix-t { color: var(--faint); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.pl-mix-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(150, 172, 255, 0.1); }
.pl-mix-bar i { display: block; height: 100%; }
.pl-mix-key { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13px; font-weight: 700; }
.pl-mix-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.pl-win { position: relative; padding-right: 48px; }
.pl-win .pl-av { position: absolute; right: 8px; bottom: 8px; }
.pl-table tr.pl-best1 td { background: rgba(255, 200, 61, 0.05); }
@media (max-width: 560px) {
  .pl-podium { gap: 6px; }
  .pl-step { padding: 10px 4px 12px; }
  .pl-av.big { width: 56px; height: 72px; }
  .pl-step.s1 .pl-av.big { width: 68px; height: 86px; }
  .pl-step .pl-fig { font-size: 15px; }
  .pl-step .pl-who { font-size: 14px; }
  .pl-step .rk-sub { font-size: 11.5px; }
  .pl-mobs .pl-mob:nth-child(n+2) { display: none; }
  .pl-av { width: 28px; height: 36px; }
  .rk .rtiles { grid-template-columns: 1fr; }
}

/* MesoLens in the browser (mesolens.app/web, webapp.js) */
.wa-search label { font-size: 16px; }
.wa-find { position: relative; }
.wa-find input, .wa-check input { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #0a1024; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.wa-find input:focus, .wa-check input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.wa-hits { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.wa-hits:empty { display: none; }
.wa-hits button { width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--panel-hi); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.wa-hits button:hover, .wa-hits button:focus-visible, .wa-hits button.first { border-color: var(--gold); }
.wa-hits .none { color: var(--muted); padding: 6px 2px; }
.wa-recent { color: var(--faint); font-size: 14px; }
.wa-card h3 { margin-top: 6px; }
.wa-best { display: grid; gap: 2px; }
.wa-big { font-size: 34px; font-weight: 900; color: var(--gold-hi); line-height: 1.1; }
.wa-best span:last-child { color: var(--muted); font-size: 14px; }
.wa-check { display: grid; gap: 6px; background: rgba(150, 172, 255, 0.06); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.wa-check label { font-weight: 800; }
.wa-check input { max-width: 260px; }
.wa-verdict { margin: 0; min-height: 1.4em; }
.wa-verdict.deal b { color: var(--deal); }
.wa-verdict.fair b { color: var(--ink); }
.wa-verdict.above b { color: var(--above); }
.wa-verdict.over b { color: var(--over); }
.wa-table { width: 100%; border-collapse: collapse; }
.wa-table td, .wa-table th { padding: 6px 6px; border-top: 1px solid var(--line); text-align: left; }
.wa-table thead th { border-top: 0; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.wa-table .num { text-align: right; white-space: nowrap; }
.wa-dim { color: var(--faint); font-size: 14px; }
.wa-good { color: var(--deal); }
.wa-drops { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.wa-seen { font-size: 12px; font-weight: 800; color: var(--deal); }
.wa-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.wa-more a { display: grid; gap: 2px; background: var(--panel-hi); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); }
.wa-more a:hover { border-color: var(--gold); }
.wa-more span { color: var(--muted); font-size: 14px; }
.web-card { border-color: var(--gold); }
@media (max-width: 560px) { .wa-big { font-size: 28px; } .wa-table td, .wa-table th { padding: 5px 3px; font-size: 14px; } }
.wa-table td:first-child { width: auto; color: var(--ink); }
#wa-body { display: grid; gap: 16px; min-width: 0; }
#wa-tab { display: grid; gap: 16px; min-width: 0; }
.wa .tablewrap { overflow-x: auto; max-width: 100%; }
@media (max-width: 560px) { .wa-table .wa-opt { display: none; } }
/* MesoLens in the browser: the grind tracker (site/webgrind.js) */
.wg-state { font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(150, 172, 255, 0.08); color: var(--faint); border: 1px solid var(--line); }
.wg-state.on { color: var(--deal); border-color: rgba(63, 224, 142, 0.4); background: rgba(63, 224, 142, 0.1); }
.wg-state.look { color: var(--above); border-color: rgba(255, 181, 71, 0.4); }
.wg-status { color: var(--muted); margin: 0; min-height: 1.5em; }
.wg-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wg-tiles.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wg-tile { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.wg-tile span { color: var(--muted); font-size: 13px; font-weight: 700; }
.wg-tile b { font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: var(--ink); line-height: 1.15; overflow-wrap: anywhere; }
.wg-tile:first-child b { color: var(--gold-hi); }
.wg-tile small { color: var(--faint); font-size: 13px; }
.wg-graph { width: 100%; height: 90px; color: var(--gold-hi); margin-top: 12px; display: block; }
.wg-axis { display: flex; justify-content: space-between; color: var(--faint); font-size: 12px; margin: 2px 0 0; }
.wg-prev { margin: 0; display: grid; gap: 4px; }
.wg-prev img { max-width: 100%; border-radius: 8px; border: 1px solid var(--line); image-rendering: pixelated; }
.wg-prev figcaption { color: var(--faint); font-size: 12px; }
.wg-opts summary { cursor: pointer; list-style: none; }
.wg-opts summary::-webkit-details-marker { display: none; }
.wg-opts summary h2 { display: inline; }
.wg-opts summary::after { content: '+'; float: right; color: var(--gold-hi); font-weight: 900; font-size: 22px; line-height: 1; }
.wg-opts[open] summary::after { content: '-'; }
.wg-opt { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.wg-opt input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--gold); order: 2; flex: none; }
.wg-opt span { display: grid; gap: 2px; }
.wg-opt small { color: var(--muted); font-size: 13px; }
.wg-opt select { background: var(--deep); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; }
.wg-intro .walk li span { color: var(--muted); }
.wg-pipbody { margin: 0; padding: 10px 12px; background: var(--night); color: var(--ink); font-family: var(--sans); }
.wg-piphead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.wg-piphead b { font-weight: 900; }
.wg-piphead b span { color: var(--gold-hi); }
.wg-piphead small { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg-pipbody .wg-tile { padding: 8px 10px; }
.wg-pipbody .wg-tile b { font-size: 20px; }
.wg-pipbtns { margin-top: 8px; display: flex; gap: 8px; }
@media (max-width: 760px) { .wg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* MesoLens in the browser: Try on (site/webtryon.js) */
.to { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.to-left { position: sticky; top: 84px; }
.to-stage { background: radial-gradient(circle at 50% 70%, #2a3a72 0%, var(--deep) 70%); border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; min-height: 230px; padding: 12px; }
.to-stage img { image-rendering: pixelated; max-width: 100%; height: auto; width: auto; max-height: 260px; transition: opacity 0.15s; }
.to-stage img.wait { opacity: 0.55; }
.to-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.to-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.to-seg button { background: transparent; color: var(--muted); border: 0; padding: 8px 12px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.to-seg button.on { background: rgba(243, 154, 43, 0.18); color: var(--gold-hi); }
.to-pose select { background: var(--deep); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.to-colors h3 { margin: 4px 0 0; font-size: 17px; }
.to-colors h4, .to-right h4 { margin: 10px 0 6px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.to-pal { display: flex; flex-wrap: wrap; gap: 6px; }
.to-sw { background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; display: grid; justify-items: center; gap: 3px; cursor: pointer; color: var(--muted); font: inherit; min-width: 54px; }
.to-sw span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); display: block; }
.to-sw small { font-size: 11px; font-weight: 700; }
.to-sw.on, .to-tint.on { border-color: var(--gold-hi); color: var(--ink); box-shadow: 0 0 0 1px var(--gold-hi); }
.to-tint { background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: 4px; display: grid; justify-items: center; cursor: pointer; color: var(--muted); font: inherit; }
.to-tint img { width: 32px; height: 32px; image-rendering: pixelated; }
.to-tint small { font-size: 10px; font-weight: 700; }
.to-wearing { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.to-wearing li { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 2px 6px; }
.to-wearing li.on { border-color: var(--line); background: var(--deep); }
.to-wearing .to-body { display: grid; gap: 2px; color: var(--muted); font-size: 14px; }
.to-worn { background: none; border: 0; color: var(--ink); font: inherit; display: flex; gap: 8px; align-items: center; cursor: pointer; text-align: left; padding: 4px 0; min-width: 0; }
.to-worn img { width: 32px; height: 32px; image-rendering: pixelated; flex: none; }
.to-worn span { display: grid; min-width: 0; }
.to-worn b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.to-worn small, .to-body small { color: var(--faint); font-size: 12px; }
.to-acts { display: flex; gap: 10px; flex: none; font-size: 13px; }
.to-saved { display: flex; flex-wrap: wrap; gap: 6px; }
.to-look { position: relative; }
.to-look > button:first-child { background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: 2px; cursor: pointer; }
.to-look img { width: 56px; height: 56px; object-fit: contain; image-rendering: pixelated; display: block; }
.to-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 13px; line-height: 1; cursor: pointer; padding: 0; }
.to-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.to-tabs button { background: rgba(150, 172, 255, 0.06); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.to-tabs button.on { background: rgba(243, 154, 43, 0.18); color: var(--gold-hi); border-color: rgba(243, 154, 43, 0.45); }
#to-q { width: 100%; background: var(--deep); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; }
.to-filter { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.to-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; margin-top: 10px; }
.to-item { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px 8px; display: grid; justify-items: center; gap: 4px; cursor: pointer; color: var(--ink); font: inherit; text-align: center; min-width: 0; }
.to-item:hover { border-color: rgba(255, 190, 92, 0.5); }
.to-item.on { border-color: var(--gold-hi); box-shadow: 0 0 0 1px var(--gold-hi); }
.to-item img { width: 32px; height: 32px; image-rendering: pixelated; }
.to-item span { font-size: 12px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.to-dots { display: flex; gap: 3px; }
.to-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); display: block; }
.to-names { display: flex; flex-wrap: wrap; gap: 6px; }
.to-names button { background: var(--deep); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.to-names button.on { border-color: var(--gold-hi); color: var(--gold-hi); }
.to-more { margin-top: 10px; }
@media (max-width: 860px) { .to { grid-template-columns: 1fr; } .to-left { position: static; } }
.wg-map { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.wg-map img { max-width: min(360px, 100%); border-radius: 8px; image-rendering: pixelated; }
.wg-map figcaption { display: grid; gap: 4px; }
.wg-map figcaption span { color: var(--muted); font-size: 14px; }
.wg-pipmap { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.wg-map figcaption .wg-mapname { font-weight: 900; color: var(--gold-hi); font-size: 18px; }
.wg-map figcaption .wg-mapname small { color: var(--muted); font-weight: 700; font-size: 13px; }
.wg-go { display: grid; gap: 6px; }
.wg-go input { background: var(--deep); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; }
.wg-go .wa-hits { position: static; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; box-shadow: none; border: 0; background: none; }
.wg-go .wa-hits button { width: 100%; text-align: left; background: var(--deep); border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }
.wg-routehead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wg-steps { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.wg-steps li span { color: var(--muted); }
.wg-steps li.now b { color: var(--gold-hi); }
.wg-there { color: var(--deal); font-weight: 900; }

/* ---- MesoLens in the browser: the GPS tab (site/webgps.js) ---- */
.gp-row { margin-top: 14px; display: grid; gap: 6px; }
.gp-here { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.gp-live { font-size: 12px; color: var(--deal); border: 1px solid var(--deal); border-radius: 999px; padding: 0 8px; }
.gp-kind { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; margin-right: 4px; }
.gp-res h3 { margin: 0; overflow-wrap: anywhere; }
.gp-steps li { overflow-wrap: anywhere; }
.gp-steps li.now { color: var(--gold-hi); }
.gp-steps li.ride { font-style: italic; }
.gp-goal { margin: 12px 0 0; font-weight: 700; }
.gp-quest { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.gp-quest p { margin: 0 0 8px; }
.gp-qbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.gp-qbtns .on { border-color: var(--gold); color: var(--gold-hi); }

/* ==== 2026-11-13 redesign: a focused home page with real pictures, and MesoLens in the browser
   shown off before signing in (Ramy: "I need pictures. I need to attract the attention.") ==== */
.btn-lg { padding: 15px 26px; font-size: 18px; border-radius: 14px; }
.btn-lg svg { width: 22px; height: 22px; }
.sec-head.center { text-align: center; justify-items: center; margin-inline: auto; }
.sec-head.center .lede { margin-inline: auto; }
.center-ctas { justify-content: center; margin-top: 40px; }
.center-fine { text-align: center; margin-inline: auto; }
.pi { width: 38px; height: 38px; border-radius: 11px; display: inline-grid; place-items: center; background: rgba(243, 154, 43, 0.14); color: var(--gold-hi); flex: none; }
.pi svg { width: 21px; height: 21px; }
.top nav a.web-link { color: var(--gold-hi); border: 1px solid rgba(243, 154, 43, 0.45); background: rgba(243, 154, 43, 0.1); border-radius: 999px; padding: 5px 12px; }
.top nav a.web-link:hover { background: rgba(243, 154, 43, 0.2); color: var(--gold-hi); }
@media (max-width: 1060px) { .top nav { gap: 16px; } .top nav a { font-size: 14px; } }
@media (max-width: 900px) { .top nav .opt:not(.web-link) { display: none; } }
@media (max-width: 720px) { .top nav .opt.web-link { display: none; } }

/* the first screen: the pitch, a real shop with the app's windows floating over it, and the
   game's own characters and monsters standing on the grass below */
.hero2 { position: relative; overflow: hidden; padding: 64px 0 0; background:
  radial-gradient(60% 70% at 85% 10%, rgba(243, 154, 43, 0.2), transparent 70%),
  radial-gradient(50% 60% at 0% 30%, rgba(80, 120, 255, 0.16), transparent 70%),
  linear-gradient(180deg, #0a0f21 0%, #101a3c 70%, #16244f 100%); }
.hero2::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.55; background-image:
  radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 8%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 44% 26%, #ffe6b0, transparent), radial-gradient(1px 1px at 63% 6%, #fff, transparent),
  radial-gradient(1px 1px at 72% 32%, #fff, transparent), radial-gradient(1.5px 1.5px at 91% 22%, #fff, transparent),
  radial-gradient(1px 1px at 6% 52%, #fff, transparent), radial-gradient(1px 1px at 52% 48%, #cfe0ff, transparent),
  radial-gradient(1.5px 1.5px at 36% 62%, #fff, transparent), radial-gradient(1px 1px at 82% 58%, #fff, transparent); }
.hero2-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; padding-bottom: 24px; }
.hero2 .copy { display: grid; gap: 22px; min-width: 0; }
.hero2 h1 { font-size: clamp(36px, 5.2vw, 60px); }
.hero2 h1 em { font-style: normal; background: linear-gradient(180deg, #ffd88a, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(243, 154, 43, 0.45); background: rgba(243, 154, 43, 0.1); color: var(--gold-hi); font-weight: 800; font-size: 14px; }
.pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--deal); box-shadow: 0 0 10px rgba(63, 224, 142, 0.8); }
.trust2 { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; font-weight: 700; }
.trust2 li { display: inline-flex; align-items: center; gap: 7px; }
.trust2 li::before { content: ''; width: 10px; height: 6px; border-left: 2.5px solid var(--deal); border-bottom: 2.5px solid var(--deal); transform: rotate(-45deg) translateY(-2px); }
.stage { position: relative; padding: 26px 34px 70px 26px; min-width: 0; }
.win { margin: 0; border-radius: 16px; overflow: hidden; background: #1a2752; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(243, 154, 43, 0.12); }
.win-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: linear-gradient(180deg, #2b3d78, #22325f); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.win-bar i:nth-child(2) { background: #ffb547; }
.win-bar i:nth-child(3) { background: #3fe08e; }
.win-bar span { margin-left: 8px; color: var(--muted); font-size: 12.5px; font-weight: 800; }
.win img { width: 100%; }
.fl { position: absolute; z-index: 2; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); animation: bob 6s ease-in-out infinite; }
.fl-grind, .fl-deal { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(16, 23, 47, 0.94); border: 1px solid rgba(150, 172, 255, 0.25); backdrop-filter: blur(6px); }
.fl-grind { top: 0; right: 0; }
.fl-grind div, .fl-deal div { display: grid; line-height: 1.2; }
.fl-grind small, .fl-deal small { color: var(--muted); font-size: 12px; font-weight: 700; }
.fl-grind b { font-size: 26px; font-weight: 900; }
.fl-grind b i { font-style: normal; font-size: 14px; color: var(--muted); }
.fl-grind em { font-style: normal; color: var(--gold-hi); font-weight: 900; }
.fl-grind .live { width: 10px; height: 10px; border-radius: 50%; background: var(--deal); box-shadow: 0 0 12px var(--deal); align-self: flex-start; margin-top: 4px; }
.fl-deal { left: 0; top: 44%; border-color: rgba(63, 224, 142, 0.5); animation-delay: -2s; }
.fl-deal small { color: var(--deal); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 900; }
.fl-deal b { font-size: 15px; }
.fl-deal .ico { width: 32px; height: 32px; image-rendering: pixelated; }
.fl-card { right: 0; bottom: 6px; width: 56%; border: 1px solid rgba(255, 255, 255, 0.12); animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.ground { position: relative; height: 150px; margin-top: 10px; }
.ground::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(180deg, #5bbf4a 0, #43a03a 6px, #2f7a30 7px, #276a2a 12px, #6b4426 13px, #553519 100%); box-shadow: 0 -2px 0 #8be06d inset; }
.ground-row { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: min(var(--max), 100%); display: flex; align-items: flex-end; justify-content: space-around; padding: 0 20px; z-index: 1; }
.ground .sprite { height: 108px; width: auto; }
.ground .mob { width: auto; animation: hop 2.6s ease-in-out infinite; }
.ground .m-s { height: 50px; }
.ground .m-xs { height: 34px; animation-delay: -1s; }
.ground .m-boss { height: 112px; animation-duration: 4s; }
.ground .mob:nth-child(3n) { animation-delay: -0.8s; }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-12px); } }
@media (max-width: 960px) {
  .hero2-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero2 { padding-top: 40px; }
  .stage { max-width: 620px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .stage { padding: 18px 8px 56px 8px; }
  .fl-grind { right: -4px; top: -6px; padding: 8px 10px; }
  .fl-grind b { font-size: 20px; }
  .fl-deal { left: -4px; top: 46%; padding: 8px 10px; }
  .fl-deal b { font-size: 13px; }
  .fl-card { width: 70%; right: -4px; }
  .ground { height: 116px; }
  .ground .sprite { height: 80px; }
  .ground .m-boss { height: 80px; }
  .ground .m-s { height: 38px; }
  .ground .hide-sm { display: none; }
  .hero2 .ctas .btn { width: 100%; justify-content: center; }
}

/* MesoLens in the browser: its four tools, each with a little picture of itself */
.sec-browser { background: linear-gradient(180deg, #16244f 0%, var(--deep) 40%, var(--night) 100%); padding-top: 64px; }
.wtools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wtool { display: grid; grid-template-rows: auto 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--ink); transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
a.wtool:hover { text-decoration: none; transform: translateY(-4px); border-color: rgba(243, 154, 43, 0.6); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.wt-pic { height: 210px; display: grid; place-items: center; padding: 18px 22px; background: radial-gradient(90% 120% at 50% 100%, rgba(80, 120, 255, 0.22), transparent 70%), linear-gradient(180deg, #121b3a, #0e1530); border-bottom: 1px solid var(--line); overflow: hidden; }
.wt-copy { padding: 20px 24px 22px; display: grid; gap: 8px; align-content: start; }
.wt-copy h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; }
.wt-copy p { color: var(--muted); }
.wt-go { color: var(--gold-hi); font-weight: 800; }
.wt-grind { width: 100%; max-width: 380px; display: grid; gap: 8px; }
.wt-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.wt-tiles div { background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; display: grid; }
.wt-tiles span { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.wt-tiles b { font-size: 22px; font-weight: 900; line-height: 1.15; }
.wt-tiles div:first-child b { color: var(--gold-hi); }
.wt-spark { width: 100%; height: 40px; color: var(--gold-hi); }
.wt-tryon { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding-bottom: 26px; }
.wt-tryon::before { content: ''; position: absolute; left: 6%; right: 6%; bottom: 18px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 154, 43, 0.35), transparent); }
.wt-tryon .sprite { height: 128px; width: auto; position: relative; }
.wt-tryon .sprite:nth-child(2) { height: 140px; }
.wt-swatches { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.wt-swatches i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); }
.wt-swatches i:first-child { box-shadow: 0 0 0 2px var(--gold-hi); }
.wt-route { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 360px; display: grid; gap: 0; }
.wt-route li { position: relative; padding: 4px 0 8px 30px; display: grid; line-height: 1.25; }
.wt-route li::before { content: ''; position: absolute; left: 6px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--panel-hi); border: 2px solid var(--muted); }
.wt-route li:not(:last-child)::after { content: ''; position: absolute; left: 12px; top: 22px; bottom: -4px; width: 2px; background: var(--line); }
.wt-route li b { font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.wt-route li span { color: var(--faint); font-size: 12.5px; font-weight: 700; }
.wt-route li.done::before { background: var(--deal); border-color: var(--deal); }
.wt-route li.now::before { background: var(--gold); border-color: var(--gold-hi); box-shadow: 0 0 10px var(--gold); }
.wt-route li.now b { color: var(--gold-hi); }
.wt-route li.goal::before { border-color: var(--gold-hi); }
.wt-route .mob-ico { height: 24px; width: auto; }
.wt-price { width: 100%; max-width: 340px; display: grid; gap: 10px; }
.wt-item { display: flex; gap: 12px; align-items: center; }
.wt-item .ico { width: 44px; height: 44px; image-rendering: pixelated; background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.wt-item div { display: grid; line-height: 1.2; }
.wt-item b { font-size: 18px; }
.wt-item span { color: var(--faint); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.wt-ask { display: flex; justify-content: space-between; align-items: center; background: #0a1024; border: 1px solid rgba(243, 154, 43, 0.6); border-radius: 10px; padding: 8px 12px; }
.wt-ask span { color: var(--muted); font-size: 13px; font-weight: 700; }
.wt-ask b { font-size: 18px; }
.wt-verdict { font-size: 15px; color: var(--muted); }
.wt-verdict b { color: var(--deal); }
.wt-cta { justify-content: center; flex-direction: column; margin-top: 32px; gap: 6px; }
.wt-cta .fine { margin: 0; }
@media (max-width: 860px) { .wtools { grid-template-columns: 1fr; } .wt-pic { height: 190px; } }

/* the full app: three pillars, each words beside two real pictures */
.sec-pillars { padding-top: 80px; }
.pillar { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-block: 52px; }
.pillar + .pillar { border-top: 1px solid var(--line); }
.pillar.flip .pillar-copy { order: 2; }
.pillar-copy { display: grid; gap: 14px; align-content: center; }
.pillar-copy h3 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; }
.pillar-copy p { color: var(--muted); font-size: 18px; }
.pnum { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; }
.pnum svg { width: 20px; height: 20px; }
.pillar-pics { position: relative; min-width: 0; isolation: isolate; }
.pillar-pics img { border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5); background: #0c1226; }
.pillar-pics::before { content: ''; position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, rgba(243, 154, 43, 0.18), transparent); filter: blur(10px); z-index: -1; }
.pp-trade { padding-bottom: 70px; }
.pp-trade .pp-main { width: 86%; }
.pp-trade .pp-over { position: absolute; right: 0; bottom: 0; width: 78%; }
.pp-grind { display: flex; align-items: center; min-height: 420px; }
.pp-grind .pp-main { width: 58%; }
.pp-grind .pp-over { position: absolute; right: 0; top: 50%; transform: translateY(-40%); width: 58%; }
.pp-guide .pp-main { width: 100%; }
.pp-guide .pp-over { position: relative; width: 52%; margin: -36px 0 0 auto; }
@media (max-width: 900px) {
  .pillar { grid-template-columns: 1fr; gap: 28px; padding-block: 36px; }
  .pillar.flip .pillar-copy { order: 0; }
  .pp-grind { min-height: 0; }
}
@media (max-width: 560px) {
  .pp-trade { padding-bottom: 40px; }
  .pp-trade .pp-main { width: 100%; }
  .pp-trade .pp-over { width: 88%; }
  .pp-grind .pp-main { width: 64%; }
  .pp-grind .pp-over { width: 62%; }
  .pp-guide .pp-over { width: 70%; margin-top: -20px; }
}

/* safe, in three short cards; the full lists one click away */
.sec-safe { background: linear-gradient(180deg, var(--night), var(--deep)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.safe3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safe3 > div { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: grid; gap: 8px; align-content: start; color: var(--muted); }
.safe3 b { color: var(--ink); font-size: 18px; }
.safe3 .pi { background: rgba(63, 224, 142, 0.12); color: var(--deal); }
.safe-more { margin-top: 18px; text-align: center; }
.safe-more .safe { margin-top: 10px; text-align: left; }
.safe-more summary, .free-all summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); font-weight: 800; padding: 8px 0; }
.safe-more summary::-webkit-details-marker, .free-all summary::-webkit-details-marker { display: none; }
.safe-more summary::after, .free-all summary::after { content: '+'; font-weight: 900; font-size: 20px; line-height: 1; }
.safe-more[open] summary::after, .free-all[open] summary::after { content: '-'; }
@media (max-width: 800px) { .safe3 { grid-template-columns: 1fr; } }

/* free: six that matter up front, the whole list one click away */
.free-card { max-width: 980px; margin-inline: auto; }
.free-top6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.free-top6 > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.free-top6 .pi { grid-row: span 2; background: rgba(63, 224, 142, 0.12); color: var(--deal); }
.free-top6 b { font-size: 16px; line-height: 1.25; }
.free-top6 span { color: var(--muted); font-size: 14px; line-height: 1.3; }
.free-all .ticks { margin-top: 12px; }
@media (max-width: 860px) { .free-top6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .free-top6 { grid-template-columns: 1fr; } }
.sec-support { background: linear-gradient(180deg, var(--deep), var(--night)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-faq .faq { margin-inline: auto; }

/* last call: the characters around the coin */
.final2 { text-align: center; padding-block: 72px 84px; position: relative; overflow: hidden; background: radial-gradient(50% 60% at 50% 30%, rgba(243, 154, 43, 0.18), transparent 70%); }
.final2 .wrap { display: grid; gap: 20px; justify-items: center; }
.final-cast { display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.final-cast .sprite { height: 110px; width: auto; }
.final-cast .coin { width: 96px; height: 96px; margin: 0 10px 8px; filter: drop-shadow(0 10px 30px rgba(243, 154, 43, 0.5)); animation: bob 5s ease-in-out infinite; }
.final2 .ctas { justify-content: center; }
.discord-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 800; }
.discord-link svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .final-cast .sprite { height: 78px; }
  .final-cast .sprite:nth-child(1), .final-cast .sprite:nth-child(5) { display: none; }
  .final2 .ctas .btn { width: 100%; justify-content: center; }
}
.hero2-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.pillar.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.pp-grind .pp-main { width: 60%; }
.pp-grind .pp-over { width: 60%; }
.home section { padding-block: 64px; }
.home .hero2 { padding-bottom: 0; }
.lede { text-wrap: pretty; }
@media (max-width: 960px) { .hero2-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .pillar.flip { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .wt-pic { height: auto; min-height: 180px; } }

/* MesoLens in the browser (/web): the showcase before signing in, the tabs and the app banner */
.webpage { padding-top: 0; }
.rk.wa { max-width: 1060px; }
.wa-intro { display: grid; gap: 28px; padding-bottom: 8px; }
.wa-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: center; padding: 40px 0 8px; }
.wa-hero .copy { display: grid; gap: 18px; }
.wa-hero h1 { font-size: clamp(34px, 5vw, 54px); }
.wa-start { gap: 10px 16px; }
.wa-start .fine { margin: 0; max-width: 32ch; }
.wa-cast { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 10px; padding-bottom: 22px; }
.wa-cast::before { content: ''; position: absolute; inset: -10% 0 0; background: radial-gradient(closest-side, rgba(243, 154, 43, 0.22), transparent); z-index: -1; }
.wa-cast::after { content: ''; position: absolute; left: 4%; right: 4%; bottom: 0; height: 26px; border-radius: 6px; background: linear-gradient(180deg, #5bbf4a 0, #43a03a 5px, #2f7a30 6px, #6b4426 11px, #553519 100%); }
.wa-cast .sprite { height: 132px; width: auto; position: relative; z-index: 1; margin-bottom: -4px; }
.wa-cast .sprite:nth-child(2), .wa-cast .sprite:nth-child(3) { height: 148px; }
.wa-intro .wtool { cursor: default; }
.wa-gate { max-width: 620px; padding: 28px; }
html.member .wa-intro .wtools, html.member .wa-cast, html.member .wa-start { display: none; }
html.member .wa-hero { grid-template-columns: 1fr; padding: 28px 0 0; }
html.member .wa-hero .pill, html.member .wa-hero .lede { display: none; }
html.member .wa-hero h1 { font-size: clamp(26px, 4vw, 36px); }
.wa-tabs { gap: 8px; }
.wa-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 15px; }
.wa-tabs a svg { width: 18px; height: 18px; }
.wa-dl { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; padding: 24px; border-radius: 20px; border: 1px solid rgba(243, 154, 43, 0.45); background: radial-gradient(80% 120% at 0% 0%, rgba(243, 154, 43, 0.14), transparent 60%), var(--panel); }
.wa-dl img { border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.wa-dl div { display: grid; gap: 10px; justify-items: start; }
.wa-dl h2 { font-size: clamp(22px, 3vw, 30px); }
.wa-dl p { color: var(--muted); }
@media (max-width: 760px) {
  .wa-hero { grid-template-columns: 1fr; padding-top: 28px; }
  .wa-cast .sprite { height: 96px; } .wa-cast .sprite:nth-child(2), .wa-cast .sprite:nth-child(3) { height: 106px; }
  .wa-start .btn { width: 100%; justify-content: center; }
  .wa-dl { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .wa-tabs a { padding: 8px 12px; font-size: 14px; }
}
.wa-gate { margin-inline: auto; }
.wa-dl img { width: 100%; height: auto; }

/* ---- MesoLens in the browser, signed in: connecting the game (webgrind.js) and each tab's top ---- */
.wg-progress { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wg-progress li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--deep); color: var(--faint); font-weight: 800; font-size: 14px; }
.wg-progress li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; background: rgba(150, 172, 255, 0.12); color: var(--muted); }
.wg-progress li.now { color: var(--ink); border-color: rgba(243, 154, 43, 0.6); }
.wg-progress li.now i { background: var(--gold); color: var(--gold-ink); box-shadow: 0 0 10px rgba(243, 154, 43, 0.6); }
.wg-progress li.done { color: var(--deal); }
.wg-progress li.done i { background: rgba(63, 224, 142, 0.2); color: var(--deal); }
.wg-connect { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 22px 18px 18px; border-radius: 16px; background: radial-gradient(80% 100% at 50% 0%, rgba(243, 154, 43, 0.12), transparent 70%), var(--deep); border: 1px solid var(--line); }
.wg-connect h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 900; }
.wg-how { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; text-align: left; }
.wg-how li { display: grid; gap: 6px; align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 16px; }
.wg-how li > b { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-top: 4px; }
.wg-how li > b i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 14px; background: linear-gradient(180deg, #ffd257, #f39a2b); color: #1a1205; flex: none; }
.wg-how li > span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.wg-ill { position: relative; height: 150px; border-radius: 12px; overflow: hidden; background: #0c1328; border: 1px solid var(--line); }
/* a little game window: sky, a character, the grass, and the status bar with its EXP bar */
.ill-game { display: grid; grid-template-rows: 20px 1fr 24px; }
.ig-bar { display: flex; align-items: center; gap: 4px; padding: 0 8px; background: #26355f; }
.ig-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; }
.ig-bar i:nth-child(2) { background: #ffb547; }
.ig-bar i:nth-child(3) { background: #3fe08e; }
.ig-bar span { margin-left: 6px; font-size: 11px; font-weight: 800; color: var(--muted); }
.ig-sky { position: relative; background: linear-gradient(180deg, #6fb7ff, #bfe3ff); display: flex; align-items: flex-end; justify-content: flex-start; gap: 14px; padding-left: 10%; padding-bottom: 10px; }
.ig-sky img { height: 62px; width: auto; position: relative; z-index: 1; }
.ig-sky .ig-mob { height: 30px; }
.ig-grass { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(180deg, #5bbf4a 0, #43a03a 4px, #6b4426 5px); }
.ig-status { display: flex; align-items: center; gap: 5px; padding: 0 8px; background: #1b1f2e; border-top: 1px solid #3a3f55; }
.ig-status b { font-size: 11px; color: #ffd257; }
.ig-hp, .ig-mp { width: 26px; height: 7px; border-radius: 3px; background: #e84b4b; }
.ig-mp { background: #3d7ef0; }
.ig-exp { position: relative; flex: 1; height: 9px; border-radius: 3px; background: #333; outline: 2px solid var(--gold-hi); outline-offset: 2px; animation: glow 1.8s ease-in-out infinite; }
.ig-exp i { position: absolute; left: 0; top: 0; bottom: 0; width: 64%; border-radius: 3px; background: linear-gradient(180deg, #fff27a, #e5c72a); }
.ig-exp em { position: absolute; right: 4px; top: -1px; font-size: 8px; font-style: normal; font-weight: 900; color: #ddd; }
.ig-tag { position: absolute; right: 8px; bottom: 34px; font-size: 11px; font-weight: 900; color: var(--gold-ink); background: var(--gold-hi); border-radius: 999px; padding: 2px 8px; z-index: 2; }
.ig-tag::after { content: ''; position: absolute; right: 18px; bottom: -5px; border: 5px solid transparent; border-top-color: var(--gold-hi); border-bottom: 0; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 6px rgba(243, 154, 43, 0.5); } 50% { box-shadow: 0 0 16px rgba(243, 154, 43, 1); } }
/* the browser's "what to share" box, drawn simply */
.ill-pick { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #0e1530 0 10px, #101834 10px 20px); }
.ip-box { width: 88%; background: #eef1f7; color: #222; border-radius: 10px; padding: 8px 10px; display: grid; gap: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.ip-box > b { font-size: 12px; }
.ip-tabs { display: flex; gap: 10px; font-size: 10.5px; font-weight: 700; color: #666; border-bottom: 1px solid #ccd; }
.ip-tabs span { padding-bottom: 3px; }
.ip-tabs .on { color: #1a5fd0; border-bottom: 2px solid #1a5fd0; }
.ip-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ip-thumbs div { display: grid; gap: 2px; justify-items: center; padding: 4px; border-radius: 6px; border: 2px solid transparent; }
.ip-thumbs div.on { border-color: #1a5fd0; background: #dfe8fb; }
.ip-thumbs i { width: 100%; height: 30px; border-radius: 4px; background: #c9ced9; }
.ip-thumbs i.ip-game { background: linear-gradient(180deg, #6fb7ff 0 60%, #5bbf4a 60% 72%, #1b1f2e 72%); }
.ip-thumbs small { font-size: 10px; font-weight: 800; }
.ip-btns { display: flex; justify-content: flex-end; gap: 6px; font-size: 10.5px; font-weight: 800; }
.ip-btns span { padding: 3px 10px; border-radius: 999px; border: 1px solid #bbc; }
.ip-btns .on { background: #1a5fd0; border-color: #1a5fd0; color: #fff; }
/* counting */
.ill-count { display: grid; align-content: center; gap: 10px; padding: 12px; background: radial-gradient(80% 100% at 50% 100%, rgba(80, 120, 255, 0.2), transparent 70%), #0c1328; }
.ic-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ic-tiles div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; display: grid; }
.ic-tiles small { color: var(--muted); font-size: 11px; font-weight: 700; }
.ic-tiles b { font-size: 22px; font-weight: 900; line-height: 1.1; }
.ic-tiles div:first-child b { color: var(--gold-hi); }
.ic-pop { justify-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 4px 10px; }
.ic-pop span { width: 12px; height: 9px; border: 2px solid var(--gold-hi); border-radius: 2px; }
.wg-cta { display: grid; gap: 8px; justify-items: center; margin-top: 6px; }
.wg-safe { color: var(--muted); font-size: 14px; max-width: 54ch; }
.wg-help { justify-self: stretch; text-align: left; border-top: 1px solid var(--line); padding-top: 6px; }
.wg-help summary { cursor: pointer; list-style: none; color: var(--gold-hi); font-weight: 800; text-align: center; padding: 6px 0; }
.wg-help summary::-webkit-details-marker { display: none; }
.wg-help .ticks { font-size: 14.5px; padding: 4px 4px 2px; }
.wg-hint { border: 1px solid rgba(255, 181, 71, 0.45); background: rgba(255, 181, 71, 0.08); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; }
.wg-hint b { color: var(--above); }
.wg-hint .ticks { font-size: 14.5px; }
@media (max-width: 760px) { .wg-how { grid-template-columns: 1fr; } .wg-connect { padding: 16px 12px; } }

/* the top of the Try on, GPS and Price check tabs */
.wa-banner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 22px; align-items: center; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(70% 120% at 0% 50%, rgba(243, 154, 43, 0.14), transparent 70%), var(--panel); }
.wb-pic { height: 130px; display: flex; align-items: flex-end; justify-content: center; gap: 10px; position: relative; padding-bottom: 12px; }
.wb-pic::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: 4px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(243, 154, 43, 0.35), transparent); }
.wb-spr { height: 112px; width: auto; position: relative; z-index: 1; }
.wb-spr:nth-child(2) { height: 124px; }
.wb-copy { display: grid; gap: 10px; }
.wb-copy h2 { font-size: clamp(20px, 2.6vw, 26px); }
.wb-steps { margin: 0; padding: 0; list-style: none; counter-reset: wb; display: grid; gap: 6px; }
.wb-steps li { counter-increment: wb; position: relative; padding-left: 34px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.wb-steps li::before { content: counter(wb); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 154, 43, 0.16); color: var(--gold-hi); font-weight: 900; font-size: 13px; }
.wb-route { display: flex; align-items: center; gap: 4px; align-self: center; }
.wb-route i { width: 28px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--gold-hi) 0 6px, transparent 6px 10px); }
.wb-pin { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); border: 2px solid var(--line); }
.wb-pin.goal { width: 74px; height: 74px; border-color: var(--gold-hi); box-shadow: 0 0 16px rgba(243, 154, 43, 0.5); }
.wb-mob { max-width: 80%; max-height: 80%; width: auto; height: auto; }
.wb-icons { display: grid; grid-template-columns: repeat(2, 56px); gap: 10px; align-self: center; }
.wb-icons span { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--deep); border: 1px solid var(--line); }
.wb-icons span:first-child { border-color: var(--gold-hi); box-shadow: 0 0 14px rgba(243, 154, 43, 0.4); }
.wb-ico { width: 36px; height: 36px; image-rendering: pixelated; }
.wb-gps .wb-pic::after, .wb-price .wb-pic::after { display: none; }
.wb-gps .wb-pic, .wb-price .wb-pic { align-items: center; padding-bottom: 0; }
@media (max-width: 680px) {
  .wa-banner { grid-template-columns: 1fr; padding: 16px; gap: 10px; }
  .wb-pic { height: 110px; }
  .wb-spr { height: 92px; }
  .wb-spr:nth-child(2) { height: 100px; }
}
.wa-picks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wa-picks > span { color: var(--faint); font-size: 14px; font-weight: 700; }
.wa-pick { display: inline-flex; align-items: center; gap: 8px; background: var(--deep); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 4px 12px 4px 6px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.wa-pick:hover { border-color: var(--gold); }
.wa-pick img { width: 28px; height: 28px; image-rendering: pixelated; }
.wb-pic { overflow: hidden; min-width: 0; }
.wb-spr { max-width: 31%; object-fit: contain; object-position: bottom; }

/* MesoLens in the browser: the Scrolls tab (site/webscroll.js) */
.sc-ico { vertical-align: middle; image-rendering: pixelated; }
.sc-item, .sc-card, .sc-plan, .sc-step { min-width: 0; max-width: 100%; }
.sc-step select { width: 100%; text-overflow: ellipsis; }
.sc-table td:first-child { min-width: 180px; }
.sc-table .btn-sm { padding: 5px 10px; font-size: 13px; }
.sc-plan { display: grid; gap: 6px; }
.sc-step { display: flex; gap: 8px; align-items: center; }
.sc-step select, .sc-step input { font: inherit; color: var(--ink); background: #0a1024; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.sc-step select { flex: 1; min-width: 0; }
.sc-step input { width: 76px; }
.sc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 6px 0 4px; }
.sc-stat { background: var(--panel-hi); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; display: grid; gap: 2px; }
.sc-stat span { color: var(--muted); font-size: 13px; }
.sc-stat b { font-size: 19px; font-variant-numeric: tabular-nums; }
.sc-boom { color: #ff7b7b; }
.sc-up { color: #5fe0a0; }
.sc-warn { color: #f5b45c; }
.sc-bar { display: inline-block; height: 7px; border-radius: 4px; background: var(--gold); vertical-align: middle; margin-left: 4px; }
.sc-bar.boom { background: #ff7b7b; }
@media (max-width: 560px) { .sc-table td:first-child { min-width: 0; } .sc-stat b { font-size: 16px; } }

/* ---- a character's page (players.js charPage) and the Gear Score board ---- */
.pl-charlink { color: inherit; font-weight: 800; border-bottom: 1px dotted var(--faint); }
.pl-charlink:hover { color: var(--gold-hi); }
.ch-top { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ch-look { width: 132px; height: 132px; flex: none; display: grid; place-items: center; background: var(--deep); border: 1px solid var(--line); border-radius: 16px; }
.ch-look img { image-rendering: pixelated; max-width: 120px; max-height: 120px; }
.ch-who { flex: 1 1 260px; min-width: 0; }
.ch-who h2 { margin: 0; }
.ch-gear td { vertical-align: top; }
.ch-stat { display: inline-block; white-space: nowrap; margin: 0 8px 2px 0; font-size: 13.5px; color: var(--muted); }
.ch-stat.up { color: #3fe08e; }
.ch-stat.down { color: #ff7a6b; }
.ch-tag { display: inline-block; margin-top: 3px; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--deep); color: var(--faint); border: 1px solid var(--line); }
.ch-tag.t-Better { color: #3fe08e; border-color: rgba(63, 224, 142, 0.4); }
.ch-tag.t-Worse { color: #ff7a6b; border-color: rgba(255, 122, 107, 0.4); }
.ch-tag.t-Mixed { color: var(--gold-hi); border-color: rgba(255, 190, 92, 0.4); }
#ch-find input { flex: 1 1 200px; min-width: 0; }
@media (max-width: 560px) {
  .ch-gear th:nth-child(3), .ch-gear td:nth-child(3) { display: none; }
  .ch-look { width: 104px; height: 104px; }
}

/* ---- the Grind tracker's type-in mode (webgrind.js) ---- */
.wg-modes { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.wg-modes button { flex: 1 1 220px; text-align: left; background: var(--deep); border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 10px 14px; font: inherit; cursor: pointer; display: grid; gap: 2px; }
.wg-modes button b { font-size: 15.5px; }
.wg-modes button small { color: var(--muted); font-size: 13px; }
.wg-modes button.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.wt-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; align-items: end; margin: 8px 0; }
.wt-form label { display: grid; gap: 3px; font-size: 13px; font-weight: 700; color: var(--muted); }
.wt-form input, #ch-find input { width: 100%; min-width: 0; background: var(--deep); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; }
.wt-form input:focus, #ch-find input:focus { border-color: var(--gold); outline: none; }
.wt-list { width: 100%; }
.wt-list td, .wt-list th { font-size: 14px; }
.wt-list td:first-child { white-space: nowrap; }

/* the game guide pages: quests (filters, worth doing) and training spots (site/gameguides.js) */
.gg { display: grid; gap: 16px; }
.gg .hidden { display: none; }
.gg .fine { margin: 0; font-size: 13px; }
.gg-table td .fine { font-size: 12.5px; }
.gg-table th { text-align: left; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 4px; }
.gg-table th.num, .gg-table td.num { text-align: right; white-space: nowrap; }
.gg-table td:first-child { color: inherit; width: auto; }
.gg-list .gg-table td:first-child { color: var(--faint); width: 2.5em; }
.gg-filters input[type=search], .gg-filters select { font: inherit; color: var(--ink, #eef2ff); background: rgba(150, 172, 255, 0.08); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.gg-filters input[type=search] { width: 100%; }
.gg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gg-chip { font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: rgba(150, 172, 255, 0.08); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.gg-chip.on { color: var(--gold-ink); background: var(--gold-hi); border-color: var(--gold-hi); }
.gg-sel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gg-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; margin-left: 4px; }
.gg-wband h3 { margin-top: 10px; }
.gg-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.gg-jump a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 700; }
.gg-bracket h3 { margin-top: 6px; }
@media (max-width: 560px) { .gg-list .gg-table td:nth-child(3), .gg-list .gg-table th:nth-child(3) { display: none; } }
/* MesoLens in the browser: the grind tracker with pictures (2026-11-16) */
.wg-hero { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 0% 0%, rgba(243, 154, 43, 0.16), transparent 60%), linear-gradient(180deg, var(--panel-hi), var(--deep)); }
.wg-char { position: relative; flex: none; width: 110px; height: 110px; display: grid; place-items: end center; border-radius: 14px; background: radial-gradient(60% 18% at 50% 92%, rgba(0, 0, 0, 0.45), transparent 70%), linear-gradient(180deg, #2a4d8f 0%, #4f86c9 62%, #3f9a52 63%, #2e7a3d 100%); overflow: hidden; }
.wg-char img { max-width: 100%; max-height: 104px; image-rendering: pixelated; margin-bottom: 6px; }
.wg-lv { position: absolute; top: 6px; left: 6px; font-size: 12px; font-weight: 900; padding: 1px 8px; border-radius: 999px; background: linear-gradient(180deg, #ffd257, #f39a2b); color: #1a1205; }
.wg-herobody { flex: 1; min-width: 0; display: grid; gap: 10px; }
.wg-tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wg-hero .wg-tile { background: rgba(10, 15, 33, 0.55); }
.wg-tile.wg-gold b { color: var(--gold-hi); }
.wg-expbar { position: relative; height: 22px; border-radius: 999px; background: #0a0f21; border: 1px solid rgba(255, 210, 87, 0.35); overflow: hidden; }
.wg-expbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(180deg, #fff1a8, #ffd257 45%, #f39a2b); box-shadow: 0 0 12px rgba(255, 190, 92, 0.55); transition: width 0.6s ease; }
.wg-expbar span { position: relative; display: block; text-align: center; font-size: 12.5px; font-weight: 900; line-height: 20px; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.wg-herosub { margin: 0; color: var(--muted); font-size: 14px; }
.wg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.wg-stat { display: flex; gap: 10px; align-items: center; background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.wg-stat > div { display: grid; gap: 1px; min-width: 0; }
.wg-stat span { color: var(--muted); font-size: 13px; font-weight: 700; }
.wg-stat b { font-size: clamp(18px, 2.4vw, 24px); font-weight: 900; line-height: 1.15; }
.wg-stat small { color: var(--faint); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg-statpic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(150, 172, 255, 0.08); }
.wg-ico { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; display: inline-block; flex: none; }
.wg-coin { width: 26px; height: 26px; flex: none; }
.wg-sword, .wg-bag, .wg-pot { border-radius: 8px; background: center / 24px no-repeat; }
.wg-sword { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffbe5c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M14 4h6v6L9 21l-6-6z'/%3E%3Cpath d='M5 13l6 6'/%3E%3C/svg%3E"); }
.wg-bag { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b2d2' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 13H7z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E"); }
.wg-pot { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3h4v4l4 5a6 6 0 1 1-12 0l4-5z' fill='%23ff6b6b'/%3E%3C/svg%3E"); }
.wg-chart { margin-top: 12px; padding: 12px 14px 8px; border-radius: 14px; background: var(--deep); border: 1px solid var(--line); }
.wg-charthead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wg-charthead span { color: var(--muted); font-size: 14px; }
.wg-charthead span b { color: var(--gold-hi); }
.wg-chart .wg-graph { height: 110px; margin-top: 6px; }
.wg-gl { stroke: rgba(150, 172, 255, 0.12); stroke-width: 1; }
.wg-dot { fill: var(--gold-hi); stroke: var(--night); stroke-width: 2; }
.wg-chartwait p { margin: 4px 0 0; }
.wg-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 12px; }
.wg-panel { background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.wg-panel h3 { font-size: 15px; margin: 0 0 8px; color: var(--muted); font-weight: 800; }
.wg-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wg-slots li, .wg-mons li { display: flex; gap: 10px; align-items: center; }
.wg-slots img { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.wg-slots li > div, .wg-mons li > div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.wg-slots b { font-size: 18px; }
.wg-slots span { color: var(--muted); font-size: 13px; }
.wg-slots small { color: var(--faint); font-size: 12.5px; }
.wg-bar { display: block; height: 6px; border-radius: 999px; background: rgba(150, 172, 255, 0.12); overflow: hidden; }
.wg-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); }
.wg-slots .wg-bar i { background: linear-gradient(90deg, #3fa9e0, #7fd0ff); }
.wg-loot { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.wg-loot li, .wg-feed li { display: flex; gap: 8px; align-items: center; min-width: 0; }
.wg-loot li span, .wg-feed li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.wg-loot li b { color: var(--gold-hi); }
.wg-mons span { font-size: 14px; }
.wg-mons b { font-size: 16px; }
.wg-feed .wg-ico, .wg-feed .wg-coin { width: 22px; height: 22px; }
.wg-feed li { color: var(--muted); }
.wg-feed li:first-child { color: var(--ink); }
.wg-pop { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(243, 154, 43, 0.5); background: rgba(243, 154, 43, 0.1); }
.wg-pop > div { flex: 1 1 260px; display: grid; gap: 2px; }
.wg-pop span { color: var(--muted); font-size: 14px; }
.wg-charname { background: var(--deep); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; width: 150px; order: 2; }
.wg-x { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; width: 26px; height: 26px; line-height: 1; font-size: 18px; cursor: pointer; flex: none; }
.wg-x:hover { color: var(--ink); border-color: var(--gold); }
.wg-pipbody .wg-hero.compact { padding: 8px; gap: 10px; }
.wg-hero.compact .wg-char { width: 64px; height: 64px; }
.wg-hero.compact .wg-char img { max-height: 60px; margin-bottom: 3px; }
.wg-hero.compact .wg-lv { font-size: 10px; padding: 0 6px; top: 3px; left: 3px; }
.wg-hero.compact .wg-herobody { gap: 6px; }
.wg-hero.compact .wg-expbar { height: 16px; }
.wg-hero.compact .wg-expbar span { line-height: 14px; font-size: 11px; }
.wg-stats.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.wg-stats.compact .wg-stat { padding: 6px 8px; gap: 8px; }
.wg-stats.compact .wg-statpic { width: 30px; height: 30px; }
.wg-stats.compact .wg-ico { width: 26px; height: 26px; }
.wg-stats.compact .wg-coin { width: 22px; height: 22px; }
.wg-stats.compact .wg-stat b { font-size: 17px; }
.wg-stats.compact .wg-stat span { font-size: 11.5px; }
.wg-pipslots { list-style: none; margin: 6px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.wg-pipslots li { display: flex; align-items: center; gap: 4px; background: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px 2px 2px; font-size: 13px; }
.wg-pipslots img { width: 24px; height: 24px; border-radius: 6px; }
.gp-reading { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 6px 0; }
.gp-spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255, 190, 92, 0.25); border-top-color: var(--gold-hi); animation: gp-spin 0.9s linear infinite; flex: none; }
@keyframes gp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gp-spin { animation: none; } .wg-expbar i { transition: none; } }
.gp-why { margin: 6px 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 181, 71, 0.45); background: rgba(255, 181, 71, 0.08); color: var(--ink); }
.gp-watch { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.gp-watch span { flex: 1 1 260px; color: var(--muted); font-size: 14.5px; }
.gp-or summary { cursor: pointer; color: var(--gold-hi); font-weight: 800; margin: 4px 0; }
.wg-slots { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.wg-slots li > div { gap: 2px; }
.wg-slots .wg-slotline { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
@media (max-width: 760px) { .wg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wg-hero:not(.compact) { flex-direction: column; align-items: stretch; } .wg-hero:not(.compact) .wg-char { width: 100%; height: 120px; } }

/* Best maps (players.js bmLoad): every figure in its own column, every row the same height.
   Rank, three picture slots and the name sit at fixed widths in the first cell, so names start at
   the same place on every row. Below 1100px the rows turn into cards: the map on top, then the
   figures in a 4-column grid, each with its name above it, lined up from card to card. */
.rk:has(.pl-bm-filters) { max-width: 1080px; }
.pl-bm-filters { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.pl-bm { table-layout: fixed; }
.pl-bm col.c-lv { width: 68px; }
.pl-bm col.c-h { width: 58px; }
.pl-bm col.c-e { width: 104px; }
.pl-bm col.c-t { width: 88px; }
.pl-bm col.c-m { width: 108px; }
.pl-bm col.c-p { width: 140px; }
.pl-bm col.c-f { width: 84px; }
.pl-bm th { font-family: var(--sans); vertical-align: bottom; line-height: 1.25; padding: 6px 6px; }
.pl-bm td { height: 62px; padding: 7px 6px; vertical-align: middle; font-variant-numeric: tabular-nums; }
.pl-table.pl-bm td:first-child { width: auto; }
.pl-bm td.num { white-space: nowrap; }
.pl-bm-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pl-bm-rank { flex: none; width: 26px; text-align: center; color: var(--faint); font-weight: 800; font-size: 13px; }
.pl-bm-mobs { width: 104px; gap: 4px; }
.pl-bm-name { display: grid; gap: 2px; min-width: 0; }
.pl-bm-name b, .pl-bm-name .rk-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-bm-p { font-size: 13px; line-height: 1.3; color: var(--muted); }
.pl-bm-f span { display: block; }
.pl-bm td::before { display: none; }
@media (max-width: 1099px) {
  .pl-bm, .pl-bm tbody { display: block; }
  .pl-bm thead, .pl-bm colgroup { display: none; }
  .pl-bm tbody { display: grid; gap: 10px; }
  .pl-bm tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: 'map map map' 'lv h f' 'e t m' 'p p p'; gap: 10px 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(150, 172, 255, 0.04); }
  .pl-table.pl-bm tr.pl-best1 td { background: none; }
  .pl-bm tr.pl-best1 { background: rgba(255, 200, 61, 0.07); border-color: rgba(255, 200, 61, 0.4); }
  .pl-bm td, .pl-bm td.num { display: block; height: auto; padding: 0; border: 0; text-align: left; white-space: normal; min-width: 0; }
  .pl-bm td.pl-bm-map { grid-area: map; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .pl-bm td.pl-bm-lv { grid-area: lv; } .pl-bm td.pl-bm-h { grid-area: h; } .pl-bm td.pl-bm-f { grid-area: f; }
  .pl-bm td.pl-bm-e { grid-area: e; } .pl-bm td.pl-bm-t { grid-area: t; } .pl-bm td.pl-bm-m { grid-area: m; }
  .pl-bm td.pl-bm-p { grid-area: p; }
  .pl-bm td::before { display: block; content: attr(data-label); font-family: var(--sans); color: var(--faint); font-size: 12px; font-weight: 800; margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pl-bm td.pl-bm-map::before { display: none; }
  .pl-bm-f span { display: inline; }
  .pl-bm-f span + span::before { content: ', '; }
  .pl-bm-f .rk-sub { color: inherit; font-size: inherit; }
}
@media (max-width: 560px) {
  .pl-bm-filters { grid-template-columns: 1fr; }
  .rk:has(.pl-bm-filters) > .acard { padding: 16px 12px; }
  .pl-bm tr { padding: 10px; gap: 8px 8px; }
  .pl-bm td.num { font-size: 13.5px; }
  .pl-bm-head { gap: 8px; }
  .pl-bm-rank { width: 24px; }
  .pl-bm-mobs { width: 92px; }
  .pl-bm-mobs .pl-mob, .pl-bm-mobs .pl-mob:nth-child(n+2) { display: block; width: 28px; height: 28px; }
  .pl-bm-name b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .pl-bm-f span { display: block; }
  .pl-bm-f span + span::before { content: none; }
}

/* SEO guide pages (added by seo_patch.py) */
.seo-crumbs { font-size: 14px; color: var(--faint); }
.seo-crumbs a { color: var(--muted); }
.seo-page .feature { grid-template-columns: 1fr; gap: 18px; }
.seo-page .feature.has-media { grid-template-columns: 1fr 1fr; gap: 32px; }
.seo-page .feature .words a.go { font-weight: 800; }
.seo-page .more { margin-top: 0; }
.seo-page .more a { color: inherit; text-decoration: none; }
.seo-page .more div:hover { border-color: var(--gold-hi); }
.seo-teaser { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.seo-teaser li { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.seo-cta { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 12px; text-align: center; justify-items: center; }
.seo-links { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 15px; }
footer .seo-guides nav { flex-wrap: wrap; }
footer .seo-guides span { color: var(--faint); }
@media (max-width: 800px) { .seo-page .feature.has-media { grid-template-columns: 1fr; } .seo-page .feature.has-media .media { order: 2; } }
