/* The Smart Playroom — design system (TZ Section 4) */
@import url("fonts.css");

:root {
  --playroom-blue: #1e88e5;
  --puzzle-green: #43a047;
  --battle-red: #e53935;
  --arcade-yellow: #f9a825;
  --mystery-purple: #6a1b9a;
  --playroom-night: #12182a;
  --hex-surface: #1e2640;
  --light-room: #f4f7ff;
  --smart-gray: #5a5a72;
  --neon-teal: #00bcd4;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-section: "Exo 2", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --radius-btn: 6px;
  --hex-opacity-dark: 0.07;
  --hex-opacity-surface: 0.06;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #e8ecf4;
  background: var(--playroom-night);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-legal {
  background: var(--light-room);
  color: var(--playroom-night);
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--playroom-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Hex background layer (TZ 4.1) */
.bg-hex {
  position: relative;
  background-color: var(--playroom-night);
}

.bg-hex > * {
  position: relative;
  z-index: 1;
}

.bg-hex-surface {
  background-color: var(--hex-surface);
}
.bg-hex-surface::before {
  opacity: var(--hex-opacity-surface);
}

.bg-hex-blue-tint::before {
  opacity: 0.08;
}

/* Typography (TZ 4.3) */
h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  margin: 0 0 0.6em;
}

h3,
.h3 {
  font-family: var(--font-section);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 26px);
  margin: 0 0 0.5em;
}

h4,
.h4 {
  font-family: var(--font-section);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 0.4em;
}

.text-muted {
  color: var(--smart-gray);
}

.text-white {
  color: #fff;
}

.text-night {
  color: var(--playroom-night);
}

.text-blue {
  color: var(--playroom-blue);
}

.text-yellow {
  color: var(--arcade-yellow);
}

.font-mono-coins {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--arcade-yellow);
}

.prof-quote {
  font-family: var(--font-section);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
}

.small-disclaimer {
  font-size: 11px;
  color: var(--smart-gray);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 760px;
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 24, 42, 0.94);
  border-bottom: 1px solid rgba(30, 136, 229, 0.25);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.logo__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.logo__domain {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--smart-gray);
  font-weight: 400;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #c5cee0;
  text-decoration: none;
}
.nav-main a:hover,
.nav-main a.is-active {
  color: var(--playroom-blue);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0;
}

/* Hamburger → cross (mobile) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 10px;
  margin: -6px -6px -6px 0;
  cursor: pointer;
  border-radius: var(--radius-btn);
  flex-shrink: 0;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--playroom-blue);
  outline-offset: 2px;
}
.nav-toggle__box {
  width: 26px;
  height: 18px;
  position: relative;
  display: block;
}
.nav-toggle__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e8ecf4;
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.22s ease;
}
.nav-toggle__bar:nth-child(1) {
  top: 1px;
}
.nav-toggle__bar:nth-child(2) {
  top: 8px;
}
.nav-toggle__bar:nth-child(3) {
  top: 15px;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none !important;
  }
  .nav-wrap {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 20px 28px;
    flex: 1;
    width: auto;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .nav-main {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 3;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding: 0;
    transition:
      max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease,
      visibility 0s linear 0.45s,
      padding 0.35s ease;
  }
  .nav-wrap.is-open {
    max-height: min(100vh, 720px);
    opacity: 1;
    visibility: visible;
    padding: 8px 0 16px;
    transition:
      max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.32s ease 0.34s,
      visibility 0s linear 0s,
      padding 0.35s ease 0.34s;
  }
  .nav-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px 0;
  }
}

/* Buttons TZ 4.5 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    filter 0.15s ease,
    transform 0.15s ease;
}
.btn:hover {
  filter: brightness(1.12);
  transform: scale(1.02);
  text-decoration: none;
}
.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--playroom-blue);
  color: #fff;
}

.btn--yellow {
  background: var(--arcade-yellow);
  color: var(--playroom-night);
}

.btn--secondary {
  background: transparent;
  color: var(--playroom-blue);
  border: 2px solid var(--playroom-blue);
}

.btn--green {
  background: var(--puzzle-green);
  color: #fff;
}

.btn--red {
  background: var(--battle-red);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--smart-gray);
  border: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Footer */
