:root {
  --bg: #050605;
  --bg-elevated: #0c0f0b;
  --bg-card: #10150f;
  --ink: #f3f6ee;
  --muted: #8f9786;
  --line: rgba(182, 214, 58, 0.14);
  --line-soft: rgba(243, 246, 238, 0.08);
  --accent: #b6d63a;
  --accent-strong: #9fc428;
  --accent-ink: #10150a;
  --accent-soft: rgba(182, 214, 58, 0.14);
  --font-display: "Onest", "Outfit", sans-serif;
  --font-body: "Outfit", "Onest", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(182, 214, 58, 0.16), transparent 55%),
    radial-gradient(700px 420px at 0% 18%, rgba(182, 214, 58, 0.06), transparent 50%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 6, 5, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.brand:hover { color: var(--accent); }
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(182, 214, 58, 0.35);
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-auth {
  position: relative;
  z-index: 1;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  min-width: 4.5rem;
  justify-content: flex-end;
}

.nav-admin {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(182, 214, 58, 0.35);
  border-radius: 999px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-admin:hover {
  background: rgba(182, 214, 58, 0.12);
  border-color: var(--accent);
}

.nav-dev {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(182, 214, 58, 0.4);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-dev:hover {
  background: rgba(182, 214, 58, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover {
  color: var(--accent-ink);
  filter: brightness(1.06);
}

.nav-toggle {
  position: relative;
  z-index: 1;
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.inline { display: inline; margin: 0; }
.linkish {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  cursor: pointer;
}
.linkish:hover { color: var(--accent); }

main { min-height: calc(100vh - var(--header-h) - 160px); }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 2rem 0 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(182, 214, 58, 0.14), transparent 62%),
    radial-gradient(circle at 50% 100%, rgba(182, 214, 58, 0.06), transparent 45%),
    linear-gradient(180deg, #070a06 0%, #050605 100%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.03);
  animation: hero-zoom 18s var(--ease) infinite alternate;
  filter: saturate(1.05) contrast(1.08) brightness(0.72);
  opacity: 0.92;
}

.hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 64px,
      rgba(182, 214, 58, 0.035) 64px,
      rgba(182, 214, 58, 0.035) 65px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 64px,
      rgba(255, 255, 255, 0.02) 64px,
      rgba(255, 255, 255, 0.02) 65px
    );
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 38%, rgba(5, 6, 5, 0.28) 0%, rgba(5, 6, 5, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 6, 5, 0.45) 0%, rgba(5, 6, 5, 0.2) 35%, rgba(5, 6, 5, 0.78) 72%, rgba(5, 6, 5, 0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(44rem, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(182, 214, 58, 0.35);
  border-radius: 999px;
  background: rgba(182, 214, 58, 0.1);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  display: grid;
  gap: 0.15rem;
}

.hero-title-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ink);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.65);
}

.hero-title-accent {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(182, 214, 58, 0.35), 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: rgba(243, 246, 238, 0.88);
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  line-height: 1.55;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.hero .cta-row {
  justify-content: center;
  margin-top: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover {
  color: var(--accent-ink);
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(243, 246, 238, 0.22);
  color: var(--ink);
  border-radius: 999px;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  filter: none;
}
.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--ink);
}
.btn-outline:hover {
  background: rgba(182, 214, 58, 0.12);
  color: var(--accent);
  filter: none;
}

.hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.25rem;
  width: min(var(--max), 100%);
  margin: auto 0 1.25rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(243, 246, 238, 0.78);
  font-size: 0.9rem;
}
.hero-meta-item svg { color: var(--accent); flex: 0 0 auto; }
.hero-meta-item a { color: inherit; }
.hero-meta-item a:hover { color: var(--accent); }

.hero-status {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.hero-status-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-status-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(182, 214, 58, 0.55);
}
.hero-status-item .label { color: var(--muted); }
.hero-status-item strong {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 10, 7, 0.95);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding: 0.7rem 0;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.marquee-track span::after {
  content: "·";
  margin-left: 2.5rem;
  color: rgba(182, 214, 58, 0.45);
}

.section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2rem);
}

.page-hero {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1rem, 4vw, 2rem) 0;
}

.page-hero h1,
.section-head h2,
.cta-band h2,
.auth-panel h1,
.club-detail-content h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.page-hero h1 { font-size: clamp(2.4rem, 7vw, 3.8rem); }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
.page-hero p,
.section-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}
.section-head { margin-bottom: 2rem; }

/* Club cards — Gamespot-like */
.club-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.club-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(182, 214, 58, 0.06), transparent 42%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 10px
    ),
    var(--bg-card);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.club-card:hover {
  color: inherit;
  border-color: rgba(182, 214, 58, 0.45);
  transform: translateY(-3px);
}
.club-card.is-disabled { opacity: 0.72; }

.club-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0d09;
}
.club-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 0.55s var(--ease), filter 0.4s var(--ease);
}
.club-card:hover .club-card-media img {
  transform: scale(1.1);
  filter: saturate(1.08) brightness(1.05);
}
.club-card-media-fade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 7, 0.92));
  pointer-events: none;
}

.club-card-top,
.club-card .spec-grid,
.club-card-foot {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.club-card-top { padding-top: 0.15rem; }
.club-card-foot {
  padding-bottom: 1.25rem;
  margin-top: auto;
}

.club-card-top h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.club-card-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.club-card-meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.club-card-meta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--accent);
  opacity: 0.9;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.spec {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.spec-wide { grid-column: 1 / -1; }
.spec span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spec strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.btn-card {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  background: #fff;
  border-color: #fff;
  color: #111;
  font-size: 0.92rem;
}
.club-card:hover .btn-card {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn-card.is-off {
  background: #2a2f28;
  border-color: #2a2f28;
  color: var(--muted);
  cursor: not-allowed;
}

.features-section {
  position: relative;
  isolation: isolate;
}
.features-bg {
  position: absolute;
  inset: -1rem -2rem auto;
  height: 260px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.features-orb {
  position: absolute;
  left: 8%;
  top: -10%;
  width: min(380px, 70vw);
  height: min(380px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.14), transparent 68%);
  filter: blur(12px);
}
.features-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(182, 214, 58, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 214, 58, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.features-section .section-head,
.features-section .feature-list {
  position: relative;
  z-index: 1;
}
.features-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-family: var(--font-mono, var(--font-display));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.feature-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.95rem;
  row-gap: 0.85rem;
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(182, 214, 58, 0.08), transparent 45%),
    rgba(10, 13, 9, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.feature-tile.reveal {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.35s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.feature-tile::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.12), transparent 70%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.35s var(--ease);
}
.feature-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(182, 214, 58, 0.42);
  box-shadow:
    0 0 0 1px rgba(182, 214, 58, 0.08),
    0 22px 48px rgba(0, 0, 0, 0.38);
}
.feature-tile:hover::before {
  opacity: 1;
}
.feature-num {
  grid-column: 1 / -1;
  font-family: var(--font-mono, var(--font-display));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 14px;
  border: 1px solid rgba(182, 214, 58, 0.28);
  background: rgba(182, 214, 58, 0.1);
  color: var(--accent);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature-tile:hover .feature-icon {
  background: rgba(182, 214, 58, 0.18);
  transform: scale(1.05);
}
.feature-copy {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding-top: 0.15rem;
}
.feature-copy strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.feature-copy span {
  color: rgba(243, 246, 238, 0.58);
  font-size: 0.95rem;
  line-height: 1.5;
}
@media (prefers-reduced-motion: reduce) {
  .feature-tile:hover {
    transform: none;
  }
}

.cta-band {
  width: min(var(--max), 100%);
  margin: 0 auto 3rem;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3rem); }
.cta-band p { margin: 0.5rem 0 0; color: var(--muted); max-width: 28rem; }

.club-detail-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.club-detail-media { position: absolute; inset: 0; }
.club-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.club-detail-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
}
.club-detail-content h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  margin-bottom: 0.75rem;
}
.detail-specs {
  margin-top: 1.25rem;
  max-width: 520px;
}
.meta { color: var(--muted); }
.meta p { margin: 0.2rem 0; }
.meta a { text-decoration: underline; text-underline-offset: 3px; }

