:root {
  --bg: #f7f8fa; --surface: #fff; --text: #16202c; --muted: #5b6776; --line: #e3e7ec;
  --brand: #0f766e; --brand-dark: #0b5a54; --accent: #f59e0b; --accent-text: #111; --pro: #15803d; --con: #b91c1c;
  --hero-from: #0f766e; --hero-to: #134e4a; --hero-text: #fff; --banner-bg: #f59e0b; --banner-fg: #111;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px; --btn-radius: calc(var(--radius) * .66); --font-size: 16px; --width: 1080px; --hero-pad: 72px;
  --heading-font: var(--font); --brand-solid: #0f766e; --brand-solid-text: #fff; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 12px rgba(16,24,40,.05);
}
/* The dark palette: for visitors in dark mode unless the theme says "always light", or always with
   "always dark" (data-scheme on <html>). :where() keeps these as weak as plain :root, so a custom
   background colour set in the theme's inline <style> still wins. */
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-scheme="light"])) { --bg: #0e141b; --surface: #16202b; --text: #e6ebf1; --muted: #9aa7b6; --line: #263342;
    --brand: #2dd4bf; --brand-dark: #5eead4; --pro: #4ade80; --con: #f87171; --shadow: none; color-scheme: dark; }
}
:root:where([data-scheme="dark"]) { --bg: #0e141b; --surface: #16202b; --text: #e6ebf1; --muted: #9aa7b6; --line: #263342;
    --brand: #2dd4bf; --brand-dark: #5eead4; --pro: #4ade80; --con: #f87171; --shadow: none; color-scheme: dark; }
* { box-sizing: border-box; }
/* Images carry width/height attributes (to reserve space while loading); CSS decides the displayed size. */
img { height: auto; }
body { margin: 0; font: var(--font-size)/1.65 var(--font); background: var(--bg); color: var(--text); }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; }
h1, h2, h3, .guide-title, .feature-title, .news-title, .author-name, .logo { font-family: var(--heading-font); }
.wrap { max-width: var(--width); margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); font-size: .92rem; margin: .2rem 0; }
.small { font-size: .82rem; color: var(--muted); }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 64px; padding-block: 8px; gap: 8px 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.35rem; text-decoration: none; color: var(--text); letter-spacing: -.01em; }
.logo b { color: var(--brand); }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; }
.logo-icon { width: 24px; height: 24px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand); }
.logo-img { display: block; max-height: 44px; width: auto; }
.disclosure-bar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); padding: 6px 0; }
.site-banner { background: var(--banner-bg); color: var(--banner-fg); text-align: center; font-weight: 600; padding: 10px 0; }
.site-banner a { color: inherit; text-decoration: none; display: block; }
.site-banner a:hover { text-decoration: underline; }
.banner-image { padding: 0; background: none; }
.banner-image img { display: block; width: 100%; max-height: 220px; object-fit: cover; }

.hero { background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: var(--hero-text); padding: var(--hero-pad) 0 calc(var(--hero-pad) * .9); }
.hero-has-image { background-size: cover; background-position: center; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); max-width: 760px; margin: 0 0 16px; letter-spacing: -.02em; }
.hero p { font-size: 1.15rem; max-width: 640px; opacity: .9; margin: 0 0 28px; }
.hero .btn { background: #fff; color: #111; }
.section-title { font-size: 1.6rem; margin: 48px 0 20px; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-text); font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: var(--btn-radius); white-space: nowrap; transition: transform .1s, filter .1s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-sm { padding: 6px 12px; font-size: .88rem; }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }

.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.guide { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.guide:hover { border-color: var(--brand); transform: translateY(-2px); }
.guide .icon { width: 44px; height: 44px; color: var(--brand); }
.guide-title { font-weight: 700; font-size: 1.1rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card-media, .pick-media, .product-media { position: relative; display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, transparent), color-mix(in srgb, var(--accent) 10%, transparent)); color: var(--brand); }
.card-media { height: 140px; }
.card-media .icon { width: 72px; height: 72px; }
.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rank { position: absolute; top: 10px; left: 10px; background: var(--text); color: var(--bg); font-weight: 800; font-size: .8rem; padding: 2px 8px; border-radius: 6px; }
.award { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.score { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 1.15rem; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; }
.score small { font-size: .7rem; color: var(--muted); font-weight: 600; margin-left: 1px; }

.article, .product { padding-block: 24px 56px; max-width: 860px; }
.product { max-width: 1080px; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 12px 0 6px; letter-spacing: -.02em; }
.byline { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
.lede { font-size: 1.15rem; }
.quick-picks, .pick, .advice, .verdict { background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); padding: 24px; margin: 28px 0; box-shadow: var(--shadow); }
.quick-picks h2 { margin-top: 0; font-size: 1.25rem; }
.table-scroll { overflow-x: auto; }
.quick-picks table { width: 100%; border-collapse: collapse; }
.quick-picks th, .quick-picks td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.quick-picks th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pick { scroll-margin-top: 80px; }
.pick-head { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; margin-bottom: 8px; }
.pick-media { height: 140px; border-radius: 10px; }
.pick-media .icon { width: 72px; height: 72px; }
.pick h2 { margin: 4px 0; font-size: 1.45rem; }
.pick-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.more { font-weight: 600; }

.specs { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.specs th { width: 38%; color: var(--muted); font-weight: 600; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proscons h4 { margin: 0 0 6px; }
.proscons ul { margin: 0; padding-left: 0; list-style: none; }
.proscons li { padding-left: 24px; position: relative; margin: 4px 0; }
.pros h4 { color: var(--pro); } .cons h4 { color: var(--con); }
.pros li::before { content: "+"; position: absolute; left: 4px; font-weight: 800; color: var(--pro); }
.cons li::before { content: "\2212"; position: absolute; left: 4px; font-weight: 800; color: var(--con); }
.note { font-size: .85rem; color: var(--muted); }

.product-hero { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; margin: 16px 0 32px; }
.product-media { aspect-ratio: 1; border-radius: var(--radius); max-width: 100%; }
.product-media .icon { width: 45%; height: 45%; }
.product-info h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 6px 0 10px; letter-spacing: -.02em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 24px; }
.facts div { background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: 10px; padding: 10px 14px; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.product section h2 { font-size: 1.35rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0; margin-top: 40px; }
.footer-links a { color: var(--text); }

@media (max-width: 720px) {
  .pick-head, .product-hero, .proscons { grid-template-columns: 1fr; }
  .pick-media { height: 110px; }
  .product-media { aspect-ratio: 16/9; }
  .nav { gap: 14px; font-size: .92rem; }
  .hero { padding: calc(var(--hero-pad) * .66) 0; }
}

/* Uploaded images */
.media-img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; }
.guide .media-img { height: 120px; padding: 0; border-radius: calc(var(--radius) * .66); object-fit: cover; }
.product-media .media-img { border-radius: var(--radius); padding: 24px; }
.pick-media .media-img { border-radius: 10px; }
.card-media, .pick-media, .product-media { overflow: hidden; }
/* Fill the frame exactly so tall photos are scaled down and centred instead of overflowing. */
.card-media .media-img, .pick-media .media-img, .product-media .media-img { position: absolute; inset: 0; display: block; }
.article-hero { display: block; width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin: 8px 0 20px; }

/* Featured roundup on the homepage */
.features { margin-top: 40px; display: grid; gap: 16px; }
.feature { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .15s; }
.feature:hover { transform: translateY(-2px); }
.feature-img { width: 180px; height: 120px; object-fit: cover; border-radius: calc(var(--radius) * .66); }
.feature-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feature-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.feature-text { color: var(--muted); }
.feature-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.feature-picks span { font-size: .78rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.featured-in { margin: -4px 0 0; font-weight: 600; }
.advice h2 { font-size: 1.25rem; margin: 18px 0 6px; }
.advice h2:first-child { margin-top: 0; }
.article > h2 { font-size: 1.35rem; margin-top: 28px; }
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; }
  .feature-img { width: 100%; height: 160px; }
  .feature .btn { justify-self: start; }
  .nav { gap: 12px; font-size: .88rem; }
}

/* Background image: put page content on a solid panel so text stays readable */
.has-bg-image main > .wrap { background: var(--surface); border-radius: var(--radius); margin-block: 24px; padding-block: 8px 32px; box-shadow: var(--shadow); }
.has-bg-image .section-title:first-child, .has-bg-image .features:first-child { margin-top: 24px; }

/* News */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head a { font-weight: 600; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.news-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.news-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.news-media { position: relative; display: grid; place-items: center; height: 160px; overflow: hidden; color: var(--brand); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, transparent), color-mix(in srgb, var(--accent) 10%, transparent)); }
.news-media .icon { width: 64px; height: 64px; }
.news-media .media-img { position: absolute; inset: 0; object-fit: cover; padding: 0; }
.news-body { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.news-date { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.news-title { font-weight: 800; font-size: 1.08rem; line-height: 1.3; }
.news-body .muted { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-index { padding-block: 24px 56px; }
.news-index h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 12px 0 6px; letter-spacing: -.02em; }
.news-article > h2, .article > h2 { font-size: 1.35rem; margin-top: 28px; }
.article-figure { margin: 24px 0; }
.article-figure img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; border-radius: var(--radius); background: var(--surface); }
.article-figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.article-lead { margin-top: 8px; }
.related, .more-news { margin-top: 40px; }
.related h2, .more-news h2 { font-size: 1.35rem; }

/* Authors */
.byline a { color: inherit; font-weight: 600; }
.author-photo { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; background: var(--bg); }
.author-photo-lg { width: 120px; height: 120px; }
.author-initials { display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: #fff; background: var(--brand); }
.author-photo-lg.author-initials { font-size: 2.2rem; }
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); padding: 20px; margin: 32px 0; box-shadow: var(--shadow); }
.author-box p { margin: 4px 0; }
.author-name { font-weight: 800; font-size: 1.1rem; }
.author-name a { color: var(--text); }
.author-head { display: flex; gap: 24px; align-items: center; margin: 12px 0 8px; flex-wrap: wrap; }
.author-head h1 { margin: 0 0 4px; }
.author-head .lede { margin: 0; color: var(--muted); }
.author-links { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; }
.author-articles { list-style: none; padding: 0; }
.author-articles li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.author-articles .news-date { display: inline-block; min-width: 110px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.team-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s; }
.team-card:hover { border-color: var(--brand); }
.team-card > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.team-bio { font-size: .92rem; margin-top: 4px; }
@media (max-width: 520px) { .author-box { flex-direction: column; } }