.site-footer {
  background: var(--hex-surface);
  border-top: 1px solid rgba(30, 136, 229, 0.2);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--arcade-yellow);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #b8c0d4;
  font-size: 14px;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--playroom-blue);
}

.footer-social {
  color: #b8c0d4;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(90, 90, 114, 0.35);
  font-size: 11px;
  line-height: 1.6;
  color: var(--smart-gray);
}

/* Public disclaimer strip (TZ checklist 9.5) */
.public-disclaimer-bar {
  background: rgba(18, 24, 40, 0.95);
  color: #fff;
  text-align: center;
  font-size: 11px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--playroom-blue);
}

/* Play page sticky bar TZ 4.5 */
.play-disclaimer {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(18, 24, 40, 0.92);
  color: #fff;
  font-size: 11px;
  font-family: var(--font-body);
  text-align: center;
  padding: 10px 16px;
  border-top: 1px solid var(--playroom-blue);
  margin-top: auto;
}

/* In-play layouts */
.game-page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.slot-page {
  padding-bottom: 16px;
}
.slot-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--hex-surface);
  border: 1px solid rgba(30, 136, 229, 0.25);
  border-radius: 10px;
}
.slot-hud__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--playroom-blue);
  font-size: 18px;
}
.slot-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
#slot-game canvas {
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid rgba(30, 136, 229, 0.35);
}
.wheel-wrap {
  max-width: 420px;
  margin: 0 auto 16px;
}
.wheel-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;
}
.card-table {
  max-width: 720px;
  margin: 0 auto;
}
.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 52px;
  margin: 12px 0;
}
.playing-card {
  width: 52px;
  height: 74px;
  border-radius: 6px;
  background: #fff;
  color: var(--playroom-night);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #aab;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.playing-card--red {
  color: #c62828;
}
.bj-label {
  font-size: 13px;
  color: var(--smart-gray);
  margin-bottom: 4px;
}

/* Hero */
.hero {
  padding: 56px 0 72px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 42%);
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__art {
  aspect-ratio: 4/3;
  /* border-radius: 12px; */
  /* background: linear-gradient(
    145deg,
    var(--hex-surface),
    var(--mystery-purple)
  );
  border: 2px solid rgba(30, 136, 229, 0.35); */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--arcade-yellow);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  /* opacity: 0.95; */
}
@media (max-width: 900px) {
  .hero__art {
    max-height: 360px;
  }
}

/* Sections */
.section {
  padding: 56px 0;
}
.section--blue {
  background: linear-gradient(
    135deg,
    #1565c0 0%,
    var(--playroom-blue) 50%,
    #0d47a1 100%
  );
  position: relative;
  overflow: hidden;
}
.section--blue::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  /* background-image: url("../images/hex-pattern.svg");
  background-size: 56px 100px; */
}
.section--blue > .container {
  position: relative;
  z-index: 1;
}

.section--light {
  background: var(--light-room);
  color: var(--playroom-night);
}
.section--light h2 {
  color: var(--playroom-blue);
}
.section--light .text-muted {
  color: #5c6478;
}

/* Cards */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
}

.game-card {
  background: rgba(30, 38, 64, 0.92);
  border: 1px solid rgba(30, 136, 229, 0.25);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.game-card__thumb {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(
    160deg,
    var(--playroom-night),
    var(--hex-surface)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--arcade-yellow);
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
}

.game-card__thumb--img {
  background: #fff;
  min-height: 360px;
}

.game-card__thumb--grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 767px) {
  .game-card__thumb--grid {
    grid-template-columns: 1fr;
  }
}

