:root {
  --bg: #0b0d0b;
  --surface: #131613;
  --surface-2: #1a1e1a;
  --surface-3: #0f120f;
  --border: #262b26;
  --border-soft: #1d221d;
  --fg: #e8e6e0;
  --muted: #9aa29a;
  --dim: #667066;
  --primary: #ff7a18;
  --primary-dim: #9c4211;
  --primary-dark: #1a0d04;
  --primary-soft: #12200f;
  --yes: #33e667;
  --kinda: #ffb000;
  --no: #ff4444;
  --display: "Space Grotesk", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
  --shadow: 0 12px 40px rgba(0, 0, 0, .34);
}

html[data-theme="light"] { --bg: #f2f0e9; --surface: #fbfaf5; --surface-2: #e8e7de; --surface-3: #f7f6f0; --border: #d2d0c5; --border-soft: #e0ded4; --fg: #1a1c18; --muted: #687068; --dim: #92998f; --primary-soft: #fff3e5; --primary-dark: #fff7ef; --shadow: 0 12px 40px rgba(37, 31, 20, .12); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--fg); background: var(--bg); font-family: var(--mono); font-size: 14px; line-height: 1.5; letter-spacing: .01em; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }

.page-shell { width: min(100% - 32px, 800px); margin-inline: auto; }
.sponsor-tape { position: fixed; top: 75px; z-index: 3; width: var(--rail-width, 198px); pointer-events: none; }
.sponsor-tape-top { display: none; }
.tape-track { display: grid; gap: 10px; }
.sponsor-card, .rail-card { border: 1px solid var(--border); border-radius: 5px; padding: 13px 10px 11px; text-align: center; background: var(--surface); box-shadow: var(--shadow); }
.sponsor-card strong, .sponsor-card small, .rail-card b, .rail-card small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sponsor-card strong, .rail-card b { font-family: var(--display); font-size: 15px; font-weight: 700; margin: 4px 0 2px; }
.sponsor-card small, .rail-card small { color: var(--muted); font-size: 11px; }
.sponsor-icon, .rail-card > span { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; font-family: var(--display); font-size: 18px; font-weight: 700; background: #111; color: var(--primary); }
.sponsor-card.green, .rail-card.green { border-color: color-mix(in srgb, var(--primary) 42%, var(--border)); }
.sponsor-card.yellow, .rail-card.yellow { border-color: rgba(255, 176, 0, .35); }
.sponsor-card.purple, .rail-card.purple { border-color: rgba(111, 51, 220, .55); }
.sponsor-card.violet, .rail-card.violet { border-color: rgba(157, 35, 228, .55); }
.sponsor-card.blue, .rail-card.blue { border-color: rgba(0, 144, 222, .45); }

.site-header { position: sticky; top: 0; z-index: 10; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 max(20px, calc((100vw - 960px) / 2)); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 240px; }
.brand-mark, .modal-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--primary); border-radius: 7px; color: var(--primary); font-family: var(--display); font-weight: 700; line-height: 1; }
.brand-word { font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: -.04em; }
.brand-word b, .footer-brand strong b { color: var(--fg); }
.brand-word span, .footer-brand strong span { color: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 23px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.main-nav a:hover, .footer-links a:hover { color: var(--primary); }
.text-button { border: 0; padding: 0; color: inherit; background: transparent; }
.text-button:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.icon-button, .github-button, .mobile-menu { display: grid; place-items: center; border: 1px solid var(--border); border-radius: 5px; min-width: 35px; height: 35px; color: var(--muted); background: transparent; }
.lang-button { height: 35px; padding: 0 9px; border: 1px solid var(--border); border-radius: 5px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 700; }
.lang-button:hover { border-color: var(--primary); color: var(--primary); }
.github-button { width: 90px; font-size: 12px; font-weight: 700; }
.icon-button:hover, .github-button:hover, .mobile-menu:hover { color: var(--primary); border-color: var(--primary-dim); }
.mobile-menu { display: none; }
.radio-status { position: absolute; top: 63px; right: 24px; display: flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--primary-dim); border-top: 0; color: var(--muted); background: var(--surface); font-size: 10px; }
.radio-status b { color: var(--primary); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary); }

