:root {
  --bg: #07010c;
  --panel: #120612;
  --pink: #ff2f86;
  --pink-hot: #ff5aaa;
  --pink-soft: #ffd0ea;
  --line: rgba(255, 90, 170, 0.72);
  --line-dim: rgba(255, 120, 180, 0.28);
  --text: #fff7fb;
  --muted: #e7c3d8;
  --dim: #b892aa;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --script: "Great Vibes", cursive;
  --shadow: 0 0 22px rgba(255, 40, 140, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 45% at 50% -8%, rgba(255, 60, 140, 0.22), transparent 58%),
    radial-gradient(ellipse 42% 32% at 100% 8%, rgba(140, 20, 90, 0.28), transparent 55%),
    radial-gradient(ellipse 36% 28% at 0% 30%, rgba(90, 10, 60, 0.24), transparent 52%),
    linear-gradient(180deg, #120610 0%, #07010c 42%, #050008 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: -4%;
  z-index: -2;
  background:
    center top / cover no-repeat url("../media/banner.png");
  filter: blur(18px) saturate(1.25) brightness(0.42);
  opacity: 0.55;
  transform: scale(1.06);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 47, 134, 0.12), transparent 42%),
    radial-gradient(ellipse at 12% 78%, rgba(255, 90, 170, 0.08), transparent 40%),
    radial-gradient(ellipse at 88% 70%, rgba(240, 197, 106, 0.06), transparent 38%),
    linear-gradient(180deg, rgba(7, 1, 12, 0.35) 0%, rgba(7, 1, 12, 0.72) 48%, rgba(5, 0, 8, 0.92) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 90, 160, 0.025) 0 1px,
      transparent 1px 56px
    );
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--pink);
  color: #2a0414;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.skip:focus {
  top: 0.6rem;
}

.shell {
  width: min(1220px, calc(100% - 1.6rem));
  margin: 0 auto;
  padding-bottom: 1.4rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.75rem 0 0.55rem;
}

main {
  position: relative;
  z-index: 1;
}