.game-card__thumb img {
  object-fit: cover;
  object-position: center;
}
.game-card__tag {
  font-size: 12px;
  color: var(--neon-teal);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Challenge teaser cells */
.challenge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.challenge-cell {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.challenge-cell--done {
  background: var(--puzzle-green);
  border-color: var(--puzzle-green);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-item__icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
table.legal-table,
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.data-table th,
table.data-table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 12px;
  text-align: left;
}
table.data-table th {
  background: rgba(30, 136, 229, 0.15);
}

/* Legal pages TZ 7 intro */
.page-legal {
  background: var(--light-room);
  color: var(--playroom-night);
  min-height: 100vh;
}
.page-legal .site-header {
  background: rgba(244, 247, 255, 0.96);
  border-bottom-color: rgba(30, 136, 229, 0.35);
}
.page-legal .nav-main a {
  color: var(--playroom-night);
}
.page-legal .nav-main a:hover,
.page-legal .nav-main a.is-active {
  color: var(--playroom-blue);
}
.page-legal .logo {
  color: var(--playroom-night);
}
.page-legal .logo__domain {
  color: var(--smart-gray);
}
.page-legal .site-footer {
  background: #e8edf8;
  color: var(--playroom-night);
}
.page-legal .footer-col a {
  color: #3d4556;
}
.page-legal .footer-bottom {
  color: #5a5a72;
}

.page-legal .data-table {
  color: var(--playroom-night);
  background: #fff;
}
.page-legal .data-table th {
  background: rgba(30, 136, 229, 0.12);
  color: var(--playroom-night);
}
.page-legal .data-table td {
  border-color: #c5cad8;
}

.legal-strip {
  height: 4px;
  background: var(--playroom-blue);
}

.legal-content {
  padding: 32px 0 64px;
}
.legal-content h1 {
  color: var(--playroom-night);
  font-family: var(--font-display);
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-top: 2em;
  color: var(--playroom-night);
}
.legal-content p,
.legal-content li {
  font-size: 15px;
}
.legal-content ol,
.legal-content ul {
  padding-left: 1.25em;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.page-legal .faq-item {
  border-color: rgba(18, 24, 42, 0.12);
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
}
.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 420px;
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--hex-surface);
  color: #fff;
  font-family: var(--font-body);
}
.page-legal .form-group input,
.page-legal .form-group textarea {
  background: #fff;
  color: var(--playroom-night);
  border-color: #c5cad8;
}

/* Cookie banner PECR stub */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--hex-surface);
  border-top: 2px solid var(--playroom-blue);
  padding: 20px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}
