/* ============ Tokens ============
   Palette: Empire green + Terracotta.
   RULE: --comm (terracotta) is reserved for community / visitor-review UI only.
   Everything else (my reviews, navigation, general UI) uses --accent (empire green). */
:root {
  --bg: #f8f8f4; --surface: #ffffff; --surface-2: #eff1ea; --ink: #18201a; --muted: #545b54; --line: #e2e5dc;
  --accent: #155e47; --accent-soft: #155e471f;      /* empire green, mine */
  --comm: #c0532f; --comm-soft: #f2c9b680;          /* terracotta, community only */
  --on-accent: #fff; --on-comm: #fff; --glass: #ffffff;
  --shadow: 0 1px 2px #18201a08, 0 8px 24px #18201a0d;
  --radius: 16px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e130f; --surface: #151c17; --surface-2: #1c251e; --ink: #eef1ea; --muted: #a0a99f; --line: #283229;
    --accent: #6cc3a2; --accent-soft: #6cc3a226; --comm: #ef8a66; --comm-soft: #ef8a6626;
    --on-accent: #0e130f; --on-comm: #0e130f; --glass: #222c24; --shadow: 0 1px 2px #0006, 0 8px 24px #0005;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e130f; --surface: #151c17; --surface-2: #1c251e; --ink: #eef1ea; --muted: #a0a99f; --line: #283229;
  --accent: #6cc3a2; --accent-soft: #6cc3a226; --comm: #ef8a66; --comm-soft: #ef8a6626;
  --on-accent: #0e130f; --on-comm: #0e130f; --glass: #222c24; --shadow: 0 1px 2px #0006, 0 8px 24px #0005;
  color-scheme: dark;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; outline: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
code { background: var(--surface-2); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: .8em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.link { color: var(--accent); text-decoration: none; font-weight: 500; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.link:hover { text-decoration: underline; }
.page { animation: fade .35s ease both; padding-bottom: 64px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .page { animation: none; } }

/* ============ Header / footer ============ */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
.brand-mark { color: var(--accent); display: grid; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); background: var(--surface-2); }
.theme-toggle { margin-left: 4px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.theme-toggle:hover { color: var(--accent); }
/* Phones: the logo already links home, so drop the Home link to make room for the full name. */
@media (max-width: 480px) { .brand { font-size: 1.02rem; gap: 6px; } .nav a { padding: 8px 7px; font-size: .88rem; } .nav a[data-nav="home"] { display: none; } .theme-toggle { width: 32px; height: 32px; } }
@media (max-width: 360px) { .brand-tail { display: none; } }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-link { color: var(--accent); text-decoration: none; font-weight: 500; }
@media (max-width: 767px) { .site-footer { padding-bottom: 72px; } }

/* ============ Buttons, chips, pills ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: 12px; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.primary:disabled { opacity: .6; cursor: wait; }
.btn.ghost { border-color: var(--line); background: var(--surface); }
.btn.ghost:hover { border-color: var(--accent); }
.chip { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.pill { display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .82rem; color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.pill b { font-size: .95rem; }
.pill.house b { color: var(--accent); }
.pill.comm b { color: var(--comm); }

/* ============ Home ============ */
.hero { display: grid; gap: 32px; align-items: center; padding: 40px 0 24px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-art { display: flex; justify-content: center; align-items: flex-end; gap: 4px; }
.hero-art > :nth-child(2) { transform: translateY(-14px) scale(1.08); }
@media (min-width: 900px) { .hero { grid-template-columns: 1.4fr 1fr; padding: 72px 0 40px; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 16px 0 48px; }
.stats > * { background: var(--surface); text-decoration: none; padding: 20px; display: flex; flex-direction: column; }
.stats strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
.stats .stat-text { font-size: 1.2rem; line-height: 1.25; padding: 6px 0 4px; }
.stat-link:hover .stat-text { color: var(--accent); }
.stats span { color: var(--muted); font-size: .85rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.section { margin-bottom: 48px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }

/* ============ Bottle art ============ */
.bottle-art .cork { fill: #6b4a2f; }
.bottle-art .glass { fill: var(--glass); stroke: color-mix(in srgb, var(--ink) 25%, transparent); stroke-width: 1.5; }
.bottle-art .label { fill: #fbf6ee; stroke: #00000014; }
.bottle-art .label-text { font: 600 15px var(--serif); fill: #3b2a1c; }
.bottle-art .shine { stroke: #ffffff70; stroke-width: 3; stroke-linecap: round; }
.bottle-visual { display: inline-block; position: relative; flex: none; }
.bottle-visual > svg, .bottle-visual > img { display: block; width: 100%; height: 100%; }
.bottle-visual > img { object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 10px #00000026); }
.bottle-visual.has-photo > svg { display: none; }
.bottle-sm { width: 46px; height: 116px; }
.bottle-shelf { width: 64px; height: 160px; }
.bottle-lg { width: 90px; height: 225px; }
.bottle-xl { width: 64px; height: 160px; }
@media (min-width: 768px) { .bottle-lg { width: 110px; height: 275px; } .bottle-xl { width: 140px; height: 350px; } }

/* ============ Cards ============ */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.card-art { flex: none; width: 76px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.card-scores { flex: none; display: flex; flex-direction: column; gap: 14px; }
.card-score { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.card-score b { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.card-score.house b { color: var(--accent); }
.card-score.comm b, .card-score.comm span { color: var(--comm); }
.card-score span { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 4px; }
.card-body .chip { align-self: flex-start; }
.card-body h3 { margin: 4px 0 0; font-size: 1.12rem; }
.card-body p { margin: 0; }

/* ============ Browse ============ */
.page-head { padding: 40px 0 20px; }
.page-head.narrow { max-width: 720px; }
.page-head.narrow h2 { margin-top: 1.4em; }
.toolbar { display: grid; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--muted); }
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; border: 0; background: transparent; padding: 13px 0; font: inherit; color: var(--ink); outline: none; min-width: 0; }
.select { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; color: var(--muted); font-weight: 500; }
select, input, textarea { font: inherit; color: var(--ink); }
select, .field input:not([type=range]):not([type=color]), textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); outline: none;
}
select:focus, .field input:focus, textarea:focus { border-color: var(--accent); }
input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }
output { color: var(--ink); font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (max-width: 639px) { .chips { padding-right: 32px; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); } }
@media (min-width: 640px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip-btn { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 .88rem var(--sans); cursor: pointer; }
.chip-btn .count { color: var(--muted); font-size: .78rem; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-btn[aria-pressed="true"] .count { color: inherit; opacity: .7; }
.results-count { margin: 0 0 12px; }
.empty { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); grid-column: 1 / -1; list-style: none; }

/* ============ Bottle page ============ */
.back { display: inline-block; margin: 24px 0 8px; }
.bottle-hero { display: grid; gap: 24px; padding: 24px; border-radius: 24px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface) 60%); border: 1px solid var(--line); margin-bottom: 20px; }
.bottle-hero-art { display: grid; place-items: center; }
.bottle-hero h1 { margin: 10px 0 6px; }
.headline { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); }
.meta-line { margin: 12px 0 18px; color: var(--muted); font-size: .95rem; }
.score-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
@media (min-width: 768px) { .bottle-hero { grid-template-columns: auto 1fr; padding: 40px; gap: 48px; align-items: center; } }

.score-block { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.score-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.score-block.comm .score-label { color: var(--comm); }
.score-ring { --size: 92px; position: relative; width: var(--size); height: var(--size); }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .track { fill: none; stroke: var(--line); stroke-width: 7; }
.score-ring .bar { fill: none; stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1); }
.score-ring.house .bar { stroke: var(--accent); }
.score-ring.comm .bar { stroke: var(--comm); }
.score-ring-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.score-ring-val strong { font-family: var(--serif); font-size: 1.75rem; line-height: 1; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .panel { padding: 32px; } }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.verdict { padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .85rem; }
.review-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .review-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.review-body > p { font-size: 1.05rem; }
.tasting { display: grid; gap: 12px; margin: 24px 0 16px; }
@media (min-width: 600px) { .tasting { grid-template-columns: repeat(3, 1fr); } }
.note { padding: 16px; border-radius: 14px; background: var(--surface-2); }
.note h3 { font-size: .75rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }
.note p { margin: 0; font-size: .95rem; text-transform: capitalize; } /* tasting notes: comma-separated, each word capitalized */

.flavor { margin: 0; padding: 16px; border-radius: 18px; background: var(--surface-2); }
.radar { width: 100%; max-width: 340px; display: block; margin: 0 auto; overflow: visible; }
.radar .ring { fill: none; stroke: var(--line); }
.radar .spoke { stroke: var(--line); }
.radar .axis-label { font: 500 12px var(--sans); fill: var(--muted); }
.radar .series .area { stroke-width: 2; stroke-linejoin: round; transition: all .4s; }
.radar .house .area { fill: var(--accent-soft); stroke: var(--accent); }
.radar .house .dot { fill: var(--accent); }
.radar .comm .area { fill: var(--comm-soft); stroke: var(--comm); stroke-dasharray: 5 4; }
.radar .comm .dot { fill: var(--comm); }
.flavor figcaption { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 8px; font-size: .85rem; }
.legend { display: inline-flex; align-items: center; gap: 7px; }
.legend.house::before { content: ""; width: 14px; height: 4px; border-radius: 2px; background: var(--accent); }
.legend.comm { color: var(--comm); font-weight: 500; }
.legend.comm::before { content: ""; width: 14px; border-top: 3px dashed var(--comm); }
.legend[hidden] { display: none; }

.community-panel .panel-head h2 { color: var(--comm); }
.community-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .community-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.review-form { display: grid; gap: 16px; padding: 20px; border-radius: 18px; background: var(--surface-2); }
@media (min-width: 900px) { .review-form { position: sticky; top: 80px; } }
.review-form h3 { margin: 0; }
.review-form .btn.primary { background: var(--comm); color: var(--on-comm); }
.review-form input[type=range] { accent-color: var(--comm); }
.review-form input:focus, .review-form textarea:focus, .list-head select:focus { border-color: var(--comm); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--muted); }
.field > span { display: flex; justify-content: space-between; gap: 8px; }
.field input[type=color] { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 4px; }
.score-out { font-family: var(--serif); font-size: 1.3rem; color: var(--comm); line-height: 1; }
.flavor-inputs summary { cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--ink); }
.flavor-sliders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; margin-top: 10px; }
.flavor-sliders label { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); }
.flavor-sliders span { display: flex; justify-content: space-between; }
.form-error { color: #c0392b; font-size: .85rem; margin: 0; min-height: 0; }
.form-error:empty { display: none; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.list-head h3 { margin: 0; }
.list-head select { width: auto; padding: 8px 10px; font-size: .85rem; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.review-item { padding: 16px; border: 1px solid var(--line); border-radius: 14px; animation: fade .3s ease both; }
.review-item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-item-head > div { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.review-item p { margin: 0; overflow-wrap: anywhere; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--comm-soft); color: var(--comm); font-weight: 600; flex: none; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pager-link { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-family: var(--serif); font-weight: 600; background: var(--surface); }
.pager-link span { font-family: var(--sans); font-weight: 400; }
.pager-link.right { text-align: right; }
.pager-link:hover { border-color: var(--accent); }

/* ============ About / composer ============ */
.scale { list-style: none; padding: 0; display: grid; gap: 8px; }
.scale li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: baseline; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.scale b { color: var(--accent); font-family: var(--serif); white-space: nowrap; }
.scale strong { font-weight: 600; }
.scale em { font-size: .85em; color: var(--muted); }
.composer { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .form-grid { grid-template-columns: repeat(3, 1fr); } .form-grid.three { grid-template-columns: repeat(3, 1fr); } }
.composer-flavor { display: grid; gap: 16px; align-items: center; padding: 16px; background: var(--surface-2); border-radius: 18px; }
@media (min-width: 768px) { .composer-flavor { grid-template-columns: 1fr 280px; } }
.composer-out pre { margin: 0; padding: 16px; background: var(--surface-2); border-radius: 14px; overflow: auto; font-size: .8rem; max-height: 360px; }

/* ============ Photo prep tool ============ */
.photo-tool { display: grid; gap: 24px; }
@media (min-width: 900px) { .photo-tool { grid-template-columns: 300px 1fr; align-items: start; } }
.photo-controls { display: grid; gap: 14px; }
.dropzone { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 28px 16px; border: 2px dashed var(--line); border-radius: 16px; cursor: pointer; background: var(--bg); }
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.check { display: flex; align-items: center; gap: 8px; font-size: .9rem; cursor: pointer; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.preview-frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.preview-frames figure { margin: 0; text-align: center; font-size: .78rem; color: var(--muted); }
.frame { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 6px; overflow: hidden; }
.frame img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; filter: drop-shadow(0 8px 10px #00000026); }
.frame-hero { background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.frame-card { background: var(--surface); }
.frame-dark { background: #12100e; border-color: #2f2a25; }
.shelf-label { margin: 20px 0 8px; }
.shelf { display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding: 24px 16px 18px; border-radius: 16px; background: var(--surface-2); border-bottom: 4px solid var(--line); overflow-x: auto; }
.shelf-new { width: 64px; height: 160px; outline: 2px dashed var(--accent); outline-offset: 6px; border-radius: 4px; }

/* ============ Community prompts (terracotta) ============ */
.cta-comm { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 4px 0; border: 0; background: none; color: var(--muted); font: 400 .85rem var(--sans); cursor: pointer; text-align: left; }
.cta-comm strong { color: var(--comm); font-weight: 500; }
.cta-comm .cta-icon { display: grid; place-items: center; color: var(--comm); }
.cta-comm:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.badge-comm { display: flex; align-items: flex-start; gap: 6px; line-height: 1.35; font-size: .84rem; font-weight: 500; color: var(--comm); margin-top: auto; padding-top: 10px; }
.badge-comm b { font-weight: 700; }
.badge-comm.is-empty { font-style: italic; }
.badge-comm svg { flex: none; margin-top: 2px; }
.review-form.flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 4px var(--comm-soft); } }
.stats .stat-comm strong { color: var(--comm); }
.form-sub { margin: -10px 0 0; }

/* Honeypot field: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot:empty { display: none; }
.brand-word { color: var(--accent); font-weight: 600; }

/* Bottles page filters */
.filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 900px) { .filter-grid { grid-template-columns: repeat(4, 1fr); } }
.filter-grid select { padding: 10px; font-size: .9rem; }
.meta-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.meta-link:hover { color: var(--accent); text-decoration-color: currentColor; }
a.verdict { text-decoration: none; }
a.verdict:hover { filter: brightness(1.1); }