.topbar.is-scrolled {
  background: rgba(7, 1, 12, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.topbar-inner {
  width: min(1220px, calc(100% - 1.6rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: max-content;
}

.crown {
  object-fit: cover;
  object-position: center 48%;
  filter: drop-shadow(0 0 10px rgba(255, 50, 150, 0.75));
}

.brand .crown {
  width: 52px;
  height: 32px;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-type strong {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff, #ffb3da 55%, #ff4d9a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-type small {
  margin-top: 0.05rem;
  font-family: var(--script);
  font-size: 0.95rem;
  color: var(--pink-hot);
  text-shadow: 0 0 10px rgba(255, 60, 160, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.4rem;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  color: var(--pink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav a svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav a:hover {
  color: white;
  text-shadow: 0 0 12px rgba(255, 70, 160, 0.8);
}

.nav a[aria-current="page"] {
  color: white;
  background: linear-gradient(180deg, #ff7ab8, var(--pink) 55%, #e21874);
  box-shadow: 0 0 16px rgba(255, 45, 140, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.top-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tribute {
  position: relative;
  z-index: 6;
}

.tribute-btn,
.icon-btn {
  border: 1px solid var(--line);
  background: rgba(16, 3, 14, 0.8);
  box-shadow: var(--shadow), inset 0 0 12px rgba(255, 40, 140, 0.08);
}

.tribute-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.25rem 0.7rem 0.25rem 0.45rem;
  border-radius: 999px;
}

.tribute-btn small {
  display: block;
  color: var(--pink-soft);
  font-size: 0.66rem;
  text-align: left;
}

.tribute-btn strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-align: left;
}

.tribute-btn.history-btn {
  min-height: 48px;
  padding-right: 0.75rem;
}

.history-stats {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.history-stats strong {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.history-stats em {
  font-style: normal;
  color: rgba(255, 210, 230, 0.78);
  white-space: nowrap;
}

.history-stats em span {
  color: #fff;
  font-weight: 750;
}

.tribute-btn .chev {
  width: 14px;
  height: 14px;
  margin-left: 0.15rem;
  fill: none;
  stroke: var(--pink-soft);
  stroke-width: 2;
}

.balance-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff5aaa, #c41862);
  box-shadow: 0 0 12px rgba(255, 47, 134, 0.45);
}

.balance-mark svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tribute-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  width: min(340px, calc(100vw - 1.2rem));
  z-index: 5;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(12, 2, 14, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), var(--shadow);
  display: none;
}

.tribute.is-open .tribute-menu {
  display: block;
}

.tribute-menu strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--pink-hot);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tribute-menu p {
  color: var(--muted);
  font-size: 0.88rem;
}

.throne-lead {
  margin: 0.35rem 0 0.75rem;
  line-height: 1.45;
}

.throne-codebox {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.65rem 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 170, 0.35);
  background: rgba(255, 47, 134, 0.08);
  text-align: center;
}

.throne-code {
  margin: 0;
  color: var(--text) !important;
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.throne-timer {
  margin: 0.15rem 0 0;
  color: var(--pink-hot) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em;
}

.throne-steps {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.throne-steps li {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.throne-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.throne-copy,
.throne-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 170, 0.55);
  background: linear-gradient(180deg, #ff5aaa, #ff2f86);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.throne-copy {
  background: transparent;
  color: var(--pink-soft);
}

.tribute-btn strong.is-credit {
  animation: credit-pop 0.7s ease;
}

@keyframes credit-pop {
  0% { transform: scale(1); color: var(--pink-hot); }
  35% { transform: scale(1.18); color: #ffe3f2; }
  100% { transform: scale(1); }
}

.credit-burst {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: burst-fade 2.8s ease forwards;
}

.credit-burst strong {
  display: block;
  padding: 0.15rem 1.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(7, 1, 12, 0.62);
  box-shadow: 0 0 40px rgba(255, 47, 134, 0.45);
  color: #ffe3f2;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.04em;
  text-shadow: 0 0 24px rgba(255, 47, 134, 0.95);
  animation: burst-rise 2.8s ease forwards;
}

.credit-core {
  position: relative;
}

.credit-burst i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5aaa;
  animation: burst-spark 1.5s ease forwards;
}

.credit-burst i:nth-child(2) { background: #ffd0ea; animation-delay: 0.05s; }
.credit-burst i:nth-child(3) { background: #ff2f86; animation-delay: 0.1s; }
.credit-burst i:nth-child(4) { background: #fff; animation-delay: 0.02s; }
.credit-burst i:nth-child(5) { width: 6px; height: 6px; animation-delay: 0.12s; }
.credit-burst i:nth-child(6) { width: 10px; height: 10px; animation-delay: 0.08s; }
.credit-burst i:nth-child(7) { background: #ffd0ea; animation-delay: 0.16s; }

@keyframes burst-rise {
  to { transform: translateY(-46px); opacity: 0; }
}

@keyframes burst-fade {
  70% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes burst-spark {
  to { transform: translate(var(--sx, 28px), var(--sy, -36px)) scale(0.2); opacity: 0; }
}

.credit-burst i:nth-child(2) { --sx: -34px; --sy: -18px; }
.credit-burst i:nth-child(3) { --sx: 42px; --sy: -8px; }
.credit-burst i:nth-child(4) { --sx: -18px; --sy: -42px; }
.credit-burst i:nth-child(5) { --sx: 16px; --sy: -48px; }
.credit-burst i:nth-child(6) { --sx: -46px; --sy: 6px; }
.credit-burst i:nth-child(7) { --sx: 8px; --sy: -22px; }

.plinko-balance strong.is-bump {
  animation: credit-pop 0.7s ease;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--pink-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover,
.tribute-btn:hover {
  border-color: #ff8ac4;
  box-shadow: 0 0 18px rgba(255, 50, 150, 0.45);
}

.account {
  position: relative;
  z-index: 6;
}

.icon-btn.is-signed-in {
  border-color: rgba(255, 90, 170, 0.85);
  box-shadow: 0 0 14px rgba(255, 47, 134, 0.35);
}

body.auth-lock {
  overflow: hidden;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 47, 134, 0.28), transparent 42%),
    rgba(4, 0, 8, 0.82);
  backdrop-filter: blur(8px);
}

.auth-overlay:not(.is-open) {
  display: none;
}

.auth-modal {
  position: relative;
  width: min(420px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  padding: 2rem 1.6rem 1.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 90, 170, 0.45);
  background: linear-gradient(180deg, rgba(28, 6, 22, 0.98), rgba(10, 1, 14, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 90, 170, 0.12),
    0 0 40px rgba(255, 47, 134, 0.28),
    0 24px 60px rgba(0, 0, 0, 0.55);
}

.auth-close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: rgba(255, 210, 230, 0.7);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.auth-close:hover {
  color: #ff5aaa;
}

.auth-title {
  margin: 0 0 1.15rem;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.01em;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 auto 1.25rem;
  padding: 0.28rem;
  width: min(280px, 100%);
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 170, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 220, 235, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-tabs button.is-on {
  color: #fff;
  background: linear-gradient(90deg, #c41a7a, #ff2f86 55%, #ff6bb5);
  box-shadow: 0 0 18px rgba(255, 47, 134, 0.45);
}

.auth-form {
  display: grid;
  gap: 0.85rem;
}

.auth-form[hidden],
.auth-footer[hidden] {
  display: none !important;
}

.auth-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 180, 0.28);
  background: rgba(8, 1, 12, 0.88);
  color: #fff;
  font-size: 0.95rem;
}

.auth-form input::placeholder {
  color: rgba(255, 200, 220, 0.45);
}

.auth-form input:focus {
  outline: none;
  border-color: #ff5aaa;
  box-shadow: 0 0 0 3px rgba(255, 47, 134, 0.18), 0 0 18px rgba(255, 47, 134, 0.2);
}

.auth-link {
  justify-self: start;
  margin: -0.15rem 0 0;
  border: 0;
  background: transparent;
  color: #ff5aaa;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.auth-link:hover {
  color: #ff8ac4;
}

.auth-error {
  margin: 0;
  color: #ff8aa8;
  font-size: 0.84rem;
  line-height: 1.35;
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 0.2rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #9b1470, #ff2f86 50%, #ff6bb5);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 22px rgba(255, 47, 134, 0.4);
  cursor: pointer;
}

.auth-submit:hover {
  filter: brightness(1.06);
}

.auth-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

.auth-footer {
  margin: 1.15rem 0 0;
  color: rgba(255, 220, 235, 0.75);
  font-size: 0.95rem;
  text-align: center;
}

.auth-footer a {
  color: #ff5aaa;
  font-weight: 700;
  text-decoration: none;
}

.auth-footer a:hover {
  color: #ff8ac4;
}

.auth-user-name {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 750;
  text-align: center;
}

.auth-user-email {
  margin: 0 0 0.85rem;
  color: rgba(255, 210, 230, 0.7);
  font-size: 0.9rem;
  text-align: center;
  word-break: break-all;
}

.auth-user-balance {
  margin: 0 0 1.1rem;
  color: #ff5aaa;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
}

.signup-gate {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 90, 170, 0.3);
  background: rgba(255, 47, 134, 0.08);
}

.signup-progress {
  margin: 0;
  color: var(--pink-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.signup-hint {
  margin: 0;
  color: rgba(255, 210, 230, 0.65);
  font-size: 0.8rem;
  line-height: 1.4;
}

.signup-meter {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.signup-meter span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff5aaa, #ff2f86);
  transition: width 0.25s ease;
}

.signup-code {
  margin: 0;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.signup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.auth-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 170, 0.45);
  background: rgba(12, 2, 14, 0.8);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

.hero {
  width: 100%;
  line-height: 0;
}

.hero-banner {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.game-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.game-show {
  position: relative;
  width: 100%;
  margin: 0.55rem 0 0.9rem;
  overflow: hidden;
}

.game-show-viewport {
  overflow: hidden;
  width: 100%;
}

.game-show-track {
  display: flex;
  width: max-content;
  gap: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.game-show-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 5vw, 4.5rem);
  z-index: 2;
  pointer-events: none;
}

.game-show-fade-left {
  left: 0;
  background: linear-gradient(90deg, #07010c 0%, transparent 100%);
}

.game-show-fade-right {
  right: 0;
  background: linear-gradient(270deg, #07010c 0%, transparent 100%);
}

.played-cover {
  position: relative;
  display: block;
  flex: 0 0 clamp(170px, 22vw, 320px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  border: 1px solid rgba(255, 100, 170, 0.45);
  background: #140610;
  color: inherit;
  box-shadow: 0 0 16px rgba(255, 40, 140, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.played-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.played-cover:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 26px rgba(255, 45, 150, 0.5);
}

.played-cover.is-soon:hover {
  transform: none;
  box-shadow: 0 0 16px rgba(255, 40, 140, 0.22);
}

.cover-soon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  background: rgba(7, 1, 12, 0.62);
  color: #fff7fb;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1.6vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .game-show-track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    transform: none !important;
  }

  .game-show-fade {
    display: none;
  }
}

.gtile {
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(42, 8, 28, 0.95), rgba(12, 2, 14, 0.96)) padding-box,
    linear-gradient(160deg, #ffd0ea, #ff3d92 42%, #8a1858) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow), inset 0 0 18px rgba(255, 40, 140, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gtile:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 26px rgba(255, 45, 150, 0.5), inset 0 0 18px rgba(255, 40, 140, 0.12);
}

.gtile a,
.gtile .gtile-body {
  min-height: 138px;
  padding: 0.7rem 0.4rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  text-align: center;
}

.gtile svg.art {
  width: 92px;
  height: 70px;
}

.gtile span {
  font-size: 0.84rem;
  font-weight: 600;
}

.site-foot {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 2rem 1.1rem 2.5rem;
  border-top: none;
  background: transparent;
}

.socials-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.8vw, 2rem);
  width: min(980px, 100%);
  margin: 0 auto;
}

.socials-line {
  flex: 1 1 auto;
  height: 2px;
  min-width: 2.4rem;
  border-radius: 999px;
  box-shadow:
    0 0 8px rgba(255, 47, 134, 0.85),
    0 0 18px rgba(255, 0, 170, 0.45);
}

.socials-rail > .socials-line:first-child {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 47, 134, 0.15) 35%, #ff2f86 100%);
}

.socials-rail > .socials-line:last-child {
  background: linear-gradient(90deg, #ff2f86 0%, rgba(255, 47, 134, 0.15) 65%, transparent 100%);
}

.socials {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.15rem, 3.5vw, 2.6rem);
  margin: 0;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.15rem 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-shadow:
    0 0 6px rgba(255, 47, 134, 0.95),
    0 0 14px rgba(255, 0, 170, 0.55),
    0 0 28px rgba(255, 47, 134, 0.35);
  filter: drop-shadow(0 0 5px rgba(255, 47, 134, 0.55));
  transition: color 0.2s ease, filter 0.2s ease, text-shadow 0.2s ease;
}

.socials a:hover {
  color: #ffd0ea;
  filter: drop-shadow(0 0 9px rgba(255, 90, 170, 0.9));
  text-shadow:
    0 0 8px rgba(255, 90, 170, 1),
    0 0 18px rgba(255, 47, 134, 0.75);
}

.socials svg,
.socials .social-crown {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.socials .social-crown {
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 47, 134, 0.8));
}

@media (max-width: 560px) {
  .socials-rail {
    gap: 0.55rem;
  }

  .socials {
    gap: 0.85rem;
  }

  .socials a {
    font-size: 0.8rem;
  }

  .socials svg,
  .socials .social-crown {
    width: 14px;
    height: 14px;
  }

  .socials-line {
    min-width: 1rem;
    height: 1.5px;
  }
}

.dash {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.panel,
.stat-card {
  position: relative;
  min-height: 132px;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(36, 8, 26, 0.94), rgba(10, 2, 12, 0.96)) padding-box,
    linear-gradient(160deg, rgba(255, 190, 220, 0.9), #ff3d92 40%, #6d1448) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow), inset 0 0 24px rgba(255, 40, 140, 0.06);
  overflow: hidden;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-height: 118px;
}

.stat-icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}

.stat-icon.crown {
  width: 58px;
  height: 36px;
  object-fit: cover;
  object-position: center 48%;
  filter: drop-shadow(0 0 12px rgba(255, 50, 150, 0.8));
}

.stat-icon.trophy svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 10px rgba(255, 211, 106, 0.45));
}

.stat-icon.spark {
  color: #ff5aaa;
}

.stat-icon.spark svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  filter: drop-shadow(0 0 10px rgba(255, 47, 134, 0.75));
}

.stat-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.stat-copy small {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--pink-soft);
  font-size: 0.92rem;
  font-weight: 650;
}

.stat-copy strong {
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 750;
  letter-spacing: 0.01em;
  text-shadow: 0 0 16px rgba(255, 60, 160, 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-copy span {
  color: rgba(255, 200, 220, 0.55);
  font-size: 0.78rem;
}

.heart {
  width: 14px;
  height: 14px;
  fill: var(--pink-hot);
}

.pot {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pot-crown {
  width: 68px;
  height: 42px;
  flex: none;
  filter: drop-shadow(0 0 12px rgba(255, 50, 150, 0.8));
}

.pot small,
.devotees-brand span {
  color: var(--pink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.pot small {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pot strong {
  display: block;
  margin-top: 0.15rem;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  text-shadow: 0 0 16px rgba(255, 60, 160, 0.45);
}

.piles {
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  flex: none;
}

.pile {
  display: flex;
  flex-direction: column-reverse;
}

.pile i {
  width: 22px;
  height: 7px;
  margin-top: -4px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 30%, #4a1230 0 40%, transparent 41%),
    repeating-linear-gradient(90deg, #ff6eb4 0 4px, #2c081c 4px 8px);
  box-shadow: inset 0 1px 0 #ffe0f2, 0 2px 2px rgba(0, 0, 0, 0.45);
}

.pile i:first-child {
  margin-top: 0;
}

.pile.gold i {
  background:
    radial-gradient(ellipse at 50% 30%, #6a4a12 0 40%, transparent 41%),
    repeating-linear-gradient(90deg, #f0c56a 0 4px, #5a3a10 4px 8px);
}

.devotees {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.devotees-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 92px;
}

.devotees-brand svg {
  width: 42px;
  height: 42px;
}

.ranks {
  display: grid;
  gap: 0.35rem;
}

.ranks li {
  list-style: none;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  color: var(--pink-soft);
  font-size: 0.92rem;
}

.ranks {
  margin: 0;
  padding: 0;
}

.ranks b {
  color: white;
  font-weight: 650;
}

.rank-name {
  margin: 0;
  font-style: normal;
  color: var(--pink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranks-empty {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.rank-crown {
  width: 28px;
  height: 18px;
  object-fit: cover;
  object-position: center 48%;
}

.rank-crown.gold {
  filter: hue-rotate(-42deg) saturate(1.7) brightness(1.2) drop-shadow(0 0 6px rgba(240, 190, 70, 0.8));
}

.rank-crown.silver {
  filter: grayscale(1) brightness(1.55) drop-shadow(0 0 6px rgba(220, 220, 230, 0.7));
}

.rank-crown.bronze {
  filter: hue-rotate(-18deg) saturate(0.7) brightness(0.85) sepia(0.45) drop-shadow(0 0 6px rgba(180, 110, 50, 0.7));
}

.page-intro {
  padding: 0.4rem 0 0.9rem;
}

.page-intro h1 {
  margin: 0.2rem 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.page-intro h1 em {
  color: var(--pink-hot);
}

.page-intro p {
  max-width: 40rem;
  color: var(--muted);
}

.eyebrow {
  color: #f0c56a;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.floor-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filters button {
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 180, 0.28);
  background: rgba(40, 10, 30, 0.55);
  color: #f6d5e8;
  padding: 0.42rem 0.85rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.filters button.is-active,
.filters button:hover {
  color: white;
  border-color: transparent;
  background: linear-gradient(180deg, #ff8ec4, var(--pink));
  box-shadow: 0 0 14px rgba(255, 45, 140, 0.4);
}

.floor-count {
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.plaque {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 0.9rem 0.95rem 0.85rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(40, 8, 28, 0.95), rgba(10, 2, 12, 0.98)) padding-box,
    linear-gradient(160deg, #ffd0ea, #ff3d92 40%, #7a184c) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.plaque.is-hidden {
  display: none;
}

.plaque.is-lit {
  box-shadow: 0 0 28px rgba(255, 45, 150, 0.55);
}

.plaque-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plaque .art {
  width: 110px;
  height: 82px;
  margin: 0.35rem auto 0.2rem;
}

.index {
  font-family: var(--display);
  font-style: italic;
  color: #f0c56a;
}

.badge {
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--pink-hot);
  padding: 0.18rem 0.5rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plaque h2 {
  margin: 0.15rem 0 0.35rem;
  text-align: center;
  font-size: 1.2rem;
}

.plaque .blurb {
  color: var(--muted);
  text-align: center;
  flex: 1;
}

.plaque-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.stake {
  color: #f0c56a;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.btn {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.48rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
}

.btn:hover {
  background: rgba(255, 47, 134, 0.16);
  box-shadow: var(--shadow);
}

.fine {
  margin: 0.9rem 0 0.2rem;
  color: var(--dim);
  font-size: 0.78rem;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  z-index: 70;
  width: min(440px, calc(100% - 1.5rem));
  transform: translate(-50%, 140%);
  padding: 0.85rem 1rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(14, 2, 16, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.toast.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.toast strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--pink-hot);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

:focus-visible {
  outline: 2px solid #f0c56a;
  outline-offset: 3px;
}

@keyframes drift {
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes glow {
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 8px 28px rgba(255, 20, 110, 0.6),
      0 0 34px rgba(255, 50, 160, 0.9);
  }
}

.games-banner {
  position: relative;
  height: 168px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 90, 170, 0.35);
}

.games-banner .scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.games-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 0, 16, 0.15) 20%, rgba(18, 0, 20, 0.72) 68%);
}

.games-lockup {
  position: absolute;
  z-index: 1;
  right: max(1.2rem, calc(50% - 520px));
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.games-lockup .crown {
  width: 54px;
  height: 34px;
}

.games-lockup strong {
  font-family: var(--script);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 0.85;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 60, 160, 0.95);
}

.games-lockup span {
  color: #ffe4f4;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.games-shell {
  padding-top: 1.15rem;
}

.games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.games-head h1 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
}

.games-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: min(280px, 100%);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 180, 0.45);
  background: rgba(18, 4, 16, 0.8);
}

.games-search svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: #e7b6d0;
  stroke-width: 2;
}

.games-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: white;
}

.games-search input::placeholder {
  color: #b48aa4;
}

.games-filters {
  margin-bottom: 0.9rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.gcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  border-radius: 16px;
  border: 1px solid rgba(255, 100, 170, 0.38);
  background: #140610;
  box-shadow: 0 0 16px rgba(255, 40, 140, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(255, 45, 150, 0.4);
}

.gcard.is-soon:hover {
  transform: none;
  box-shadow: 0 0 16px rgba(255, 40, 140, 0.16);
}

.gcard.is-hidden {
  display: none;
}

.gcard-art {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 45, 140, 0.35), transparent 58%),
    linear-gradient(180deg, #2a1024, #120610);
}

.gcard-art .cover-soon {
  inset: 0;
}

.gcard-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gcard-art svg {
  width: 72%;
  height: auto;
}

.gcard-art .bj-poster {
  width: 100%;
  height: 100%;
}

.gcard-copy {
  padding: 0.7rem 0.8rem 0.85rem;
}

.gcard h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1rem;
  font-weight: 700;
}

.gcard h2 img {
  width: 18px;
  height: 12px;
}

.gcard p {
  margin-top: 0.15rem;
  color: #c9a4bc;
  font-size: 0.8rem;
}

.games-empty {
  margin: 1.5rem 0;
  text-align: center;
  color: var(--muted);
}

.plinko-skin {
  background: #07010c;
}

.plinko-skin .topbar {
  padding-top: 1.15rem;
  padding-bottom: 0.7rem;
}

.plinko-skin main {
  position: relative;
  z-index: 1;
}

.casino-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 50% 18%, rgba(255, 70, 150, 0.18), transparent 62%),
    radial-gradient(ellipse 42% 34% at 8% 78%, rgba(255, 47, 134, 0.12), transparent 68%),
    radial-gradient(ellipse 38% 30% at 92% 72%, rgba(180, 40, 110, 0.14), transparent 65%),
    radial-gradient(ellipse 80% 55% at 50% 110%, rgba(20, 4, 14, 0.95), transparent 55%),
    linear-gradient(180deg, #140610 0%, #09010c 42%, #050008 100%);
}

.casino-bg.is-lounge {
  background: transparent;
}

.casino-bg.is-lounge .card,
.casino-bg.is-lounge .chip,
.casino-bg.is-lounge .die,
.casino-bg.is-lounge .wheel {
  opacity: 0.55;
  filter: saturate(1.05);
}

.casino-bg.is-lounge::before,
.casino-bg.is-lounge::after {
  opacity: 0.2;
}

.casino-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(rgba(255, 180, 210, 0.05) 0.6px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.25) 0.8px, transparent 0.9px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: soft-light;
}

.casino-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 18%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.72) 100%);
}

.spot,
.wheel,
.card,
.chip,
.die {
  position: absolute;
}

.spot-pink,
.spot-violet {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(10px);
  animation: spot-pulse 7s ease-in-out infinite;
}

.spot-pink {
  left: -90px;
  top: 6%;
  background: radial-gradient(circle, rgba(255, 47, 134, 0.32), transparent 68%);
}

.spot-violet {
  right: -80px;
  top: -40px;
  background: radial-gradient(circle, rgba(140, 40, 220, 0.28), transparent 68%);
  animation-direction: reverse;
}

.wheel {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 12px solid #f0c56a;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 40%),
    repeating-conic-gradient(#c81e4a 0 9.7deg, #1a0a10 9.7deg 19.4deg);
  box-shadow:
    0 22px 36px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(240, 197, 106, 0.28),
    inset 0 0 0 36px rgba(7, 1, 12, 0.72),
    inset 0 2px 0 rgba(255, 255, 255, 0.25);
  animation: wheel-spin 26s linear infinite;
  filter: saturate(1.05);
}

.wheel::before,
.wheel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.wheel::before {
  inset: 18%;
  border: 2px dashed rgba(240, 197, 106, 0.7);
}

.wheel::after {
  inset: 38%;
  background: radial-gradient(circle, #ffe7a8, #e0a322 62%, #ff2f86 64%);
  box-shadow: 0 0 16px rgba(255, 211, 106, 0.7);
}

.w1 { left: -78px; bottom: 6%; }
.w2 { width: 170px; height: 170px; right: -46px; top: 14%; animation-duration: 34s; animation-direction: reverse; }

.card {
  width: 74px;
  height: 104px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 0.35rem;
  color: #c4122f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #fffdfb 0%, #f4ebe3 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.45),
    0 2px 0 rgba(255, 255, 255, 0.65) inset,
    0 -2px 4px rgba(0, 0, 0, 0.12) inset;
  animation: chip-drift 12s ease-in-out infinite;
  transform-style: preserve-3d;
}

.card.is-black {
  color: #17120f;
}

.card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 6px;
  border: 1px solid rgba(26, 6, 18, 0.08);
  pointer-events: none;
}

.card-corner {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 0;
  line-height: 1;
  z-index: 1;
}

.card-corner.is-top {
  top: 6px;
  left: 7px;
}

.card-corner.is-bot {
  right: 7px;
  bottom: 6px;
  transform: rotate(180deg);
}

.card-corner b {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  color: inherit;
}

.card-corner i {
  font-style: normal;
  font-size: 0.72rem;
  margin-top: 1px;
  color: inherit;
}

.card > em {
  font-style: normal;
  font-size: 1.7rem;
  line-height: 1;
  color: inherit;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.k1 { left: 1.2%; top: 18%; transform: rotate(-14deg) translateZ(0); }
.k2 { left: 4.2%; top: 22%; transform: rotate(8deg); animation-delay: -2s; }
.k3 { right: 2%; bottom: 12%; transform: rotate(12deg); animation-delay: -4s; }
.k4 { right: 5.5%; bottom: 16%; transform: rotate(-8deg); animation-delay: -1s; }
.k5 { left: 2%; bottom: 18%; transform: rotate(-6deg); animation-delay: -5s; }

.chip {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff8e4;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  border: 5px solid rgba(255, 244, 210, 0.92);
  box-shadow:
    0 16px 24px rgba(0, 0, 0, 0.42),
    0 2px 0 rgba(255, 255, 255, 0.35) inset,
    0 -8px 12px rgba(0, 0, 0, 0.35) inset;
  animation: chip-drift 10s ease-in-out infinite;
}

.chip::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.55);
  opacity: 0.85;
}

.chip::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 2px solid rgba(255, 244, 210, 0.85);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.35);
}

.chip.gold {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 42%),
    radial-gradient(circle, #1a0612 0 30%, transparent 31%),
    repeating-conic-gradient(#f0c56a 0 16deg, #7a4a12 16deg 32deg);
}

.chip.pink {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), transparent 42%),
    radial-gradient(circle, #1a0612 0 30%, transparent 31%),
    repeating-conic-gradient(#ff2f86 0 16deg, #ffe1f0 16deg 32deg);
}

.chip.black {
  color: #fff;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.2), transparent 42%),
    radial-gradient(circle, #1a0612 0 30%, transparent 31%),
    repeating-conic-gradient(#1a1a1a 0 16deg, #f0c56a 16deg 32deg);
}

.chip.sm { width: 58px; height: 58px; font-size: 0.75rem; }

.chip.gold:nth-of-type(1),
.chip.gold { left: 1%; top: 46%; }
.chip.pink { right: 1.5%; top: 38%; animation-delay: -3s; }
.chip.black { right: 3%; bottom: 8%; animation-delay: -6s; }
.chip.gold.sm { left: 6%; top: 62%; animation-delay: -2s; }
.chip.pink.sm { right: 6%; top: 8%; animation-delay: -8s; }

.die {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, #ffffff, #efe4ea 70%);
  box-shadow:
    0 12px 18px rgba(0, 0, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(0, 0, 0, 0.16);
  animation: chip-drift 9s ease-in-out infinite;
}

.die::before,
.die::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a0612;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.d1 { left: 8%; bottom: 8%; }
.d1::before { top: 8px; left: 8px; }
.d1::after { bottom: 8px; right: 8px; box-shadow: 0 -18px -18px #1a0612, 0 1px 0 rgba(255, 255, 255, 0.35); }

.d2 { right: 9%; bottom: 28%; animation-delay: -3s; transform: rotate(18deg); }
.d2::before { top: 8px; left: 8px; box-shadow: 18px 0 #1a0612, 0 18px #1a0612; }
.d2::after { bottom: 8px; right: 8px; box-shadow: -18px 0 #1a0612, 0 -18px #1a0612; }

.plinko-page {
  padding-top: 1.35rem;
}

.plinko-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 348px);
  gap: 0.9rem;
  align-items: stretch;
}

.how-to {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 100, 170, 0.48);
  background: linear-gradient(180deg, rgba(58, 16, 40, 0.96), rgba(16, 4, 12, 0.96));
  box-shadow: 0 0 22px rgba(255, 40, 130, 0.16);
}

.how-to h2 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.how-to ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.how-to li {
  color: #e7c3d8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.how-to strong {
  color: #fff;
}

.plinko-board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1rem 1.1rem 0.35rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 80, 160, 0.72);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 40, 120, 0.16), transparent 46%), #10010c;
  box-shadow: 0 0 22px rgba(255, 40, 130, 0.22), inset 0 0 40px rgba(255, 20, 80, 0.06);
  animation: frame-glow 3.8s ease-in-out infinite;
}

.plinko-board.is-live {
  animation: frame-hit 0.55s ease;
}

.plinko-title {
  position: relative;
  z-index: 1;
  text-align: center;
}

.float-heart {
  position: absolute;
  color: #ff4d9a;
  font-size: 0.85rem;
  opacity: 0.7;
  text-shadow: 0 0 10px rgba(255, 47, 134, 0.8);
  animation: heart-float 4.2s ease-in-out infinite;
  pointer-events: none;
}

.float-heart:nth-child(1) { left: 18%; top: 18%; animation-delay: 0s; }
.float-heart:nth-child(2) { right: 16%; top: 8%; animation-delay: 1.1s; font-size: 0.65rem; }
.float-heart:nth-child(3) { right: 22%; top: 42%; animation-delay: 2s; }

.plinko-crown {
  width: 58px;
  height: 38px;
  margin: 0 auto 0.05rem;
  object-fit: cover;
  object-position: center 42%;
  filter: drop-shadow(0 0 10px rgba(255, 50, 150, 0.8));
  animation: crown-float 3.2s ease-in-out infinite;
}

.plinko-script {
  margin: 0;
  font-family: var(--script);
  font-size: 2.35rem;
  line-height: 0.7;
}

.plinko-title h1 {
  margin: 0.15rem 0 0;
  font-family: var(--sans);
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  background: linear-gradient(100deg, #fff 15%, #ffd0ea 42%, #fff 68%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 47, 134, 0.75));
  animation: title-sheen 4.8s linear infinite;
}

.plinko-tag {
  margin: 0.15rem 0 0.2rem;
  color: #f6d0e4;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.plinko-tag i {
  color: var(--pink);
  font-style: normal;
  letter-spacing: 0;
  margin: 0 0.35rem;
  display: inline-block;
  animation: heart-beat 1.6s ease-in-out infinite;
}

.plinko-stage {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  margin: 0 auto;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.plinko-art,
.plinko-stage canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.plinko-stage canvas {
  position: absolute;
  inset: 0;
  height: 100%;
  pointer-events: none;
}

.plinko-stage.is-jackpot {
  animation: board-shake 0.45s ease;
}

.plinko-panel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.plinko-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 100, 170, 0.48);
  background: linear-gradient(180deg, rgba(58, 16, 40, 0.96), rgba(16, 4, 12, 0.96));
  box-shadow: 0 0 22px rgba(255, 40, 130, 0.16);
}

.plinko-balance {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.9rem 0.95rem 0.8rem;
}

.plinko-balance::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 130, 180, 0.7), transparent);
}

.plinko-play,
.plinko-history {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem;
}

.plinko-kicker {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #d7aec6;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plinko-kicker svg,
.plinko-drop svg,
.plinko-drop-five svg,
.plinko-sound svg,
.plinko-tabs svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.plinko-balance strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1.55rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.plinko-balance .is-taken {
  text-align: right;
}

.plinko-balance .is-taken .plinko-kicker {
  justify-content: flex-end;
  color: #ff5aaa;
}

.plinko-balance .is-taken strong {
  color: #ff4d9a;
}

.plinko-balance strong.is-bump {
  animation: score-pop 0.35s ease;
}

.plinko-status {
  margin: 0;
  text-align: center;
  color: #ffd0ea;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.plinko-status.is-pop {
  animation: score-pop 0.4s ease;
}

.plinko-drop,
.plinko-drop-five {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
}

.plinko-drop {
  position: relative;
  overflow: hidden;
  padding: 0.9rem 1rem;
  color: white;
  background: linear-gradient(180deg, #ff78b8, #ff2f86);
  box-shadow: 0 8px 18px rgba(255, 40, 130, 0.32);
}

.plinko-drop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.42) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: sheen 2.8s ease-in-out infinite;
  pointer-events: none;
}

.plinko-drop svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  fill: white;
  stroke: none;
  animation: heart-beat 1.35s ease-in-out infinite;
}

.plinko-drop-five {
  padding: 0.72rem 1rem;
  color: #ffe4f2;
  background: #1a0a14;
  border: 1px solid rgba(255, 100, 170, 0.55);
}

.plinko-drop:hover,
.plinko-drop-five:hover {
  transform: translateY(-1px);
}

.plinko-drop:disabled,
.plinko-drop-five:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.plinko-sound {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f3d5e6;
  font-weight: 600;
}

.plinko-sound span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.switch {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #3a2230;
  border: 1px solid rgba(255, 130, 180, 0.35);
  position: relative;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.18s ease;
}

.switch.is-on {
  background: #ff2f86;
  border-color: #ff5aaa;
}

.switch.is-on::after {
  transform: translateX(20px);
}

.plinko-tabs {
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 120, 180, 0.18);
}

.plinko-tabs button {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.2rem 0.55rem;
  color: #b892aa;
  font-weight: 600;
}

.plinko-tabs button.is-on {
  color: white;
  box-shadow: inset 0 -2px 0 #ff2f86;
}

.plinko-feed {
  list-style: none;
  margin: -0.2rem 0 0;
  padding: 0 0.1rem;
  max-height: 230px;
  overflow: auto;
}

.plinko-feed li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.1rem;
  border-bottom: 1px solid rgba(255, 120, 180, 0.12);
}

.plinko-feed li.is-new {
  animation: row-in 0.45s ease;
}

.plinko-feed img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  object-position: center 42%;
}

.plinko-feed .who {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
}

.plinko-feed small {
  color: #b892aa;
  font-size: 0.75rem;
}

.plinko-feed li > strong {
  color: #ff4d9a;
  font-variant-numeric: tabular-nums;
}

.plinko-feed .is-empty {
  display: block;
  color: #b892aa;
  text-align: center;
  border: 0;
  padding: 1rem 0;
}

.plinko-feed li.pusher-drain {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.plinko-feed .pusher-drain-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.plinko-feed .pusher-drain-copy small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plinko-feed li.pusher-drain > strong {
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes spot-pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes beam-sway {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

@keyframes wheel-spin {
  to { transform: rotate(360deg); }
}

@keyframes chip-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.4); }
}

@keyframes score-pop {
  40% { transform: scale(1.14); color: #ffe7a8; }
}

@keyframes frame-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(255, 40, 130, 0.18), inset 0 0 28px rgba(255, 20, 80, 0.05); }
  50% { box-shadow: 0 0 34px rgba(255, 40, 130, 0.42), inset 0 0 46px rgba(255, 20, 80, 0.1); }
}