.club-halls-section .section-head {
  text-align: left;
}
.halls {
  display: grid;
  gap: 1.1rem;
}
.hall {
  --hall-accent: var(--accent);
}
.hall[data-hall-tone="vip"] { --hall-accent: #e8c45a; }
.hall[data-hall-tone="boot"] { --hall-accent: #7ad0ff; }
.hall[data-hall-tone="comfort"] { --hall-accent: var(--accent); }
.hall.reveal { transition-delay: calc(var(--i, 0) * 70ms); }
.hall-panel {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.3rem 1.15rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--hall-accent) 28%, rgba(255, 255, 255, 0.1));
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--hall-accent) 14%, transparent), transparent 48%),
    rgba(10, 12, 9, 0.92);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hall:hover .hall-panel {
  border-color: color-mix(in srgb, var(--hall-accent) 62%, white 8%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--hall-accent) 18%, transparent),
    0 18px 40px rgba(0, 0, 0, 0.35);
}
.hall-glow {
  position: absolute;
  top: -40%;
  right: -8%;
  width: 55%;
  height: 90%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--hall-accent) 28%, transparent), transparent 70%);
  opacity: 0.45;
}
.hall-head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.hall-mark {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 0.55rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--hall-accent) 42%, transparent);
  background: color-mix(in srgb, var(--hall-accent) 14%, rgba(0, 0, 0, 0.28));
  color: var(--hall-accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hall-head-text {
  flex: 1;
  min-width: 0;
}
.hall-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.3rem;
}
.hall h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hall-count {
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--hall-accent) 75%, white 10%);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hall-desc {
  margin: 0;
  color: rgba(243, 246, 238, 0.58);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 42rem;
}
.pcs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(2.85rem, 1fr));
  gap: 0.4rem;
}
.pc {
  display: grid;
  place-items: center;
  min-height: 2.55rem;
  padding: 0.35rem 0.2rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--hall-accent) 18%, rgba(255, 255, 255, 0.1));
  background: rgba(0, 0, 0, 0.28);
  color: rgba(243, 246, 238, 0.88);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.hall:hover .pc {
  border-color: color-mix(in srgb, var(--hall-accent) 32%, rgba(255, 255, 255, 0.12));
}
.pc:hover {
  border-color: color-mix(in srgb, var(--hall-accent) 70%, white 10%);
  background: color-mix(in srgb, var(--hall-accent) 16%, rgba(0, 0, 0, 0.35));
  color: #fff;
}
.hall-empty {
  color: var(--muted);
  font-size: 0.88rem;
  grid-column: 1 / -1;
}
.hall-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--hall-accent) 18%, rgba(255, 255, 255, 0.08));
}
.hall-book {
  color: var(--hall-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.hall-book:hover {
  opacity: 0.85;
  transform: translateX(2px);
}

.auth-panel {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1rem, 4vw, 2rem);
}
.auth-panel h1 { font-size: 2.5rem; margin-bottom: 0.4rem; }
.auth-switch {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.auth-switch a {
  color: var(--accent);
  font-weight: 600;
}
.field-error {
  margin: 0.35rem 0 0;
  color: #ff7b7b;
  font-size: 0.85rem;
}

label {
  display: block;
  margin: 1rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}
input[type="text"],
input[type="password"],
input[type="date"],
input[type="time"],
select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-soft);
  background: var(--bg-elevated);
  color: var(--ink);
  font: inherit;
  border-radius: 8px;
}
input:focus {
  outline: none;
  border-color: var(--accent);
}
.form-actions { margin-top: 1.4rem; }

.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table th,
.table td {
  text-align: left;
  padding: 0.85rem 0.45rem;
  border-bottom: 1px solid var(--line-soft);
}
.table th { color: var(--muted); font-weight: 500; }

.empty { color: var(--muted); }
.messages {
  width: min(var(--max), 100%);
  margin: 0.75rem auto 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.message {
  margin: 0.35rem 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-soft);
  background: var(--bg-elevated);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2rem) 1.5rem;
  background: #050605;
}
.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
.footer-brand {
  margin-bottom: 0.85rem;
}
.footer-about {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 26rem;
}
.footer-legal-mini {
  margin: 0 0 1rem;
  color: #5f6559;
  font-size: 0.8rem;
  line-height: 1.45;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-soft);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.footer-col h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col ul,
.footer-col ol {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-col li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.footer-col a,
.footer-contacts span {
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--accent); }
.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.footer-contacts svg {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--accent);
  opacity: 1;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-soft);
}
.footer-bottom p {
  margin: 0;
  color: #5f6559;
  font-size: 0.8rem;
}

.games-section {
  position: relative;
}
.games-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(720px, 90vw);
  height: 220px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.1), transparent 70%);
  filter: blur(8px);
}
.games-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  position: relative;
}
.game-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0d09;
  aspect-ratio: 2 / 3;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.game-card-btn {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}