.cookie-banner p {
  margin: 0 0 12px;
  font-size: 14px;
  max-width: 900px;
}
.cookie-banner.is-hidden {
  display: none;
}

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(18, 24, 42, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.age-gate.is-hidden {
  display: none;
}
.age-gate__box {
  max-width: 440px;
  background: var(--hex-surface);
  border: 1px solid var(--playroom-blue);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

/* Leaderboard rows */
.lb-row {
  display: grid;
  grid-template-columns: 48px 1fr 120px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

/* Smart League */
.data-table--league td,
.data-table--league th {
  vertical-align: middle;
}
.data-table--league .pos {
  font-family: var(--font-mono);
  font-weight: 700;
}
.data-table--league .medal {
  margin-left: 6px;
}
.user-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.user-link:hover {
  text-decoration: underline;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 600;
}

.rank-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.rank-hex {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex: 0 0 auto;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}
.rank-hex--blue {
  background: linear-gradient(145deg, #1e88e5, #0d47a1);
}
.rank-hex--green {
  background: linear-gradient(145deg, #43a047, #1b5e20);
}
.rank-hex--yellow {
  background: linear-gradient(145deg, #f9a825, #e65100);
}
.rank-hex--red {
  background: linear-gradient(145deg, #e53935, #b71c1c);
}
.rank-hex--purple {
  background: linear-gradient(145deg, #6a1b9a, #3b0a57);
}
.rank-hex--gold {
  background: linear-gradient(145deg, #ffd54f, #ff8f00);
  border-color: rgba(255, 213, 79, 0.9);
}

.trophies {
  font-size: 16px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.progress-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
.progress-chip--full {
  border-color: rgba(67, 160, 71, 0.6);
  background: rgba(67, 160, 71, 0.16);
}
.progress-chip--good {
  border-color: rgba(0, 188, 212, 0.55);
  background: rgba(0, 188, 212, 0.14);
}
.progress-chip--mid {
  border-color: rgba(249, 168, 37, 0.55);
  background: rgba(249, 168, 37, 0.14);
}
.progress-chip--low {
  border-color: rgba(229, 57, 53, 0.55);
  background: rgba(229, 57, 53, 0.12);
}

.countdown {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--arcade-yellow);
}
.date-pill {
  font-family: var(--font-mono);
  font-weight: 700;
}

.bullet-list {
  margin: 14px 0 0;
  padding-left: 1.2em;
}
.bullet-list li {
  margin: 10px 0;
}

/* Playroom Events */
.hero__art--events {
  color: var(--arcade-yellow);
}

.events-hero-art {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 4/3;
}
.events-hero-art__wheel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(249, 168, 37, 0.9);
  box-shadow: 0 0 26px rgba(249, 168, 37, 0.25);
  background: conic-gradient(
    from 0deg,
    rgba(30, 136, 229, 0.55),
    rgba(67, 160, 71, 0.55),
    rgba(229, 57, 53, 0.55),
    rgba(106, 27, 154, 0.55),
    rgba(249, 168, 37, 0.55)
  );
  animation: events-spin 7s linear infinite;
}
.events-hero-art__wheel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: rgba(18, 24, 42, 0.92);
  border: 1px solid rgba(30, 136, 229, 0.35);
}

.events-hero-art__arcade {
  position: absolute;
  bottom: 14px;
  width: 110px;
  height: 150px;
  border-radius: 12px;
  border: 1px solid rgba(30, 136, 229, 0.45);
  background: linear-gradient(
    160deg,
    rgba(30, 38, 64, 0.92),
    rgba(18, 24, 42, 0.92)
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.events-hero-art__arcade::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 14px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(30, 136, 229, 0.55),
    rgba(249, 168, 37, 0.35)
  );
  box-shadow: 0 0 22px rgba(30, 136, 229, 0.18);
}
.events-hero-art__arcade::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  height: 22px;
  border-radius: 999px;
  background: rgba(249, 168, 37, 0.16);
  border: 1px solid rgba(249, 168, 37, 0.4);
}
.events-hero-art__arcade--left {
  left: 10px;
  transform: rotate(-4deg);
}
.events-hero-art__arcade--right {
  right: 10px;
  transform: rotate(4deg);
}

.events-hero-art__trophy {
  position: absolute;
  font-size: 22px;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4));
  animation: events-float 3.8s ease-in-out infinite;
}
.events-hero-art__trophy--a {
  left: 34px;
  top: 18px;
  animation-delay: 0.2s;
}
.events-hero-art__trophy--b {
  right: 40px;
  top: 30px;
  animation-delay: 0.8s;
}
.events-hero-art__trophy--c {
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  animation-delay: 1.4s;
}

@keyframes events-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes events-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.event-banner {
  display: grid;
  grid-template-columns: minmax(220px, 42%) 1fr;
  gap: 24px;
  border: 1px solid rgba(30, 136, 229, 0.45);
  border-radius: 14px;
  background: rgba(18, 24, 42, 0.55);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
@media (max-width: 900px) {
  .event-banner {
    grid-template-columns: 1fr;
  }
}
.event-banner__media {
  position: relative;
  min-height: 220px;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(249, 168, 37, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(30, 136, 229, 0.18),
      transparent 55%
    ),
    linear-gradient(160deg, rgba(30, 38, 64, 0.92), rgba(18, 24, 42, 0.92));
}
.event-banner__bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
}
.event-banner__badge {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(18, 24, 42, 0.72);
  border: 1px solid rgba(30, 136, 229, 0.55);
}
.event-banner__badge-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 11px;
  color: #fff;
}
.event-banner__body {
  padding: 22px 22px 18px;
}
.event-banner__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.event-urgency {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(249, 168, 37, 0.45);
  background: rgba(249, 168, 37, 0.1);
  box-shadow: 0 0 28px rgba(249, 168, 37, 0.12);
}
.event-bonus {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.event-banner__meta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 700px) {
  .event-banner__meta {
    grid-template-columns: 1fr;
  }
}
.meta-item {
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}
.meta-item__k {
  font-size: 12px;
  color: #aeb8cc;
  letter-spacing: 0.02em;
}
.meta-item__v {
  margin-top: 4px;
  font-size: 14px;
}

.theme-hex {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}
.theme-hex--blue {
  background: linear-gradient(
    145deg,
    rgba(30, 136, 229, 0.9),
    rgba(13, 71, 161, 0.9)
  );
}
.theme-hex--purple {
  background: linear-gradient(
    145deg,
    rgba(106, 27, 154, 0.92),
    rgba(59, 10, 87, 0.92)
  );
}
.theme-hex--red {
  background: linear-gradient(
    145deg,
    rgba(229, 57, 53, 0.92),
    rgba(183, 28, 28, 0.92)
  );
}
.theme-hex--green {
  background: linear-gradient(
    145deg,
    rgba(67, 160, 71, 0.92),
    rgba(27, 94, 32, 0.92)
  );
}
.theme-hex--yellow {
  background: linear-gradient(
    145deg,
    rgba(249, 168, 37, 0.92),
    rgba(230, 81, 0, 0.92)
  );
}
.theme-hex--teal {
  background: linear-gradient(
    145deg,
    rgba(0, 188, 212, 0.92),
    rgba(0, 96, 100, 0.92)
  );
}

.event-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}
@media (max-width: 1000px) {
  .event-schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .event-schedule-grid {
    grid-template-columns: 1fr;
  }
}
.event-card {
  background: rgba(30, 38, 64, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}
.event-card:hover {
  transform: scale(1.01);
  border-color: rgba(30, 136, 229, 0.45);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
}
.event-card--active {
  border-color: rgba(30, 136, 229, 0.6);
  box-shadow:
    0 0 0 1px rgba(249, 168, 37, 0.25),
    0 18px 44px rgba(0, 0, 0, 0.32);
}
.event-card__head {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
}
.event-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.event-card__sub {
  font-family: var(--font-section);
  font-size: 13px;
  color: #aeb8cc;
  margin-top: 2px;
}
.event-card__tag {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(249, 168, 37, 0.5);
  background: rgba(249, 168, 37, 0.12);
  color: #fff;
}
.event-card__dates {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--arcade-yellow);
  font-size: 13px;
}
.event-card__list {
  margin: 10px 0 0;
  padding-left: 1.1em;
  color: #e8ecf4;
}
.event-card__list li {
  margin: 8px 0;
}

.event-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
  align-items: stretch;
}
@media (max-width: 1000px) {
  .event-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .event-steps {
    grid-template-columns: 1fr;
  }
}
.event-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(67, 160, 71, 0.25);
  border-radius: 12px;
  padding: 16px 16px 14px;
  position: relative;
}
.event-step__icon {
  margin-bottom: 10px;
}
.event-step__list {
  margin: 10px 0 0;
  padding-left: 1.1em;
}
.event-step__list li {
  margin: 8px 0;
  color: #e8ecf4;
}
.event-step__line {
  display: none;
}

