:root {
  --bg-header-h: 68px;
  --bg-page-w: 1120px;
  --bg-primary: #8e44ad;
  --bg-secondary: #9b59b6;
  --bg-accent: #e91e63;
  --bg-btn-fill: #c2185b;
  --bg-accent-hover: #9a1348;
  --bg-page: #12081a;
  --bg-ink: #f0eef5;
  --bg-muted: #b8b0c8;
  --bg-line: #2e1a40;
  --bg-card: #1a0f28;
  --bg-on-btn: #ffffff;
  --bg-glow: 0 0 18px rgba(233, 30, 99, 0.45), 0 0 4px rgba(142, 68, 173, 0.6);
  --bg-radius: 28px;
  --bg-font-display: "Syne", sans-serif;
  --bg-font-body: "Commissioner", sans-serif;
}

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html, body {
  overflow-x: clip;
  margin: 0;
}

html {
  scroll-padding-top: var(--bg-header-h);
}

body.bg-body {
  padding-top: var(--bg-header-h);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(142, 68, 173, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(233, 30, 99, 0.18), transparent 50%),
    linear-gradient(180deg, #160a22 0%, var(--bg-page) 40%, #0d0614 100%);
  color: var(--bg-ink);
  font: 16px/1.65 var(--bg-font-body);
  min-height: 100vh;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--bg-font-display);
  line-height: 1.15;
  margin: 0 0 0.55em;
  font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a:not(.bg-btn) { color: var(--bg-secondary); }
a:not(.bg-btn):hover { color: var(--bg-accent); }

.bg-wrap {
  width: 100%;
  max-width: var(--bg-page-w);
  margin: 0 auto;
  padding-inline: 20px;
}

.bg-section {
  padding-block: 56px;
}

.bg-section--tight {
  padding-block: 40px;
}

.bg-muted { color: var(--bg-muted); }

.bg-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-secondary);
  margin: 0 0 0.75rem;
}

.bg-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: var(--bg-radius);
  padding: 22px;
  min-width: 0;
  box-shadow: 0 0 0 1px rgba(142, 68, 173, 0.12), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.bg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 520px) {
  .bg-actions { flex-direction: column; align-items: stretch; }
  .bg-actions .bg-btn { white-space: normal; }
}

/* Header — fixed, opaque, no backdrop-filter */
.bg-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--bg-header-h);
  background: #160a22;
  border-bottom: 1px solid var(--bg-line);
  box-shadow: 0 0 24px rgba(142, 68, 173, 0.25);
}

.bg-header--row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.bg-logo {
  display: flex;
  align-items: center;
  color: var(--bg-ink);
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 1;
  min-width: 0;
}

.bg-logo svg {
  width: 190px;
  height: auto;
  display: block;
}

.bg-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.bg-header a.bg-nav--link:not(.bg-btn),
.bg-header a.bg-nav--link:not(.bg-btn):visited {
  color: var(--bg-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.bg-header a.bg-nav--link:not(.bg-btn):hover {
  color: var(--bg-accent);
}

.bg-header a.bg-nav--link.is-active {
  color: var(--bg-accent);
}

.bg-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  flex-shrink: 0;
  border: 1px solid var(--bg-line);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--bg-ink);
  cursor: pointer;
  margin-left: 4px;
}

