:root {
  --ink: var(--onsite-deep-navy, #0f2540);
  --ink-2: #34465b;
  --paper: #f3f7fa;
  --white: #fff;
  --line: #d7e1e8;
  --muted: #697989;
  --orange: #ff653f;
  --orange-dark: #ca3f21;
  --yellow: #ffd74a;
  --mint: #74d6a2;
  --blue: #71b8ff;
  --bad: #aeb8c1;
  --display: "Avenir Next Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
body.is-dialog-open { overflow: hidden; }
button, input, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(243,247,250,.93);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-main {
  align-items: center;
  display: flex;
  gap: 36px;
  height: 68px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
}
.brand { align-items: center; display: flex; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand img { display: block; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy b { font-size: 17px; letter-spacing: .15em; }
.brand-copy small { color: var(--onsite-slate-blue, #6d7fa6); font-size: 8px; letter-spacing: .17em; margin-top: 3px; }
.brand > i { background: #c6d0d8; height: 27px; margin: 0 4px; width: 1px; }
.channel-name { font-size: 17px; font-weight: 900; }
.site-nav { align-items: center; display: flex; gap: 26px; margin-left: auto; }
.site-nav > a { color: var(--muted); font-size: 14px; font-weight: 750; text-decoration: none; }
.site-nav > a:hover { color: var(--orange-dark); }
.header-action, .publish-action {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 850;
  padding: 12px 18px;
}
.header-action:hover, .publish-action:hover { background: #19395e; transform: translateY(-1px); }
.shelf-toolbar {
  align-items: center;
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  min-height: 58px;
  padding: 8px max(24px, calc((100vw - var(--max)) / 2));
}
.visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.toolbar-search { align-items: stretch; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 11px; display: flex; min-width: 0; overflow: hidden; }
.toolbar-search input { background: transparent; border: 0; flex: 1; font-size: 12px; min-width: 0; outline: 0; padding: 9px 11px; }
.toolbar-search button { background: var(--ink); border: 0; color: white; font-size: 11px; font-weight: 900; padding: 0 15px; }
.toolbar-search:focus-within { box-shadow: 0 0 0 3px rgba(255,101,63,.2); }
.category-strip { align-items: center; display: flex; gap: 8px; min-width: 0; }
.category-strip > span { color: var(--orange-dark); flex: 0 0 auto; font-size: 10px; font-weight: 900; letter-spacing: .08em; }

main { overflow: hidden; }
#snacks, #more-snacks, #rules { scroll-margin-top: 142px; }
.shelf-intro {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 22px max(24px, calc((100vw - var(--max)) / 2)) 28px;
}
.shelf-heading { align-items: center; display: flex; gap: 36px; justify-content: space-between; }
.shelf-heading > div { max-width: 720px; }
.shelf-heading .eyebrow { margin-bottom: 9px; }
.shelf-heading h1 {
  font-family: var(--display);
  font-size: clamp(40px, 4.2vw, 56px);
  letter-spacing: -.075em;
  line-height: .94;
  margin: 0;
}
.shelf-heading h1 span { color: var(--orange); }
.shelf-intro-copy { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 8px 0 0; max-width: 650px; }
.shelf-heading .hero-facts { gap: 24px; margin: 0; }
.shelf-heading .hero-facts dt { font-size: 22px; }
.shelf-heading .hero-facts dd { font-size: 11px; }
.featured-note { color: var(--muted); font-size: 12px; margin: 14px 0 10px; min-height: 18px; }
.featured-snack-grid { position: relative; }
.eyebrow { color: var(--orange-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; margin: 0 0 17px; text-transform: uppercase; }
.hero-facts { display: flex; gap: 34px; margin: 34px 0 0; }
.hero-facts div { align-items: baseline; display: flex; gap: 7px; }
.hero-facts dt { font-family: var(--display); font-size: 26px; font-weight: 900; }
.hero-facts dd { color: var(--muted); font-size: 12px; margin: 0; }

.snack-section { background: white; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding: 48px max(24px, calc((100vw - var(--max)) / 2)) 72px; }
.section-head { align-items: end; display: flex; gap: 28px; justify-content: space-between; }
.section-head h2, .rules-copy h2 { font-family: var(--display); font-size: clamp(38px, 5vw, 62px); letter-spacing: -.055em; line-height: 1; margin: 0; }
.sort-switch { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; display: flex; padding: 4px; }
.sort-switch button { background: transparent; border: 0; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 800; padding: 10px 14px; }
.sort-switch button.is-active { background: var(--ink); color: white; }
.category-list { display: flex; gap: 5px; min-width: 0; overflow-x: auto; padding: 1px 2px 3px; scrollbar-width: none; }
.category-list::-webkit-scrollbar { display: none; }
.category-list button { align-items: center; background: transparent; border: 1px solid transparent; border-radius: 999px; color: var(--muted); display: flex; flex: 0 0 auto; font-size: 10px; font-weight: 800; gap: 4px; justify-content: space-between; padding: 6px 8px; }
.category-list button b { color: #8c9aa6; font-size: 8px; font-weight: 850; }
.category-list button:hover { border-color: #b9c7d1; color: var(--ink); }
.category-list button.is-active { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.category-list button.is-active b { color: var(--ink); }
.active-filters { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 0; }
.active-filters > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.active-filters > div { display: flex; flex-wrap: wrap; gap: 7px; }
.active-filter-chip { background: var(--yellow); border: 1px solid var(--ink); border-radius: 999px; font-size: 11px; font-weight: 850; padding: 7px 10px; }
.active-filters > button { background: transparent; border: 0; color: var(--orange-dark); font-size: 11px; font-weight: 800; padding: 7px 4px; text-decoration: underline; text-underline-offset: 3px; }
.result-note { color: var(--muted); font-size: 13px; margin: 27px 0 18px; min-height: 20px; }
.active-filters:not([hidden]) + .result-note { margin-top: 10px; }
.snack-grid { display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.snack-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.snack-card:hover { border-color: #aebdca; box-shadow: 0 16px 30px rgba(15,37,64,.10); transform: translateY(-3px); }
.snack-card-open { background: transparent; border: 0; cursor: pointer; inset: 0; padding: 0; position: absolute; z-index: 1; }
.snack-card-open:focus-visible { outline-offset: -5px; }
.snack-cover { align-items: center; background: linear-gradient(145deg, #f7fafc, #e7eef3); display: flex; height: 178px; justify-content: center; overflow: hidden; padding: 10px; pointer-events: none; position: relative; z-index: 2; }
.snack-cover img { height: 100%; object-fit: contain; width: 100%; }
.snack-cover-placeholder { color: #8b9baa; font-family: var(--display); font-size: 52px; font-weight: 900; transform: rotate(-8deg); }
.verdict-seal { border: 2px solid var(--ink); border-radius: 7px; bottom: 12px; color: var(--ink); font-size: 13px; font-weight: 950; padding: 7px 10px; position: absolute; right: 12px; transform: rotate(-5deg); box-shadow: 2px 3px 0 rgba(15,37,64,.2); }
.verdict-seal.good { background: var(--mint); }
.verdict-seal.okay { background: var(--yellow); }
.verdict-seal.bad { background: #e0e6ea; }
.verdict-seal.unrated { background: #eef3f6; }
.verdict-seal.first { background: var(--yellow); border-style: dashed; transform: rotate(4deg); }
.snack-card-copy { display: flex; flex: 1; flex-direction: column; padding: 18px; pointer-events: none; position: relative; z-index: 2; }
.snack-brand { align-self: flex-start; background: transparent; border: 0; color: var(--orange-dark); font-size: 11px; font-weight: 900; letter-spacing: .08em; margin: 0 0 7px; padding: 0; text-align: left; text-transform: uppercase; }
.snack-filter-link { cursor: pointer; pointer-events: auto; position: relative; z-index: 3; }
.snack-filter-link:hover { color: #982c16; text-decoration: underline; text-underline-offset: 3px; }
.snack-card h3 { font-size: 18px; line-height: 1.35; margin: 0; }
.snack-flavor { color: var(--muted); font-size: 12px; margin: 7px 0 0; }
.snack-category, .detail-category { background: transparent; border: 0; border-bottom: 1px dotted currentColor; color: inherit; display: inline; font-size: inherit; padding: 0; }
.snack-meta { align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 11px; justify-content: space-between; margin-top: auto; padding-top: 15px; }
.snack-meta b { color: var(--ink); }
.snack-meta.first-review-cta { color: var(--orange-dark); font-weight: 850; }
.snack-meta.first-review-cta b { color: var(--orange-dark); }

.catalog-note { border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.7; margin: 34px 0 0; padding-top: 18px; }

.empty-state { border: 2px dashed #b8c7d2; border-radius: 24px; margin-top: 18px; padding: 52px 24px; text-align: center; }
.empty-state > span { align-items: center; background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; display: inline-flex; font-size: 24px; font-weight: 950; height: 64px; justify-content: center; transform: rotate(-7deg); width: 64px; }
.empty-state h3 { font-family: var(--display); font-size: 32px; margin: 20px 0 8px; }
.empty-state p { color: var(--muted); margin: 0 0 22px; }
.empty-state button { background: var(--orange); border: 0; border-radius: 999px; color: white; font-weight: 850; padding: 12px 20px; }

.rules-section { display: grid; gap: 70px; grid-template-columns: .8fr 1.2fr; margin: 0 auto; max-width: var(--max); padding: 90px 24px 100px; }
.rule-list { border-top: 2px solid var(--ink); }
.rule-list article { display: grid; gap: 24px; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--line); padding: 26px 0; }
.rule-list b { font-size: 16px; }
.rule-list p { color: var(--muted); line-height: 1.7; margin: 0; }

footer { align-items: center; background: var(--ink); color: white; display: flex; justify-content: space-between; padding: 28px max(24px, calc((100vw - var(--max)) / 2)); }
.footer-brand { font-size: 15px; font-weight: 900; letter-spacing: .1em; text-decoration: none; }
.footer-brand span { color: var(--yellow); font-size: 9px; }
footer p { color: rgba(255,255,255,.62); font-size: 12px; margin: 0; }

dialog { border: 0; margin: auto; padding: 0; }
dialog::backdrop { backdrop-filter: blur(8px); background: rgba(8,22,38,.72); }
.review-dialog, .detail-dialog { background: var(--paper); border-radius: 24px; color: var(--ink); max-height: min(90vh, 920px); max-width: 780px; overflow-x: hidden; overflow-y: auto; width: calc(100% - 32px); box-shadow: 0 30px 90px rgba(6,18,31,.35); }
.detail-dialog { max-width: 900px; }
.dialog-close { background: white; border: 1px solid var(--line); border-radius: 999px; font-size: 24px; height: 40px; line-height: 1; position: sticky; float: right; right: 20px; top: 18px; width: 40px; z-index: 5; }
.review-dialog form { padding: 48px 52px 54px; }
.dialog-heading { padding-right: 48px; }
.dialog-heading h2 { font-family: var(--display); font-size: 42px; letter-spacing: -.045em; margin: 0; }
.dialog-heading > p:last-child { color: var(--muted); line-height: 1.6; margin: 10px 0 28px; }
fieldset { border: 0; margin: 0; padding: 0; }
fieldset > legend { font-size: 16px; font-weight: 900; margin-bottom: 13px; padding: 0; width: 100%; }
fieldset > legend small { color: var(--muted); font-size: 11px; font-weight: 500; }
.product-fields, .review-fields { display: grid; gap: 15px; grid-template-columns: 1fr 1fr; }
.product-fields { border-bottom: 1px solid var(--line); margin-bottom: 28px; padding-bottom: 28px; }
.product-fields legend { grid-column: 1 / -1; }
.field { color: var(--ink-2); display: flex; flex-direction: column; font-size: 12px; font-weight: 800; gap: 7px; }
.field b { color: var(--orange-dark); font-size: 10px; margin-left: 4px; }
.field small { color: var(--muted); font-weight: 500; }
.field-wide { grid-column: 1 / -1; }
.field input, .field textarea { background: white; border: 1px solid var(--line); border-radius: 11px; outline: 0; padding: 12px 13px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15,37,64,.09); }
.choice-fieldset, .tag-fieldset { border-bottom: 1px solid var(--line); margin-bottom: 28px; padding-bottom: 28px; }
.verdict-options { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.verdict-options label, .repurchase-options label, .tag-options label { cursor: pointer; }
.verdict-options input, .repurchase-options input, .tag-options input { opacity: 0; pointer-events: none; position: absolute; }
.verdict-options span { border: 2px solid transparent; border-radius: 14px; display: flex; flex-direction: column; min-height: 92px; padding: 16px; transition: transform .14s ease, border-color .14s ease; }
.verdict-options b { font-size: 20px; }
.verdict-options small { color: rgba(15,37,64,.68); font-size: 11px; margin-top: 5px; }
.choice-good { background: rgba(116,214,162,.48); }
.choice-okay { background: rgba(255,215,74,.55); }
.choice-bad { background: #e1e7eb; }
.verdict-options input:checked + span { border-color: var(--ink); box-shadow: 3px 4px 0 var(--ink); transform: translate(-2px,-2px); }
.repurchase-options { display: flex; gap: 9px; }
.repurchase-options span, .tag-options span { background: white; border: 1px solid var(--line); border-radius: 999px; display: block; font-size: 12px; font-weight: 750; padding: 9px 14px; }
.repurchase-options input:checked + span, .tag-options input:checked + span { background: var(--ink); border-color: var(--ink); color: white; }
.tag-options { display: flex; flex-wrap: wrap; gap: 8px; }
.review-fields { margin-bottom: 24px; }
.photo-field { background: white; border: 1px dashed #a9bac7; border-radius: 14px; cursor: pointer; display: grid; gap: 12px; grid-template-columns: 1fr auto; padding: 16px; }
.photo-field > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.photo-field small { color: var(--muted); font-size: 10px; }
.photo-field input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.photo-button { align-self: center; background: var(--paper); border-radius: 999px; font-size: 12px; font-weight: 850; padding: 9px 13px; }
.photo-field img { border-radius: 11px; grid-column: 1 / -1; max-height: 240px; object-fit: contain; width: 100%; }
.consent-field { align-items: flex-start; color: var(--muted); display: flex; font-size: 11px; gap: 9px; line-height: 1.55; }
.consent-field input { accent-color: var(--ink); margin-top: 2px; }
.form-error { background: #fff0ec; border: 1px solid #ffc1b1; border-radius: 10px; color: #a12d16; font-size: 12px; line-height: 1.5; margin: 16px 0 0; padding: 11px 13px; }
.publish-action { display: flex; font-size: 15px; justify-content: space-between; margin-top: 22px; padding: 15px 20px; width: 100%; }
.publish-action span { color: var(--yellow); }
.publish-action:disabled { cursor: wait; opacity: .62; }
.honeypot { height: 0; left: -10000px; overflow: hidden; position: absolute; width: 0; }

#detail-content { padding: 52px; }
.detail-hero { display: grid; gap: 28px; grid-template-columns: 260px 1fr; }
.detail-cover { align-items: center; background: linear-gradient(145deg, #fff, #e7eef3); border-radius: 18px; display: flex; height: 300px; justify-content: center; overflow: hidden; padding: 20px; }
.detail-cover img { height: 100%; object-fit: contain; width: 100%; }
.detail-cover span { color: #8b9baa; font-family: var(--display); font-size: 64px; font-weight: 900; transform: rotate(-8deg); }
.detail-copy { align-self: center; }
.detail-copy h2 { font-family: var(--display); font-size: 40px; letter-spacing: -.04em; line-height: 1.08; margin: 7px 0; }
.detail-flavor { color: var(--muted); margin: 0; }
.detail-filter-link { display: block; }
.detail-variants { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.detail-variants b { color: var(--muted); font-size: 10px; margin-right: 2px; }
.detail-variants span { background: white; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 750; padding: 6px 9px; }
.detail-score { align-items: center; display: flex; gap: 12px; margin-top: 22px; }
.detail-score b { border: 2px solid var(--ink); border-radius: 7px; font-size: 18px; padding: 8px 12px; transform: rotate(-4deg); }
.detail-score b.good { background: var(--mint); }
.detail-score b.okay { background: var(--yellow); }
.detail-score b.bad { background: #e0e6ea; }
.detail-score b.first { background: var(--yellow); border-style: dashed; }
.detail-score span { color: var(--muted); font-size: 12px; }
.detail-copy > button { background: var(--ink); border: 0; border-radius: 999px; color: white; font-weight: 850; margin-top: 23px; padding: 12px 17px; }
.catalog-source { color: var(--muted); font-size: 9px; line-height: 1.55; margin: 16px 0 0; }
.catalog-source a { text-decoration-color: #aebdca; text-underline-offset: 2px; }
.review-list-head { align-items: baseline; border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 38px; padding-top: 28px; }
.review-list-head h3 { font-size: 22px; margin: 0; }
.review-list-head span { color: var(--muted); font-size: 11px; }
.review-list { display: grid; gap: 12px; margin-top: 16px; }
.first-review-empty { background: rgba(255,215,74,.18); border: 2px dashed #d1b53d; border-radius: 15px; padding: 24px; }
.first-review-empty b { font-size: 18px; }
.first-review-empty p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 7px 0 17px; }
.first-review-empty button { background: var(--orange); border: 0; border-radius: 999px; color: white; font-size: 12px; font-weight: 850; padding: 10px 15px; }
.review-item { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 17px; }
.review-item-head { align-items: center; display: flex; gap: 9px; }
.review-verdict { border-radius: 6px; font-size: 11px; font-weight: 900; padding: 5px 8px; }
.review-verdict.good { background: rgba(116,214,162,.55); }
.review-verdict.okay { background: rgba(255,215,74,.65); }
.review-verdict.bad { background: #e0e6ea; }
.review-item-head b { font-size: 13px; }
.review-item-head time { color: var(--muted); font-size: 10px; margin-left: auto; }
.review-item > p { color: var(--ink-2); line-height: 1.7; margin: 13px 0; white-space: pre-wrap; }
.review-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.review-tags span { background: var(--paper); border-radius: 999px; color: var(--muted); font-size: 10px; padding: 5px 8px; }
.review-photo { border-radius: 10px; display: block; margin-top: 13px; max-height: 360px; max-width: 100%; object-fit: contain; }
.review-footer { align-items: center; color: var(--muted); display: flex; font-size: 10px; justify-content: space-between; margin-top: 12px; }
.delete-review { background: transparent; border: 0; color: var(--orange-dark); font-size: 10px; padding: 4px; }
.loading-state { color: var(--muted); padding: 50px 0; text-align: center; }

.toast { background: var(--ink); border-radius: 999px; bottom: 24px; color: white; font-size: 13px; left: 50%; opacity: 0; padding: 12px 18px; pointer-events: none; position: fixed; transform: translate(-50%, 12px); transition: opacity .18s ease, transform .18s ease; z-index: 100; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid rgba(255,101,63,.4); outline-offset: 3px; }

@media (max-width: 980px) {
  .header-main { gap: 14px; padding: 0 18px; }
  .site-nav { gap: 0; margin-left: auto; }
  .site-nav > a { display: none; }
  .header-action { margin-left: 0; }
  .shelf-toolbar { grid-template-columns: minmax(230px, 280px) minmax(0, 1fr); padding-left: 18px; padding-right: 18px; }
  .shelf-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .shelf-heading .hero-facts { margin-top: 0; }
  .snack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rules-section { gap: 45px; grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .snack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .header-main { height: 64px; padding: 0 12px; }
  .brand img { height: 30px; width: 30px; }
  .brand-copy b { font-size: 15px; }
  .brand > i { height: 23px; margin: 0; }
  .channel-name { font-size: 15px; }
  .header-action { font-size: 11px; padding: 10px 12px; }
  .shelf-toolbar { display: block; padding: 7px 12px 8px; }
  .toolbar-search input { font-size: 12px; padding: 8px 10px; }
  .toolbar-search button { padding: 0 13px; }
  .category-strip { margin-top: 6px; }
  .category-strip > span { display: none; }
  #snacks, #more-snacks, #rules { scroll-margin-top: 148px; }
  .shelf-intro { padding: 20px 18px 28px; }
  .shelf-heading h1 { font-size: clamp(36px, 11vw, 44px); }
  .shelf-intro-copy { font-size: 13px; margin-top: 8px; }
  .shelf-heading .hero-facts { gap: 13px; }
  .shelf-heading .hero-facts dt { font-size: 20px; }
  .featured-note { margin-top: 14px; }
  .hero-facts { gap: 16px; justify-content: space-between; }
  .hero-facts div { align-items: flex-start; flex-direction: column; gap: 0; }
  .hero-facts dt { font-size: 23px; }
  .snack-section { padding: 42px 18px 58px; }
  .section-head { align-items: stretch; flex-direction: column; }
  .sort-switch { overflow-x: auto; width: 100%; }
  .sort-switch button { flex: 0 0 auto; }
  .snack-grid { gap: 12px; grid-template-columns: 1fr 1fr; }
  .snack-card { min-height: 300px; }
  .snack-cover { height: 150px; }
  .snack-card-copy { padding: 13px; }
  .snack-card h3 { font-size: 15px; }
  .snack-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
  .rules-section { padding: 66px 18px 72px; }
  .rule-list article { gap: 8px; grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: 10px; padding: 25px 18px; }
  footer p { line-height: 1.6; }
  .review-dialog, .detail-dialog { border-radius: 20px 20px 0 0; margin: auto 0 0; max-height: 94vh; width: 100%; }
  .review-dialog form, #detail-content { padding: 42px 20px 34px; }
  .dialog-close { right: 14px; top: 12px; }
  .dialog-heading h2 { font-size: 34px; }
  .product-fields, .review-fields { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .verdict-options { grid-template-columns: 1fr; }
  .verdict-options span { min-height: 0; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-cover { height: 260px; }
  .detail-copy h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