.game-card.reveal {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.45s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.game-card:hover,
.game-card:focus-within {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(182, 214, 58, 0.45);
  box-shadow:
    0 0 0 1px rgba(182, 214, 58, 0.12),
    0 22px 48px rgba(0, 0, 0, 0.42);
}
.game-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.12);
  transform-origin: center center;
  animation: game-kenburns 14s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -1.1s);
  transition: filter 0.4s var(--ease);
}
.game-card:hover .game-card-img,
.game-card:focus-within .game-card-img {
  animation-duration: 7s;
  filter: saturate(1.08) brightness(1.05);
}
.game-card-shine {
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.16) 48%,
    transparent 62%
  );
  transform: translateX(-30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.game-card:hover .game-card-shine,
.game-card:focus-within .game-card-shine {
  opacity: 1;
  animation: game-shine 1.1s var(--ease) both;
}
.game-card-meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 3.2rem 0.95rem 0.95rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(5, 6, 5, 0.55) 35%,
    rgba(5, 6, 5, 0.94) 100%
  );
}
.game-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.98rem, 1.4vw, 1.18rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.game-genre {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.game-card-hint {
  margin-top: 0.35rem;
  color: rgba(243, 246, 238, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.game-card:hover .game-card-hint,
.game-card:focus-within .game-card-hint {
  color: var(--accent);
}

.game-dialog {
  width: min(920px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #0a0d09;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.game-dialog::backdrop {
  background: rgba(3, 4, 3, 0.72);
  backdrop-filter: blur(8px);
}
.game-dialog-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.2fr;
  gap: 0;
  max-height: calc(100vh - 2rem);
  overflow: auto;
}
.game-dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 10, 7, 0.75);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.game-dialog-close:hover {
  border-color: rgba(182, 214, 58, 0.45);
  color: var(--accent);
}
.game-dialog-media {
  min-height: 280px;
  background: #050605;
}
.game-dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-dialog-body {
  padding: 1.5rem 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.game-dialog-genre {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.game-dialog-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.game-dialog-about {
  margin: 0;
  color: rgba(243, 246, 238, 0.72);
  line-height: 1.55;
}
.game-dialog-facts {
  margin: 0.25rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.game-dialog-facts > div {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.game-dialog-fact-wide {
  grid-column: 1 / -1;
}
.game-dialog-facts dt {
  margin: 0 0 0.2rem;
  color: rgba(243, 246, 238, 0.45);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.game-dialog-facts dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.game-dialog-facts dd.is-free {
  color: var(--accent);
}
.game-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.game-dialog-note {
  margin: 0;
  color: rgba(243, 246, 238, 0.42);
  font-size: 0.82rem;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .game-dialog-panel {
    grid-template-columns: 1fr;
  }
  .game-dialog-media {
    max-height: 220px;
  }
}

/* Club promo — CS2 knife contest (guests) */
.club-promo-dialog {
  width: min(440px, calc(100vw - 1.5rem));
  margin: auto;
  padding: 0;
  border: 1px solid rgba(182, 214, 58, 0.22);
  border-radius: 18px;
  background: #0a0c09;
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(182, 214, 58, 0.08);
  overflow: hidden;
}
.club-promo-dialog::backdrop {
  background: rgba(3, 4, 3, 0.72);
  backdrop-filter: blur(8px);
}
.club-promo-panel {
  position: relative;
  overflow: hidden;
}
.club-promo-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(182, 214, 58, 0.15) 15%,
    var(--accent) 50%,
    rgba(182, 214, 58, 0.15) 85%,
    transparent
  );
  pointer-events: none;
}
.club-promo-panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.14), transparent 68%);
  pointer-events: none;
}
.club-promo-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(8, 10, 7, 0.65);
  color: rgba(243, 246, 238, 0.7);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.club-promo-close:hover {
  border-color: rgba(182, 214, 58, 0.45);
  color: var(--accent);
  background: rgba(12, 14, 10, 0.9);
}
.club-promo-body {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.25rem 1.2rem;
  display: grid;
  gap: 0.55rem;
}
.club-promo-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.club-promo-body h2 {
  margin: 0;
  padding-right: 1.75rem;
  font-size: clamp(1.25rem, 4.5vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.club-promo-lead {
  margin: 0;
  color: rgba(243, 246, 238, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
}
.club-promo-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.club-promo-cta {
  flex: 1;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  box-shadow: 0 8px 22px rgba(182, 214, 58, 0.18);
}
.club-promo-skip {
  border: none;
  background: none;
  padding: 0.35rem 0.15rem;
  color: rgba(243, 246, 238, 0.45);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s;
}
.club-promo-skip:hover {
  color: rgba(243, 246, 238, 0.78);
}
@media (max-width: 480px) {
  .club-promo-body {
    padding: 1.15rem 1rem 1rem;
  }
  .club-promo-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }
  .club-promo-skip {
    text-align: center;
    padding: 0.25rem;
  }
}

@keyframes game-kenburns {
  from {
    transform: scale(1.1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.22) translate3d(-2.5%, -1.5%, 0);
  }
}
@keyframes game-shine {
  from { transform: translateX(-40%); }
  to { transform: translateX(40%); }
}
@media (prefers-reduced-motion: reduce) {
  .game-card-img,
  .game-card:hover .game-card-img,
  .game-card:focus-within .game-card-img,
  .game-card:hover .game-card-shine,
  .game-card:focus-within .game-card-shine {
    animation: none;
  }
  .game-card:hover,
  .game-card:focus-within {
    transform: none;
  }
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.faq-item {
  border-bottom: 1px solid var(--line-soft);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0 0 1.2rem;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-status {
    gap: 1.25rem;
  }
  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .game-card {
    border-radius: 14px;
  }
  .game-card-meta {
    padding: 2.6rem 0.8rem 0.8rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.club-card.reveal { transition-delay: calc(var(--i, 0) * 45ms); }
.book-club.reveal {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.book-club.reveal.is-in {
  transition-delay: 0s;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes hero-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes hero-sweep {
  from { transform: skewX(-18deg) translateX(-8%); }
  to { transform: skewX(-18deg) translateX(10%); }
}

@keyframes watermark-in {
  from { opacity: 0; transform: rotate(-8deg) translateY(24px); }
  to { opacity: 1; transform: rotate(-8deg); }
}

@keyframes logo-in {
  from { opacity: 0; transform: scale(0.88) translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .club-grid { grid-template-columns: 1fr; }
  .hero-watermark {
    right: -8%;
    bottom: 4%;
    opacity: 0.7;
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 0.85rem;
    font-size: 0.8rem;
  }
  .nav-dev {
    padding: 0.35rem 0.6rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .header-auth {
    margin-left: 0.65rem;
    gap: 0.45rem;
  }
  .nav-admin {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
    max-width: 6.5rem;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    transform: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem clamp(1rem, 4vw, 2rem) 1.5rem;
    background: rgba(5, 6, 5, 0.96);
    border-bottom: 1px solid var(--line-soft);
    white-space: normal;
  }
  .nav.is-open { display: flex; }
  .nav-dev {
    margin-top: 0.25rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track,
  .hero-img,
  .hero-logo,
  .hero-fx::after,
  .hero-watermark,
  .case-box.is-open .case-box-lid { animation: none; }
}

/* ===== Cases ===== */
.cases-page {
  position: relative;
  isolation: isolate;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2rem) 3rem;
}
.cases-page-bg {
  position: absolute;
  inset: 0 -2rem auto;
  height: 320px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.cases-orb {
  position: absolute;
  left: 50%;
  top: -10%;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.18), transparent 68%);
  filter: blur(14px);
}
.cases-grid-fx {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(182, 214, 58, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 214, 58, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.cases-hero,
.case-grid,
.cases-history {
  position: relative;
  z-index: 1;
}
.cases-hero {
  margin: 0 auto 2rem;
  max-width: 40rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cases-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cases-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.05;
}
.cases-lead {
  margin: 0.85rem 0 0;
  color: rgba(243, 246, 238, 0.62);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.35rem;
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(182, 214, 58, 0.28);
  background:
    linear-gradient(135deg, rgba(182, 214, 58, 0.14), transparent 55%),
    rgba(16, 20, 14, 0.95);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  text-align: left;
}
.hours-badge-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(182, 214, 58, 0.14);
  color: var(--accent);
}
.hours-badge span {
  display: block;
  color: rgba(243, 246, 238, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hours-badge strong {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 1.1rem;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}

.case-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(182, 214, 58, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(182, 214, 58, 0.12), transparent 40%),
    linear-gradient(180deg, #141910 0%, #0c100b 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 18px 42px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.case-card.reveal {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.35s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(182, 214, 58, 0.5);
  box-shadow:
    0 0 0 1px rgba(182, 214, 58, 0.1),
    0 24px 50px rgba(0, 0, 0, 0.42);
}
.case-card.is-ready {
  border-color: rgba(182, 214, 58, 0.38);
}
.case-card.is-locked {
  opacity: 0.92;
}
.case-card.is-locked .case-box {
  filter: grayscale(0.15) brightness(0.92);
}

.case-card-visual {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.7rem;
  padding: 0.35rem 0;
  background: transparent;
  border: 0;
  min-height: 0;
}
.case-ready-pill {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(182, 214, 58, 0.16);
  border: 1px solid rgba(182, 214, 58, 0.4);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-soon-pill {
  background: rgba(243, 246, 238, 0.06);
  border-color: rgba(243, 246, 238, 0.18);
  color: rgba(243, 246, 238, 0.62);
}

.case-box {
  position: relative;
  width: 110px;
  height: 96px;
  perspective: 400px;
}
.case-box-lg {
  width: 150px;
  height: 130px;
  margin: 0 auto 1.25rem;
}
.case-box-lid,
.case-box-body {
  position: absolute;
  left: 0;
  right: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(182, 214, 58, 0.45);
}
.case-box-lid {
  top: 0;
  height: 34%;
  background: linear-gradient(180deg, #d4ef5a, var(--accent));
  border-bottom: 0;
  transform-origin: top center;
  box-shadow: 0 0 18px rgba(182, 214, 58, 0.25);
}
.case-box-body {
  top: 30%;
  bottom: 0;
  background: linear-gradient(180deg, #1a2214, #0d120a);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.case-box-lg .case-box-body { font-size: 1.8rem; }
.case-box.is-open .case-box-lid {
  animation: lid-open 0.7s var(--ease) forwards;
}
.case-card .case-box-glow {
  opacity: 0.55;
}

.case-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.case-card-body h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.case-card-body p {
  margin: 0;
  color: rgba(243, 246, 238, 0.58);
  font-size: 0.94rem;
  line-height: 1.5;
}

.case-progress { margin: 1.05rem 0 1.15rem; }
.case-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.case-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(182, 214, 58, 0.35);
}
.case-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  color: rgba(243, 246, 238, 0.5);
  font-size: 0.84rem;
}
.case-progress-meta .ok { color: var(--accent); }
.case-card-actions {
  margin-top: auto;
  flex-wrap: wrap;
}
.case-card-actions .btn,
.case-card-actions .btn-outline {
  min-height: 2.6rem;
}

.cases-history {
  margin: 2.75rem auto 0;
  max-width: 920px;
}
.cases-history .section-head {
  margin-bottom: 1.15rem;
  text-align: center;
}
.cases-history .section-head h2 {
  margin: 0;
}
.cases-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.cases-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 13, 9, 0.82);
  transition: border-color 0.25s var(--ease);
}
.cases-history-item:hover {
  border-color: rgba(182, 214, 58, 0.28);
}
.cases-history-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  min-width: 0;
}
.cases-history-main strong {
  font-family: var(--font-display);
  font-weight: 700;
}
.cases-history-case {
  color: rgba(243, 246, 238, 0.45);
  font-size: 0.88rem;
}
.cases-history-side {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
  text-align: right;
  font-size: 0.9rem;
}
.cases-history-side time {
  color: rgba(243, 246, 238, 0.4);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}
.cases-history-side code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
}
.cases-history-side .ok {
  color: var(--accent);
  font-weight: 700;
}

.case-detail-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 2rem;
  align-items: start;
}
.case-open-panel {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(182, 214, 58, 0.08), transparent 45%),
    rgba(10, 13, 9, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}
.section-title-sm {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.drop-table {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}
.drop-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.drop-table strong {
  display: inline-block;
  margin-left: 0.55rem;
}
.drop-chance {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-weight: 600;
}

.rarity {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border: 1px solid currentColor;
  border-radius: 6px;
}
.rarity-common { color: #b8b8b8; }
.rarity-uncommon { color: #5dce7a; }
.rarity-rare { color: #4ea1ff; }
.rarity-epic { color: #c07bff; }
.rarity-legendary { color: #ffc53d; }
.rarity-unique { color: #ff6b9d; }

.promo-code {
  margin: 1.25rem auto;
  padding: 1rem 1.25rem;
  max-width: 360px;
  border: 1px dashed rgba(182, 214, 58, 0.55);
  background: rgba(182, 214, 58, 0.08);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  user-select: all;
  font-variant-numeric: tabular-nums;
}

.case-box-xl {
  width: 200px;
  height: 172px;
  margin: 0 auto;
}
.case-box-xl .case-box-body { font-size: 2.25rem; }
.case-box-glow {
  position: absolute;
  inset: 18% 8% 8%;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.4), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.case-box-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  opacity: 0;
}
.open-stage.phase-charge .case-box-shine {
  opacity: 1;
  animation: case-shine 0.85s var(--ease) forwards;
}
.case-box.is-shake {
  animation: case-shake 0.4s ease-in-out infinite;
}
.case-box.is-open .case-box-glow {
  opacity: 1;
  animation: glow-pulse 1.2s var(--ease) infinite alternate;
}

/* ===== Case opening stage ===== */
.open-stage {
  --open-accent: var(--accent);
  position: relative;
  min-height: calc(100vh - var(--header-h) - 80px);
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(0.75rem, 3vw, 1.5rem) 2.5rem;
  text-align: center;
  overflow: hidden;
}
.open-stage[data-rarity="rare"] { --open-accent: #4ea1ff; }
.open-stage[data-rarity="epic"] { --open-accent: #c07bff; }
.open-stage[data-rarity="legendary"] { --open-accent: #ffc53d; }
.open-stage[data-rarity="unique"] { --open-accent: #ff6b9d; }

.open-arena {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 42%, rgba(182, 214, 58, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(0, 0, 0, 0.55), transparent);
}
.open-stage[data-rarity="rare"] .open-arena {
  background:
    radial-gradient(ellipse 70% 45% at 50% 42%, rgba(78, 161, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(0, 0, 0, 0.55), transparent);
}
.open-stage[data-rarity="epic"] .open-arena {
  background:
    radial-gradient(ellipse 70% 45% at 50% 42%, rgba(192, 123, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(0, 0, 0, 0.55), transparent);
}
.open-stage[data-rarity="legendary"] .open-arena {
  background:
    radial-gradient(ellipse 70% 45% at 50% 42%, rgba(255, 197, 61, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(0, 0, 0, 0.55), transparent);
}
.open-stage[data-rarity="unique"] .open-arena {
  background:
    radial-gradient(ellipse 70% 45% at 50% 42%, rgba(255, 107, 157, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(0, 0, 0, 0.55), transparent);
}
.open-arena-glow {
  position: absolute;
  left: 50%;
  top: 36%;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--open-accent) 28%, transparent), transparent 68%);
  opacity: 0.45;
  filter: blur(8px);
  transition: opacity 0.5s var(--ease);
}
.open-stage.phase-charge .open-arena-glow,
.open-stage.phase-shake .open-arena-glow {
  opacity: 0.85;
  animation: arena-pulse 1s ease-in-out infinite alternate;
}
.open-stage.phase-open .open-arena-glow,
.open-stage.phase-reveal .open-arena-glow {
  opacity: 1;
}
.open-arena-ring,
.open-arena-ring-2 {
  position: absolute;
  left: 50%;
  top: 36%;
  width: min(280px, 55vw);
  height: min(280px, 55vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--open-accent) 35%, transparent);
  opacity: 0;
}
.open-stage.phase-charge .open-arena-ring,
.open-stage.phase-shake .open-arena-ring {
  opacity: 1;
  animation: ring-expand 1.4s var(--ease) infinite;
}
.open-stage.phase-charge .open-arena-ring-2,
.open-stage.phase-shake .open-arena-ring-2 {
  opacity: 1;
  animation: ring-expand 1.4s var(--ease) 0.45s infinite;
}
.open-arena-beam {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 42%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--open-accent) 55%, transparent));
  opacity: 0;
}
.open-stage.phase-charge .open-arena-beam,
.open-stage.phase-shake .open-arena-beam,
.open-stage.phase-open .open-arena-beam {
  opacity: 1;
}

.open-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.open-burst {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--open-accent) 70%, white), transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
}
.open-stage.phase-open .open-burst {
  animation: burst-out 0.95s var(--ease) forwards;
}
.open-stage.phase-open .open-burst-2 {
  animation-delay: 0.08s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
}
.open-particles {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 0;
  height: 0;
}
.open-particle {
  position: absolute;
  width: var(--size, 6px);
  height: var(--size, 6px);
  border-radius: 1px;
  background: var(--open-accent);
  opacity: 0;
  transform: translate(-50%, -50%);
}
.open-stage.phase-open .open-particle {
  animation: particle-fly 1.05s var(--ease) var(--delay, 0ms) forwards;
}

.open-top,
.open-case-wrap,
.open-roulette,
.open-prize,
.open-actions,
.open-live {
  position: relative;
  z-index: 1;
}

.open-top {
  margin-bottom: 1rem;
}
.open-kicker {
  margin: 0 0 0.35rem;
  color: var(--open-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.open-status {
  margin: 0;
  min-height: 1.4em;
  color: rgba(243, 246, 238, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.open-stage.phase-open .open-status,
.open-stage.phase-reveal .open-status,
.open-stage.phase-done .open-status {
  color: var(--open-accent);
}

.open-case-wrap {
  margin: 0 auto 1.35rem;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease), filter 0.55s var(--ease);
}
.open-stage.phase-charge .open-case-wrap {
  transform: scale(1.04);
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--open-accent) 35%, transparent));
}
.open-stage.phase-spin .open-case-wrap,
.open-stage.phase-reveal .open-case-wrap,
.open-stage.phase-done .open-case-wrap {
  transform: scale(0.62) translateY(-18px);
  opacity: 0.4;
  filter: none;
}

.open-roulette {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  margin: 0 auto 1.35rem;
  max-width: 100%;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.open-stage.phase-spin .open-roulette,
.open-stage.phase-open .open-roulette {
  opacity: 1;
  transform: none;
}
.open-stage.phase-reveal .open-roulette,
.open-stage.phase-done .open-roulette {
  opacity: 0;
  transform: translateY(-12px) scale(0.96);
  height: 0;
  margin: 0;
  overflow: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), height 0.35s var(--ease);
}

.open-roulette-frame {
  position: relative;
  overflow: hidden;
  height: 118px;
  border: 1px solid color-mix(in srgb, var(--open-accent) 45%, transparent);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    #0a0d09;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    0 18px 40px rgba(0, 0, 0, 0.35);
}
.open-roulette-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #0a0d09 0%, transparent 14%, transparent 86%, #0a0d09 100%);
}
.open-roulette-track {
  display: flex;
  gap: 0.7rem;
  height: 100%;
  align-items: center;
  padding: 0 42vw;
  width: max-content;
  will-change: transform;
}
.open-roulette-pointer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  z-index: 2;
  background: var(--open-accent);
  transform: translateX(-50%);
  box-shadow: 0 0 18px color-mix(in srgb, var(--open-accent) 55%, transparent);
}
.open-roulette-pointer::before,
.open-roulette-pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
}
.open-roulette-pointer::before {
  top: -1px;
  border-top-color: var(--open-accent);
}
.open-roulette-pointer::after {
  bottom: -1px;
  border-bottom-color: var(--open-accent);
}

.open-chip {
  position: relative;
  flex: 0 0 156px;
  height: 92px;
  display: grid;
  align-content: center;
  gap: 0.28rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 50%),
    rgba(0, 0, 0, 0.55);
  text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.open-chip.is-locked {
  transform: scale(1.06);
  box-shadow: 0 0 0 2px currentColor, 0 0 28px color-mix(in srgb, currentColor 35%, transparent);
  filter: brightness(1.15);
  z-index: 1;
}
.open-chip.is-bait {
  transform: scale(1.08);
  box-shadow:
    0 0 0 2px currentColor,
    0 0 36px color-mix(in srgb, currentColor 45%, transparent);
  filter: brightness(1.25) saturate(1.15);
  z-index: 2;
  animation: bait-pulse 0.55s ease-in-out infinite alternate;
}
@keyframes bait-pulse {
  from { filter: brightness(1.15) saturate(1.05); }
  to { filter: brightness(1.35) saturate(1.25); }
}
.open-chip-rarity {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.open-chip strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.open-chip.rarity-common { color: #b8b8b8; }
.open-chip.rarity-uncommon { color: #5dce7a; }
.open-chip.rarity-rare { color: #4ea1ff; }
.open-chip.rarity-epic { color: #c07bff; }
.open-chip.rarity-legendary { color: #ffc53d; }
.open-chip.rarity-unique { color: #ff6b9d; }

.open-prize {
  opacity: 0;
  transform: translateY(28px) scale(0.92);
  pointer-events: none;
  margin: 0.35rem auto 0;
  max-width: 540px;
  padding: 1.25rem 1rem 0.5rem;
}
.open-stage.phase-reveal .open-prize,
.open-stage.phase-done .open-prize {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  animation: prize-in 0.8s var(--ease) both;
}
.open-stage.is-animating:not(.phase-idle):not(.phase-charge):not(.phase-shake):not(.phase-spin):not(.phase-open):not(.phase-reveal):not(.phase-done) .open-prize {
  animation: prize-fallback 0.01s linear 9s forwards;
}
@keyframes prize-fallback {
  to {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}
.open-prize h1 {
  margin: 0.55rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px color-mix(in srgb, var(--open-accent) 35%, transparent);
}
.open-prize.rarity-legendary h1 { color: #ffc53d; }
.open-prize.rarity-epic h1 { color: #c07bff; }
.open-prize.rarity-unique h1 { color: #ff6b9d; }
.open-prize.rarity-rare h1 { color: #4ea1ff; }

.open-actions {
  justify-content: center;
  margin-top: 1.35rem;
  opacity: 0;
  transform: translateY(12px);
}
.open-stage.phase-done .open-actions {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease) 0.15s, transform 0.45s var(--ease) 0.15s;
}

.open-stage:not(.is-animating).phase-done .open-case-wrap {
  opacity: 0.35;
  transform: scale(0.62) translateY(-14px);
}

/* Live recent drops */
.open-live {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
}
.open-stage.phase-spin .open-live,
.open-stage.phase-open .open-live,
.open-stage.phase-reveal .open-live,
.open-stage.phase-done .open-live,
.open-stage:not(.is-animating) .open-live {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.open-live-head {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  color: rgba(243, 246, 238, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.open-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(182, 214, 58, 0.7);
  animation: live-blink 1.4s ease-in-out infinite;
}
.open-live-rail {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.open-live-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: live-marquee 42s linear infinite;
}
.open-drop {
  flex: 0 0 auto;
  min-width: 168px;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid currentColor;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.15rem;
}
.open-drop-who {
  color: rgba(243, 246, 238, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
}
.open-drop-what {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}
.open-drop-when {
  color: rgba(243, 246, 238, 0.4);
  font-size: 0.68rem;
}
.open-drop.rarity-common { color: #b8b8b8; }
.open-drop.rarity-uncommon { color: #5dce7a; }
.open-drop.rarity-rare { color: #4ea1ff; }
.open-drop.rarity-epic { color: #c07bff; }
.open-drop.rarity-legendary { color: #ffc53d; }
.open-drop.rarity-unique { color: #ff6b9d; }

@keyframes case-shake {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  20% { transform: rotate(-4deg) translateY(3px); }
  40% { transform: rotate(4deg) translateY(-3px); }
  60% { transform: rotate(-3deg) translateY(2px); }
  80% { transform: rotate(2deg) translateY(-1px); }
}
@keyframes case-shine {
  to { transform: translateX(120%); }
}
@keyframes arena-pulse {
  from { transform: translate(-50%, -50%) scale(0.92); opacity: 0.55; }
  to { transform: translate(-50%, -50%) scale(1.08); opacity: 0.95; }
}
@keyframes ring-expand {
  0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
}
@keyframes glow-pulse {
  from { opacity: 0.45; }
  to { opacity: 1; }
}
@keyframes burst-out {
  to { opacity: 0; transform: translate(-50%, -50%) scale(32); }
}
@keyframes particle-fly {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.15);
  }
}
@keyframes prize-in {
  from { opacity: 0; transform: translateY(32px) scale(0.88); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes lid-open {
  to { transform: rotateX(-118deg) translateY(-6px); opacity: 0.85; }
}
@keyframes live-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 900px) {
  .case-grid,
  .case-detail-layout { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; text-align: center; }
  .case-card-visual { justify-items: center; }
  .case-progress-meta { justify-content: center; flex-wrap: wrap; }
  .case-card-actions { justify-content: center; }
  .open-chip { flex-basis: 132px; height: 84px; }
  .open-roulette-frame { height: 108px; }
  .case-box-xl { width: 168px; height: 146px; }
  .cases-history-side {
    justify-items: start;
    text-align: left;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-box.is-shake,
  .open-burst,
  .open-particle,
  .open-prize,
  .open-live-track,
  .open-arena-ring,
  .open-arena-glow,
  .case-box-shine { animation: none !important; }
  .open-roulette-track { transition: none !important; }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.stats-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 1.15rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(182, 214, 58, 0.08), transparent 50%),
    rgba(12, 15, 11, 0.92);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.stat span {
  display: block;
  color: rgba(243, 246, 238, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ===== Profile ===== */
.profile-page {
  position: relative;
  isolation: isolate;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2rem) 3rem;
}
.profile-page-bg {
  position: absolute;
  inset: 0 -2rem auto;
  height: 300px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.profile-orb {
  position: absolute;
  left: 50%;
  top: -15%;
  width: min(480px, 85vw);
  height: min(480px, 85vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.16), transparent 68%);
  filter: blur(12px);
}
.profile-grid-fx {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(182, 214, 58, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 214, 58, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.profile-hero,
.profile-stats,
.profile-section {
  position: relative;
  z-index: 1;
}
.profile-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
}
.profile-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.profile-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
}
.profile-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.05;
}
.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.profile-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.profile-badge-admin {
  color: #10150a;
  background: var(--accent);
  border-color: var(--accent);
}
.profile-badge-owner {
  color: #ffc53d;
  background: rgba(255, 197, 61, 0.12);
  border-color: rgba(255, 197, 61, 0.45);
}
.profile-badge-dev {
  color: #7ec8ff;
  background: rgba(78, 161, 255, 0.12);
  border-color: rgba(78, 161, 255, 0.4);
}
.profile-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.15rem;
  margin-top: 0.95rem;
  color: rgba(243, 246, 238, 0.55);
  font-size: 0.92rem;
}
.profile-meta strong {
  color: var(--accent);
  font-weight: 700;
}
.profile-actions {
  justify-content: center;
  margin-top: 1.35rem;
}
.profile-stats {
  margin-bottom: 2.25rem;
}
.profile-section {
  margin-top: 2.25rem;
}
.profile-section .section-head {
  text-align: center;
  margin-bottom: 1.15rem;
}
.profile-section .section-head h2 {
  margin: 0;
}
.profile-bookings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.profile-bookings > li {
  margin: 0;
}
.profile-booking {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 15, 11, 0.9);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}
.profile-booking:hover {
  border-color: rgba(182, 214, 58, 0.28);
  color: inherit;
}
.profile-booking-main {
  display: grid;
  gap: 0.25rem;
}
.profile-booking-main strong {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.profile-booking-main span {
  color: rgba(243, 246, 238, 0.5);
  font-size: 0.88rem;
}
.profile-booking-side {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
  text-align: right;
}
.profile-booking-status {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}
.profile-booking-status.is-cancelled,
.profile-booking-status.is-rejected {
  color: rgba(243, 246, 238, 0.45);
}
.profile-booking-side time {
  color: rgba(243, 246, 238, 0.4);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.hall.pick {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.hall.pick input { margin-top: 0.35rem; }

.pick-pcs { gap: 0.55rem; }
.pc-pick {
  display: inline-flex;
  cursor: pointer;
}
.pc-pick input { display: none; }
.pc-pick span {
  min-width: 2.7rem;
  text-align: center;
  padding: 0.55rem 0.45rem;
  border: 1px solid var(--line-soft);
  color: var(--muted);
}
.pc-pick input:checked + span {
  border-color: var(--accent);
  background: rgba(182, 214, 58, 0.16);
  color: var(--accent);
}

/* —— Booking wizard —— */
.book-page {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 4.5rem);
}
.book-page-narrow {
  max-width: 640px;
}
.book-head {
  margin-bottom: 1.75rem;
}
.book-head h1 {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.05;
}
.book-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}
.book-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5f6559;
}
.book-steps span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.book-steps em {
  font-style: normal;
  font-family: var(--font-mono);
  color: inherit;
  opacity: 0.7;
}
.book-steps .is-active {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}
.book-steps .is-active em { opacity: 1; color: var(--accent-ink); }
.book-steps .is-done {
  color: rgba(243, 246, 238, 0.7);
  border-color: rgba(182, 214, 58, 0.22);
  background: rgba(182, 214, 58, 0.08);
}

.book-kicker {
  margin: 1.15rem 0 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.book-page-clubs .book-head h1 {
  margin-top: 0.45rem;
}


.book-club-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.book-club {
  --book-club-radius: 18px;
  position: relative;
  display: block;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--book-club-radius);
  border: 1px solid rgba(182, 214, 58, 0.22);
  background:
    linear-gradient(165deg, rgba(182, 214, 58, 0.1), transparent 42%),
    #12160f;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 14px 34px rgba(0, 0, 0, 0.22);
  transition:
    opacity 0.7s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.book-club::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: box-shadow 0.35s var(--ease);
}
.book-club::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(182, 214, 58, 0.22) 52%,
    transparent 65%
  );
  transform: translateX(-45%) rotate(8deg);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.45s var(--ease);
}
.book-club:hover {
  color: inherit;
  border-color: rgba(182, 214, 58, 0.7);
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(182, 214, 58, 0.2) inset,
    0 0 0 1px rgba(182, 214, 58, 0.28),
    0 22px 48px rgba(0, 0, 0, 0.32),
    0 0 40px rgba(182, 214, 58, 0.16);
}
.book-club:hover::before {
  box-shadow:
    inset 0 0 0 1px rgba(182, 214, 58, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.book-club:hover::after {
  opacity: 1;
  transform: translateX(45%) rotate(8deg);
}
.book-club:focus-visible {
  outline: none;
  border-color: rgba(182, 214, 58, 0.85);
  box-shadow:
    0 0 0 2px rgba(182, 214, 58, 0.4),
    0 18px 40px rgba(0, 0, 0, 0.3);
}
.book-club-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: #161b12;
  overflow: hidden;
}
.book-club-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.08) brightness(0.92) contrast(1.04);
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}
.book-club:hover .book-club-media img {
  transform: scale(1.1);
  filter: saturate(1.15) brightness(1) contrast(1.05);
}
.book-club-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 6, 0.08) 0%, rgba(8, 12, 6, 0.2) 38%, rgba(8, 12, 6, 0.78) 100%),
    linear-gradient(115deg, rgba(182, 214, 58, 0.14), transparent 42%);
  transition: opacity 0.35s var(--ease);
}
.book-club:hover .book-club-shade {
  opacity: 0.95;
}
.book-club-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 300px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(182, 214, 58, 0.4);
  background:
    radial-gradient(circle at 30% 20%, rgba(182, 214, 58, 0.22), transparent 50%),
    #161b12;
}
.book-club-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  min-height: 300px;
  padding: 1.15rem 1.15rem 1.1rem;
}
.book-club-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}
.book-club-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.book-club-tag-book {
  color: #10140c;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(182, 214, 58, 0.35);
}
.book-club-tag-session {
  color: #eef6c8;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(16, 20, 12, 0.45);
}
.book-club-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.book-club-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #f7fbe8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.book-club-badge {
  flex: 0 0 auto;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 214, 58, 0.4);
  background: rgba(182, 214, 58, 0.14);
  color: #e6f58a;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.book-club:hover .book-club-badge {
  transform: translateY(-2px);
  border-color: rgba(182, 214, 58, 0.7);
  background: rgba(182, 214, 58, 0.22);
  box-shadow: 0 0 18px rgba(182, 214, 58, 0.22);
}
.book-club-body p {
  margin: 0;
  color: rgba(247, 251, 232, 0.82);
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 22rem;
}
.book-club-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(182, 214, 58, 0.18);
}
.book-club-meta {
  color: rgba(247, 251, 232, 0.62);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.book-club-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 0.28s var(--ease), color 0.28s var(--ease), transform 0.28s var(--ease);
}
.book-club-cta svg {
  transition: transform 0.28s var(--ease);
}
.book-club:hover .book-club-cta {
  gap: 0.6rem;
  color: #e4f57a;
  transform: translateX(2px);
}
.book-club:hover .book-club-cta svg {
  transform: translateX(3px);
}

.book-page-halls {
  position: relative;
  isolation: isolate;
}
.book-halls-bg {
  position: absolute;
  inset: -2rem -1rem auto;
  height: min(52vh, 420px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}
.book-halls-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.48);
  transform: scale(1.04);
}
.book-halls-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 5, 0.28) 0%, rgba(5, 6, 5, 0.72) 55%, var(--bg) 100%),
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(182, 214, 58, 0.16), transparent 65%);
}
.book-page-halls .book-head,
.book-page-halls .book-hall-grid,
.book-page-halls .book-actions {
  position: relative;
  z-index: 1;
}
.book-page-halls .book-head h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

.book-hall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.book-hall-form-item {
  margin: 0;
}
.book-hall {
  --hall-accent: var(--accent);
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.book-hall[data-hall-tone="vip"] { --hall-accent: #e8c45a; }
.book-hall[data-hall-tone="boot"] { --hall-accent: #7ad0ff; }
.book-hall[data-hall-tone="comfort"] { --hall-accent: var(--accent); }
.book-hall-form-item.reveal { transition-delay: calc(var(--i, 0) * 70ms); }
.book-hall-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  min-height: 220px;
  padding: 1.15rem 1.1rem 1.05rem;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--hall-accent) 28%, rgba(255, 255, 255, 0.12));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--hall-accent) 16%, transparent), transparent 52%),
    rgba(18, 22, 15, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 28px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.3s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
}
.book-hall-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--hall-accent) 35%, transparent), transparent 70%);
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.book-hall-mark {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--hall-accent) 40%, transparent);
  background: color-mix(in srgb, var(--hall-accent) 14%, rgba(0, 0, 0, 0.25));
  color: var(--hall-accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.book-hall-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.book-hall-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.book-hall-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.book-hall-go {
  color: var(--hall-accent);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.75;
  transform: translateX(0);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.book-hall-body p {
  margin: 0;
  color: rgba(243, 246, 238, 0.68);
  font-size: 0.9rem;
  line-height: 1.4;
}
.book-hall-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid color-mix(in srgb, var(--hall-accent) 22%, rgba(255, 255, 255, 0.08));
}
.book-hall-count {
  color: rgba(243, 246, 238, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.book-hall-pick {
  color: var(--hall-accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.book-hall:hover .book-hall-panel,
.book-hall:focus-visible .book-hall-panel {
  border-color: color-mix(in srgb, var(--hall-accent) 70%, white 10%);
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--hall-accent) 28%, transparent),
    0 18px 40px rgba(0, 0, 0, 0.3),
    0 0 28px color-mix(in srgb, var(--hall-accent) 18%, transparent);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--hall-accent) 22%, transparent), transparent 55%),
    rgba(20, 26, 16, 0.96);
}
.book-hall:hover .book-hall-glow,
.book-hall:focus-visible .book-hall-glow { opacity: 0.7; }
.book-hall:hover .book-hall-mark,
.book-hall:focus-visible .book-hall-mark {
  transform: scale(1.05);
  background: color-mix(in srgb, var(--hall-accent) 22%, rgba(0, 0, 0, 0.2));
  border-color: color-mix(in srgb, var(--hall-accent) 65%, transparent);
}
.book-hall:hover .book-hall-go,
.book-hall:focus-visible .book-hall-go {
  opacity: 1;
  transform: translateX(4px);
}
.book-hall:hover .book-hall-pick,
.book-hall:focus-visible .book-hall-pick {
  color: #f0f8c0;
  transform: translateX(2px);
}
.book-hall:focus-visible {
  outline: none;
}
.book-hall:focus-visible .book-hall-panel {
  outline: 2px solid color-mix(in srgb, var(--hall-accent) 70%, white);
  outline-offset: 2px;
}
.book-page-halls .book-actions {
  margin-top: 1.25rem;
}

.book-panel {
  padding: 1.5rem;
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
}
.book-page-slot {
  position: relative;
  isolation: isolate;
  width: min(720px, 100%);
}
.book-slot-bg {
  position: absolute;
  inset: -1rem -2rem auto;
  height: 280px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.book-slot-orb {
  position: absolute;
  left: 50%;
  top: 10%;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.16), transparent 68%);
  filter: blur(10px);
}
.book-slot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(182, 214, 58, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 214, 58, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.book-page-slot .book-head,
.book-page-slot .book-slot-panel {
  position: relative;
  z-index: 1;
}
.book-slot-panel {
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 40%),
    rgba(10, 13, 9, 0.88);
  box-shadow:
    0 0 0 1px rgba(182, 214, 58, 0.05) inset,
    0 22px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}
.book-slot-section + .book-slot-section {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.book-slot-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.book-slot-section-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0.2rem;
}
.book-slot-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.book-slot-section-head p {
  margin: 0.2rem 0 0;
  color: rgba(243, 246, 238, 0.5);
  font-size: 0.84rem;
  line-height: 1.35;
}
.book-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}
.book-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.book-field-full {
  grid-column: 1 / -1;
}
.book-field label {
  margin: 0;
  color: rgba(243, 246, 238, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.book-field input,
.book-field select,
.book-slot-panel input,
.book-slot-panel select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 5, 0.72);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.book-field input:hover,
.book-field select:hover {
  border-color: rgba(182, 214, 58, 0.28);
}
.book-field input:focus,
.book-field select:focus {
  outline: none;
  border-color: rgba(182, 214, 58, 0.55);
  box-shadow: 0 0 0 3px rgba(182, 214, 58, 0.12);
  background: rgba(8, 10, 7, 0.92);
}
.book-field input::placeholder {
  color: rgba(243, 246, 238, 0.35);
}
.book-field-hint {
  margin: 0;
  color: #5f6559;
  font-size: 0.78rem;
  line-height: 1.35;
}
.book-page-slot .book-actions {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.book-pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr));
  gap: 0.55rem;
}
.book-pc {
  cursor: pointer;
}
.book-pc input { position: absolute; opacity: 0; pointer-events: none; }
.book-pc span {
  display: grid;
  place-items: center;
  min-height: 3.4rem;
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--muted);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.book-pc:hover span {
  border-color: rgba(182, 214, 58, 0.4);
  color: var(--ink);
}
.book-pc input:checked + span {
  border-color: var(--accent);
  background: rgba(182, 214, 58, 0.16);
  color: var(--accent);
}


.club-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.club-map-legend i {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.4rem;
  vertical-align: middle;
  border-radius: 2px;
  border: 1px solid var(--line-soft);
}
.club-map-legend .lg-free {
  background: rgba(182, 214, 58, 0.28);
  border-color: rgba(182, 214, 58, 0.55);
  box-shadow: 0 0 8px rgba(182, 214, 58, 0.25);
}
.club-map-legend .lg-busy {
  background: rgba(255, 92, 92, 0.18);
  border-color: rgba(255, 120, 120, 0.35);
}
.club-map-legend .lg-off {
  background: rgba(120, 120, 120, 0.35);
  border-color: rgba(160, 160, 160, 0.45);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.28) 2px,
    rgba(0, 0, 0, 0.28) 4px
  );
}
.club-map-legend .lg-pick {
  background: var(--accent);
  border-color: var(--accent);
}

.map-shell {
  display: grid;
  gap: 1rem;
}
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem 1.25rem;
}
.map-toolbar-note {
  margin: 0;
  color: #6a7164;
  font-size: 0.8rem;
}
.club-map-frame {
  position: relative;
  padding: 1.15rem;
  border: 1px solid rgba(182, 214, 58, 0.16);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(182, 214, 58, 0.1), transparent 55%),
    linear-gradient(180deg, #0d120c 0%, #080a07 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: auto;
}
.club-map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 28px,
      rgba(182, 214, 58, 0.03) 28px,
      rgba(182, 214, 58, 0.03) 29px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 28px,
      rgba(255, 255, 255, 0.02) 28px,
      rgba(255, 255, 255, 0.02) 29px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
}