.hero { padding: 80px 0 18px; text-align: center; }
.eyebrow, .section-kicker, .filter-label, .country-title, .digest-form label { color: var(--primary); font-size: 10px; letter-spacing: .13em; }
.eyebrow { margin: 0 0 17px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.05em; }
h1 { margin: 0; font-size: clamp(52px, 7vw, 86px); line-height: .98; font-weight: 700; }
h1 span { color: var(--primary); letter-spacing: .05em; }
.hero-subtitle { max-width: 640px; margin: 28px auto 28px; color: var(--muted); font-size: 13px; }
.search-wrap { position: relative; display: flex; align-items: center; width: min(100%, 635px); height: 59px; margin: 0 auto; padding: 0 17px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); text-align: left; box-shadow: inset 0 1px 0 rgba(255,255,255,.02); }
.search-wrap:focus-within { border-color: var(--primary-dim); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
.prompt { margin-right: 12px; color: var(--primary); font-weight: 700; }
.search-wrap input { width: 100%; border: 0; outline: 0; color: var(--fg); background: transparent; }
.search-wrap input::placeholder { color: var(--muted); opacity: 1; }
#clear-search { border: 0; color: var(--muted); background: transparent; font-size: 22px; }
.search-results { position: relative; z-index: 2; width: min(100%, 635px); max-height: 260px; margin: 4px auto 0; overflow: auto; border: 1px solid var(--border); background: var(--surface); text-align: left; box-shadow: var(--shadow); }
.result-item { display: flex; width: 100%; align-items: center; gap: 18px; padding: 11px 15px; border: 0; border-bottom: 1px solid var(--border-soft); color: var(--fg); background: var(--surface); text-align: left; }
.result-item:last-child { border-bottom: 0; }
.result-item:hover, .result-item:focus-visible { background: var(--surface-2); outline: 0; }
.result-item-name { min-width: 0; flex: 1 1 auto; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.result-item-meta { flex: 0 0 auto; margin-left: auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.result-item small { color: inherit; }
.not-listed { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 19px auto 26px; color: var(--muted); font-size: 10px; }
.not-listed a { color: var(--primary); }
.not-listed small { color: var(--dim); }
.mini-label { color: var(--kinda); border: 1px solid color-mix(in srgb, var(--kinda) 36%, transparent); padding: 2px 5px; font-size: 9px; }
.category-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.category, .filter, .sort-button, .team-button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; color: var(--muted); background: transparent; font-size: 11px; white-space: nowrap; }
.category:hover, .category.active, .filter:hover, .filter.active, .sort-button:hover { border-color: var(--primary); color: var(--primary); }
.category.active { color: var(--primary-dark); background: var(--primary); }
.category.escape { border-color: var(--primary-dim); color: var(--primary); }
.category.escape b { padding: 2px 4px; border-radius: 4px; color: var(--primary-dark); background: var(--primary); font-size: 8px; }
.escape-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 27px auto 0; padding: 13px 22px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); background: var(--primary-soft); text-align: left; font-size: 11px; }
.escape-banner:hover { border-color: var(--primary-dim); }
.escape-banner strong { color: var(--primary); white-space: nowrap; }

