:root {
  --bg: #0a0f14;
  --bg-elevated: #0f1a24;
  --bg-card: #121f2b;
  --border: rgba(88, 201, 243, 0.12);
  --text: #eef6fb;
  --text-muted: #8ba4b6;
  --accent: #58c9f3;
  --accent-bright: #7ed8ff;
  --accent-dim: rgba(88, 201, 243, 0.14);
  --teal: #00334d;
  --teal-deep: #021018;
  --red: #e63946;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 80px rgba(0, 17, 26, 0.55);
  --font-display: "Teko", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1120px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(88, 201, 243, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 35% at 85% 10%, rgba(0, 51, 77, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(88, 201, 243, 0.06), transparent 50%);
}

.accent {
  color: var(--accent);
}

.kick-green {
  color: var(--accent);
}

.kick-brand {
  color: #53fc18;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 15, 20, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-image {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):focus-visible {
  color: var(--accent-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--teal-deep);
  box-shadow: 0 8px 32px rgba(88, 201, 243, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 12px 40px rgba(88, 201, 243, 0.4);
}

.btn-outline {
  border-color: var(--border);
  background: rgba(88, 201, 243, 0.04);
  color: var(--text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(88, 201, 243, 0.45);
  background: rgba(88, 201, 243, 0.1);
}

.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-kick {
  background: #53fc18;
  color: #041100;
  box-shadow: 0 8px 24px rgba(83, 252, 24, 0.22);
}

.btn-kick:hover,
.btn-kick:focus-visible {
  box-shadow: 0 12px 32px rgba(83, 252, 24, 0.32);
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-panel {
  display: flex;
  align-items: center;
}

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

.auth-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.auth-username {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.auth-admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #041018;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  border: 1px solid rgba(255, 255, 255, 0.18);
  line-height: 1;
  flex-shrink: 0;
}

.auth-toast {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  z-index: 120;
  max-width: 22rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(18, 31, 43, 0.96);
  border: 1px solid rgba(88, 201, 243, 0.35);
  color: var(--text);
  box-shadow: var(--shadow);
}

.auth-toast.is-error {
  border-color: rgba(230, 57, 70, 0.35);
  background: rgba(40, 12, 16, 0.96);
}

.auth-stake-badge {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 201, 142, 0.24);
  background: rgba(240, 201, 142, 0.1);
  color: #f0c98e;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  flex-shrink: 0;
}

.auth-stake-badge.is-linked {
  border-color: rgba(83, 252, 24, 0.22);
  background: rgba(83, 252, 24, 0.1);
  color: #9dff73;
  cursor: default;
}

.auth-stake-badge.is-linked:not(.is-verified) {
  border-color: rgba(240, 201, 142, 0.24);
  background: rgba(240, 201, 142, 0.1);
  color: #f0c98e;
}

.auth-stake-badge.is-verified {
  border-color: rgba(83, 252, 24, 0.22);
  background: rgba(83, 252, 24, 0.1);
  color: #9dff73;
}

.stake-link-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.stake-link-modal.is-hidden {
  display: none;
}

.stake-link-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 10, 0.72);
  backdrop-filter: blur(6px);
}

.stake-link-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  display: grid;
  gap: 0.85rem;
  padding: 1.45rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(88, 201, 243, 0.2);
  background:
    linear-gradient(165deg, rgba(18, 28, 40, 0.98), rgba(8, 13, 20, 0.96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  animation: giveaways-fade-up 0.45s ease-out;
}

.stake-link-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stake-link-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 0.95;
}

.stake-link-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.stake-link-form {
  display: grid;
  gap: 0.65rem;
}

.stake-link-error {
  margin: 0;
  color: #f0a0a0;
  font-size: 0.86rem;
}

.stake-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  align-items: start;
  min-height: 100vh;
}

.home-main {
  min-width: 0;
}

.home-page .home-main .header {
  position: sticky;
  top: 0;
}

.hero-player {
  display: grid;
  gap: 1rem;
  width: min(100%, 72rem);
  margin-inline: auto;
}

.watch-header h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0.03em;
}

.watch-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: 0.03em;
}

.section-header p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text-muted);
}

.section-header.left p {
  margin: 0;
}

.page-section {
  padding-top: 3rem;
  min-height: calc(100vh - var(--header-height) - 12rem);
}

.page-content {
  max-width: 42rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--accent);
}

.round-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(88, 201, 243, 0.35);
  background: rgba(88, 201, 243, 0.1);
}

.round-timer-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.round-timer-value {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
}

.game-panel {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(88, 201, 243, 0.08), rgba(0, 51, 77, 0.14));
  border: 1px solid var(--border);
}

.game-panel-text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.game-panel-note {
  margin: -0.5rem 0 1rem;
  color: var(--accent-bright);
  font-size: 0.92rem;
}

.guess-form {
  display: grid;
  gap: 0.9rem;
}

.guess-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.guess-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(10, 15, 20, 0.55);
}

.guess-prefix {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
}

.guess-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 600;
  outline: none;
}

.guess-input::placeholder {
  color: rgba(139, 164, 182, 0.55);
}

.guess-input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.guess-status {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.guess-status.is-success {
  color: var(--accent-bright);
}

.guess-status.is-error {
  color: var(--red);
}

.admin-panel {
  margin-bottom: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(88, 201, 243, 0.28);
  background: rgba(88, 201, 243, 0.08);
}

.admin-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-panel-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.admin-panel-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.admin-panel-section {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(88, 201, 243, 0.18);
  display: grid;
  gap: 0.75rem;
}

.admin-duration-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.digital-clock-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.digital-clock-screen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 9.5rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.28);
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.95), rgba(4, 8, 12, 0.98));
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(88, 201, 243, 0.08);
}

.digital-clock-minutes {
  width: 2.8ch;
  min-width: 2.8ch;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  text-align: right;
  text-shadow: 0 0 10px rgba(88, 201, 243, 0.35);
  outline: none;
  font-variant-numeric: tabular-nums;
}

.digital-clock-minutes:focus {
  text-shadow: 0 0 14px rgba(88, 201, 243, 0.55);
}

