/* ThorRank mock-up V2 (2026-11-12, owner: "a little playful, not super playful; more professional; don't gamify";
   + light/dark theme with a toggle switch). Calm UI, thin borders, yellow only as an accent. Motion stays (feed, counters,
   ring, bars) and always runs, also with reduced motion on (owner's Mac). V1 lives at /thorrankV1/. */
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root, [data-theme="dark"] {
  /* 2026-11-21 (owner: "a bit too dark"): lifted from near-black to a deep blue slate */
  --bg: #121522; --panel: #181c2c; --card: #1d2234; --hover: #242a40; --line: #2a3049; --line2: #39415f;
  --text: #f0f2fa; --muted: #a6adc9; --dim: #777f9f;
  --volt: #ffd84d; --volt-hover: #ffe27a; --volt-text: #ffd84d; --volt-ink: #1b1600;
  --ok: #34d399; --blue: #8ab4ff; --verified: #3d7eff; --top-bg: rgba(18, 21, 34, .82); --cta-end: #1f1e18; --shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 10px 30px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f6f7fb; --panel: #ffffff; --card: #f1f3f8; --hover: #eef1f8; --line: #e4e7f0; --line2: #d3d8e6;
  --text: #0d1020; --muted: #4f5674; --dim: #858ba6;
  --volt: #ffd23a; --volt-hover: #ffdc5c; --volt-text: #f5c400; --volt-ink: #1b1600;
  --ok: #0f9f6e; --blue: #2f6bff; --verified: #2f6bff; --top-bg: rgba(246, 247, 251, .85); --cta-end: #fff6d6; --shadow: 0 1px 2px rgba(13, 16, 32, .05);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
/* scrollbars in the theme colours everywhere (page, dropdowns, lists, code). Firefox/Chrome 121+: scrollbar-color;
   Safari: ::-webkit-scrollbar. Elements with scrollbar-width: none keep hiding theirs (class rules beat *). */
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--text) 24%, transparent) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text) 24%, transparent); border: 3px solid transparent; border-radius: 10px; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--text) 45%, transparent); background-clip: padding-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 16px/1.55 "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* theme switch (2026-11-21): the page scripts use View Transitions; the new theme opens as a circle from the switch (top right). Cheap: one snapshot, not
   thousands of colour animations (that made switching slow on the long ladder). */
/* (2026-11-25, flicker) old and new screen are stacked during the reveal: no default blending (the browser adds their brightness up:
   a light flash where they overlap) and no default fade, the new one simply on top */
::view-transition-image-pair(root) { isolation: auto; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; animation: none; }
::view-transition-old(root) { z-index: 1; } ::view-transition-new(root) { z-index: 2; }
/* (2026-11-28, owner: "a very fast flash between dark and white", random, both ways, Chrome on Mac): the reveal runs on the GPU and Chrome
   sometimes paints the new screen one frame before the clip starts = the whole page in the new theme for a blink. The new screen is now
   hidden by default (circle of 0, also while the animation is not running yet: fill both) so a late frame shows the old theme instead. */