.bg-burger span {
  display: block;
  flex: 0 0 2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.bg-header a.bg-header--cta {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  :root { --bg-header-h: 56px; }
  .bg-nav,
  .bg-header a.bg-header--cta { display: none; }
  .bg-logo svg {
    width: 120px;
    max-width: calc(100vw - 150px);
  }
  .bg-section { padding-block: 40px; }
  .bg-wrap { padding-inline: 16px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .bg-logo svg { width: 160px; }
  .bg-nav { gap: 12px; }
}

/* Buttons — Neon Glow F#9; every state sets color + background */
.bg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--bg-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.bg-btn--primary,
a.bg-btn--primary:visited,
button.bg-btn--primary {
  color: var(--bg-on-btn);
  background: var(--bg-btn-fill);
  box-shadow: var(--bg-glow);
}

a.bg-btn--primary:hover,
a.bg-btn--primary:focus-visible,
a.bg-btn--primary:active,
button.bg-btn--primary:hover,
button.bg-btn--primary:focus-visible {
  color: var(--bg-on-btn);
  background: var(--bg-accent-hover);
  box-shadow: 0 0 22px rgba(154, 19, 72, 0.55);
}

a.bg-btn--ghost,
a.bg-btn--ghost:visited,
button.bg-btn--ghost {
  color: var(--bg-ink);
  background: transparent;
  border-color: var(--bg-secondary);
}

a.bg-btn--ghost:hover,
a.bg-btn--ghost:focus-visible,
button.bg-btn--ghost:hover,
button.bg-btn--ghost:focus-visible {
  color: var(--bg-on-btn);
  background: var(--bg-primary);
  border-color: var(--bg-primary);
}

.bg-header a.bg-btn--primary,
.bg-header a.bg-btn--primary:visited {
  color: var(--bg-on-btn);
  background: var(--bg-btn-fill);
}

.bg-header a.bg-btn--primary:hover,
.bg-header a.bg-btn--primary:focus-visible {
  color: var(--bg-on-btn);
  background: var(--bg-accent-hover);
}

/* L3#5 narrow drawer — all widths */
.bg-overlay {
  display: none;
  position: fixed;
  z-index: 200;
  top: var(--bg-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 4, 14, 0.72);
}

.bg-drawer {
  display: none;
  position: fixed;
  z-index: 210;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(75vw, 320px);
  padding: 64px 0 24px;
  background: #1a0f28;
  border-left: 1px solid var(--bg-line);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.28s ease, visibility 0.28s;
  visibility: hidden;
  overflow-y: auto;
}

.bg-drawer:not([hidden]),
.bg-overlay:not([hidden]) {
  display: block;
}

body.nav-open .bg-overlay:not([hidden]) {
  display: block;
}

body.nav-open .bg-drawer:not([hidden]) {
  display: block;
  transform: translateX(0);
  visibility: visible;
}

.bg-drawer a {
  display: block;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: var(--bg-ink);
  text-decoration: none;
  font-weight: 600;
}

.bg-drawer a:visited { color: var(--bg-ink); }
.bg-drawer a:hover { color: var(--bg-accent); }

.bg-drawer--close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bg-line);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--bg-ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.bg-drawer .bg-drawer--cta {
  margin: 16px 20px;
  display: inline-flex;
  width: calc(100% - 40px);
}

@media (min-width: 769px) {
  .bg-drawer {
    top: var(--bg-header-h);
    height: calc(100dvh - var(--bg-header-h));
    width: min(22rem, 90vw);
    padding-top: 24px;
  }
  .bg-drawer--dup { display: none; }
  .bg-overlay { top: var(--bg-header-h); }
}

body.nav-open {
  overflow: hidden;
}

/* Cookie L10#4 corner bottom-right */
.bg-cookie {
  display: none;
}

.bg-cookie:not([hidden]) {
  display: grid;
  gap: 14px;
  position: fixed;
  z-index: 110;
  right: 16px;
  bottom: 16px;
  width: min(340px, calc(100vw - 32px));
  padding: 18px;
  border-radius: var(--bg-radius);
  background: #1a0f28;
  border: 1px solid var(--bg-secondary);
  box-shadow: var(--bg-glow), 0 16px 48px rgba(0, 0, 0, 0.55);
  color: var(--bg-ink);
  font-size: 0.92rem;
}

.bg-cookie a,
.bg-cookie a:visited { color: var(--bg-secondary); }
.bg-cookie a:hover { color: var(--bg-accent); }

.bg-cookie--actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bg-cookie .bg-btn { min-height: 40px; }

body.bg-cookie-open {
  padding-bottom: 180px;
}

/* Footer L4#2 */
.bg-footer {
  margin-top: 48px;
  padding-block: 48px 32px;
  background: #0a0510;
  border-top: 1px solid var(--bg-line);
  color: var(--bg-muted);
}

.bg-footer--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.bg-footer--title {
  font-size: 1rem;
  color: var(--bg-ink);
  margin-bottom: 12px;
}

.bg-footer--list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bg-footer--list li { margin-bottom: 8px; }

.bg-footer a:not(.bg-btn),
.bg-footer a:not(.bg-btn):visited {
  color: var(--bg-muted);
  text-decoration: none;
}

.bg-footer a:not(.bg-btn):hover { color: var(--bg-accent); }

.bg-footer--link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--bg-muted);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.bg-footer--link:hover { color: var(--bg-accent); }

.bg-footer--text { margin: 0 0 0.6em; font-size: 0.92rem; }
.bg-footer--copy { margin: 0; font-size: 0.85rem; color: var(--bg-muted); }