.digital-clock-minutes:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.digital-clock-colon,
.digital-clock-seconds {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.digital-clock-colon {
  color: var(--accent-bright);
  animation: digital-clock-blink 1s step-end infinite;
}

.digital-clock-seconds {
  color: rgba(88, 201, 243, 0.32);
}

.digital-clock-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(10, 15, 20, 0.65);
  color: var(--accent-bright);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.digital-clock-step:hover:not(:disabled),
.digital-clock-step:focus-visible:not(:disabled) {
  border-color: rgba(88, 201, 243, 0.45);
  background: rgba(88, 201, 243, 0.12);
}

.digital-clock-step:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.digital-clock-picker.is-disabled .digital-clock-screen {
  opacity: 0.65;
}

@keyframes digital-clock-blink {
  50% {
    opacity: 0.25;
  }
}

.admin-balance-row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.admin-balance-input {
  flex: 1;
  min-width: 0;
}

.admin-balance-input .guess-input {
  font-size: 1.1rem;
}

.guesses-panel {
  margin-top: 1rem;
}

.guesses-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.guesses-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guesses-count {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.guesses-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.guess-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(10, 15, 20, 0.45);
}

.guess-entry-user {
  font-weight: 600;
  color: var(--text);
}

.guess-entry-amount {
  font-weight: 700;
  color: var(--accent-bright);
  white-space: nowrap;
}

.leaderboard-page {
  padding-top: 2.5rem;
}

.leaderboard-shell {
  width: min(100% - 2rem, 58rem);
  max-width: none;
}

.leaderboard-hero {
  margin-bottom: 2.25rem;
  animation: giveaways-fade-up 0.55s ease-out;
}

.leaderboard-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.leaderboard-hero-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.leaderboard-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
}

.leaderboard-lede {
  margin: 0.85rem 0 0;
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.leaderboard-lede strong {
  color: var(--text);
  font-weight: 600;
}

.leaderboard-period {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.leaderboard-prizes-wrap {
  margin-bottom: 2.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(88, 201, 243, 0.14);
  animation: giveaways-fade-up 0.7s ease-out;
}

.leaderboard-banner {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--accent);
}

.leaderboard-page .podium-slot.is-vacant .podium-user,
.leaderboard-page .podium-slot.is-vacant .podium-guess {
  opacity: 0.4;
}

.leaderboard-page #leaderboard-status {
  margin-bottom: 1.25rem;
}

.leaderboard-page .podium-panel {
  margin: 0 0 2.5rem;
}

.leaderboard-page .podium-stage {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  align-items: end;
  gap: 1rem;
  min-height: 0;
}

.leaderboard-page .podium-slot {
  max-width: none;
  gap: 0;
}

.leaderboard-page .podium-block {
  min-height: 0;
  padding: 0 0.4rem 1.1rem;
  border: 0;
  border-radius: 0;
  background: none;
  gap: 0.28rem;
}

.leaderboard-page .podium-slot.place-1 .podium-block,
.leaderboard-page .podium-slot.place-2 .podium-block,
.leaderboard-page .podium-slot.place-3 .podium-block {
  min-height: 0;
  border: 0;
  background: none;
}

.leaderboard-page .podium-slot::after {
  content: "";
  display: block;
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.leaderboard-page .podium-slot.place-1::after {
  height: 4.6rem;
  background: linear-gradient(180deg, rgba(255, 214, 102, 0.42), rgba(255, 214, 102, 0.08));
}

.leaderboard-page .podium-slot.place-2::after {
  height: 3.1rem;
  background: linear-gradient(180deg, rgba(192, 202, 214, 0.32), rgba(192, 202, 214, 0.06));
}

.leaderboard-page .podium-slot.place-3::after {
  height: 2.1rem;
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.32), rgba(205, 127, 50, 0.06));
}

.leaderboard-page .podium-trophy {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.7rem;
  height: 4.55rem;
  margin: 0 auto 0.2rem;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.38));
}

.leaderboard-page .podium-slot.place-1 .podium-trophy {
  width: 4.55rem;
  height: 5.55rem;
  filter:
    drop-shadow(0 4px 10px rgba(255, 210, 74, 0.35))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.4));
}

.leaderboard-page .podium-slot.place-2 .podium-trophy {
  width: 4rem;
  height: 4.9rem;
  filter:
    drop-shadow(0 4px 10px rgba(200, 210, 220, 0.22))
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.36));
}

.leaderboard-page .podium-slot.place-3 .podium-trophy {
  filter:
    drop-shadow(0 4px 10px rgba(205, 127, 50, 0.22))
    drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36));
}