.quiz-panel {
  display: grid;
  grid-template-columns: minmax(220px, 36%) 1fr;
  gap: 18px;
  border: 1px solid rgba(106, 27, 154, 0.55);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(30, 38, 64, 0.85);
}
@media (max-width: 900px) {
  .quiz-panel {
    grid-template-columns: 1fr;
  }
}
.quiz-panel__art {
  min-height: 220px;
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(106, 27, 154, 0.35),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 65%,
      rgba(30, 136, 229, 0.22),
      transparent 55%
    ),
    linear-gradient(160deg, rgba(18, 24, 42, 0.92), rgba(30, 38, 64, 0.92));
  position: relative;
}
.quiz-panel__prof {
  position: absolute;
  left: 20px;
  top: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.quiz-panel__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  color: rgba(249, 168, 37, 0.92);
  text-shadow: 0 0 24px rgba(249, 168, 37, 0.18);
  animation: qm-pulse 2.2s ease-in-out infinite;
}
.quiz-panel__bubble {
  font-family: var(--font-section);
  color: #e8ecf4;
  background: rgba(106, 27, 154, 0.22);
  border: 1px solid rgba(106, 27, 154, 0.45);
  padding: 10px 12px;
  border-radius: 999px;
}
@keyframes qm-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.quiz-panel__body {
  padding: 18px 18px 16px;
}