/* FAQs */
.faq { margin: 28px 0; }
.faq-item { border-top: 1px solid var(--line); padding: 4px 0; }
.faq-item h3 { font-size: 1.05rem; margin: 14px 0 4px; }
.faq-item p { margin: 4px 0 10px; }

/* Comparisons */
.compare-links ul { padding-left: 20px; }
.compare-links li { margin: 4px 0; }
.vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.vs-side { background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.vs-side h2 { font-size: 1.2rem; margin: 6px 0 4px; }
.vs-side h2 a { color: var(--text); text-decoration: none; }
.vs-side .pick-media { margin-bottom: 10px; }
.vs-badge { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 800; z-index: 1; }
.vs-specs th:first-child { width: 28%; }
.vs-specs thead th { color: var(--text); }
.plus, .minus { list-style: none; padding: 0; margin: 0 0 8px; }
.plus li, .minus li { padding-left: 24px; position: relative; margin: 4px 0; }
.plus li::before { content: "+"; position: absolute; left: 4px; font-weight: 800; color: var(--pro); }
.minus li::before { content: "\2212"; position: absolute; left: 4px; font-weight: 800; color: var(--con); }
.choose { margin: 8px 0 24px; }
.choose h3 { color: var(--text); font-size: 1.05rem; margin: 0 0 4px; }
@media (max-width: 720px) { .vs { grid-template-columns: 1fr; } .vs-badge { display: none; } }

/* PC builds */
.parts th { width: 26%; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); vertical-align: top; }
.parts td { vertical-align: top; }
.parts td.right { text-align: right; white-space: nowrap; }
.build-card .news-body { padding: 20px; }