.leaderboard-page .podium-trophy-icon {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.leaderboard-page .podium-trophy-place {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(10, 15, 20, 0.82);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.leaderboard-page .podium-slot.place-1 .podium-trophy-place {
  top: 25%;
  font-size: 1.65rem;
}

.leaderboard-page .podium-slot.place-2 .podium-trophy-place {
  top: 24.5%;
  font-size: 1.5rem;
}

.leaderboard-page .podium-user {
  font-size: 1.02rem;
  font-weight: 600;
}

.leaderboard-page .podium-guess {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.2em;
}

.leaderboard-page .podium-prize {
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: #f0c98e;
}

.leaderboard-page .podium-slot.place-1 .podium-prize {
  color: #ffd666;
}

.leaderboard-page .podium-slot.is-entering {
  animation: leaderboard-rise 0.7s ease both;
}

.leaderboard-page .podium-slot.place-2.is-entering {
  animation-delay: 0.05s;
}

.leaderboard-page .podium-slot.place-1.is-entering {
  animation-delay: 0.14s;
}

.leaderboard-page .podium-slot.place-3.is-entering {
  animation-delay: 0.22s;
}

.leaderboard-board {
  padding-top: 0.35rem;
}

.leaderboard-board.is-empty {
  border-top: 1px solid rgba(88, 201, 243, 0.1);
  padding-top: 1.25rem;
}

.leaderboard-table-head,
.leaderboard-entry {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) 8.5rem 6.5rem;
  gap: 0.85rem;
  align-items: center;
}

.leaderboard-table-head {
  padding: 0 0.15rem 0.7rem;
  border-bottom: 1px solid rgba(88, 201, 243, 0.12);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leaderboard-table-head span:nth-child(3),
.leaderboard-table-head span:last-child,
.leaderboard-score,
.leaderboard-prize {
  text-align: right;
}

.leaderboard-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.leaderboard-entry {
  padding: 0.95rem 0.15rem;
  border-bottom: 1px solid rgba(88, 201, 243, 0.08);
  background: none;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

.leaderboard-entry:hover {
  background: rgba(88, 201, 243, 0.04);
}

.leaderboard-entry.is-entering {
  animation: leaderboard-rise 0.55s ease both;
  animation-delay: var(--enter-delay, 0ms);
}

.leaderboard-rank {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  min-width: 0;
}

.leaderboard-user {
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}

.leaderboard-score {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.leaderboard-prize {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: #f0c98e;
  white-space: nowrap;
}

@keyframes leaderboard-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .leaderboard-hero-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .leaderboard-page .podium-stage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .leaderboard-page .podium-trophy {
    width: 3rem;
    height: 3.7rem;
  }

  .leaderboard-page .podium-slot.place-1 .podium-trophy {
    width: 3.6rem;
    height: 4.4rem;
  }

  .leaderboard-page .podium-slot.place-2 .podium-trophy {
    width: 3.2rem;
    height: 3.95rem;
  }

  .leaderboard-page .podium-trophy-place {
    font-size: 1.15rem;
  }

  .leaderboard-page .podium-slot.place-1 .podium-trophy-place {
    font-size: 1.35rem;
  }

  .leaderboard-page .podium-slot.place-2 .podium-trophy-place {
    font-size: 1.2rem;
  }

  .leaderboard-page .podium-prize {
    font-size: 1.15rem;
  }

  .leaderboard-table-head,
  .leaderboard-entry {
    grid-template-columns: 2.4rem minmax(0, 1fr) auto auto;
    gap: 0.55rem;
  }

  .leaderboard-rank {
    font-size: 1.15rem;
  }

  .leaderboard-prize,
  .leaderboard-score {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leaderboard-hero,
  .leaderboard-prizes-wrap,
  .leaderboard-page .podium-slot.is-entering,
  .leaderboard-entry.is-entering {
    animation: none;
  }
}

.accounts-page .page-content {
  width: min(100% - 2rem, 72rem);
  max-width: none;
}

.accounts-shell {
  display: grid;
  gap: 1.35rem;
}

.accounts-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.7rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(88, 201, 243, 0.18);
  background:
    linear-gradient(135deg, rgba(88, 201, 243, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(16, 24, 34, 0.92), rgba(8, 12, 18, 0.88));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  animation: giveaways-fade-up 0.55s ease-out;
}

.accounts-hero-brand {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.accounts-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.accounts-hero-subtitle {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.accounts-hero-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 10.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(88, 201, 243, 0.2);
  background: rgba(10, 15, 20, 0.55);
}

.accounts-hero-stat-value {
  display: grid;
  place-items: center;
  min-width: 3.2rem;
  min-height: 3.2rem;
  padding: 0.35rem 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(88, 201, 243, 0.28);
  background:
    linear-gradient(160deg, rgba(88, 201, 243, 0.2), rgba(88, 201, 243, 0.06));
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.accounts-hero-stat-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.accounts-hero-stat-copy {
  margin: 0.05rem 0 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.accounts-denied-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 1.45rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(240, 120, 120, 0.18);
  background:
    linear-gradient(165deg, rgba(40, 18, 22, 0.92), rgba(12, 10, 14, 0.9));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  animation: giveaways-fade-up 0.6s ease-out;
}

.accounts-denied-label {
  margin: 0;
  color: #f0a0a0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.accounts-denied-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 0.95;
}

.accounts-denied-copy {
  margin: 0;
  color: var(--text-muted);
  max-width: 34rem;
}

.accounts-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  padding: 1.55rem 1.6rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(88, 201, 243, 0.16);
  background:
    linear-gradient(165deg, rgba(18, 28, 40, 0.94), rgba(8, 13, 20, 0.9));
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  animation: giveaways-fade-up 0.65s ease-out;
}

.accounts-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -12%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 201, 243, 0.14), transparent 68%);
  pointer-events: none;
}

.accounts-card-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem 1rem;
  align-items: start;
}

.accounts-total-badge {
  display: grid;
  place-items: center;
  min-width: 3.4rem;
  min-height: 3.4rem;
  padding: 0.35rem 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(88, 201, 243, 0.28);
  background:
    linear-gradient(160deg, rgba(88, 201, 243, 0.2), rgba(88, 201, 243, 0.06));
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.accounts-card-heading {
  padding-top: 0.15rem;
}

.accounts-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.accounts-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.accounts-subtitle {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.accounts-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 201, 243, 0.16);
  background: rgba(88, 201, 243, 0.08);
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.accounts-search-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.12);
  background: rgba(10, 15, 20, 0.42);
}

.accounts-search-copy {
  display: grid;
  gap: 0.2rem;
}

.accounts-search-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.accounts-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.accounts-search-input-row {
  flex: 1 1 14rem;
  min-height: 3rem;
}

.accounts-search-input-row .guess-input {
  min-height: 3rem;
  font-size: 1rem;
}

.accounts-search-results {
  margin: 0;
  color: var(--accent-bright);
  font-size: 0.84rem;
  font-weight: 600;
}

.accounts-viewport {
  position: relative;
  z-index: 1;
  max-height: 34rem;
  overflow: auto;
  padding: 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(88, 201, 243, 0.12);
  background: rgba(8, 12, 18, 0.55);
}

.accounts-empty {
  margin: 0;
  padding: 2rem 1rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
}

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

.accounts-entry {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(88, 201, 243, 0.1);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.accounts-entry:hover {
  border-color: rgba(88, 201, 243, 0.28);
  background: rgba(88, 201, 243, 0.06);
  transform: translateY(-1px);
}

.accounts-entry-rank {
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.accounts-entry-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.accounts-player {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.accounts-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 201, 243, 0.18);
  background: rgba(88, 201, 243, 0.12);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}

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

.accounts-entry-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.accounts-name-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.accounts-aff-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 252, 24, 0.24);
  background: rgba(83, 252, 24, 0.12);
  color: #9dff73;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  flex-shrink: 0;
}

.accounts-sub-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 45, 255, 0.28);
  background: rgba(83, 45, 255, 0.16);
  color: #c4b5ff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  flex-shrink: 0;
}

.accounts-username {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.accounts-kick-id {
  color: var(--text-muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.accounts-entry-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.accounts-meta-item {
  display: grid;
  gap: 0.1rem;
  text-align: right;
}

.accounts-meta-label {
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accounts-date {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .accounts-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .accounts-card-top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .accounts-count-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .accounts-entry-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .accounts-entry-meta {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
  }

  .accounts-meta-item {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .accounts-hero,
  .accounts-card {
    padding: 1.25rem 1.15rem;
  }

  .accounts-entry {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .accounts-entry-rank {
    font-size: 1rem;
  }

  .accounts-search-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.giveaways-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.15rem;
  padding: 1.55rem 1.6rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(88, 201, 243, 0.16);
  background:
    linear-gradient(165deg, rgba(18, 28, 40, 0.94), rgba(8, 13, 20, 0.9));
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.giveaways-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -12%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 201, 243, 0.14), transparent 68%);
  pointer-events: none;
}

.giveaways-page .page-content {
  width: min(100% - 2rem, 72rem);
  max-width: none;
}

.giveaways-shell {
  display: grid;
  gap: 1.35rem;
}

.giveaways-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.7rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(88, 201, 243, 0.18);
  background:
    linear-gradient(135deg, rgba(88, 201, 243, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(16, 24, 34, 0.92), rgba(8, 12, 18, 0.88));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  animation: giveaways-fade-up 0.55s ease-out;
}

.giveaways-hero-brand {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.giveaways-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.giveaways-hero-subtitle {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.giveaways-hero-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 10.5rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 201, 243, 0.18);
  background: rgba(10, 15, 20, 0.55);
}

.giveaways-status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #6b8294;
  box-shadow: 0 0 0 4px rgba(107, 130, 148, 0.18);
}

.giveaways-hero-status[data-state="open"] .giveaways-status-dot {
  background: #53fc18;
  box-shadow: 0 0 0 4px rgba(83, 252, 24, 0.16);
  animation: giveaways-pulse 1.8s ease-in-out infinite;
}

.giveaways-hero-status[data-state="winner"] .giveaways-status-dot {
  background: #f0c98e;
  box-shadow: 0 0 0 4px rgba(240, 201, 142, 0.18);
}

.giveaways-status-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.giveaways-status-value {
  margin: 0.05rem 0 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.giveaways-admin {
  display: grid;
  gap: 1.15rem;
  padding: 1.35rem 1.45rem;
  animation: giveaways-fade-up 0.6s ease-out;
}

.giveaways-admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.giveaways-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 0.8fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(88, 201, 243, 0.14);
}

.giveaways-admin-block {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.1);
  background: rgba(10, 15, 20, 0.35);
}

.giveaways-keyword-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.giveaways-keyword-form .guess-input-row {
  flex: 1 1 14rem;
}

.giveaways-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.45fr);
  gap: 1.25rem;
  align-items: start;
}