.club-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--map-cols), minmax(4.4rem, 1fr));
  grid-template-rows: repeat(var(--map-rows), minmax(3.6rem, 1fr));
  gap: 0.45rem;
  width: max-content;
  min-width: min(100%, calc(var(--map-cols) * 4.85rem));
  margin: 0 auto;
}
.club-map.is-fallback {
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(auto-fill, minmax(4.4rem, 1fr));
  grid-template-rows: none;
}

.club-map-seat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-width: 4.2rem;
  min-height: 3.4rem;
  padding: 0.45rem 0.35rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  user-select: none;
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    color 0.2s var(--ease);
}
.club-map-seat input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seat-num {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.seat-meta {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  opacity: 0.9;
  line-height: 1.15;
}

.club-map-seat.is-free {
  cursor: pointer;
  color: #d7ef7a;
  background:
    linear-gradient(160deg, rgba(182, 214, 58, 0.18), rgba(182, 214, 58, 0.05));
  border-color: rgba(182, 214, 58, 0.4);
  box-shadow: 0 0 0 1px rgba(182, 214, 58, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.club-map-seat.is-free.has-next .seat-meta {
  color: rgba(215, 239, 122, 0.85);
}
.club-map-seat.is-free:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(182, 214, 58, 0.12);
}
.club-map-seat.is-free:has(input:checked),
.club-map-seat.is-free.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(182, 214, 58, 0.35), 0 10px 22px rgba(182, 214, 58, 0.22);
}
.club-map-seat.is-free.is-selected .seat-meta,
.club-map-seat.is-free:has(input:checked) .seat-meta {
  color: rgba(16, 21, 10, 0.72);
}

.club-map-seat.is-busy {
  color: #c9b0b0;
  background:
    linear-gradient(160deg, rgba(255, 90, 90, 0.14), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 110, 110, 0.28);
}
.club-map-seat.is-busy .seat-meta {
  color: #ff9b9b;
}
.club-map-seat.kind-service {
  color: #9aa093;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}
.club-map-seat.kind-service .seat-meta {
  color: #8b9284;
}
.club-map-seat.kind-inactive {
  color: rgba(200, 200, 200, 0.7);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(45, 45, 45, 0.7),
      rgba(45, 45, 45, 0.7) 4px,
      rgba(70, 70, 70, 0.4) 4px,
      rgba(70, 70, 70, 0.4) 8px
    );
  border-color: rgba(140, 140, 140, 0.4);
  opacity: 0.78;
  cursor: not-allowed;
}
.club-map-seat.kind-inactive .seat-num {
  color: rgba(220, 220, 220, 0.55);
}
.club-map-seat.kind-inactive .seat-meta {
  color: rgba(170, 170, 170, 0.8);
}

.map-footer .book-hint {
  margin-top: 0;
}
.map-footer .book-actions {
  margin-top: 0.85rem;
}

@media (max-width: 720px) {
  .club-map {
    gap: 0.35rem;
    grid-template-columns: repeat(var(--map-cols), minmax(3.5rem, 1fr));
    grid-template-rows: repeat(var(--map-rows), minmax(3.1rem, 1fr));
  }
  .club-map-seat {
    min-width: 3.3rem;
    min-height: 3rem;
    padding: 0.35rem 0.25rem;
    border-radius: 8px;
  }
  .seat-num { font-size: 0.85rem; }
  .seat-meta { font-size: 0.56rem; }
  .map-toolbar-note { width: 100%; }
}
.book-hint {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.book-actions {
  margin-top: 1.5rem;
}
.book-empty {
  padding: 2rem 0;
}
.book-empty p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.book-summary {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
}
.book-summary dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.book-summary dl > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}
.book-summary dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.book-summary dd {
  margin: 0;
  font-weight: 600;
}

.book-done {
  text-align: center;
  padding: 2rem 0 1rem;
}
.book-done-kicker {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.book-done h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
}
.book-done p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}
.book-done-time {
  margin-bottom: 1.5rem !important;
  color: var(--ink) !important;
  font-family: var(--font-mono);
  font-weight: 600;
}