::view-transition-new(root) { clip-path: circle(0 at var(--tx, calc(100% - 170px)) var(--ty, 32px)); animation: tr-reveal .55s cubic-bezier(.6, 0, .3, 1) both; }
@keyframes tr-reveal { from { clip-path: circle(0 at var(--tx, calc(100% - 170px)) var(--ty, 32px)); } to { clip-path: circle(var(--tr, 150vmax) at var(--tx, calc(100% - 170px)) var(--ty, 32px)); } }   /* --tx/--ty/--tr: the button (js/pop.js) */
/* dark theme depth (2026-11-21, owner: "a bit more premium", no glows/dot grids): a soft colour band down from the top + fine film grain */
[data-theme="dark"] body { background: linear-gradient(180deg, #1a1e31 0, #151929 380px, var(--bg) 900px) var(--bg) no-repeat; }
[data-theme="dark"] body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 650; font-size: 15px; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn-primary { background: var(--volt); color: var(--volt-ink); }
.btn-primary:hover { background: var(--volt-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 10px; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: var(--top-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; height: 66px; }
/* logo = V4 #1 (2026-11-20): outlined SVG, letters follow the text colour, the bolt stays #ffd21f. No animation on the logo (owner). */
.brand { display: inline-flex; align-items: center; flex: none; color: var(--text); }
.logo-svg { display: block; height: 23px; width: auto; aspect-ratio: 4328 / 712; overflow: visible; }
.pf-brand .logo-svg { height: 26px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 13px; border-radius: 9px; color: var(--muted); font-weight: 550; font-size: 15px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--card); }
.nav a { white-space: nowrap; }
@media (max-width: 1120px) { .nav a { padding: 8px 9px; font-size: 14.5px; } }   /* half-width desktop: the menu stays on one line (2026-11-25) */
@media (max-width: 900px) { .nav { display: none; } .theme { margin-left: auto; } }

/* the light/dark button (2026-11-25: one round button, moon in light / sun in dark; js/pop.js switches, the reveal grows from the button) */
.theme { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 11px; border: 1px solid var(--line2); background: var(--card); color: var(--text); cursor: pointer; flex: none; transition: border-color .15s, background .15s, transform .15s; }
.theme:hover { border-color: var(--volt); background: color-mix(in srgb, var(--volt) 14%, var(--card)); }
.theme:active { transform: scale(.92); }
.theme svg { grid-area: 1 / 1; width: 18px; height: 18px; margin: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .55s cubic-bezier(.2, 1.4, .4, 1), opacity .25s; }
.theme .moon { fill: currentColor; }
[data-theme="light"] .theme .sun, :root:not([data-theme]) .theme .sun { opacity: 0; transform: rotate(-90deg) scale(.4); }   /* light: the moon (go dark) */
[data-theme="dark"] .theme .moon { opacity: 0; transform: rotate(90deg) scale(.4); }                                              /* dark: the sun (go light) */
[data-theme="dark"] .theme .sun { stroke: var(--volt); }
.theme:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }

/* intro: one line about + submit, so the ranking starts high on the page (owner 2026-11-13: "remove all the clutter above it") */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: center; padding: 34px 0 6px; }
@media (max-width: 900px) { .intro { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 24px; } }
h1 { font-weight: 750; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -.03em; }
.intro-txt p { margin-top: 8px; max-width: 40em; color: var(--muted); font-size: 16px; }
/* 2026-11-23: "What is Thor⚡Rank?" (the logo's own rounded bolt between the words) + three short lines; search on the right */
/* 2026-11-23 (2): visually smaller than "Top launches today" so the ladder starts high; the tag stays h1 (one h1 per page) */
.intro { padding-top: 26px; }
.intro-txt h1 { font-size: clamp(22px, 2.2vw, 27px); margin-bottom: 6px; }
.intro-txt p { font-size: 15px; margin-top: 2px; }
.intro-txt p + p { margin-top: 2px; }
/* the real logo (outlined SVG, same as the header; no vaporwave: that only hooks .top .brand). Its ascenders (700 of 712 units) match the cap height. */
.intro-txt h1 { font-weight: 900; }
.h1-logo { display: inline-block; height: .8em; width: auto; aspect-ratio: 4328 / 712; margin-left: .06em; vertical-align: -.03em; overflow: visible; }

/* search: one big box, results drop down over the page (js/app.js filters window.TR.sites) */
.finder { position: relative; align-self: center; }
.find-field { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 14px 0 18px; border-radius: 16px; background: var(--panel); border: 2px solid var(--line2);
  box-shadow: 5px 5px 0 var(--volt); cursor: text; transition: border-color .15s, box-shadow .2s, transform .2s; }
.find-field:focus-within { border-color: var(--text); box-shadow: 7px 7px 0 var(--volt); transform: translate(-2px, -2px); }
.find-field > svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--text); stroke-width: 2.6; stroke-linecap: round; }
.find-field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: 600 18px "Inter Tight", sans-serif; }
.find-field input::placeholder { color: var(--dim); font-weight: 500; }
.find-field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.find-field kbd { flex: none; display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line2); border-bottom-width: 3px; color: var(--muted); font: 700 14px "Inter Tight", sans-serif; }
.find-field:focus-within kbd { opacity: 0; }
@media (hover: none) { .find-field kbd { display: none; } }
.find-note { margin-top: 10px; color: var(--muted); font-size: 14px; }
.find-note b { color: var(--text); }
.find-note a { color: var(--text); font-weight: 650; text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.find-list { position: absolute; z-index: 30; top: 66px; left: 0; right: 0; max-height: min(440px, 60vh); overflow-y: auto; padding: 6px; list-style: none;
  border-radius: 16px; border: 2px solid var(--text); background: var(--panel); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); animation: find-in .22s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes find-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.find-list li.new { animation: find-row .3s ease both; animation-delay: calc(var(--i, 0) * 28ms); }   /* .new = not in the open list before this key (js/app.js) */
@keyframes find-row { from { opacity: 0; transform: translateX(-10px); } }
.find-list a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; color: var(--text); }
.find-list li.on a { background: var(--hover); box-shadow: inset 4px 0 0 var(--volt); }
.find-list img, .find-list .ltile { width: 34px; height: 34px; flex: none; border-radius: 9px; object-fit: cover; }
.find-list .ltile { --s: 34px; display: grid; font-size: 16px; }
.fr-t { flex: 1; min-width: 0; }
.fr-t b { font-weight: 700; font-size: 15.5px; }
.fr-t small { display: block; overflow: hidden; color: var(--muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.fr-t .verified, .fr-t .pmark { width: 15px; height: 15px; margin-left: 5px; vertical-align: -2px; }
.find-list mark { background: color-mix(in srgb, var(--volt) 55%, transparent); color: inherit; border-radius: 3px; }
.fr-s { flex: none; display: grid; justify-items: end; min-width: 44px; font-weight: 800; font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; }
.fr-s i { margin-top: 3px; color: var(--dim); font: 600 10.5px "Inter Tight", sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.fr-s.none { color: var(--dim); }
.fa-plus { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--volt); color: var(--volt-ink); font-weight: 800; font-size: 22px; }
.find-add { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 4px; }
.find-add:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.find-none { padding: 14px 12px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .intro { padding-top: 18px; gap: 14px; } .find-field { height: 52px; } .find-list { top: 62px; } .find-note { margin-top: 8px; } }
.submit-pop .pop-badge svg path { stroke: currentColor; stroke-width: 5; stroke-linejoin: round; }
.submit-pop .submit-msg:empty { min-height: 8px; }
.submit { display: flex; gap: 10px; }
.field { flex: 1; display: flex; align-items: center; min-width: 0; height: 48px; padding: 0 14px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line2); box-shadow: var(--shadow); transition: border-color .15s; }
.field:focus-within { border-color: var(--volt); }
.field span { color: var(--dim); }
.field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: 500 16px "Inter Tight", sans-serif; }
.field input::placeholder { color: var(--dim); }
.submit-msg { min-height: 20px; margin-top: 6px; color: var(--ok); font-size: 14px; font-weight: 550; }
@media (max-width: 520px) { .submit { flex-direction: column; } .field { flex: none; } }
/* sections */
.sec { padding: 64px 0 8px; }
.sec-first { padding-top: 22px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
h2 { font-weight: 750; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.03em; }
.sec-sub { color: var(--muted); font-size: 16px; margin-top: 6px; }
.controls { display: flex; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); }
.seg button { border: 0; background: none; height: 34px; padding: 0 13px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2), var(--shadow); }
.select { position: relative; }
.select select { appearance: none; height: 42px; padding: 0 38px 0 14px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--text); cursor: pointer; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* the category select matches the height of the sort buttons next to it (42px = 34 + 2×3 padding + 2×1 border) */
/* ranking table (2026-11-13: taller rows with the full about text, category line, share + upvote per row) */
.table { border-radius: 16px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.thead, .row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 76px 76px 132px 154px; gap: 18px; align-items: center; padding: 0 20px; }
.thead { height: 44px; color: var(--dim); font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); }
.rows { list-style: none; padding: 0; }
/* speed (2026-11-24): rows far off screen are not laid out or painted until they come near; pictures load late (js/pop.js trLazy) */
/* (2026-11-25) no content-visibility on the ladder rows any more: its 150 px guess made the page change height while scrolling, so
   links like Scores (/#method) overshot by thousands of pixels. 100 rows are cheap to lay out. */