@media (max-width: 768px) {
  .bg-footer--grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Timeline L2#9 */
.bg-tl {
  position: relative;
  --bg-rail: 28px;
  --bg-gap: 32px;
}

.bg-tl::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--bg-rail) / 2);
  width: 2px;
  background: linear-gradient(180deg, var(--bg-accent), var(--bg-primary), transparent);
  box-shadow: 0 0 12px rgba(233, 30, 99, 0.4);
}

.bg-tl--node {
  position: relative;
  margin-left: calc(var(--bg-rail) + var(--bg-gap));
  padding-block: 18px;
}

.bg-tl--marker {
  position: absolute;
  top: 30px;
  left: calc(-1 * (var(--bg-rail) / 2 + var(--bg-gap)));
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: var(--bg-glow);
}

.bg-tl--card {
  padding: 26px;
}

@media (max-width: 768px) {
  .bg-tl { --bg-rail: 20px; --bg-gap: 18px; }
  .bg-tl--marker { width: 22px; height: 22px; top: 32px; font-size: 0.65rem; }
  .bg-tl--card { padding: 18px; }
}

/* Hero numbers L7#6 */
.bg-hero {
  position: relative;
  padding-block: 64px 48px;
  background:
    linear-gradient(120deg, rgba(18, 8, 26, 0.55), rgba(18, 8, 26, 0.88)),
    url("/images/games/hero-still.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--bg-line);
}

.bg-hero--grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.85fr);
  gap: 36px;
  align-items: center;
}

.bg-hero--figs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 24px 0;
}

.bg-hero--figs div { min-width: 0; }
.bg-hero--figs dt {
  color: var(--bg-muted);
  font-size: 0.85rem;
  margin: 0 0 4px;
}
.bg-hero--figs dd {
  margin: 0;
  font-family: var(--bg-font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--bg-ink);
  text-shadow: 0 0 20px rgba(233, 30, 99, 0.35);
}

.bg-hero--still {
  width: 100%;
  border-radius: var(--bg-radius);
  border: 1px solid var(--bg-line);
  box-shadow: var(--bg-glow);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
  .bg-hero--grid { grid-template-columns: minmax(0, 1fr); }
  .bg-hero { padding-block: 40px; }
}