.podium {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 16px;
  align-items: end;
}
@media (max-width: 900px) {
  .podium {
    grid-template-columns: 1fr;
  }
}
.podium-card {
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(30, 38, 64, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}
.podium-card--gold {
  transform: translateY(-10px);
  border-color: rgba(255, 213, 79, 0.75);
  background: linear-gradient(
    160deg,
    rgba(255, 213, 79, 0.14),
    rgba(30, 38, 64, 0.92)
  );
}
.podium-card--silver {
  border-color: rgba(220, 220, 225, 0.55);
  background: linear-gradient(
    160deg,
    rgba(220, 220, 225, 0.12),
    rgba(30, 38, 64, 0.92)
  );
}
.podium-card--bronze {
  border-color: rgba(205, 127, 50, 0.55);
  background: linear-gradient(
    160deg,
    rgba(205, 127, 50, 0.14),
    rgba(30, 38, 64, 0.92)
  );
}
.podium-card__place {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #fff;
}
.podium-card__name {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.podium-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
}
.podium-card__badge {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.event-list-wrap {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.event-list {
  margin: 0;
  padding-left: 1.2em;
}
.event-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.event-list li:last-child {
  border-bottom: none;
}
.event-list__pos {
  font-family: var(--font-mono);
  font-weight: 700;
  width: 26px;
  flex: 0 0 auto;
  color: #aeb8cc;
}
.event-list__score {
  font-size: 13px;
  white-space: nowrap;
}
.row-flash {
  animation: rowFlash 900ms ease-in-out;
}
@keyframes rowFlash {
  0% {
    background: rgba(0, 188, 212, 0.18);
  }
  100% {
    background: transparent;
  }
}

.event-theme-card {
  border-color: color-mix(in srgb, var(--theme) 65%, rgba(255, 255, 255, 0.1));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}
.event-theme-card:hover {
  transform: scale(1.02);
  border-color: var(--theme);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 34px color-mix(in srgb, var(--theme) 35%, transparent);
}
.event-theme-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.event-theme-card__title {
  font-family: var(--font-display);
  font-weight: 700;
}
.event-theme-card__games {
  margin-top: 10px;
  font-size: 13px;
  color: #e8ecf4;
}

.event-benefit-card {
  color: var(--playroom-night);
  background: #fff;
  border-color: rgba(30, 136, 229, 0.18);
}
.event-benefit-card .text-muted {
  color: #5c6478;
}
.event-benefit-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(67, 160, 71, 0.14);
  border: 1px solid rgba(67, 160, 71, 0.35);
  margin-bottom: 10px;
  font-size: 20px;
}

.cta-countdowns {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .cta-countdowns {
    grid-template-columns: 1fr;
  }
}
.cta-countdowns__item {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}
.cta-countdowns__k {
  font-size: 12px;
  color: #aeb8cc;
}
.cta-countdowns__v {
  margin-top: 6px;
  font-size: 18px;
}

.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-hidden {
  display: none;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 42, 0.88);
  backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  border-radius: 14px;
  border: 1px solid rgba(30, 136, 229, 0.45);
  background: var(--hex-surface);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.55);
  padding: 18px 18px 16px;
}
.modal__panel--wide {
  max-width: 760px;
}
.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.modal__close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}
.modal__close:hover {
  border-color: rgba(249, 168, 37, 0.55);
}
.quiz-form label {
  display: block;
  margin: 8px 0;
}
.quiz-q {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 12px 10px;
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.04);
}
.quiz-q legend {
  font-family: var(--font-section);
  font-weight: 600;
  margin-bottom: 8px;
}
.quiz-result {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(67, 160, 71, 0.4);
  background: rgba(67, 160, 71, 0.12);
}