.giveaways-layout-main,
.giveaways-layout-side {
  display: grid;
  gap: 1rem;
}

.giveaways-entrants-card {
  min-height: 24rem;
}

.giveaways-entrants-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.giveaways-entrants-total {
  display: grid;
  place-items: center;
  min-width: 3.4rem;
  min-height: 3.4rem;
  padding: 0.35rem 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(88, 201, 243, 0.28);
  background:
    linear-gradient(160deg, rgba(88, 201, 243, 0.2), rgba(88, 201, 243, 0.06));
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.giveaways-entrants-heading {
  padding-top: 0.15rem;
}

.giveaways-rolling-viewport {
  position: relative;
  z-index: 1;
  height: 22rem;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(88, 201, 243, 0.12);
  background: rgba(8, 12, 18, 0.55);
}

.giveaways-rolling-viewport:not(.is-rolling) {
  height: auto;
  max-height: 22rem;
  overflow: auto;
}

.giveaways-rolling-fade {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 2.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.giveaways-rolling-viewport.is-rolling .giveaways-rolling-fade {
  opacity: 1;
}

.giveaways-rolling-fade-top {
  top: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.98), transparent);
}

.giveaways-rolling-fade-bottom {
  bottom: 0;
  background: linear-gradient(0deg, rgba(8, 12, 18, 0.98), transparent);
}

.giveaways-rolling-track {
  margin: 0;
  padding: 0.65rem;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.giveaways-rolling-track.is-rolling {
  animation: giveaways-roll var(--roll-duration, 18s) linear infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .giveaways-rolling-track.is-rolling {
    animation: none;
  }

  .giveaways-rolling-viewport.is-rolling {
    max-height: 22rem;
    overflow: auto;
  }
}

@keyframes giveaways-roll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-1 * var(--roll-distance, 50%)));
  }
}

.giveaways-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.giveaways-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.giveaways-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.giveaways-count {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 201, 243, 0.16);
  background: rgba(88, 201, 243, 0.08);
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.giveaways-empty {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.giveaways-open {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem 1.15rem;
  border-radius: calc(var(--radius-sm) + 2px);
  border: 1px solid rgba(83, 252, 24, 0.22);
  background:
    linear-gradient(135deg, rgba(83, 252, 24, 0.1), rgba(88, 201, 243, 0.06));
}

.giveaways-open-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.giveaways-keyword-chip {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 24px rgba(83, 252, 24, 0.25);
}

.giveaways-open-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.giveaways-list-head {
  display: none;
}

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

.giveaways-entry {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(88, 201, 243, 0.1);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.giveaways-rolling-viewport:not(.is-rolling) .giveaways-entry:hover {
  border-color: rgba(88, 201, 243, 0.28);
  background: rgba(88, 201, 243, 0.06);
}

.giveaways-entry-rank {
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
}

.giveaways-entry-user {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.giveaways-reveal-card {
  margin-top: 0;
  min-height: 100%;
}

.giveaways-reveal-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 0.15rem;
}

.giveaways-reveal-btn {
  min-width: 12rem;
  min-height: 3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-reel {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0.35rem;
  border-radius: 16px;
  border: 1px solid rgba(88, 201, 243, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 201, 243, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(10, 16, 24, 0.98), rgba(5, 9, 14, 0.98));
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.case-reel-window {
  height: 138px;
  overflow: hidden;
}

.case-reel-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: 100%;
  padding: 14px 0;
  width: max-content;
  will-change: transform;
}

.case-reel-item {
  flex: 0 0 148px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(88, 201, 243, 0.2);
  background:
    linear-gradient(160deg, rgba(88, 201, 243, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.case-reel-item.is-winner {
  border-color: rgba(240, 201, 142, 0.8);
  background:
    linear-gradient(160deg, rgba(240, 201, 142, 0.28), rgba(88, 201, 243, 0.1));
  box-shadow:
    0 0 24px rgba(240, 201, 142, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.case-reel-item-label {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-reel-item-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}

.case-reel-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    var(--accent-bright) 18%,
    #f0c98e 50%,
    var(--accent-bright) 82%,
    transparent
  );
  box-shadow: 0 0 18px rgba(126, 216, 255, 0.5);
  pointer-events: none;
}

.case-reel-marker::before,
.case-reel-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.case-reel-marker::before {
  top: 0;
  border-top: 10px solid #f0c98e;
}

.case-reel-marker::after {
  bottom: 0;
  border-bottom: 10px solid #f0c98e;
}

.case-reel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 18%;
  pointer-events: none;
}

.case-reel-fade-left {
  left: 0;
  background: linear-gradient(90deg, rgba(8, 14, 20, 0.96), transparent);
}

.case-reel-fade-right {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 14, 20, 0.96), transparent);
}

.case-reel-result {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0.35rem;
  text-align: center;
  color: var(--accent-bright);
  font-size: 1.05rem;
  font-weight: 600;
}

.case-reel-result strong {
  color: #f0c98e;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.case-reel-result.is-pop {
  animation: case-winner-pop 0.55s ease-out;
}

@keyframes case-winner-pop {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  60% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes giveaways-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes giveaways-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(83, 252, 24, 0.14);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(83, 252, 24, 0.08);
  }
}

@media (max-width: 900px) {
  .giveaways-layout,
  .giveaways-admin-grid {
    grid-template-columns: 1fr;
  }

  .giveaways-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .giveaways-card {
    padding: 1.25rem 1.15rem;
  }

  .giveaways-hero {
    padding: 1.25rem 1.15rem;
  }

  .case-reel-window {
    height: 118px;
  }

  .case-reel-item {
    flex-basis: 128px;
    padding: 0.55rem 0.65rem;
  }

  .case-reel-item-name {
    font-size: 1.3rem;
  }

  .case-reel-result strong {
    font-size: 1.5rem;
  }

  .giveaways-keyword-form {
    flex-direction: column;
    align-items: stretch;
  }
}

.bonus-hunt-summary {
  margin-bottom: 1rem;
}

.bonus-hunt-page.page-section {
  padding-top: 2rem;
}

.bonus-hunt-page .page-content {
  width: min(100% - 2rem, 84rem);
  max-width: none;
}

.bonus-hunt-page .back-link {
  margin-bottom: 0.85rem;
}

.bonus-hunt-layout {
  display: grid;
  gap: 1rem;
}

.hunt-page-hero {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.hunt-page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hunt-page-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hunt-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.hunt-layout-main,
.hunt-layout-side {
  display: grid;
  gap: 0.85rem;
}

.hunt-layout-side {
  position: static;
}

.hunt-tracker {
  position: relative;
  overflow: visible;
  margin-bottom: 0;
  padding: 1.1rem 1.25rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(88, 201, 243, 0.14);
  background:
    linear-gradient(180deg, rgba(16, 24, 34, 0.9), rgba(8, 12, 18, 0.86));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.hunt-tracker-glow {
  display: none;
}

.hunt-tracker-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.hunt-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.hunt-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hunt-status-toggle {
  appearance: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.hunt-status-toggle:not(:disabled):hover {
  border-color: rgba(88, 201, 243, 0.35);
}

.hunt-status-toggle:disabled {
  cursor: default;
}

.hunt-status::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}

.hunt-status--collecting {
  color: #9ed0ff;
  background: rgba(88, 201, 243, 0.12);
  border-color: rgba(88, 201, 243, 0.24);
}

.hunt-status--closed {
  color: #b7c7d4;
  background: rgba(139, 164, 182, 0.12);
  border-color: rgba(139, 164, 182, 0.24);
}

.hunt-status--opening {
  color: #ffd27d;
  background: rgba(255, 210, 125, 0.1);
  border-color: rgba(255, 210, 125, 0.28);
  animation: hunt-status-glow 2.4s ease-in-out infinite;
}

.hunt-status--complete {
  color: #7dffb0;
  background: rgba(125, 255, 176, 0.1);
  border-color: rgba(125, 255, 176, 0.24);
}

@keyframes hunt-status-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 210, 125, 0);
  }

  50% {
    box-shadow: 0 0 14px rgba(255, 210, 125, 0.16);
  }
}

.hunt-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(88, 201, 243, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(4, 8, 12, 0.35);
  overflow: hidden;
}

.hunt-stat {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-right: 1px solid rgba(88, 201, 243, 0.1);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  transition: background-color 0.15s ease;
}

.hunt-stat:last-child {
  border-right: 0;
}

.hunt-stat:hover {
  transform: none;
  background: rgba(88, 201, 243, 0.04);
  border-color: transparent;
}

.hunt-stat--profit .hunt-stat-value.is-positive {
  color: #7dffb0;
}

.hunt-stat--profit .hunt-stat-value.is-negative {
  color: #ff8f98;
}

.hunt-stat--breakeven .hunt-stat-value.is-positive {
  color: #7dffb0;
}

.hunt-stat--breakeven .hunt-stat-value.is-target {
  color: #f0c98e;
}

.hunt-stat--breakeven .hunt-stat-value.is-negative {
  color: #ff8f98;
}

.hunt-stat-label {
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hunt-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent-bright);
}