/* Comparison cards on the homepage */
.compare-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 160px; color: var(--brand); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, transparent), color-mix(in srgb, var(--accent) 10%, transparent)); }
.compare-media > span:not(.vs-badge) { position: relative; display: grid; place-items: center; overflow: hidden; }
.compare-media .media-img { position: absolute; inset: 0; display: block; }
.compare-media .icon { width: 56px; height: 56px; }
.compare-media .vs-badge { display: grid; top: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; font-size: .9rem; }

/* Appearance options from the admin's Theme page (classes on <body>, see build.body_classes) */
.header-static .site-header { position: static; }
.header-brand .site-header { background: var(--brand-solid); border-bottom-color: transparent; }
.header-brand .logo, .header-brand .nav a, .header-brand .logo b { color: var(--brand-solid-text); }
.header-brand .nav a:hover { color: var(--brand-solid-text); text-decoration: underline; }
.header-brand .logo-mark { background: color-mix(in srgb, var(--brand-solid-text) 20%, transparent); color: var(--brand-solid-text); }
.header-dark .site-header { background: #0b1118; border-bottom-color: #1f2a37; }
.header-dark .logo, .header-dark .nav a { color: #f1f5f9; }
.header-dark .logo b, .header-dark .nav a:hover { color: color-mix(in srgb, var(--brand-solid) 55%, #fff); }
.footer-brand .site-footer { background: var(--brand-solid); border-top-color: transparent; }
.footer-brand .site-footer, .footer-brand .site-footer .small, .footer-brand .footer-links a, .footer-brand .site-footer a { color: var(--brand-solid-text); }
.footer-dark .site-footer { background: #0b1118; border-top-color: #1f2a37; }
.footer-dark .site-footer, .footer-dark .site-footer .small { color: #aab6c4; }
.footer-dark .footer-links a, .footer-dark .site-footer a { color: #f1f5f9; }
.cards-outline { --shadow: none; }
.cards-flat { --shadow: none; --card-line: transparent; }
.cards-raised { --shadow: 0 2px 4px rgba(16,24,40,.08), 0 12px 28px rgba(16,24,40,.14); }
.hero-center .hero .wrap { text-align: center; }
.hero-center .hero h1, .hero-center .hero p { margin-inline: auto; }

/* Deals */
.deals-page { padding-block: 24px 56px; }
.deals-page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 12px 0 6px; letter-spacing: -.02em; }
.deal-notice { font-size: .82rem; color: var(--muted); margin: 0 0 16px; }
.deal-stale-note { display: none; }
.prices-expired .deal-price-info { display: none; }
.prices-expired .deal-stale-note { display: block; }
.deal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 8px; }
.deal-chips a { font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.deal-chips a:hover { border-color: var(--brand); color: var(--brand); }
.deal-chips span { color: var(--muted); font-weight: 500; }
.deal-group { scroll-margin-top: 80px; }
.deal-card { position: relative; }
.deal-media { height: 180px; text-decoration: none; }
.deal-media .media-img { background: #fff; }
.deal-badge { position: absolute; top: 10px; left: 10px; background: #c81e1e; color: #fff; font-weight: 800; font-size: .85rem; padding: 3px 9px; border-radius: 6px; }
.deal-card h3 { font-size: .98rem; }
.deal-card h3 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.deal-price { margin: 4px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.deal-price strong { font-size: 1.25rem; }
.deal-price s { color: var(--muted); font-size: .9rem; }
.deal-save { font-size: .8rem; font-weight: 700; color: var(--pro); }
.deal-ends { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.deal-rating { color: var(--muted); }

/* Price tracker: one small chart per product (each on its own price scale), then a table of the same numbers. */
.price-group { scroll-margin-top: 80px; }
.price-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.price-card { padding: 16px; gap: 4px; }
.price-card h3 { margin: 0; font-size: 1rem; }
.price-card h3 a { color: var(--text); text-decoration: none; }
.price-card h3 a:hover { color: var(--brand); }
.pc-latest { margin: 2px 0 0; }
.pc-latest strong { font-size: 1.35rem; }
.pc-change { font-size: .85rem; font-weight: 600; color: var(--muted); }
.pc-up { color: var(--con); }
.pc-down { color: var(--pro); }
.pc-wrap { position: relative; margin-top: 8px; }
.price-chart { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.price-chart:focus { outline: none; }
.price-chart:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.pc-grid { stroke: var(--line); stroke-width: 1; }
.pc-label { fill: var(--muted); font-size: 10px; font-family: var(--font); }
.pc-line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pc-dot { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.pc-cross, .pc-focus { visibility: hidden; pointer-events: none; }
.pc-cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.pc-focus { fill: var(--brand); stroke: var(--surface); stroke-width: 2.5; }
.pc-active .pc-cross, .pc-active .pc-focus { visibility: visible; }
.pc-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); background: var(--surface); color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 10px; font-size: .8rem; line-height: 1.35; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.12); z-index: 2; }
.pc-tip strong { display: block; font-size: .95rem; }
.pc-tip span { color: var(--muted); }
.price-table { background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); padding: 20px 24px; margin: 20px 0; box-shadow: var(--shadow); }
.price-table h3 { margin-top: 0; font-size: 1.05rem; }
.price-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.price-table td:first-child { white-space: normal; min-width: 180px; }
.price-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td .muted { font-size: .82rem; }

/* Game FPS chart on the graphics card guide: a pair of bars (1080p, 1440p) per card, values at the bar tips. */
:root { --fps-1080p: #2a78d6; --fps-1440p: #eb6834; }
@media (prefers-color-scheme: dark) { :root:where(:not([data-scheme="light"])) { --fps-1080p: #3987e5; --fps-1440p: #d95926; } }
:root:where([data-scheme="dark"]) { --fps-1080p: #3987e5; --fps-1440p: #d95926; }
.fps { background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); padding: 24px; margin: 28px 0; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.fps h2 { margin-top: 0; font-size: 1.25rem; }
.fps h3 { margin: 20px 0 2px; font-size: 1.05rem; }
.fps-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin: 12px 0 4px; }
.fps-pick { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.fps-pick[hidden] { display: none; }
.fps-pick select { font: inherit; font-weight: 500; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--btn-radius); background: var(--surface); color: var(--text); min-width: 220px; max-width: 100%; }
.fps-legend { display: flex; gap: 16px; margin: 0; font-size: .85rem; color: var(--muted); }
.fps-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fps-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.fps-chart { list-style: none; margin: 10px 0 0; padding: 0; }
.fps-card { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.fps-card:last-child { border-bottom: 0; }
.fps-name { font-size: .9rem; font-weight: 600; color: var(--text); text-decoration: none; line-height: 1.3; }
.fps-name:hover { color: var(--brand); }
.fps-bars { display: grid; gap: 2px; }
/* The bars share the row's width minus room for the value, so the longest bar's label still fits. */
.fps-bar-row { display: flex; align-items: center; width: calc(100% - 3.2em); min-height: 16px; }
.fps-bar { flex: none; height: 14px; min-width: 2px; border-radius: 0 4px 4px 0; }
.fps-1080p { background: var(--fps-1080p); }
.fps-1440p { background: var(--fps-1440p); }
.fps-value { margin-left: 6px; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fps-none { font-size: .78rem; color: var(--muted); }
.fps .note { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cookie banner (only when Google Analytics is set up) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 560px; margin-inline: auto; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 8px 30px rgba(0,0,0,.18); font-size: .9rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .consent-reject { background: transparent; color: var(--text); border: 1px solid var(--muted); }
.consent .btn { cursor: pointer; font: inherit; font-weight: 700; border: 1px solid transparent; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }

/* Phones: one-row scrolling menu, tighter gutters and padding, tables restacked so nothing is cut off. */
@media (max-width: 720px) {
  .wrap { padding-inline: 16px; }
  .header-inner { min-height: 0; padding-block: 10px 0; gap: 4px; }
  .logo-img { max-height: 36px; }
  .nav { flex-wrap: nowrap; width: calc(100% + 32px); margin-inline: -16px; padding: 0 16px; overflow-x: auto; gap: 0 18px; font-size: .92rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .nav a:last-child { padding-right: 24px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 8px 0 10px; }
  .disclosure-bar { font-size: .74rem; padding: 5px 0; line-height: 1.45; }
  .section-title { font-size: 1.4rem; margin: 36px 0 16px; }
  .has-bg-image main > .wrap { margin: 0; border-radius: 0; padding-block: 4px 24px; }

  .quick-picks, .pick, .advice, .verdict, .author-box, .price-table, .fps { padding: 16px; margin: 20px 0; }
  .fps-card { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .fps-pick, .fps-pick select { width: 100%; }
  .guide, .team-card, .feature { padding: 16px; }
  .pick h2 { font-size: 1.25rem; }
  .btn-lg { white-space: normal; display: block; text-align: center; }

  /* Grid tracks default to their content's minimum width, which let long titles and buttons push the page wider than the screen. */
  .product-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 24px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .facts div { padding: 8px 12px; }
  .product-info h1, .article h1 { overflow-wrap: break-word; }
  .specs th, .specs td { padding: 8px 6px; overflow-wrap: anywhere; }

  /* "At a glance" table: each product becomes a block with its name on top and award, score and button below. */
  .quick-picks .table-scroll { overflow: visible; }
  .quick-picks table:not(.parts) thead { display: none; }
  .quick-picks tbody tr { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .quick-picks tbody tr:last-child { border-bottom: 0; }
  .quick-picks tbody th, .quick-picks tbody td { padding: 0; border: 0; }
  .quick-picks table:not(.parts) td:first-child { grid-column: 1 / -1; font-weight: 600; }
  .quick-picks table:not(.parts) td:nth-child(2) { font-size: .88rem; color: var(--muted); }
  /* Build parts list: label on top, then the part and its button side by side. */
  .quick-picks .parts tr { grid-template-columns: 1fr auto; align-items: start; }
  .quick-picks .parts th { grid-column: 1 / -1; width: auto; font-size: .74rem; }
  .quick-picks .parts td.right { padding-top: 2px; }

  .footer-links { line-height: 2.1; }
}

/* Rooms (HomewareScout) */
.room-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 28px 0 8px; }
.room-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px; background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); text-decoration: none; font-weight: 700; transition: border-color .15s, transform .15s; }
.room-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.room-tile .icon { width: 44px; height: 44px; color: var(--brand); }
.room-tile small { font-weight: 400; color: var(--muted); }
.room-group { margin-bottom: 28px; }
.room-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 8px 0 12px; }
.room-title-icon { width: 30px; height: 30px; color: var(--brand); }
.room-head { display: flex; gap: 18px; align-items: center; margin: 12px 0 8px; }
.room-head h1 { margin: 0 0 4px; }
.room-icon { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--radius); background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.room-icon .icon { width: 44px; height: 44px; }
@media (max-width: 520px) { .room-head { flex-direction: column; align-items: flex-start; } }
