:root {
  --bg: #fbfaf8;
  --card: #fff;
  --fg: #16181d;
  --muted: #6b7180;
  --line: #e6e4df;
  --accent: #ff6b35;
  --accent-ink: #c2410c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding-top: 8px; padding-bottom: 8px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--fg); }
.brand:hover { text-decoration: none; }
nav { display: flex; align-items: center; gap: 16px; font-size: 14px; white-space: nowrap; }
nav a { color: var(--fg); }
.btn { display: inline-block; background: var(--accent); color: #fff !important; border: 0; border-radius: 10px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { filter: brightness(.95); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--fg) !important; border: 1px solid var(--line); }
main { padding: 28px 20px 48px; min-height: 60vh; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.02em; }
h2 { font-size: 20px; margin: 32px 0 12px; }
.hero { padding: 12px 0 20px; }
.hero p { color: var(--muted); max-width: 620px; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.row:hover { border-color: #d6d2ca; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.pos { width: 30px; text-align: center; color: var(--muted); font-weight: 700; font-size: 14px; }
.row-main { display: flex; gap: 14px; align-items: center; flex: 1; color: inherit; min-width: 0; }
.row-main:hover { text-decoration: none; }
.row h3 { margin: 0; font-size: 17px; }
.row p { margin: 2px 0 6px; color: var(--muted); font-size: 14.5px; }
.logo { border-radius: 12px; object-fit: cover; background: #f1efe9; flex-shrink: 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; border: 1px solid var(--line); border-radius: 99px; padding: 1px 9px; color: var(--muted); }
.vote { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 60px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; font-size: 14px; color: var(--fg); cursor: pointer; flex-shrink: 0; }
.vote span { font-weight: 700; }
.vote:hover { border-color: var(--accent); }
.vote.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.vote.closed { cursor: default; color: var(--muted); }
.vote-form { margin: 0; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: 14px; padding: 28px; text-align: center; color: var(--muted); }
.product-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.product-head > div { flex: 1; }
.tagline { font-size: 18px; margin: 0 0 4px; }
.desc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px 20px; margin: 18px 0; white-space: pre-line; }
.facts { border-collapse: collapse; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts th, .facts td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts th { width: 140px; color: var(--muted); font-weight: 500; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px 18px; margin: 18px 0; }
.card textarea { width: 100%; font-family: ui-monospace, monospace; font-size: 12.5px; margin: 10px 0; }
.notice { background: #fff4e5; border: 1px solid #ffd8a8; border-radius: 10px; padding: 10px 14px; }
.error { background: #fdecec; border: 1px solid #f5b5b5; border-radius: 10px; padding: 10px 14px; color: #8a1c1c; }
.status { font-size: 12px; border-radius: 99px; padding: 2px 10px; vertical-align: middle; background: #eee; }
.status.approved { background: #e3f7e8; color: #1a6b33; }
.status.rejected { background: #fdecec; color: #8a1c1c; }
.narrow { max-width: 640px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 5px; font-weight: 600; font-size: 14.5px; }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cats, .weeks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cats li, .weeks li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.foot { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 40px; font-size: 14px; }
.subscribe { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.subscribe input { font: inherit; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; min-width: 220px; }
.subscribe button { font: inherit; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--fg); background: var(--fg); color: #fff; cursor: pointer; }
@media (max-width: 640px) {
  nav a:not(.btn) { display: none; }
  .two { grid-template-columns: 1fr; }
  .pos { display: none; }
  h1 { font-size: 24px; }
}
.review { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 2px 18px; margin: 10px 0; white-space: pre-line; }
.review-form { margin-top: 16px; }
.small { font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.stat-grid div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.stat-grid strong { display: block; font-size: 26px; }
@media (max-width: 640px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