.hunt-progress-wrap {
  margin-bottom: 0.9rem;
}

.hunt-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.hunt-progress {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.hunt-progress-count {
  margin: 0;
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.hunt-progress-bar {
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(88, 201, 243, 0.1);
  overflow: hidden;
}

.hunt-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #58c9f3, #7ed8ff);
  transition: width 0.35s ease;
}

.hunt-bonus-section {
  position: relative;
  overflow: visible;
}

.hunt-bonus-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(88, 201, 243, 0.1);
}

.hunt-bonus-section-header h4 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hunt-bonus-section-header span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.hunt-empty {
  margin: 0;
  padding: 1.1rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(88, 201, 243, 0.16);
  color: var(--text-muted);
  text-align: center;
  background: transparent;
  font-size: 0.88rem;
}

.hunt-bonus-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 0.35rem;
}

.hunt-bonus-grid::-webkit-scrollbar {
  width: 0.45rem;
}

.hunt-bonus-grid::-webkit-scrollbar-track {
  background: transparent;
}

.hunt-bonus-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(88, 201, 243, 0.28);
}

.hunt-bonus-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(88, 201, 243, 0.45);
}

.hunt-bonus-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 0.35rem 0.55rem;
  align-items: center;
  padding: 0.4rem 0.1rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(88, 201, 243, 0.08);
  background: transparent;
  transition: background-color 0.15s ease;
  animation: hunt-card-in 0.3s ease both;
}

.hunt-bonus-card:has(.hunt-bonus-admin) {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
}

@keyframes hunt-card-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hunt-bonus-card:hover {
  transform: none;
  border-color: rgba(88, 201, 243, 0.08);
  box-shadow: none;
  background: rgba(88, 201, 243, 0.03);
}

.hunt-bonus-card.is-opening {
  border-color: rgba(255, 210, 125, 0.22);
  background: rgba(255, 210, 125, 0.05);
  box-shadow: none;
}

