:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d1f23;
  --muted: #5f6570;
  --line: #e4e1da;
  --accent: #0f7b5f;
  --accent-ink: #ffffff;
  --accent-soft: #e3f3ed;
  --warn: #8a5a00;
  --warn-soft: #fff4dc;
  --pro: #4b32c3;
  --pro-soft: #ece8fd;
  --radius: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --surface: #1d2024;
    --text: #e9eaec;
    --muted: #a2a8b1;
    --line: #2f343a;
    --accent: #3cc49b;
    --accent-ink: #0c1f19;
    --accent-soft: #173229;
    --warn: #f3c56b;
    --warn-soft: #2e2512;
    --pro: #c7b9ff;
    --pro-soft: #2a2350;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; font-size: 17px; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.article, .hero, main > section { max-width: 760px; }
.article.wide, main > section:has(.cards) { max-width: none; }
[hidden] { display: none !important; }

.draft { background: var(--warn-soft); color: var(--warn); text-align: center; padding: 8px 16px; font-weight: 600; font-size: 14px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: var(--text); }

main { padding-top: 32px; padding-bottom: 56px; }
h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 1.3; margin: 44px 0 12px; }
h3 { font-size: 20px; margin: 0; line-height: 1.3; }
.muted, .updated, .crumbs { color: var(--muted); font-size: 14px; }
.crumbs { margin: 0 0 8px; }
.crumbs a { color: var(--muted); }
.updated { margin: 0 0 16px; }
.lead { font-size: 19px; }

.hero { padding: 24px 0 8px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; }

.disclosure-note { background: var(--accent-soft); border-radius: var(--radius); padding: 10px 14px; font-size: 14px; margin: 0 0 20px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.card-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; margin: 8px 0 12px; flex: 1; }
.card span { color: var(--accent); font-weight: 600; font-size: 15px; }
.card .eyebrow { flex: 0; margin: 0 0 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.guide-card h3 { margin-bottom: 12px; flex: 1; }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

.top-head { display: flex; gap: 28px; align-items: center; }
.top-head > div { flex: 1; min-width: 0; }
.top-art { flex: none; width: 300px; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 720px) { .top-head { flex-direction: column-reverse; align-items: stretch; } .top-art { width: 100%; } }

.method ul, .prose ul { padding-left: 20px; }
.method li, .guide li { margin-bottom: 8px; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 24px 0; }
.toc p { margin: 0 0 4px; font-weight: 700; }
.toc ol { margin: 0; padding-left: 20px; }

.picks { display: grid; gap: 22px; }
.pick { display: grid; grid-template-columns: 1fr 170px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.pick.placeholder { border-style: dashed; border-color: var(--warn); }
.pick-main { padding: 22px 24px; min-width: 0; }
.pick .best-for { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.rank { flex: none; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; letter-spacing: 0; }
.best-for { margin: 0 0 2px; color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.who { display: flex; align-items: center; gap: 14px; }
.who h3 { font-size: 22px; margin: 0 0 4px; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 24px; color: #fff; background: hsl(var(--h) 55% 45%); }
.avatar.sm { width: 36px; height: 36px; font-size: 16px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--line); color: var(--muted); vertical-align: 2px; }
.pill.pro { background: var(--pro-soft); color: var(--pro); }
.pick .why { margin: 14px 0 0; }
.pick-actions { margin-top: 16px; }
.pick-actions .btn { margin: 0; }
.pick-side { background: var(--accent-soft); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 20px 14px; text-align: center; }
/* Whole cover image on a blurred copy of itself, so vertical frames are never cropped. */
.pick-banner { grid-column: 1 / -1; position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-height: 400px; background: #111; }
.pick-banner::before { content: ""; position: absolute; inset: -30px; background: var(--img) center / cover; filter: blur(22px) brightness(.65); }
.pick-banner img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.pick-side.has-photo { justify-content: flex-start; padding-top: 16px; }
.pick-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
img.avatar { object-fit: cover; }
.score strong { display: block; font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.score span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.score.empty span { margin: 0; }
.star-bar { display: inline-block; position: relative; margin-top: 6px; font-size: 18px; line-height: 1; letter-spacing: 2px; }
.star-bar::before { content: "★★★★★"; color: var(--line); }
.star-bar::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; white-space: nowrap; color: #f2a71b; }
.price { margin: 0; font-size: 14px; color: var(--muted); }
.price strong { color: var(--text); font-size: 17px; }
@media (max-width: 620px) {
  .pick { grid-template-columns: 1fr; }
  .pick-side { flex-direction: row; justify-content: space-between; padding: 14px 20px; order: -1; text-align: left; }
  .score { display: flex; align-items: center; gap: 10px; }
  .score strong { font-size: 30px; }
  .score span, .star-bar { margin-top: 0; }
  .pick-side.has-photo { padding-top: 14px; }
  .pick-photo { width: 64px; height: 64px; aspect-ratio: auto; border-radius: 50%; }
}
.gig-title { margin: 12px 0 0; color: var(--muted); font-size: 15px; font-style: italic; }
.stats { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.stars { color: #d49a00; font-weight: 700; }
.watch { font-size: 15px; }
.checked { font-size: 13px; color: var(--muted); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 11px 18px; border-radius: 10px; text-decoration: none; margin-top: 4px; }
.btn:hover { filter: brightness(1.08); }
.btn-off { background: var(--line); color: var(--muted); cursor: not-allowed; }

.empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; color: var(--muted); }

.list-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.list-tools input, .list-tools select { font: inherit; font-size: 15px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
.list-tools input { flex: 1 1 220px; min-width: 0; }
.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row[hidden] { display: none; }
.row.placeholder { border-style: dashed; border-color: var(--warn); }
.row-main { flex: 1 1 260px; min-width: 0; }
.row h3 { font-size: 17px; }
.row .best-for { margin: 2px 0 0; }
.row .stats { margin: 2px 0 0; font-size: 14px; }
.row-why { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.row .btn { padding: 9px 14px; font-size: 15px; margin: 0; }

.badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--accent-soft); color: var(--accent); border-radius: 6px; padding: 1px 6px; vertical-align: 2px; }
.ext { color: var(--muted); font-size: 13px; }
a.out { color: var(--text); text-decoration: none; }
a.out:hover { color: var(--accent); text-decoration: underline; }
.btn-ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.browse { margin: 28px 0; }

.groups { columns: 3 280px; column-gap: 20px; }
.group { break-inside: avoid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 20px; }
.group h2 { font-size: 17px; margin: 0 0 8px; }
.sub-list { list-style: none; padding: 0; margin: 0; }
.sub-list li { padding: 5px 0; font-size: 15px; border-top: 1px solid var(--line); }
.sub-list li:first-child { border-top: 0; }
.related .sub-list { columns: 2 220px; }
.az { list-style: none; padding: 0; columns: 2 260px; column-gap: 28px; }
.az li { padding: 5px 0; font-size: 15px; break-inside: avoid; }
.latest { padding-left: 20px; }
.latest li { margin-bottom: 6px; }

.guide table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.guide th, .guide td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.guide thead th { border-top: 0; background: var(--accent-soft); }
.guide tbody td:first-child { font-weight: 600; white-space: nowrap; }

.checklist { list-style: none; padding-left: 0; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: "☐"; position: absolute; left: 4px; color: var(--accent); }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* Fiverr Gig Ads Widget (an ad served by Fiverr) */
.widget { margin: 28px 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.widget h2 { margin-top: 0; font-size: 1.15rem; }
.widget .muted { font-size: .85rem; margin: .25rem 0 .75rem; }
.widget iframe { display: block; border: 0; }