.book-detail {
  text-align: left;
  padding: 1.5rem 0 1rem;
}
.book-detail h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
}
.book-detail-status {
  margin: 0.55rem 0 1.25rem;
  color: var(--accent);
  font-weight: 700;
}
.book-detail-summary {
  margin: 0 0 1.5rem;
}
.book-detail-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-danger {
  background: #c44b3c;
  color: #fff;
  border-color: #c44b3c;
}
.btn-danger:hover {
  background: #a83c2f;
  border-color: #a83c2f;
  color: #fff;
}

@media (max-width: 1100px) {
  .book-club-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .book-hall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .book-club-grid {
    grid-template-columns: 1fr;
  }
  .book-hall-grid {
    grid-template-columns: 1fr;
  }
  .book-hall-panel {
    min-height: 200px;
  }
  .book-club {
    min-height: 260px;
  }
  .book-club-body {
    min-height: 260px;
  }
  .book-fields {
    grid-template-columns: 1fr;
  }
  .book-summary dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 900px) {
  .stats-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .stats-grid,
  .stats-grid-4 { grid-template-columns: 1fr; }
}

.club-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.club-select {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(182, 214, 58, 0.06), transparent 50%),
    rgba(12, 15, 11, 0.9);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.club-select input { margin-top: 0.25rem; accent-color: var(--accent); }