/* Common Room - room selector */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) {
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .room-grid {
    grid-template-columns: 1fr;
  }
}

.room-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(18, 24, 42, 0.55);
  border: 1px solid rgba(30, 136, 229, 0.25);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
  min-height: 44px;
}
.room-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 136, 229, 0.6);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.36);
}

.room-card__iso {
  position: relative;
  height: 178px;
  background: linear-gradient(
    160deg,
    rgba(30, 38, 64, 0.92),
    rgba(18, 24, 42, 0.92)
  );
}

.iso-floor {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 68%;
  height: 54%;
  transform: translate(-50%, -50%) skewX(-18deg) rotate(-2deg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(249, 168, 37, 0.08);
}
.iso-wall {
  position: absolute;
  top: 30px;
  width: 54%;
  height: 62%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.iso-wall--left {
  left: -6%;
  transform: skewY(16deg);
}
.iso-wall--right {
  right: -6%;
  transform: skewY(-16deg);
}
.iso-prop {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: rgba(30, 136, 229, 0.18);
  border: 1px solid rgba(249, 168, 37, 0.4);
  box-shadow:
    0 0 0 1px rgba(30, 136, 229, 0.25),
    0 20px 48px rgba(0, 0, 0, 0.35);
}

.room-card__body {
  padding: 16px 16px 14px;
}
.room-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.room-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.room-card__desc {
  margin: 8px 0 0;
  color: #aeb8cc;
}

.room-card__cta {
  display: inline-flex;
  margin-top: 14px;
  min-height: 44px;
  align-items: center;
}

.phase-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(249, 168, 37, 0.55);
  background: rgba(249, 168, 37, 0.12);
  color: #fff;
}

.room-feature {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.room-feature__k {
  font-size: 12px;
  color: #aeb8cc;
  letter-spacing: 0.02em;
}
.room-feature__v {
  margin-top: 6px;
}

.progress-bar {
  margin-top: 8px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(67, 160, 71, 0.95),
    rgba(249, 168, 37, 0.9)
  );
}

.mini-table {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}
.mini-row {
  display: grid;
  grid-template-columns: 30px 1fr 110px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.jackpot {
  margin-top: 8px;
  font-size: 18px;
}
.room-of-week {
  margin-top: 8px;
  font-family: var(--font-section);
  font-weight: 600;
  color: #fff;
}

.pattern-strip {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pattern-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(30, 136, 229, 0.35);
  background: rgba(30, 136, 229, 0.12);
  color: #fff;
}

.room-toggle {
  margin-top: 8px;
  min-height: 44px;
}
.stats-panel.is-hidden {
  display: none;
}
.stats-panel {
  margin-top: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.stats-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-row:last-child {
  border-bottom: none;
}

.tips .tip {
  display: none;
  margin-top: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.tips .tip.is-active {
  display: block;
}
.tips-dots {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.dot.is-on {
  background: rgba(249, 168, 37, 0.7);
  border-color: rgba(249, 168, 37, 0.7);
}

.lock-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.room-card.is-locked {
  border-color: rgba(255, 255, 255, 0.16);
}
.tooltip {
  margin-top: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(249, 168, 37, 0.35);
  background: rgba(18, 24, 42, 0.86);
  color: #fff;
  font-size: 13px;
}
.tooltip.is-hidden {
  display: none;
}
.btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Toast (client-only confirmations) */
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(10px);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(249, 168, 37, 0.45);
  background: rgba(18, 24, 42, 0.92);
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
  z-index: 450;
}
.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Utility */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.text-center {
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