/* Arcade cabinets G1#4 */
.bg-cabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.bg-cab {
  background: linear-gradient(180deg, #2a1540 0%, #1a0f28 55%, #12081a 100%);
  border: 2px solid #3d2460;
  border-radius: 28px 28px 14px 14px;
  padding: 14px;
  display: grid;
  gap: 12px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  transform: perspective(800px) rotateX(0) rotateY(0);
  box-shadow: 0 0 20px rgba(142, 68, 173, 0.25);
}

.bg-cab:hover {
  transform: perspective(800px) rotateX(2deg) rotateY(-3deg) translateY(-4px);
  box-shadow: var(--bg-glow);
}

.bg-cab--marquee {
  background: linear-gradient(90deg, var(--bg-accent), var(--bg-primary));
  color: #fff;
  font-family: var(--bg-font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 12px;
  padding: 8px 10px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.bg-cab--screen {
  background: #000;
  border-radius: 14px;
  padding: 8px;
  border: 1px solid #3d2460;
}

.bg-cab--screen img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.bg-cab--meta {
  font-size: 0.88rem;
  color: var(--bg-muted);
  margin: 0;
}

.bg-cab--rank {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(233, 30, 99, 0.2);
  color: var(--bg-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bg-genre {
  margin-bottom: 28px;
}

.bg-genre:last-child { margin-bottom: 0; }

.bg-genre--title {
  margin-bottom: 8px;
}

/* Category winners B17 */
.bg-winners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.bg-winner {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: var(--bg-radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.bg-winner:hover {
  transform: perspective(600px) rotateY(-2deg) translateY(-2px);
  box-shadow: var(--bg-glow);
  color: inherit;
}

.bg-winner img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex-shrink: 0;
}

.bg-winner--label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg-secondary);
  margin: 0 0 4px;
}

.bg-winner h3 { margin: 0; font-size: 1.05rem; }

/* Controls card GB5 */
.bg-keys {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.bg-key {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(142, 68, 173, 0.12);
  border-radius: 18px;
  border: 1px solid var(--bg-line);
}

.bg-key svg {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.bg-key h3 { margin: 0 0 4px; font-size: 1rem; }
.bg-key p { margin: 0; font-size: 0.9rem; color: var(--bg-muted); }

/* FAQ accordion */
.bg-faq--item {
  border-bottom: 1px solid var(--bg-line);
}

.bg-faq--item:first-child {
  border-top: 1px solid var(--bg-line);
}

.bg-faq--q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 4px;
  background: none;
  border: 0;
  color: var(--bg-ink);
  font-family: var(--bg-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.bg-faq--q::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--bg-accent);
  flex-shrink: 0;
}

.bg-faq--item.is-open .bg-faq--q::after { content: "–"; }

.bg-faq--a {
  padding: 0 4px 16px;
  color: var(--bg-muted);
}

.bg-faq--a[hidden] { display: none !important; }

/* Notes preview */
.bg-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.bg-note {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.bg-note:hover {
  transform: perspective(700px) rotateX(1.5deg) translateY(-3px);
  color: inherit;
}

.bg-note--band {
  height: 72px;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-accent));
}

.bg-note--band__alt {
  background: linear-gradient(135deg, #5b2c8a, var(--bg-secondary));
}

.bg-note--band__chk {
  background: linear-gradient(135deg, var(--bg-accent), #8e44ad);
}

.bg-note--band__gl {
  background: linear-gradient(135deg, #6c3483, #e91e63);
}

.bg-note--body { padding: 18px; }
.bg-note h3 { margin: 0 0 8px; }
.bg-note p { margin: 0; font-size: 0.92rem; color: var(--bg-muted); }

/* CTA band */
.bg-cta {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(233, 30, 99, 0.25), transparent 55%),
    radial-gradient(ellipse at 80% 40%, rgba(142, 68, 173, 0.3), transparent 50%),
    var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: var(--bg-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--bg-glow);
}

.bg-cta .bg-actions { justify-content: center; }

/* Play page G2#2 */
.bg-play--frame {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--bg-radius);
  border: 2px solid var(--bg-primary);
  box-shadow: var(--bg-glow);
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
  max-height: min(78vh, 920px);
}

.bg-play--frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  max-width: none;
}

.bg-play--bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bg-play--rules {
  margin-top: 28px;
}

/* Breadcrumbs */
.bg-crumbs {
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.bg-crumbs--list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--bg-muted);
}

.bg-crumbs--item:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--bg-line);
}

.bg-crumbs a { color: var(--bg-secondary); text-decoration: none; }
.bg-crumbs a:hover { color: var(--bg-accent); }

/* Articles / prose */
.bg-prose {
  max-width: 720px;
}

.bg-prose .bg-related {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-line);
  font-size: 0.95rem;
  color: var(--bg-muted);
}

.bg-myth {
  margin: 0 0 8px;
  color: var(--bg-accent);
  font-weight: 700;
}

.bg-fact {
  margin: 0 0 20px;
  color: var(--bg-muted);
}

.bg-check {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}

.bg-check li {
  position: relative;
  padding: 8px 0 8px 36px;
  border-bottom: 1px solid var(--bg-line);
}

.bg-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--bg-accent);
  box-shadow: 0 0 8px rgba(233, 30, 99, 0.35);
  background:
    linear-gradient(135deg, transparent 45%, var(--bg-accent) 45%, var(--bg-accent) 55%, transparent 55%) center / 10px 10px no-repeat;
}

.bg-glossary dt {
  font-family: var(--bg-font-display);
  font-weight: 700;
  margin-top: 14px;
  color: var(--bg-ink);
}

.bg-glossary dd {
  margin: 4px 0 0;
  color: var(--bg-muted);
}

.bg-pins {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.bg-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bg-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-line);
}

.bg-list a { text-decoration: none; font-weight: 600; }

.bg-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.bg-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.bg-form input,
.bg-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--bg-line);
  background: #12081a;
  color: var(--bg-ink);
  font: inherit;
}

.bg-form input:focus,
.bg-form textarea:focus {
  outline: 2px solid var(--bg-accent);
  border-color: var(--bg-accent);
}

.bg-form--note {
  font-size: 0.88rem;
  color: var(--bg-muted);
}

.bg-form--ok[hidden] { display: none !important; }

.bg-record {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.bg-record img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.bg-record--score {
  font-family: var(--bg-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
}

.bg-visual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.bg-visual img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--bg-line);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.bg-about--tl .bg-tl--node { padding-block: 12px; }

@media (prefers-reduced-motion: reduce) {
  .bg-cab,
  .bg-cab:hover,
  .bg-winner,
  .bg-winner:hover,
  .bg-note,
  .bg-note:hover,
  .bg-btn,
  .bg-drawer {
    transition: none !important;
    transform: none !important;
  }
}
