/* /reviews/?game=<slug>: a game's player reviews in the kit's CSS theme (no WebGPU here). */
html { background: var(--void-0, #0C0716); }
body {
  min-width: 320px; margin: 0; color: var(--text, #E8DDF7);
  font: 400 16px/1.5 var(--f-body, 'Fredoka', system-ui, sans-serif);
  background:
    radial-gradient(ellipse 58% 42% at 20% -6%, var(--glow-core, #2A1450), transparent 72%),
    radial-gradient(ellipse 60% 46% at 86% 104%, var(--glow-mid, #170C2B), transparent 74%),
    url(/art/css/void-stars.webp), var(--void-0, #0C0716);
  background-size: auto, auto, 480px 480px, auto;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }

.rv-page {
  box-sizing: border-box; max-width: 860px; margin: 0 auto;
  padding: max(28px, calc(env(safe-area-inset-top, 0px) + 16px)) 24px max(64px, calc(env(safe-area-inset-bottom, 0px) + 32px));
}
.rv-back { margin-bottom: 28px; }

.rv-head { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 36px; }
.rv-box { flex: none; width: 120px; height: 180px; --k-rot: -4deg; }
.rv-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-head__text { flex: 1; min-width: 0; }
.rv-kicker { margin: 0 0 4px; font: 600 14px/1.2 var(--f-body); color: var(--text-dim); letter-spacing: .04em; }
.rv-title { margin: 0 0 14px; font-size: clamp(30px, 6vw, 44px); line-height: 1.05; color: var(--text-hi); overflow-wrap: anywhere; }
.rv-scores { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 12px; }
.rv-scores > div { display: contents; }
.rv-scores dt { color: var(--text-dim); font-size: 15px; }
.rv-scores dd { margin: 0; font-weight: 600; color: var(--text-hi); }
.rv-scores dd small { font-weight: 400; color: var(--text-dim); font-size: 14px; }
.rv-pos { color: var(--goo-5) !important; }
.rv-mix { color: var(--butter) !important; }
.rv-neg { color: var(--danger) !important; }
.rv-meter { height: 10px; max-width: 360px; border: 2px solid var(--ink); border-radius: 99px; background: var(--danger); overflow: hidden; margin-bottom: 18px; }
.rv-meter i { display: block; height: 100%; width: 0; background: var(--goo-5); transition: width .4s ease; }
.rv-meter.is-empty { background: var(--void-3); }
html[data-motion="reduce"] .rv-meter i { transition: none; }

.rv-h2 { margin: 0 0 10px; font: 700 22px/1.2 var(--f-display, 'Gluten', sans-serif); color: var(--text-hi); }
.rv-note { margin: 0; color: var(--text-dim); }
.rv-note a { color: var(--link); }
.rv-mine { padding: 24px; margin-bottom: 40px; }
.rv-form { display: grid; gap: 26px; margin-top: 14px; }
.rv-pick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rv-pick legend { padding: 0; margin-bottom: 10px; font-weight: 600; color: var(--text); }
.rv-thumb { gap: 8px; }
.rv-thumb[data-pick="up"][aria-pressed="true"] { --k-fill: var(--goo-5); }
.rv-thumb[data-pick="down"][aria-pressed="true"] { background-color: var(--danger); color: var(--cream); }
.rv-ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.rv-ico--down { transform: rotate(180deg); }
.rv-optional { font-weight: 400; color: var(--text-dim); }
.rv-textbox { height: auto; padding: 12px 16px; }
.rv-text { min-height: 110px; resize: vertical; line-height: 1.45; font: 500 16px/1.45 var(--f-body); }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rv-error { margin: 0; color: var(--danger); font-weight: 600; }

.rv-list-head { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-bottom: 18px; }
.rv-list-head .rv-h2 { margin: 0 auto 0 0; }
.rv-chips { gap: 8px; }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rv-item {
  padding: 18px 20px; border: 3px solid var(--ink); border-radius: 18px; background: var(--void-2);
  box-shadow: 0 5px 0 var(--ink);
}
.rv-item.is-mine { background: var(--void-3); }
.rv-item__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-verdict { display: inline-flex; align-items: center; gap: 8px; font: 700 18px/1.2 var(--f-body); }
.rv-verdict.is-up { color: var(--goo-5); }
.rv-verdict.is-down { color: var(--danger); }
.rv-verdict .rv-ico { width: 24px; height: 24px; }
.rv-by { color: var(--text-dim); font-size: 14px; }
.rv-by b { color: var(--text); font-weight: 600; }
.rv-body { margin: 10px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.rv-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; color: var(--text-dim); }
.rv-vote {
  min-height: 32px; padding: 2px 12px; border: 2px solid var(--ink); border-radius: 99px; background: var(--void-4);
  color: var(--text); font: 600 14px/1 var(--f-body); cursor: pointer;
}
.rv-vote[aria-pressed="true"] { background: var(--cream); color: var(--text-ink); }
.rv-vote:disabled { opacity: .55; cursor: default; }
.rv-vote:focus-visible, .rv-remove:focus-visible { outline: 3px solid var(--ring, #fff); outline-offset: 2px; }
.rv-remove { margin-left: auto; background: none; border: 0; color: var(--danger); font: 600 14px/1 var(--f-body); cursor: pointer; text-decoration: underline; }
.rv-more { margin: 22px auto 0; display: flex; }
.rv-empty { padding: 12px 0; }

.rv-toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  margin: 0; padding: 12px 20px; border: 3px solid var(--ink); border-radius: 16px; background: var(--cream); color: var(--text-ink);
  font-weight: 600; box-shadow: 0 5px 0 var(--ink); z-index: 10; max-width: calc(100vw - 32px);
}

@media (max-width: 759.98px) {
  .rv-page { padding-left: 16px; padding-right: 16px; }
  .rv-head { gap: 16px; }
  .rv-box { width: 84px; height: 126px; }
  .rv-mine { padding: 18px 16px; }
  .rv-item { padding: 16px; }
}
@media (forced-colors: active) {
  .rv-meter, .rv-meter i { forced-color-adjust: none; }
}
/* Review versions (servers/analytics/reviews.ts): the label under each review, the earlier review, the version note. */
.rv-ver { display: block; margin-top: 6px; color: var(--text-dim); font-size: 13px; }
.rv-ver a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rv-ver.is-current { color: var(--text); }
.rv-vnote { margin: 6px 0 0; color: var(--text-dim); font-size: 14px; }
.rv-earlier { margin-top: 10px; font-size: 14px; color: var(--text-dim); }
.rv-earlier summary { cursor: pointer; width: fit-content; }
.rv-earlier .rv-body { color: var(--text-dim); }
.rv-earlier__item { margin-top: 8px; padding-left: 12px; border-left: 3px solid var(--void-3, #2a2140); }