.club-select strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.club-select span {
  display: block;
  color: rgba(243, 246, 238, 0.5);
  font-size: 0.88rem;
  line-height: 1.4;
}
.club-select-meta { margin-top: 0.35rem !important; font-size: 0.8rem !important; }
.club-select.is-pudge { border-color: rgba(182, 214, 58, 0.22); }
.club-select.is-active,
.club-select:hover {
  border-color: rgba(182, 214, 58, 0.48);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  background:
    linear-gradient(160deg, rgba(182, 214, 58, 0.1), transparent 50%),
    rgba(12, 15, 11, 0.95);
}
@media (max-width: 720px) {
  .club-select-grid { grid-template-columns: 1fr; }
}

/* ===== Tariffs ===== */
.tariffs-page {
  position: relative;
  isolation: isolate;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2rem) 3rem;
}
.tariffs-page-bg {
  position: absolute;
  inset: 0 -1.5rem auto;
  height: min(42vh, 340px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.tariffs-orb {
  position: absolute;
  left: 50%;
  top: -18%;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.22), transparent 68%);
  filter: blur(12px);
}
.tariffs-grid-fx {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(182, 214, 58, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 214, 58, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.tariffs-hero,
.tariffs-board,
.tariffs-disclaimer {
  position: relative;
  z-index: 1;
}
.tariffs-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.35rem;
}
.tariffs-kicker {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tariffs-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.02;
}
.tariffs-lead {
  margin: 0.65rem 0 0;
  max-width: 30rem;
  color: rgba(243, 246, 238, 0.62);
  font-size: 0.98rem;
  line-height: 1.5;
}
.tariffs-lead strong { color: var(--accent); }
.tariffs-club-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}
.tariffs-club-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 214, 58, 0.28);
  background: rgba(10, 12, 9, 0.55);
  color: rgba(243, 246, 238, 0.78);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.tariffs-club-tab:hover {
  border-color: rgba(182, 214, 58, 0.55);
  color: #f3f6ee;
}
.tariffs-club-tab.is-active {
  border-color: var(--accent);
  background: rgba(182, 214, 58, 0.16);
  color: var(--accent);
}
.tariffs-actions {
  justify-content: center;
  margin-top: 1.05rem;
}