.table.busy .rows { opacity: .45; transition: opacity .15s; pointer-events: none; }
.row-none { padding: 28px 22px; color: var(--muted); list-style: none; }
/* ladder pages: 100 rows each, Previous / Next under the table (owner 2026-11-24) */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.pager[hidden] { display: none; }
.pager span { color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; white-space: nowrap; }
@media (max-width: 400px) { .pager { gap: 8px; } .pager span { font-size: 12.5px; } .pager .btn { padding: 0 11px; } }
.pager .btn:disabled { opacity: .4; cursor: default; pointer-events: none; }
.row { min-height: 132px; padding-block: 18px; cursor: pointer; transition: background .15s; position: relative; }
.row + .row { border-top: 1px solid var(--line); }
.row:hover { background: var(--card); }
.row.sel { background: var(--hover); }
.row.sel::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--volt); }
.pos { color: var(--dim); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.site { display: flex; align-items: center; gap: 18px; min-width: 0; }
.thumb { flex: none; width: 160px; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; border: 1px solid var(--line2); background: var(--card); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.site-txt { min-width: 0; }
.site-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.site-name img { width: 22px; height: 22px; border-radius: 6px; background: #fff; flex: none; box-shadow: 0 0 0 1px var(--line); }
.site-name b { font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-name .sname { font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.site-name .sname:hover { text-decoration-color: var(--volt); }
/* the whole row opens the site's page: the name's link stretches over the row (.row is position: relative); Share + Upvote sit above it */
.site-name .sname::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.row:hover .sname { text-decoration-color: var(--volt); }
.row .acts { position: relative; z-index: 2; }
.sname:focus-visible { outline: none; }
.row:has(.sname:focus-visible) { box-shadow: inset 0 0 0 2px var(--volt); }
.site-name .host { color: var(--dim); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.verified { flex: none; width: 16px; height: 16px; fill: var(--verified); }   /* own colour (2026-11-21): the pale link blue was too light behind the white tick in dark mode */
.site-txt p { margin-top: 5px; color: var(--muted); font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 9px; color: var(--dim); font-size: 13px; }
.tags .cat { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 650; }
.tags .cat::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--volt); }
.tags .ok, .cell.ok { color: var(--ok); }
.tags span:nth-child(n+3) { display: none; }
.cell { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.score { display: flex; align-items: center; gap: 12px; }
.score b { width: 32px; font-weight: 750; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bar { flex: 1; height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--volt); transition: width .9s cubic-bezier(.3, .9, .3, 1); }
/* share + upvote */
.acts { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.share { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s; }
.share:hover { color: var(--text); border-color: var(--muted); }
.share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 56px; height: 64px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.vote svg { width: 20px; height: 20px; fill: var(--dim); transition: fill .15s, transform .2s; }
.vote b { font-weight: 750; font-size: 16px; line-height: 1; font-variant-numeric: tabular-nums; }
.vote:hover { border-color: var(--volt); }
.vote:hover svg { fill: var(--volt); transform: translateY(-2px); }
.vote.on { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.vote.on svg { fill: var(--volt-ink); }
.share:focus-visible, .vote:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }
@media (max-width: 1000px) {
  .thead { display: none; }
  .row { grid-template-columns: 26px minmax(0, 1fr) 64px; grid-template-areas: "pos site acts" "pos score acts"; padding: 16px; row-gap: 10px; }
  .pos { grid-area: pos; align-self: start; padding-top: 4px; } .site { grid-area: site; } .score { grid-area: score; max-width: 260px; }
  .acts { grid-area: acts; flex-direction: column-reverse; align-self: start; } .share span { display: none; } .share { width: 56px; justify-content: center; padding: 0; }
  .cell { display: none; } .tags span:nth-child(n+3) { display: inline; }
  .thumb { width: 120px; }
  .site-name .host { display: none; }
}

/* launch record */
.record-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; }
@media (max-width: 900px) { .record-grid { grid-template-columns: minmax(0, 1fr); } }
.panel { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px; }
.ring { position: relative; width: 168px; height: 168px; margin: 4px auto 22px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 11; }
.ring-fg { fill: none; stroke: var(--volt); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 439.8; stroke-dashoffset: 439.8; transition: stroke-dashoffset 1.1s cubic-bezier(.3, .9, .3, 1); }
.ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num b { font-weight: 750; font-size: 50px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ring-num span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.parts { list-style: none; padding: 0; display: grid; gap: 14px; }
.parts li { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 5px 12px; align-items: center; }
.parts .lbl { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.parts .lbl span { color: var(--dim); font-weight: 500; }
.parts .bar { grid-column: 1; }
.parts b { grid-column: 2; grid-row: 1 / 3; text-align: right; font-variant-numeric: tabular-nums; }
.score-panel { display: flex; flex-direction: column; }
.score-panel .parts { margin-bottom: 22px; }
.method-note { display: flex; gap: 10px; margin-top: auto; padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.45; }
.method-note svg { flex: none; width: 18px; height: 18px; fill: var(--volt); margin-top: 1px; }
.rec-head { display: flex; align-items: center; gap: 13px; }
.rec-head img { width: 44px; height: 44px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.rec-head b { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.rec-head span { color: var(--muted); font-size: 14px; }
.rec-head a { margin-left: auto; }
.rec-shot { position: relative; margin: 20px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); aspect-ratio: 16 / 9; }
.rec-shot img { width: 100%; height: 100%; object-fit: cover; }
.rec-shot span { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 7px; background: rgba(10, 12, 20, .82); color: #eef0f8; font-size: 12px; font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: 12px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts div { padding: 13px 14px; background: var(--panel); }
.facts span { display: block; color: var(--dim); font-size: 12.5px; font-weight: 550; }
.facts b { font-weight: 650; font-size: 15px; }
.facts b.ok { color: var(--ok); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }

/* most improved */
.improved { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .improved { grid-template-columns: minmax(0, 1fr); } }
.icard { padding: 20px; }
.icard-top { display: flex; align-items: center; gap: 11px; }
.icard-top img { width: 34px; height: 34px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.icard-top b { display: block; font-weight: 650; }
.icard-top span { color: var(--dim); font-size: 13px; }
.icard-top .gain { margin-left: auto; color: var(--ok); font-weight: 750; font-size: 20px; letter-spacing: -.02em; }
.trend { margin-top: 14px; width: 100%; height: 64px; }
.trend .l { fill: none; stroke: var(--volt); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.trend .a { fill: var(--volt); opacity: .1; }
.icard.in .trend .l { animation: draw 1.4s cubic-bezier(.3, .8, .3, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.icard-foot { display: flex; justify-content: space-between; margin-top: 8px; color: var(--dim); font-size: 13px; }
.icard-foot b { color: var(--text); font-weight: 650; }

/* founders */
.founders { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 32px; }
@media (max-width: 900px) { .founders { grid-template-columns: minmax(0, 1fr); padding: 22px; } }
.seg-sm { margin: 20px 0 12px; }
.code { padding: 14px 16px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line); color: var(--blue); font: 13px/1.65 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre; overflow-x: auto; margin-bottom: 12px; }
.badge-stage { position: relative; display: grid; place-items: center; min-height: 230px; border-radius: 14px; background: #f6f7fb; border: 1px solid var(--line2); }
[data-theme="light"] .badge-stage { background: #eef1f7; }
.badge-url { position: absolute; top: 12px; left: 16px; color: #8b90aa; font-size: 12.5px; font-weight: 600; }
.tbadge { display: inline-flex; align-items: center; gap: 11px; padding: 9px 14px 9px 10px; border-radius: 12px; background: #fff; border: 1px solid #dfe2ee; box-shadow: 0 1px 2px rgba(10, 12, 20, .06); color: #0a0c14; animation: pop .4s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.tbadge img { width: 30px; height: 30px; }
.tbadge small { display: block; color: #6b7090; font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.tbadge strong { display: block; font-size: 16px; font-weight: 750; letter-spacing: -.02em; line-height: 1.25; }
.tbadge .sc { margin-left: 6px; padding-left: 12px; border-left: 1px solid #e3e6f0; font-size: 24px; font-weight: 800; letter-spacing: -.04em; }

/* CTA */
.cta { padding: 64px 0 24px; }
.cta-in { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 36px; border-radius: 18px;
  border: 1px solid var(--line2); background: linear-gradient(115deg, var(--panel) 0%, var(--panel) 60%, var(--cta-end) 100%); }
.cta-in::after { content: ""; position: absolute; right: -10px; top: -40px; width: 150px; height: 260px; background: var(--volt); opacity: .12;
  clip-path: polygon(58% 0, 22% 52%, 46% 52%, 30% 100%, 82% 40%, 56% 40%, 74% 0); transform: rotate(12deg); }

.foot { display: flex; align-items: center; justify-content: space-between; padding: 30px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot-note { color: var(--dim); font-size: 13px; }

/* link to /pricing under the submit form + in the CTA (2026-11-13) */
.intro-more { color: var(--dim); font-size: 13.5px; }
.intro-more a { color: var(--text); font-weight: 650; text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* footer (2026-11-13), same layout as blackoutmap.net / downsonar: brand + columns + base line. Shared partial: partials/footer.html */
.pfoot { margin-top: 64px; padding: 48px 0 36px; border-top: 1px solid var(--line); background: var(--panel); }
.pf-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.pf-brand { max-width: 320px; }
.pf-tag { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.pf-col { display: flex; flex-direction: column; gap: 11px; }
.pf-stack { display: flex; flex-direction: column; gap: 30px; }
.pf-h { margin-bottom: 2px; color: var(--text); font-size: 13.5px; font-weight: 700; }
.pf-col .pf-link { padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.pf-col .pf-link[hidden] { display: none; }
.pf-col a, .pf-col .soon, .pf-col .pf-link { width: fit-content; color: var(--muted); font-size: 14.5px; transition: color .15s; }
.pf-col a:hover, .pf-col .pf-link:hover { color: var(--text); }
.pf-col .soon { color: var(--dim); opacity: .6; cursor: default; }
.pf-base { display: grid; gap: 6px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; line-height: 1.6; }
@media (max-width: 900px) { .pf-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; } .pf-brand { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 560px) { .pf-top { grid-template-columns: 1fr 1fr; gap: 26px; } }

/* ── real site (2026-11-14): sites come from the database; owners can sign in, claim and complete their listing ── */
.ltile { display: inline-grid; place-items: center; flex: none; width: var(--s, 22px); height: var(--s, 22px); border-radius: calc(var(--s, 22px) * .27); background: var(--volt); color: var(--volt-ink); font-weight: 800; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--volt-ink) 12%, transparent); font-size: calc(var(--s, 22px) * .52); line-height: 1; }   /* no icon: the first letter on yellow (owner 2026-11-25) */
.rec-head .ltile { --s: 44px; } .icard-top .ltile { --s: 34px; }
.noshot { display: grid; place-items: center; width: 100%; height: 100%; padding: 8px; background: repeating-linear-gradient(135deg, var(--card) 0 12px, var(--hover) 12px 24px); color: var(--dim); font-weight: 650; font-size: 13px; text-align: center; overflow-wrap: anywhere; }
.pmark { flex: none; width: 16px; height: 16px; fill: var(--volt-text); }
.score-new { flex-direction: column; align-items: flex-start; gap: 0; }
.score-new b { width: auto; font-size: 18px; color: var(--volt-text); }
.score-new span { color: var(--dim); font-size: 12.5px; }
.rec-claim { display: block; margin-top: 14px; padding: 12px 14px; border-radius: 11px; border: 1px dashed var(--line2); color: var(--muted); font-size: 14px; font-weight: 600; transition: border-color .15s, color .15s; }
.rec-claim:hover { border-color: var(--volt); color: var(--text); }
.rec-shot .noshot { position: static; padding: 8px; border-radius: 0; background: repeating-linear-gradient(135deg, var(--card) 0 12px, var(--hover) 12px 24px); color: var(--dim); font-size: 14px; }
.submit-msg a { color: var(--text); font-weight: 650; text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.submit-msg.bad { color: #e5484d; }
.submit button[disabled] { opacity: .7; cursor: progress; }
a.icard { display: block; transition: border-color .15s, transform .15s; }
a.icard:hover { border-color: var(--line2); transform: translateY(-2px); }
.nf { padding: 90px 0 40px; display: grid; gap: 14px; justify-items: start; }
/* header: account button; on phones the Submit button goes (the form is the first thing on the front page) */
.acc-btn { gap: 8px; padding-left: 6px; }
.acc-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--volt); color: var(--volt-ink); font-weight: 750; font-size: 13px; }
@media (max-width: 900px) { .top-in { gap: 12px; } }
@media (max-width: 620px) { .top-submit { display: none; } .acc-lbl { display: none; } .acc-btn { padding: 0 6px; } }
@media (max-width: 400px) { .top-in { gap: 8px; } .top .logo-svg { height: 19px; } .acc-in { padding: 0 10px; font-size: 13px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html, body { overflow-x: clip; }
[hidden] { display: none !important; }

/* ── votes ladder + boost (2026-11-14): the ladder shows votes; uptime/response/score columns only in the "Top score" tab ── */
.table:not(.by-score) .thead, .table:not(.by-score) .row { grid-template-columns: 36px minmax(0, 1fr) 154px; }
.table:not(.by-score) .cell, .table:not(.by-score) .score, .table:not(.by-score) .thead span:nth-child(n+3):not(.th-votes) { display: none; }
.th-votes { text-align: right; }
.by-score .tag-score { display: none; }
.tags .tag-score { color: var(--text); font-weight: 650; }
.boosted { display: inline-flex !important; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; border: 1px solid var(--line2); color: var(--muted); font-size: 11.5px; font-weight: 650; letter-spacing: .02em; cursor: help; }
.acts { position: relative; }
.vote-note, .vote-msg { color: #e5484d; font-size: 13px; font-weight: 600; }
.vote-note { position: absolute; right: 0; top: 100%; margin-top: 4px; white-space: nowrap; }
.vote[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 1000px) { .table:not(.by-score) .row { grid-template-columns: 26px minmax(0, 1fr) 64px; grid-template-areas: "pos site acts"; } .tags .tag-score { display: inline; } }
@media (max-width: 1000px) { .by-score .tags .tag-score { display: none; } }   /* Top score tab: the big score bar is already there (2026-11-23) */
/* phones (owner 2026-11-23; must stay below the ladder's 1000px rule above, which also sets the areas): the snapshot comes back, under the row's text (owner: above it was confusing), lined up with the text column, so you can see what each site looks like.
   .site becomes display: contents so the picture and the text are grid items of the row; no picture = no empty box. */
@media (max-width: 560px) {
  .row { grid-template-areas: "pos site acts" "pos score acts" ". shot shot"; row-gap: 12px; }
  .table:not(.by-score) .row { grid-template-areas: "pos site acts" ". shot shot"; }
  .site { display: contents; }
  .thumb { grid-area: shot; width: 100%; aspect-ratio: 2 / 1; border-radius: 12px; }
  .thumb:has(.noshot) { display: none; }
  .site-txt { grid-area: site; }
  .row.sel::before { top: 16px; bottom: 16px; }
}

/* ── pop-ups (js/pop.js): sign in to upvote, questions instead of browser confirm(), small toasts. Never native alerts (owner 2026-11-15).
   Motion always runs (owner's Mac has reduced motion on). Phones: a sheet from the bottom. ── */
.pop { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; padding: 30px 28px 26px; border-radius: 22px;
  border: 1px solid var(--line2); background: var(--panel); color: var(--text); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02); }
.pop[open] { animation: pop-in .42s cubic-bezier(.2, 1.35, .4, 1) both; }
.pop.closing { animation: pop-out .2s ease-in both; }
.pop::backdrop { background: rgba(6, 8, 16, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: pop-fade .3s ease both; }
.pop.closing::backdrop { animation: pop-fade .2s ease reverse both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(22px) scale(.94); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes pop-fade { from { opacity: 0; } }
.pop-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s, transform .15s; }
.pop-x:hover { color: var(--text); border-color: var(--line2); transform: rotate(90deg); }
.pop-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.pop-badge { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 18px; background: var(--volt); color: var(--volt-ink); box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--volt) 70%, transparent); }
.pop[open] .pop-badge { animation: pop-badge 1.6s cubic-bezier(.3, 1.6, .5, 1) .25s infinite; }
.pop-badge svg { width: 30px; height: 30px; fill: currentColor; }
@keyframes pop-badge { 0%, 60%, 100% { transform: translateY(0); } 25% { transform: translateY(-7px); } 40% { transform: translateY(1px); } }
.pop h2 { margin: 0 44px 8px 0; font-size: 25px; line-height: 1.15; letter-spacing: -.02em; }
.pop-lead { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.pop-lead b { display: block; margin-top: 10px; color: var(--text); font-weight: 650; }
.pop-lead b:empty { display: none; }
.pop .oauths { display: grid; gap: 10px; }
.pop .oauth { width: 100%; gap: 10px; background: var(--panel); }
.pop .oauth svg { width: 20px; height: 20px; }
.pop .oauth:hover { border-color: var(--volt); }
.pop .or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--dim); font-size: 13px; }
.pop .or::before, .pop .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pop-seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-bottom: 18px; } .pop-seg button { height: 40px; padding: 0 6px; white-space: nowrap; }
.pop .form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pop .form label { display: grid; gap: 6px; min-width: 0; }
.pop .form label > span:first-child { font-weight: 650; font-size: 14px; }
.pop .form i { font-style: normal; font-weight: 500; color: var(--dim); font-size: 13px; margin-left: 6px; }
.pop .form input { width: 100%; min-width: 0; height: 46px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: 500 16px "Inter Tight", sans-serif; transition: border-color .15s, box-shadow .15s; }
.pop .form input:focus { outline: 0; border-color: var(--volt); box-shadow: 0 0 0 3px color-mix(in srgb, var(--volt) 30%, transparent); }
.pop .form .btn { width: 100%; }
.pop .fine { margin: 0; font-size: 13px; color: var(--dim); }
.pop .fine a { color: var(--text); text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* a question (instead of confirm()) */
.ask-pop { width: min(400px, calc(100vw - 32px)); }
.ask-pop h2 { font-size: 21px; margin-bottom: 20px; }
.ask-pop .pop-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.ask-pop .pop-acts .btn { flex: 1 1 140px; }
.ask-pop .btn-danger { background: #e5484d; color: #fff; } .ask-pop .btn-danger:hover { background: #f05a5f; }
/* toast */
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 13px 18px 13px 14px;
  border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 650; font-size: 15px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); transform: translateX(-50%);
  animation: toast-in .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.toast.out { animation: toast-out .25s ease-in both; }
.toast i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--volt); color: var(--volt-ink); }
.toast i svg { width: 15px; height: 15px; fill: currentColor; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 24px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 14px); } }
@media (max-width: 560px) {
  .pop { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; border-width: 1px 0 0; }
  .pop[open] { animation-name: sheet-in; } .pop.closing { animation-name: sheet-out; }
  .ask-pop { width: 100vw; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }

/* "Get the app" pop-up (2026-11-20) */
.app-ic { display: block; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 16px; box-shadow: 0 12px 30px -10px rgba(255, 210, 31, .8); }
.pop[open] .app-ic { animation: pop-badge 1.6s cubic-bezier(.3, 1.6, .5, 1) .25s infinite; }
.app-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 10px; }
.app-steps[hidden] { display: none; }
.app-steps li { counter-increment: st; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel2, rgba(127, 127, 127, .08)); font-size: 15px; }
.app-steps li::before { content: counter(st); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--volt); color: var(--volt-ink); font-weight: 800; font-size: 14px; }
.app-steps svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }

/* 404 page buttons (2026-11-20) */
.nf-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
/* the badge example could not shrink on a 320 px phone (long host names) */
.tbadge { max-width: 100%; } .tbadge > span { min-width: 0; } .tbadge strong { overflow-wrap: anywhere; }

/* logo "Vaporwave" moment (owner 2026-11-21, from suggestpassword.com's ultra-strength bar): flowing pink-violet-cyan over the logo's own shape
   (mask = the logo file) + two twinkling sparkles, ~2.4 s, then back to normal. js/pop.js adds .vapor once per visit and on hover. */
.top .brand { position: relative; }
.top .brand::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, #f472b6, #a78bfa, #22d3ee, #a78bfa, #f472b6); background-size: 400% 100%;
  -webkit-mask: url("/img/brand/thorrank-ink.svg") no-repeat center / contain; mask: url("/img/brand/thorrank-ink.svg") no-repeat center / contain; }
.top .brand.vapor::after { animation: vp-flow 1.6s linear infinite, vp-fade 2.4s ease-in-out both; }
.vp-s { position: absolute; left: var(--x, 50%); top: var(--y, -10px); font-style: normal; font-size: var(--s, 12px); line-height: 1; color: var(--c, #f0abfc);
  text-shadow: 0 0 6px var(--g, rgba(167, 139, 250, .9)); opacity: 0; pointer-events: none; animation: vp-twinkle var(--d, 1s) ease-in-out var(--w, 0s) both; }
.vp-s::before { content: "✦"; }
@keyframes vp-flow { from { background-position: 0 0; } to { background-position: -400% 0; } }
@keyframes vp-fade { 0% { opacity: 0; } 18%, 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vp-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(90deg); } }

/* lazy pictures (js/pop.js trLazy): nothing shown until loaded, then a quick fade + settle */
img[data-src] { visibility: hidden; }
img.lz-in { animation: lz-in .45s cubic-bezier(.2, .9, .3, 1); }
@keyframes lz-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.toast.bad i { background: #e5484d; color: #fff; }
.toast i b { font-size: 16px; font-weight: 900; line-height: 1; }
/* badge explanations (js/pop.js data-tip): a small dark bubble above the badge */
.btip { position: fixed; z-index: 95; max-width: min(280px, calc(100vw - 16px)); padding: 9px 12px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 13.5px; font-weight: 600; line-height: 1.4;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.btip.on { opacity: 1; transform: none; }
.btip::after { content: ""; position: absolute; left: calc(var(--ax, 50%) - 6px); top: 100%; border: 6px solid transparent; border-top-color: var(--text); }
.btip.below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--text); }
.btip.below { transform: translateY(-4px); } .btip.below.on { transform: none; }
.site-name .verified, .site-name .pmark { position: relative; z-index: 2; }   /* above the row's stretched link, so they can be hovered */
[data-tip] { cursor: default; }

/* in-page links stop just under the sticky header (js/pop.js also corrects the spot after scrolling) */
section[id], .panel[id] { scroll-margin-top: 84px; }

/* header: the account button and "Submit a site" sit closer together than the rest (2026-11-25) */
.top-in .top-submit, .top-in .acc-btn, .top-in .acc-in { margin-left: -12px; }   /* theme · account · submit: one group, 10 px apart */
@media (max-width: 900px) { .top-in .top-submit, .top-in .acc-btn, .top-in .acc-in { margin-left: -4px; } }
@media (max-width: 400px) { .top-in .top-submit, .top-in .acc-btn, .top-in .acc-in { margin-left: 0; } }   /* the header gap is already 8 px here */

/* while the theme switches (js/pop.js html.theme-flip): no colour transitions under the reveal (they made it lag and flicker); the theme
   icon keeps its turn. (The header blur stays on: switching it off changed the header itself at the start and end = a flicker.) */
.theme-flip *:not(.theme svg), .theme-flip *::before, .theme-flip *::after { transition: none !important; }
/* footer: copyright and company details (2026-11-25) */
.pf-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 10px; color: var(--muted); font-size: 13px; }
.pf-legal > * + *::before { content: "·"; margin: 0 9px; color: var(--dim); }
.pf-legal > span:first-child { color: var(--text); font-weight: 650; }
.pf-legal a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.pf-legal a:hover { color: var(--text); text-decoration-color: var(--volt); }
@media (max-width: 560px) { .pf-legal { column-gap: 16px; } .pf-legal > * + *::before { display: none; } }   /* no dot at the start of a wrapped line */
/* newsletter pop-up (js/pop.js) and the confirm / leave page (newsletter.php) */
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form .nl-field { flex: 1 1 220px; display: flex; }
.nl-form input { width: 100%; height: 48px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: 500 16px "Inter Tight", sans-serif; }
.nl-form input:focus { outline: 0; border-color: var(--volt); box-shadow: 0 0 0 3px color-mix(in srgb, var(--volt) 30%, transparent); }
.nl-form .btn { height: 48px; flex: 0 0 auto; }
.nl-msg { margin: 12px 0 0; font-size: 14.5px; font-weight: 600; }
.nl-msg:empty { display: none; }
.nl-msg.ok { color: var(--ok); } .nl-msg.bad { color: #e5484d; }
.nl-fine { margin: 12px 0 0; color: var(--dim); font-size: 13px; }
.nl-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.nl-page { max-width: 620px; margin: 40px auto; padding: 32px; display: grid; gap: 14px; justify-items: start; }
.nl-page h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.03em; }
/* the account page inside the edit panel of the listing page (2026-11-26): no header, footer or back link */
.in-frame .top, .in-frame .pfoot, .in-frame main > .crumb:first-child { display: none; }
.in-frame body { background: var(--bg); }
.in-frame main { padding-top: 8px; }