.hunt-bonus-index {
  min-width: 1.2rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hunt-bonus-avatar {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  flex-shrink: 0;
}

.hunt-bonus-avatar.is-fallback {
  text-transform: uppercase;
}

.hunt-bonus-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hunt-bonus-main {
  min-width: 0;
}

.hunt-bonus-slot {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hunt-bonus-provider {
  margin: 0.05rem 0 0;
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.2;
}

.hunt-bonus-result {
  display: grid;
  justify-items: end;
  gap: 0.08rem;
  text-align: right;
  min-width: 4.5rem;
}

.hunt-bonus-win-field {
  display: grid;
  gap: 0.25rem;
  flex-shrink: 0;
  min-width: 0;
}

.hunt-bonus-win-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hunt-bonus-win-row {
  width: 6.5rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.7rem;
  gap: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(10, 15, 20, 0.55);
}

.hunt-bonus-win-row .guess-prefix {
  font-size: 0.95rem;
}

.hunt-bonus-win-row .guess-input,
.hunt-bonus-win-row .bonus-payout-input {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hunt-bonus-win-row .guess-input:focus,
.hunt-bonus-win-row .bonus-payout-input:focus {
  outline: none;
}

.hunt-bonus-win-row:focus-within {
  border-color: rgba(88, 201, 243, 0.55);
  box-shadow: 0 0 0 2px rgba(88, 201, 243, 0.12);
}

.hunt-bonus-payout {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.hunt-bonus-payout.is-win {
  color: #7dffb0;
}

.hunt-bonus-multiplier {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(88, 201, 243, 0.08);
}

.hunt-bonus-multiplier.is-win {
  color: #031018;
  background: rgba(125, 255, 176, 0.88);
}

.hunt-bonus-pending {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hunt-bonus-card.is-opening .hunt-bonus-pending {
  color: #ffd27d;
}

.hunt-bonus-admin {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-start;
  gap: 0.45rem;
  padding-top: 0.15rem;
  flex-shrink: 0;
}

.hunt-bonus-admin .btn {
  padding: 0.32rem 0.75rem;
  font-size: 0.72rem;
  white-space: nowrap;
}

.hunt-admin-card,
.hunt-side-card {
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(88, 201, 243, 0.12);
  background:
    linear-gradient(180deg, rgba(16, 24, 34, 0.82), rgba(8, 12, 18, 0.78));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.bonus-hunt-page .hunt-admin-card {
  padding: 1.05rem 1.15rem;
}

.bonus-hunt-page .hunt-side-card {
  padding: 1.05rem 1.15rem;
}

.bonus-hunt-page .hunt-settings-row {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
  gap: 0.7rem;
}

.bonus-hunt-page .guess-input,
.bonus-hunt-page .slot-request-select {
  min-height: 2.55rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.bonus-hunt-page .guess-input-row {
  min-height: 2.55rem;
  padding: 0.4rem 0.85rem;
}

.bonus-hunt-page .hunt-bonus-win-row {
  width: 6.5rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.7rem;
  gap: 0.35rem;
}

.bonus-hunt-page .hunt-bonus-win-row .guess-input,
.bonus-hunt-page .hunt-bonus-win-row .bonus-payout-input {
  min-height: 0;
  padding: 0;
  font-size: 0.95rem;
}

.bonus-hunt-page .slot-request-slot,
.bonus-hunt-page .slot-request-user {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hunt-admin-card {
  margin-top: 0;
}

.hunt-admin-header {
  margin-bottom: 0.65rem;
}

.hunt-settings-form {
  margin-bottom: 0.65rem;
}

.hunt-settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.hunt-side-panel {
  margin-top: 1rem;
}

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

.bonus-summary-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(10, 15, 20, 0.45);
}

.bonus-summary-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bonus-summary-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
}

.bonus-summary-value.is-positive {
  color: #7dffb0;
}

.bonus-summary-value.is-negative {
  color: #ff8f98;
}

.bonus-list-panel {
  margin-top: 0;
}

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

.bonus-entry {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(10, 15, 20, 0.45);
}

.bonus-entry-main {
  display: grid;
  gap: 0.55rem;
}

.bonus-entry-number {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.bonus-entry-slot {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.bonus-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.bonus-entry-bet,
.bonus-entry-payout {
  font-weight: 700;
  color: var(--accent-bright);
}

.bonus-entry-payout {
  color: var(--text);
}

.bonus-entry-status {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bonus-entry-status--pending {
  color: #ffd27d;
  background: rgba(255, 210, 125, 0.12);
}

.bonus-entry-status--opened {
  color: #7dffb0;
  background: rgba(125, 255, 176, 0.12);
}

.bonus-entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.bonus-payout-field {
  display: grid;
  gap: 0.3rem;
}

.bonus-payout-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bonus-payout-input {
  width: 7.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(4, 8, 12, 0.9);
  color: var(--text);
}

.bonus-field {
  display: grid;
  gap: 0.45rem;
}

.bonus-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.hunt-overlay-admin {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
}

.hunt-overlay-admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.hunt-overlay-admin-preview {
  display: grid;
  place-items: start center;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.12);
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 20px 20px;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
  background-color: rgba(4, 8, 12, 0.55);
  overflow: hidden;
}

.hunt-overlay-admin-preview iframe {
  width: 26rem;
  height: 28rem;
  border: 0;
  background: transparent;
  transform: scale(0.92);
  transform-origin: top center;
}

.hunt-overlay-admin-url {
  margin-top: 0.9rem;
}

.hunt-overlay-admin-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.hunt-overlay-admin-note {
  min-height: 1.1rem;
  margin: 0.45rem 0 0;
  color: var(--accent-bright);
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .hunt-overlay-admin-header {
    flex-direction: column;
  }

  .hunt-overlay-admin-preview iframe {
    width: 100%;
    max-width: 26rem;
    height: 24rem;
    transform: none;
  }
}

.slot-requests-admin-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.slot-catalog-meta {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.slot-import-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.slot-import-textarea {
  width: 100%;
  min-height: 10rem;
  margin: 0.5rem 0 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(4, 8, 12, 0.9);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.slot-import-script {
  min-height: 8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.slot-import-example {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(4, 8, 12, 0.45);
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: pre-wrap;
}

.slot-request-panel,
.slot-request-guest,
.slot-request-closed,
.slot-requests-panel {
  margin-bottom: 1rem;
}

.requests-hub {
  display: grid;
  gap: 0.85rem;
}

.requests-hub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(88, 201, 243, 0.1);
}

.requests-hub-eyebrow {
  margin: 0 0 0.15rem;
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.requests-hub-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.requests-hub-meta {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.requests-hub-count {
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.requests-hub-status {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.requests-hub-status--open {
  color: #8ef0c4;
  border-color: rgba(72, 214, 150, 0.35);
  background: rgba(72, 214, 150, 0.12);
}

.requests-hub-status--closed {
  color: #f0c98e;
  border-color: rgba(240, 201, 142, 0.35);
  background: rgba(240, 201, 142, 0.1);
}

.requests-hub-command {
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.12);
  background: rgba(8, 12, 18, 0.45);
}

.requests-hub-command-label {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.requests-hub-command-code {
  display: block;
  margin: 0 0 0.4rem;
  padding: 0.45rem 0.6rem;
  border-radius: calc(var(--radius-sm) - 2px);
  background: rgba(4, 8, 12, 0.65);
  color: var(--accent-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
}

.requests-hub-command-example {
  margin: 0 0 0.45rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.requests-hub-command-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.requests-hub-command-note a {
  color: var(--accent-bright);
}

.requests-hub-notice p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.requests-hub-notice .btn {
  margin-top: 0.85rem;
}

.requests-hub-form-text {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.requests-hub-catalog {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.requests-hub-limit {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.requests-hub-list-wrap {
  display: grid;
  gap: 0.75rem;
}

.requests-hub-empty {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(88, 201, 243, 0.18);
  background: rgba(4, 8, 12, 0.35);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.requests-hub-admin {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(88, 201, 243, 0.1);
}

.requests-hub-kick {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.14);
  background: rgba(8, 12, 18, 0.55);
}

.requests-hub-kick-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.requests-hub-kick-status,
.requests-hub-kick-meta {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.requests-hub-kick-status.is-error {
  color: #ff8f8f;
}

.requests-hub-kick-status.is-success {
  color: #8ce4a8;
}

.requests-hub-kick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hunt-admin-queue {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(88, 201, 243, 0.12);
  display: grid;
  gap: 0.7rem;
}

.hunt-admin-queue-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.hunt-admin-queue-list .slot-requests-list {
  gap: 0;
}

.hunt-admin-queue-list .slot-request-entry {
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
}

.hunt-admin-queue-list .slot-request-entry:last-child {
  border-bottom: none;
}

.slot-request-bet-cell {
  margin-left: auto;
  flex-shrink: 0;
}

.slot-request-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-left: auto;
  flex-shrink: 0;
  padding-top: 0.05rem;
}

.slot-request-field {
  display: grid;
  gap: 0.3rem;
  flex-shrink: 0;
}

.slot-request-field-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.slot-request-action-row {
  display: flex;
  align-items: end;
  gap: 0.55rem;
}

.slot-request-controls .guess-input-row {
  width: 7.5rem;
  flex-shrink: 0;
}

.slot-request-controls .guess-input-row .guess-input {
  min-height: 0;
  padding: 0;
}

.slot-request-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 2.15rem;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.slot-request-remove:disabled {
  opacity: 0.55;
  cursor: wait;
}

.slot-request-remove svg {
  width: 0.95rem;
  height: 0.95rem;
}

.slot-request-remove:hover,
.slot-request-remove:focus-visible {
  color: #ffb8b8;
  background: rgba(255, 120, 120, 0.12);
}

.slot-requests-table-head {
  display: none;
}

.slot-requests-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.slot-request-entry {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}

.slot-request-entry:last-child {
  border-bottom: none;
}

.slot-request-thumb {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.4rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slot-request-thumb.is-fallback {
  text-transform: uppercase;
}

.slot-request-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-request-info {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 0.05rem;
}

.slot-request-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  min-width: 0;
}

.slot-request-slot {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 0.16rem;
  overflow-wrap: anywhere;
}

.slot-request-provider {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  overflow-wrap: anywhere;
}

.slot-request-user {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  overflow-wrap: anywhere;
}

.slot-request-bet {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0c98e;
  white-space: nowrap;
}

.hunt-admin-queue-tools {
  border-top: none;
  padding-top: 0;
}

.hunt-admin-queue-tools > .btn {
  align-self: flex-start;
}

.requests-hub-notice {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.12);
  background: rgba(8, 12, 18, 0.55);
}

.slot-request-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.slot-request-form .btn {
  justify-self: start;
}

.slot-request-select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(4, 8, 12, 0.9);
  color: var(--text);
  font: inherit;
}

.past-hunts-card {
  margin-top: 0.35rem;
}

.past-hunts-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(88, 201, 243, 0.1);
}

.past-hunts-eyebrow {
  margin: 0 0 0.15rem;
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.past-hunts-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.past-hunts-count {
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.past-hunts-empty {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(88, 201, 243, 0.16);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

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

.past-hunt-entry {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.1);
  background: rgba(8, 12, 18, 0.4);
  overflow: hidden;
}

.past-hunt-entry.is-expanded {
  border-color: rgba(88, 201, 243, 0.2);
}

.past-hunt-entry-row {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
}

.past-hunt-entry-toggle {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 0.7rem 0.8rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.past-hunt-entry-toggle:hover {
  background: rgba(88, 201, 243, 0.04);
}

.past-hunt-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  width: 2.15rem;
  min-width: 2.15rem;
  height: 2.15rem;
  margin-right: 0.65rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.past-hunt-remove svg {
  width: 0.95rem;
  height: 0.95rem;
}

.past-hunt-remove:hover,
.past-hunt-remove:focus-visible {
  color: #ffb8b8;
  background: rgba(255, 120, 120, 0.12);
}

.past-hunt-remove:disabled {
  opacity: 0.55;
  cursor: wait;
}

.past-hunt-entry-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.past-hunt-entry-main {
  min-width: 0;
}

.past-hunt-entry-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.past-hunt-entry-meta {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.past-hunt-entry-stats {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
  flex-shrink: 0;
}

.past-hunt-entry-profit {
  font-size: 1rem;
  font-weight: 700;
}

.past-hunt-entry-profit.is-positive {
  color: #8ef0c4;
}

.past-hunt-entry-profit.is-negative {
  color: #ff8f98;
}

.past-hunt-entry-status {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.past-hunt-entry-status--complete {
  color: #8ef0c4;
  background: rgba(72, 214, 150, 0.12);
}

.past-hunt-entry-status--opening,
.past-hunt-entry-status--collecting {
  color: #f0c98e;
  background: rgba(240, 201, 142, 0.1);
}

.past-hunt-entry-details {
  padding: 0 1.05rem 1rem;
}

.past-hunt-entry-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.past-hunt-detail-stat {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.1);
  background: rgba(4, 8, 12, 0.35);
}

.past-hunt-detail-stat span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.past-hunt-detail-stat strong {
  font-size: 0.95rem;
}

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

.past-hunt-bonus-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(88, 201, 243, 0.08);
  background: rgba(4, 8, 12, 0.28);
}

.past-hunt-bonus-slot {
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.past-hunt-bonus-result {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.past-hunt-bonus-result.is-win {
  color: #8ef0c4;
}

@media (max-width: 900px) {
  .hunt-layout-grid {
    grid-template-columns: 1fr;
  }

  .hunt-layout-side {
    position: static;
  }

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

  .hunt-stat:nth-child(2n) {
    border-right: 0;
  }

  .hunt-stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(88, 201, 243, 0.1);
  }

  .past-hunt-entry-detail-stats {
    grid-template-columns: 1fr;
  }

  .past-hunt-entry-top {
    flex-direction: column;
  }

  .past-hunt-entry-stats {
    justify-items: start;
  }

  .slot-request-form-row,
  .slot-requests-table-head {
    display: none;
  }

  .slot-request-entry {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .slot-request-controls {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .slot-request-bet-cell {
    margin-left: auto;
  }

  .hunt-settings-row {
    grid-template-columns: 1fr;
  }

  .hunt-bonus-card,
  .hunt-bonus-card:has(.hunt-bonus-admin) {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas:
      "index avatar main result"
      "admin admin admin admin";
  }

  .hunt-bonus-index {
    display: block;
    grid-area: index;
  }

  .hunt-bonus-avatar {
    grid-area: avatar;
  }

  .hunt-bonus-main {
    grid-area: main;
  }

  .hunt-bonus-result {
    grid-area: result;
    justify-items: end;
  }

  .hunt-bonus-admin {
    grid-area: admin;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 0.2rem;
  }

  .hunt-bonus-win-field {
    min-width: 0;
  }

  .hunt-bonus-win-row {
    width: 6.25rem;
  }

  .hunt-bonus-slot {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .bonus-hunt-page .hunt-settings-row {
    grid-template-columns: 1fr;
  }

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

.podium-panel {
  margin-top: 1rem;
}

.podium-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.podium-balance {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.podium-balance strong {
  color: var(--accent-bright);
}

.podium-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
  min-height: 220px;
}

.podium-slot {
  flex: 1;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.podium-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0.85rem 0.65rem 0.75rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: rgba(10, 15, 20, 0.55);
}

.podium-slot.place-1 .podium-block {
  min-height: 150px;
  border-color: rgba(255, 214, 102, 0.45);
  background: linear-gradient(
    180deg,
    rgba(255, 214, 102, 0.18),
    rgba(10, 15, 20, 0.55)
  );
}

.podium-slot.place-2 .podium-block {
  min-height: 118px;
  border-color: rgba(192, 202, 214, 0.4);
  background: linear-gradient(
    180deg,
    rgba(192, 202, 214, 0.14),
    rgba(10, 15, 20, 0.55)
  );
}

.podium-slot.place-3 .podium-block {
  min-height: 92px;
  border-color: rgba(205, 127, 50, 0.4);
  background: linear-gradient(
    180deg,
    rgba(205, 127, 50, 0.14),
    rgba(10, 15, 20, 0.55)
  );
}

.podium-medal {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.podium-slot.place-1 .podium-medal {
  color: #ffd666;
}

.podium-slot.place-2 .podium-medal {
  color: #c0cad6;
}

.podium-slot.place-3 .podium-medal {
  color: #cd7f32;
}

.podium-user {
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.podium-guess {
  font-weight: 700;
  color: var(--accent-bright);
}

.podium-diff {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .podium-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .podium-stage {
    gap: 0.5rem;
  }

  .podium-slot {
    max-width: none;
  }
}

.toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 52px;
  height: 30px;
}

.toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(139, 164, 182, 0.35);
  border: 1px solid var(--border);
  transition: background 0.2s ease;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle input:focus-visible + .toggle-slider {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

/* Player */
.player-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.player-frame.is-hidden,
.player-offline.is-hidden {
  display: none;
}

.player-offline {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(88, 201, 243, 0.08), rgba(2, 16, 24, 0.95));
}

.player-offline p {
  margin: 0;
  color: var(--text-muted);
}

.player-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

/* Homepage community chat */
.site-chat {
  position: sticky;
  top: 0;
  align-self: start;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  z-index: 40;
}

.site-chat-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-height: none;
  border-radius: 0;
  border: 0;
  border-left: 1px solid rgba(88, 201, 243, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 18, 26, 0.98), rgba(6, 10, 14, 0.98));
  box-shadow: none;
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.site-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.8rem;
  border-bottom: 1px solid rgba(88, 201, 243, 0.1);
  flex-shrink: 0;
}

.site-chat-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-chat-title {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}

.site-chat-toggle {
  display: none;
}

.site-chat-close {
  display: none;
}

.site-chat-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.site-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.75rem 0.85rem;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.site-chat-empty {
  margin: 0;
  padding: 0 0.85rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-shrink: 0;
}

.site-chat-empty.is-hidden,
.site-chat-composer.is-hidden,
.site-chat-signin.is-hidden,
.site-chat-status.is-hidden {
  display: none;
}

.site-chat-message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: start;
}

.site-chat-avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.45rem;
  object-fit: cover;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.site-chat-avatar.is-fallback {
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

.site-chat-message-main {
  min-width: 0;
}

.site-chat-message-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.15rem;
}

.site-chat-username {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.site-chat-username.is-admin {
  color: var(--accent-bright);
}

.site-chat-time {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.site-chat-text {
  margin: 0;
  color: rgba(226, 236, 245, 0.92);
  font-size: 0.88rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-chat-delete {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}

.site-chat-delete:hover {
  background: rgba(255, 90, 90, 0.16);
  color: #ffb4b4;
}

.site-chat-composer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.85rem 0.9rem;
  border-top: 1px solid rgba(88, 201, 243, 0.1);
  flex-shrink: 0;
}

.site-chat-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(4, 8, 12, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

.site-chat-input:focus {
  outline: none;
  border-color: rgba(88, 201, 243, 0.55);
  box-shadow: 0 0 0 2px rgba(88, 201, 243, 0.12);
}

.site-chat-signin {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
  padding: 0.85rem;
  border-top: 1px solid rgba(88, 201, 243, 0.1);
  flex-shrink: 0;
}

.site-chat-signin p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.site-chat-status {
  margin: 0;
  padding: 0 0.85rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.site-chat-status.is-error {
  color: #ffb4b4;
}

.site-chat-status.is-success {
  color: #7dffb0;
}

@media (max-width: 960px) {
  .home-shell {
    display: block;
    min-height: 0;
  }

  .site-chat-toggle {
    display: inline-flex;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 120;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }

  .site-chat {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(100vw, 22rem);
    height: 100vh;
    min-height: 100vh;
    z-index: 110;
    transform: translateX(100%);
    transition: transform 0.22s ease;
  }

  .site-chat.is-open {
    transform: none;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.45);
  }

  .site-chat-close {
    display: inline-flex;
  }

  .site-chat-body {
    display: flex;
  }
}

.info-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.info-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* Menu */
.menu {
  padding-top: 1rem;
}

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

.menu-card {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(88, 201, 243, 0.08), rgba(0, 51, 77, 0.14));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover,
.menu-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(88, 201, 243, 0.4);
  box-shadow: 0 12px 40px rgba(88, 201, 243, 0.12);
}

.menu-card--center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.menu-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
}

.about-text p {
  color: var(--text-muted);
  max-width: 42rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(88, 201, 243, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Links */
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.link-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
}

.link-card.kick:hover { border-color: rgba(88, 201, 243, 0.55); }
.link-card.discord:hover { border-color: rgba(88, 101, 242, 0.45); }
.link-card.twitter:hover { border-color: rgba(88, 201, 243, 0.35); }

.link-platform {
  font-weight: 600;
}

.link-handle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(2, 16, 24, 0.65);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.disclaimer {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.2);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.disclaimer a {
  color: var(--text);
  text-decoration: underline;
}

.copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    border-radius: var(--radius);
    background: rgba(15, 26, 36, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: 0;
    padding-top: 0.5rem;
  }

  .auth-member {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .auth-user {
    justify-content: center;
  }

  .auth-panel .btn {
    width: 100%;
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 0.9rem 0.5rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu-grid,
  .feature-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