@keyframes frame-hit {
  0% { box-shadow: 0 0 10px rgba(255, 40, 130, 0.2); }
  40% { box-shadow: 0 0 42px rgba(255, 80, 170, 0.7); }
  100% { box-shadow: 0 0 22px rgba(255, 40, 130, 0.28); }
}

@keyframes crown-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes heart-float {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-8px); opacity: 0.9; }
}

@keyframes title-sheen {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  18% { transform: scale(1.18); }
  32% { transform: scale(1); }
  48% { transform: scale(1.1); }
}

@keyframes sheen {
  0%, 55% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

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

@keyframes board-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  45% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
}

@keyframes jackpot-flash {
  0% { opacity: 0; }
  25% { opacity: 1; box-shadow: inset 0 0 80px rgba(255, 210, 110, 0.45); }
  100% { opacity: 0; }
}

@media (max-width: 1100px) {
  .game-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav a {
    padding: 0.42rem 0.6rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 720px) {
  .dash {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 5;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .game-row,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games-head {
    flex-direction: column;
    align-items: stretch;
  }

  .games-search {
    width: 100%;
  }

  .games-banner {
    height: 132px;
  }

  .plinko-layout {
    grid-template-columns: 1fr;
  }

  .wheel,
  .chip,
  .card,
  .die {
    display: none;
  }

  .devotees {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .tribute-menu {
    right: 0;
    left: auto;
    width: min(340px, calc(100vw - 1.2rem));
  }
}

.slot-machine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  grid-template-areas:
    "lamps lamps"
    "screen lever";
  align-items: stretch;
  margin: 0.35rem auto 0.2rem;
  padding: 0.55rem 0.5rem 0.7rem;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffb3d4 0%, #ff4d9a 18%, #ff2f86 62%, #c21862 100%);
  box-shadow:
    0 0 0 3px #ffe3f2,
    0 0 22px rgba(255, 47, 134, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.slot-bulbs {
  grid-area: lamps;
  display: flex;
  justify-content: space-between;
  padding: 0.05rem 0.35rem 0.45rem;
}

.slot-bulbs i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ffd0ea 45%, #ff7ab8);
  box-shadow: 0 0 8px #fff, 0 0 12px #ff4d9a;
}

.slot-face {
  grid-area: screen;
  padding: 0.4rem;
  border-radius: 18px;
  background: #12010c;
  box-shadow: inset 0 0 0 2px #ff8ac4, inset 0 0 16px rgba(255, 47, 134, 0.35);
}

.slot-window {
  --line: 2px;
  --cell: calc((100cqi - (var(--line) * 4)) / 5);
  container-type: inline-size;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #ff4d9a;
  box-shadow: inset 0 0 0 2px #ffd6ea, 0 0 16px rgba(255, 47, 134, 0.4);
}

.slot-reels {
  display: grid;
  grid-template-columns: repeat(5, var(--cell));
  gap: var(--line);
  justify-content: center;
}

.slot-reel {
  width: var(--cell);
  height: calc(var(--cell) * 3);
  overflow: hidden;
  background: #000;
}

.slot-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(#ffd0ea, #ff4d9a),
    linear-gradient(#ffd0ea, #ff4d9a);
  background-size: 100% 2px, 100% 2px;
  background-position: 0 calc(33.333% - 1px), 0 calc(66.666% - 1px);
  background-repeat: no-repeat;
}

.slot-strip {
  will-change: transform;
}

.slot-cell {
  width: var(--cell);
  height: var(--cell);
  display: grid;
  place-items: center;
  padding: 7%;
}

.slot-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 47, 134, 0.95));
}

.slot-lever {
  grid-area: lever;
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  container-type: size;
}

.slot-lever:active {
  cursor: grabbing;
}

.slot-lever::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 8%;
  width: 18px;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, #ff2f86, #ff9ac8);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.35);
}