.tariffs-board {
  border-radius: 22px;
  border: 1px solid rgba(182, 214, 58, 0.22);
  background:
    linear-gradient(155deg, rgba(182, 214, 58, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(18, 22, 14, 0.98), rgba(10, 12, 9, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 22px 48px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}
.tariffs-board-head {
  padding: 1.25rem 1.25rem 0.85rem;
}
.tariffs-board-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.tariffs-board-head p {
  margin: 0.35rem 0 0;
  color: rgba(243, 246, 238, 0.5);
  font-size: 0.88rem;
}

.tariffs-hall-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1.25rem 1.05rem;
}
.tariffs-hall-tab {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 214, 58, 0.28);
  background: rgba(8, 10, 7, 0.45);
  color: rgba(243, 246, 238, 0.78);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.tariffs-hall-tab:hover {
  color: var(--accent);
  border-color: rgba(182, 214, 58, 0.55);
  transform: translateY(-1px);
}
.tariffs-hall-tab.is-active {
  color: #10140c;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 22px rgba(182, 214, 58, 0.3);
}
.tariffs-hall-tab:focus-visible {
  outline: 2px solid rgba(182, 214, 58, 0.7);
  outline-offset: 2px;
}

.tariffs-panel {
  display: none;
  padding: 0 1.15rem 1.25rem;
  animation: tariffs-panel-in 0.35s var(--ease);
}
.tariffs-panel.is-active { display: block; }
.tariffs-panel[hidden] { display: none !important; }
@keyframes tariffs-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tariffs-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.85rem;
  padding: 0.85rem 0.15rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.tariffs-panel-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.tariffs-panel-head p {
  margin: 0;
  color: rgba(243, 246, 238, 0.48);
  font-size: 0.86rem;
}

.tariffs-menu {
  display: grid;
  gap: 0.65rem;
}
.tariffs-item {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(11rem, 0.9fr);
  gap: 0.85rem 1.1rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 7, 0.55);
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.tariffs-item:hover {
  border-color: rgba(182, 214, 58, 0.35);
  background: rgba(182, 214, 58, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.tariffs-item.kind-pack {
  border-color: rgba(182, 214, 58, 0.28);
  background:
    linear-gradient(115deg, rgba(182, 214, 58, 0.1), transparent 55%),
    rgba(10, 13, 9, 0.7);
}
.tariffs-item.kind-unlimited {
  border-color: rgba(232, 196, 90, 0.4);
  background:
    linear-gradient(115deg, rgba(232, 196, 90, 0.12), transparent 55%),
    rgba(12, 12, 9, 0.75);
}
.tariffs-item.kind-night {
  border-color: rgba(122, 208, 255, 0.22);
}
.tariffs-item.kind-morning {
  border-color: rgba(182, 214, 58, 0.18);
}
.tariffs-item-info {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}
.tariffs-item-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}
.tariffs-item-title strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.tariffs-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 214, 58, 0.35);
  background: rgba(182, 214, 58, 0.12);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tariffs-item.kind-unlimited .tariffs-tag {
  border-color: rgba(232, 196, 90, 0.45);
  background: rgba(232, 196, 90, 0.12);
  color: #e8c45a;
}
.tariffs-window {
  color: rgba(182, 214, 58, 0.82);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.tariffs-note {
  color: rgba(243, 246, 238, 0.45);
  font-size: 0.8rem;
  line-height: 1.35;
}
.tariffs-item-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.tariffs-price {
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}
.tariffs-price.is-empty {
  opacity: 0.55;
}
.tariffs-price-label {
  color: rgba(243, 246, 238, 0.42);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tariffs-price-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #f4f8e8;
  line-height: 1;
}
.tariffs-price-value small {
  margin-left: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.tariffs-price-value.is-dash {
  color: rgba(243, 246, 238, 0.28);
  font-size: 1.1rem;
}
.tariffs-disclaimer {
  margin: 1.2rem 0 0;
  text-align: center;
  color: rgba(243, 246, 238, 0.38);
  font-size: 0.8rem;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .tariffs-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .tariffs-item-prices {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .tariffs-hall-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tariffs-hall-tab {
    justify-content: center;
  }
  .tariffs-board-head,
  .tariffs-hall-tabs,
  .tariffs-panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


/* ===== Mobile adaptation (site-wide) ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
}
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding: 0 0.9rem;
    gap: 0.5rem;
  }
  .brand span {
    font-size: 1.1rem;
  }
  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: calc(100svh - var(--header-h) - 36px);
    padding: 1.25rem 0 0;
  }
  .hero-content {
    padding: 1.1rem 1rem 1.25rem;
  }
  .hero-title-main {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }
  .hero-title-accent {
    font-size: clamp(2.4rem, 14vw, 3.6rem);
  }
  .hero-lead {
    font-size: 0.95rem;
  }
  .hero .cta-row {
    flex-direction: column;
    width: min(100%, 20rem);
    margin-inline: auto;
  }
  .hero .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .section,
  .features-section,
  .cta-band {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .section-head {
    margin-bottom: 1.35rem;
  }
  .section-head h2,
  .cta-band h2 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .club-card-foot {
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .club-card .btn-card {
    width: 100%;
    text-align: center;
  }

  .stats-grid,
  .profile-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .profile-page,
  .cases-page,
  .tariffs-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .profile-title-row {
    flex-wrap: wrap;
    gap: 0.55rem;
  }
  .profile-actions {
    flex-wrap: wrap;
    width: 100%;
  }
  .profile-actions .btn {
    flex: 1 1 auto;
    min-width: 9rem;
    justify-content: center;
  }
  .profile-booking {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .profile-booking-side {
    align-items: flex-start;
    text-align: left;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .case-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.1rem 1rem;
  }
  .case-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .case-card-actions .btn,
  .case-card-actions form,
  .case-card-actions form .btn {
    width: 100%;
  }
  .cases-history-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .cases-history-side {
    width: 100%;
  }
  .drop-table li {
    gap: 0.5rem;
  }

  .book-summary dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .book-actions,
  .cta-row {
    flex-wrap: wrap;
  }
  .book-actions .btn,
  .book-slot-section .btn {
    min-height: 2.75rem;
  }

  .tariffs-actions {
    flex-direction: column;
    width: min(100%, 18rem);
    margin-inline: auto;
  }
  .tariffs-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .messages {
    margin: 0.65rem 0.85rem;
  }
  .message {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.72rem;
  }
  .hero-status {
    width: 100%;
    justify-content: space-around;
  }
  .hero-status-item {
    font-size: 0.78rem;
  }

  .stats-grid,
  .stats-grid-4,
  .profile-stats {
    grid-template-columns: 1fr;
  }

  .hours-badge {
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
  }

  .open-stage {
    padding: 1rem 0.75rem 2rem;
  }
  .open-arena {
    min-height: 0;
  }
  .open-prize {
    width: min(100%, 22rem);
    padding: 1rem;
  }
  .open-actions {
    flex-direction: column;
    width: 100%;
  }
  .open-actions .btn {
    width: 100%;
  }

  .club-detail-hero {
    min-height: 280px;
  }
  .hall-panel {
    padding: 1.05rem 1rem 1rem;
  }
  .hall-head {
    gap: 0.75rem;
  }
  .hall-mark {
    min-width: 2.7rem;
    height: 2.7rem;
    font-size: 0.72rem;
  }
  .pcs {
    grid-template-columns: repeat(auto-fill, minmax(2.55rem, 1fr));
    gap: 0.35rem;
  }
  .pc {
    min-height: 2.35rem;
    font-size: 0.78rem;
  }

  .login-card,
  .form-card,
  .book-summary {
    padding: 1.1rem 1rem;
  }

  input,
  select,
  textarea,
  .btn {
    font-size: 16px; /* avoid iOS zoom */
  }
}

@media (max-width: 420px) {
  .brand span { letter-spacing: 0.04em; }
  .nav-login span,
  .nav-login { font-size: 0.8rem; }
  .case-box-body {
    font-size: 0.85rem;
  }
}

/* ===== Rating ===== */
.rating-page {
  position: relative;
  isolation: isolate;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 5rem);
}
.rating-bg {
  position: absolute;
  inset: 0 -1rem auto;
  height: min(48vh, 380px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.rating-orb {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(520px, 95vw);
  height: min(520px, 95vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 214, 58, 0.2), transparent 68%);
  filter: blur(8px);
}
.rating-grid-fx {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(182, 214, 58, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 214, 58, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.rating-hero,
.rating-tabs,
.rating-filters,
.rating-notice,
.rating-list {
  position: relative;
  z-index: 1;
}
.rating-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rating-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.02;
}
.rating-lead {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: rgba(243, 246, 238, 0.72);
  font-size: 1.02rem;
  line-height: 1.5;
}
.rating-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}
.rating-tab {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 15, 11, 0.7);
  color: rgba(243, 246, 238, 0.78);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.rating-tab:hover {
  color: var(--accent);
  border-color: rgba(182, 214, 58, 0.45);
}
.rating-tab.is-active {
  color: #10140c;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 22px rgba(182, 214, 58, 0.28);
}
.rating-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.rating-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 214, 58, 0.2);
  background: rgba(182, 214, 58, 0.06);
  color: rgba(243, 246, 238, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.rating-chip:hover {
  color: var(--accent);
  border-color: rgba(182, 214, 58, 0.5);
}
.rating-chip.is-active {
  color: var(--accent);
  border-color: rgba(182, 214, 58, 0.55);
  background: rgba(182, 214, 58, 0.14);
}
.rating-notice {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 196, 90, 0.35);
  background: rgba(232, 196, 90, 0.08);
  color: #f0d98a;
  font-size: 0.9rem;
}
.rating-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.rating-row {
  display: grid;
  grid-template-columns: 2.4rem 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(120deg, rgba(182, 214, 58, 0.05), transparent 42%),
    rgba(12, 15, 11, 0.88);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.rating-row.reveal { transition-delay: calc(var(--i, 0) * 35ms); }
.rating-row:hover {
  border-color: rgba(182, 214, 58, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.rating-row.is-podium {
  border-color: rgba(182, 214, 58, 0.35);
  background:
    linear-gradient(120deg, rgba(182, 214, 58, 0.12), transparent 50%),
    rgba(14, 18, 12, 0.95);
}
.rating-row.place-1 {
  border-color: rgba(232, 196, 90, 0.55);
  box-shadow: 0 0 28px rgba(232, 196, 90, 0.12);
}
.rating-row.place-2 { border-color: rgba(200, 210, 220, 0.35); }
.rating-row.place-3 { border-color: rgba(205, 140, 80, 0.4); }
.rating-place {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
}
.rating-row.place-1 .rating-place { color: #e8c45a; }
.rating-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(182, 214, 58, 0.28);
  background: rgba(182, 214, 58, 0.1);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
}
.rating-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rating-main {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}
.rating-main strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rating-club {
  color: rgba(243, 246, 238, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rating-hours {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-mono);
  white-space: nowrap;
}
.rating-hours strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}
.rating-hours span {
  color: rgba(243, 246, 238, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.rating-empty {
  padding: 1.5rem 1.1rem;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: rgba(243, 246, 238, 0.55);
  text-align: center;
}
@media (max-width: 640px) {
  .rating-row {
    grid-template-columns: 1.8rem 2.5rem minmax(0, 1fr);
    grid-template-areas:
      "place avatar main"
      "place avatar hours";
    gap: 0.35rem 0.7rem;
  }
  .rating-place { grid-area: place; }
  .rating-avatar { grid-area: avatar; width: 2.5rem; height: 2.5rem; }
  .rating-main { grid-area: main; }
  .rating-hours { grid-area: hours; }
}