.ticker { width: 100%; overflow: hidden; border-block: 1px solid var(--primary-dim); color: var(--primary); background: var(--primary-soft); font-size: 11px; white-space: nowrap; }
.ticker-track { width: max-content; padding: 10px 0; animation: crawl 46s linear infinite; }
.ticker-track span { margin-right: 24px; }
@keyframes crawl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.savings { padding: 24px 0 40px; }
.savings-inner { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 10px 0 20px; border-bottom: 1px solid var(--primary-dim); border-top: 1px solid var(--primary-dim); color: var(--primary); }
.savings-label { margin-right: 12px; color: var(--primary); font-size: 10px; line-height: 1.2; text-align: right; }
.currency { margin-right: 1px; font-size: 36px; }
.counter { display: grid; place-items: center; width: 44px; height: 55px; border: 1px solid var(--primary-dim); border-radius: 7px; background: var(--primary-soft); font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; }
.comma { margin: 0 2px; font-size: 29px; font-weight: 700; }
.per-month { margin-left: 13px; color: var(--primary); font-size: 13px; }
.help-dot { display: grid; place-items: center; width: 22px; height: 22px; margin-left: 10px; border: 1px solid var(--primary-dim); border-radius: 50%; color: var(--primary); background: transparent; font-size: 11px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
h2 { margin: 4px 0 0; font-size: 36px; line-height: 1; }
.rank-note, .dashboard-note { color: var(--muted); font-size: 11px; }
.death-list { padding-bottom: 72px; scroll-margin-top: 76px; }
.filters { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-label { margin-right: 3px; color: var(--muted); }
.filter { border-radius: 4px; padding: 7px 13px; font-size: 10px; }
.filter.active { color: var(--bg); background: var(--fg); border-color: var(--fg); }
.team { margin-left: 14px; }
.team-button { min-width: 32px; justify-content: center; border-radius: 4px; padding: 7px 9px; }
.team-count { color: var(--fg); }
.sort-button { margin-left: auto; border-radius: 4px; }
.table-wrap { overflow: hidden; border-top: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th { padding: 13px 0; color: var(--muted); font-size: 10px; font-weight: 400; text-align: left; letter-spacing: .08em; }
th:first-child, td:first-child { width: 7%; color: var(--muted); }
th:nth-child(2), td:nth-child(2) { width: 29%; }
th:nth-child(3), td:nth-child(3) { width: 20%; }
th:nth-child(4), td:nth-child(4) { width: 15%; }
th:nth-child(5), td:nth-child(5) { width: 16%; }
th:last-child, td:last-child { width: 13%; }
td { padding: 13px 0; border-top: 1px solid var(--border-soft); font-size: 12px; vertical-align: middle; }
.app-name { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--display); font-size: 15px; font-weight: 600; white-space: nowrap; }
.app-name a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-logo-wrap { display: grid; position: relative; flex: 0 0 24px; place-items: center; width: 24px; height: 24px; }
.app-logo-image { display: block; width: 24px; height: 24px; border-radius: 7px; object-fit: contain; background: #fff; }
.app-logo-wrap .app-logo { display: none; }
.app-logo-wrap.is-fallback .app-logo-image { display: none; }
.app-logo-wrap.is-fallback .app-logo { display: grid; }
.app-logo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #fff; background: #2a2a2a; font-size: 13px; }
.category-cell { color: var(--muted); font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
.verdict { display: inline-flex; align-items: center; justify-content: center; min-width: 60px; padding: 5px 8px; border-radius: 5px; font-size: 10px; font-weight: 700; }
.verdict.yes { color: #06170b; background: var(--yes); }
.verdict.kinda { color: #231900; background: var(--kinda); }
.verdict.no { color: #fff; background: var(--no); }
.load-more { display: block; width: 100%; margin-top: 20px; padding: 12px; border: 1px dashed var(--border); color: var(--primary); background: transparent; }
.load-more:hover { border-color: var(--primary); background: var(--primary-soft); }

.live-dashboard { padding: 50px 20px 55px; border: 1px solid var(--border); background: var(--surface-3); scroll-margin-top: 76px; }
.dashboard-heading { margin-bottom: 30px; }
.dashboard-heading h2 span { color: var(--primary); }
.dashboard-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 42px; align-items: center; }
.globe-wrap { position: relative; display: grid; place-items: center; min-height: 305px; }
.globe { position: relative; width: 285px; height: 285px; overflow: hidden; border: 1px solid var(--border); border-radius: 50%; background: radial-gradient(circle at 51% 45%, rgba(255,122,24,.13), transparent 35%), radial-gradient(circle at 50% 46%, transparent 57%, var(--border) 57.4%, transparent 58%); }
.globe::before, .globe::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; transform: rotate(22deg) scaleX(.42); }
.globe::after { inset: 38px; transform: rotate(-21deg) scaleX(.7); }
.globe-dot { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.globe-hot { width: 7px; height: 7px; background: var(--kinda); box-shadow: 0 0 10px var(--kinda); }
.globe-caption { position: absolute; bottom: 2px; color: var(--dim); font-size: 10px; }
.live-copy { min-width: 0; }
.live-total { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.live-total strong { font-family: var(--display); font-size: 54px; line-height: 1; }
.live-total span { color: var(--muted); font-size: 12px; }
.live-copy > p { margin: 12px 0 20px; color: var(--muted); font-size: 11px; }
.activity-list { margin-bottom: 24px; }
.activity-list div { display: flex; align-items: center; gap: 8px; padding: 7px 0; color: var(--muted); font-size: 10px; border-bottom: 1px solid var(--border-soft); }
.activity-list i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.activity-list small { margin-left: auto; color: var(--dim); white-space: nowrap; }
.country-title { display: block; margin-bottom: 10px; color: var(--muted); }
.country-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.country-chips span { padding: 7px 9px; border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font-size: 10px; }

.digest-card { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 28px; padding: 30px 34px; border: 1px solid var(--border); background: var(--surface); scroll-margin-top: 76px; }
.digest-card h2 { max-width: 360px; font-size: 30px; }
.digest-card p { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.digest-form { min-width: 300px; }
.digest-form label { display: block; margin-bottom: 9px; color: var(--muted); }
.digest-form > div { display: flex; gap: 8px; }
.digest-form input, .digest-form button, .digest-bar input, .digest-bar button { height: 42px; border: 1px solid var(--border); border-radius: 4px; }
.digest-form input, .digest-bar input { min-width: 0; padding: 0 12px; color: var(--fg); outline: 0; background: var(--surface-3); }
.digest-form input:focus, .digest-bar input:focus { border-color: var(--primary); }
.digest-form button, .digest-bar button { padding: 0 14px; color: var(--primary-dark); background: var(--primary); font-size: 11px; font-weight: 700; white-space: nowrap; }
.digest-form button:hover, .digest-bar button:hover { filter: brightness(1.1); }
.digest-form small { display: block; min-height: 17px; margin-top: 7px; color: var(--primary); font-size: 10px; }

.moats, .sponsor-section { padding: 74px 0 12px; scroll-margin-top: 76px; }
.moat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.moat-grid article { min-height: 168px; padding: 19px; border: 1px solid var(--border); background: var(--surface); }
.moat-grid article > span { color: var(--primary); font-size: 10px; }
.moat-grid h3 { margin: 16px 0 7px; font-size: 23px; }
.moat-grid p { margin: 0; color: var(--muted); font-size: 11px; }
.sponsor-section { padding-bottom: 65px; }
.sponsor-cta { display: flex; align-items: center; gap: 17px; padding: 21px; border: 1px solid var(--primary-dim); background: var(--primary-soft); }
.sponsor-cta-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--primary); border-radius: 8px; color: var(--primary); font-size: 25px; }
.sponsor-cta strong { font-family: var(--display); font-size: 17px; }
.sponsor-cta p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.sponsor-cta a { margin-left: auto; color: var(--primary); font-size: 11px; white-space: nowrap; }

.sponsor-rail { position: fixed; top: 75px; z-index: 4; display: grid; width: 240px; gap: 14px; }
.home-page .sponsor-rail { width: 300px; gap: 16px; }
.sponsor-rail-left { left: 20px; }
.sponsor-rail-right { right: 20px; }
.detail-page .sponsor-rail { top: 150px; }
.rail-card { min-height: 96px; padding: 12px 10px; }
.rail-card > span { margin-bottom: 6px; }
.ad-slot { display: grid; place-items: center; min-height: 96px; gap: 4px; padding: 12px 10px; border: 1px dashed var(--primary-dim); border-radius: 6px; color: var(--muted); background: color-mix(in srgb, var(--surface) 88%, transparent); text-align: center; text-decoration: none; }
.home-page .ad-slot { min-height: 150px; padding: 20px 18px; }
.ad-slot:hover { border-color: var(--primary); background: var(--primary-soft); }
.ad-slot-kicker { color: var(--primary); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.ad-slot strong { color: var(--fg); font-family: var(--display); font-size: 14px; }
.home-page .ad-slot strong { font-size: 16px; }
.ad-slot small { color: var(--dim); font-size: 10px; }
.home-page .ad-slot small { font-size: 11px; }
.slots { min-height: 96px; display: grid; place-items: center; padding: 12px; border: 1px dashed var(--border); color: var(--muted); text-align: center; font-size: 10px; }
.slots small { color: var(--dim); font-size: 10px; }

.site-footer { padding: 70px 0 30px; border-top: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand strong { font-family: var(--mono); font-size: 15px; }
.footer-brand small { margin-left: 12px; color: var(--muted); font-size: 10px; }
.footer-links { display: flex; gap: 20px; margin: 28px 0; color: var(--muted); font-size: 11px; }
.footer-note { padding: 18px 0; border-block: 1px solid var(--border-soft); color: var(--muted); font-size: 11px; }
.footer-note a { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 19px; color: var(--dim); font-size: 10px; }
.footer-bottom b { color: var(--primary); }

.digest-bar { position: fixed; right: 50%; bottom: 12px; z-index: 11; display: flex; align-items: center; gap: 9px; width: min(calc(100% - 28px), 700px); padding: 10px; border: 1px solid var(--border); border-radius: 9px; background: color-mix(in srgb, var(--surface-2) 94%, transparent); box-shadow: var(--shadow); transform: translateX(50%); backdrop-filter: blur(18px); font-size: 11px; }
.digest-bar strong { color: var(--primary); }
.digest-bar span { color: var(--muted); white-space: nowrap; }
.digest-bar form { display: flex; flex: 1; gap: 7px; margin-left: auto; }
.digest-bar input { flex: 1; height: 38px; }
.digest-bar button { height: 38px; }
.close-bar { width: 34px; padding: 0 !important; color: var(--muted) !important; background: transparent !important; font-size: 18px !important; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; width: min(100%, 395px); padding: 33px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.modal-icon { margin: 0 auto 16px; }
.modal h2 { margin-bottom: 8px; }
.modal p { color: var(--muted); font-size: 11px; }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; color: var(--muted); background: transparent; font-size: 24px; }
.oauth { display: block; width: 100%; margin-top: 9px; padding: 11px; border: 1px solid var(--border); border-radius: 4px; color: var(--fg); background: var(--surface-2); font-size: 12px; text-align: center; text-decoration: none; }
.oauth:hover { border-color: var(--primary); }
.modal small { display: block; margin-top: 17px; color: var(--dim); font-size: 10px; }
.toast { position: fixed; left: 50%; bottom: 74px; z-index: 30; padding: 9px 13px; border: 1px solid var(--primary-dim); border-radius: 4px; color: var(--primary); background: var(--surface); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .2s ease; font-size: 11px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Detail view */
.detail-main { padding: 46px 0 45px; scroll-margin-top: 76px; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 30px; color: var(--muted); font-size: 11px; }
.breadcrumb a:first-child, .breadcrumb a:hover { color: var(--primary); }
.app-heading { display: flex; align-items: center; gap: 14px; }
.big-app-logo { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 11px; color: var(--primary-dark); background: var(--primary); font-family: var(--display); font-size: 29px; }
.big-app-logo img { display: block; width: 47px; height: 47px; border-radius: 11px; object-fit: contain; background: #fff; padding: 3px; }
.big-app-logo i { display: none; font-style: normal; }
.big-app-logo.image-fallback img { display: none; }
.big-app-logo.image-fallback i { display: block; }
.detail-hero h1 { margin: 0; font-size: clamp(42px, 5vw, 65px); line-height: 1; }
.source-tagline { max-width: 620px; margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.verdict-banner { display: inline-block; margin: 27px 0 9px; padding: 14px 18px; border-radius: 6px; color: var(--primary-dark); background: var(--primary); font-size: 16px; font-weight: 700; }
.save-stack, .replace-button { border: 1px solid var(--border); border-radius: 999px; padding: 8px 13px; color: var(--muted); background: transparent; font-size: 11px; }
.save-stack:hover, .save-stack.saved, .replace-button:hover { border-color: var(--primary); color: var(--primary); }
.detail-stats { display: flex; gap: 32px; margin-top: 27px; color: var(--muted); font-size: 11px; }
.detail-stats b { color: var(--fg); }
.orange-text { color: var(--primary) !important; }
.detail-source-meta { display: flex; flex-wrap: wrap; gap: 9px 24px; margin-top: 15px; color: var(--muted); font-size: 10px; }
.detail-source-meta b { color: var(--fg); font-weight: 500; }
.detail-stats-second { margin-top: 20px; }
.pill-link, .moat-line a { display: inline-flex; margin-left: 7px; padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }
.pill-link:hover, .moat-line a:hover { border-color: var(--primary); color: var(--primary); }
.moat-line { display: flex; align-items: center; gap: 3px; margin-top: 24px; color: var(--muted); font-size: 10px; }
.moat-line > span { margin-right: 7px; color: var(--muted); letter-spacing: .12em; }
.lead-copy { max-width: 690px; margin: 28px 0 31px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.source-panels { display: grid; grid-template-columns: 1.15fr .85fr; gap: 9px; padding: 33px 0 8px; }
.source-panels > div { min-height: 150px; padding: 17px; border: 1px solid var(--border); background: var(--surface); }
.source-panels p { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.source-list { margin: 13px 0 0; padding-left: 18px; color: var(--muted); font-size: 11px; }
.source-list li { padding: 4px 0; }
.empty-source { color: var(--muted); font-size: 11px; line-height: 1.7; }
.prompt-card { overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.prompt-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px 12px; border-bottom: 1px solid var(--border); }
.prompt-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.prompt-actions button { padding: 8px 11px; border: 1px solid var(--border); border-radius: 5px; color: var(--fg); background: var(--surface-3); font-size: 11px; font-weight: 600; }
.prompt-actions button:hover { border-color: var(--primary); color: var(--primary); }
.prompt-card pre { max-height: 535px; margin: 0; padding: 21px 18px; overflow: auto; color: var(--fg); background: var(--surface-3); font: 12px/1.75 var(--mono); white-space: pre-wrap; }
.prompt-note { margin: 0; padding: 10px 18px 13px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; }
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; padding: 40px 0 27px; }
.why-grid p { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.loss-list { margin: 13px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.loss-list li { padding: 6px 0; border-bottom: 1px solid var(--border-soft); }
.loss-list li::before { content: "x"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 8px; border-radius: 50%; color: var(--no); background: color-mix(in srgb, var(--no) 12%, transparent); }
.replaced-row { display: flex; align-items: center; gap: 14px; padding: 16px 0 35px; border-bottom: 1px solid var(--border); }
.replace-button { color: var(--primary); }
.replace-button b { color: var(--fg); }
.share-link { color: var(--primary); font-size: 11px; }
.share-quote { margin-left: auto; color: var(--muted); font-size: 11px; }
.escape-hatch, .related-tools, .numbers, .questions { padding: 47px 0 15px; }
.escape-hatch h2, .numbers h2 { max-width: 610px; margin: 10px 0 19px; font-size: 30px; line-height: 1.12; }
.alternative-list { display: grid; gap: 9px; }
.alternative-list a { display: grid; grid-template-columns: 116px 1fr 132px; align-items: center; gap: 17px; padding: 15px; border: 1px solid var(--border); background: var(--surface); }
.alternative-list a:hover { border-color: var(--primary-dim); background: var(--primary-soft); }
.alternative-list b { font-family: var(--display); font-size: 16px; }
.alternative-list span, .alternative-list small { color: var(--muted); font-size: 11px; }
.alternative-list small { text-align: right; }
.source-section { padding: 34px 0 8px; }
.source-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.source-card { display: flex; flex-direction: column; gap: 9px; min-height: 120px; padding: 13px; border: 1px solid var(--border); background: var(--surface); }
.source-card:hover { border-color: var(--primary); background: var(--primary-soft); }
.source-card b { font-family: var(--display); font-size: 14px; }
.source-card span, .source-card small { color: var(--muted); font-size: 10px; line-height: 1.6; }
.source-card small { margin-top: auto; color: var(--primary); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.related-grid a { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--border); font-family: var(--display); font-size: 13px; }
.related-grid a:hover { border-color: var(--primary); }
.related-grid small { margin-left: auto; color: var(--muted); font: 9px var(--mono); }
.pricing-tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 9px; }
.pricing-tier-grid article { display: flex; flex-direction: column; gap: 8px; min-height: 118px; padding: 13px; border: 1px solid var(--border); background: var(--surface); }
.pricing-tier-grid b { font-family: var(--display); font-size: 13px; }
.pricing-tier-grid span { color: var(--primary); font-size: 11px; }
.pricing-tier-grid small { color: var(--muted); font-size: 10px; line-height: 1.55; }
.source-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.source-record { margin: 42px 0 10px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.source-record summary { padding: 16px 0; color: var(--primary); cursor: pointer; font-size: 11px; }
.source-record pre { max-height: 520px; margin: 0 0 16px; padding: 15px; overflow: auto; color: var(--muted); background: var(--surface-3); font: 10px/1.65 var(--mono); white-space: pre-wrap; }
.small-link { color: var(--muted); font-size: 10px; }
.small-link a { color: var(--primary); }
.related-tools > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.related-tools a { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--border); font-family: var(--display); font-size: 13px; }
.related-tools a:hover { border-color: var(--primary); }
.related-tools small { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.related-tools b { margin-left: auto; padding: 4px 6px; border-radius: 3px; color: #241800; background: var(--kinda); font: 700 9px var(--mono); }
.pricing-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pricing-row > div { display: flex; flex-direction: column; gap: 12px; min-height: 108px; padding: 16px; border: 1px solid var(--border); background: var(--surface); }
.pricing-row span { color: var(--primary); font-size: 10px; text-transform: uppercase; }
.pricing-row b { font-family: var(--display); font-size: 14px; font-weight: 600; }
.verified { margin: 13px 0 0; color: var(--muted); font-size: 10px; }
.verified a { color: var(--primary); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item button { display: flex; justify-content: space-between; width: 100%; padding: 15px 2px; border: 0; color: var(--fg); background: transparent; text-align: left; font-family: var(--display); font-size: 15px; font-weight: 600; }
.faq-item button span { color: var(--primary); font-family: var(--mono); }
.faq-item p { display: none; max-width: 660px; margin: -2px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.faq-item.open p { display: block; }
.detail-hero { display: block; }
.detail-page .digest-card { margin-top: 24px; }
.detail-page .site-footer { margin-top: 12px; }
.detail-page .sponsor-tape-top { position: static; display: block; width: 100%; padding: 7px 18px; overflow: hidden; border-bottom: 1px solid var(--border); }
.detail-page .sponsor-tape-top .tape-track { display: flex; width: max-content; gap: 8px; }
.detail-page .sponsor-tape-top .sponsor-card { display: flex; align-items: center; gap: 7px; width: 155px; min-height: 27px; padding: 2px 6px; border: 0; box-shadow: none; background: transparent; }
.detail-page .sponsor-tape-top .sponsor-icon { width: 20px; height: 20px; font-size: 12px; }
.detail-page .sponsor-tape-top .sponsor-card strong { margin: 0; font-size: 12px; }
.detail-page .sponsor-tape-top .sponsor-card small { display: none; }

@media (max-width: 680px) {
  .detail-main { padding-top: 32px; }
  .app-heading { align-items: flex-start; }
  .big-app-logo { flex: 0 0 38px; width: 38px; height: 38px; font-size: 24px; }
  .detail-hero h1 { font-size: 38px; }
  .detail-stats { flex-wrap: wrap; gap: 13px 22px; }
  .moat-line { align-items: flex-start; flex-wrap: wrap; }
  .lead-copy { font-size: 12px; }
  .prompt-toolbar { align-items: flex-start; flex-direction: column; }
  .prompt-actions { justify-content: flex-start; }
  .prompt-card pre { max-height: 600px; padding: 17px 13px; font-size: 11px; }
  .source-panels, .why-grid, .pricing-row, .pricing-tier-grid { grid-template-columns: 1fr; gap: 25px; }
  .source-cards, .related-grid { grid-template-columns: 1fr; }
  .replaced-row { align-items: flex-start; flex-wrap: wrap; }
  .share-quote { width: 100%; margin-left: 0; }
  .alternative-list a { grid-template-columns: 1fr; gap: 7px; }
  .alternative-list small { text-align: left; }
  .related-tools > div { grid-template-columns: 1fr; }
}

@media (min-width: 681px) {
  .detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(225px, auto); column-gap: 32px; align-items: start; }
  .detail-hero .app-heading { grid-column: 1; grid-row: 1; }
  .detail-hero .verdict-banner { grid-column: 2; grid-row: 1; min-width: 244px; margin: 0; text-align: center; }
  .detail-hero .save-stack { grid-column: 2; grid-row: 2; justify-self: end; margin-top: 8px; }
  .detail-hero .detail-stats { grid-column: 1 / -1; grid-row: 3; gap: 24px; margin-top: 27px; flex-wrap: wrap; }
  .detail-hero .moat-line { grid-column: 1 / -1; grid-row: 4; margin-top: 0; }
  .detail-hero .lead-copy { grid-column: 1 / -1; grid-row: 5; margin-top: 18px; }
}

@media (min-width: 1101px) { .sponsor-rail { display: grid; } .ticker { width: min(1060px, calc(100% - 460px)); margin-inline: auto; } }
@media (min-width: 1280px) { .home-page .page-shell, .home-page .ticker { width: min(1060px, calc(100% - 680px)); margin-inline: auto; } }
@media (max-width: 1100px) {
  .sponsor-rail { display: none; }
  .page-shell { width: min(calc(100% - 40px), 1100px); }
  .site-header { padding-inline: 20px; }
  .sponsor-tape-top { position: relative; top: auto; left: auto; display: block; width: 100%; padding: 8px 20px; overflow: hidden; border-bottom: 1px solid var(--border); pointer-events: none; }
  .sponsor-tape-top .tape-track { display: flex; width: max-content; gap: 8px; }
  .sponsor-tape-top .sponsor-card { display: flex; align-items: center; gap: 7px; width: 155px; min-height: 27px; padding: 2px 6px; border: 0; box-shadow: none; background: transparent; }
  .sponsor-tape-top .sponsor-icon { width: 20px; height: 20px; font-size: 12px; }
  .sponsor-tape-top .sponsor-card strong { margin: 0; font-size: 12px; }
  .sponsor-tape-top .sponsor-card small { display: none; }
}
@media (max-width: 900px) { .site-header { gap: 15px; } .brand { min-width: 210px; } .main-nav { gap: 14px; } .main-nav a:nth-child(4) { display: none; } .page-shell { width: min(calc(100% - 32px), 1100px); } }
@media (max-width: 680px) {
  body { font-size: 13px; }
  .site-header { height: 58px; }
  .brand { min-width: auto; }
  .brand-word { font-size: 13px; }
  .main-nav { position: absolute; top: 57px; left: 10px; right: 10px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 6px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a, .main-nav .text-button { padding: 11px 12px; text-align: left; }
  .header-actions { gap: 5px; }
  .github-button { display: none; }
  .mobile-menu { display: grid; }
  .hero { padding-top: 56px; }
  .eyebrow { line-height: 1.4; }
  h1 { font-size: clamp(47px, 16vw, 72px); }
  .hero-subtitle { margin-top: 22px; font-size: 12px; }
  .not-listed { flex-wrap: wrap; gap: 5px 8px; }
  .not-listed small { flex-basis: 100%; }
  .escape-banner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .savings-inner { flex-wrap: wrap; }
  .savings-label { width: 100%; margin: 0 0 5px; text-align: center; }
  .counter { width: 33px; height: 45px; font-size: 30px; }
  .currency { font-size: 27px; }
  .per-month { margin-left: 4px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  h2 { font-size: 30px; }
  .rank-note, .dashboard-note { align-self: flex-start; }
  .filters { gap: 6px; }
  .team { margin-left: 0; }
  .sort-button { margin-left: 0; }
  .table-wrap { overflow-x: auto; }
  table { min-width: 625px; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 18px; }
  .globe-wrap { min-height: 280px; }
  .globe { width: 255px; height: 255px; }
  .digest-card { align-items: stretch; flex-direction: column; gap: 23px; padding: 23px; }
  .digest-form { min-width: 0; }
  .digest-form > div { flex-direction: column; }
  .digest-form input, .digest-form button { width: 100%; }
  .moat-grid { grid-template-columns: 1fr; }
  .sponsor-cta { align-items: flex-start; flex-wrap: wrap; }
  .sponsor-cta a { width: 100%; margin-left: 65px; }
  .footer-brand { flex-wrap: wrap; }
  .footer-brand small { width: 100%; margin: 0 0 0 40px; }
  .footer-links { flex-wrap: wrap; gap: 13px 18px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .digest-bar { align-items: flex-start; flex-wrap: wrap; bottom: 8px; }
  .digest-bar span { white-space: normal; }
  .digest-bar form { flex-basis: 100%; width: 100%; }
  .close-bar { position: absolute; top: 7px; right: 4px; }
}
