:root {
  --ink: #1a120e;
  --muted: #6a5c50;
  --paper: #e9dcc6;
  --card: #f7edd8;
  --red: #c8102e;
  --line: #1a120e;
  --bot: #2b4c7e;
  --scam: #c8102e;
  --seller: #8a5a28;
  --good: #1c6b3a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

body.sheet {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #e4d4b8;
  background-image:
    radial-gradient(circle at 12px 12px, rgba(200, 16, 46, 0.09) 5px, transparent 6px),
    repeating-linear-gradient(#e4d4b8, #e4d4b8 31px, rgba(26, 18, 14, 0.06) 32px);
  background-size: 64px 64px, 100% 32px;
}

a { color: inherit; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cross {
  width: 22px;
  height: 22px;
  background: var(--red);
  position: relative;
  box-shadow: 2px 2px 0 var(--ink);
}

.cross::before,
.cross::after {
  content: "";
  position: absolute;
  background: #fff;
}

.cross::before { width: 12px; height: 4px; left: 5px; top: 9px; }
.cross::after { width: 4px; height: 12px; left: 9px; top: 5px; }

nav { display: flex; gap: 16px; color: var(--muted); text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em; }
nav a { text-decoration: none; }

main { width: min(980px, calc(100% - 32px)); margin: 0 auto 48px; flex: 1; }
main.num { width: min(1120px, calc(100% - 32px)); }

.hero { padding-top: 28px; }
.hero.slim { padding-top: 8px; }

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.95;
  margin: 8px 0 12px;
}

.num h1 { letter-spacing: -0.03em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  margin: 0;
}

.lead, .muted { color: var(--muted); }

.search {
  display: flex;
  gap: 8px;
  margin: 28px 0 36px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: 8px;
  box-shadow: 6px 6px 0 var(--ink);
}

.search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 20px;
  padding: 12px 14px;
  outline: none;
}

.search button, .avis-form button {
  border: 2px solid var(--ink);
  background: var(--red);
  color: #fff;
  border-radius: 2px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}

.err { color: var(--red); font-weight: 600; }

.block { margin: 36px 0; }
.block h2, .card h2 { font-size: 16px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.08em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip, .row {
  text-decoration: none;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 2px;
}

.chip { padding: 8px 12px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }

.list { display: grid; gap: 8px; }

.row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.row em, .row span { color: var(--muted); font-style: normal; font-size: 14px; }

.card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: 20px;
  margin: 18px 0;
  box-shadow: 6px 6px 0 rgba(26, 18, 14, 0.18);
}

.chart-card { padding-bottom: 8px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; }
.chart-head p { margin: 0; color: var(--muted); font-size: 14px; }
.chart { width: 100%; height: auto; display: block; }

.seo-copy { color: var(--muted); line-height: 1.5; max-width: 62ch; }

.num-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.num-side { position: sticky; top: 16px; display: grid; gap: 12px; }
.side-card { margin: 0; }
.side-card h2 { margin-bottom: 10px; }

.answer {
  margin: 16px 0 24px;
}

.stamp-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.answer-word {
  display: inline-block;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(52px, 10vw, 84px);
  line-height: 0.9;
  margin: 0 0 16px;
  padding: 8px 22px 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 6px solid currentColor;
  border-radius: 10px;
  transform: rotate(-8deg);
  background: rgba(247, 237, 216, 0.72);
  box-shadow: 5px 5px 0 currentColor;
}

.answer-oui .answer-word {
  color: var(--good);
  transform: rotate(7deg);
}

.answer-non .answer-word { color: var(--scam); }
.answer-wait .answer-word {
  color: var(--muted);
  transform: rotate(-3deg);
}

.energy {
  height: 22px;
  border-radius: 2px;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 11px, rgba(26, 18, 14, 0.12) 11px, rgba(26, 18, 14, 0.12) 12px),
    #d8c7a8;
  overflow: hidden;
  border: 2px solid var(--ink);
}

.energy-fill {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.35s ease;
  background: #b8aea0;
}

.answer-oui .energy-fill { background: repeating-linear-gradient(90deg, #1c6b3a, #1c6b3a 10px, #24844a 10px, #24844a 12px); }
.answer-non .energy-fill { background: repeating-linear-gradient(90deg, #c8102e, #c8102e 10px, #e23a4d 10px, #e23a4d 12px); }

.side-card .answer { margin: 0 0 14px; }
.side-card .answer-word { font-size: 36px; padding: 4px 12px 8px; border-width: 4px; margin-bottom: 10px; }
.side-card .energy { height: 14px; }

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 2px dashed rgba(26, 18, 14, 0.2);
  font-size: 15px;
}
.stat:first-of-type { border-top: 0; }
.stat strong { font-size: 20px; font-family: "Archivo Black", sans-serif; }
.stat.scam strong { color: var(--scam); }
.stat.bot strong { color: var(--bot); }
.stat.seller strong { color: var(--seller); }
.stat.good strong { color: var(--good); }
.geo-line { margin: 0 0 4px; }

.votes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.vote {
  appearance: none;
  border: 2px solid var(--ink);
  background: #fff8ea;
  border-radius: 2px;
  padding: 16px 8px;
  cursor: pointer;
  font: inherit;
  display: grid;
  justify-items: center;
  gap: 6px;
  box-shadow: 3px 3px 0 var(--ink);
}

.vote .ico { font-size: 28px; }
.vote em { font-style: normal; font-weight: 700; font-size: 20px; font-family: "Archivo Black", sans-serif; }
.vote.on.bot { background: #eef3fb; }
.vote.on.scam { background: #fdecee; }
.vote.on.seller { background: #f6ecdc; }
.vote.on.good { background: #e5f4ea; }

.avis-form { display: flex; gap: 8px; margin: 12px 0 16px; }
.avis-form input {
  flex: 1;
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: 12px;
  font: inherit;
  background: #fff8ea;
}

.avis { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.avis li { border-top: 2px dashed rgba(26, 18, 14, 0.2); padding-top: 10px; }
.avis time { color: var(--muted); font-size: 12px; }

.crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.crumbs a { color: var(--red); }

.prose p { font-size: 18px; line-height: 1.55; max-width: 62ch; }

footer {
  width: min(1120px, calc(100% - 32px));
  margin: auto auto 24px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .num-grid { grid-template-columns: 1fr; }
  .num-side { position: static; }
}

@media (max-width: 700px) {
  .votes { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .search { flex-direction: column; }
}