.slot-lever-pivot {
  position: absolute;
  left: 22px;
  top: 56%;
  width: 0;
  height: 0;
}

.slot-lever-hinge {
  position: absolute;
  left: -11px;
  top: -11px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe3f2, #ff5aaa 40%, #ff2f86 72%, #9a1248);
  box-shadow: 0 0 12px rgba(255, 47, 134, 0.85);
}

.slot-lever-arm {
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 18px;
  height: clamp(84px, 48cqh, 140px);
  transform-origin: 8px 100%;
  transform: rotate(12deg);
}

.slot-lever-rod {
  position: absolute;
  left: 4px;
  top: 22px;
  bottom: 6px;
  width: 9px;
  border-radius: 9px;
  background: linear-gradient(90deg, #ffe3f2, #ff4d9a 42%, #ff8ac4);
  box-shadow: 0 0 10px rgba(255, 47, 134, 0.85);
}

.slot-lever-ball {
  position: absolute;
  top: 0;
  left: -6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, #ffb3d4 26%, #ff2f86 68%, #9a1248);
  box-shadow: 0 0 16px rgba(255, 47, 134, 0.95), inset 0 -5px 8px rgba(80, 0, 30, 0.35);
}

.slot-reel.is-rolling .slot-cell img {
  filter: blur(1.4px) drop-shadow(0 0 10px rgba(255, 47, 134, 0.9));
}

.slot-cell.is-win {
  animation: slot-win 0.7s ease infinite alternate;
}

.slot-cell.is-win img {
  filter: drop-shadow(0 0 14px #ff5aaa) drop-shadow(0 0 28px #ff2f86);
}

.slot-machine.is-jackpot {
  animation: board-shake 0.45s ease;
}

.slot-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.slot-bit {
  position: absolute;
  bottom: 18%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5aaa;
  animation: slot-bit 1s ease forwards;
}

.slot-bit.is-jackpot { background: #ffe3f2; width: 12px; height: 12px; }
.slot-bit.is-cash { background: #ffd36a; }
.slot-bit.is-lock { background: #ff2f86; border-radius: 2px; }
.slot-bit.is-heels { background: #ff8ac4; }
.slot-bit.is-miss { background: #7a3a58; }

.slot-call[hidden] {
  display: none;
}

.slot-call {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px #ff2f86, 0 0 60px #ff5aaa;
  pointer-events: none;
  animation: credit-pop 0.7s ease;
}

.slot-hint {
  margin: 0.55rem 0 0.75rem;
  text-align: center;
  color: #c9a4bc;
  font-size: 0.82rem;
}

.slot-spin {
  width: 100%;
  margin-top: 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slot-pay {
  list-style: none;
  margin: 0.75rem 0 0.2rem;
  padding: 0;
}

.slot-pay li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.28rem 0;
  color: #e7d0de;
  font-size: 0.84rem;
}

.slot-pay li.is-miss {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 0.2rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 120, 180, 0.16);
}

.slot-pay img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.slot-history img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  object-position: center;
}

@keyframes slot-win {
  from { background: transparent; }
  to { background: rgba(255, 47, 134, 0.22); }
}

@keyframes slot-bit {
  to { transform: translate(var(--dx), var(--dy)) scale(0.3); opacity: 0; }
}

.bj-table {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  min-height: 520px;
  margin: 0.35rem auto 0.85rem;
  padding: 1.1rem 1.3rem 5.8rem;
  border-radius: 220px;
  border: 10px solid #3a2418;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(255, 90, 160, 0.16), transparent 42%),
    radial-gradient(ellipse at 50% 55%, #1f6b45 0%, #145338 48%, #0c3a28 78%, #071f16 100%);
  box-shadow:
    inset 0 0 0 3px rgba(255, 210, 140, 0.35),
    inset 0 0 0 7px rgba(20, 8, 4, 0.85),
    inset 0 0 60px rgba(0, 0, 0, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(255, 40, 130, 0.16);
}

.bj-table::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 210px;
  border: 1.5px dashed rgba(255, 210, 160, 0.28);
  pointer-events: none;
}

.bj-seat {
  text-align: center;
}

.bj-who {
  margin: 0.2rem 0;
  color: #ffd0ea;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bj-who strong {
  margin-left: 0.35rem;
  color: white;
  font-size: 1rem;
  letter-spacing: 0;
}

.bj-who strong.is-bust {
  color: #ff8ab6;
}

.bj-hand {
  display: flex;
  justify-content: center;
  min-height: 128px;
  margin: 0.35rem 0;
  perspective: 700px;
}

.bj-card {
  position: relative;
  width: 90px;
  height: 128px;
  margin-left: -30px;
  border-radius: 11px;
  color: #17120f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #fffefc 0%, #f3ebe4 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 -2px 5px rgba(0, 0, 0, 0.12) inset;
  animation: bj-in 0.32s ease;
  transform: translateY(0) rotate(var(--fan, 0deg)) rotateX(4deg);
}

.bj-card::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 7px;
  border: 1px solid rgba(23, 18, 15, 0.08);
  pointer-events: none;
}

.bj-card:first-child {
  margin-left: 0;
}

.bj-card:nth-child(2) { --fan: 2deg; }
.bj-card:nth-child(3) { --fan: 4deg; }
.bj-card:nth-child(4) { --fan: 6deg; }
.bj-card:nth-child(5) { --fan: 8deg; }

.bj-card.is-red,
.bj-card.is-red .bj-corner i,
.bj-card.is-red .bj-pip {
  color: #c4122f;
}

.bj-corner {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 0;
  line-height: 1;
  z-index: 1;
}

.bj-corner.is-top {
  top: 7px;
  left: 8px;
}

.bj-corner.is-bot {
  right: 8px;
  bottom: 7px;
  transform: rotate(180deg);
}

.bj-corner b {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bj-corner i {
  font-style: normal;
  font-size: 0.78rem;
  margin-top: 1px;
}

.bj-pip {
  position: absolute;
  left: 50%;
  top: 52%;
  font-size: 2.35rem;
  font-style: normal;
  line-height: 1;
  transform: translate(-50%, -50%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.bj-card.is-down {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(255, 210, 234, 0.22), transparent 46%),
    repeating-linear-gradient(135deg, #8a1848 0 7px, #2a0818 7px 14px);
  box-shadow:
    inset 0 0 0 4px #f7d7e8,
    inset 0 0 0 6px #ff2f86,
    0 12px 20px rgba(0, 0, 0, 0.42);
  color: transparent;
}

.bj-card.is-down::after {
  display: none;
}

.bj-back {
  position: absolute;
  inset: 10px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 210, 234, 0.55) 0 8px, transparent 9px),
    repeating-linear-gradient(45deg, rgba(255, 47, 134, 0.35) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(-45deg, rgba(255, 47, 134, 0.25) 0 6px, transparent 6px 12px);
  border: 1px solid rgba(255, 210, 234, 0.55);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
}

.bj-call {
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  max-width: min(420px, 92%);
  margin: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 16px;
  background: rgba(12, 2, 10, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 0 16px #ff2f86;
  animation: score-pop 0.4s ease;
}

.bj-call strong {
  font-size: 1.35rem;
}

.bj-call[hidden] {
  display: none;
}

.bj-lead,
.bj-fine {
  margin: 0;
  color: #e7c3d8;
  font-size: 0.78rem;
  line-height: 1.45;
}

.bj-stake-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bj-stake-row > span {
  color: #d7aec6;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bj-stakes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}

.bj-stakes button {
  padding: 0.42rem 0;
  border: 1px solid rgba(255, 120, 180, 0.45);
  border-radius: 999px;
  background: #1a0814;
  color: #ffd0ea;
  font-weight: 800;
  font-size: 0.82rem;
}

.bj-stakes button.is-on {
  color: white;
  border-color: transparent;
  background: radial-gradient(circle at 50% 35%, #ff8ec4, #ff2f86 70%);
  box-shadow: 0 0 12px rgba(255, 47, 134, 0.55);
}

.bj-stakes button:disabled {
  cursor: default;
  opacity: 0.7;
}

.bj-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.bj-rules li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.1rem 0.6rem;
  padding: 0.38rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 40, 120, 0.06);
}

.bj-rules li.is-on {
  background: rgba(255, 47, 134, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 190, 0.7);
}

.bj-rules span {
  font-size: 0.8rem;
  font-weight: 700;
}

.bj-rules small {
  grid-column: 1;
  color: #b892aa;
  font-size: 0.68rem;
}

.bj-rules em {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: #ff5aaa;
  font-style: normal;
  font-weight: 800;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.bj-board-controls {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 6;
  width: min(430px, calc(100% - 1.4rem));
  transform: translateX(-50%);
  display: grid;
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 120, 180, 0.45);
  background: rgba(8, 2, 12, 0.78);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.bj-board-controls[hidden] {
  display: none;
}

.bj-board-stakes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.3rem;
}

.bj-board-stakes[hidden] {
  display: none;
}

.bj-board-stakes button {
  padding: 0.55rem 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 180, 0.4);
  background: rgba(28, 8, 22, 0.95);
  color: #ffd0ea;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.bj-board-stakes button.is-on {
  border-color: #ff81cb;
  background: linear-gradient(145deg, #842c6f, #4a123d);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 85, 189, 0.35);
}

.bj-board-stakes button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bj-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.bj-actions .is-deal {
  grid-column: 1 / -1;
}

.bj-board-controls .bj-actions .plinko-drop,
.bj-board-controls .bj-actions .plinko-drop-five {
  min-height: 2.75rem;
  margin: 0;
  font-size: 0.9rem;
}

.bj-actions[hidden],
.bj-confirm[hidden],
.bj-drained[hidden] {
  display: none;
}

.bj-actions [hidden] {
  display: none;
}

.bj-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 230px;
  overflow: auto;
}

.bj-feed li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.1rem 0.5rem;
  padding: 0.5rem 0.1rem;
  border-bottom: 1px solid rgba(255, 120, 180, 0.12);
}

.bj-feed li.is-new {
  animation: row-in 0.45s ease;
}

.bj-feed span {
  font-weight: 700;
  font-size: 0.86rem;
}

.bj-feed strong {
  color: #ff4d9a;
  font-variant-numeric: tabular-nums;
}

.bj-feed em {
  grid-column: 1 / -1;
  color: #b892aa;
  font-style: normal;
  font-size: 0.72rem;
}

.bj-feed .is-empty {
  display: block;
  color: #b892aa;
  text-align: center;
  border: 0;
  padding: 1rem 0;
}

@keyframes bj-in {
  from { transform: translateY(-16px) rotate(-6deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (max-width: 860px) {
  .bj-table {
    min-height: 460px;
    border-radius: 36px;
    padding: 0.9rem 0.75rem 6.2rem;
  }

  .bj-card {
    width: 68px;
    height: 98px;
  }

  .bj-board-controls {
    bottom: 0.65rem;
    width: calc(100% - 1rem);
    padding: 0.45rem;
  }

  .bj-board-stakes button {
    padding: 0.5rem 0.1rem;
    font-size: 0.72rem;
  }

  .bj-board-controls .bj-actions {
    grid-template-columns: 1fr 1fr;
  }

  .bj-board-controls .bj-actions .plinko-drop,
  .bj-board-controls .bj-actions .plinko-drop-five {
    min-height: 2.55rem;
    font-size: 0.84rem;
  }
}

.bj-table {
  position: relative;
}

.bj-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.bj-chip-fly,
.bj-spark {
  position: absolute;
  left: 50%;
  bottom: 28%;
  border-radius: 50%;
  animation: bj-to-house 0.9s ease forwards;
}

.bj-chip-fly {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 35% 35%, #ffe4f4, #ff2f86 62%, #8a1848);
  box-shadow: 0 0 10px rgba(255, 47, 134, 0.8);
}

.bj-spark {
  width: 8px;
  height: 8px;
  background: #ffd36a;
  box-shadow: 0 0 12px #ff2f86, 0 0 18px #f0c56a;
}

.bj-table.is-win {
  box-shadow: inset 0 0 0 2px #ff7ab8, 0 0 36px rgba(255, 47, 134, 0.85);
}

.bj-table.is-lose {
  animation: bj-pulse 0.55s ease 3;
}

.bj-table.is-natural {
  box-shadow: inset 0 0 0 2px #f0c56a, 0 0 28px rgba(240, 197, 106, 0.8), 0 0 42px rgba(255, 47, 134, 0.7);
}

.bj-hands {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.bj-seat.is-active .bj-hand {
  filter: drop-shadow(0 0 10px rgba(255, 47, 134, 0.85));
}

.bj-drained {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.7rem;
  padding: 1.2rem;
  text-align: center;
  background: rgba(7, 0, 6, 0.78);
}

.bj-drained strong {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.16em;
  text-shadow: 0 0 18px #ff2f86;
  animation: bj-title 1.1s ease infinite;
}

.bj-drained p {
  max-width: 280px;
  margin: 0;
  color: #ffd0ea;
  font-size: 0.84rem;
}

.bj-drained .plinko-drop {
  max-width: 260px;
}

.bj-setup {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bj-decks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d7aec6;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bj-decks select {
  min-width: 72px;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 180, 0.45);
  background: #1a0814;
  color: #fff;
  font-weight: 700;
}

.bj-confirm {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(255, 47, 134, 0.1);
  border: 1px solid rgba(255, 140, 190, 0.45);
}

.bj-confirm p {
  margin: 0;
  color: #ffe4f4;
  font-size: 0.82rem;
  line-height: 1.45;
}

.bj-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.7rem;
}

.bj-stats dt {
  color: #b892aa;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bj-stats dd {
  margin: 0.05rem 0 0;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

@keyframes bj-to-house {
  to { transform: translate(var(--dx), -190px) scale(0.35); opacity: 0; }
}

@keyframes bj-title {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes bj-pulse {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(255, 70, 110, 0.35); }
  50% { box-shadow: inset 0 0 0 2px #ff4d6a, 0 0 28px rgba(255, 47, 134, 0.85); }
}

@media (max-width: 860px) {
  .bj-hands {
    flex-direction: column;
    align-items: center;
  }

  .bj-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.board-shell {
  padding-bottom: 2.5rem;
}

.podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: end;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  padding: 1.4rem 0.6rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 90, 170, 0.35);
  background: linear-gradient(180deg, rgba(28, 6, 22, 0.92), rgba(10, 1, 14, 0.96));
  box-shadow: 0 0 28px rgba(255, 47, 134, 0.12);
}

.podium-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.podium-slot.is-you .podium-name {
  color: #ff6bb5;
}

.podium-slot.rank-1 {
  order: 2;
  transform: translateY(-1.15rem);
}

.podium-slot.rank-2 {
  order: 1;
}

.podium-slot.rank-3 {
  order: 3;
}

.podium-crown,
.podium-crown-spacer {
  width: 42px;
  height: 28px;
  margin-bottom: -0.2rem;
}

.podium-crown {
  object-fit: cover;
  object-position: center 48%;
  filter: drop-shadow(0 0 10px rgba(255, 211, 106, 0.75));
  animation: podium-bob 2.4s ease-in-out infinite;
}

.podium-crown-spacer {
  display: block;
  visibility: hidden;
}

.podium-avatar {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid rgba(18, 4, 14, 0.95);
  background: radial-gradient(circle at 35% 30%, #ff8ec4, #ff2f86 62%, #c9185c);
  box-shadow: 0 0 0 2px rgba(255, 90, 170, 0.35), 0 10px 24px rgba(255, 47, 134, 0.28);
  display: grid;
  place-items: center;
}

.podium-slot.rank-1 .podium-avatar {
  width: 108px;
  height: 108px;
  box-shadow: 0 0 0 3px rgba(255, 211, 106, 0.35), 0 14px 30px rgba(255, 47, 134, 0.38);
}

.podium-slot.rank-2 .podium-avatar {
  width: 90px;
  height: 90px;
}

.podium-slot.rank-3 .podium-avatar {
  width: 82px;
  height: 82px;
}

.podium-face {
  width: 48%;
  height: 48%;
  fill: rgba(255, 255, 255, 0.95);
}

.podium-badge {
  position: absolute;
  left: 50%;
  bottom: -0.45rem;
  transform: translateX(-50%);
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a0814;
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.podium-slot.rank-1 .podium-badge {
  width: 1.75rem;
  height: 1.75rem;
  background: linear-gradient(180deg, #2a1200, #120804);
  border-color: rgba(255, 211, 106, 0.55);
  color: #ffd36a;
}

.podium-name {
  margin: 0.95rem 0 0.2rem;
  max-width: 100%;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 750;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-slot.rank-1 .podium-name {
  font-size: 1.02rem;
}

.podium-spent {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: rgba(255, 200, 220, 0.72);
  font-size: 0.82rem;
  font-weight: 650;
}

.podium-spent svg {
  width: 12px;
  height: 12px;
  fill: #ff5aaa;
}

.podium-slot.rank-1 .podium-spent {
  color: #ff6bb5;
  font-weight: 750;
}

@keyframes podium-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 640px) {
  .podium {
    gap: 0.25rem;
    padding: 1.1rem 0.35rem 0.95rem;
  }

  .podium-slot.rank-1 {
    transform: translateY(-0.7rem);
  }

  .podium-slot.rank-1 .podium-avatar {
    width: 88px;
    height: 88px;
  }

  .podium-slot.rank-2 .podium-avatar {
    width: 74px;
    height: 74px;
  }

  .podium-slot.rank-3 .podium-avatar {
    width: 68px;
    height: 68px;
  }

  .podium-crown {
    width: 34px;
    height: 22px;
  }

  .podium-name {
    font-size: 0.78rem;
  }

  .podium-slot.rank-1 .podium-name {
    font-size: 0.86rem;
  }

  .podium-spent {
    font-size: 0.72rem;
  }
}

.board-head {
  margin: 0.4rem 0 1rem;
}

.board-head h1 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.board-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.board-you {
  margin-top: 0.55rem !important;
  color: #ff5aaa !important;
  font-weight: 700;
}

.board-card {
  padding: 0.85rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 90, 170, 0.35);
  background: linear-gradient(180deg, rgba(28, 6, 22, 0.92), rgba(10, 1, 14, 0.96));
  box-shadow: 0 0 28px rgba(255, 47, 134, 0.12);
}

.board-legend {
  display: grid;
  grid-template-columns: 3.2rem 1.6rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem 0.65rem;
  color: rgba(255, 200, 220, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-legend span:nth-child(2) {
  grid-column: 3;
}

.board-legend span:nth-child(3) {
  grid-column: 4;
  text-align: right;
}

.board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.board-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem 1.6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 90, 170, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.board-row.is-you {
  border-color: rgba(255, 90, 170, 0.85);
  background: linear-gradient(90deg, rgba(255, 47, 134, 0.22), rgba(255, 47, 134, 0.08));
  box-shadow: 0 0 20px rgba(255, 47, 134, 0.25);
}

.board-rank {
  color: rgba(255, 210, 230, 0.8);
  font-weight: 750;
}

.board-crown {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.board-crown.gold {
  filter: drop-shadow(0 0 6px rgba(255, 211, 106, 0.7));
}

.board-crown.silver {
  filter: grayscale(0.2) brightness(1.2) drop-shadow(0 0 6px rgba(200, 210, 230, 0.55));
}

.board-crown.bronze {
  filter: sepia(0.8) saturate(1.4) hue-rotate(-10deg) drop-shadow(0 0 6px rgba(210, 130, 70, 0.55));
}

.board-crown-spacer {
  width: 18px;
  height: 18px;
}

.board-name {
  color: #fff;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.board-spent {
  color: #ff5aaa;
  font-size: 0.98rem;
  font-weight: 800;
}

.board-tag {
  position: absolute;
  top: -0.45rem;
  right: 0.7rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff2f86, #ff6bb5);
  color: #fff;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.board-empty {
  margin: 0.6rem 0.4rem 0.2rem;
  color: var(--muted);
  text-align: center;
}

.fortune-board .plinko-title {
  margin-bottom: 0.4rem;
}

.fortune-stage {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0.4rem auto 0.8rem;
  width: min(100%, 540px);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 28px rgba(255, 47, 134, 0.28));
}

.fortune-stage.is-hit {
  animation: board-shake 0.45s ease;
}

.fortune-canvas {
  width: min(100%, 520px);
  height: auto;
  border-radius: 50%;
}

.fortune-pointer {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 34px solid #ffd36a;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

.fortune-pointer::after {
  content: "";
  position: absolute;
  top: -34px;
  left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff2c8, #f0c56a 62%, #b87818);
  box-shadow: 0 0 10px rgba(240, 197, 106, 0.7);
}

.fortune-hub {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #3a1828, #12060c 70%);
  border: 3px solid #ffd36a;
  box-shadow: 0 0 18px rgba(255, 47, 134, 0.35);
  pointer-events: none;
}

.fortune-hub img {
  width: 42px;
  height: 28px;
  object-fit: cover;
  object-position: center 48%;
  filter: drop-shadow(0 0 8px rgba(255, 47, 134, 0.7));
}

.fortune-call {
  position: absolute;
  z-index: 4;
  margin: 0;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(12, 2, 10, 0.88);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 0 16px #ff2f86;
  animation: score-pop 0.4s ease;
  pointer-events: none;
}

.fortune-call.is-all {
  color: #ffd36a;
  text-shadow: 0 0 18px rgba(255, 211, 106, 0.85);
}

.fortune-pay {
  list-style: none;
  margin: 0.55rem 0 0.2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.55rem;
}

.fortune-pay li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.28rem 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 90, 170, 0.16);
  color: #ffd0ea;
  font-size: 0.78rem;
  font-weight: 650;
}

.fortune-pay strong {
  color: #ff5aaa;
  font-size: 0.78rem;
}

.fortune-pay .is-all {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, rgba(255, 47, 134, 0.22), rgba(255, 211, 106, 0.12));
  border-color: rgba(255, 211, 106, 0.45);
}

.fortune-pay .is-all strong {
  color: #ffd36a;
}

.history-summary {
  margin-bottom: 1rem;
}

.history-legend {
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
}

.history-legend span:nth-child(2) {
  grid-column: 2;
}

.history-legend span:nth-child(3) {
  grid-column: 3;
}

.history-row {
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
}

.history-when {
  color: rgba(255, 200, 220, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
}

.history-row.is-in .board-spent {
  color: #7dffb0;
}

.history-row.is-out .board-spent {
  color: #ff5aaa;
}

.history-card {
  margin-top: 0.2rem;
}

@media (max-width: 640px) {
  .history-stats strong {
    font-size: 0.74rem;
    gap: 0.25rem 0.55rem;
  }

  .history-legend,
  .history-row {
    grid-template-columns: 5.8rem minmax(0, 1fr) auto;
  }
}

@media (max-width: 860px) {
  .fortune-stage {
    width: min(100%, 420px);
  }
}

.tease {
  position: absolute;
  left: 50%;
  top: 1rem;
  z-index: 40;
  width: min(360px, calc(100% - 2rem));
  margin: 0;
  transform: translate(-50%, -10px) scale(0.96);
  padding: 0.9rem 1.1rem;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 90, 170, 0.55);
  background:
    linear-gradient(160deg, rgba(48, 8, 28, 0.96), rgba(14, 2, 16, 0.98));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(255, 47, 134, 0.28),
    inset 0 1px 0 rgba(255, 180, 220, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.25s ease, visibility 0.25s ease;
}

.tease.is-on {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  visibility: visible;
}

.tease p {
  margin: 0;
  color: var(--pink-soft);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 720px) {
  .tease {
    top: 0.75rem;
    width: min(320px, calc(100% - 1.4rem));
    padding: 0.8rem 0.95rem;
  }

  .tease p {
    font-size: 1.02rem;
  }
}

.pusher-stage {
  position: relative;
  width: min(100%, 640px);
  margin: 0 auto 0.85rem;
  aspect-ratio: 640 / 610;
  border-radius: 18px;
  border: 4px solid rgba(255, 80, 160, 0.72);
  overflow: hidden;
  background: #130b19;
  box-shadow: inset 0 0 35px rgba(237, 61, 176, 0.35), 0 0 28px rgba(255, 50, 150, 0.18);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.pusher-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: none;
}

.pusher-stage.is-hit {
  animation: frame-glow 0.45s ease;
}

.pusher-call {
  position: absolute;
  left: 50%;
  top: 28%;
  z-index: 4;
  margin: 0;
  transform: translate(-50%, -50%);
  color: #ffa5d9;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-shadow: 0 2px 10px #000, 0 0 15px #f16;
  pointer-events: none;
}

.pusher-call.is-pop {
  animation: pop-float 1.1s ease-out;
}

@keyframes pop-float {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.85); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -70px) scale(1.12); }
}

.pusher-label {
  margin: 0.55rem 0 0.35rem;
  color: #dfb4d6;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pusher-label:first-of-type {
  margin-top: 0.35rem;
}

.pusher-stakes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.pusher-stakes button {
  padding: 0.55rem 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 100, 170, 0.4);
  background: rgba(28, 8, 22, 0.95);
  color: #ffd0ea;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.pusher-stakes button.is-on {
  border-color: #ff81cb;
  background: linear-gradient(145deg, #842c6f, #4a123d);
  box-shadow: 0 0 16px rgba(255, 85, 189, 0.35);
  color: #fff;
}

.pusher-aim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.pusher-aim button {
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 100, 170, 0.38);
  background: #331c38;
  color: #ffdff1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.pusher-drops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.pusher-drops .plinko-drop,
.pusher-drops .plinko-drop-five {
  margin: 0;
  min-height: 3rem;
}

@media (max-width: 720px) {
  .pusher-stage {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
