/* geniecheatsreviews.com — a plain reviews page: system font, neutral greys,
   one accent for links, gold stars. No brand styling. */

:root {
  --text: #1f2328;
  --muted: #59636e;
  --faint: #8c959f;
  --line: #d8dee4;
  --soft: #f6f8fa;
  --link: #0b5cad;
  --star: #e3a008;
  --star-off: #d0d7de;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, select { font: inherit; color: inherit; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header / footer */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { height: 56px; display: flex; align-items: center; }
.site-name { font-weight: 600; font-size: 16px; }

h1 { margin: 0; font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
h2 { margin: 0; font-size: 20px; font-weight: 600; }
section { margin-top: 40px; }

/* summary */
.summary { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.lede { margin: 8px 0 0; color: var(--muted); }
.users { margin: 16px 0 0; color: var(--muted); }
.users strong { color: var(--text); }
.score { border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.score-top { display: flex; align-items: center; gap: 14px; }
.score-num { font-size: 44px; font-weight: 700; line-height: 1; }
.score-sub { margin-top: 4px; font-size: 13px; color: var(--muted); }
.score .stars i { width: 20px; height: 20px; }

.dist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.dist button {
  display: grid; grid-template-columns: 48px 1fr 28px; align-items: center; gap: 10px;
  width: 100%; padding: 3px 4px; border: 0; border-radius: 4px; background: none;
  font-size: 13px; color: var(--muted); cursor: pointer; text-align: left;
}
.dist button:hover:not(:disabled) { background: var(--soft); }
.dist button[aria-pressed="true"] { background: #eef4fb; color: var(--text); }
.dist button:disabled { cursor: default; opacity: 0.5; }
.track { height: 8px; border-radius: 4px; background: #eaeef2; overflow: hidden; }
.track span { display: block; height: 100%; background: var(--star); }
.dist-n { text-align: right; font-variant-numeric: tabular-nums; }

/* stars */
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars i { display: block; width: 15px; height: 15px; color: var(--star-off); }
.stars i.on { color: var(--star); }
.stars svg { display: block; width: 100%; height: 100%; fill: currentColor; }

/* extensions table */
.ext { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; }
.ext th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.ext td { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ext td:first-child { font-weight: 600; }
.ext td:last-child { text-align: right; }
.ext-rate { font-weight: 600; margin-left: 4px; }
.ext-count { color: var(--faint); }

/* review list */
.list-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.filters select {
  padding: 6px 28px 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  font-size: 14px; color: var(--text); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 3.5L5 7l3.5-3.5' fill='none' stroke='%2359636e' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.count { margin: 16px 0 0; font-size: 13px; color: var(--faint); }
.rv { padding: 20px 0; border-bottom: 1px solid var(--line); }
.rv[hidden] { display: none; }
.rv-head { display: flex; align-items: center; gap: 10px; }
.rv-ext { font-size: 13px; font-weight: 600; color: var(--muted); }
.rv-text { margin: 8px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.rv-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--faint); }
.rv-media { display: block; margin: 10px 0 0; max-width: 100%; border-radius: 8px; max-height: 480px; object-fit: contain; background: var(--bg2); }
.empty { padding: 32px 0; color: var(--muted); }
.empty button { border: 0; background: none; padding: 0; color: var(--link); cursor: pointer; }

@media (max-width: 720px) {
  h1 { font-size: 26px; }
  .summary { grid-template-columns: 1fr; gap: 24px; }
  .ext th:nth-child(2), .ext td:nth-child(2) { display: none; }
  .ext td { white-space: normal; }
  .ext .stars { display: none; }
}
