:root {
  color-scheme: dark;
  --ink: #0b0d0f;
  --surface: #15191e;
  --line: rgba(245, 242, 233, .13);
  --paper: #f5f2e9;
  --muted: #a9afb7;
  --orange: #ff6b35;
  --orange-bright: #ff8658;
  --lime: #d7ff45;
  --success: #8fe28b;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
}
img { display: block; width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(11, 13, 15, .88); backdrop-filter: blur(18px); }
.header-inner { min-height: 72px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--orange); color: #17100d; font-size: 13px; font-weight: 900; letter-spacing: -.06em; transform: rotate(-3deg); }
.brand-copy { font-weight: 800; letter-spacing: -.04em; }
.header-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.header-nav a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.header-nav a:hover { color: var(--paper); }

.detail-topline { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0; color: var(--muted); font-size: 13px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.breadcrumb:hover { color: var(--paper); }
.detail-status { display: flex; align-items: center; gap: 8px; }
.detail-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(143, 226, 139, .1); }
.detail-hero { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); gap: clamp(42px, 7vw, 96px); align-items: center; padding: 12px 0 72px; }
.cover-frame { position: relative; aspect-ratio: 1; }
.cover-frame::before { content: ""; position: absolute; inset: 9% -5% -5% 9%; border: 1px solid var(--line); border-radius: 24px; }
.cover-frame img { position: relative; width: 100%; height: 100%; border-radius: 24px; object-fit: cover; }
.snack-score {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  min-width: 48px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(7, 8, 9, .84);
  color: var(--paper);
  font-size: 16px;
  font-style: italic;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.03em;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .3);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.snack-score--high { border-color: transparent; background: var(--lime); color: #151806; }
.snack-score--mid { border-color: transparent; background: #ffd76a; color: #1b1608; }
.snack-score--low { background: rgba(57, 62, 68, .9); color: #d9dde1; }
.snack-score--new { min-width: 46px; color: #d1d5da; font-size: 11px; letter-spacing: .08em; }
.cover-frame .snack-score { right: 16px; bottom: 16px; min-width: 66px; min-height: 44px; font-size: 23px; }
.cover-frame .snack-score--new { font-size: 13px; }
.detail-label { margin: 0 0 20px; color: var(--orange-bright); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.detail-hero h1 { max-width: 720px; margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: .92; letter-spacing: -.07em; text-wrap: balance; }
.detail-summary { max-width: 670px; margin: 25px 0 0; color: #c8ccd1; font-size: clamp(17px, 2vw, 20px); line-height: 1.58; }
.detail-verdict { margin: 18px 0 0; color: var(--paper); font-size: 15px; line-height: 1.5; }
.detail-verdict span { margin-right: 9px; color: var(--lime); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.play { min-height: 48px; display: inline-flex; align-items: center; padding: 0 19px; border-radius: 999px; background: var(--orange); color: #1b0e09; font-weight: 850; text-decoration: none; }
.microcopy { width: 100%; color: var(--muted); font-size: 12px; }
.rating-widget { max-width: 670px; margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.rating-widget__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.rating-widget__heading strong { font-size: 15px; }
.rating-widget__heading span { color: var(--muted); font-size: 11px; }
.rating-options { display: grid; grid-template-columns: repeat(5, 40px); gap: 7px; margin-top: 14px; }
.rating-options button { width: 40px; height: 36px; border: 1px solid var(--line); border-radius: 999px; background: #20252b; color: var(--paper); font-size: 13px; font-weight: 850; cursor: pointer; }
.rating-options button:hover { border-color: var(--paper); }
.rating-options button[aria-pressed="true"] { border-color: var(--lime); background: var(--lime); color: #151806; }
.rating-comment { display: block; margin-top: 15px; }
.rating-comment > span { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: var(--paper); font-size: 12px; font-weight: 750; }
.rating-comment small { color: var(--muted); font-size: 10px; font-weight: 500; }
.rating-comment textarea { width: 100%; min-height: 60px; resize: vertical; padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: #0f1215; color: var(--paper); font: inherit; font-size: 13px; line-height: 1.45; }
.rating-comment textarea:focus { border-color: var(--lime); }
.rating-widget__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.rating-status { min-height: 17px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.rating-submit { flex: 0 0 auto; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 850; cursor: pointer; }
.rating-submit:disabled { opacity: .42; cursor: not-allowed; }
.rating-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.fact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 23px 20px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact small { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fact strong { font-size: 15px; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 72px; padding: 72px 0; }
.article-block + .article-block { margin-top: 52px; }
.article-block h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.05em; }
.article-block p,
.article-block li { color: #c8ccd1; font-size: 16px; line-height: 1.75; }
.article-block ul { margin: 20px 0 0; padding-left: 20px; }
.qa { margin: 0; }
.qa div { padding: 16px 0; border-top: 1px solid var(--line); }
.qa div:first-child { padding-top: 0; border-top: 0; }
.qa dt { font-weight: 800; }
.qa dd { margin: 7px 0 0; color: #c8ccd1; line-height: 1.7; }
.eyebrow { margin: 0 0 14px; color: var(--orange-bright); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.source { padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.source p { font-size: 13px; }
.answer-panel { align-self: start; position: sticky; top: 104px; border-top: 3px solid var(--orange); background: var(--surface); }
.answer-panel h2 { margin: 0; padding: 24px 22px; border-bottom: 1px solid var(--line); font-size: 18px; }
.quick-answer { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.quick-answer:last-child { border-bottom: 0; }
.quick-answer small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quick-answer p { margin: 7px 0 0; font-size: 14px; line-height: 1.55; }
.related-section { padding: 64px 0 72px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.055em; }
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; text-align: right; }
.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; }
.related-card { min-width: 0; text-decoration: none; }
.related-art { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.related-card:hover img { transform: scale(1.025); }
.related-card strong { display: block; margin-top: 12px; font-size: 16px; line-height: 1.3; }
.related-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.related-card .snack-score { display: inline-flex; margin-top: 0; color: var(--paper); font-size: 16px; }
.related-card .snack-score--high { color: #151806; }
.related-card .snack-score--mid { color: #1b1608; }
.related-card .snack-score--new { color: #d1d5da; font-size: 11px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 130px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--paper); }

@media (max-width: 1024px) {
  .shell { width: min(100% - 32px, var(--max)); }
  .detail-hero { grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: 42px; }
  .detail-content { gap: 42px; }
}
@media (max-width: 720px) {
  .site-header { position: relative; }
  .header-inner { min-height: 64px; }
  .header-nav a:not(:first-child) { display: none; }
  .detail-topline { padding: 24px 0; }
  .detail-status { display: none; }
  .detail-hero { grid-template-columns: 1fr; padding-bottom: 48px; }
  .cover-frame { max-width: 520px; }
  .cover-frame::before { inset: 7% 0 -3% 7%; }
  .detail-hero h1 { font-size: clamp(46px, 13vw, 68px); }
  .rating-widget { padding: 15px; }
  .rating-widget__heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .rating-options { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rating-options button { width: 100%; }
  .rating-widget__footer { align-items: flex-start; flex-direction: column; }
  .rating-submit { width: 100%; }
  .fact-row { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .detail-content { grid-template-columns: 1fr; gap: 48px; padding: 56px 0; }
  .answer-panel { position: static; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; text-align: left; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .footer-inner { grid-template-columns: 1fr; align-content: center; padding: 30px 0; }
  .footer-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none; }
}
