:root {
  --shell-width: 1440px;
  --shell-gutter: 32px;
  --bg: #f4f6fb;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(114, 142, 255, 0.16);
  --text: #1d2842;
  --muted: #72809d;
  --accent: #6f7fff;
  --accent-2: #6ed9c8;
  --danger: #ff6f7e;
  --warning: #ffb54d;
  --shadow: 0 24px 60px rgba(103, 129, 210, 0.15);
  --stage-bg: #09111f;
  --stage-bg-2: #101a2e;
  --stage-panel: rgba(12, 20, 37, 0.88);
  --stage-panel-2: rgba(19, 30, 52, 0.9);
  --stage-line: rgba(118, 150, 255, 0.18);
  --stage-text: #eef4ff;
  --stage-muted: #95a6c6;
  --stage-shadow-strong: 0 24px 60px rgba(3, 8, 19, 0.38);
  --stage-shadow-soft: 0 16px 40px rgba(3, 8, 19, 0.24);
  --home-shell-bg: linear-gradient(180deg, rgba(8, 14, 29, 0.86), rgba(14, 22, 40, 0.78));
  --home-shell-border: rgba(118, 150, 255, 0.14);
  --hero-bg:
    radial-gradient(circle at 18% 18%, rgba(123, 140, 255, 0.36), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(39, 211, 162, 0.16), transparent 18%),
    linear-gradient(135deg, rgba(8, 14, 29, 0.96), rgba(14, 22, 40, 0.94));
}

:root[data-theme="light"] {
  --bg: #f4f6fb;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(114, 142, 255, 0.16);
  --text: #1d2842;
  --muted: #72809d;
  --shadow: 0 24px 60px rgba(103, 129, 210, 0.15);
  --stage-panel: rgba(255, 255, 255, 0.78);
  --stage-panel-2: rgba(239, 244, 251, 0.92);
  --stage-line: rgba(114, 142, 255, 0.16);
  --stage-text: #1d2842;
  --stage-muted: #72809d;
  --stage-shadow-strong: 0 24px 60px rgba(103, 129, 210, 0.15);
  --stage-shadow-soft: 0 14px 34px rgba(103, 129, 210, 0.1);
  --home-shell-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(239, 244, 251, 0.4));
  --home-shell-border: rgba(114, 142, 255, 0.1);
  --hero-bg:
    radial-gradient(circle at 18% 18%, rgba(123, 140, 255, 0.16), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(39, 211, 162, 0.1), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 244, 251, 0.96));
}

:root[data-theme="dark"] {
  --bg: #09111f;
  --panel: rgba(12, 20, 37, 0.82);
  --panel-strong: rgba(19, 30, 52, 0.92);
  --line: rgba(118, 150, 255, 0.18);
  --text: #eef4ff;
  --muted: #95a6c6;
  --shadow: 0 24px 60px rgba(3, 8, 19, 0.38);
}

* {
  box-sizing: border-box;
}

button,
input,
textarea,
select,
.hero-login-embed .nav-auth,
.hero-login-embed .nav-auth-logged,
.nav-auth-drawer,
.status-badge,
.tag,
.pill,
.budget-chip,
.theme-toggle-button,
.music-panel {
  transition:
    background 220ms ease,
    background-color 220ms ease,
    color 180ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  button,
  input,
  textarea,
  select,
  .hero-login-embed .nav-auth,
  .hero-login-embed .nav-auth-logged,
  .nav-auth-drawer,
  .status-badge,
  .tag,
  .pill,
  .budget-chip,
  .theme-toggle-button,
  .music-panel {
    transition: none;
  }

  .spotlight-event-card,
  .spotlight-event-card::before,
  .spotlight-event-card::after {
    transition: none !important;
    animation: none !important;
  }

  .spotlight-event-card::before,
  .spotlight-event-card::after,
  .spotlight-event-card-clickable .community-info-head strong {
    transition: none !important;
    animation: none !important;
  }
}

.theme-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 1;
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-transition-overlay.theme-from-dark {
  background:
    radial-gradient(circle at top left, rgba(72, 101, 210, 0.24), transparent 20%),
    radial-gradient(circle at top right, rgba(39, 211, 162, 0.12), transparent 18%),
    linear-gradient(180deg, #08111f 0%, #0d1627 42%, #101a2e 100%);
}

.theme-transition-overlay.theme-from-light {
  background:
    radial-gradient(circle at top left, rgba(191, 240, 255, 0.8), transparent 22%),
    radial-gradient(circle at top right, rgba(214, 255, 238, 0.9), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #eff4fb 100%);
}

.theme-transition-overlay.is-fading-out {
  opacity: 0;
  filter: saturate(0.96);
}

body {
  margin: 0;
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(191, 240, 255, 0.8), transparent 22%),
    radial-gradient(circle at top right, rgba(214, 255, 238, 0.9), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #eff4fb 100%);
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(72, 101, 210, 0.24), transparent 20%),
    radial-gradient(circle at top right, rgba(39, 211, 162, 0.12), transparent 18%),
    linear-gradient(180deg, #08111f 0%, #0d1627 42%, #101a2e 100%);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(191, 240, 255, 0.8), transparent 22%),
    radial-gradient(circle at top right, rgba(214, 255, 238, 0.9), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #eff4fb 100%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
.pill,
.budget-chip,
.tag,
.notice,
.check-card,
.pick-option,
.mini-player-card,
.table-row,
.history-row,
.price-box,
.team-card,
.top-shell,
.glass,
.auth-panel,
.auction-topbar,
.center-stage,
.side-panel,
.inhouse-shell,
.admin-card {
  backdrop-filter: blur(14px);
}

.page-shell {
  width: min(var(--shell-width), calc(100dvw - var(--shell-gutter)));
  margin: 0 auto;
  padding: 6px 0 20px;
}

.page-shell-home {
  color: var(--stage-text);
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 6px 0 14px;
}

.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 16px;
  margin-bottom: 8px;
}

.page-nav-system {
  position: relative;
  z-index: 40;
  background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(16px);
}

#app-top,
#featured-event-spotlight,
#community-activities,
#live-auction-scene,
#live-inhouse-scene {
  scroll-margin-top: 78px;
}

.topbar-compact-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  flex-wrap: nowrap;
}

.topbar-compact-switcher select {
  min-width: 180px;
  max-width: 240px;
  height: 34px;
  padding: 0 10px;
}

.page-nav-on-home {
  background: color-mix(in srgb, var(--stage-panel-2) 84%, transparent);
  border-color: rgba(118, 150, 255, 0.14);
}

.page-nav-main,
.nav-auth,
.nav-auth-logged,
.nav-login-form,
.nav-admin-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-nav-main {
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  gap: 12px;
}

.page-nav-brand {
  display: grid;
  gap: 1px;
  line-height: 1;
  flex: 0 0 auto;
}

.page-nav-brand strong {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-nav-brand span {
  font-size: 10px;
  color: var(--muted);
}

.page-nav-on-home .page-nav-brand strong,
.page-nav-on-home .page-nav-brand span {
  color: var(--stage-text);
}

.page-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-inline: auto;
}

.page-nav-link {
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  font-size: 12px;
}

.page-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.page-nav-on-home .page-nav-link {
  color: var(--stage-muted);
}

.nav-auth,
.nav-auth-logged {
  justify-content: flex-end;
  flex: 0 0 auto;
}

.nav-auth-drawer-shell {
  width: auto;
  min-width: 0;
}

.nav-user-label {
  font-size: 13px;
}

.nav-auth-drawer-shell {
  position: relative;
  display: grid;
  gap: 8px;
  width: min(360px, 100%);
  overflow: visible;
  z-index: 160;
}

.nav-auth-entry-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-auth-entry-row .secondary-button {
  transition: background 360ms ease, border-color 360ms ease, color 360ms ease, opacity 360ms ease;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.nav-profile-avatar-btn {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(118, 150, 255, 0.48);
  box-shadow: none;
  background: transparent;
}

.nav-auth-entry-row .nav-profile-avatar-btn {
  min-height: 40px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
}

.nav-points-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 11px 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 93, 0.46);
  background: linear-gradient(135deg, rgba(255, 210, 93, 0.18), rgba(255, 157, 53, 0.1));
  color: rgba(255, 238, 181, 0.96);
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(255, 176, 54, 0.1);
}

.nav-points-pill strong {
  color: #fff4c2;
  font-size: 13px;
  font-weight: 800;
}

.nav-profile-avatar-btn::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1px solid rgba(126, 165, 255, 0.7);
  opacity: 0.88;
  animation: navAvatarPulse 1.9s ease-in-out infinite;
  pointer-events: none;
}

.nav-profile-avatar-btn:hover::after,
.nav-profile-avatar-btn.nav-btn-active::after {
  border-color: rgba(126, 165, 255, 0.95);
  opacity: 1;
}

.nav-profile-avatar-btn:hover,
.nav-auth-drawer-shell:focus-within .nav-profile-avatar-btn,
.nav-auth-drawer-shell.is-open .nav-profile-avatar-btn {
  background: rgba(137, 163, 255, 0.12);
  border-color: rgba(137, 163, 255, 0.32);
}

.nav-profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.nav-profile-avatar.image-avatar img {
  border-radius: 999px;
  object-fit: cover;
}

@keyframes navAvatarPulse {
  0% {
    transform: scale(0.93);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(0.93);
    opacity: 0.5;
  }
}

.nav-btn-active {
  background: rgba(137, 163, 255, 0.12);
  border-color: rgba(137, 163, 255, 0.32);
  color: #a0b4ff;
}

:root[data-theme="light"] .nav-btn-active {
  background: rgba(114, 142, 255, 0.1);
  border-color: rgba(114, 142, 255, 0.3);
  color: #5566dd;
}

.nav-auth-drawer {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 220;
  padding: 10px;
  border-radius: 16px;
  background: rgba(12, 20, 37, 0.96);
  border: 1px solid rgba(137, 163, 255, 0.14);
  box-shadow: var(--stage-shadow-soft);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top center;
}

.nav-auth-drawer.opening,
.nav-auth-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: authDrawerSlideIn 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-auth-drawer-shell:focus-within .nav-profile-drawer,
.nav-auth-drawer-shell.is-open .nav-profile-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-auth-drawer.closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(-10px) scale(0.985);
  animation: authDrawerSlideOut 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-drawer-form {
  display: grid;
  gap: 8px;
}

.nav-drawer-form label {
  color: var(--stage-muted);
}

.nav-drawer-form input,
.nav-drawer-form textarea,
.nav-drawer-form select,
.nav-auth-drawer input,
.nav-auth-drawer textarea,
.nav-auth-drawer select {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(118, 150, 255, 0.16);
  color-scheme: dark;
}

.nav-drawer-form input::placeholder,
.nav-drawer-form textarea::placeholder,
.nav-auth-drawer input::placeholder,
.nav-auth-drawer textarea::placeholder {
  color: rgba(228, 236, 255, 0.52);
}

.nav-drawer-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.nav-login-form input,
.nav-admin-form input {
  min-width: 152px;
  padding: 10px 12px;
  border-radius: 14px;
}

.nav-admin-entry {
  color: var(--muted);
}

.nav-admin-entry summary {
  cursor: pointer;
  font-size: 14px;
}

.nav-user-label {
  color: var(--muted);
  font-weight: 700;
}

.page-nav-hub {
  background: linear-gradient(135deg, rgba(8, 15, 30, 0.92), rgba(18, 28, 50, 0.92));
  border-color: rgba(123, 140, 255, 0.18);
}

.page-nav-hub .secondary-button,
.page-nav-hub .nav-user-label,
.page-nav-hub .nav-admin-entry,
.page-nav-hub .nav-admin-entry summary {
  color: var(--stage-text);
}

.page-nav-hub .nav-login-form input,
.page-nav-hub .nav-admin-form input {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(130, 156, 255, 0.14);
}

.page-nav-hub .nav-login-form input::placeholder,
.page-nav-hub .nav-admin-form input::placeholder {
  color: rgba(228, 236, 255, 0.52);
}

.nav-active {
  background: rgba(111, 127, 255, 0.14);
  border-color: rgba(111, 127, 255, 0.28);
  color: var(--text);
  box-shadow: none;
}

.page-nav-on-home .nav-active {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(118, 150, 255, 0.18);
}

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.top-shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.brand-panel,
.auth-panel,
.admin-card,
.auction-topbar,
.center-stage,
.side-panel,
.inhouse-shell {
  border-radius: 28px;
  padding: 18px;
}

.inhouse-shell {
  padding: 18px 20px 20px;
}

.admin-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: min(82vh, 1120px);
  overflow: hidden;
}

.admin-card.collapsed-card {
  height: auto;
  min-height: 0;
}

.admin-card-body {
  display: grid;
  gap: 14px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
}

.collapsed-body {
  display: none;
}

.player-library-card .admin-card-body {
  display: flex;
  flex-direction: column;
  align-content: normal;
  overflow: hidden;
}

.event-management-card .admin-card-body,
.auction-management-card .admin-card-body {
  align-content: start;
}

.eyebrow,
.stage-kicker,
.session-role {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffad6f;
  font-size: 12px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.brand-panel h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 54px);
}

.subcopy,
.muted-line,
.mini-player-main span,
.team-card span,
.helper-line,
.history-row,
.table-row span,
.check-card small,
.pick-option small {
  color: var(--muted);
}

.auth-grid,
.workspace-grid,
.auction-board,
.inhouse-grid {
  display: grid;
  gap: 20px;
}

.auth-grid {
  grid-template-columns: 1fr 1fr;
}

.stack,
.grid-form,
.bid-form {
  display: grid;
  gap: 12px;
}

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

.grid-form.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 16px;
  padding: 12px 14px;
}

select[multiple] {
  min-height: 132px;
}

label small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

button {
  border: 0;
  border-radius: 16px;
  padding: 12px 18px;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, #7788ff, #57b8ff);
  transition: transform 120ms ease, opacity 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  box-shadow: 0 10px 22px rgba(94, 132, 255, 0.2);
}

button:hover {
  transform: translateY(-1px);
}

button:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.96);
  box-shadow: 0 4px 10px rgba(94, 132, 255, 0.18);
}

button:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.45;
  box-shadow: none;
}

.secondary-button,
.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 16px rgba(110, 126, 170, 0.08);
}

.ghost-button {
  border: 1px solid var(--line);
}

.disabled-button,
button:disabled.disabled-button {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(184, 191, 209, 0.22);
  color: rgba(54, 66, 92, 0.72);
  border-color: rgba(150, 160, 180, 0.35);
  transform: none;
  box-shadow: none;
}

.action-button {
  background: linear-gradient(135deg, #7788ff, #57b8ff);
}

.success-button {
  background: linear-gradient(135deg, #43c89a, #6ed9c8);
}

.warning-button {
  background: linear-gradient(135deg, #ffbf5a, #ff9e43);
  color: #4b2f00;
}

.danger-button {
  background: linear-gradient(135deg, #ff7a87, #ff5f74);
}

.small {
  padding: 8px 12px;
  border-radius: 12px;
}

.notice {
  margin-top: 16px;
  border-radius: 16px;
  padding: 12px 14px;
}

.notice.success {
  color: #0a6b55;
  background: rgba(143, 246, 217, 0.34);
}

.notice.error {
  color: #a23c4b;
  background: rgba(255, 183, 194, 0.34);
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 34%, rgba(90, 217, 255, 0.12), transparent 32%),
    rgba(3, 8, 19, 0.62);
  backdrop-filter: blur(10px);
  z-index: 4100;
}

.dialog-card {
  width: min(420px, calc(100dvw - 32px));
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 22px;
  color: var(--text);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--panel-strong) 96%, transparent), color-mix(in srgb, var(--panel) 92%, transparent));
  border: 1px solid color-mix(in srgb, var(--line) 115%, rgba(108, 222, 255, 0.18));
  box-shadow: 0 24px 70px rgba(3, 8, 19, 0.46);
}

.dialog-card h3,
.dialog-card p {
  margin: 0;
}

.dialog-card p {
  color: var(--muted);
  line-height: 1.6;
}

.dialog-content {
  display: grid;
  gap: 10px;
}

.dialog-check-option {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 13px;
  border: 1px solid color-mix(in srgb, var(--line) 115%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 76%, transparent);
  color: var(--text);
  line-height: 1.5;
}

.dialog-check-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent-2);
}

.dialog-check-option strong {
  display: block;
}

.dialog-actions {
  justify-content: flex-end;
}

.session-head,
.card-head,
.team-card-head,
.selection-bar,
.auction-topbar,
.topbar-meta,
.team-stat-row,
.form-actions,
.row-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card-head h2,
.card-head h3,
.card-head p,
.card-head span {
  margin-top: 0;
  margin-bottom: 0;
}

.workspace-grid {
  grid-template-columns: 1fr;
  margin-top: 24px;
  align-items: start;
}

.admin-workspace-shell {
  display: grid;
  gap: 18px;
}

.admin-inline-toolbar {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.admin-inline-toolbar-main,
.admin-inline-pills {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-segmented-item strong {
  margin: 0;
}

.admin-inline-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.admin-entity-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.admin-entity-card {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.admin-entity-card.is-expanded {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 28px rgba(110, 126, 170, 0.1);
}

.admin-entity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  flex-wrap: wrap;
}

.admin-entity-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.admin-entity-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.admin-entity-title-row h3 {
  margin: 0;
  font-size: 20px;
}

.admin-entity-meta-grid {
  display: flex;
  gap: 10px 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.story-admin-reactions {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 72%, transparent);
}

.story-admin-reaction-summary,
.story-admin-reaction-log {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.story-admin-reaction-summary span,
.story-admin-reaction-log span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-strong) 78%, transparent);
  color: var(--muted);
  font-size: 12px;
}

.story-admin-reaction-log strong {
  color: var(--text);
}

.story-admin-reaction-log small {
  color: color-mix(in srgb, var(--muted) 76%, transparent);
}

.story-admin-reactions p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-entity-panel {
  display: grid;
  gap: 12px;
  padding: 0 18px 18px;
  border-top: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, rgba(255, 255, 255, 0.34) 92%, transparent);
}

.admin-entity-panel .admin-action-row {
  padding-top: 14px;
}

.admin-action-row,
.admin-compact-stats {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-layout-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-sidebar,
.admin-main-panel {
  min-width: 0;
}

.admin-sidebar {
  position: sticky;
  top: 72px;
  padding: 12px;
  border-radius: 20px;
}

.admin-segmented-nav {
  display: grid;
  gap: 8px;
}

.admin-segmented-item {
  display: grid;
  gap: 2px;
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 16px rgba(110, 126, 170, 0.08);
  padding: 10px 12px;
  border-radius: 14px;
}

.admin-segmented-item span {
  color: var(--muted);
}

.admin-segmented-item.is-active {
  color: white;
  background: linear-gradient(135deg, rgba(119, 136, 255, 0.96), rgba(87, 184, 255, 0.96));
  box-shadow: 0 16px 28px rgba(94, 132, 255, 0.24);
}

.admin-segmented-item.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.admin-main-panel {
  display: grid;
  gap: 20px;
}

.admin-card-expanded {
  height: auto;
  min-height: 0;
}

.player-library-card.admin-card-expanded {
  height: min(82vh, 1120px);
}

.admin-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  justify-content: flex-end;
  background: rgba(12, 18, 31, 0.26);
  backdrop-filter: blur(4px);
}

.admin-drawer-panel {
  width: min(680px, calc(100dvw - 24px));
  height: 100dvh;
  border-radius: 0;
  border-left: 1px solid var(--line);
  padding: max(34px, env(safe-area-inset-top, 0px) + 18px) 18px 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.admin-drawer-body {
  overflow: auto;
  padding-right: 4px;
}

.admin-subnav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 20px;
}

.metric-card span,
.metric-card small {
  color: var(--muted);
}

.metric-card strong {
  font-size: 28px;
}

.table-list,
.queue-list,
.team-stack,
.roster-list,
.history-list,
.checkbox-grid,
.player-event-list,
.directory-list,
.event-overview-list {
  display: grid;
  gap: 12px;
}

.table-list,
.queue-list,
.team-stack,
.history-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.player-event-list {
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.event-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.event-summary div,
.price-box {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.event-summary strong,
.price-box strong {
  display: block;
  font-size: 28px;
}

.selection-bar {
  margin: 4px 0 6px;
}

.event-overview-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 16px;
}

.auction-overview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.event-overview-card {
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 16px rgba(110, 126, 170, 0.08);
}

.auction-overview-card {
  display: grid;
  gap: 4px;
  align-items: start;
}

.event-overview-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 500;
}

.event-overview-card.selected-overview {
  background: linear-gradient(135deg, rgba(119, 136, 255, 0.18), rgba(87, 184, 255, 0.16));
  border: 1px solid rgba(111, 127, 255, 0.3);
}

.auction-editor-shell {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.tournament-admin-shell,
.import-panel,
.budget-assignment,
.auction-editor-shell {
  border-radius: 20px;
}

.auction-admin-actions {
  justify-content: flex-start;
}

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

.check-card,
.pick-option,
.table-row,
.mini-player-card,
.history-row,
.player-event-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.62);
}

.check-card,
.pick-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-card input,
.pick-option input {
  width: auto;
  margin: 0;
}

.pick-option-main,
.check-card-main {
  flex: 1;
}

.table-row-main,
.check-card-main,
.pick-option-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.table-row-main {
  flex: 1;
}

.table-row-copy,
.check-card-copy,
.pick-option-copy {
  min-width: 0;
}

.table-row-copy strong,
.check-card-copy span,
.pick-option-copy span {
  display: block;
}

.admin-team-expand {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-team-expand::-webkit-details-marker {
  display: none;
}

.admin-team-expand .table-row-copy {
  flex: 1;
  min-width: 0;
}

.admin-points-input {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  cursor: default;
}

.admin-points-group-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-points-input-group {
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.admin-points-input span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.admin-points-input input {
  width: 92px;
  min-width: 92px;
  margin: 0;
  text-align: center;
}

.admin-team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.player-home {
  display: grid;
  gap: 14px;
}

.global-toolbar {
  position: fixed !important;
  top: 12px !important;
  right: 16px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 260 !important;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-end;
  width: max-content;
  margin: 0;
  transform: translateZ(0);
  will-change: transform;
}

.global-theme-toggle,
.global-music-toggle {
  position: relative;
}

.server-status-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(93, 232, 188, 0.34);
  background: linear-gradient(135deg, rgba(9, 35, 41, 0.94), rgba(15, 27, 51, 0.92));
  color: var(--text);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), 0 0 22px rgba(69, 224, 168, 0.1);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.server-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #45e0a8;
  box-shadow: 0 0 0 4px rgba(69, 224, 168, 0.13), 0 0 16px rgba(69, 224, 168, 0.55);
}

.server-status-main {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.server-status-unit {
  color: var(--muted);
}

.server-status-label {
  min-width: 38px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(69, 224, 168, 0.12);
  color: #96f3d3;
  font-weight: 800;
  text-align: center;
}

.server-status-medium {
  border-color: rgba(255, 209, 102, 0.36);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), 0 0 22px rgba(255, 209, 102, 0.1);
}

.server-status-medium .server-status-dot {
  background: #ffd166;
  box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.13), 0 0 16px rgba(255, 209, 102, 0.45);
}

.server-status-medium .server-status-label {
  background: rgba(255, 209, 102, 0.13);
  color: #ffe39b;
}

.server-status-high {
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), 0 0 22px rgba(255, 107, 107, 0.12);
}

.server-status-high .server-status-dot {
  background: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.13), 0 0 16px rgba(255, 107, 107, 0.45);
}

.server-status-high .server-status-label {
  background: rgba(255, 107, 107, 0.14);
  color: #ffb3b3;
}

.server-status-unknown .server-status-dot {
  background: #9aa6bd;
  box-shadow: 0 0 0 4px rgba(154, 166, 189, 0.12);
}

.global-music-toggle {
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.global-theme-toggle .theme-toggle-button,
.global-music-toggle .theme-toggle-button {
  white-space: nowrap;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  box-shadow: var(--stage-shadow-soft);
  background: rgba(12, 20, 37, 0.92);
  border: 1px solid rgba(137, 163, 255, 0.16);
}

.music-toggle-button {
  min-width: 40px;
  padding-inline: 0;
  font-size: 18px;
}

.music-toggle-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  position: relative;
  transform-origin: center;
}

.music-toggle-button.is-spinning .music-toggle-glyph {
  animation: musicSpin 6s linear infinite;
}

.music-toggle-button.is-muted .music-toggle-glyph {
  opacity: 0.86;
}

.music-toggle-button.is-muted .music-toggle-glyph::after {
  content: "";
  position: absolute;
  width: 1.5px;
  height: 1.6em;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(-45deg);
}

.music-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  padding: 12px;
  border-radius: 16px;
  display: grid;
  gap: 10px;
  box-shadow: var(--stage-shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
  background: rgba(12, 20, 37, 0.96);
  border: 1px solid rgba(137, 163, 255, 0.16);
  backdrop-filter: none;
}

.global-music-toggle:hover .music-panel,
.global-music-toggle.open .music-panel,
.global-music-toggle:focus-within .music-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes musicSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.music-volume-control {
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.music-volume-control input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 18px;
  background: transparent;
  --music-volume: 35%;
}

.music-volume-control input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0,
    var(--accent) var(--music-volume),
    rgba(255, 255, 255, 0.2) var(--music-volume),
    rgba(255, 255, 255, 0.2) 100%
  );
}

.music-volume-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: -4px;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(12, 14, 20, 0.28);
  cursor: pointer;
}

.music-volume-control input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.music-volume-control input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.music-volume-control input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(12, 14, 20, 0.28);
  cursor: pointer;
}

.home-main-stage {
  position: relative;
}

.session-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-form-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.admin-form-section-tight {
  padding: 10px 12px;
}

.admin-form-subsection {
  display: grid;
  gap: 10px;
}

.nested-grid-form {
  margin: 0;
}

.subtle-admin-entry {
  opacity: 0.82;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, 0.9fr);
  gap: 12px;
  align-items: start;
}

.stage-surface,
.side-stage-panel,
.activity-stage-panel {
  color: var(--stage-text);
  background: linear-gradient(135deg, var(--stage-panel), var(--stage-panel-2));
  border-color: var(--stage-line);
  box-shadow: var(--stage-shadow-strong);
}

.stage-surface .subcopy,
.side-stage-panel .subcopy,
.stage-surface .muted-line,
.side-stage-panel .muted-line,
.activity-stage-panel .muted-line,
.stage-surface p,
.side-stage-panel p,
.side-stage-panel span,
.activity-stage-panel p,
.activity-stage-panel span,
.activity-stage-panel small {
  color: var(--stage-muted);
}

.stage-surface h2,
.stage-surface h3,
.side-stage-panel h2,
.side-stage-panel h3,
.activity-stage-panel h2,
.activity-stage-panel h3,
.stage-surface strong,
.side-stage-panel strong,
.activity-stage-panel strong {
  color: var(--stage-text);
}

.hero-rail {
  display: grid;
  gap: 10px;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  gap: 12px;
  align-items: start;
}

.community-hero,
.community-section,
.community-info-card,
.featured-player-card,
.hero-side-card,
.community-side-panel,
.hero-feature-card {
  border-radius: 28px;
}

.community-hero,
.community-section {
  padding: 14px 16px;
}

.community-hero {
  position: relative;
  z-index: 10;
  min-height: 352px;
  padding: 18px 18px 18px;
  background: var(--hero-bg);
  overflow: hidden;
}

.community-hero-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.hero-title-band {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.hero-title-band h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 0.95;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  font-weight: 900;
  font-style: italic;
  color: transparent;
  background: linear-gradient(180deg, #f8fbff 0%, #cad8ff 34%, #8ea7ff 62%, #5d7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(222, 232, 255, 0.18);
  text-shadow:
    0 2px 0 rgba(61, 90, 194, 0.35),
    0 10px 20px rgba(8, 13, 25, 0.18);
}

.hero-honor-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.86fr) minmax(220px, 0.54fr);
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.hero-champion-stack {
  display: grid;
  gap: 10px;
  align-items: start;
}

.hero-champion-stage {
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 428px;
  padding: 8px 6px 8px 4px;
}

.hero-champion-congrats {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: rgba(245, 248, 255, 0.92);
  text-shadow: 0 4px 16px rgba(8, 13, 25, 0.42);
}

.hero-champion-stage-disabled {
  align-content: center;
}

.hero-champion-stage-placeholder {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(137, 163, 255, 0.2);
  color: var(--stage-muted);
}

.hero-champion-stage-placeholder strong {
  color: var(--stage-text);
  font-size: 24px;
}

.hero-champion-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-champion-stage > * {
  position: relative;
  z-index: 1;
}

.hero-feature-card,
.community-side-panel,
.community-info-card,
.featured-player-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(137, 163, 255, 0.12);
}

.featured-player-card span,
.featured-player-card small,
.community-info-card p,
.community-side-panel span,
.community-side-panel p,
.community-side-panel small,
.hero-feature-card p {
  color: var(--muted);
}

.hero-feature-card strong {
  font-size: clamp(22px, 2.6vw, 28px);
}

.spotlight-poster {
  margin-top: 6px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(123, 140, 255, 0.12));
  border: 1px solid rgba(137, 163, 255, 0.16);
}

.spotlight-poster .community-info-head {
  margin-bottom: 4px;
}

.hero-feature-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.hero-honor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(0, 0.8fr);
  gap: 8px;
  align-items: stretch;
}

.hero-honor-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(137, 163, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(123, 140, 255, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.08);
}

.hero-honor-card-main {
  background:
    radial-gradient(circle at top right, rgba(255, 184, 79, 0.14), transparent 30%),
    radial-gradient(circle at top left, rgba(123, 140, 255, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.09);
}

.hero-honor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-honor-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #ffb56e;
}

.hero-honor-card h3 {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.1;
}

.hero-honor-card-secondary {
  align-content: start;
  justify-self: end;
  width: 100%;
  max-width: 320px;
  padding: 8px;
  background:
    radial-gradient(circle at top right, rgba(123, 140, 255, 0.05), transparent 22%),
    rgba(255, 255, 255, 0.035);
  border-color: rgba(137, 163, 255, 0.08);
  opacity: 0.82;
  transform: translateY(18px) scale(0.94);
  box-shadow: 0 10px 22px rgba(8, 15, 30, 0.12);
}

.hero-honor-card-secondary h3 {
  font-size: clamp(17px, 1.35vw, 22px);
}

.hero-honor-intro {
  margin: 0;
  color: var(--stage-muted);
}

.hero-honor-captain {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  padding: 7px;
  border-radius: 14px;
  background: rgba(12, 20, 37, 0.26);
  border: 1px solid rgba(137, 163, 255, 0.18);
}

.hero-event-spotlight {
  margin-top: 12px;
}

.hero-honor-avatar {
  width: 66px;
  height: 66px;
  font-size: 24px;
}

.hero-honor-captain-copy {
  min-width: 0;
}

.hero-honor-captain-copy > strong,
.hero-honor-captain-copy > span,
.hero-honor-captain-copy > small {
  display: block;
}

.hero-honor-captain-copy > span,
.hero-honor-captain-copy > small {
  color: var(--stage-muted);
  font-size: 12px;
}

.hero-honor-roster {
  display: grid;
  gap: 6px;
}

.hero-honor-member {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--stage-muted);
  border: 1px solid rgba(137, 163, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.hero-honor-note {
  color: var(--stage-muted);
  opacity: 0.82;
  font-size: 12px;
}

.hero-honor-card-secondary .hero-honor-member {
  min-height: 22px;
  font-size: 10px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.025);
}

.hero-event-spotlight {
  margin-top: 10px;
}

.spotlight-event-card {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(8, 14, 29, 0.42), rgba(12, 20, 37, 0.48)),
    radial-gradient(circle at top right, rgba(118, 135, 255, 0.08), transparent 28%),
    url("/assets/featured-event-bg.jpg");
  background-size: cover;
  background-position: center 42%;
  color: var(--stage-text);
  overflow: hidden;
  box-shadow: var(--stage-shadow-soft);
  isolation: isolate;
}

.spotlight-event-card::before,
.spotlight-event-card::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.spotlight-event-card::before {
  top: -22%;
  right: -16%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 154, 255, 0.4), transparent 70%);
  opacity: 0.92;
  transform: scale(0.9);
  transition: transform 360ms ease, opacity 360ms ease, filter 360ms ease;
  filter: blur(4px);
  animation: spotlightOrbPulse 2.2s ease-in-out infinite;
}

.spotlight-event-card::after {
  top: -38%;
  left: -42%;
  width: 52%;
  height: 180%;
  background: linear-gradient(115deg, transparent 14%, rgba(255, 255, 255, 0.28) 45%, transparent 74%);
  opacity: 0;
  transform: rotate(10deg) translateX(0);
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1), opacity 280ms ease;
}

.spotlight-event-card-clickable .community-info-head strong {
  transition:
    text-shadow 280ms ease,
    letter-spacing 280ms ease;
  animation: spotlightTitlePulse 2.2s ease-in-out infinite;
}

.spotlight-event-card > * {
  position: relative;
  z-index: 1;
}

.spotlight-event-card-clickable {
  cursor: pointer;
  animation: spotlightPulse 2.2s ease-in-out infinite;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease,
    border-color 260ms ease,
    filter 260ms ease,
    background-position 520ms ease;
}

.spotlight-event-card-clickable:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(118, 150, 255, 0.34);
  box-shadow: 0 24px 42px rgba(3, 8, 19, 0.24);
  filter: saturate(1.05);
  background-position: center 38%;
}

.spotlight-event-card-clickable:hover::before,
.spotlight-event-card-clickable:focus-visible::before {
  opacity: 0.96;
  transform: scale(1.08);
  filter: blur(0);
}

.spotlight-event-card-clickable:hover::after,
.spotlight-event-card-clickable:focus-visible::after {
  opacity: 1;
  transform: rotate(10deg) translateX(165%);
}

.spotlight-event-card-clickable:focus-visible {
  outline: 2px solid rgba(118, 150, 255, 0.48);
  outline-offset: 3px;
}

.spotlight-event-card-clickable:active {
  transform: translateY(-1px) scale(0.995);
}

@keyframes spotlightPulse {
  0%,
  100% {
    box-shadow: var(--stage-shadow-soft);
    filter: saturate(1);
    border-color: rgba(118, 150, 255, 0.18);
  }
  50% {
    box-shadow:
      0 24px 44px rgba(3, 8, 19, 0.22),
      0 0 0 1px rgba(118, 150, 255, 0.18),
      0 0 64px rgba(118, 150, 255, 0.34);
    filter: saturate(1.12) brightness(1.04);
    border-color: rgba(118, 150, 255, 0.44);
  }
}

@keyframes spotlightOrbPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.86);
    filter: blur(7px);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
    filter: blur(0);
  }
}

@keyframes spotlightTitlePulse {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(151, 179, 255, 0);
    letter-spacing: 0;
  }
  50% {
    text-shadow:
      0 0 18px rgba(151, 179, 255, 0.28),
      0 0 30px rgba(151, 179, 255, 0.14);
    letter-spacing: 0.015em;
  }
}

.champion-panel-head {
  display: grid;
  gap: 2px;
}

.champion-panel-head span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffb56e;
}

.champion-panel-head small {
  color: var(--stage-muted);
}

.champion-lineup {
  position: relative;
  min-height: 240px;
  overflow: visible;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.champion-lineup::before {
  content: none;
}

.champion-member-card {
  position: absolute;
  top: 16px;
  left: 50%;
  width: min(56%, 208px);
  min-height: 240px;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity;
  opacity: 0;
  transform: translate3d(-50%, 18px, 0) scale(0.68);
  background: rgba(11, 18, 32, 0.72);
  border: 3px solid var(--poster-accent, rgba(125, 140, 255, 0.82));
  box-shadow:
    0 14px 30px rgba(3, 8, 19, 0.18),
    inset 0 0 0 2px color-mix(in srgb, var(--poster-accent, #8aa6ff) 88%, white 12%),
    inset 0 0 20px color-mix(in srgb, var(--poster-accent, #8aa6ff) 22%, transparent),
    0 0 12px color-mix(in srgb, var(--poster-accent, #8aa6ff) 18%, transparent);
  translate: 0 0;
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 620ms ease,
    translate 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.champion-member-card .player-poster-art {
  border-radius: inherit;
  overflow: hidden;
  z-index: 0;
}

.champion-member-card .player-poster-avatar,
.champion-member-card .player-poster-avatar.image-avatar img {
  border-radius: inherit;
}

.champion-member-positions {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 9px;
  height: 26px;
  padding: 5px 10px;
  border-radius: 20px 20px 20px 0;
  clip-path: inset(0 round 20px 20px 20px 0);
  background: rgba(28, 60, 66, 0.9);
}

.champion-position-icon {
  width: 17px;
  height: 17px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.champion-position-fallback {
  color: rgba(235, 242, 255, 0.86);
  font-size: 11px;
  line-height: 1;
}

.champion-member-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.champion-member-card:hover {
  translate: 0 -4px;
  z-index: 9;
  box-shadow:
    0 24px 42px rgba(17, 24, 39, 0.32),
    inset 0 0 0 3px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 100%, white 14%),
    inset 0 0 28px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 34%, transparent),
    0 0 26px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 42%, transparent),
    0 0 54px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 24%, transparent);
  border-color: var(--poster-accent-bright, var(--poster-accent, rgba(160, 180, 255, 0.72)));
}

.champion-member-card:hover::after {
  opacity: 1;
  border-color: color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 96%, white 4%);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 100%, white 0%),
    0 0 26px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 82%, transparent),
    0 0 46px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 56%, transparent);
}

.champion-poster-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  display: grid;
  gap: 3px;
  align-items: start;
  z-index: 1;
  min-height: 62px;
  padding: 8px 9px 7px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(18, 25, 44, 0.42), rgba(18, 25, 44, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.champion-member-copy {
  min-width: 0;
}

.champion-member-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.08;
}

.champion-captain-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 184, 79, 0.34), rgba(123, 140, 255, 0.22));
  color: #fff4d6;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.champion-captain-icon svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.champion-member-copy > strong,
.champion-member-copy > span,
.champion-member-copy > small {
  display: block;
}

.champion-member-copy strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.08;
  text-shadow: 0 2px 10px rgba(8, 13, 25, 0.78);
  text-align: center;
}

.champion-member-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: rgba(235, 242, 255, 0.88);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.champion-member-meta span {
  white-space: nowrap;
  flex: 0 0 auto;
}

.champion-member-power {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.champion-stat-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.champion-member-rank {
  margin-left: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  background: transparent;
  border: 0;
  color: rgba(231, 240, 255, 0.92);
  line-height: 1;
}

.champion-member-rank-fallback {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

.champion-member-rank-emblem {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 6px 16px rgba(4, 10, 22, 0.38));
}

.champion-member-rank-stars {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.champion-member-rank-star {
  width: 7px;
  height: 7px;
  display: block;
  background: radial-gradient(circle at 30% 30%, #fff7b2 0%, #ffd15c 45%, #ff9b22 100%);
  clip-path: polygon(50% 0%, 63% 36%, 100% 36%, 70% 58%, 82% 100%, 50% 74%, 18% 100%, 30% 58%, 0% 36%, 37% 36%);
}

.champion-member-rank-leaderboard {
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  min-width: 0;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f8f1dc;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  box-shadow: none;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(10, 14, 26, 0.96),
    0 0 4px rgba(5, 8, 16, 0.86),
    0 2px 6px rgba(2, 6, 14, 0.58);
  pointer-events: none;
}

.champion-member-rank-unranked {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(171, 207, 216, 0.34);
  background: rgba(12, 27, 42, 0.42);
  font-size: 11px;
}

.champion-member-rank-tier-0 {
  color: rgba(171, 207, 216, 0.84);
}

.champion-member-rank-tier-1,
.champion-member-rank-tier-2 {
  color: rgba(233, 219, 192, 0.92);
}

.champion-member-rank-tier-3,
.champion-member-rank-tier-4 {
  color: rgba(255, 208, 146, 0.94);
}

.champion-member-rank-tier-5,
.champion-member-rank-tier-6 {
  color: rgba(219, 196, 255, 0.94);
}

.champion-member-rank-tier-7,
.champion-member-rank-tier-8 {
  color: rgba(255, 221, 150, 0.96);
}

.champion-member-card.is-front {
  opacity: 1;
  z-index: 5;
  transform: translate3d(-50%, 24px, 0) scale(1);
  box-shadow: 0 18px 38px rgba(3, 8, 19, 0.22);
}

.champion-member-card.is-right {
  opacity: 0.8;
  z-index: 4;
  transform: translate3d(calc(-50% + 186px), -12px, 0) rotateY(-30deg) scale(0.8) scaleX(1.1);
}

.champion-member-card.is-right-back {
  opacity: 0.22;
  z-index: 2;
  transform: translate3d(calc(-50% + 302px), -52px, -80px) rotateY(-36deg) scale(0.62) scaleX(1.12);
}

.champion-member-card.is-left-back {
  opacity: 0.22;
  z-index: 2;
  transform: translate3d(calc(-50% - 302px), -52px, -80px) rotateY(36deg) scale(0.62) scaleX(1.12);
}

.champion-member-card.is-left {
  opacity: 0.8;
  z-index: 4;
  transform: translate3d(calc(-50% - 186px), -12px, 0) rotateY(30deg) scale(0.8) scaleX(1.1);
}

.hero-side-stack {
  gap: 10px;
  background: linear-gradient(180deg, rgba(10, 17, 31, 0.94), rgba(15, 24, 42, 0.88));
}

.panel-header-compact {
  padding-bottom: 0;
  background: transparent;
  border: 0;
}

.panel-header-compact span {
  color: var(--stage-muted);
}

.community-card-grid,
.featured-player-grid,
.activity-list,
.leaderboard-list,
.live-scene-list,
.player-preview-grid {
  display: grid;
  gap: 8px;
}

.community-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.side-entry-actions,
.compact-side-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.live-scene-card,
.activity-row-card,
.leaderboard-row,
.player-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(137, 163, 255, 0.12);
}

.compact-scene-card,
.compact-activity-card,
.compact-rank-row,
.compact-player-preview {
  min-height: 0;
  padding: 10px 12px;
}

.compact-activity-card,
.compact-scene-card,
.compact-rank-row,
.compact-player-preview {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(139, 163, 255, 0.14);
}

.live-scene-card,
.activity-row-card {
  align-items: start;
  justify-content: space-between;
}

.activity-row-main {
  flex: 1;
  min-width: 0;
}

.activity-row-main p,
.activity-row-main small {
  display: block;
}

.activity-row-actions {
  flex: 0 0 auto;
}

.activity-list,
.leaderboard-list,
.live-scene-list,
.player-preview-grid {
  gap: 8px;
}

.compact-activity-card .activity-row-main p,
.compact-activity-card .activity-row-main small {
  margin: 0;
  line-height: 1.35;
}

.leaderboard-copy,
.player-preview-copy {
  min-width: 0;
}

.leaderboard-copy strong,
.player-preview-copy strong,
.featured-player-card strong {
  display: block;
  margin-bottom: 4px;
}

.player-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.merged-player-library {
  gap: 20px;
}

.merged-player-library .card-head {
  margin-bottom: 16px;
}

.merged-library-toggle {
  min-width: 180px;
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(137, 163, 255, 0.14);
  box-shadow: none;
}

:root[data-theme="light"] .merged-library-toggle {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(114, 142, 255, 0.14);
}

.player-hover-detail {
  position: fixed;
  width: 320px;
  z-index: 40;
  display: grid;
  gap: 0;
  padding: 18px 18px 16px;
  border-radius: 24px;
  color: #f4f7fb;
  background: #020202;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(6px) scale(0.985);
  transition: opacity 140ms ease, transform 160ms ease;
  will-change: opacity, transform;
}

.player-hover-detail::before,
.player-hover-detail::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.player-hover-detail::before {
  top: -72px;
  left: 50%;
  width: 2px;
  height: 72px;
  background: linear-gradient(180deg, rgba(217, 181, 67, 0.35), #d9b543);
}

.player-hover-detail::after {
  top: 9px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d9b543;
  box-shadow: 0 0 0 3px rgba(217, 181, 67, 0.12);
}

.player-hover-detail.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.player-hover-profile-shell {
  display: grid;
  gap: 0;
}

.player-hover-profile-shell .my-profile-header {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.player-hover-profile-shell .my-profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: #111827;
  border: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.player-hover-profile-shell .my-profile-name-block {
  min-width: 0;
  gap: 6px;
}

.player-hover-profile-shell .my-profile-name-block strong {
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f7fbff;
}

.player-hover-profile-shell .my-profile-name-block .muted-text,
.my-profile-detail-card .my-profile-name-block .muted-text {
  color: #d7dde8;
  line-height: 1;
  letter-spacing: -0.03em;
}

.player-hover-profile-shell .my-profile-name-block .profile-steam-id,
.my-profile-detail-card .my-profile-name-block .profile-steam-id,
.player-hover-profile-shell .my-profile-name-block .profile-steam-name,
.my-profile-detail-card .my-profile-name-block .profile-steam-name {
  color: rgba(215, 221, 232, 0.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-hover-profile-shell .my-profile-rank-slot {
  align-self: center;
  justify-self: end;
}

.player-hover-profile-shell .champion-member-rank.rank-badge-profile {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.player-hover-profile-shell .champion-member-rank.rank-badge-profile .champion-member-rank-emblem {
  width: 48px;
  height: 48px;
}

.player-hover-profile-shell .champion-member-rank.rank-badge-profile .champion-member-rank-fallback {
  font-size: 22px;
}

.player-hover-profile-shell .champion-member-rank.rank-badge-profile .champion-member-rank-star {
  width: 6px;
  height: 6px;
}

.player-hover-profile-shell .champion-member-rank.rank-badge-profile .champion-member-rank-leaderboard {
  bottom: 3px;
  font-size: 8px;
}

.player-hover-profile-shell .champion-member-rank.rank-badge-profile .champion-member-rank-unranked {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

.player-hover-profile-shell .my-profile-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #233044;
}

.player-hover-profile-shell .my-profile-stat {
  align-items: center;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.player-hover-profile-shell .my-profile-stat .stat-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #eef4ff;
  font-size: 17px;
  line-height: 1;
  min-height: 22px;
}

.player-hover-profile-shell .my-profile-stat .stat-label .profile-stat-icon {
  width: 18px;
  height: 18px;
}

.player-hover-profile-shell .my-profile-stat .stat-value {
  color: #edf3fb;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.player-hover-profile-shell .my-profile-stat .stat-label-power .power-token-icon {
  width: 17px;
  height: 17px;
}

.player-hover-profile-shell .my-profile-detail-row {
  padding: 7px 0 0;
  border-top: 1px solid rgba(137, 163, 255, 0.12);
}

.player-hover-profile-shell .my-profile-detail-row .detail-label {
  color: var(--stage-muted);
}

.player-hover-profile-shell .my-profile-detail-row .detail-value {
  color: #eef4ff;
}

.player-hover-trophy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-bottom: 1px solid #233044;
  color: #edf3fb;
}

.player-hover-trophy-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 19px;
}

.player-hover-trophy-item:last-child {
  justify-content: flex-end;
}

.player-hover-trophy-item strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.player-hover-quick-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid #233044;
}

.player-hover-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 2px;
}

.player-hover-head-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.player-hover-title {
  min-width: 0;
  display: grid;
  gap: 4px;
  flex: 1;
}

.player-hover-title strong,
.player-hover-title span,
.player-hover-title small {
  display: block;
}

.player-hover-title strong {
  font-size: 18px;
  line-height: 1.1;
}

.player-hover-title span,
.player-hover-title small,
.player-hover-intro,
.player-hover-tags-head span {
  color: var(--stage-muted);
}

.player-hover-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.player-hover-summary-inline {
  margin-top: 2px;
  gap: 6px;
}

.player-hover-summary-vertical {
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 0;
  min-width: 74px;
}

.player-hover-summary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(137, 163, 255, 0.14);
  color: #eef4ff;
  font-size: 11px;
  font-weight: 600;
}

.player-hover-power-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  margin-right: 6px;
  flex: 0 0 auto;
}

.player-hover-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.player-hover-meta-item {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(137, 163, 255, 0.12);
}

.player-hover-meta-item span {
  color: var(--stage-muted);
  font-size: 12px;
}

.player-hover-meta-item strong {
  color: #eef4ff;
  font-size: 13px;
}

.player-hover-meta-item-plain {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.player-hover-position-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}

.player-hover-position-row .profile-pos-icon {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.player-hover-hero-row .hero-chip-row {
  justify-content: flex-end;
}

.player-hover-hero-row .hero-icon,
.player-hover-hero-row .hero-icon-fallback {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.player-hover-intro {
  margin: 0;
  line-height: 1.55;
  padding: 14px 2px 8px;
  min-height: 72px;
  border-bottom: 1px solid #233044;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #f4f7fb;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.player-hover-intro-label {
  display: inline-block;
  color: #eef4ff;
  font-size: inherit;
  font-weight: 700;
  margin-right: 6px;
}

.player-hover-tags {
  display: grid;
  gap: 10px;
  min-height: 70px;
  padding: 12px 0 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.player-hover-tags-head {
  display: none;
}

.player-hover-tags-head span {
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 0 10px;
  position: relative;
  z-index: 1;
  background: inherit;
}

.player-hover-tags-head::before,
.player-hover-tags-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(137, 163, 255, 0.22), transparent);
}

.player-hover-heroes-empty {
  color: var(--stage-muted);
  font-size: 12px;
}

.player-tag-composer {
  display: grid;
  gap: 8px;
}

.player-tag-composer-inline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.player-tag-composer-inline input {
  width: 100%;
  min-width: 0;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #28364d;
  background: transparent;
  color: #edf3fb;
  font-size: 12px;
  outline: none;
  box-shadow: none;
}

.player-tag-composer-inline input::placeholder {
  color: #8090aa;
}

.player-tag-composer-inline input:focus {
  border-color: #486285;
  box-shadow: 0 0 0 3px rgba(72, 98, 133, 0.18);
}

.player-tag-composer-inline button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #28364d;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #edf3fb;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}

.player-tag-composer-inline button:hover {
  transform: translateY(-1px);
  border-color: #486285;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.player-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: flex-start;
}

.player-tag-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 14px;
  padding: 2px 0;
}

.player-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #f4f8ff;
  box-shadow: none;
}

.player-tag-wall-item {
  break-inside: avoid;
  margin: 0;
  padding: 0;
  border-radius: 0;
  justify-content: flex-start;
  transform-origin: center;
  opacity: 0.96;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.player-tag-wall-item:nth-child(3n + 1) {
  transform: rotate(-3deg) translateY(1px);
}

.player-tag-wall-item:nth-child(3n + 2) {
  transform: rotate(2.2deg) translateY(-1px);
}

.player-tag-wall-item:nth-child(3n) {
  transform: rotate(-1deg) translateY(2px);
}

.player-tag-wall-item:nth-child(4n) {
  transform: rotate(1deg) translateY(-2px);
}

.player-tag-wall-item:hover {
  transform: translateY(-4px) scale(1.05) !important;
  filter: saturate(1.08) brightness(1.06);
}

.player-tag-wall-item span {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.player-tag-chip strong {
  color: currentColor;
  font-size: 0.9em;
}

.player-tag-chip.tag-tone-0 {
  color: #8be7ff;
  text-shadow: 0 0 12px rgba(139, 231, 255, 0.2);
}

.player-tag-chip.tag-tone-1 {
  color: #9ad6ff;
  text-shadow: 0 0 12px rgba(154, 214, 255, 0.2);
}

.player-tag-chip.tag-tone-2 {
  color: #b8c7ff;
  text-shadow: 0 0 12px rgba(184, 199, 255, 0.2);
}

.player-tag-chip.tag-tone-3 {
  color: #ffcfa8;
  text-shadow: 0 0 12px rgba(255, 207, 168, 0.2);
}

.player-tag-chip.tag-tone-4 {
  color: #ffd8f6;
  text-shadow: 0 0 12px rgba(255, 216, 246, 0.2);
}

.player-tag-chip.tag-tone-5 {
  color: #a6ffd6;
  text-shadow: 0 0 12px rgba(166, 255, 214, 0.2);
}

.player-tag-chip.tag-xl {
  font-size: 18px;
  padding: 11px 16px;
}

.player-tag-chip.tag-lg {
  font-size: 16px;
  padding: 10px 14px;
}

.player-tag-chip.tag-md {
  font-size: 14px;
  padding: 8px 12px;
}

.player-tag-chip.tag-sm {
  font-size: 12px;
  padding: 7px 10px;
}

.player-tag-chip.is-vote-bump {
  filter: saturate(1.12) brightness(1.08);
}

.player-tag-chip.is-vote-bump strong {
  position: relative;
  animation: tagVotePulse 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.player-tag-chip.is-vote-bump strong::after {
  content: "+1";
  position: absolute;
  left: calc(100% + 4px);
  top: -6px;
  font-size: 11px;
  font-weight: 700;
  color: #7dff95;
  text-shadow: 0 0 10px rgba(125, 255, 149, 0.22);
  animation: tagVotePlus 420ms ease-out;
}

@keyframes tagVotePulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes tagVotePlus {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.9);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-12px) scale(1);
  }
}

@keyframes playerDetailEnter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:root[data-theme="light"] .player-hover-detail {
  color: #f4f7fb;
  background: #020202;
  border-color: rgba(255, 255, 255, 0.05);
}

:root[data-theme="light"] .player-hover-title span,
:root[data-theme="light"] .player-hover-title small,
:root[data-theme="light"] .player-hover-intro,
:root[data-theme="light"] .player-hover-tags-head span {
  color: #f4f7fb;
}

:root[data-theme="light"] .player-hover-summary-pill {
  color: #223252;
  background: rgba(114, 142, 255, 0.08);
  border-color: rgba(114, 142, 255, 0.14);
}

:root[data-theme="light"] .player-hover-meta-item {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(114, 142, 255, 0.14);
}

:root[data-theme="light"] .player-hover-meta-item-plain {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

:root[data-theme="light"] .player-hover-meta-item strong {
  color: #223252;
}

:root[data-theme="light"] .player-hover-intro-label {
  color: #223252;
}

:root[data-theme="light"] .player-hover-tags {
  background: transparent;
  border-color: transparent;
}

:root[data-theme="light"] .player-tag-composer-inline input {
  color: #edf3fb;
  background: transparent;
  border-color: #28364d;
}

:root[data-theme="light"] .player-tag-composer-inline input::placeholder {
  color: #8090aa;
}

:root[data-theme="light"] .player-tag-chip {
  color: #2c446d;
}

:root[data-theme="light"] .player-tag-chip {
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(114, 142, 255, 0.14);
}

.poster-preview-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  --poster-grid-gap: 10px;
  --poster-card-size: calc((100% - 7 * var(--poster-grid-gap)) / 8);
  max-height: none;
  overflow: visible;
}

.merged-library-filters {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition:
    max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    margin 360ms cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: -6px;
}

.merged-library-filters.expanded {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0;
}

.poster-preview-grid {
  transition:
    grid-template-columns 320ms ease,
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(0);
}

.poster-preview-grid.expanded {
  transform: translateY(8px);
  max-height: none;
  overflow: visible;
}

.home-main-stage button {
  box-shadow: 0 10px 22px rgba(20, 31, 61, 0.34);
}

.home-main-stage .secondary-button,
.page-nav-hub .secondary-button {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.featured-player-rank {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #7788ff, #57b8ff);
  font-size: 12px;
  font-weight: 700;
}

.spotlight-shell,
.directory-shell {
  border-radius: 28px;
  padding: 16px;
}

.page-shell-home .collapsible-panel,
.page-shell-home .directory-shell,
.page-shell-home .embedded-directory-shell,
.page-shell-home .collapsible-panel .collapsible-body {
  background: linear-gradient(135deg, var(--stage-panel), var(--stage-panel-2));
  border-color: var(--stage-line);
  color: var(--stage-text);
  box-shadow: var(--stage-shadow-soft);
}

.page-shell-home .collapsible-trigger,
.page-shell-home .collapsible-trigger span,
.page-shell-home .card-head span,
.page-shell-home .directory-shell span,
.page-shell-home .directory-shell p,
.page-shell-home .directory-shell label,
.page-shell-home .directory-shell small,
.page-shell-home .muted-line {
  color: var(--stage-muted);
}

.page-shell-home input,
.page-shell-home textarea,
.page-shell-home select {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(130, 156, 255, 0.14);
}

.page-shell-home .community-section,
.page-shell-home .leaderboard-shell,
.page-shell-home #player-preview {
  background: linear-gradient(135deg, var(--stage-panel), var(--stage-panel-2));
  border-color: var(--stage-line);
  box-shadow: var(--stage-shadow-soft);
}

:root[data-theme="light"] .page-shell-home {
  color: var(--text);
}

:root[data-theme="light"] .page-shell-home .community-info-card,
:root[data-theme="light"] .page-shell-home .player-preview-card,
:root[data-theme="light"] .page-shell-home .leaderboard-row,
:root[data-theme="light"] .page-shell-home .activity-row-card,
:root[data-theme="light"] .page-shell-home .hero-feature-card {
  background:
    radial-gradient(circle at top right, rgba(86, 117, 227, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 255, 0.98));
  border-color: rgba(86, 117, 227, 0.2);
  box-shadow: 0 10px 22px rgba(103, 129, 210, 0.14);
}

:root[data-theme="light"] .global-theme-toggle .theme-toggle-button,
:root[data-theme="light"] .global-music-toggle .theme-toggle-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(114, 142, 255, 0.14);
}

:root[data-theme="light"] .admin-sidebar,
:root[data-theme="light"] .admin-card,
:root[data-theme="light"] .admin-drawer-panel {
  background:
    radial-gradient(circle at top right, rgba(102, 133, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 255, 0.92));
  border-color: rgba(114, 142, 255, 0.18);
  box-shadow: 0 18px 38px rgba(103, 129, 210, 0.12);
}

:root[data-theme="light"] .admin-segmented-item,
:root[data-theme="light"] .admin-entity-card,
:root[data-theme="light"] .admin-entity-panel,
:root[data-theme="light"] .admin-inline-pill {
  border-color: rgba(114, 142, 255, 0.18);
}

:root[data-theme="light"] .admin-segmented-item span,
:root[data-theme="light"] .admin-card span,
:root[data-theme="light"] .admin-card label,
:root[data-theme="light"] .admin-card .muted-line,
:root[data-theme="light"] .admin-card small,
:root[data-theme="light"] .admin-card p,
:root[data-theme="light"] .admin-entity-meta-grid,
:root[data-theme="light"] .admin-inline-pill {
  color: #5b6a88;
}

:root[data-theme="light"] .admin-entity-card {
  background: rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] .admin-entity-card.is-expanded {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 30px rgba(103, 129, 210, 0.12);
}

:root[data-theme="light"] .admin-entity-panel {
  background: rgba(241, 246, 255, 0.72);
}

:root[data-theme="light"] .admin-inline-pill {
  background: rgba(246, 249, 255, 0.96);
}

:root[data-theme="light"] .admin-card .secondary-button,
:root[data-theme="light"] .admin-card .ghost-button {
  color: #2c3b5c;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(114, 142, 255, 0.2);
  box-shadow: 0 8px 18px rgba(103, 129, 210, 0.08);
}

:root[data-theme="light"] .admin-card input,
:root[data-theme="light"] .admin-card textarea,
:root[data-theme="light"] .admin-card select {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(114, 142, 255, 0.22);
}

:root[data-theme="light"] .music-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(114, 142, 255, 0.14);
}

:root[data-theme="light"] .nav-auth-drawer {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(114, 142, 255, 0.14);
}

:root[data-theme="light"] .page-shell-home input,
:root[data-theme="light"] .page-shell-home textarea,
:root[data-theme="light"] .page-shell-home select {
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(86, 117, 227, 0.2);
}

:root[data-theme="light"] .nav-drawer-form label {
  color: var(--muted);
}

:root[data-theme="light"] .nav-drawer-form input,
:root[data-theme="light"] .nav-drawer-form textarea,
:root[data-theme="light"] .nav-drawer-form select,
:root[data-theme="light"] .nav-auth-drawer input,
:root[data-theme="light"] .nav-auth-drawer textarea,
:root[data-theme="light"] .nav-auth-drawer select {
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(86, 117, 227, 0.2);
  color-scheme: light;
}

:root[data-theme="light"] .nav-drawer-form input::placeholder,
:root[data-theme="light"] .nav-drawer-form textarea::placeholder,
:root[data-theme="light"] .nav-auth-drawer input::placeholder,
:root[data-theme="light"] .nav-auth-drawer textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 88%, white 12%);
}

:root[data-theme="light"] .champion-member-card.player-profile-card {
  background:
    radial-gradient(circle at top right, rgba(86, 117, 227, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 255, 0.98));
  border-color: rgba(86, 117, 227, 0.16);
  box-shadow: 0 14px 30px rgba(103, 129, 210, 0.16);
}

:root[data-theme="light"] .champion-member-rank {
  color: #6a4300;
}

:root[data-theme="light"] .champion-member-copy {
  background: transparent;
  border-color: transparent;
}

:root[data-theme="light"] .champion-member-copy strong {
  color: var(--text);
  text-shadow: none;
}

:root[data-theme="light"] .page-shell-home .community-info-head strong,
:root[data-theme="light"] .page-shell-home .card-head h2,
:root[data-theme="light"] .page-shell-home .card-head h3,
:root[data-theme="light"] .page-shell-home .leaderboard-copy strong,
:root[data-theme="light"] .page-shell-home .activity-row-main strong,
:root[data-theme="light"] .page-shell-home .live-scene-card strong,
:root[data-theme="light"] .page-shell-home .community-side-panel strong {
  color: #203150;
}

:root[data-theme="light"] .page-shell-home .card-head span,
:root[data-theme="light"] .page-shell-home .community-info-card p,
:root[data-theme="light"] .page-shell-home .community-side-panel span,
:root[data-theme="light"] .page-shell-home .community-side-panel p,
:root[data-theme="light"] .page-shell-home .community-side-panel small,
:root[data-theme="light"] .page-shell-home .activity-row-main p,
:root[data-theme="light"] .page-shell-home .activity-row-main small,
:root[data-theme="light"] .page-shell-home .leaderboard-copy small,
:root[data-theme="light"] .page-shell-home .hero-feature-meta {
  color: #5b6b88;
}

:root[data-theme="light"] .page-shell-home button.secondary-button,
:root[data-theme="light"] .page-shell-home button.ghost-button {
  color: #203150;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(229, 239, 255, 0.96));
  border-color: rgba(86, 117, 227, 0.22);
  box-shadow: 0 8px 18px rgba(103, 129, 210, 0.14);
}

:root[data-theme="light"] .page-shell-home button.secondary-button:hover,
:root[data-theme="light"] .page-shell-home button.ghost-button:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(220, 233, 255, 1));
  border-color: rgba(86, 117, 227, 0.32);
}

/* Top-right controls on home: keep outlined style without gradient fill */
.page-shell-home .page-nav .nav-auth-entry-row .secondary-button,
.page-shell-home .page-nav .nav-auth-entry-row .ghost-button,
.page-shell-home .page-nav .nav-auth-logged .secondary-button,
.page-shell-home .global-theme-toggle .theme-toggle-button,
.page-shell-home .global-music-toggle .theme-toggle-button {
  background: transparent !important;
  box-shadow: none !important;
  border: 1px solid rgba(118, 150, 255, 0.28);
}

.page-shell-home .page-nav .nav-auth-entry-row .secondary-button:hover,
.page-shell-home .page-nav .nav-auth-entry-row .ghost-button:hover,
.page-shell-home .page-nav .nav-auth-logged .secondary-button:hover,
.page-shell-home .global-theme-toggle .theme-toggle-button:hover,
.page-shell-home .global-music-toggle .theme-toggle-button:hover {
  background: transparent !important;
  border-color: rgba(118, 150, 255, 0.44);
  box-shadow: none !important;
}

:root[data-theme="light"] .page-shell-home button.action-button {
  color: #fff;
  background: linear-gradient(135deg, #5b73ff, #2ea7ff);
  border-color: rgba(65, 111, 255, 0.36);
  box-shadow: 0 10px 22px rgba(65, 111, 255, 0.22);
}

:root[data-theme="light"] .page-shell-home button.success-button {
  color: #fff;
  background: linear-gradient(135deg, #24b874, #4ad8b1);
  border-color: rgba(36, 184, 116, 0.3);
  box-shadow: 0 10px 22px rgba(36, 184, 116, 0.18);
}

:root[data-theme="light"] .page-shell-home .status-badge.phase-info {
  color: #2646a3;
  background: rgba(86, 117, 227, 0.14);
  border-color: rgba(86, 117, 227, 0.22);
}

:root[data-theme="light"] .page-shell-home .status-badge.phase-live {
  color: #0f7b56;
  background: rgba(36, 184, 116, 0.14);
  border-color: rgba(36, 184, 116, 0.22);
}

:root[data-theme="light"] .page-shell-home .status-badge.phase-warning {
  color: #8c5700;
  background: rgba(255, 165, 50, 0.16);
  border-color: rgba(255, 165, 50, 0.24);
}

:root[data-theme="light"] .featured-player-rank {
  background: linear-gradient(135deg, #5b73ff, #2ea7ff);
}

:root[data-theme="light"] .spotlight-event-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(232, 240, 255, 0.2)),
    radial-gradient(circle at top right, rgba(86, 117, 227, 0.06), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 184, 79, 0.04), transparent 20%),
    url("/assets/featured-event-bg.jpg");
  background-size: cover;
  background-position: center 42%;
  border-color: rgba(86, 117, 227, 0.2);
  color: #203150;
  box-shadow: 0 14px 28px rgba(103, 129, 210, 0.16);
}

:root[data-theme="light"] .champion-member-copy span,
:root[data-theme="light"] .champion-member-copy small {
  color: var(--muted);
  text-shadow: none;
}

:root[data-theme="light"] .champion-poster-caption .champion-member-rank {
  color: #735118;
}

:root[data-theme="light"] .champion-member-rank-stars,
:root[data-theme="light"] .champion-member-rank-leaderboard {
  background: transparent;
  box-shadow: none;
}

:root[data-theme="light"] .champion-member-rank-leaderboard {
  color: #6e4600;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 4px rgba(255, 255, 255, 0.85);
}

:root[data-theme="light"] .champion-member-rank-unranked {
  background: rgba(244, 248, 255, 0.86);
  border-color: rgba(114, 142, 255, 0.18);
  color: #6781d2;
}

:root[data-theme="light"] .player-poster-caption {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(244, 248, 255, 0.6));
  border-color: rgba(114, 142, 255, 0.18);
  backdrop-filter: blur(10px);
}

:root[data-theme="light"] .champion-poster-caption {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(244, 248, 255, 0.6));
  border-color: rgba(114, 142, 255, 0.18);
  backdrop-filter: blur(10px);
}

:root[data-theme="light"] .player-poster-heading strong {
  color: var(--text);
  text-shadow: none;
}

:root[data-theme="light"] .player-poster-meta {
  color: #566784;
}

:root[data-theme="light"] .player-hover-meta-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(114, 142, 255, 0.16);
}

:root[data-theme="light"] .player-hover-meta-item.player-hover-meta-item-plain {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

:root[data-theme="light"] .hero-event-spotlight .card-head span,
:root[data-theme="light"] .hero-event-spotlight p,
:root[data-theme="light"] .hero-feature-meta {
  color: var(--muted);
}

:root[data-theme="light"] .hero-event-spotlight .community-info-head strong {
  color: var(--text);
}

:root[data-theme="light"] .spotlight-event-card {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(229, 255, 248, 0.18)),
    radial-gradient(circle at top right, rgba(118, 135, 255, 0.06), transparent 26%),
    url("/assets/featured-event-bg.jpg");
  background-size: cover;
  background-position: center 42%;
  border-color: rgba(114, 142, 255, 0.14);
}

:root[data-theme="light"] .hero-title-band h1 {
  background: linear-gradient(180deg, #6a7dff 0%, #5f76ff 36%, #6ab7ff 72%, #7a88d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  text-shadow:
    0 2px 0 rgba(123, 140, 255, 0.18),
    0 8px 18px rgba(103, 129, 210, 0.12);
}

:root[data-theme="light"] .hero-champion-congrats {
  color: var(--text);
  text-shadow: 0 4px 14px rgba(103, 129, 210, 0.14);
}

:root[data-theme="dark"] .left-panel {
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.96), rgba(10, 17, 31, 0.94));
  border-color: rgba(118, 150, 255, 0.22);
}

:root[data-theme="dark"] .right-panel {
  background: linear-gradient(180deg, rgba(12, 20, 37, 0.96), rgba(10, 17, 31, 0.94));
  border-color: rgba(118, 150, 255, 0.16);
}

:root[data-theme="dark"] .center-stage,
:root[data-theme="dark"] .inhouse-shell,
:root[data-theme="dark"] .auction-topbar {
  background:
    radial-gradient(circle at top center, rgba(118, 150, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(12, 20, 37, 0.94), rgba(16, 26, 46, 0.92));
  border-color: rgba(118, 150, 255, 0.18);
  box-shadow: var(--stage-shadow-strong);
}

:root[data-theme="dark"] .hero-player-card,
:root[data-theme="dark"] .metric-card,
:root[data-theme="dark"] .price-box,
:root[data-theme="dark"] .team-card,
:root[data-theme="dark"] .auction-editor-shell,
:root[data-theme="dark"] .import-panel,
:root[data-theme="dark"] .budget-assignment,
:root[data-theme="dark"] .tournament-admin-shell,
:root[data-theme="dark"] .check-card,
:root[data-theme="dark"] .pick-option,
:root[data-theme="dark"] .table-row,
:root[data-theme="dark"] .mini-player-card,
:root[data-theme="dark"] .history-row,
:root[data-theme="dark"] .player-event-card,
:root[data-theme="dark"] .event-summary div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(118, 150, 255, 0.16);
  color: var(--stage-text);
  box-shadow: none;
}

:root[data-theme="dark"] .admin-workspace-shell .metric-card,
:root[data-theme="dark"] .admin-sidebar,
:root[data-theme="dark"] .admin-card,
:root[data-theme="dark"] .admin-workspace-shell .import-panel,
:root[data-theme="dark"] .admin-workspace-shell .budget-assignment,
:root[data-theme="dark"] .admin-workspace-shell .auction-editor-shell,
:root[data-theme="dark"] .admin-workspace-shell .tournament-admin-shell {
  background:
    radial-gradient(circle at top right, rgba(118, 150, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(13, 21, 39, 0.96), rgba(10, 17, 31, 0.94));
  border-color: rgba(118, 150, 255, 0.14);
  box-shadow: 0 12px 28px rgba(3, 8, 19, 0.18);
}

:root[data-theme="dark"] .admin-workspace-shell .metric-card strong,
:root[data-theme="dark"] .admin-card h2,
:root[data-theme="dark"] .admin-card h3,
:root[data-theme="dark"] .admin-card h4,
:root[data-theme="dark"] .admin-drawer-panel h2,
:root[data-theme="dark"] .admin-drawer-panel h3,
:root[data-theme="dark"] .admin-drawer-panel h4,
:root[data-theme="dark"] .admin-card strong,
:root[data-theme="dark"] .admin-drawer-panel strong,
:root[data-theme="dark"] .admin-card .section-title h4,
:root[data-theme="dark"] .admin-card .section-title h3,
:root[data-theme="dark"] .admin-drawer-panel .section-title h4,
:root[data-theme="dark"] .admin-drawer-panel .section-title h3 {
  color: #eef4ff;
}

:root[data-theme="dark"] .admin-workspace-shell .metric-card span,
:root[data-theme="dark"] .admin-workspace-shell .metric-card small,
:root[data-theme="dark"] .admin-inline-pill,
:root[data-theme="dark"] .admin-segmented-item span,
:root[data-theme="dark"] .admin-card span,
:root[data-theme="dark"] .admin-card label,
:root[data-theme="dark"] .admin-card .muted-line,
:root[data-theme="dark"] .admin-card small,
:root[data-theme="dark"] .admin-card p,
:root[data-theme="dark"] .admin-drawer-panel span,
:root[data-theme="dark"] .admin-drawer-panel label,
:root[data-theme="dark"] .admin-drawer-panel .muted-line,
:root[data-theme="dark"] .admin-drawer-panel small,
:root[data-theme="dark"] .admin-drawer-panel p,
:root[data-theme="dark"] .admin-card .section-title span,
:root[data-theme="dark"] .admin-card .table-row-copy span,
:root[data-theme="dark"] .admin-card .check-card-copy small,
:root[data-theme="dark"] .admin-drawer-panel .section-title span,
:root[data-theme="dark"] .admin-drawer-panel .table-row-copy span,
:root[data-theme="dark"] .admin-drawer-panel .check-card-copy small,
:root[data-theme="dark"] .admin-drawer-panel .file-pick-name,
:root[data-theme="dark"] .admin-drawer-panel .checkbox-label,
:root[data-theme="dark"] .admin-drawer-panel .position-picker-label,
:root[data-theme="dark"] .admin-drawer-panel .hero-picker-label {
  color: rgba(220, 230, 250, 0.82);
}

:root[data-theme="dark"] .admin-card input,
:root[data-theme="dark"] .admin-card textarea,
:root[data-theme="dark"] .admin-card select,
:root[data-theme="dark"] .admin-drawer-panel input,
:root[data-theme="dark"] .admin-drawer-panel textarea,
:root[data-theme="dark"] .admin-drawer-panel select {
  color-scheme: dark;
  color: #eef4ff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(118, 150, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .admin-card select option,
:root[data-theme="dark"] .admin-drawer-panel select option {
  color: #eef4ff;
  background: #102038;
}

:root[data-theme="dark"] .admin-card input::placeholder,
:root[data-theme="dark"] .admin-card textarea::placeholder,
:root[data-theme="dark"] .admin-drawer-panel input::placeholder,
:root[data-theme="dark"] .admin-drawer-panel textarea::placeholder {
  color: rgba(220, 230, 250, 0.54);
}

:root[data-theme="dark"] .admin-drawer-panel .fixture-result-admin-form {
  padding: 2px;
}

:root[data-theme="dark"] .admin-drawer-panel .fixture-result-admin-form label {
  color: rgba(226, 238, 255, 0.86);
  font-weight: 800;
}

:root[data-theme="dark"] .admin-drawer-panel .fixture-result-admin-form input,
:root[data-theme="dark"] .admin-drawer-panel .fixture-result-admin-form textarea,
:root[data-theme="dark"] .admin-drawer-panel .fixture-result-admin-form select {
  background:
    linear-gradient(180deg, rgba(11, 24, 41, 0.96), rgba(8, 18, 32, 0.92));
  border-color: rgba(124, 190, 255, 0.28);
  color: rgba(240, 248, 255, 0.96);
}

:root[data-theme="dark"] .admin-drawer-panel .fixture-result-admin-form input:focus,
:root[data-theme="dark"] .admin-drawer-panel .fixture-result-admin-form textarea:focus,
:root[data-theme="dark"] .admin-drawer-panel .fixture-result-admin-form select:focus {
  border-color: rgba(95, 183, 255, 0.62);
  box-shadow:
    0 0 0 3px rgba(75, 169, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  outline: none;
}

:root[data-theme="dark"] .admin-card .secondary-button,
:root[data-theme="dark"] .admin-card .ghost-button,
:root[data-theme="dark"] .admin-drawer-panel .secondary-button,
:root[data-theme="dark"] .admin-drawer-panel .ghost-button {
  color: #e9f0ff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(118, 150, 255, 0.2);
  box-shadow: 0 10px 20px rgba(3, 8, 19, 0.16);
}

:root[data-theme="dark"] .admin-inline-toolbar,
:root[data-theme="dark"] .admin-drawer-panel,
:root[data-theme="dark"] .admin-segmented-item,
:root[data-theme="dark"] .admin-form-section {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(118, 150, 255, 0.16);
  color: #eef4ff;
}

:root[data-theme="dark"] .admin-inline-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(118, 150, 255, 0.2);
}

:root[data-theme="dark"] .admin-entity-card {
  background: rgba(15, 24, 42, 0.8);
  border-color: rgba(118, 150, 255, 0.18);
}

:root[data-theme="dark"] .admin-entity-card.is-expanded {
  background: rgba(20, 32, 56, 0.9);
  box-shadow: 0 20px 36px rgba(3, 8, 19, 0.28);
}

:root[data-theme="dark"] .admin-entity-panel {
  background: rgba(8, 14, 28, 0.42);
  border-top-color: rgba(118, 150, 255, 0.16);
}

:root[data-theme="dark"] .admin-segmented-item.is-active {
  background: linear-gradient(135deg, rgba(119, 136, 255, 0.96), rgba(87, 184, 255, 0.92));
}

:root[data-theme="dark"] .auth-panel .secondary-button,
:root[data-theme="dark"] .auth-panel .ghost-button,
:root[data-theme="dark"] .session-actions .secondary-button,
:root[data-theme="dark"] .session-actions .ghost-button,
:root[data-theme="dark"] .subtle-admin-entry {
  color: #e9f0ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(118, 150, 255, 0.14);
  box-shadow: none;
}

:root[data-theme="dark"] .auth-panel .secondary-button:hover,
:root[data-theme="dark"] .auth-panel .ghost-button:hover,
:root[data-theme="dark"] .session-actions .secondary-button:hover,
:root[data-theme="dark"] .session-actions .ghost-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(118, 150, 255, 0.22);
}

:root[data-theme="dark"] .admin-card .selection-bar,
:root[data-theme="dark"] .admin-card .event-summary,
:root[data-theme="dark"] .admin-card .toolbar-grid,
:root[data-theme="dark"] .admin-card .file-pick-row,
:root[data-theme="dark"] .admin-card .import-actions,
:root[data-theme="dark"] .admin-card .form-actions.top-space,
:root[data-theme="dark"] .admin-card .inhouse-mode-row,
:root[data-theme="dark"] .admin-drawer-panel .selection-bar,
:root[data-theme="dark"] .admin-drawer-panel .event-summary,
:root[data-theme="dark"] .admin-drawer-panel .toolbar-grid,
:root[data-theme="dark"] .admin-drawer-panel .file-pick-row,
:root[data-theme="dark"] .admin-drawer-panel .import-actions,
:root[data-theme="dark"] .admin-drawer-panel .form-actions.top-space,
:root[data-theme="dark"] .admin-drawer-panel .inhouse-mode-row {
  align-items: start;
}

:root[data-theme="dark"] .admin-card .event-summary div,
:root[data-theme="dark"] .admin-card .event-overview-card,
:root[data-theme="dark"] .admin-card .check-card,
:root[data-theme="dark"] .admin-card .table-row,
:root[data-theme="dark"] .admin-card .player-event-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(118, 150, 255, 0.12);
}

:root[data-theme="dark"] .admin-card .event-overview-card.selected-overview {
  background: linear-gradient(135deg, rgba(119, 136, 255, 0.2), rgba(87, 184, 255, 0.14));
  border-color: rgba(111, 127, 255, 0.28);
}

:root[data-theme="dark"] .admin-card .table-list,
:root[data-theme="dark"] .admin-card .checkbox-grid,
:root[data-theme="dark"] .admin-card .event-overview-list {
  gap: 10px;
}

:root[data-theme="dark"] .admin-card .card-head {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(118, 150, 255, 0.1);
}

:root[data-theme="dark"] .admin-card .admin-card-body {
  padding-top: 6px;
}

:root[data-theme="dark"] .admin-form-section {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(118, 150, 255, 0.1);
}

:root[data-theme="dark"] .admin-form-subsection,
:root[data-theme="dark"] .budget-assignment,
:root[data-theme="dark"] .import-panel {
  background: rgba(255, 255, 255, 0.028);
}

:root[data-theme="dark"] .admin-drawer-panel .admin-form-subsection,
:root[data-theme="dark"] .admin-drawer-panel .budget-assignment,
:root[data-theme="dark"] .admin-drawer-panel .import-panel,
:root[data-theme="dark"] .admin-drawer-panel .selection-bar,
:root[data-theme="dark"] .admin-drawer-panel .file-pick-row,
:root[data-theme="dark"] .admin-drawer-panel .toolbar-grid {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(118, 150, 255, 0.16);
  color: #eef4ff;
}

:root[data-theme="dark"] .admin-drawer-panel .check-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(118, 150, 255, 0.16);
  color: #eef4ff;
}

:root[data-theme="dark"] .admin-drawer-panel .check-card input[type="checkbox"] {
  accent-color: #7b8cff;
}

:root[data-theme="dark"] .history-strip span,
:root[data-theme="dark"] .auction-roster-player,
:root[data-theme="dark"] .auction-roster-player-empty {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(118, 150, 255, 0.14);
}

:root[data-theme="dark"] .admin-card,
:root[data-theme="dark"] .admin-card-body,
:root[data-theme="dark"] .stories-detail-dialog,
:root[data-theme="dark"] .table-list,
:root[data-theme="dark"] .checkbox-grid,
:root[data-theme="dark"] .event-overview-list,
:root[data-theme="dark"] .player-event-list,
:root[data-theme="dark"] .queue-list,
:root[data-theme="dark"] .history-list {
  scrollbar-color: rgba(118, 150, 255, 0.38) rgba(255, 255, 255, 0.04);
  color-scheme: dark;
}

:root[data-theme="dark"] .admin-card::-webkit-scrollbar,
:root[data-theme="dark"] .admin-card-body::-webkit-scrollbar,
:root[data-theme="dark"] .stories-detail-dialog::-webkit-scrollbar,
:root[data-theme="dark"] .table-list::-webkit-scrollbar,
:root[data-theme="dark"] .checkbox-grid::-webkit-scrollbar,
:root[data-theme="dark"] .event-overview-list::-webkit-scrollbar,
:root[data-theme="dark"] .player-event-list::-webkit-scrollbar,
:root[data-theme="dark"] .queue-list::-webkit-scrollbar,
:root[data-theme="dark"] .history-list::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

:root[data-theme="dark"] .admin-card::-webkit-scrollbar-track,
:root[data-theme="dark"] .admin-card-body::-webkit-scrollbar-track,
:root[data-theme="dark"] .stories-detail-dialog::-webkit-scrollbar-track,
:root[data-theme="dark"] .table-list::-webkit-scrollbar-track,
:root[data-theme="dark"] .checkbox-grid::-webkit-scrollbar-track,
:root[data-theme="dark"] .event-overview-list::-webkit-scrollbar-track,
:root[data-theme="dark"] .player-event-list::-webkit-scrollbar-track,
:root[data-theme="dark"] .queue-list::-webkit-scrollbar-track,
:root[data-theme="dark"] .history-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

:root[data-theme="dark"] .admin-card::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .admin-card-body::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .stories-detail-dialog::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .table-list::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .checkbox-grid::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .event-overview-list::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .player-event-list::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .queue-list::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .history-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(118, 150, 255, 0.5), rgba(87, 184, 255, 0.34));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

:root[data-theme="dark"] .auction-roster-player-captain {
  background: rgba(255, 184, 79, 0.14);
  border-color: rgba(255, 184, 79, 0.22);
}

:root[data-theme="dark"] .tag,
:root[data-theme="dark"] .pill,
:root[data-theme="dark"] .budget-chip,
:root[data-theme="dark"] .status-pill,
:root[data-theme="dark"] .auction-team-power,
:root[data-theme="dark"] .auction-player-power,
:root[data-theme="dark"] .auction-player-positions {
  color: var(--stage-text);
}

:root[data-theme="dark"] .warning-button {
  color: #2f2000;
}

@keyframes authDrawerSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes authDrawerSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
}

.collapsible-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.collapsible-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  color: inherit;
  border-radius: 22px;
}

.collapsible-trigger strong {
  display: block;
  text-align: left;
}

.collapsible-trigger span {
  color: var(--muted);
}

.collapsible-indicator {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}

.collapsible-panel .collapsible-body {
  padding: 0 16px 16px;
}

.collapsible-panel.collapsed .collapsible-body {
  display: none;
}

.collapsible-home-body .directory-shell,
.collapsible-home-body .spotlight-shell {
  border-radius: 22px;
}

.embedded-directory-shell {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.collapsible-home-body .directory-shell {
  height: auto;
}

.spotlight-shell-inline {
  background:
    radial-gradient(circle at top right, rgba(118, 135, 255, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(229, 255, 248, 0.9));
}

.directory-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  overflow: hidden;
}

.spotlight-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 280px;
  gap: 18px;
  align-items: stretch;
  background:
    radial-gradient(circle at top right, rgba(118, 135, 255, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(229, 255, 248, 0.9));
}

.spotlight-side {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.spotlight-side span {
  color: var(--muted);
}

.spotlight-side strong {
  font-size: 22px;
  line-height: 1.4;
}

.status-live,
.status-closed {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 700;
}

.status-live {
  color: #0e7d5f;
  background: rgba(110, 217, 200, 0.22);
  animation: livePulse 1.6s ease-in-out infinite;
}

.status-closed {
  color: #8d5e14;
  background: rgba(255, 191, 90, 0.22);
}

.status-badge,
.tag.phase-live,
.tag.phase-warning,
.tag.phase-info,
.tag.phase-muted {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  border: 1px solid transparent;
}

.phase-live {
  color: #afffe4;
  background: rgba(39, 211, 162, 0.16);
  border-color: rgba(39, 211, 162, 0.26);
}

.phase-warning {
  color: #ffd58c;
  background: rgba(255, 184, 79, 0.16);
  border-color: rgba(255, 184, 79, 0.26);
}

.phase-info {
  color: #d3dcff;
  background: rgba(123, 140, 255, 0.18);
  border-color: rgba(123, 140, 255, 0.26);
}

.phase-muted {
  color: #c4d0e7;
  background: rgba(152, 170, 200, 0.12);
  border-color: rgba(152, 170, 200, 0.18);
}

.budget-assignment {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.import-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.import-toolbar {
  margin: 0;
}

.file-pick-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-pick-name {
  font-size: 0.88em;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.import-actions {
  display: flex;
  align-items: end;
}

.position-picker {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.position-picker-label {
  font-size: 0.88em;
  color: var(--muted);
}

.position-picker-options {
  display: flex;
  gap: 6px;
}

.nav-auth-drawer .position-pick-btn {
  width: 0;
  height: auto;
  flex: 1 1 0;
  aspect-ratio: 1;
  padding: 5px;
}

.nav-auth-drawer .form-actions {
  flex-wrap: wrap;
}

.position-pick-btn {
  width: 48px;
  height: auto;
  flex: 0 0 48px;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 160ms ease, border-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.position-pick-btn img {
  width: 88%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  pointer-events: none;
}

.position-pick-btn.selected {
  opacity: 1;
  border-color: #7788ff;
  box-shadow: 0 0 0 2px rgba(119, 136, 255, 0.3);
}

.position-pick-btn:hover {
  opacity: 0.85;
  transform: scale(1.08);
}

.position-pick-btn.selected:hover {
  opacity: 1;
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.player-event-shell {
  border-radius: 28px;
  padding: 24px;
}

.toolbar-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin: 16px 0 18px;
}

.player-event-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.directory-list {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  --directory-list-gap: 10px;
  --directory-card-row-height: calc((100% - 7 * var(--directory-list-gap)) / 8);
  flex: 0 0 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  gap: var(--directory-list-gap);
  grid-auto-rows: var(--directory-card-row-height);
  max-height: calc(
    var(--directory-visible-rows, 4) * var(--directory-card-row-height) +
      (var(--directory-visible-rows, 4) - 1) * var(--directory-list-gap)
  );
  overscroll-behavior: contain;
}

.directory-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  display: grid;
  gap: 12px;
  height: 100%;
}

.directory-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.directory-card-head p,
.directory-intro {
  margin: 6px 0 0;
  color: var(--muted);
}

.pick-option.selected,
.team-card.highlight {
  border-color: rgba(111, 127, 255, 0.52);
  box-shadow: 0 18px 40px rgba(111, 127, 255, 0.16);
}

.mini-player-card {
  display: flex;
  gap: 12px;
  align-items: center;
}

.player-profile-card {
  border: 1px solid rgba(111, 127, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(241, 246, 255, 0.9));
  box-shadow: 0 16px 32px rgba(79, 103, 177, 0.12);
}

.champion-member-card.player-profile-card {
  background: #0b1220;
  border: 1px solid rgba(137, 163, 255, 0.1);
  box-shadow: 0 14px 30px rgba(3, 8, 19, 0.18);
  border-radius: 20px;
}

.player-card-girl {
  border-color: rgba(255, 105, 180, 0.55) !important;
  box-shadow: 0 16px 32px rgba(255, 105, 180, 0.16);
}

.girl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 105, 180, 0.14);
  color: #ff4fa3;
  border: 1px solid rgba(255, 105, 180, 0.28);
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}

.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.player-profile-card-large {
  gap: 14px;
}

.player-poster-card {
  position: relative;
  padding: 0;
  min-height: 0;
  height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2.5px solid var(--poster-accent, rgba(125, 140, 255, 0.55));
  background:
    radial-gradient(circle at top center, rgba(125, 140, 255, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(233, 239, 255, 0.96), rgba(214, 227, 255, 0.94));
  box-shadow:
    0 14px 28px rgba(79, 103, 177, 0.12),
    0 0 0 1px color-mix(in srgb, var(--poster-accent, #8aa6ff) 28%, transparent);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.player-poster-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  border: 2px solid transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.player-poster-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 42px rgba(17, 24, 39, 0.3),
    0 0 0 2px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #b2c2ff)) 78%, transparent),
    0 0 26px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #b2c2ff)) 44%, transparent),
    0 0 44px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #b2c2ff)) 24%, transparent);
  border-color: var(--poster-accent-bright, var(--poster-accent, rgba(160, 180, 255, 0.72)));
}

.player-poster-card:hover::after {
  opacity: 1;
  border-color: color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 92%, white 8%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 95%, white 5%),
    0 0 18px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 58%, transparent),
    0 0 34px color-mix(in srgb, var(--poster-accent-bright, var(--poster-accent, #d7e2ff)) 34%, transparent);
}

.player-poster-art {
  position: absolute;
  inset: 0;
}

.player-poster-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 30, 0.08) 0%, rgba(10, 16, 30, 0.14) 34%, rgba(10, 16, 30, 0.72) 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 26%);
  z-index: 0;
}

.player-poster-avatar {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7d8cff, #67dfc4);
  color: white;
  font-size: 3rem;
  font-weight: 700;
}

.player-poster-avatar.image-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.player-poster-caption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: grid;
  gap: 5px;
  padding: 10px 10px 9px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(18, 25, 44, 0.42), rgba(18, 25, 44, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.player-poster-heading strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(17, 24, 39, 0.4);
  text-align: center;
}

.player-poster-heading span {
  display: none;
}

.player-poster-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: rgba(235, 242, 255, 0.88);
  font-size: 9px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-poster-meta span {
  white-space: nowrap;
  flex: 0 0 auto;
}

.player-card-girl.player-poster-card {
  --poster-accent: #ff69b4;
  --poster-accent-bright: #ffb1dc;
}

.power-token {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  white-space: nowrap;
}

.power-token-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.power-token-value {
  font-variant-numeric: tabular-nums;
}

.power-token-inline .power-token-icon {
  width: 13px;
  height: 13px;
}

.power-token-mini {
  gap: 2px;
}

.power-token-mini .power-token-icon {
  width: 10px;
  height: 10px;
}

.power-token-mini .power-token-value {
  font-size: 9px;
}

.champion-token {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  white-space: nowrap;
}

.champion-token-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.champion-token-value {
  font-variant-numeric: tabular-nums;
}

.player-profile-head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.player-profile-heading {
  min-width: 0;
}

.player-profile-heading strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.player-profile-heading p,
.player-profile-intro {
  margin: 6px 0 0;
  color: var(--muted);
}

.player-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.player-profile-stats div {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(111, 127, 255, 0.12);
}

.player-profile-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.player-profile-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.1;
}

.player-profile-intro {
  line-height: 1.5;
}

.player-profile-card-compact {
  padding: 12px 14px;
  border-radius: 18px;
}

.player-profile-main {
  min-width: 0;
}

.player-profile-main strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
}

.player-profile-main span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.player-profile-main small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mini-avatar,
.hero-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, #7d8cff, #67dfc4);
  color: white;
  font-weight: 700;
}

.mini-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(58, 78, 140, 0.16);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7d8cff, #67dfc4);
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
}

.profile-avatar-compact {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
}

.hero-avatar {
  overflow: hidden;
}

.image-avatar {
  position: relative;
  overflow: hidden;
}

.image-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.auction-shell {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.auction-board {
  grid-template-columns: 380px minmax(0, 1fr) 280px;
  align-items: stretch;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  max-height: min(78vh, 920px);
}

.left-panel {
  background: linear-gradient(180deg, rgba(220, 235, 255, 0.88), rgba(214, 250, 245, 0.9));
  border: 3px solid rgba(111, 127, 255, 0.5);
}

.right-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(228, 255, 247, 0.92));
}

.center-stage {
  background:
    radial-gradient(circle at top center, rgba(138, 161, 255, 0.18), transparent 24%),
    rgba(255, 255, 255, 0.82);
}

.left-panel .team-stack {
  flex: 1;
  max-height: none;
  min-height: 0;
  align-content: start;
  overflow: auto;
}

.team-stack.compact-team-stack {
  gap: 6px;
  overflow: visible;
}

.team-stack.compact-team-stack.compact-team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  height: 100%;
  align-content: stretch;
}

.team-stack.compact-team-stack.scrollable {
  max-height: min(78vh, 920px);
  overflow: auto;
  padding-right: 4px;
}

.player-library-card .table-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1 1 auto;
  display: grid;
  min-height: 0;
  height: 100%;
  max-height: none;
  overflow: auto;
  align-content: start;
  padding-right: 6px;
}

.player-library-card .table-row {
  display: grid;
  gap: 10px;
  align-items: start;
  padding: 14px;
}

.player-library-card .row-actions {
  justify-content: flex-start;
}

.player-library-card .row-actions button {
  flex: 0 0 auto;
}

.event-management-card .checkbox-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-management-card .check-card {
  align-items: flex-start;
  min-height: 88px;
}

.admin-signup-player-card {
  justify-content: space-between;
}

.admin-signup-player-captain {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 12px;
  cursor: pointer;
}

.admin-signup-player-actions {
  display: flex;
  flex-shrink: 0;
}

.admin-signup-picker-list {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}

.selection-bar.admin-signup-picker-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
}

.admin-signup-picker-panel > label,
.admin-signup-picker-panel > .admin-signup-picker-list,
.admin-signup-picker-panel > .admin-signup-picker-footer {
  width: 100%;
}

.admin-signup-picker-card {
  cursor: pointer;
  min-height: auto;
  padding: 10px 12px;
}

.admin-signup-picker-name {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.admin-signup-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.section-title h3,
.section-title h4,
.stage-header h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.hero-player-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
  background: rgba(237, 240, 255, 0.82);
}

.hero-avatar {
  width: 112px;
  height: 112px;
  font-size: 42px;
}

.hero-meta strong {
  font-size: 34px;
}

.hero-tags,
.topbar-meta,
.signup-actions,
.history-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag,
.pill,
.budget-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(111, 127, 255, 0.1);
  color: #536cb8;
  font-weight: 700;
}

.budget-chip {
  background: rgba(255, 198, 91, 0.18);
  color: #ab7218;
}

.auction-readiness {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.auction-core {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.price-box.warning {
  background: rgba(255, 234, 202, 0.62);
}

.countdown-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.countdown-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.36) 50%, transparent 100%);
  transform: translateX(-140%);
  opacity: 0;
  pointer-events: none;
}

.countdown-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  transform-origin: center;
}

.countdown-box.countdown-normal {
  box-shadow: 0 10px 24px rgba(255, 181, 77, 0.12);
}

.countdown-box.countdown-urgent {
  background: rgba(255, 213, 148, 0.82);
  box-shadow: 0 14px 32px rgba(255, 159, 67, 0.22);
}

.countdown-box.countdown-urgent::after,
.countdown-box.countdown-critical::after {
  opacity: 1;
  animation: countdownSweep 1.25s linear infinite;
}

.countdown-box.countdown-normal .countdown-value {
  animation: countdownTextGlow 1.8s ease-in-out infinite;
}

.countdown-box.countdown-urgent .countdown-value {
  color: #9a5800;
  animation: countdownTextUrgent 0.72s ease-in-out infinite;
}

.countdown-box.countdown-critical {
  background: rgba(255, 168, 168, 0.9);
  box-shadow: 0 18px 40px rgba(255, 95, 116, 0.32);
}

.countdown-box.countdown-critical .countdown-value {
  color: #a23c4b;
  animation: countdownTextCritical 0.48s ease-in-out infinite;
}

.countdown-box.countdown-paused {
  background: rgba(220, 225, 241, 0.82);
  box-shadow: none;
}

.bid-panel {
  margin-top: 14px;
}

.auction-rule-hint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.bid-form {
  grid-template-columns: auto 140px auto 1fr;
  align-items: center;
}

.auction-rule-hint {
  opacity: 0.88;
}

.history-strip {
  margin-top: 18px;
}

.history-strip span {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}

.team-card {
  border: 1px solid rgba(111, 127, 255, 0.18);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.auction-team-card {
  display: flex;
  flex-direction: column;
  padding: 7px 8px;
  border-radius: 14px;
  height: 100%;
  min-height: 0;
}

.auction-team-card .team-card-head {
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 4px;
}

.auction-team-power {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(111, 127, 255, 0.08);
  color: #536cb8;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.compact-budget-chip {
  min-height: 18px;
  padding: 1px 6px;
  font-size: 9px;
  line-height: 1;
  flex: 0 0 auto;
}

.compact-roster-list {
  flex: 1;
  grid-auto-rows: minmax(0, 1fr);
  gap: 3px;
  margin-top: 0;
}

.auction-roster-player {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  gap: 4px;
  align-items: center;
  min-height: 0;
  padding: 3px 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(111, 127, 255, 0.12);
}

.auction-roster-player-captain {
  background: rgba(255, 236, 201, 0.78);
  border-color: rgba(234, 164, 64, 0.28);
}

.auction-roster-player strong {
  min-width: 0;
  font-size: 10px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auction-roster-player span {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
}

.auction-player-power,
.auction-player-positions {
  justify-content: center;
  min-width: 22px;
  padding: 1px 4px;
  border-radius: 999px;
  background: rgba(111, 127, 255, 0.08);
}

.auction-player-power {
  font-variant-numeric: tabular-nums;
  color: #536cb8;
  font-weight: 700;
}

.auction-player-power .power-token-value {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.auction-player-positions {
  letter-spacing: 0.02em;
}

.auction-roster-player-captain strong {
  color: #8a4d08;
}

.auction-roster-player-captain .auction-player-power,
.auction-roster-player-captain .auction-player-positions {
  background: rgba(234, 164, 64, 0.14);
  color: #8a4d08;
}

.auction-roster-player-empty {
  background: rgba(255, 255, 255, 0.36);
  border-style: dashed;
  opacity: 0.72;
}

.auction-roster-player-empty strong,
.auction-roster-player-empty span {
  color: rgba(96, 108, 139, 0.76);
}

.compact-stack {
  max-height: 420px;
}

.inhouse-shell {
  margin-top: 8px;
}

.inhouse-grid {
  grid-template-columns: 250px minmax(0, 1fr) 440px;
  margin-top: 8px;
  align-items: start;
}

.pick-panel,
.teams-panel,
.signup-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  max-height: min(78vh, 920px);
}

.signup-panel h3,
.pick-panel h3,
.teams-panel h3 {
  margin: 0;
  line-height: 1.15;
}

.signup-panel p,
.pick-panel p,
.teams-panel p {
  margin: 0;
}

.compact-history {
  margin-top: 6px;
}

.inhouse-scroll,
.inhouse-history-scroll {
  min-height: 0;
  overflow: auto;
}

.inhouse-team-scroll {
  min-height: 0;
  overflow: visible;
}

.signup-panel .inhouse-scroll {
  flex: 1;
}

.pick-panel .inhouse-scroll {
  flex: 1;
}

.inhouse-pick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.pick-panel .inhouse-history-scroll {
  max-height: 150px;
}

.teams-panel .inhouse-team-scroll {
  flex: 1;
  max-height: none;
}

.teams-panel .inhouse-team-scroll.scrollable {
  overflow: auto;
}

.empty-state {
  text-align: center;
}

.signup-actions {
  margin-top: 2px;
}

#pick-player-button {
  margin-top: -2px;
}

@media (max-width: 1200px), (max-device-width: 1200px) {
  .admin-layout-grid,
  .workspace-grid,
  .auction-board,
  .inhouse-grid,
  .top-shell,
  .auth-grid,
  .hero-layout,
  .content-split {
    grid-template-columns: 1fr;
  }

  .grid-form.compact,
  .grid-form {
    grid-template-columns: 1fr;
  }

  .toolbar-grid,
  .directory-list,
  .event-overview-list,
  .checkbox-grid,
  .budget-grid,
  .auction-core,
  .auction-readiness,
  .bid-form {
    grid-template-columns: 1fr;
  }

  .community-hero,
  .player-preview-grid {
    grid-template-columns: 1fr;
  }

  .community-hero-main {
    grid-template-columns: 1fr;
  }

  .hero-honor-stage,
  .hero-honor-grid {
    grid-template-columns: 1fr;
  }

  .admin-subnav {
    grid-template-columns: 1fr;
  }

  .admin-inline-toolbar-main,
  .admin-inline-pills {
    align-items: stretch;
  }

  .admin-action-row,
  .admin-compact-stats {
    align-items: stretch;
  }

  .community-hero {
    min-height: 0;
  }

  .hero-honor-stage {
    margin-top: 12px;
  }

  .hero-champion-stage {
    min-height: 360px;
  }

  .hero-honor-card {
    padding: 12px;
  }

  .hero-champion-stage {
    min-height: 380px;
    padding-inline: 0;
  }

  .champion-lineup {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .champion-lineup::before {
    display: none;
  }

  .champion-member-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
    animation: none;
    min-height: 136px;
  }

  .player-library-card .table-list,
  .event-management-card .checkbox-grid,
  .auction-overview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inhouse-pick-grid {
    grid-template-columns: 1fr;
  }

  .player-library-card,
  .event-management-card,
  .auction-management-card,
  .admin-sidebar,
  .side-panel,
  .pick-panel,
  .teams-panel,
  .signup-panel {
    height: auto;
    max-height: none;
  }

  .admin-sidebar {
    position: static;
  }

  .player-library-card .table-list,
  .directory-list,
  .admin-card-body,
  .left-panel .team-stack,
  .signup-panel .inhouse-scroll,
  .pick-panel .inhouse-scroll,
  .teams-panel .inhouse-team-scroll,
  .pick-panel .inhouse-history-scroll {
    max-height: 420px;
  }

  .page-nav,
  .page-nav-main,
  .nav-auth,
  .nav-login-form,
  .nav-admin-form,
  .activity-row-card,
  .live-scene-card,
  .side-entry-actions,
  .compact-side-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-nav-system {
    top: auto;
  }

  .page-nav-links {
    width: 100%;
    margin-inline: 0;
  }

}

@media (max-width: 720px), (max-device-width: 720px) {
  .dialog-backdrop {
    align-items: center;
    padding: 18px 14px;
  }

  .dialog-card {
    width: min(100%, calc(100dvw - 28px));
    gap: 12px;
    padding: 18px 16px;
    border-radius: 20px;
  }

  .dialog-card h3 {
    font-size: 18px;
  }

  .dialog-card p {
    font-size: 14px;
  }

  .dialog-check-option {
    padding: 11px 12px;
  }

  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dialog-actions button {
    width: 100%;
  }

  .page-shell {
    width: min(var(--shell-width), calc(100dvw - 16px));
    padding-top: 16px;
  }

  .page-nav-system {
    top: auto;
    padding: 7px 10px;
    border-radius: 14px;
  }

  .page-nav-link {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }

  .page-shell-home {
    padding-top: 6px;
  }

  .community-hero {
    padding: 16px 14px 14px;
  }

  .hero-title-band {
    top: 12px;
  }

  .hero-champion-stage {
    min-height: 320px;
    padding: 6px 2px 4px;
  }

  .global-theme-toggle {
    top: 10px;
    right: 10px;
  }

  .global-toolbar {
    right: 10px !important;
    gap: 6px;
  }

  .server-status-pill {
    max-width: calc(100dvw - 72px);
    padding-inline: 9px;
    gap: 5px;
    font-size: 11px;
  }

  .brand-panel,
  .auth-panel,
  .admin-card,
  .auction-topbar,
  .center-stage,
  .side-panel,
  .inhouse-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .community-hero,
  .community-section,
  .community-side-panel,
  .admin-sidebar,
  .hero-feature-card {
    padding: 14px 16px;
  }

  .hero-floating-meta {
    margin-bottom: 0;
  }

  .hero-login-floating {
    margin-left: 0;
    width: 100%;
  }

  .spotlight-event-card {
    padding: 14px;
    border-radius: 18px;
  }

  .hero-login-embed .nav-auth,
  .hero-login-embed .nav-auth-logged {
    width: 100%;
  }

  .hero-login-embed .nav-auth,
  .hero-login-embed .nav-auth-logged {
    width: 100%;
  }

  .admin-card {
    height: auto;
  }

  .directory-shell {
    height: auto;
  }

  .hero-player-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-honor-captain {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .hero-honor-avatar {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }

  .player-library-card .table-list,
  .event-management-card .checkbox-grid,
  .directory-list,
  .auction-overview-list,
  .player-preview-grid {
    grid-template-columns: 1fr;
  }

  .session-head,
  .community-info-head {
    align-items: start;
    flex-direction: column;
  }
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(67, 200, 154, 0.16);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(67, 200, 154, 0);
    transform: translateY(-1px);
  }
}

@keyframes countdownGlow {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(255, 181, 77, 0.12);
  }
  50% {
    box-shadow: 0 14px 30px rgba(255, 181, 77, 0.22);
  }
}

@keyframes countdownTextGlow {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 181, 77, 0);
  }
  50% {
    transform: scale(1.04);
    text-shadow: 0 0 14px rgba(255, 181, 77, 0.55);
  }
}

@keyframes countdownTextUrgent {
  0%,
  100% {
    transform: scale(1) translateY(0);
    text-shadow: 0 0 0 rgba(255, 159, 67, 0);
  }
  30% {
    transform: scale(1.08) translateY(-1px);
    text-shadow: 0 0 16px rgba(255, 159, 67, 0.75);
  }
  60% {
    transform: scale(0.98) translateY(0);
    text-shadow: 0 0 8px rgba(255, 159, 67, 0.4);
  }
}

@keyframes countdownTextCritical {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 95, 116, 0);
  }
  25% {
    transform: scale(1.12);
    text-shadow: 0 0 18px rgba(255, 95, 116, 0.95);
  }
  55% {
    transform: scale(0.96);
    text-shadow: 0 0 8px rgba(255, 95, 116, 0.55);
  }
}

@keyframes countdownSweep {
  0% {
    transform: translateX(-140%);
  }
  100% {
    transform: translateX(140%);
  }
}

@keyframes auctionRoomCountdownPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(93, 174, 255, 0.08), inset 0 0 22px rgba(93, 174, 255, 0.12);
  }
  50% {
    transform: scale(1.015);
    box-shadow: 0 0 0 18px rgba(93, 174, 255, 0.04), 0 0 24px rgba(93, 174, 255, 0.14), inset 0 0 26px rgba(93, 174, 255, 0.16);
  }
}

@keyframes auctionRoomCountdownUrgent {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.04);
  }
  70% {
    transform: scale(0.99);
  }
}

@keyframes auctionRoomCountdownCritical {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.075);
  }
  55% {
    transform: scale(0.965);
  }
}

/* ── Hero chips ── */
.player-poster-heroes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.player-hover-heroes {
  margin: 8px 0 4px;
}
.player-hover-heroes-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.hero-icon-list,
.hero-chip-row,
.player-poster-heroes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.hero-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.16));
}

.hero-icon-fallback {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.hero-picker {
  display: grid;
  gap: 8px;
}

.hero-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.hero-picker-label,
.hero-picker-meta {
  font-size: 12px;
}

.hero-picker-search {
  width: 100%;
}

.hero-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
  gap: 6px;
  max-height: 220px;
  overflow: auto;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-picker-option {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.72;
  transition: transform 120ms ease, opacity 120ms ease, box-shadow 120ms ease;
}

.hero-picker-option:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hero-picker-option.selected {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent);
}

.hero-picker-option img {
  width: 100%;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.16));
}

/* ── Extended toolbar grid ── */
.toolbar-grid-extended {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  align-items: end;
}

/* ── Skeleton screen ── */
.skeleton-shell {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100vh;
}
.skeleton-nav {
  height: 48px;
  border-radius: 10px;
}
.skeleton-hero {
  height: 260px;
  border-radius: 14px;
}
.skeleton-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.skeleton-card {
  height: 140px;
  border-radius: 10px;
}
.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    var(--panel, rgba(255,255,255,0.08)) 25%,
    var(--line, rgba(114,142,255,0.12)) 50%,
    var(--panel, rgba(255,255,255,0.08)) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
[data-theme="dark"] .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(19,30,52,0.6) 25%,
    rgba(118,150,255,0.1) 50%,
    rgba(19,30,52,0.6) 75%
  );
  background-size: 200% 100%;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Global loading bar ── */
.global-loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10000;
  overflow: hidden;
  background: transparent;
}
.global-loading-bar-indicator {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent, #6f7fff), transparent);
  animation: loadingSlide 1.2s ease-in-out infinite;
}
@keyframes loadingSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ── Registration form ── */
.join-button {
  color: #7788ff;
  background: transparent;
  border: 1.5px solid #7788ff;
  box-shadow: none;
}

.join-button:hover {
  background: rgba(119, 136, 255, 0.1);
}

.nav-auth-drawer .ghost-button {
  color: rgba(220, 228, 255, 0.8);
  background: transparent;
  border-color: rgba(160, 180, 255, 0.25);
  box-shadow: none;
}

.nav-auth-drawer .ghost-button:hover {
  background: rgba(160, 180, 255, 0.1);
}

.nav-auth-drawer .join-button {
  color: #a0b4ff;
  border-color: rgba(160, 180, 255, 0.4);
}

.nav-auth-drawer .join-button:hover {
  background: rgba(160, 180, 255, 0.1);
}

:root[data-theme="light"] .nav-auth-drawer .join-button {
  color: #7788ff;
  border-color: #7788ff;
}

:root[data-theme="dark"] .page-nav .nav-auth-entry-row .secondary-button,
:root[data-theme="dark"] .page-nav .nav-auth-entry-row .ghost-button,
:root[data-theme="dark"] .page-nav .nav-auth-logged .secondary-button {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(118, 150, 255, 0.16);
  box-shadow: none;
}

:root[data-theme="dark"] .page-nav .nav-auth-entry-row .secondary-button:hover,
:root[data-theme="dark"] .page-nav .nav-auth-entry-row .ghost-button:hover,
:root[data-theme="dark"] .page-nav .nav-auth-logged .secondary-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(118, 150, 255, 0.24);
}

:root[data-theme="dark"] .hero-login-embed .nav-auth-entry-row .secondary-button,
:root[data-theme="dark"] .hero-login-embed .nav-auth-entry-row .ghost-button,
:root[data-theme="dark"] .hero-login-embed .nav-auth-logged .secondary-button {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(118, 150, 255, 0.16);
  box-shadow: none;
}

:root[data-theme="dark"] .hero-login-embed .nav-auth-entry-row .secondary-button:hover,
:root[data-theme="dark"] .hero-login-embed .nav-auth-entry-row .ghost-button:hover,
:root[data-theme="dark"] .hero-login-embed .nav-auth-logged .secondary-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(118, 150, 255, 0.24);
}

:root[data-theme="dark"] .auction-shell [data-back-to-event].secondary-button,
:root[data-theme="dark"] .inhouse-shell [data-back-to-event].secondary-button,
:root[data-theme="dark"] .event-detail-shell [data-page="hub"].secondary-button,
:root[data-theme="dark"] .event-detail-shell [data-event-cancel].secondary-button,
:root[data-theme="dark"] .auction-shell .ghost-button {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(118, 150, 255, 0.16);
  box-shadow: none;
}

:root[data-theme="dark"] .auction-shell [data-back-to-event].secondary-button:hover,
:root[data-theme="dark"] .inhouse-shell [data-back-to-event].secondary-button:hover,
:root[data-theme="dark"] .event-detail-shell [data-page="hub"].secondary-button:hover,
:root[data-theme="dark"] .event-detail-shell [data-event-cancel].secondary-button:hover,
:root[data-theme="dark"] .auction-shell .ghost-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(118, 150, 255, 0.24);
}

:root[data-theme="dark"] .auction-shell input,
:root[data-theme="dark"] .auction-shell select,
:root[data-theme="dark"] .auction-shell textarea,
:root[data-theme="dark"] .inhouse-shell input,
:root[data-theme="dark"] .inhouse-shell select,
:root[data-theme="dark"] .inhouse-shell textarea,
:root[data-theme="dark"] .event-detail-shell input,
:root[data-theme="dark"] .event-detail-shell select,
:root[data-theme="dark"] .event-detail-shell textarea {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(118, 150, 255, 0.16);
}

:root[data-theme="dark"] .auction-shell input::placeholder,
:root[data-theme="dark"] .auction-shell textarea::placeholder,
:root[data-theme="dark"] .inhouse-shell input::placeholder,
:root[data-theme="dark"] .inhouse-shell textarea::placeholder,
:root[data-theme="dark"] .event-detail-shell input::placeholder,
:root[data-theme="dark"] .event-detail-shell textarea::placeholder {
  color: rgba(228, 236, 255, 0.52);
}

:root[data-theme="dark"] .auction-shell select,
:root[data-theme="dark"] .inhouse-shell select,
:root[data-theme="dark"] .event-detail-shell select {
  color-scheme: dark;
}

:root[data-theme="dark"] .auction-shell .queue-list,
:root[data-theme="dark"] .auction-shell .history-list,
:root[data-theme="dark"] .auction-shell .team-stack,
:root[data-theme="dark"] .inhouse-shell .queue-list,
:root[data-theme="dark"] .inhouse-shell .history-list,
:root[data-theme="dark"] .inhouse-shell .team-stack {
  scrollbar-color: rgba(118, 150, 255, 0.35) rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .power-token-icon {
  filter: brightness(1.28) contrast(1.16) drop-shadow(0 0 6px rgba(160, 210, 255, 0.18));
}

:root[data-theme="dark"] .join-button {
  color: #a9bbff;
  border-color: rgba(160, 180, 255, 0.42);
}

:root[data-theme="dark"] .join-button:hover {
  background: rgba(160, 180, 255, 0.12);
}

.label-hint {
  font-size: 0.75em;
  color: var(--muted);
  font-weight: 400;
}

.register-form {
  max-width: 360px;
  grid-column: 1 / -1;
  min-width: 0;
}
.register-form h3 {
  margin-bottom: 4px;
}
.register-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 8px;
  border: 2px solid var(--accent);
}
.register-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Profile editor ── */
/* ── Profile drawer ── */
.nav-profile-drawer {
  width: min(380px, 90vw);
  right: 0;
  left: auto;
}

/* ── My profile card ── */
.my-profile-card {
  padding: 12px;
  border-radius: 12px;
  background: var(--glass-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.my-profile-detail-card {
  padding: 18px;
  border-radius: 24px;
  color: #f4f7fb;
  background: #020202;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.my-profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.my-profile-detail-card .my-profile-header {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.my-profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
}

.my-profile-detail-card .my-profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: #111827;
  border: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.my-profile-name-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.my-profile-rank-slot {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.my-profile-name-block strong {
  font-size: 16px;
}

.my-profile-detail-card .my-profile-name-block {
  min-width: 0;
  gap: 6px;
}

.my-profile-detail-card .my-profile-name-block strong {
  color: #f7fbff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.my-profile-detail-card .my-profile-rank-slot {
  align-self: center;
  justify-self: end;
  margin-left: 0;
}

.my-profile-detail-card .champion-member-rank.rank-badge-profile {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.my-profile-detail-card .champion-member-rank.rank-badge-profile .champion-member-rank-emblem {
  width: 48px;
  height: 48px;
}

.my-profile-detail-card .champion-member-rank.rank-badge-profile .champion-member-rank-fallback {
  font-size: 22px;
}

.my-profile-detail-card .champion-member-rank.rank-badge-profile .champion-member-rank-star {
  width: 6px;
  height: 6px;
}

.my-profile-detail-card .champion-member-rank.rank-badge-profile .champion-member-rank-leaderboard {
  bottom: 3px;
  font-size: 8px;
}

.my-profile-detail-card .champion-member-rank.rank-badge-profile .champion-member-rank-unranked {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

.my-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  text-align: center;
}

.my-profile-detail-card .my-profile-stats {
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #233044;
}

.my-profile-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 8px;
  background: var(--glass-bg, rgba(255, 255, 255, 0.04));
}

.my-profile-detail-card .my-profile-stat {
  align-items: center;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.my-profile-stat .stat-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted, #888);
}

.my-profile-stat .stat-label .profile-stat-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  object-position: center;
  display: block;
}


.my-profile-detail-card .my-profile-stat .stat-label {
  color: #eef4ff;
  font-size: 17px;
  line-height: 1;
  min-height: 22px;
}

.my-profile-detail-card .my-profile-stat .stat-label .profile-stat-icon {
  width: 18px;
  height: 18px;
}

.my-profile-stat .stat-label-power {
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-profile-stat .stat-label-power .power-token-icon {
  width: 13px;
  height: 13px;
}

.my-profile-detail-card .my-profile-stat .stat-label-power .power-token-icon {
  width: 17px;
  height: 17px;
}

.my-profile-stat .stat-value {
  font-size: 16px;
  font-weight: 700;
}

.my-profile-detail-card .my-profile-stat .stat-value {
  color: #edf3fb;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.my-profile-trophy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-bottom: 1px solid #233044;
  color: #edf3fb;
}

.my-profile-trophy-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 19px;
}

.my-profile-trophy-item:last-child {
  justify-content: flex-end;
}

.my-profile-trophy-item strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.my-profile-quick-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid #233044;
}

.my-profile-position-row,
.my-profile-hero-row .hero-chip-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.my-profile-hero-row .hero-chip-row {
  justify-content: flex-end;
}

.my-profile-position-row .profile-pos-icon {
  width: 19px;
  height: 19px;
}

.my-profile-hero-row .hero-icon,
.my-profile-hero-row .hero-icon-fallback {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.my-profile-intro {
  margin: 0;
  padding: 14px 2px 8px;
  min-height: 72px;
  border-bottom: 1px solid #233044;
  color: #f4f7fb;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.04em;
}

.my-profile-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.my-profile-detail-row .detail-label {
  flex-shrink: 0;
  width: 64px;
  color: var(--muted, #888);
  font-size: 12px;
}

.my-profile-detail-row .detail-value {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.profile-pos-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.my-profile-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.my-profile-detail-card .my-profile-actions {
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.my-profile-detail-card .my-profile-actions .secondary-button {
  color: #edf3fb;
  background: rgba(255, 255, 255, 0.04);
  border-color: #28364d;
  box-shadow: none;
}

.my-profile-detail-card .my-profile-actions .secondary-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #486285;
}

.my-profile-editing {
  padding: 12px;
}

.my-profile-editing .card-head {
  margin-bottom: 8px;
}

.my-profile-editing .stack {
  gap: 6px;
}

.my-profile-editing .card-head h4 {
  margin: 0;
  font-size: 15px;
}

.my-profile-editing label {
  gap: 4px;
  font-size: 13px;
}

.my-profile-editing input,
.my-profile-editing textarea,
.my-profile-editing select {
  padding: 8px 10px;
  border-radius: 12px;
}

:root[data-theme="dark"] .nav-profile-drawer .my-profile-editing input,
:root[data-theme="dark"] .nav-profile-drawer .my-profile-editing textarea,
:root[data-theme="dark"] .nav-profile-drawer .my-profile-editing select {
  color: var(--stage-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(118, 150, 255, 0.16);
  color-scheme: dark;
}

:root[data-theme="dark"] .nav-profile-drawer .my-profile-editing input::placeholder,
:root[data-theme="dark"] .nav-profile-drawer .my-profile-editing textarea::placeholder {
  color: rgba(228, 236, 255, 0.52);
}

:root[data-theme="light"] .nav-profile-drawer .my-profile-editing input,
:root[data-theme="light"] .nav-profile-drawer .my-profile-editing textarea,
:root[data-theme="light"] .nav-profile-drawer .my-profile-editing select {
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(86, 117, 227, 0.2);
  color-scheme: light;
}

.my-profile-editing textarea {
  min-height: 68px;
}

.my-profile-editing .position-picker {
  gap: 4px;
}

.my-profile-editing .position-picker-label {
  font-size: 12px;
}

.my-profile-editing .position-picker-options {
  gap: 5px;
}

.my-profile-editing .position-pick-btn img {
  width: 40% !important;
  height: 40% !important;
}

.my-profile-editing .position-pick-btn {
  width: 34px;
  height: auto;
  flex-basis: 34px;
  aspect-ratio: 1 / 1;
  padding: 3px;
  border-radius: 6px;
}

.my-profile-editing .hero-picker {
  gap: 6px;
}

.my-profile-editing .hero-picker-search input {
  padding: 8px 10px;
}

.my-profile-editing button[type="submit"] {
  min-height: 40px;
}

/* ── Event detail page ── */
.event-detail-shell {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 0 20px;
}

.event-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.event-detail-topbar {
  display: grid;
  gap: 8px;
}

.event-detail-topbar-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.event-detail-breadcrumb {
  font-size: 12px;
  color: rgba(222, 232, 255, 0.58);
  letter-spacing: 0.04em;
}

.event-detail-hero-main {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  min-height: 100%;
  padding: 18px 20px 16px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(105, 142, 255, 0.24), transparent 30%),
    radial-gradient(circle at bottom left, rgba(67, 200, 154, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(14, 22, 40, 0.9), rgba(24, 39, 68, 0.84));
  border: 1px solid rgba(118, 150, 255, 0.16);
  box-shadow: 0 18px 38px rgba(3, 8, 19, 0.22);
}

.event-detail-hero-main .event-summary-grid {
  align-self: end;
}

.event-detail-hero-copy {
  display: grid;
  gap: 8px;
  align-content: start;
}

.event-detail-highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.event-detail-highlight-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(118, 150, 255, 0.1);
}

.event-detail-highlight-item span {
  font-size: 12px;
  color: rgba(206, 218, 245, 0.62);
}

.event-detail-highlight-item strong {
  font-size: 14px;
  color: #f1f6ff;
}

.event-detail-hero-copy h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.1;
  color: #f4f7ff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.event-detail-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(222, 232, 255, 0.74);
  max-width: 62ch;
}

.event-detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.event-phase-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.event-phase-step {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.event-phase-node-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}

.event-phase-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(144, 165, 214, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(235, 242, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.event-phase-line {
  flex: 1;
  height: 2px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(118, 150, 255, 0.18);
}

.event-phase-copy {
  display: grid;
  gap: 3px;
}

.event-phase-copy strong {
  font-size: 14px;
  color: #f1f6ff;
}

.event-phase-copy span {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(210, 222, 245, 0.7);
}

.event-phase-step.is-current .event-phase-node {
  border-color: rgba(105, 142, 255, 0.48);
  background: linear-gradient(180deg, rgba(105, 142, 255, 0.32), rgba(105, 142, 255, 0.12));
  color: #ffffff;
  box-shadow: 0 0 0 6px rgba(105, 142, 255, 0.12);
}

.event-phase-step.is-current .event-phase-copy strong {
  color: #ffffff;
}

.event-phase-step.is-current .event-phase-copy span {
  color: rgba(228, 236, 255, 0.84);
}

.event-phase-step.is-completed .event-phase-node {
  border-color: rgba(85, 208, 138, 0.38);
  background: linear-gradient(180deg, rgba(85, 208, 138, 0.26), rgba(85, 208, 138, 0.12));
  color: #eafff2;
}

.event-phase-step.is-completed .event-phase-line {
  background: linear-gradient(90deg, rgba(85, 208, 138, 0.58), rgba(105, 142, 255, 0.26));
}

.event-phase-step.is-upcoming .event-phase-copy strong {
  color: rgba(214, 225, 247, 0.76);
}

.event-phase-step.is-upcoming .event-phase-copy span {
  color: rgba(184, 199, 229, 0.58);
}

@media (max-width: 720px), (max-device-width: 720px) {
  .event-phase-timeline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .event-phase-step {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
  }

  .event-phase-node-wrap {
    min-height: 32px;
  }
}

.event-progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.event-progress-row.is-active .event-progress-dot {
  background: rgba(105, 142, 255, 0.95);
}

.event-progress-row.is-complete .event-progress-dot {
  background: rgba(85, 208, 138, 0.95);
}

.event-detail-rail-card {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 12px;
  border-radius: 16px;
  align-content: start;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 79, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(15, 24, 43, 0.92), rgba(24, 39, 68, 0.88));
  border: 1px solid rgba(255, 184, 79, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 30px rgba(3, 8, 19, 0.22);
}

.event-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-summary-card,
.event-summary-notes > div {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(118, 150, 255, 0.1);
}

.compact-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.event-summary-card span,
.event-summary-notes span {
  font-size: 11px;
  color: rgba(206, 218, 245, 0.6);
}

.event-summary-card strong,
.event-summary-notes strong {
  font-size: 15px;
  color: #f1f6ff;
}

.event-summary-notes {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-progress-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.event-progress-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 0;
  padding: 6px 8px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(118, 150, 255, 0.07);
}

.event-progress-row strong {
  font-size: 11px;
  color: rgba(237, 243, 255, 0.88);
  font-weight: 600;
}

.rail-notes {
  gap: 6px;
}

.event-progress-dot {
  width: 8px;
  height: 8px;
  opacity: 0.8;
}

.event-detail-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
  gap: 12px;
  align-items: stretch;
}

.event-detail-primary,
.event-detail-secondary {
  display: grid;
  gap: 12px;
  height: 100%;
}

.event-detail-secondary {
  position: sticky;
  top: 16px;
}

.event-detail-rail {
  gap: 10px;
}

.event-detail-rail-stack {
  display: grid;
  gap: 10px;
}

.event-detail-allocation-inline {
  margin-top: 0;
}

.event-allocation-card-inline {
  display: grid;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(118, 150, 255, 0.14);
}

.event-allocation-head-inline,
.event-allocation-status-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.event-allocation-head-inline strong {
  font-size: 14px;
  color: #eef4ff;
}

.event-allocation-head-inline span,
.event-allocation-status-inline span:first-child {
  font-size: 12px;
  color: rgba(206, 218, 245, 0.66);
}

.compact-status-card button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.event-detail-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted, #888);
}

.event-detail-actions {
  display: flex;
  gap: 8px;
}

.event-detail-actions button {
  width: 100%;
}

.event-detail-section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(118, 150, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(14, 22, 40, 0.9), rgba(21, 34, 58, 0.84));
  border: 1px solid rgba(118, 150, 255, 0.12);
  box-shadow: 0 12px 24px rgba(3, 8, 19, 0.14);
}

.event-detail-section h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  color: #eef4ff;
}

.event-detail-section .section-title {
  margin-bottom: 2px;
}

.event-signup-panel .event-signup-grid {
  max-height: 420px;
  overflow: auto;
  padding-right: 2px;
}

.event-signup-panel-wide {
  gap: 12px;
}

.event-signup-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding-right: 2px;
}

.event-signup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 7px;
}

.event-signup-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 9px;
  background: var(--glass-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  font-size: 12px;
}

.event-signup-card.is-captain {
  border-color: rgba(255, 184, 79, 0.4);
  background: rgba(255, 184, 79, 0.06);
}

.event-signup-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.event-signup-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-signup-info small {
  color: rgba(198, 210, 236, 0.7);
}

.event-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.event-team-panel-compact {
  align-content: start;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.event-teams-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  --compact-team-gap: 8px;
  --compact-team-visible-rows: 4;
  gap: var(--compact-team-gap);
  grid-auto-rows: calc((100% - (var(--compact-team-visible-rows) - 1) * var(--compact-team-gap)) / var(--compact-team-visible-rows));
  max-height: 100%;
  overflow: auto;
  padding-right: 2px;
  align-content: start;
}

.event-team-card {
  padding: 12px;
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, rgba(118, 150, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(19, 30, 52, 0.88), rgba(24, 39, 68, 0.8));
  border: 1px solid rgba(118, 150, 255, 0.16);
  box-shadow: 0 12px 22px rgba(3, 8, 19, 0.16);
}

.event-team-card-compact {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, auto) minmax(0, auto) minmax(0, 1fr);
  align-content: stretch;
  overflow: hidden;
}

.event-team-card-placeholder {
  opacity: 0.88;
  border-style: dashed;
}

.event-signup-card-placeholder {
  opacity: 0.7;
  border-style: dashed;
}

.event-team-card-placeholder strong,
.event-signup-card-placeholder strong {
  color: rgba(238, 244, 255, 0.8);
}

:root[data-theme="light"] .event-team-card-placeholder {
  border-color: rgba(86, 117, 227, 0.2);
  background:
    radial-gradient(circle at top right, rgba(86, 117, 227, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 255, 0.96));
}

:root[data-theme="light"] .event-signup-card-placeholder {
  border-color: rgba(86, 117, 227, 0.18);
  background: rgba(86, 117, 227, 0.04);
}

.polished-team-card {
  display: grid;
  gap: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.event-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.event-team-head strong {
  line-height: 1.25;
}

.event-team-title,
.event-team-strength {
  display: grid;
  gap: 4px;
}

.event-team-title small,
.event-team-strength small,
.event-team-submeta span {
  color: var(--muted, #8d99af);
}

.event-team-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
}

.event-team-submeta span {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(118, 150, 255, 0.1);
  border: 1px solid rgba(118, 150, 255, 0.16);
  font-size: 11px;
}

.event-team-members {
  display: grid;
  gap: 6px;
}

.event-team-members-compact {
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(0, 1fr);
  gap: 3px;
  align-content: stretch;
  min-height: 0;
  overflow: hidden;
}

.event-signup-slot-compact {
  min-height: 0;
  padding: 3px 5px;
  align-items: center;
  overflow: hidden;
}

.event-signup-slot-compact .event-signup-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.event-signup-slot-compact .event-signup-info strong {
  font-size: clamp(10px, 0.62vw, 12px);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.event-signup-slot-compact .event-signup-info small {
  font-size: clamp(8px, 0.5vw, 9px);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 0 auto;
}

.event-team-card-compact .event-team-title strong {
  font-size: clamp(11px, 0.72vw, 13px);
}

.event-team-card-compact .event-team-title small,
.event-team-card-compact .event-team-strength small,
.event-team-card-compact .event-team-submeta span {
  font-size: clamp(8px, 0.5vw, 9px);
}

.event-team-card-compact .event-team-head {
  margin-bottom: 4px;
  padding-bottom: 5px;
}

.event-team-card-compact .event-team-submeta {
  gap: 4px;
}

.event-team-card-compact .event-team-submeta span {
  padding: 2px 6px;
}

.event-team-budget {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  text-align: right;
  opacity: 0.7;
}

.tournament-section {
  gap: 12px;
  padding: 14px;
  background:
    radial-gradient(circle at top right, rgba(118, 150, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(11, 18, 35, 0.94), rgba(18, 30, 54, 0.9));
  border-color: rgba(118, 150, 255, 0.14);
}

.tournament-layout {
  display: block;
}

.tournament-board {
  display: grid;
  gap: 12px;
  min-width: 0;
  position: relative;
}

.tournament-section > .section-title {
  align-items: end;
}

.tournament-section > .section-title span,
.tournament-lane .section-title span {
  font-size: 12px;
}

.tournament-lane {
  display: grid;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 79, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(18, 30, 52, 0.88), rgba(24, 39, 68, 0.84));
  border: 1px solid rgba(118, 150, 255, 0.14);
}

.tournament-lane .section-title {
  margin-bottom: -2px;
}

.tournament-rounds {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 2px 6px 8px 2px;
}

.tournament-round-column {
  min-width: 205px;
  display: grid;
  gap: 8px;
  position: relative;
}

.tournament-round-column > strong {
  font-size: 12px;
  color: rgba(205, 218, 245, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-left: 4px;
}

.tournament-round-stack {
  display: grid;
  gap: 8px;
  position: relative;
  padding-top: var(--round-offset, 0);
  gap: var(--round-gap, 12px);
}

.tournament-fixture-shell {
  position: relative;
}

.tournament-lane.is-tree-bracket .tournament-fixture-shell::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  width: 28px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  transform: translateY(-50%);
}

.tournament-lane.is-tree-bracket .tournament-round-column.is-last-round .tournament-fixture-shell::after {
  display: none;
}

.tournament-lane.is-tree-bracket .tournament-round-column:not(.is-first-round) .tournament-fixture-shell::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -28px;
  width: 28px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  transform: translateY(-50%);
}

.tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-odd-fixture > .tournament-fixture-card::after,
.tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-even-fixture > .tournament-fixture-card::after {
  content: "";
  position: absolute;
  right: -28px;
  width: 28px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  top: 50%;
  transform: translateY(-50%);
}

.tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-odd-fixture > .tournament-fixture-card::before,
.tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-even-fixture > .tournament-fixture-card::before {
  content: "";
  position: absolute;
  right: -28px;
  width: 28px;
  top: 50%;
  pointer-events: none;
}

.tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-odd-fixture > .tournament-fixture-card::before {
  height: calc(50% + (var(--round-gap, 12px) / 2));
  border-right: 2px solid rgba(255, 255, 255, 0.15);
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  transform: translateY(0);
}

.tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-even-fixture > .tournament-fixture-card::before {
  height: calc(50% + (var(--round-gap, 12px) / 2));
  border-right: 2px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  transform: translateY(-100%);
}

.tournament-fixture-card {
  display: grid;
  gap: 8px;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background:
    radial-gradient(circle at top right, rgba(118, 150, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(20, 33, 58, 0.94), rgba(27, 43, 74, 0.9));
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: inset 3px 0 0 rgba(118, 150, 255, 0.18), 0 12px 24px rgba(3, 8, 19, 0.18);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  min-height: 160px;
}

.tournament-detail-empty {
  display: grid;
  place-items: center;
  min-height: 88px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--muted, #8fa0bb);
  background: rgba(255, 255, 255, 0.025);
}

.tournament-fixture-card > * {
  position: relative;
  z-index: 1;
}

.tournament-fixture-card:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.16);
}

.tournament-fixture-card.selected-fixture {
  border-color: rgba(115, 145, 255, 0.55);
  box-shadow: inset 3px 0 0 rgba(115, 145, 255, 1), 0 0 0 1px rgba(115, 145, 255, 0.3), 0 18px 38px rgba(74, 106, 230, 0.22);
}

.tournament-fixture-card.is-completed {
  background: rgba(68, 160, 110, 0.08);
}

.tournament-fixture-card.is-completed {
  box-shadow: inset 3px 0 0 rgba(85, 208, 138, 0.95);
}

.tournament-fixture-card.is-placeholder {
  opacity: 0.78;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.12);
}

.tournament-fixture-card.is-finals {
  border-color: rgba(255, 184, 79, 0.5);
  background:
    radial-gradient(circle at top right, rgba(255, 184, 79, 0.24), transparent 35%),
    radial-gradient(circle at bottom left, rgba(255, 120, 64, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(42, 31, 14, 0.92), rgba(72, 46, 12, 0.86));
}

.tournament-fixture-head {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tournament-fixture-head strong {
  font-size: 12px;
}

.tournament-fixture-card.is-finals .tournament-fixture-head strong {
  color: #ffd27e;
}

.tournament-fixture-head,
.tournament-fixture-team,
.tournament-detail-meta,
.tournament-game-card,
.tournament-scoreline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tournament-fixture-head span,
.tournament-fixture-card small,
.tournament-detail-meta span,
.tournament-game-card span,
.tournament-game-card small {
  color: rgba(205, 218, 245, 0.68);
}

.tournament-fixture-team {
  font-size: 13px;
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tournament-fixture-team.is-winner span,
.tournament-fixture-team.is-winner strong {
  color: #6ee7a8;
}

.tournament-fixture-team.is-winner {
  background: rgba(85, 208, 138, 0.1);
}

.tournament-detail-panel {
  display: grid;
  gap: 10px;
  position: absolute;
  top: 42px;
  right: 12px;
  z-index: 6;
  width: min(300px, 32%);
  min-width: 248px;
  padding: 12px;
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 79, 0.16), transparent 36%),
    radial-gradient(circle at bottom left, rgba(118, 150, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(9, 15, 30, 0.96), rgba(16, 28, 52, 0.92));
  border: 1px solid rgba(118, 150, 255, 0.18);
  box-shadow: 0 20px 42px rgba(3, 8, 19, 0.28);
  backdrop-filter: blur(16px);
}

.tournament-detail-panel .section-title {
  margin-bottom: 2px;
}

:root[data-theme="light"] .tournament-section,
:root[data-theme="light"] .tournament-lane,
:root[data-theme="light"] .event-detail-hero,
:root[data-theme="light"] .event-detail-rail-card,
:root[data-theme="light"] .event-detail-section {
  background:
    radial-gradient(circle at top right, rgba(114, 142, 255, 0.18), transparent 26%),
    radial-gradient(circle at top left, rgba(255, 184, 79, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 255, 1));
  border-color: rgba(86, 117, 227, 0.24);
}

:root[data-theme="light"] .tournament-round-column > strong,
:root[data-theme="light"] .tournament-fixture-head span,
:root[data-theme="light"] .tournament-fixture-card small,
:root[data-theme="light"] .tournament-detail-meta span,
:root[data-theme="light"] .tournament-game-card span,
:root[data-theme="light"] .tournament-game-card small,
:root[data-theme="light"] .tournament-detail-empty {
  color: #55627f;
}

:root[data-theme="light"] .tournament-lane.is-tree-bracket .tournament-fixture-shell::after,
:root[data-theme="light"] .tournament-lane.is-tree-bracket .tournament-round-column:not(.is-first-round) .tournament-fixture-shell::before,
:root[data-theme="light"] .tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-odd-fixture > .tournament-fixture-card::after,
:root[data-theme="light"] .tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-even-fixture > .tournament-fixture-card::after,
:root[data-theme="light"] .tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-odd-fixture > .tournament-fixture-card::before,
:root[data-theme="light"] .tournament-lane.is-tree-bracket .tournament-round-column:not(.is-last-round) .tournament-fixture-shell.is-even-fixture > .tournament-fixture-card::before {
  border-color: rgba(86, 117, 227, 0.42);
}

:root[data-theme="light"] .tournament-fixture-card {
  background:
    radial-gradient(circle at top right, rgba(86, 117, 227, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(235, 243, 255, 0.98));
  border-color: rgba(86, 117, 227, 0.22);
  box-shadow: inset 3px 0 0 rgba(86, 117, 227, 0.22), 0 10px 22px rgba(103, 129, 210, 0.16);
}

:root[data-theme="light"] .tournament-detail-panel {
  background:
    radial-gradient(circle at top right, rgba(86, 117, 227, 0.16), transparent 38%),
    radial-gradient(circle at bottom left, rgba(255, 184, 79, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(238, 244, 255, 1));
  border-color: rgba(86, 117, 227, 0.24);
  box-shadow: 0 18px 38px rgba(103, 129, 210, 0.2);
}

:root[data-theme="light"] .event-detail-hero-main {
  background:
    radial-gradient(circle at top right, rgba(114, 142, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(67, 200, 154, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 255, 0.94));
  border-color: rgba(114, 142, 255, 0.16);
  box-shadow: 0 18px 34px rgba(103, 129, 210, 0.14);
}

:root[data-theme="light"] .event-detail-hero-copy h2,
:root[data-theme="light"] .event-summary-card strong,
:root[data-theme="light"] .event-summary-notes strong,
:root[data-theme="light"] .event-phase-copy strong,
:root[data-theme="light"] .event-progress-row strong,
:root[data-theme="light"] .event-detail-section h3 {
  color: #223252;
  text-shadow: none;
}

:root[data-theme="light"] .event-detail-lead,
:root[data-theme="light"] .event-detail-breadcrumb {
  color: #66738f;
}

:root[data-theme="light"] .event-detail-rail-card .section-title span,
:root[data-theme="light"] .event-detail-badges .status-badge,
:root[data-theme="light"] .event-summary-card span,
:root[data-theme="light"] .event-summary-notes span,
:root[data-theme="light"] .event-phase-copy span,
:root[data-theme="light"] .event-allocation-head-inline span,
:root[data-theme="light"] .event-allocation-status-inline span:first-child,
:root[data-theme="light"] .event-detail-highlight-item span {
  color: #52627f;
}

:root[data-theme="light"] .event-detail-lead,
:root[data-theme="light"] .event-detail-breadcrumb,
:root[data-theme="light"] .event-progress-row strong {
  color: #40506b;
}

:root[data-theme="light"] .event-detail-rail-card .section-title h3,
:root[data-theme="light"] .event-allocation-head-inline strong,
:root[data-theme="light"] .event-allocation-status-inline .status-badge,
:root[data-theme="light"] .event-detail-highlight-item strong {
  color: #1d2c46;
}

:root[data-theme="light"] .event-progress-row {
  background: linear-gradient(180deg, rgba(86, 117, 227, 0.08), rgba(86, 117, 227, 0.04));
  border-color: rgba(86, 117, 227, 0.14);
}

:root[data-theme="light"] .event-progress-dot {
  background: rgba(86, 117, 227, 0.42);
}

:root[data-theme="light"] .event-summary-card,
:root[data-theme="light"] .event-summary-notes > div,
:root[data-theme="light"] .event-allocation-card-inline {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 255, 0.98));
  border-color: rgba(86, 117, 227, 0.18);
}

:root[data-theme="light"] .tournament-fixture-card:hover:not(:disabled) {
  box-shadow: inset 3px 0 0 rgba(86, 117, 227, 0.22), 0 14px 26px rgba(103, 129, 210, 0.2);
}

:root[data-theme="light"] .tournament-fixture-team {
  background: rgba(86, 117, 227, 0.09);
  border-color: rgba(86, 117, 227, 0.12);
}

:root[data-theme="light"] .tournament-fixture-team.is-winner {
  background: rgba(67, 200, 154, 0.18);
}

:root[data-theme="light"] .tournament-detail-empty {
  background: rgba(86, 117, 227, 0.06);
  border-color: rgba(86, 117, 227, 0.2);
}

:root[data-theme="light"] .event-detail-hero-main,
:root[data-theme="light"] .event-detail-rail-card {
  border-color: rgba(86, 117, 227, 0.2);
  box-shadow: 0 16px 32px rgba(103, 129, 210, 0.16);
}

:root[data-theme="light"] .event-allocation-card-inline {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 241, 255, 0.96));
  border-color: rgba(86, 117, 227, 0.2);
}

:root[data-theme="light"] .event-detail-hero-copy h2,
:root[data-theme="light"] .event-summary-card strong,
:root[data-theme="light"] .event-summary-notes strong,
:root[data-theme="light"] .event-progress-row strong,
:root[data-theme="light"] .event-detail-section h3 {
  color: #1f2f4f;
}

:root[data-theme="light"] .event-detail-lead,
:root[data-theme="light"] .event-detail-breadcrumb,
:root[data-theme="light"] .event-summary-card span,
:root[data-theme="light"] .event-summary-notes span,
:root[data-theme="light"] .event-signup-info small,
:root[data-theme="light"] .event-team-title small,
:root[data-theme="light"] .event-team-strength small,
:root[data-theme="light"] .event-team-submeta span {
  color: #5b6b88;
}

:root[data-theme="light"] .event-signup-info strong,
:root[data-theme="light"] .event-team-head strong,
:root[data-theme="light"] .event-team-title strong,
:root[data-theme="light"] .tournament-fixture-team span,
:root[data-theme="light"] .tournament-fixture-team strong {
  color: #203150;
}

:root[data-theme="light"] .event-detail-shell .secondary-button,
:root[data-theme="light"] .event-detail-shell .ghost-button {
  color: #203150;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 240, 255, 0.96));
  border-color: rgba(86, 117, 227, 0.22);
  box-shadow: 0 8px 18px rgba(103, 129, 210, 0.14);
}

:root[data-theme="light"] .event-detail-shell .secondary-button:hover,
:root[data-theme="light"] .event-detail-shell .ghost-button:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(224, 235, 255, 1));
  border-color: rgba(86, 117, 227, 0.32);
}

:root[data-theme="light"] .event-detail-shell .action-button {
  color: #fff;
  background: linear-gradient(135deg, #5b73ff, #2ea7ff);
  border-color: rgba(65, 111, 255, 0.38);
  box-shadow: 0 10px 22px rgba(65, 111, 255, 0.24);
}

:root[data-theme="light"] .event-detail-shell .success-button {
  color: #fff;
  background: linear-gradient(135deg, #24b874, #4ad8b1);
  border-color: rgba(36, 184, 116, 0.34);
  box-shadow: 0 10px 22px rgba(36, 184, 116, 0.18);
}

:root[data-theme="light"] .event-detail-shell .warning-button {
  color: #533000;
  background: linear-gradient(135deg, #ffc553, #ff9f39);
  border-color: rgba(255, 165, 50, 0.34);
  box-shadow: 0 10px 22px rgba(255, 165, 50, 0.18);
}

:root[data-theme="light"] .event-detail-shell .danger-button {
  color: #fff;
  background: linear-gradient(135deg, #ff6a7f, #ff4f66);
  border-color: rgba(255, 91, 116, 0.34);
  box-shadow: 0 10px 22px rgba(255, 91, 116, 0.18);
}

:root[data-theme="light"] .event-detail-shell .status-badge.phase-info {
  color: #2646a3;
  background: rgba(86, 117, 227, 0.14);
  border-color: rgba(86, 117, 227, 0.22);
}

:root[data-theme="light"] .event-detail-shell .status-badge.phase-live {
  color: #0f7b56;
  background: rgba(36, 184, 116, 0.14);
  border-color: rgba(36, 184, 116, 0.22);
}

:root[data-theme="light"] .event-detail-shell .status-badge.phase-warning {
  color: #8c5700;
  background: rgba(255, 165, 50, 0.16);
  border-color: rgba(255, 165, 50, 0.24);
}

.tournament-scoreline {
  justify-content: center;
  font-size: 22px;
}

.tournament-game-list,
.tournament-standings,
.tournament-admin-shell {
  display: grid;
  gap: 10px;
}

.tournament-game-card,
.tournament-standing-card {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--glass-bg, rgba(255, 255, 255, 0.04));
}

.tournament-standing-card.is-champion {
  border-color: rgba(255, 184, 79, 0.5);
  background: rgba(255, 184, 79, 0.08);
}

.tournament-game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tournament-game-links a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 980px), (max-device-width: 980px) {
  .event-detail-hero,
  .tournament-layout {
    grid-template-columns: 1fr;
  }

  .event-detail-main-grid {
    grid-template-columns: 1fr;
  }

  .event-detail-secondary {
    position: static;
    height: auto;
  }

  .event-teams-grid-compact {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    max-height: none;
    overflow: visible;
  }

  .event-team-card-compact {
    height: auto;
    min-height: 0;
  }

  .event-team-panel-compact {
    height: auto;
    min-height: 0;
    grid-template-rows: auto;
  }

  .event-signup-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-detail-hero {
    padding: 10px;
  }

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

  .tournament-detail-panel {
    position: static;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px), (max-device-width: 640px) {
  .event-detail-hero-main {
    padding: 16px;
  }

  .event-detail-hero-copy h2 {
    font-size: 24px;
  }

  .event-summary-grid {
    grid-template-columns: 1fr;
  }

  .compact-summary-grid {
    grid-template-columns: 1fr;
  }

  .event-signup-strip {
    grid-template-columns: 1fr;
    max-height: 320px;
  }
}

/* ── Inhouse mode selector row ── */
.inhouse-mode-row {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}
.inhouse-mode-row label {
  flex: 0 0 auto;
}

/* ── Toast notifications ── */
.toast-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 380px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateX(100%);
  backdrop-filter: blur(12px);
}
.toast-enter {
  animation: toastSlideIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.toast-exit {
  animation: toastFadeOut 0.28s ease forwards;
}
.toast-success {
  background: rgba(34, 170, 120, 0.92);
  color: #fff;
  border: 1px solid rgba(34, 170, 120, 0.4);
}
.toast-error {
  background: rgba(220, 60, 70, 0.92);
  color: #fff;
  border: 1px solid rgba(220, 60, 70, 0.4);
}
.toast-info {
  background: var(--panel-strong, rgba(255, 255, 255, 0.92));
  color: var(--text);
  border: 1px solid var(--line);
}
[data-theme="dark"] .toast-info {
  background: rgba(19, 30, 52, 0.94);
  color: #eef4ff;
  border-color: rgba(118, 150, 255, 0.22);
}
.toast-message {
  flex: 1;
  word-break: break-word;
}
.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: inherit;
  opacity: 0.7;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}
.toast-close:hover {
  opacity: 1;
}
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastFadeOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(60%); }
}

/* ── Prototype page layers ── */
.page-shell-home {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.page-shell-home::before {
  content: "";
  position: absolute;
  inset: -120px -80px auto;
  height: 420px;
  background:
    radial-gradient(circle at 18% 18%, rgba(123, 140, 255, 0.16), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(67, 200, 154, 0.1), transparent 20%),
    radial-gradient(circle at 42% 48%, rgba(255, 184, 79, 0.08), transparent 28%);
  pointer-events: none;
  z-index: 0;
}

.page-shell-home::after {
  content: "";
  position: absolute;
  inset: auto -8% -160px;
  height: 320px;
  background: radial-gradient(circle, rgba(118, 150, 255, 0.1), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.page-shell-home > * {
  position: relative;
  z-index: 1;
}

.home-main-stage {
  display: grid;
  gap: 16px;
}

.community-home-shell,
.events-page-shell,
.events-list-shell,
.event-detail-shell {
  width: 100%;
}

.community-home-shell,
.events-page-shell,
.events-list-shell {
  display: grid;
  gap: 16px;
}

.community-home-shell .community-hero,
.events-page-hero,
.events-list-hero,
.event-detail-hero-main {
  overflow: hidden;
}

.community-home-shell .community-hero,
.events-page-hero,
.events-list-hero {
  position: relative;
  border-radius: 28px;
}

.community-home-shell .community-hero {
  min-height: 372px;
  padding: 20px 20px 18px;
  background:
    linear-gradient(135deg, rgba(6, 12, 26, 0.88), rgba(12, 20, 37, 0.82)),
    url("/assets/featured-event-bg.jpg");
  background-size: cover;
  background-position: center 40%;
  border: 1px solid rgba(118, 150, 255, 0.14);
  box-shadow: var(--stage-shadow-soft);
}

.community-home-shell .community-hero::before,
.events-page-hero::before,
.events-list-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(123, 140, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(67, 200, 154, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(5, 10, 21, 0.08), rgba(5, 10, 21, 0.46));
  pointer-events: none;
}

.community-home-shell .community-hero > *,
.events-page-hero > *,
.events-list-hero > * {
  position: relative;
  z-index: 1;
}

.community-home-shell .hero-layout {
  gap: 14px;
}

.community-home-shell .hero-rail {
  gap: 12px;
}

.community-home-shell .spotlight-shell,
.community-home-shell .directory-shell,
.community-home-shell .leaderboard-shell,
.events-page-shell .events-list-card,
.events-list-shell .events-list-card,
.events-list-shell .events-list-tabs,
.events-page-shell .events-list-tabs {
  border-radius: 26px;
  border: 1px solid rgba(118, 150, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(123, 140, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(12, 20, 37, 0.9), rgba(19, 30, 52, 0.86));
  box-shadow: var(--stage-shadow-soft);
}

.community-home-shell .community-section {
  overflow: hidden;
}

.community-home-shell .card-head {
  margin-bottom: 10px;
}

.activity-list,
.leaderboard-list,
.events-list-grid,
.events-card-grid {
  display: grid;
  gap: 12px;
}

.activity-list {
  align-content: start;
}

.activity-row-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(118, 150, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(7, 12, 23, 0.62), rgba(16, 25, 43, 0.72)),
    url("/assets/featured-event-bg.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--stage-shadow-soft);
  isolation: isolate;
}

.activity-row-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(123, 140, 255, 0.2), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(67, 200, 154, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(8, 14, 29, 0.12), rgba(8, 14, 29, 0.58));
  pointer-events: none;
}

.activity-row-card > * {
  position: relative;
  z-index: 1;
}

.compact-activity-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.activity-row-main {
  display: grid;
  gap: 8px;
}

.community-info-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.activity-row-main strong {
  color: #f1f6ff;
  font-size: clamp(18px, 2vw, 26px);
}

.activity-row-main p,
.activity-row-main small {
  color: rgba(226, 234, 251, 0.72);
}

.activity-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.leaderboard-list {
  align-content: start;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: auto 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(118, 150, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.leaderboard-row .mini-avatar {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.leaderboard-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.leaderboard-copy strong {
  font-size: 15px;
  color: var(--stage-text);
}

.leaderboard-copy small {
  color: var(--stage-muted);
}

.featured-player-rank {
  min-width: 74px;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(94, 132, 255, 0.18);
}

.events-page-shell .events-list-tabs,
.events-list-shell .events-list-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  flex-wrap: wrap;
}

.events-list-tab {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(118, 150, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--stage-muted);
  box-shadow: none;
}

.events-list-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(119, 136, 255, 0.98), rgba(87, 184, 255, 0.98));
  border-color: rgba(137, 163, 255, 0.42);
}

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

.events-list-card,
.event-list-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(118, 150, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(123, 140, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(12, 20, 37, 0.9), rgba(19, 30, 52, 0.88));
  box-shadow: var(--stage-shadow-soft);
}

.events-list-card-banner,
.event-list-card-banner {
  position: relative;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(6, 10, 20, 0.28), rgba(6, 10, 20, 0.62)),
    url("/assets/featured-event-bg.jpg");
  background-size: cover;
  background-position: center;
}

.events-list-card-banner::after,
.event-list-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(123, 140, 255, 0.18), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(255, 184, 79, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(8, 14, 29, 0.1), rgba(8, 14, 29, 0.34));
}

.events-list-card-body,
.event-list-card-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.events-list-card-head,
.event-list-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.events-list-card-head strong,
.event-list-card-head strong {
  display: block;
  color: #f1f6ff;
  font-size: 20px;
  line-height: 1.15;
}

.events-list-card-head span,
.event-list-card-head span,
.events-list-card-body p,
.event-list-card-body p,
.events-list-card-body small,
.event-list-card-body small {
  color: rgba(226, 234, 251, 0.72);
}

.events-list-card-meta,
.event-list-card-meta,
.events-list-card-actions,
.event-list-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.events-list-card-actions,
.event-list-card-actions {
  justify-content: space-between;
}

.events-list-card.is-live,
.event-list-card.is-live {
  border-color: rgba(67, 200, 154, 0.22);
}

.events-list-card.is-featured,
.event-list-card.is-featured {
  box-shadow:
    0 18px 40px rgba(3, 8, 19, 0.26),
    0 0 0 1px rgba(123, 140, 255, 0.18);
}

.events-list-card.is-featured .events-list-card-banner::after,
.event-list-card.is-featured .event-list-card-banner::after {
  background:
    radial-gradient(circle at 20% 20%, rgba(123, 140, 255, 0.22), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(67, 200, 154, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(8, 14, 29, 0.08), rgba(8, 14, 29, 0.42));
}

.events-list-shell .page-nav-link,
.events-page-shell .page-nav-link {
  color: var(--stage-muted);
}

.events-list-shell .page-nav-link:hover,
.events-page-shell .page-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(118, 150, 255, 0.2);
}

.event-detail-shell .event-detail-hero {
  align-items: stretch;
}

.event-detail-shell .event-detail-hero-main {
  position: relative;
  background:
    linear-gradient(135deg, rgba(8, 14, 29, 0.72), rgba(12, 20, 37, 0.82)),
    url("/assets/featured-event-bg.jpg");
  background-size: cover;
  background-position: center 36%;
  border-radius: 26px;
}

.event-detail-shell .event-detail-hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(123, 140, 255, 0.2), transparent 26%),
    radial-gradient(circle at top right, rgba(67, 200, 154, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(4, 8, 16, 0.04), rgba(4, 8, 16, 0.44));
  pointer-events: none;
}

.event-detail-shell .event-detail-hero-main > * {
  position: relative;
  z-index: 1;
}

.event-detail-shell .event-detail-hero-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.event-detail-shell .event-detail-highlight-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-detail-shell .event-detail-highlight-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(118, 150, 255, 0.14);
}

.event-detail-shell .event-detail-rail-card,
.event-detail-shell .event-detail-section {
  background:
    radial-gradient(circle at top right, rgba(123, 140, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(12, 20, 37, 0.9), rgba(19, 30, 52, 0.88));
}

.event-detail-shell .event-detail-rail-card .section-title h3,
.event-detail-shell .event-detail-section h3 {
  color: #f1f6ff;
}

.event-detail-shell .event-summary-card,
.event-detail-shell .event-summary-notes > div,
.event-detail-shell .event-allocation-card-inline {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.event-detail-shell .event-signup-card,
.event-detail-shell .event-team-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.event-detail-shell .event-signup-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.event-detail-shell .event-team-card-compact,
.event-detail-shell .event-team-panel-compact {
  background: transparent;
}

.event-detail-shell .tournament-section {
  border-radius: 18px;
}

@media (max-width: 1200px), (max-device-width: 1200px) {
  .community-home-shell .hero-layout,
  .events-list-grid,
  .events-page-shell .events-list-grid,
  .events-list-shell .events-list-grid,
  .event-detail-shell .event-detail-highlight-strip {
    grid-template-columns: 1fr;
  }

  .compact-activity-card {
    grid-template-columns: 1fr;
  }

  .leaderboard-row {
    grid-template-columns: auto 48px minmax(0, 1fr);
  }

  .event-detail-shell .event-signup-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px), (max-device-width: 720px) {
  .page-shell-home::before,
  .page-shell-home::after {
    display: none;
  }

  .community-home-shell .community-hero,
  .events-page-hero,
  .events-list-hero {
    border-radius: 22px;
  }

  .community-home-shell .community-hero {
    min-height: 0;
    padding: 16px 14px 14px;
  }

  .community-home-shell .spotlight-shell,
  .community-home-shell .directory-shell,
  .community-home-shell .leaderboard-shell,
  .events-page-shell .events-list-tabs,
  .events-list-shell .events-list-tabs,
  .events-list-card,
  .event-list-card,
  .event-detail-shell .event-detail-hero-main,
  .event-detail-shell .event-detail-rail-card,
  .event-detail-shell .event-detail-section {
    border-radius: 20px;
  }

  .activity-row-card,
  .events-list-card-body,
  .event-list-card-body,
  .event-detail-shell .event-detail-hero-main {
    padding: 14px;
  }

  .leaderboard-row {
    grid-template-columns: auto 44px minmax(0, 1fr);
    padding: 12px 14px;
  }

  .events-list-grid,
  .event-detail-shell .event-detail-highlight-strip,
  .event-detail-shell .event-signup-strip {
    grid-template-columns: 1fr;
  }

  .events-list-card-banner,
  .event-list-card-banner {
    min-height: 150px;
  }

  .event-detail-shell .event-detail-hero-copy h2 {
    font-size: 24px;
  }
}

/* Prototype page refresh: home / events / event detail */

.prototype-home-page,
.prototype-events-page,
.prototype-event-detail-page,
.prototype-players-page,
.prototype-stories-page {
  width: min(1180px, calc(100dvw - 40px));
  margin: 0 auto 48px;
}

.prototype-hero-shell,
.prototype-block,
.prototype-event-detail-banner,
.prototype-event-stats-bar,
.prototype-event-list-card,
.prototype-leaderboard,
.prototype-team-card,
.prototype-tournament-summary {
  border: 1px solid rgba(108, 198, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(10, 34, 43, 0.92), rgba(5, 18, 24, 0.96)),
    radial-gradient(circle at top left, rgba(85, 186, 255, 0.18), transparent 32%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.prototype-hero-shell,
.prototype-block,
.prototype-event-detail-banner,
.prototype-leaderboard,
.prototype-event-list-card {
  border-radius: 24px;
}

.prototype-home-page {
  width: min(1440px, calc(100dvw - 40px));
  margin: 0 auto 48px;
  padding-top: 18px;
  display: grid;
  gap: 14px;
}

.prototype-events-page {
  width: min(1440px, calc(100dvw - 40px));
  margin: 0 auto 48px;
  padding-top: 8px;
}

.prototype-stories-page {
  width: min(1440px, calc(100dvw - 40px));
  margin: 0 auto 48px;
  padding-top: 8px;
  display: grid;
  gap: 18px;
}

.prototype-event-detail-page {
  width: min(1440px, calc(100dvw - 40px));
  margin: 0 auto 48px;
  padding-top: 8px;
}

.page-nav-home-refresh {
  display: grid;
  grid-template-columns: 426px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 106px;
  padding: 0 32px 0 19px;
  width: min(1440px, calc(100dvw - 40px));
  margin: 0 auto 16px;
  border-radius: 30px;
  background: rgba(28, 60, 66, 1);
  z-index: 140;
}

.page-shell-home > .page-nav-home-refresh {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  z-index: 180;
}

.page-nav-home-refresh .page-nav-main {
  display: contents;
}

.page-nav-home-refresh .page-nav-brand {
  display: flex;
  align-items: center;
  gap: 17px;
  width: 100%;
  min-width: 0;
}

.page-nav-brand-mark {
  width: 53px;
  height: 53px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(229, 229, 229, 1);
}

.page-nav-brand-copy {
  display: flex;
  align-items: center;
  gap: 28px;
}

.page-nav-home-refresh .page-nav-brand strong,
.page-nav-home-refresh .page-nav-brand span {
  color: rgba(210, 216, 217, 1);
  line-height: 50px;
}

.page-nav-home-refresh .page-nav-brand strong {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0;
}

.page-nav-home-refresh .page-nav-brand span {
  font-size: 36px;
  font-weight: 400;
  opacity: 1;
}

.page-nav-home-refresh .page-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 3vw, 56px);
  width: 100%;
  min-width: 0;
  min-height: 105px;
  margin: 0;
  flex-wrap: nowrap;
}

.page-nav-home-refresh .nav-auth,
.page-nav-home-refresh .nav-auth-logged {
  margin-left: auto;
  width: 100%;
  justify-content: flex-end;
  align-self: center;
}

.page-nav-home-refresh .page-nav-link {
  position: relative;
  min-width: 0;
  min-height: 105px;
  white-space: nowrap;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(225, 243, 248, 0.92);
  font-size: 36px;
  font-weight: 700;
}

.page-nav-home-refresh .page-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #79dcff, #63a3ff);
  transition: width 180ms ease;
}

.page-nav-home-refresh .page-nav-link.nav-active::after,
.page-nav-home-refresh .page-nav-link:hover::after {
  width: 34px;
}

.page-nav-home-refresh .nav-auth {
  gap: 10px;
}

.page-nav-home-refresh .nav-auth-entry-row {
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
  gap: 14px;
}

.page-nav-home-refresh .nav-auth-drawer-shell {
  width: auto;
  min-width: auto;
  justify-self: end;
}

.page-nav-home-refresh .nav-profile-avatar-btn,
.page-nav-home-refresh .nav-login-toggle,
.page-nav-home-refresh .nav-auth button.secondary-button {
  border-color: rgba(130, 208, 241, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.page-nav-home-refresh .nav-profile-avatar-btn,
.page-nav-home-refresh .nav-auth-entry-row .nav-profile-avatar-btn {
  width: 65px;
  min-width: 65px;
  height: 65px;
  min-height: 65px;
  border-radius: 50px;
  padding: 0;
}

.page-nav-home-refresh .nav-profile-avatar {
  width: 59px;
  height: 59px;
}

.page-nav-home-refresh .nav-auth-entry-row .secondary-button:not(.nav-profile-avatar-btn) {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.page-nav-home-refresh .nav-profile-avatar.image-avatar img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
}

.prototype-captain-card,
.prototype-player-card {
  border: 1px solid rgba(118, 209, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.prototype-page-header {
  margin: 14px 0 22px;
}

.prototype-page-header h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  color: #f2fbff;
}

.stories-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.stories-page-header p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(213, 233, 238, 0.78);
  font-size: 15px;
  line-height: 1.75;
}

.stories-page-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(143, 213, 220, 0.82);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stories-page-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
  color: rgba(192, 212, 218, 0.68);
  font-size: 13px;
  text-align: right;
}

.story-management-card .admin-entity-card {
  border-radius: 20px;
}

.admin-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.story-player-picker {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid rgba(126, 197, 208, 0.14);
  border-radius: 18px;
  background: rgba(8, 17, 23, 0.5);
}

.story-player-picker legend {
  padding: 0 6px;
  color: rgba(230, 245, 247, 0.9);
  font-size: 14px;
}

.story-player-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 240px;
  overflow: auto;
  padding-right: 4px;
}

.story-player-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(11, 24, 31, 0.82);
  border: 1px solid rgba(126, 197, 208, 0.12);
  color: rgba(226, 241, 243, 0.88);
}

.story-player-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.story-player-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

@media (max-width: 640px) {
  .story-player-picker-grid {
    grid-template-columns: minmax(0, 1fr);
    max-height: 200px;
  }
}

.story-cover-upload-shell {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.story-cover-upload-frame {
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(126, 197, 208, 0.16);
  background: linear-gradient(180deg, rgba(12, 26, 34, 0.96), rgba(6, 14, 18, 0.98));
}

.story-cover-upload-preview,
.story-cover-upload-placeholder {
  width: 100%;
  height: 220px;
}

.story-cover-upload-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-cover-upload-placeholder {
  display: grid;
  place-items: center;
  color: rgba(192, 212, 218, 0.68);
  font-size: 13px;
}

.story-cover-upload-controls {
  display: grid;
  gap: 10px;
}

.event-cover-upload-block {
  display: grid;
  gap: 10px;
}

.event-cover-upload-label {
  color: rgba(203, 235, 239, 0.82);
  font-size: 13px;
  font-weight: 600;
}

.event-cover-upload-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.event-cover-upload-frame {
  min-height: 112px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(126, 197, 208, 0.16);
  background: linear-gradient(180deg, rgba(12, 26, 34, 0.96), rgba(6, 14, 18, 0.98));
}

.event-cover-upload-preview {
  width: 100%;
  height: 112px;
}

.event-cover-upload-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-cover-upload-controls {
  display: grid;
  gap: 8px;
  align-content: start;
}

.event-cover-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px) {
  .event-cover-upload-shell {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .event-cover-upload-frame,
  .event-cover-upload-preview {
    height: 132px;
    min-height: 132px;
  }
}

.story-body-editor {
  display: grid;
  gap: 12px;
}

.story-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-body-editor-list {
  display: grid;
  gap: 12px;
}

.story-body-paragraph {
  display: grid;
  gap: 8px;
}

.story-body-paragraph span {
  color: rgba(203, 235, 239, 0.82);
  font-size: 13px;
}

.story-rich-input {
  min-height: 148px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 197, 208, 0.18);
  border-radius: 16px;
  background: rgba(8, 17, 23, 0.82);
  color: rgba(232, 245, 247, 0.92);
  line-height: 1.75;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.story-rich-input:focus {
  border-color: rgba(149, 219, 228, 0.42);
  box-shadow: 0 0 0 4px rgba(90, 165, 176, 0.14);
  background: rgba(9, 20, 27, 0.92);
}

.story-rich-input:empty::before {
  content: attr(data-placeholder);
  color: rgba(168, 191, 196, 0.48);
}

.story-rich-input p,
.story-rich-input h2,
.story-rich-input blockquote,
.story-rich-input ul,
.story-rich-input ol {
  margin: 0 0 12px;
}

.story-rich-input p:last-child,
.story-rich-input h2:last-child,
.story-rich-input blockquote:last-child,
.story-rich-input ul:last-child,
.story-rich-input ol:last-child {
  margin-bottom: 0;
}

.story-rich-input h2 {
  color: #f3fbfc;
  font-size: 22px;
  line-height: 1.35;
}

.story-rich-input blockquote {
  margin-left: 0;
  padding-left: 14px;
  border-left: 3px solid rgba(137, 211, 221, 0.4);
  color: rgba(198, 225, 230, 0.84);
}

.story-rich-input ul,
.story-rich-input ol {
  padding-left: 20px;
}

.story-rich-input img {
  display: block;
  max-width: min(100%, 520px);
  width: auto;
  height: auto;
  margin: 14px 0;
  border-radius: 14px;
  border: 1px solid rgba(126, 197, 208, 0.16);
}

.story-management-card .admin-entity-head {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.story-admin-thumb {
  width: 110px;
  height: 146px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(126, 197, 208, 0.16);
  background: linear-gradient(180deg, rgba(12, 26, 34, 0.96), rgba(6, 14, 18, 0.98));
  display: grid;
  place-items: center;
  color: rgba(192, 212, 218, 0.68);
  font-size: 12px;
  flex-shrink: 0;
}

.story-admin-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-admin-thumb span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: rgba(235, 247, 249, 0.92);
  background:
    radial-gradient(circle at top, rgba(151, 217, 226, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(20, 38, 49, 0.96), rgba(8, 16, 22, 0.98));
}

.stories-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  gap: 18px;
  padding: 22px;
  overflow: hidden;
}

.stories-hero-copy,
.stories-hero-side,
.stories-list-panel {
  min-width: 0;
}

.stories-hero-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(145, 211, 220, 0.2);
  border-radius: 999px;
  color: rgba(203, 235, 239, 0.84);
  background: rgba(95, 150, 157, 0.12);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.stories-hero-side {
  display: grid;
  gap: 14px;
}

.stories-side-note {
  border: 1px solid rgba(113, 181, 196, 0.16);
  border-radius: 22px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(13, 29, 37, 0.9), rgba(7, 17, 23, 0.96)),
    radial-gradient(circle at top right, rgba(129, 206, 216, 0.12), transparent 35%);
}

.stories-side-note span {
  display: block;
  margin-bottom: 8px;
  color: rgba(151, 205, 214, 0.72);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stories-side-note strong {
  display: block;
  color: #eff8f9;
  font-size: 20px;
  line-height: 1.3;
}

.stories-side-note p {
  margin: 10px 0 0;
  color: rgba(212, 229, 233, 0.72);
  line-height: 1.7;
}

.stories-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.stories-section-head h2 {
  margin: 0;
  color: #eef8f8;
  font-size: 30px;
  line-height: 1.2;
}

.stories-section-head p {
  margin: 0;
  color: rgba(196, 215, 221, 0.7);
}

.stories-feed-header {
  margin-bottom: 6px;
}

.stories-feed-shell {
  display: grid;
  gap: 18px;
  position: relative;
  padding: 8px 0 28px;
  isolation: isolate;
}

.stories-feed-shell::before {
  content: "";
  position: absolute;
  inset: -18px -18px -28px;
  z-index: -1;
  border: 1px solid rgba(205, 234, 230, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(238, 255, 251, 0.08), rgba(10, 19, 18, 0.18) 48%, rgba(255, 255, 255, 0.04)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 70px rgba(0, 0, 0, 0.18);
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.68), #000 32%, #000 72%, rgba(0, 0, 0, 0.74));
  -webkit-mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.68), #000 32%, #000 72%, rgba(0, 0, 0, 0.74));
  pointer-events: none;
}

.stories-feed-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.55fr);
  gap: 16px;
  padding: 22px;
}

.stories-feed-intro-main {
  display: grid;
  gap: 12px;
}

.stories-feed-intro-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(108, 171, 180, 0.12);
  border: 1px solid rgba(147, 211, 220, 0.18);
  color: rgba(214, 239, 243, 0.84);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.stories-feed-intro-main h2 {
  margin: 0;
  color: #f1fbfb;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
}

.stories-feed-intro-main p {
  margin: 0;
  color: rgba(212, 230, 235, 0.78);
  line-height: 1.8;
}

.stories-feed-intro-action {
  width: fit-content;
}

.stories-feed-intro-side {
  display: grid;
  align-content: end;
  justify-items: end;
  gap: 8px;
  color: rgba(193, 216, 221, 0.72);
  text-align: right;
}

.stories-feed-intro-side span {
  color: #eaf7f8;
  font-size: 18px;
}

.stories-feed-gallery {
  position: relative;
  height: 680px;
  min-height: 680px;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 16%, rgba(170, 218, 216, 0.12), transparent 24%),
    radial-gradient(circle at 80% 72%, rgba(120, 136, 190, 0.12), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(135deg, #10191d, #18252a 46%, #0b1116);
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
}

.stories-feed-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 70% 34%, rgba(255, 255, 255, 0.045), transparent 16%),
    repeating-linear-gradient(12deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px);
  border: 1px solid rgba(214, 244, 240, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.stories-feed-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stories-feed-ambient::before,
.stories-feed-ambient::after {
  content: "";
  position: absolute;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(23, 33, 39, 0.62), rgba(8, 13, 17, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.07);
  filter: blur(0.2px);
  opacity: 0.55;
  transform: rotate(-7deg);
}

.stories-feed-ambient::before {
  left: 16%;
  top: 10%;
  width: 12%;
  aspect-ratio: 1.18 / 1;
}

.stories-feed-ambient::after {
  right: 15%;
  bottom: 7%;
  width: 14%;
  aspect-ratio: 1.35 / 1;
  transform: rotate(5deg);
}

.stories-ambient-card {
  position: absolute;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(238, 255, 251, 0.08), rgba(14, 30, 27, 0.22) 54%, rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(205, 236, 232, 0.13);
  backdrop-filter: blur(14px) saturate(128%);
  -webkit-backdrop-filter: blur(14px) saturate(128%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 42px rgba(0, 0, 0, 0.16);
  opacity: 0.7;
}

.ambient-card-a {
  left: 9%;
  top: 23%;
  width: 11%;
  aspect-ratio: 1 / 1.05;
}

.ambient-card-b {
  left: 9%;
  bottom: 16%;
  width: 8%;
  aspect-ratio: 1 / 1.08;
}

.ambient-card-c {
  left: 23%;
  bottom: 4%;
  width: 8%;
  aspect-ratio: 1.45 / 1;
}

.ambient-card-d {
  right: 24%;
  top: 18%;
  width: 10%;
  aspect-ratio: 1 / 1.12;
}

.ambient-card-e {
  right: 11%;
  top: 29%;
  width: 11%;
  aspect-ratio: 1 / 1.05;
}

.ambient-card-f {
  right: 8%;
  bottom: 11%;
  width: 6.5%;
  aspect-ratio: 1 / 1.14;
  opacity: 0.48;
}

.stories-feed-tile {
  position: absolute;
  z-index: 2;
  width: 100%;
  transform-origin: center center;
  transition: z-index 0ms linear 260ms;
}

.stories-feed-tile:hover {
  z-index: 20;
  transition-delay: 0ms;
}

.story-tile-a { left: 8%; top: 36%; width: 13%; }
.story-tile-b { left: 24%; top: 14%; width: 22%; }
.story-tile-c { left: 50%; top: 9%; width: 17%; }
.story-tile-d { left: 40%; top: 39%; width: 20%; }
.story-tile-e { left: 66%; top: 33%; width: 18%; }
.story-tile-f { left: 22%; top: 50%; width: 20%; }
.story-tile-g { left: 54%; top: 55%; width: 18%; }
.story-tile-h { left: 78%; top: 45%; width: 13%; }
.story-tile-i { left: 74%; top: 16%; width: 13%; }
.story-tile-j { left: 74%; top: 72%; width: 10%; }
.story-tile-k { left: 11%; top: 72%; width: 10%; }
.story-tile-l { left: 31%; top: 73%; width: 10%; }
.story-tile-m { left: 57%; top: 72%; width: 10%; }
.story-tile-n { left: 69%; top: 82%; width: 7%; }
.story-tile-o { left: 6%; top: 58%; width: 9%; }

.stories-search-bar,
.stories-feed-empty {
  padding: 14px 16px;
  border: 1px solid rgba(205, 236, 232, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(238, 255, 251, 0.08), rgba(7, 16, 18, 0.72));
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.stories-search-field {
  display: block;
  max-width: 360px;
}

.stories-search-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(128, 201, 212, 0.18);
  border-radius: 14px;
  background: rgba(7, 16, 22, 0.88);
  color: #eef9fa;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.stories-search-field input:focus {
  border-color: rgba(149, 219, 228, 0.42);
  box-shadow: 0 0 0 4px rgba(90, 165, 176, 0.14);
}

.stories-feed-empty h2,
.stories-feed-empty p {
  margin: 0;
}

.stories-feed-empty h2 {
  color: #f1fbfb;
  font-size: 18px;
}

.stories-feed-empty p {
  margin-top: 8px;
  color: rgba(195, 220, 225, 0.72);
  font-size: 14px;
}

.stories-feed-card {
  --story-card-scale: 1;
  --story-card-hover-scale: 1.018;
  --story-card-rotate: 0deg;
  --story-card-hover-rotate: 0deg;
  --story-paper: linear-gradient(180deg, rgba(29, 31, 44, 0.96), rgba(18, 20, 31, 0.98));
  --story-tape-left: 42%;
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(157, 176, 255, 0.16);
  border-radius: 18px;
  background:
    var(--story-paper),
    radial-gradient(circle at top left, rgba(116, 128, 255, 0.08), transparent 40%);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  cursor: pointer;
  transform: translateY(0) rotate(var(--story-card-rotate)) scale(var(--story-card-scale));
  will-change: transform, box-shadow, border-color;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    border-color 260ms ease,
    filter 320ms ease;
}

.stories-feed-tile:hover .stories-feed-card {
  transform: translateY(-10px) rotate(var(--story-card-hover-rotate)) scale(var(--story-card-hover-scale));
  border-color: rgba(197, 210, 255, 0.28);
  box-shadow:
    0 30px 58px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(210, 219, 255, 0.04);
  filter: saturate(1.08) brightness(1.02);
}

.stories-feed-tile .stories-feed-card {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    var(--story-paper),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.38), transparent 42%);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.22) inset;
  max-height: 258px;
}

.stories-feed-tile .stories-feed-card::before {
  content: "";
  position: absolute;
  left: var(--story-tape-left);
  top: -8px;
  z-index: 5;
  width: 48px;
  height: 18px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 18%, rgba(255, 255, 255, 0.2) 50%, transparent 82%),
    rgba(232, 224, 201, 0.62);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  transform: rotate(-3deg);
  pointer-events: none;
}

.stories-feed-tile:hover .stories-feed-card::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 18%, rgba(255, 255, 255, 0.32) 50%, transparent 82%),
    rgba(245, 235, 204, 0.78);
  transform: rotate(-1deg) translateY(1px);
}

.stories-feed-tile .stories-feed-card::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 5;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(138, 178, 174, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.24),
    0 5px 12px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.story-tile-a .stories-feed-card,
.story-tile-f .stories-feed-card {
  --story-paper: linear-gradient(180deg, #f4efe4, #d9ccb6);
  --story-card-rotate: -2.5deg;
  --story-card-hover-rotate: -0.7deg;
}

.story-tile-b .stories-feed-card,
.story-tile-h .stories-feed-card {
  --story-paper: linear-gradient(180deg, #eff4ef, #cdd9d0);
  --story-card-rotate: 1.6deg;
  --story-card-hover-rotate: 0.4deg;
  --story-tape-left: 52%;
}

.story-tile-c .stories-feed-card,
.story-tile-g .stories-feed-card {
  --story-paper: linear-gradient(180deg, #e9edf5, #cbd1df);
  --story-card-rotate: -1.2deg;
  --story-card-hover-rotate: -0.2deg;
  --story-tape-left: 35%;
}

.story-tile-d .stories-feed-card,
.story-tile-i .stories-feed-card {
  --story-paper: linear-gradient(180deg, #f7f1dd, #d8cda5);
  --story-card-rotate: 2.4deg;
  --story-card-hover-rotate: 0.6deg;
}

.story-tile-e .stories-feed-card {
  --story-paper: linear-gradient(180deg, #efe6dd, #d6c3b2);
  --story-card-rotate: -1.8deg;
  --story-card-hover-rotate: -0.4deg;
  --story-tape-left: 48%;
}

.stories-new-sticker {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 6;
  padding: 4px 7px;
  border-radius: 999px;
  background: #e85f4b;
  color: #fff8ed;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 14px rgba(117, 38, 28, 0.26);
  transform: rotate(-5deg);
  pointer-events: none;
}

.stories-feed-tile .story-variant-photo .stories-feed-cover {
  max-height: none;
}

.stories-feed-tile .story-variant-photo .stories-feed-body p {
  -webkit-line-clamp: 1;
}

.stories-feed-tile .story-variant-note .stories-feed-cover {
  max-height: 132px;
}

.stories-feed-tile .stories-feed-card.story-variant-note::before {
  width: 38px;
}

.stories-feed-tile .story-variant-ticket .stories-feed-cover {
  max-height: 104px;
}

.stories-feed-tile .story-variant-ticket .stories-feed-body {
  gap: 4px;
  padding: 7px 8px 8px;
}

.stories-feed-tile .story-variant-ticket .stories-feed-body p {
  display: none;
}

.stories-feed-tile .story-variant-ticket .stories-feed-meta {
  align-items: center;
}

.stories-feed-tile .stories-feed-body h2 {
  color: #25313a;
}

.stories-feed-tile .stories-feed-body p {
  color: rgba(50, 65, 72, 0.72);
}

.stories-feed-tile .stories-feed-author strong {
  color: #22313a;
}

.stories-feed-tile .stories-feed-author small,
.stories-feed-tile .stories-feed-date {
  color: rgba(56, 72, 80, 0.68);
}

.stories-feed-tile .stories-reaction-bar button {
  border-color: rgba(36, 54, 61, 0.12);
  background: rgba(255, 255, 255, 0.42);
  color: rgba(36, 54, 61, 0.76);
}

.stories-feed-tile .stories-reaction-bar strong {
  color: #22313a;
}

.stories-waterfall-section {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(205, 236, 232, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(117, 190, 198, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(238, 255, 251, 0.07), rgba(7, 16, 18, 0.7));
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

.stories-waterfall-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.stories-waterfall-head span,
.stories-waterfall-head small {
  color: rgba(199, 224, 229, 0.62);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stories-waterfall-head h2 {
  margin: 4px 0 0;
  color: #f1fbfb;
  font-size: 24px;
}

.stories-waterfall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.stories-waterfall-card {
  display: block;
  width: 100%;
  min-width: 0;
}

.stories-waterfall-card:hover .stories-feed-card {
  transform: translateY(-8px) scale(1.014);
  border-color: rgba(197, 210, 255, 0.28);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(210, 219, 255, 0.04);
  filter: saturate(1.04);
}

.stories-waterfall-card .stories-feed-cover {
  max-height: 210px;
}

.stories-waterfall-card:nth-child(3n + 1) .stories-feed-cover {
  aspect-ratio: 4 / 4.7;
}

.stories-waterfall-card:nth-child(3n + 2) .stories-feed-cover {
  aspect-ratio: 4 / 3.7;
}

.stories-waterfall-loader {
  justify-self: center;
  min-width: 180px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(180, 216, 222, 0.18);
  border-radius: 999px;
  background: rgba(12, 26, 29, 0.84);
  color: rgba(232, 247, 249, 0.88);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.stories-waterfall-loader:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 216, 222, 0.34);
  background: rgba(18, 38, 42, 0.92);
}

.stories-waterfall-end,
.stories-waterfall-empty {
  margin: 0;
  color: rgba(195, 220, 225, 0.66);
  text-align: center;
}

.stories-feed-card.is-featured .stories-feed-cover {
  aspect-ratio: 4 / 4.1;
}

.story-tile-b .stories-feed-card,
.story-tile-d .stories-feed-card,
.story-tile-e .stories-feed-card,
.story-tile-g .stories-feed-card {
  z-index: 3;
}

.story-tile-d {
  z-index: 5;
}

.story-tile-b,
.story-tile-e,
.story-tile-g {
  z-index: 4;
}

.story-tile-c,
.story-tile-f,
.story-tile-h {
  z-index: 3;
}

.story-tile-b .stories-feed-card,
.story-tile-d .stories-feed-card {
  --story-card-scale: 1.01;
  --story-card-hover-scale: 1.028;
}

.story-tile-b .stories-feed-cover,
.story-tile-d .stories-feed-cover,
.story-tile-e .stories-feed-cover,
.story-tile-f .stories-feed-cover {
  max-height: 176px;
}

.story-tile-a .stories-feed-card,
.story-tile-c .stories-feed-card,
.story-tile-h .stories-feed-card,
.story-tile-i .stories-feed-card,
.story-tile-j .stories-feed-card,
.story-tile-k .stories-feed-card,
.story-tile-l .stories-feed-card,
.story-tile-m .stories-feed-card,
.story-tile-n .stories-feed-card,
.story-tile-o .stories-feed-card {
  opacity: 0.96;
}

.story-tile-a .stories-feed-cover,
.story-tile-c .stories-feed-cover,
.story-tile-h .stories-feed-cover,
.story-tile-i .stories-feed-cover,
.story-tile-j .stories-feed-cover,
.story-tile-k .stories-feed-cover,
.story-tile-l .stories-feed-cover,
.story-tile-m .stories-feed-cover,
.story-tile-n .stories-feed-cover,
.story-tile-o .stories-feed-cover {
  max-height: 140px;
}

.story-tile-g .stories-feed-cover {
  max-height: 146px;
}

.story-tile-f .stories-feed-cover,
.story-tile-h .stories-feed-cover {
  max-height: 132px;
}

.stories-feed-tile .stories-feed-body {
  gap: 4px;
  padding: 7px 8px 8px;
}

.stories-feed-tile .stories-feed-body h2 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.stories-feed-tile .stories-feed-body p {
  font-size: 11px;
  line-height: 1.35;
  -webkit-line-clamp: 1;
}

.stories-feed-tile .stories-feed-meta {
  align-items: center;
  gap: 6px;
}

.stories-feed-tile .stories-feed-avatar {
  width: 20px;
  height: 20px;
}

.stories-feed-tile .stories-feed-author {
  gap: 4px;
}

.stories-feed-tile .stories-feed-side {
  gap: 3px;
}

.stories-feed-tile .stories-feed-side .stories-reaction-bar {
  gap: 4px;
}

.stories-feed-tile .stories-feed-side .stories-reaction-bar button {
  min-height: 20px;
  padding: 0 6px;
}

.stories-feed-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 220px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(40, 43, 64, 0.92), rgba(18, 20, 31, 0.96));
}

.stories-feed-cover-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.stories-feed-cover.has-image .stories-feed-cover-sky {
  opacity: 0.32;
}

.stories-feed-cover.has-image .stories-feed-cover-shape {
  opacity: 0.42;
}

.stories-feed-cover.is-compact {
  aspect-ratio: 1 / 1.08;
}

.stories-feed-cover.is-mid {
  aspect-ratio: 4 / 5;
}

.stories-feed-cover.is-wide {
  aspect-ratio: 1 / 1.18;
}

.stories-feed-cover.is-tall {
  aspect-ratio: 4 / 5.6;
}

.stories-feed-cover.tone-mist {
  background: linear-gradient(180deg, #26515a, #132e35);
}

.stories-feed-cover.tone-ember {
  background: linear-gradient(180deg, #674a39, #34231b);
}

.stories-feed-cover.tone-aurora {
  background: linear-gradient(180deg, #30456f, #18233c);
}

.stories-feed-cover.tone-storm {
  background: linear-gradient(180deg, #40545e, #1f2c33);
}

.stories-feed-cover-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.16), transparent 16%),
    radial-gradient(circle at 74% 22%, rgba(255, 255, 255, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.stories-feed-cover-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.88;
}

.stories-feed-cover-shape.shape-a {
  right: -12%;
  bottom: -9%;
  width: 78%;
  height: 42%;
  background: rgba(9, 19, 25, 0.62);
  transform: rotate(-18deg);
}

.stories-feed-cover-shape.shape-b {
  left: -10%;
  bottom: 14%;
  width: 54%;
  height: 22%;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(18deg);
}

.stories-feed-cover-shape.shape-c,
.stories-feed-cover-shape.shape-d {
  display: none;
}

.stories-feed-cover.variant-poster .shape-c,
.stories-feed-cover.variant-poster .shape-d,
.stories-feed-cover.variant-collage .shape-c,
.stories-feed-cover.variant-collage .shape-d,
.stories-feed-cover.variant-layered .shape-c {
  display: block;
}

.stories-feed-cover.variant-poster .shape-a {
  right: -6%;
  bottom: -6%;
  width: 92%;
  height: 54%;
  background: rgba(8, 18, 24, 0.68);
  transform: rotate(-10deg);
}

.stories-feed-cover.variant-poster .shape-b {
  left: 10%;
  top: 16%;
  bottom: auto;
  width: 18%;
  height: 18%;
  background: rgba(255, 255, 255, 0.08);
}

.stories-feed-cover.variant-poster .shape-c {
  left: 16px;
  right: 16px;
  bottom: 16px;
  top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: transparent;
  filter: none;
  opacity: 1;
}

.stories-feed-cover.variant-poster .shape-d {
  right: 16px;
  top: 16px;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.09);
  filter: blur(0);
}

.stories-feed-cover.variant-collage .shape-a {
  right: -4%;
  bottom: 8%;
  width: 52%;
  height: 30%;
  background: rgba(13, 23, 29, 0.7);
}

.stories-feed-cover.variant-collage .shape-b {
  left: 10%;
  bottom: 26%;
  width: 34%;
  height: 20%;
  background: rgba(255, 255, 255, 0.1);
}

.stories-feed-cover.variant-collage .shape-c {
  right: 14%;
  top: 18%;
  width: 26%;
  height: 18%;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(-12deg);
}

.stories-feed-cover.variant-collage .shape-d {
  left: 14%;
  top: 12%;
  width: 18%;
  height: 12%;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(12deg);
}

.stories-feed-cover.variant-layered .shape-a {
  right: -10%;
  bottom: -10%;
  width: 82%;
  height: 46%;
}

.stories-feed-cover.variant-layered .shape-b {
  left: 8%;
  bottom: 18%;
  width: 48%;
  height: 18%;
}

.stories-feed-cover.variant-layered .shape-c {
  right: 10%;
  top: 16%;
  width: 34%;
  height: 28%;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(-8deg);
}

.stories-feed-cover.variant-minimal .shape-a {
  right: -14%;
  bottom: -18%;
  width: 88%;
  height: 36%;
}

.stories-feed-cover.variant-minimal .shape-b {
  left: 12%;
  bottom: 22%;
  width: 28%;
  height: 12%;
}

.stories-feed-cover-copy {
  position: absolute;
  inset: auto 14px 14px;
  display: grid;
  gap: 8px;
  z-index: 1;
}

.stories-feed-cover-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 30, 37, 0.38);
  color: rgba(223, 242, 245, 0.86);
  font-size: 11px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.stories-feed-cover-copy strong {
  color: #f3fcfd;
  font-size: 21px;
  line-height: 1.2;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
}

.stories-feed-cover-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
}

.stories-feed-cover-fallback span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(238, 249, 250, 0.12);
  border: 1px solid rgba(193, 232, 238, 0.22);
  color: #f2fbfc;
  font-size: 34px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.stories-feed-cover-fallback small {
  color: rgba(219, 239, 243, 0.76);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.stories-feed-body {
  display: grid;
  gap: 5px;
  padding: 8px 9px 9px;
}

.stories-feed-body h2 {
  margin: 0;
  color: #f2fbfb;
  font-size: 13px;
  line-height: 1.3;
}

.stories-feed-body p {
  margin: 0;
  color: rgba(205, 224, 229, 0.76);
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stories-reaction-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stories-reaction-bar button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(190, 216, 222, 0.14);
  border-radius: 999px;
  background: rgba(9, 20, 24, 0.54);
  color: rgba(230, 245, 248, 0.82);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.stories-reaction-bar button:hover {
  transform: translateY(-1px);
  border-color: rgba(190, 216, 222, 0.34);
  background: rgba(20, 40, 45, 0.76);
}

.stories-reaction-bar button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.stories-reaction-bar span {
  font-size: 12px;
}

.stories-reaction-bar strong {
  color: #f7ffff;
  font-size: 12px;
}

.stories-feed-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.stories-feed-author {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.stories-feed-author > div {
  min-width: 0;
}

.stories-feed-side {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex-shrink: 0;
}

.stories-feed-side .stories-reaction-bar {
  justify-content: flex-end;
}

.stories-feed-side .stories-reaction-bar button {
  min-height: 22px;
  padding: 0 7px;
}

.stories-feed-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(130, 208, 216, 0.3), rgba(96, 147, 154, 0.2));
  color: #f1fbfb;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}

.stories-feed-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories-feed-avatar.is-empty {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.stories-feed-author strong,
.stories-feed-author small {
  display: block;
}

.stories-feed-author strong {
  color: #eaf8f9;
  font-size: 10px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stories-feed-author small,
.stories-feed-date {
  color: rgba(176, 203, 209, 0.7);
  font-size: 10px;
}

.stories-feed-author small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.stories-card {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(120, 193, 207, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 25, 33, 0.92), rgba(6, 14, 18, 0.98)),
    radial-gradient(circle at top left, rgba(117, 188, 202, 0.16), transparent 34%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  isolation: isolate;
}

.stories-card.is-featured {
  min-height: 360px;
}

.stories-card-aura {
  position: absolute;
  inset: -20% auto auto -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.7;
  z-index: 0;
}

.stories-card-aura.tone-mist {
  background: radial-gradient(circle, rgba(128, 225, 217, 0.34), rgba(128, 225, 217, 0));
}

.stories-card-aura.tone-ember {
  background: radial-gradient(circle, rgba(255, 183, 121, 0.34), rgba(255, 183, 121, 0));
}

.stories-card-aura.tone-aurora {
  background: radial-gradient(circle, rgba(130, 160, 255, 0.34), rgba(130, 160, 255, 0));
}

.stories-card-aura.tone-storm {
  background: radial-gradient(circle, rgba(150, 191, 222, 0.3), rgba(150, 191, 222, 0));
}

.stories-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
  padding: 24px;
}

.stories-card-visual {
  display: grid;
  gap: 10px;
}

.stories-card-visual-frame {
  position: relative;
  min-height: 180px;
  border: 1px solid rgba(154, 216, 226, 0.14);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 31, 40, 0.2), rgba(3, 10, 14, 0.56)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 46%);
}

.stories-card-visual-frame.tone-mist {
  background-color: #15353b;
}

.stories-card-visual-frame.tone-ember {
  background-color: #413024;
}

.stories-card-visual-frame.tone-aurora {
  background-color: #1d2d4d;
}

.stories-card-visual-frame.tone-storm {
  background-color: #263842;
}

.stories-card-visual-sky {
  position: absolute;
  inset: 0 0 35%;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.18), transparent 18%),
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(196, 237, 255, 0.16), rgba(67, 109, 132, 0.04));
}

.stories-card-visual-floor {
  position: absolute;
  inset: auto -8% -16% -8%;
  height: 56%;
  border-radius: 44% 44% 0 0;
  background:
    radial-gradient(circle at center top, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(8, 20, 27, 0.22), rgba(6, 14, 19, 0.9));
  transform: rotate(-4deg);
}

.stories-card-visual-tag,
.stories-card-visual-title {
  position: relative;
  z-index: 1;
}

.stories-card-visual-tag {
  display: inline-flex;
  margin: 18px 0 0 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(14, 31, 39, 0.42);
  color: rgba(217, 241, 245, 0.82);
  font-size: 11px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.stories-card-visual-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #f2fbfc;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.stories-grid .stories-card .stories-card-visual-title {
  font-size: 22px;
}

.stories-card-visual-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(183, 216, 223, 0.76);
  font-size: 12px;
}

.stories-card-visual-note small {
  color: rgba(171, 199, 205, 0.68);
}

.stories-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(178, 221, 228, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.stories-card h2 {
  margin: 0;
  color: #f3fcfc;
  font-size: 28px;
  line-height: 1.22;
}

.stories-grid .stories-card h2 {
  font-size: 22px;
}

.stories-card p {
  margin: 0;
  color: rgba(216, 232, 236, 0.76);
  line-height: 1.8;
}

.stories-card-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.stories-card-relations {
  display: grid;
  gap: 6px;
}

.stories-card-relations strong {
  color: #e8f7f7;
  font-size: 15px;
}

.stories-card-relations span {
  color: rgba(191, 214, 219, 0.72);
  font-size: 13px;
}

.stories-card-action {
  white-space: nowrap;
}

.stories-card[data-story-open],
.stories-related-item,
.stories-detail-tag {
  cursor: pointer;
}

.stories-card[data-story-open] {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.stories-card[data-story-open]:hover {
  transform: translateY(-4px);
  border-color: rgba(153, 226, 236, 0.34);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.stories-detail-shell {
  display: block;
}

.stories-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 24px;
}

.stories-detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 11, 15, 0.68);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.stories-detail-dialog {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100vw - 48px));
  max-height: min(920px, calc(100vh - 48px));
  overflow: auto;
  color-scheme: dark;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(89, 212, 255, 0.42) rgba(7, 30, 37, 0.42);
  scrollbar-width: thin;
  padding: 18px;
  border: 1px solid rgba(138, 208, 217, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(8, 21, 28, 0.94), rgba(5, 11, 15, 0.98)),
    radial-gradient(circle at top, rgba(124, 198, 210, 0.08), transparent 32%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.stories-detail-dialog::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.stories-detail-dialog::-webkit-scrollbar-track {
  background: rgba(7, 30, 37, 0.42);
  border-radius: 999px;
}

.stories-detail-dialog::-webkit-scrollbar-thumb {
  border: 2px solid rgba(7, 30, 37, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(89, 212, 255, 0.58), rgba(63, 135, 170, 0.62));
}

.stories-detail-dialog::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(116, 225, 255, 0.76), rgba(82, 162, 202, 0.78));
}

.stories-detail-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.stories-detail-kicker {
  margin-right: auto;
  color: rgba(177, 219, 225, 0.76);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.stories-detail-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(136, 205, 215, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #eefafb;
  font-size: 28px;
  line-height: 0;
  cursor: pointer;
}

.stories-detail-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.stories-detail-aura {
  position: absolute;
  inset: -5% auto auto 8%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.72;
}

.stories-detail-aura.tone-mist {
  background: radial-gradient(circle, rgba(128, 225, 217, 0.28), rgba(128, 225, 217, 0));
}

.stories-detail-aura.tone-ember {
  background: radial-gradient(circle, rgba(255, 183, 121, 0.28), rgba(255, 183, 121, 0));
}

.stories-detail-aura.tone-aurora {
  background: radial-gradient(circle, rgba(130, 160, 255, 0.3), rgba(130, 160, 255, 0));
}

.stories-detail-aura.tone-storm {
  background: radial-gradient(circle, rgba(150, 191, 222, 0.26), rgba(150, 191, 222, 0));
}

.stories-detail-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 32px;
}

.stories-detail-header {
  display: grid;
  gap: 12px;
}

.stories-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(178, 218, 224, 0.74);
  font-size: 13px;
}

.stories-detail-header h1 {
  margin: 0;
  color: #f2fbfb;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
}

.stories-detail-header p {
  margin: 0;
  max-width: 760px;
  color: rgba(217, 232, 236, 0.82);
  font-size: 16px;
  line-height: 1.8;
}

.stories-detail-simple-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stories-detail-simple-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(112, 171, 180, 0.1);
  border: 1px solid rgba(136, 206, 216, 0.14);
  color: rgba(222, 240, 243, 0.78);
  font-size: 12px;
}

.stories-detail-content-simple p {
  margin: 0;
  color: rgba(223, 236, 239, 0.82);
  font-size: 15px;
  line-height: 1.85;
}

.stories-detail-paragraph + .stories-detail-paragraph {
  margin-top: 18px;
}

.stories-detail-paragraph p,
.stories-detail-paragraph h2,
.stories-detail-paragraph blockquote,
.stories-detail-paragraph ul,
.stories-detail-paragraph ol {
  margin: 0 0 12px;
}

.stories-detail-paragraph p:last-child,
.stories-detail-paragraph h2:last-child,
.stories-detail-paragraph blockquote:last-child,
.stories-detail-paragraph ul:last-child,
.stories-detail-paragraph ol:last-child {
  margin-bottom: 0;
}

.stories-detail-paragraph h2 {
  color: #f2fbfb;
  font-size: 24px;
  line-height: 1.4;
}

.stories-detail-paragraph blockquote {
  margin-left: 0;
  padding-left: 16px;
  border-left: 3px solid rgba(139, 210, 220, 0.34);
  color: rgba(195, 223, 228, 0.8);
}

.stories-detail-paragraph ul,
.stories-detail-paragraph ol {
  padding-left: 22px;
  color: rgba(223, 236, 239, 0.82);
}

.stories-detail-paragraph img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px 0;
  border-radius: 18px;
  border: 1px solid rgba(139, 210, 220, 0.18);
}

.stories-detail-content-simple p + p {
  margin-top: 12px;
}

.prototype-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.prototype-section-title-centered {
  justify-content: center;
  text-align: center;
}

.prototype-section-title h2 {
  margin: 0;
  color: #f2fbff;
  font-size: 30px;
}

.prototype-kicker {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  max-width: 100%;
  min-height: 50px;
  line-height: 50px;
  color: rgba(210, 216, 217, 1);
  font-size: 36px;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
}

.prototype-kicker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

.prototype-home-champion-picker {
  position: relative;
  max-width: min(100%, 780px);
}

.prototype-home-champion-trigger {
  width: 100%;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.prototype-home-champion-trigger:hover,
.prototype-home-champion-trigger:focus-visible,
.prototype-home-champion-picker.is-open .prototype-home-champion-trigger {
  border-color: rgba(118, 203, 235, 0.28);
  background: rgba(8, 28, 36, 0.42);
  color: rgba(238, 249, 252, 1);
  transform: none;
  box-shadow: none;
}

.prototype-home-champion-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prototype-home-champion-chevron {
  flex: 0 0 auto;
  color: rgba(174, 220, 232, 0.78);
  font-size: 22px;
  line-height: 1;
  transition: transform 180ms ease;
}

.prototype-home-champion-picker.is-open .prototype-home-champion-chevron {
  transform: rotate(180deg);
}

.prototype-home-champion-menu {
  position: absolute;
  z-index: 24;
  top: calc(100% + 8px);
  left: 50%;
  width: min(620px, calc(100dvw - 44px));
  max-height: 330px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(118, 203, 235, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(11, 32, 42, 0.98), rgba(5, 17, 25, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
}

.prototype-home-champion-option {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(218, 238, 244, 0.92);
  text-align: left;
  box-shadow: none;
}

.prototype-home-champion-option:hover,
.prototype-home-champion-option:focus-visible {
  transform: none;
  background: rgba(64, 185, 244, 0.12);
  color: rgba(243, 251, 253, 1);
}

.prototype-home-champion-option.is-selected {
  background: rgba(255, 210, 93, 0.14);
  color: rgba(255, 239, 184, 1);
}

.prototype-home-champion-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
}

.prototype-home-champion-option em {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(118, 203, 235, 0.12);
  color: rgba(178, 225, 237, 0.86);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.prototype-hero-shell {
  min-height: 443px;
  padding: 18px 28px 20px;
  margin-bottom: 4px;
  line-height: 20px;
  color: rgba(16, 16, 16, 1);
  font-size: 14px;
  text-align: center;
  font-family: PingFangSC-regular, "PingFang SC", "Noto Sans SC", sans-serif;
  background: linear-gradient(90.23deg, rgba(13, 41, 46, 1) 0.56%, rgba(17, 59, 67, 1) 38.61%, rgba(56, 66, 66, 0) 99.66%);
}

.prototype-home-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 24px;
  align-items: stretch;
}

.prototype-home-hero-left {
  min-width: 0;
}

.prototype-home-stage-wrap {
  position: relative;
  overflow: visible;
  border-radius: 28px;
  min-height: 392px;
  padding: 14px 10px 6px;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 247, 215, 0.18), transparent 14%),
    radial-gradient(circle at 50% 40%, rgba(34, 74, 125, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(9, 13, 23, 0.98), rgba(5, 8, 15, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 194, 0.06),
    inset 0 0 0 1px rgba(196, 172, 131, 0.12),
    0 24px 60px rgba(2, 5, 12, 0.42);
  isolation: isolate;
}

.prototype-home-stage-wrap::before,
.prototype-home-stage-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.prototype-home-stage-wrap::before {
  inset: 6px 12px 42px;
  border-radius: 999px;
  border: 1px solid rgba(196, 172, 131, 0.22);
  transform: perspective(1200px) rotateX(66deg);
  opacity: 0.9;
}

.prototype-home-stage-wrap::after {
  left: 50%;
  top: 8px;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(235, 215, 174, 0.18) 0%, rgba(235, 215, 174, 0.06) 26%, transparent 62%);
  filter: blur(2px);
}

.prototype-home-stage-wrap .hero-champion-stage {
  position: relative;
  min-height: 360px;
  height: auto;
  align-content: start;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
  z-index: 1;
}

.prototype-home-stage-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.prototype-home-stage-star {
  position: absolute;
  left: var(--star-left, 50%);
  top: var(--star-top, 50%);
  width: var(--star-size, 2px);
  height: var(--star-size, 2px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.99) 0 38%, hsla(var(--star-hue, 200), 100%, 78%, var(--star-alpha, 0.32)) 48%, hsla(var(--star-hue, 200), 100%, 64%, 0) 82%);
  box-shadow:
    0 0 calc(var(--star-size, 2px) * 4.2) hsla(var(--star-hue, 200), 100%, 78%, calc(var(--star-alpha, 0.32) * 0.96)),
    0 0 calc(var(--star-size, 2px) * 11) hsla(var(--star-hue, 200), 100%, 68%, calc(var(--star-alpha, 0.32) * 0.42));
  opacity: 0.18;
  animation: prototypeChampionStarfield var(--star-duration, 6s) ease-in-out infinite;
  animation-delay: var(--star-delay, 0s);
  will-change: transform, opacity;
}

.prototype-home-stage-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.prototype-home-stage-particles::before,
.prototype-home-stage-particles::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.prototype-home-stage-particles::before {
  width: min(58vw, 480px);
  height: min(58vw, 480px);
  background:
    radial-gradient(circle, rgba(255, 241, 199, 0.22) 0%, rgba(123, 211, 255, 0.08) 26%, rgba(15, 25, 41, 0) 70%);
  filter: blur(12px);
  opacity: 0.98;
}

.prototype-home-stage-particles::after {
  width: min(88vw, 880px);
  height: min(88vw, 880px);
  background:
    radial-gradient(circle, rgba(76, 171, 255, 0.12) 0%, rgba(76, 171, 255, 0.05) 28%, rgba(8, 13, 23, 0) 72%);
  animation: prototypeChampionParticleField 16s linear infinite;
  opacity: 0.72;
}

.prototype-home-stage-particle {
  position: absolute;
  left: 50%;
  top: 46%;
  width: var(--particle-size, 3px);
  height: var(--particle-size, 3px);
  margin-left: calc(var(--particle-size, 3px) * -0.5);
  margin-top: calc(var(--particle-size, 3px) * -0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 36%, hsla(var(--particle-hue, 200), 95%, 72%, var(--particle-alpha, 0.45)) 44%, hsla(var(--particle-hue, 200), 90%, 60%, 0) 78%);
  box-shadow:
    0 0 calc(var(--particle-size, 3px) * 2.8) hsla(var(--particle-hue, 200), 100%, 72%, calc(var(--particle-alpha, 0.45) * 0.95)),
    0 0 calc(var(--particle-size, 3px) * 6.8) hsla(var(--particle-hue, 200), 100%, 64%, calc(var(--particle-alpha, 0.45) * 0.42));
  transform:
    rotate(var(--particle-angle, 0deg))
    translateY(calc(var(--particle-distance, 24px) * -1))
    scale(0.35);
  transform-origin: center center;
  opacity: 0;
  animation: prototypeChampionParticleBurst var(--particle-duration, 8s) linear infinite;
  animation-delay: var(--particle-delay, 0s);
  will-change: transform, opacity, filter;
}

.prototype-home-stage-wrap .champion-lineup {
  position: relative;
  min-height: 360px;
  height: auto;
  overflow: visible;
  padding: 6px 2px 0;
}

.prototype-home-stage-wrap .champion-lineup::before,
.prototype-home-stage-wrap .champion-lineup::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.prototype-home-stage-wrap .champion-lineup::before {
  top: 0;
  width: min(92%, 920px);
  height: 208px;
  border-radius: 50%;
  border: 1px solid rgba(201, 180, 142, 0.12);
}

.prototype-home-stage-wrap .champion-lineup::after {
  bottom: 16px;
  width: min(68%, 560px);
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 20, 31, 0.7), rgba(7, 9, 14, 0));
  filter: blur(14px);
}

.prototype-home-stage-wrap .champion-member-card {
  top: 34px;
  left: 50%;
  width: 168px;
  min-height: 246px;
  height: 246px;
  overflow: hidden;
  border-radius: 26px;
  clip-path: inset(0 round 26px);
  background:
    linear-gradient(180deg, rgba(27, 33, 48, 0.16), rgba(7, 10, 16, 0.12)),
    rgba(229, 229, 229, 1);
  border: 1px solid rgba(194, 170, 129, 0.24);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 231, 190, 0.04),
    inset 0 1px 0 rgba(255, 246, 219, 0.14);
}

.prototype-home-stage-wrap .champion-member-card::after,
.prototype-home-stage-wrap .champion-member-card .player-poster-art,
.prototype-home-stage-wrap .champion-member-card .player-poster-shade,
.prototype-home-stage-wrap .champion-member-card .player-poster-avatar,
.prototype-home-stage-wrap .champion-member-card .player-poster-avatar.image-avatar img,
.prototype-home-stage-wrap .champion-poster-caption {
  border-radius: 26px;
}

.prototype-home-stage-wrap .champion-member-card .player-poster-avatar {
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 244, 214, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(19, 24, 36, 0.98), rgba(10, 14, 22, 0.98));
}

.prototype-home-stage-wrap .champion-member-card .player-poster-art {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.prototype-home-stage-wrap .champion-member-card .champion-stage-avatar {
  display: block;
}

.prototype-home-stage-wrap .champion-stage-avatar-main {
  display: block;
}

.prototype-home-stage-wrap .champion-stage-avatar.image-avatar {
  color: transparent;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 244, 214, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(19, 24, 36, 0.3), rgba(10, 14, 22, 0.3));
}

.prototype-home-stage-wrap .champion-member-card::after {
  display: block;
  inset: 0;
  opacity: 1;
  border: 1px solid rgba(240, 218, 174, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 247, 226, 0.08),
    inset 0 0 24px rgba(234, 199, 133, 0.08);
}

.prototype-home-stage-wrap .champion-member-card .player-poster-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(8, 10, 18, 0.08) 24%, rgba(9, 12, 20, 0.62) 100%),
    radial-gradient(circle at 50% 14%, rgba(255, 244, 214, 0.12), transparent 26%);
}

.prototype-home-stage-wrap .champion-member-positions {
  top: 12px;
  left: 12px;
  background: rgba(29, 42, 48, 0.74);
  border: 1px solid rgba(225, 205, 164, 0.24);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.prototype-home-stage-wrap .champion-poster-caption {
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 12px 10px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 22, 34, 0.36), rgba(10, 13, 22, 0.74));
  border: 1px solid rgba(247, 233, 202, 0.08);
  backdrop-filter: blur(14px);
}

.prototype-home-stage-wrap .champion-member-copy strong {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.prototype-home-stage-wrap .champion-member-meta {
  gap: 8px;
}

.prototype-home-stage-wrap .champion-member-card {
  cursor: pointer;
  pointer-events: auto;
  transform-style: preserve-3d;
}

.prototype-home-stage-wrap .champion-member-card,
.prototype-home-stage-wrap .champion-member-card * {
  cursor: pointer;
}

.prototype-home-stage-wrap .champion-lineup {
  pointer-events: none;
  z-index: 1;
}

.prototype-home-stage-wrap .champion-member-card {
  pointer-events: auto;
}

.prototype-home-stage-wrap .champion-member-card.is-front {
  opacity: 1;
  z-index: 6;
  transform:
    translate3d(-50%, 8px, 0)
    perspective(900px)
    rotateX(var(--champion-holo-rotate-x, 0deg))
    rotateY(var(--champion-holo-rotate-y, 0deg))
    rotate(0deg)
    scale(0.98);
}

.prototype-home-stage-wrap .champion-member-card.is-right {
  opacity: 0.9;
  z-index: 7;
  transform: translate3d(calc(-50% + 156px), 32px, -6px) rotate(12deg) scale(0.88);
}

.prototype-home-stage-wrap .champion-member-card.is-left {
  opacity: 0.9;
  z-index: 7;
  transform: translate3d(calc(-50% - 156px), 18px, -6px) rotate(-11deg) scale(0.88);
}

.prototype-home-stage-wrap .champion-member-card.is-right-back {
  opacity: 0.72;
  z-index: 5;
  transform: translate3d(calc(-50% + 278px), 122px, -18px) rotate(18deg) scale(0.72);
}

.prototype-home-stage-wrap .champion-member-card.is-left-back {
  opacity: 0.72;
  z-index: 5;
  transform: translate3d(calc(-50% - 274px), 126px, -18px) rotate(-20deg) scale(0.7);
}

.prototype-home-stage-wrap .champion-member-card .player-poster-art {
  position: absolute;
  inset: 0;
}

.prototype-home-stage-wrap .champion-member-card.is-front .player-poster-art::before,
.prototype-home-stage-wrap .champion-member-card.is-front .player-poster-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.prototype-home-stage-wrap .champion-member-card.is-front .player-poster-art::before {
  background:
    radial-gradient(
      circle at var(--champion-holo-pointer-x, 50%) var(--champion-holo-pointer-y, 50%),
      rgba(255, 255, 255, 0.48) 0%,
      rgba(255, 255, 255, 0.18) 13%,
      rgba(129, 228, 255, 0.12) 24%,
      transparent 42%
    ),
    linear-gradient(
      115deg,
      transparent 10%,
      rgba(255, 255, 255, 0.68) var(--champion-holo-sweep, 50%),
      rgba(87, 226, 255, 0.24) calc(var(--champion-holo-sweep, 50%) + 10%),
      rgba(255, 92, 177, 0.22) calc(var(--champion-holo-sweep, 50%) + 18%),
      rgba(112, 116, 255, 0.2) calc(var(--champion-holo-sweep, 50%) + 28%),
      transparent calc(var(--champion-holo-sweep, 50%) + 42%)
    );
  mix-blend-mode: screen;
}

.prototype-home-stage-wrap .champion-member-card.is-front .player-poster-art::after {
  background:
    conic-gradient(
      from 140deg at var(--champion-holo-pointer-x, 50%) var(--champion-holo-pointer-y, 50%),
      rgba(120, 247, 255, 0.22),
      rgba(255, 117, 198, 0.2),
      rgba(255, 217, 112, 0.16),
      rgba(113, 120, 255, 0.22),
      rgba(120, 247, 255, 0.22)
    );
  mix-blend-mode: color-dodge;
  filter: saturate(1.1) blur(8px);
}

.prototype-home-stage-wrap .champion-member-card.is-front.is-champion-holo-active .player-poster-art::before,
.prototype-home-stage-wrap .champion-member-card.is-front.is-champion-holo-active .player-poster-art::after {
  opacity: 1;
}

.prototype-home-stage-wrap .hero-champion-stage.champion-stage-lite .prototype-home-stage-particles {
  opacity: 0.38;
}

.prototype-home-stage-wrap .hero-champion-stage.champion-stage-lite .prototype-home-stage-particles::before,
.prototype-home-stage-wrap .hero-champion-stage.champion-stage-lite .prototype-home-stage-particles::after,
.prototype-home-stage-wrap .hero-champion-stage.champion-stage-lite .champion-lineup::before,
.prototype-home-stage-wrap .hero-champion-stage.champion-stage-lite .champion-lineup::after,
.prototype-home-stage-wrap .hero-champion-stage.champion-stage-lite .champion-member-card.is-front .player-poster-art::before,
.prototype-home-stage-wrap .hero-champion-stage.champion-stage-lite .champion-member-card.is-front .player-poster-art::after {
  display: none;
}

.prototype-home-stage-wrap .hero-champion-stage.champion-stage-lite .champion-member-card {
  transition: transform 280ms ease, opacity 240ms ease;
}

.prototype-home-stage-wrap .hero-champion-stage.is-champion-stage-reveal-skipped .champion-member-card {
  transition: none;
}

.prototype-home-stage-wrap .hero-champion-stage.champion-stage-lite .champion-poster-caption {
  backdrop-filter: none;
}

@keyframes prototypeChampionParticleBurst {
  0% {
    opacity: 0;
    transform:
      rotate(var(--particle-angle, 0deg))
      translateY(calc(var(--particle-distance, 24px) * -0.55))
      scale(0.24);
    filter: blur(0.2px);
  }

  12% {
    opacity: 0.95;
  }

  68% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform:
      rotate(var(--particle-angle, 0deg))
      translateY(calc(var(--particle-end-distance, 260px) * -1))
      scale(1.28);
    filter: blur(1px);
  }
}

@keyframes prototypeChampionParticleField {
  from {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.04);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

@keyframes prototypeChampionStarfield {
  0% {
    opacity: 0.12;
    transform: translate3d(0, 0, 0) scale(0.78);
  }

  25% {
    opacity: 0.72;
  }

  60% {
    opacity: 0.4;
  }

  100% {
    opacity: 0.14;
    transform: translate3d(var(--star-drift-x, 0px), var(--star-drift-y, -18px), 0) scale(1.18);
  }
}

.prototype-home-info-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 6px;
  min-height: 329px;
}

.prototype-home-info-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.prototype-home-info-tab {
  border: 1px solid rgba(62, 183, 247, 0.5);
  background: rgba(6, 22, 29, 0.68);
  border-radius: 12px;
  min-height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(205, 230, 236, 0.88);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}

.prototype-home-info-tab > span {
  width: 18px;
  min-width: 18px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.prototype-home-info-tab em {
  font-style: normal;
  white-space: nowrap;
}

.prototype-home-info-tab.is-active {
  color: #59d4ff;
  border-color: rgba(89, 212, 255, 0.8);
  background: rgba(16, 57, 66, 0.8);
}

.prototype-home-info-card {
  min-height: 275px;
  border-radius: 20px;
  border: 2px solid rgba(62, 183, 247, 0.72);
  background: linear-gradient(180deg, rgba(14, 52, 59, 0.66), rgba(9, 36, 45, 0.58));
  text-align: left;
  padding: 6px 14px 14px;
  display: grid;
  gap: 4px;
  align-content: start;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-width: 0;
}

.prototype-home-info-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
}

.prototype-home-info-card h3 {
  margin: 0;
  color: rgba(226, 236, 241, 0.96);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.prototype-home-info-editor-actions {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 1px;
}

.prototype-home-info-editor-btn {
  min-width: 64px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid rgba(89, 212, 255, 0.72);
  background: rgba(17, 63, 74, 0.9);
  color: rgba(210, 234, 239, 0.95);
  font-size: 14px;
  line-height: 1;
  padding: 0 12px;
  box-shadow: none;
}

.prototype-home-info-editor-btn.is-ghost {
  border-color: rgba(157, 188, 196, 0.45);
  background: rgba(10, 34, 42, 0.72);
}

.prototype-home-info-editor-btn:hover,
.prototype-home-info-editor-btn:focus-visible,
.prototype-home-info-editor-btn:active {
  transform: none;
  filter: none;
  box-shadow: none;
}

.prototype-home-info-content {
  display: grid;
  gap: 8px;
  min-height: 0;
  max-height: none;
  overflow: auto;
  color-scheme: dark;
  scrollbar-color: rgba(89, 212, 255, 0.42) rgba(7, 30, 37, 0.38);
  padding-right: 4px;
  margin-top: 10px;
  align-content: start;
}

.prototype-home-info-content.is-editing {
  gap: 10px;
}

.prototype-home-info-content p {
  margin: 0;
  color: rgba(205, 230, 236, 0.9);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prototype-home-info-editor-input {
  width: 100%;
  min-height: 176px;
  border-radius: 14px;
  border: 1px solid rgba(89, 212, 255, 0.55);
  background: rgba(7, 30, 37, 0.8);
  color: rgba(218, 239, 245, 0.96);
  color-scheme: dark;
  padding: 10px 12px;
  resize: vertical;
  font-size: 15px;
  line-height: 1.6;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
}

.prototype-home-info-content::-webkit-scrollbar,
.prototype-home-info-editor-input::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.prototype-home-info-content::-webkit-scrollbar-track,
.prototype-home-info-editor-input::-webkit-scrollbar-track {
  background: rgba(7, 30, 37, 0.38);
  border-radius: 999px;
}

.prototype-home-info-content::-webkit-scrollbar-thumb,
.prototype-home-info-editor-input::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(89, 212, 255, 0.62), rgba(55, 170, 224, 0.72));
  border-radius: 999px;
  border: 2px solid rgba(7, 30, 37, 0.24);
}

.prototype-home-info-content::-webkit-scrollbar-thumb:hover,
.prototype-home-info-editor-input::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(112, 223, 255, 0.78), rgba(67, 185, 240, 0.86));
}

.prototype-home-info-content small {
  color: rgba(162, 203, 214, 0.82);
  font-size: 12px;
  line-height: 1.4;
}

.prototype-champion-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.prototype-champion-card {
  min-height: 126px;
  padding: 8px;
  border-radius: 16px;
  border: 2px solid rgba(92, 218, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(10, 38, 52, 0.9), rgba(10, 28, 36, 0.96)),
    url("/assets/yugioh-card-bg.png") center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.prototype-champion-card-art {
  min-height: 54px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, rgba(94, 138, 255, 0.16), rgba(82, 122, 214, 0.02));
}

.prototype-champion-avatar-wrap {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.prototype-champion-avatar,
.prototype-row-avatar,
.prototype-inline-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, #8ee1ff, #6288ff);
  color: #04121b;
  font-weight: 800;
}

.prototype-champion-avatar {
  width: 38px;
  height: 38px;
  font-size: 14px;
}

.prototype-row-avatar {
  width: 44px;
  height: 44px;
}

.prototype-inline-avatar {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.prototype-player-meta {
  display: flex;
  gap: 10px;
  margin: 4px 0;
  font-size: 10px;
  color: rgba(219, 246, 255, 0.78);
  justify-content: center;
}

.prototype-hero-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.prototype-hero-row .hero-icon {
  width: 14px;
  height: 14px;
}

.prototype-block {
  padding: 18px 20px 20px;
  margin-bottom: 0;
}

.prototype-event-banner-card,
.prototype-event-banner {
  --event-cover-image: url("/assets/featured-event-bg.jpg");
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 156px;
  background:
    linear-gradient(90deg, rgba(18, 52, 59, 0.82), rgba(18, 52, 59, 0.28)),
    var(--event-cover-image) center/cover no-repeat;
}

.prototype-event-banner-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
}

.prototype-event-banner-card.is-clickable {
  cursor: pointer;
}

.prototype-event-banner-copy h3,
.prototype-event-card-title h2,
.prototype-event-detail-copy h2 {
  margin: 0 0 8px;
  color: #f8fdff;
}

.prototype-event-banner-copy p,
.prototype-event-card-body p,
.prototype-event-detail-copy p {
  margin: 0 0 6px;
  color: rgba(236, 248, 255, 0.82);
  font-size: 22px;
  font-weight: 700;
}

.prototype-event-banner-copy small {
  color: rgba(236, 248, 255, 0.74);
}

.prototype-event-banner-actions,
.prototype-event-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.prototype-events-list {
  width: min(1337px, calc(100% - 90px));
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.prototype-tab-row {
  display: flex;
  gap: 220px;
  width: min(1337px, calc(100% - 90px));
  margin: 0 auto 18px;
}

.prototype-tab-button {
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(222, 245, 255, 0.9);
  font-size: 28px;
  line-height: 40px;
  font-weight: 700;
  padding: 0 0 14px;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
  white-space: nowrap;
  box-shadow: none !important;
  transform: none !important;
  border-radius: 0;
}

.prototype-tab-button:hover,
.prototype-tab-button:focus-visible,
.prototype-tab-button:active {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  border-color: transparent !important;
}

.prototype-tab-button.is-active {
  color: #78e7ff;
}

.prototype-tab-button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55px;
  height: 4px;
  border-radius: 999px;
  background: #65dfff;
}

.prototype-event-list-card {
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(90.23deg, rgba(13, 41, 46, 1) 0.56%, rgba(17, 59, 67, 1) 38.61%, rgba(56, 66, 66, 0) 99.66%);
  box-shadow: none;
}

.prototype-event-list-card.is-clickable {
  cursor: pointer;
}

.prototype-events-page .prototype-page-header {
  width: min(1337px, calc(100% - 90px));
  margin: 0 auto 20px;
}

.prototype-event-detail-header {
  width: min(1440px, calc(100dvw - 40px));
  margin: 0 auto 8px;
}

.prototype-event-detail-header h1 {
  margin: 0;
  color: #d8dfe3;
  font-size: 50px;
  line-height: 1.1;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
}

.prototype-events-page .prototype-page-header h1 {
  width: 166px;
  height: 50px;
  margin: 0;
  margin-left: 8px;
  color: #d8dfe3;
  font-size: 36px;
  line-height: 50px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
}

.prototype-events-list-frame {
  width: 1337px;
  max-width: 100%;
  height: 291px;
  margin: 0 auto;
  padding: 30px 21.5px;
  border-radius: 20px;
}

.prototype-events-list-media {
  position: relative;
  width: 1294px;
  max-width: 100%;
  height: 230px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 52, 59, 0.82), rgba(18, 52, 59, 0.28)),
    var(--event-cover-image) center/cover no-repeat;
}

.prototype-events-list-copy {
  position: absolute;
  left: 33px;
  top: 28px;
  width: calc(100% - 320px);
  text-align: left;
}

.prototype-events-list-copy h2 {
  margin: 0;
  color: #e3e8e7;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.prototype-events-list-foot {
  position: absolute;
  left: 33px;
  right: 31px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.prototype-events-list-meta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  min-width: 0;
}

.prototype-events-list-status {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
}

.prototype-events-list-status.is-live {
  color: #5ecfff;
}

.prototype-events-list-status.is-completed {
  color: #34ca70;
}

.prototype-events-list-note {
  color: rgba(227, 232, 231, 0.95);
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prototype-events-list-actions {
  display: flex;
  align-items: center;
}

.prototype-events-list-actions button {
  width: 147px;
  min-width: 147px;
  height: 43px;
  border-radius: 20px;
  border: 0;
  background: linear-gradient(88.13deg, rgba(114, 147, 255, 1) 5.19%, rgba(89, 181, 255, 1) 97.49%);
  color: rgba(210, 216, 217, 1);
  font-size: 20px;
  line-height: 1;
  text-align: center;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
  padding: 0;
  box-shadow: none;
}

.prototype-event-detail-stage {
  width: min(1440px, calc(100dvw - 40px));
  min-height: 940px;
  margin: 0 auto;
  padding: 24px 28px 24px;
  border-radius: 20px;
  background: linear-gradient(90.23deg, rgba(13, 41, 46, 1) 0.56%, rgba(17, 59, 67, 1) 38.61%, rgba(56, 66, 66, 0) 99.66%);
}

.prototype-event-detail-banner-wrap {
  width: 100%;
}

.prototype-event-detail-banner-wrap .prototype-event-banner-card {
  position: relative;
  width: 100%;
  min-height: 230px;
  height: 230px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(229, 229, 229, 1);
}

.prototype-event-detail-banner-wrap .prototype-event-banner-media {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(18, 52, 59, 0.82), rgba(18, 52, 59, 0.28)),
    var(--event-cover-image) center/cover no-repeat;
}

.prototype-event-detail-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px;
  pointer-events: none;
}

.prototype-event-detail-banner-overlay h1 {
  margin: 0;
  max-width: min(780px, 76%);
  color: rgba(234, 244, 248, 0.96);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.prototype-event-detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: auto;
}

.prototype-event-detail-meta-main {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(4, 19, 25, 0.5);
  backdrop-filter: blur(6px);
}

.prototype-event-detail-meta-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  min-width: 147px;
  min-height: 43px;
}

.prototype-event-detail-meta-actions .secondary-button {
  width: 147px;
  min-width: 147px;
  height: 43px;
  border-radius: 20px;
  border: 0;
  background: linear-gradient(88.13deg, rgba(114, 147, 255, 1) 5.19%, rgba(89, 181, 255, 1) 97.49%) !important;
  color: rgba(210, 216, 217, 1) !important;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  padding: 0;
  box-shadow: none;
}

.prototype-event-detail-action-placeholder {
  display: inline-block;
  width: 147px;
  min-width: 147px;
  height: 43px;
  visibility: hidden;
  pointer-events: none;
}

.prototype-event-detail-flow-copy {
  margin: 18px 0 0;
  color: rgba(205, 230, 236, 0.88);
  font-size: 15px;
  line-height: 1.65;
}

.prototype-event-timeline {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  transition: grid-template-columns 260ms ease;
}

.prototype-event-timeline.is-draft-active {
  grid-template-columns: minmax(188px, 0.74fr) minmax(500px, 1.52fr) minmax(188px, 0.74fr);
}

.prototype-event-timeline-step {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px 18px 16px;
  border: 1px solid rgba(62, 183, 247, 0.22);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(9, 31, 38, 0.78), rgba(6, 20, 28, 0.52));
  box-shadow: none;
  text-align: left;
  color: inherit;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.prototype-event-timeline-step:hover {
  transform: none;
}

.prototype-event-timeline-step.is-interactive {
  cursor: pointer;
}

.prototype-event-timeline-step.is-interactive:hover,
.prototype-event-timeline-step.is-interactive:focus-visible {
  border-color: rgba(116, 197, 255, 0.6);
  background: linear-gradient(180deg, rgba(14, 43, 52, 0.88), rgba(7, 24, 32, 0.68));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.prototype-event-timeline-step.is-disabled,
.prototype-event-timeline-step[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
}

.prototype-event-timeline-track {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 0;
}

.prototype-event-timeline-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(9, 28, 34, 0.72);
  border: 1px solid rgba(62, 183, 247, 0.34);
  color: rgba(219, 240, 247, 0.92);
  font-size: 16px;
  font-weight: 700;
}

.prototype-event-timeline-line {
  flex: 1;
  position: relative;
  height: 2px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(62, 183, 247, 0.22);
}

.prototype-event-timeline-line-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 3px 11px 4px;
  border-radius: 999px;
  border: 1px solid rgba(118, 203, 235, 0.28);
  background: rgba(9, 31, 38, 0.96);
  color: rgba(235, 247, 250, 0.96);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.prototype-event-timeline-copy {
  display: grid;
  gap: 4px;
}

.prototype-event-timeline-copy strong {
  color: rgba(235, 247, 250, 0.96);
  font-size: 20px;
  line-height: 1.15;
}

.prototype-event-timeline-copy span {
  color: rgba(171, 207, 216, 0.86);
  font-size: 15px;
  line-height: 1.45;
}

.prototype-event-timeline-helper {
  color: rgba(115, 196, 255, 0.92);
  font-size: 13px;
  font-style: normal;
}

.prototype-event-timeline-step.is-current .prototype-event-timeline-node {
  background: linear-gradient(180deg, rgba(114, 147, 255, 0.86), rgba(89, 181, 255, 0.86));
  border-color: rgba(126, 196, 255, 0.82);
  color: rgba(241, 250, 255, 1);
  box-shadow: 0 0 0 8px rgba(89, 181, 255, 0.14);
}

.prototype-event-timeline-step.is-current {
  border-color: rgba(126, 196, 255, 0.5);
}

.prototype-event-timeline-step.is-active {
  background: linear-gradient(180deg, rgba(20, 58, 71, 0.92), rgba(9, 30, 38, 0.78));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.prototype-event-timeline.is-draft-active .prototype-event-timeline-step:not(.is-active) {
  padding-inline: 14px;
}

.prototype-event-timeline.is-draft-active .is-stage-signup {
  transform-origin: left center;
  animation: prototypeTimelineLeftCardShrinkIn 340ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.prototype-event-timeline.is-draft-active .is-stage-draft {
  transform-origin: center center;
  animation: prototypeTimelineDraftCardExpandIn 340ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.prototype-event-timeline.is-draft-active .is-stage-match {
  transform-origin: right center;
  animation: prototypeTimelineRightCardShrinkIn 340ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.prototype-event-timeline.is-signup-active .is-stage-signup,
.prototype-event-timeline.is-match-active .is-stage-signup {
  transform-origin: left center;
  animation: prototypeTimelineLeftCardReturnIn 300ms cubic-bezier(0.2, 0.78, 0.2, 1) both;
}

.prototype-event-timeline.is-signup-active .is-stage-draft,
.prototype-event-timeline.is-match-active .is-stage-draft {
  transform-origin: center center;
  animation: prototypeTimelineDraftCardReturnIn 300ms cubic-bezier(0.2, 0.78, 0.2, 1) both;
}

.prototype-event-timeline.is-signup-active .is-stage-match,
.prototype-event-timeline.is-match-active .is-stage-match {
  transform-origin: right center;
  animation: prototypeTimelineRightCardReturnIn 300ms cubic-bezier(0.2, 0.78, 0.2, 1) both;
}

.prototype-event-timeline.is-draft-active .is-stage-draft .prototype-event-timeline-line {
  position: static;
}

.prototype-event-timeline.is-draft-active .is-stage-draft .prototype-event-timeline-line-label {
  left: 50%;
  z-index: 1;
}

.prototype-event-timeline-draft-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
  opacity: 0;
  transform: translateY(6px);
  animation: prototypeTimelineSummaryIn 260ms ease forwards;
}

.prototype-event-timeline-draft-summary span {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(118, 203, 235, 0.18);
  background: rgba(5, 22, 29, 0.42);
}

.prototype-event-timeline-draft-summary strong,
.prototype-event-timeline-draft-summary em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prototype-event-timeline-draft-summary strong {
  color: rgba(241, 250, 255, 0.98);
  font-size: 15px;
  line-height: 1.2;
}

.prototype-event-timeline-draft-summary em {
  margin-top: 3px;
  color: rgba(162, 205, 216, 0.86);
  font-size: 12px;
  font-style: normal;
}

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

@keyframes prototypeTimelineDraftCardExpandIn {
  from {
    opacity: 0.82;
    transform: scaleX(0.78);
    filter: saturate(0.92);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
    filter: saturate(1);
  }
}

@keyframes prototypeTimelineLeftCardShrinkIn {
  from {
    opacity: 0.9;
    transform: scaleX(1.16);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes prototypeTimelineRightCardShrinkIn {
  from {
    opacity: 0.9;
    transform: scaleX(1.16);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes prototypeTimelineDraftCardReturnIn {
  from {
    opacity: 0.92;
    transform: scaleX(1.18);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes prototypeTimelineLeftCardReturnIn {
  from {
    opacity: 0.94;
    transform: scaleX(0.86);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes prototypeTimelineRightCardReturnIn {
  from {
    opacity: 0.94;
    transform: scaleX(0.86);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.prototype-event-timeline-step.is-completed .prototype-event-timeline-node {
  background: linear-gradient(180deg, rgba(63, 210, 164, 0.9), rgba(42, 165, 136, 0.82));
  border-color: rgba(121, 242, 205, 0.58);
  color: rgba(237, 255, 248, 1);
}

.prototype-event-timeline-step.is-completed {
  border-color: rgba(121, 242, 205, 0.28);
}

.prototype-event-timeline-step.is-completed .prototype-event-timeline-line {
  background: linear-gradient(90deg, rgba(63, 210, 164, 0.68), rgba(89, 181, 255, 0.36));
}

.prototype-event-timeline-step.is-upcoming .prototype-event-timeline-copy strong {
  color: rgba(198, 227, 234, 0.88);
}

.prototype-event-timeline-step.is-upcoming .prototype-event-timeline-copy span {
  color: rgba(141, 181, 191, 0.82);
}

.prototype-event-detail-roster {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.prototype-event-subpage {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.prototype-stage-grid {
  display: grid;
  gap: 18px;
}

.prototype-stage-grid-auction,
.prototype-stage-grid-inhouse {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.auction-room-subpage {
  margin-top: 20px;
}

.auction-room-standalone .auction-room-subpage {
  margin-top: 0;
}

.auction-room-shell,
.auction-room-shell * {
  box-sizing: border-box;
}

.auction-room-shell {
  --auction-bottom-panel-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 500px);
  gap: 18px;
  min-height: min(980px, calc(100vh - 76px));
  align-items: stretch;
}

.auction-room-main,
.auction-room-current,
.auction-room-pool,
.auction-room-bid-log,
.auction-room-teams,
.auction-room-bid-card,
.auction-room-team-list {
  min-width: 0;
}

.auction-room-main {
  display: grid;
  grid-template-rows: minmax(430px, 1fr) var(--auction-bottom-panel-height);
  gap: 16px;
  height: 100%;
  min-height: 0;
}

.auction-room-bottom {
  display: grid;
  grid-template-columns: 524px minmax(260px, 1fr);
  gap: 12px;
  height: var(--auction-bottom-panel-height);
  min-height: var(--auction-bottom-panel-height);
  max-height: var(--auction-bottom-panel-height);
  align-items: stretch;
}

.auction-room-current,
.auction-room-pool,
.auction-room-bid-log,
.auction-room-teams {
  border: 1px solid rgba(91, 206, 230, 0.48);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(13, 55, 59, 0.34) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9, 41, 45, 0.96), rgba(5, 22, 25, 0.94));
  background-size: 58px 100%, 100% 100%;
  box-shadow:
    0 0 0 1px rgba(91, 206, 230, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 18px 20px;
}

.auction-room-section-head,
.auction-room-bid-head,
.auction-room-team-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auction-room-section-head h3,
.auction-room-section-head h4 {
  margin: 2px 0 0;
  color: rgba(244, 253, 252, 0.98);
}

.auction-room-section-head > span,
.auction-room-bid-head span,
.auction-room-page-state {
  color: rgba(164, 202, 205, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.auction-room-room-pills,
.auction-room-admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.auction-room-room-pills span {
  border: 1px solid rgba(91, 206, 230, 0.26);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(18, 56, 62, 0.72);
  color: rgba(224, 249, 247, 0.94);
  font-size: 12px;
  font-weight: 800;
}

.auction-room-current-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 0.54fr);
  gap: 22px;
  min-height: 430px;
  margin-top: 14px;
  align-items: stretch;
}

.auction-room-current-grid.is-waiting {
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
}

.auction-room-lot-card,
.auction-room-bid-card {
  border: 1px solid rgba(91, 206, 230, 0.5);
  border-radius: 16px;
  background: rgba(7, 26, 30, 0.82);
}

.auction-room-lot-card {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  padding: 0;
  border-color: rgba(255, 93, 211, 0.9);
  background:
    linear-gradient(180deg, rgba(7, 14, 18, 0.02), rgba(7, 14, 18, 0.12)),
    var(--auction-card-bg),
    radial-gradient(circle at 50% 18%, rgba(255, 96, 202, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(27, 39, 70, 0.98), rgba(17, 29, 52, 0.96));
  background-position: center;
  background-size: 100% 100%;
  box-shadow: 0 0 28px rgba(255, 93, 211, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.auction-room-lot-card.is-girl {
  border-color: rgba(255, 103, 199, 0.92);
}

.auction-room-lot-card.is-waiting {
  display: grid;
  place-items: center;
  border-color: rgba(255, 103, 199, 0.84);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 109, 190, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(28, 39, 78, 0.96), rgba(20, 30, 60, 0.98));
  padding: 28px;
}

.auction-room-waiting-logo-wrap {
  width: min(78%, 330px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 4px rgba(255, 124, 194, 0.2),
    0 22px 46px rgba(0, 0, 0, 0.34);
}

.auction-room-waiting-logo {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.auction-room-lot-art {
  position: absolute;
  left: 7.8%;
  top: 25.4%;
  width: 55%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(221, 91, 255, 0.9);
  border-radius: 6px;
  background: rgba(28, 0, 76, 0.72);
  padding: 4px;
  box-shadow:
    0 0 0 2px rgba(250, 218, 255, 0.64),
    0 0 0 4px rgba(155, 244, 230, 0.16),
    0 18px 34px rgba(0, 0, 0, 0.36);
}

.auction-room-lot-art > span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: rgba(255, 103, 199, 0.96);
  font-size: 18px;
  font-weight: 900;
}

.auction-room-lot-avatar {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  font-size: 48px;
  object-fit: cover;
}

.auction-room-lot-copy {
  position: absolute;
  left: 67.6%;
  right: 4%;
  top: 42.8%;
  display: grid;
  justify-items: start;
  gap: 7px;
  min-width: 0;
  text-align: left;
}

.auction-room-lot-card strong {
  color: rgba(247, 252, 252, 0.98);
  max-width: 100%;
  font-size: clamp(14px, 1.55vw, 18px);
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
}

.auction-room-lot-card span,
.auction-room-lot-card small {
  color: rgba(185, 222, 224, 0.9);
  font-weight: 800;
}

.auction-room-lot-copy span {
  color: rgba(214, 236, 238, 0.94);
  font-size: 15px;
  line-height: 1.15;
}

.auction-room-lot-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
}

.auction-room-lot-meta-grid span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 5px 6px;
  border: 1px solid rgba(112, 227, 224, 0.2);
  border-radius: 7px;
  background: rgba(5, 28, 35, 0.58);
  color: rgba(235, 250, 249, 0.94);
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auction-room-lot-meta-grid b {
  color: rgba(144, 198, 203, 0.88);
  font-size: 8px;
  font-weight: 850;
}

.auction-room-lot-positions {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.auction-room-lot-position-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(6, 18, 24, 0.62);
  box-shadow: 0 0 0 1px rgba(112, 227, 224, 0.22);
}

.auction-room-lot-position-empty {
  color: rgba(185, 222, 224, 0.82);
  font-size: 11px;
  font-weight: 800;
}

.auction-room-bid-card {
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
  gap: 18px;
  padding: 20px;
  align-content: start;
  color: rgba(238, 252, 252, 0.96);
  background:
    radial-gradient(circle at 82% 10%, rgba(91, 206, 230, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(7, 32, 37, 0.94), rgba(4, 19, 24, 0.96));
  box-shadow:
    0 0 0 1px rgba(91, 206, 230, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auction-room-bid-card.is-waiting {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  align-content: stretch;
  padding: 28px 36px;
  border-color: rgba(91, 173, 255, 0.72);
  background:
    radial-gradient(circle at 50% 52%, rgba(91, 206, 230, 0.22), transparent 36%),
    linear-gradient(90deg, rgba(8, 48, 55, 0.94), rgba(13, 64, 59, 0.9) 46%, rgba(7, 42, 44, 0.96));
  box-shadow:
    0 0 0 1px rgba(91, 206, 230, 0.12),
    0 0 24px rgba(91, 173, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auction-room-waiting-bid-panel {
  position: relative;
  min-height: 360px;
  height: 100%;
  display: block;
}

.auction-room-waiting-title {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  color: rgba(233, 244, 242, 0.94);
  font-size: clamp(44px, 4.4vw, 72px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.14), 0 16px 40px rgba(0, 0, 0, 0.32);
}

.auction-room-waiting-bid-panel.has-last-result .auction-room-waiting-title {
  top: 34%;
}

.auction-room-last-result {
  position: absolute;
  top: 56%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 18px);
  width: min(860px, calc(100% + 56px));
  min-height: 48px;
  transform: translate(-50%, -50%);
  color: rgba(236, 250, 249, 0.96);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 900;
  white-space: nowrap;
}

.auction-room-last-party {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  gap: 8px;
}

.auction-room-last-party strong {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}

.auction-room-last-price,
.auction-room-last-arrow {
  flex: 0 0 auto;
}

.auction-room-last-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: rgba(238, 252, 252, 0.96);
  background: rgba(42, 80, 109, 0.72);
  box-shadow: 0 0 0 2px rgba(91, 206, 230, 0.12), 0 8px 18px rgba(0, 0, 0, 0.22);
}

.auction-room-last-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auction-room-last-price {
  color: rgba(244, 251, 249, 0.98);
}

.auction-room-last-arrow {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(6, 33, 36, 0.94);
  font-size: 28px;
  line-height: 1;
  background: linear-gradient(180deg, #ffd86b, #ffb739);
  box-shadow: 0 8px 20px rgba(255, 186, 57, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.auction-room-waiting-start {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 8%, 58px);
  transform: translateX(-50%);
  width: min(320px, 72%);
  min-height: 58px;
  border-radius: 22px;
  color: rgba(15, 30, 34, 0.94);
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.98), rgba(220, 235, 243, 0.98));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.auction-room-waiting-actions {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 8%, 58px);
  transform: translateX(-50%);
  width: min(460px, 76%);
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.auction-room-waiting-actions .auction-room-waiting-start {
  position: static;
  transform: none;
  width: auto;
  min-height: 58px;
  flex: 1 1 0;
  padding-inline: 16px;
  font-size: 18px;
}

.auction-room-bid-card .auction-room-waiting-start,
.auction-room-bid-card .auction-room-waiting-start:disabled {
  color: rgba(15, 30, 34, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.98), rgba(220, 235, 243, 0.98));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  opacity: 0.94;
}

.auction-room-bid-head strong {
  color: rgba(247, 252, 252, 0.98);
  font-size: 22px;
}

.auction-room-bid-card .secondary-button,
.auction-room-bid-card .ghost-button {
  color: rgba(231, 250, 250, 0.96);
  border: 1px solid rgba(91, 206, 230, 0.28);
  background: rgba(10, 45, 51, 0.82);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auction-room-bid-card .secondary-button:hover,
.auction-room-bid-card .ghost-button:hover {
  border-color: rgba(114, 230, 238, 0.46);
  background: rgba(16, 66, 73, 0.9);
}

.auction-room-bid-card .action-button {
  color: rgba(2, 21, 27, 0.96);
  background: linear-gradient(135deg, rgba(116, 244, 232, 0.98), rgba(83, 183, 255, 0.94));
  box-shadow:
    0 12px 24px rgba(65, 206, 238, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.auction-room-bid-card .action-button:disabled {
  color: rgba(177, 204, 207, 0.74);
  border: 1px solid rgba(91, 206, 230, 0.14);
  background: rgba(12, 38, 43, 0.74);
}

.auction-room-bid-card .auction-room-waiting-actions .auction-room-waiting-start:disabled {
  color: rgba(174, 205, 207, 0.62);
  border-color: rgba(91, 206, 230, 0.16);
  background: rgba(8, 37, 42, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0.82;
}

.auction-room-bid-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(118px, 1fr);
  gap: 14px;
  align-items: center;
}

.auction-room-bid-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.auction-room-bid-metrics article {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 66px;
  border: 1px solid rgba(91, 206, 230, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(17, 65, 72, 0.82), rgba(10, 39, 45, 0.86));
  padding: 8px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.auction-room-bid-metrics span {
  color: rgba(164, 202, 205, 0.82);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.auction-room-bid-metrics strong {
  color: rgba(110, 238, 228, 0.98);
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 900;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-room-countdown-ring {
  justify-self: center;
  align-self: center;
  width: clamp(112px, 15vw, 142px);
  height: clamp(112px, 15vw, 142px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 10px solid rgba(93, 174, 255, 0.96);
  border-radius: 50%;
  background: rgba(16, 69, 75, 0.78);
  box-shadow: 0 0 0 14px rgba(93, 174, 255, 0.08), inset 0 0 22px rgba(93, 174, 255, 0.12);
}

.auction-room-countdown-ring strong {
  color: rgba(245, 252, 251, 0.98);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1;
}

.auction-room-countdown-ring span {
  color: rgba(176, 218, 223, 0.88);
  font-size: 12px;
  font-weight: 800;
}

.auction-room-countdown-ring.countdown-normal {
  animation: auctionRoomCountdownPulse 2s ease-in-out infinite;
}

.auction-room-countdown-ring.countdown-urgent {
  border-color: rgba(255, 204, 92, 0.96);
  box-shadow: 0 0 0 14px rgba(255, 204, 92, 0.1), 0 0 34px rgba(255, 180, 67, 0.24), inset 0 0 24px rgba(255, 204, 92, 0.14);
  animation: auctionRoomCountdownUrgent 0.85s ease-in-out infinite;
}

.auction-room-countdown-ring.countdown-critical {
  border-color: rgba(255, 95, 116, 0.98);
  box-shadow: 0 0 0 16px rgba(255, 95, 116, 0.14), 0 0 44px rgba(255, 95, 116, 0.38), inset 0 0 28px rgba(255, 95, 116, 0.18);
  animation: auctionRoomCountdownCritical 0.45s ease-in-out infinite;
}

.auction-room-countdown-ring.countdown-paused {
  border-color: rgba(93, 174, 255, 0.96);
  animation: none;
}

.auction-room-countdown-ring.countdown-normal strong {
  animation: countdownTextGlow 1.8s ease-in-out infinite;
}

.auction-room-countdown-ring.countdown-urgent strong {
  color: rgba(255, 237, 189, 0.98);
  animation: countdownTextUrgent 0.72s ease-in-out infinite;
}

.auction-room-countdown-ring.countdown-critical strong {
  color: rgba(255, 232, 236, 0.98);
  animation: countdownTextCritical 0.48s ease-in-out infinite;
}

.auction-room-bid-form {
  display: grid;
  grid-template-columns: 50px minmax(76px, 1fr) 50px;
  gap: 8px;
  align-items: center;
}

.auction-room-bid-form .action-button {
  grid-column: 1 / -1;
  min-height: 48px;
  white-space: nowrap;
}

.auction-room-bid-form input {
  min-width: 0;
  height: 48px;
  text-align: center;
  font-weight: 900;
  color: rgba(238, 252, 252, 0.98);
  border: 1px solid rgba(91, 206, 230, 0.32);
  background:
    linear-gradient(180deg, rgba(6, 30, 35, 0.98), rgba(4, 22, 27, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.1);
}

.auction-room-bid-form input:focus {
  outline: none;
  border-color: rgba(123, 240, 246, 0.7);
  box-shadow:
    0 0 0 3px rgba(91, 206, 230, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auction-room-bid-form input:disabled {
  color: rgba(166, 198, 202, 0.68);
  background: rgba(8, 32, 37, 0.66);
}

.auction-room-bid-card .helper-line {
  color: rgba(177, 216, 220, 0.88);
  font-size: 12px;
  line-height: 1.45;
}

.auction-room-bid-card .helper-line strong,
.auction-room-bid-card .helper-line b {
  color: rgba(245, 252, 252, 0.98);
}

.auction-room-pool {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  padding-left: 20px;
  padding-right: 20px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.auction-room-power-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.auction-room-power-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  border: 1px solid rgba(91, 206, 230, 0.28);
  border-radius: 999px;
  background: rgba(9, 34, 38, 0.82);
  color: rgba(174, 212, 216, 0.86);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  opacity: 1;
  cursor: pointer;
}

.auction-room-power-chip.is-active {
  border-color: rgba(112, 227, 224, 0.84);
  background: rgba(26, 91, 91, 0.88);
  color: rgba(238, 255, 252, 0.98);
  box-shadow: 0 0 14px rgba(112, 227, 224, 0.14);
}

.auction-room-power-chip b {
  color: rgba(255, 204, 84, 0.96);
  font-size: 11px;
}

.auction-room-power-chip:disabled {
  cursor: pointer;
}

.auction-room-player-grid {
  display: grid;
  grid-template-columns: repeat(5, 92px);
  grid-auto-rows: 92px;
  justify-content: start;
  align-content: start;
  gap: 6px;
  width: 484px;
  height: 100%;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.auction-room-player-grid::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.auction-room-player-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid rgba(91, 206, 230, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 12%, rgba(112, 227, 224, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(22, 54, 70, 0.72), rgba(8, 27, 32, 0.96));
  min-height: 0;
  height: auto;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auction-room-player-card.player-card-girl {
  border-color: rgba(255, 103, 199, 0.72);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 103, 199, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(48, 36, 72, 0.78), rgba(19, 25, 44, 0.96));
}

.auction-room-player-art {
  min-height: 0;
  padding: 7px 7px 0;
}

.auction-room-player-art::after {
  content: "";
  position: absolute;
  inset: 44% 0 24px;
  background: linear-gradient(180deg, transparent, rgba(5, 18, 22, 0.86));
  pointer-events: none;
}

.auction-room-player-avatar {
  width: 100%;
  height: 70px;
  border-radius: 7px;
  object-fit: cover;
}

.auction-room-player-positions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 3px;
  z-index: 1;
}

.auction-room-player-positions img {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(6, 18, 24, 0.76);
  box-shadow: 0 0 0 1px rgba(112, 227, 224, 0.28);
}

.auction-room-player-positions span {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: rgba(207, 235, 236, 0.72);
  background: rgba(6, 18, 24, 0.76);
  font-size: 9px;
}

.auction-room-player-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  padding: 0 7px 7px;
  min-width: 0;
}

.auction-room-player-card strong,
.auction-room-team-info strong {
  color: rgba(242, 251, 248, 0.98);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-room-player-card strong {
  font-size: 11px;
  line-height: 1.1;
}

.auction-room-player-caption span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: rgba(183, 219, 221, 0.86);
  font-size: 10px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-room-player-caption span img {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.auction-room-player-grid .auction-room-player-card.prototype-player-poster-card {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  display: block;
  width: 92px;
  height: 92px;
  max-width: 92px;
  min-height: 0;
  min-width: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-width: 1px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(125, 140, 255, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(233, 239, 255, 0.96), rgba(214, 227, 255, 0.94));
  box-shadow:
    0 6px 12px rgba(3, 8, 19, 0.16),
    inset 0 0 0 1px color-mix(in srgb, var(--poster-accent, #8aa6ff) 82%, white 18%),
    0 0 8px color-mix(in srgb, var(--poster-accent, #8aa6ff) 18%, transparent);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  translate: 0 0;
  isolation: isolate;
}

.auction-room-player-grid .auction-room-player-card.prototype-player-poster-card:hover {
  transform: translateY(-2px);
  translate: 0 0;
}

.auction-room-player-grid .auction-room-player-card.prototype-player-poster-card.is-selected {
  border-color: rgba(255, 220, 104, 0.95);
  box-shadow:
    0 0 0 2px rgba(255, 220, 104, 0.32),
    0 18px 38px rgba(0, 0, 0, 0.28);
}

.auction-room-player-grid.is-drag-over,
.auction-room-team-card.is-drag-over {
  outline: 2px solid rgba(255, 220, 104, 0.82);
  outline-offset: -2px;
  background-color: rgba(255, 220, 104, 0.08);
}

.auction-room-team-slot[draggable="true"],
.auction-room-player-card[draggable="true"] {
  cursor: grab;
}

.auction-room-pool-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.auction-room-sell-player-button {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 227, 128, 0.78);
  border-radius: 8px;
  background: rgba(12, 22, 24, 0.86);
  color: rgba(255, 238, 174, 0.98);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(3, 8, 19, 0.24);
  cursor: pointer;
}

.auction-room-sell-player-button:hover,
.auction-room-sell-player-button:focus-visible {
  background: rgba(255, 202, 72, 0.94);
  color: rgba(16, 28, 28, 0.98);
}

.auction-room-sell-player-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.auction-room-player-grid .auction-room-player-card.prototype-player-poster-card::after,
.auction-room-player-grid .auction-room-player-card.player-holo-card::before {
  border-radius: 8px;
}

.auction-room-player-grid .auction-room-player-card .player-poster-art,
.auction-room-player-grid .auction-room-player-card .player-poster-shade,
.auction-room-player-grid .auction-room-player-card .player-poster-avatar,
.auction-room-player-grid .auction-room-player-card .player-poster-avatar.image-avatar img {
  border-radius: inherit;
}

.auction-room-player-grid .auction-room-player-card .champion-member-positions {
  height: 12px;
  gap: 3px;
  padding: 2px 4px;
  border-radius: 8px 8px 8px 0;
  clip-path: inset(0 round 8px 8px 8px 0);
}

.auction-room-player-grid .auction-room-player-card .champion-position-icon {
  width: 8px;
  height: 8px;
}

.auction-room-player-grid .auction-room-player-card .champion-position-fallback {
  font-size: 8px;
}

.auction-room-player-grid .auction-room-player-card .champion-poster-caption {
  left: 4px;
  right: 4px;
  bottom: 3px;
  min-height: 30px;
  gap: 1px;
  padding: 3px 4px;
  border-radius: 6px;
  backdrop-filter: blur(5px);
}

.auction-room-player-grid .auction-room-player-card .champion-member-name-row {
  gap: 3px;
}

.auction-room-player-grid .auction-room-player-card .champion-member-copy strong {
  font-size: 7px;
  line-height: 1.08;
}

.auction-room-player-grid .auction-room-player-card .champion-member-meta {
  justify-content: space-between;
  gap: 3px;
  font-size: 7px;
  line-height: 1;
  overflow: visible;
}

.auction-room-player-grid .auction-room-player-card .champion-member-power {
  gap: 2px;
}

.auction-room-player-grid .auction-room-player-card .champion-stat-icon {
  width: 7px;
  height: 7px;
}

.auction-room-player-grid .auction-room-player-card .champion-member-rank {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  transform: none;
  transform-origin: right center;
  margin-left: auto;
}

.auction-room-player-grid .auction-room-player-card .champion-member-rank-leaderboard {
  display: inline-flex;
  font-size: 6px;
  bottom: -2px;
}

.auction-room-player-grid .auction-room-player-card .champion-member-rank-fallback {
  font-size: 9px;
}

.auction-room-player-grid .auction-room-player-card .champion-member-rank-emblem {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 3px 6px rgba(4, 10, 22, 0.36));
}

.auction-room-player-grid .auction-room-player-card .champion-member-rank-stars {
  bottom: -2px;
  gap: 0;
}

.auction-room-player-grid .auction-room-player-card .champion-member-rank-star {
  width: 3px;
  height: 3px;
}

.auction-room-bid-log {
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  overflow: hidden;
}

.auction-room-section-head.is-compact {
  margin-bottom: 8px;
}

.auction-room-log-list {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(89, 212, 255, 0.44) rgba(4, 24, 28, 0.74);
}

.auction-room-log-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid rgba(91, 206, 230, 0.18);
  background: rgba(7, 26, 30, 0.72);
  color: rgba(207, 235, 236, 0.92);
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 800;
}

.auction-room-log-row.is-system {
  border-color: rgba(255, 200, 87, 0.2);
  background: rgba(42, 37, 18, 0.58);
}

.auction-room-log-main {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.auction-room-log-row strong,
.auction-room-log-row small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-room-log-row time {
  display: inline-flex;
  margin-right: 6px;
  color: rgba(155, 190, 194, 0.94);
  font-size: 10px;
  font-weight: 800;
}

.auction-room-log-row small {
  color: rgba(155, 190, 194, 0.9);
  font-size: 10px;
  font-weight: 700;
}

.auction-room-log-blind {
  display: inline-flex;
  align-items: center;
  height: 15px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(166, 92, 255, 0.18);
  color: rgba(224, 197, 255, 0.98);
  font-size: 9px;
  vertical-align: 1px;
}

.auction-room-log-row em {
  flex: 0 0 auto;
  color: rgba(255, 200, 87, 0.96);
  font-style: normal;
}

.auction-room-teams {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
}

.auction-room-team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(92px, auto);
  gap: 8px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(89, 212, 255, 0.44) rgba(4, 24, 28, 0.74);
}

:root[data-theme="dark"] .auction-room-log-list,
:root[data-theme="dark"] .auction-room-team-list {
  color-scheme: dark;
}

:root[data-theme="dark"] .auction-room-log-list::-webkit-scrollbar,
:root[data-theme="dark"] .auction-room-team-list::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

:root[data-theme="dark"] .auction-room-log-list::-webkit-scrollbar-track,
:root[data-theme="dark"] .auction-room-team-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(4, 24, 28, 0.74);
  box-shadow: inset 0 0 0 1px rgba(91, 206, 230, 0.08);
}

:root[data-theme="dark"] .auction-room-log-list::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .auction-room-team-list::-webkit-scrollbar-thumb {
  border: 2px solid rgba(4, 24, 28, 0.74);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(89, 212, 255, 0.58), rgba(67, 126, 156, 0.46));
  background-clip: padding-box;
}

:root[data-theme="dark"] .auction-room-log-list::-webkit-scrollbar-thumb:hover,
:root[data-theme="dark"] .auction-room-team-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(120, 236, 255, 0.72), rgba(78, 157, 190, 0.58));
  background-clip: padding-box;
}

.auction-room-team-card,
.auction-room-team-detail {
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px solid rgba(91, 206, 230, 0.28);
  border-radius: 10px;
  background: rgba(12, 42, 47, 0.86);
  padding: 8px;
  min-width: 0;
}

.auction-room-team-card {
  width: 100%;
  appearance: none;
  border-color: rgba(91, 206, 230, 0.28);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.auction-room-team-card.is-leading {
  border-color: rgba(85, 224, 111, 0.8);
  background: rgba(17, 64, 49, 0.82);
}

.auction-room-team-card.is-selected,
.auction-room-team-card:hover {
  border-color: rgba(85, 224, 111, 0.9);
  background: rgba(17, 64, 49, 0.88);
}

.auction-room-team-detail {
  border-color: rgba(85, 224, 111, 0.9);
  border-radius: 14px;
  background: rgba(17, 64, 49, 0.92);
  padding: 12px;
  gap: 10px;
}

.auction-room-team-detail.is-empty {
  min-height: 68px;
  align-content: center;
}

.auction-room-team-detail.is-empty strong {
  color: rgba(244, 253, 252, 0.98);
  font-size: 16px;
}

.auction-room-team-detail.is-empty span {
  color: rgba(164, 202, 205, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.auction-room-team-info {
  align-items: flex-start;
}

.auction-room-team-info > div {
  min-width: 0;
}

.auction-room-team-card .auction-room-team-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 6px;
  row-gap: 1px;
  min-height: 28px;
}

.auction-room-team-card .auction-room-team-info > div {
  display: contents;
}

.auction-room-team-info strong {
  font-size: 15px;
  line-height: 1.15;
}

.auction-room-team-card .auction-room-team-info strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-room-team-card .auction-room-team-info span {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auction-room-team-info span,
.auction-room-team-info b {
  color: rgba(183, 219, 221, 0.86);
  font-size: 11px;
}

.auction-room-team-info b {
  color: rgba(255, 200, 87, 0.98);
  flex: 0 0 auto;
  white-space: nowrap;
}

.auction-room-team-card .auction-room-team-info b {
  justify-self: end;
  font-size: 10px;
  line-height: 1.15;
}

.auction-room-team-slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.auction-room-team-slot {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.auction-room-slot-avatar {
  width: min(36px, 100%);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(112, 227, 224, 0.8);
  object-fit: cover;
}

.auction-room-team-detail .auction-room-slot-avatar {
  width: 56px;
  height: 56px;
}

.auction-room-team-slot.is-empty .auction-room-slot-avatar {
  display: grid;
  place-items: center;
  background: rgba(7, 26, 30, 0.72);
  color: rgba(151, 185, 189, 0.86);
}

.auction-room-team-slot small {
  max-width: 100%;
  color: rgba(215, 240, 239, 0.9);
  font-size: 8px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-room-team-slot em {
  color: rgba(255, 200, 87, 0.94);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.auction-room-team-card .auction-room-team-slot em {
  display: none;
}

.auction-room-team-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-wrap: nowrap;
}

.auction-room-team-card .auction-room-team-info .auction-room-team-meta-line {
  grid-column: 1 / -1;
  grid-row: 2;
  overflow: visible;
  text-overflow: clip;
}

.auction-room-team-position-summary {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  overflow: visible;
  color: rgba(159, 199, 202, 0.88);
  font-size: 10px;
  font-weight: 850;
  vertical-align: middle;
}

.auction-room-team-position-summary img {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(6, 23, 29, 0.78);
  box-shadow: 0 0 0 1px rgba(112, 227, 224, 0.18);
}

.auction-room-team-position-summary em {
  color: rgba(143, 174, 178, 0.82);
  font-style: normal;
}

.prototype-stage-grid-inhouse-meta {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.prototype-stage-grid-match {
  grid-template-columns: 1fr;
}

.prototype-match-empty-card {
  align-content: start;
}

.prototype-match-empty-card button {
  justify-self: start;
  min-width: 150px;
}

.prototype-match-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.36fr);
  gap: 18px;
  align-items: start;
}

.prototype-match-main-column,
.prototype-match-bracket-board {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.prototype-group-standings {
  min-width: 0;
  padding: 0;
  border-radius: 24px;
  border: 1px solid rgba(122, 210, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(122, 210, 255, 0.05) 0 18px, transparent 18px 36px),
    linear-gradient(180deg, rgba(8, 26, 36, 0.96), rgba(5, 16, 24, 0.9));
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.14);
}

.prototype-group-standings-head,
.prototype-group-matrix-title {
  display: flex;
  align-items: center;
}

.prototype-group-standings-head {
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(122, 210, 255, 0.13);
  background: rgba(5, 14, 21, 0.48);
}

.prototype-group-standings-head h3 {
  margin: 4px 0 0;
  color: rgba(242, 250, 255, 0.98);
  font-size: 20px;
}

.prototype-stage-pill.is-warning {
  border-color: rgba(255, 210, 93, 0.45);
  background: rgba(255, 210, 93, 0.13);
  color: rgba(255, 232, 160, 0.96);
}

.prototype-group-standings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 18px;
}

.prototype-group-matrix-card {
  min-width: 0;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(122, 210, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 32, 43, 0.92), rgba(7, 20, 29, 0.9));
  overflow: hidden;
}

.prototype-group-matrix-title {
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(122, 210, 255, 0.14);
  background:
    radial-gradient(circle at 50% -80%, rgba(30, 178, 255, 0.22), transparent 58%),
    rgba(5, 14, 21, 0.52);
}

.prototype-group-matrix-title strong {
  color: rgba(63, 195, 255, 0.98);
  font-size: 19px;
  letter-spacing: 0.03em;
  text-shadow: 0 0 18px rgba(63, 195, 255, 0.22);
}

.prototype-group-matrix-title span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(94, 214, 169, 0.1);
  color: rgba(175, 238, 215, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.prototype-group-matrix-title small {
  display: block;
  margin-top: 3px;
  color: rgba(166, 200, 210, 0.62);
  font-size: 11px;
  font-weight: 700;
}

.prototype-group-matrix-scroll {
  overflow-x: auto;
}

.prototype-group-matrix-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  color: rgba(218, 239, 245, 0.92);
  table-layout: fixed;
}

.prototype-group-matrix-table th,
.prototype-group-matrix-table td {
  height: 58px;
  padding: 10px 12px;
  border-right: 1px solid rgba(151, 181, 194, 0.11);
  border-bottom: 1px solid rgba(151, 181, 194, 0.11);
  background: rgba(13, 22, 31, 0.58);
  text-align: center;
  vertical-align: middle;
}

.prototype-group-matrix-table thead th {
  height: 66px;
  background: rgba(3, 10, 16, 0.72);
  color: rgba(199, 216, 224, 0.92);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.prototype-group-matrix-table th.is-group-team-adjustable {
  cursor: grab;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.prototype-group-matrix-table th.is-group-team-adjustable:active {
  cursor: grabbing;
}

.prototype-group-matrix-table th.is-group-team-adjustable:hover,
.prototype-group-matrix-table th.is-group-team-adjustable:focus-visible {
  background: rgba(39, 183, 255, 0.12);
  color: rgba(236, 250, 255, 1);
}

.prototype-group-matrix-table th.is-group-team-adjustable.is-drag-over {
  background: rgba(255, 210, 93, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 210, 93, 0.68),
    0 0 18px rgba(255, 210, 93, 0.14);
}

.prototype-group-matrix-table thead th.is-team-col {
  width: 190px;
  text-align: left;
}

.prototype-group-matrix-table th:first-child,
.prototype-group-matrix-table td:first-child {
  border-left: 0;
}

.prototype-group-matrix-table thead th {
  border-top: 0;
}

.prototype-group-matrix-table thead th:first-child {
  border-top-left-radius: 14px;
}

.prototype-group-matrix-table thead th:last-child {
  border-top-right-radius: 14px;
}

.prototype-group-matrix-table tbody tr:last-child th:first-child {
  border-bottom-left-radius: 14px;
}

.prototype-group-matrix-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px;
}

.prototype-group-matrix-table tbody th {
  width: 190px;
  background: rgba(21, 31, 42, 0.72);
  text-align: left;
}

.prototype-group-matrix-table tbody th span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 210, 255, 0.28);
  background: rgba(122, 210, 255, 0.08);
  color: rgba(174, 231, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.prototype-group-matrix-table tbody th strong {
  min-width: 0;
  overflow: hidden;
  color: rgba(244, 250, 252, 0.98);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prototype-group-matrix-table tr.is-qualified th,
.prototype-group-matrix-table tr.is-qualified td.is-total {
  background:
    linear-gradient(90deg, rgba(94, 214, 169, 0.08), rgba(94, 214, 169, 0.035));
}

.prototype-group-matrix-table tr.is-page-upper th,
.prototype-group-matrix-table tr.is-page-upper td.is-total,
.prototype-group-matrix-table tr.is-page-upper td.is-rank {
  background:
    linear-gradient(90deg, rgba(63, 195, 255, 0.12), rgba(63, 195, 255, 0.04));
}

.prototype-group-matrix-table td.is-rank {
  color: rgba(214, 236, 238, 0.94);
  font-size: 12px;
  font-weight: 900;
}

.prototype-group-standings.is-page-format .prototype-group-matrix-table {
  min-width: 900px;
}

.prototype-group-matrix-table tr.is-eliminated {
  opacity: 0.86;
}

.prototype-group-matrix-table td.is-self {
  color: rgba(155, 193, 204, 0.36);
  font-weight: 800;
}

.prototype-group-matrix-table td.is-total,
.prototype-group-matrix-table tr.is-total-row th,
.prototype-group-matrix-table tr.is-total-row td {
  background: rgba(255, 205, 64, 0.08);
  color: rgba(255, 225, 119, 0.98);
  font-weight: 900;
}

.prototype-group-matrix-table tr.is-total-row th,
.prototype-group-matrix-table tr.is-total-row td {
  height: 52px;
  border-bottom: 0;
}

.prototype-group-matrix-match {
  width: 100%;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 12px;
  border: 1px solid rgba(122, 210, 255, 0.18);
  background: transparent;
  color: rgba(190, 217, 226, 0.88);
  font-size: 13px;
  font-weight: 900;
  box-shadow: none;
}

.prototype-group-matrix-match:hover,
.prototype-group-matrix-match:focus-visible {
  transform: none;
  border-color: rgba(39, 183, 255, 0.74);
  background: rgba(39, 183, 255, 0.1);
  color: rgba(235, 249, 255, 1);
}

.prototype-group-matrix-match.is-completed {
  border-color: rgba(94, 214, 169, 0.24);
  background: rgba(94, 214, 169, 0.09);
  color: rgba(232, 255, 247, 0.98);
}

.prototype-group-matrix-match.is-selected {
  border-color: rgba(255, 213, 24, 0.88);
  background: rgba(255, 213, 24, 0.14);
  color: rgba(255, 238, 170, 0.98);
  box-shadow: 0 0 20px rgba(255, 213, 24, 0.16);
}

.prototype-group-matrix-empty {
  color: rgba(155, 193, 204, 0.45);
  font-weight: 800;
}

.prototype-match-playoff-placeholder {
  overflow: hidden;
}

.prototype-page-playoff-bracket {
  min-width: 0;
  padding: 20px 24px 18px;
  border-radius: 22px;
  border: 1px solid rgba(122, 210, 255, 0.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(40, 157, 215, 0.16), transparent 36%),
    radial-gradient(circle at 86% 84%, rgba(255, 203, 21, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(8, 26, 36, 0.96), rgba(5, 16, 24, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.14);
}

.prototype-page-bracket-canvas {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  padding: 0;
}

.prototype-page-bracket-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.prototype-page-bracket-path {
  fill: none;
  stroke: rgba(108, 204, 245, 0.54);
  stroke-width: 3;
  stroke-linecap: square;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(63, 195, 255, 0.16));
}

.prototype-page-bracket-path.is-primary {
  stroke: rgba(118, 214, 255, 0.68);
}

.prototype-page-bracket-path.is-gold {
  stroke: rgba(255, 219, 36, 0.66);
  filter: drop-shadow(0 0 8px rgba(255, 213, 24, 0.18));
}

.prototype-page-bracket-node {
  position: absolute;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 7px;
  width: clamp(220px, 24%, 270px);
}

.prototype-page-bracket-upper {
  left: 0;
  top: 42px;
}

.prototype-page-bracket-lower-entry {
  left: 0;
  top: 246px;
}

.prototype-page-bracket-lower-final {
  left: 38%;
  top: 172px;
}

.prototype-page-bracket-grand-final {
  right: 0;
  top: 88px;
}

.prototype-page-bracket-node h4 {
  margin: 0;
  color: rgba(174, 231, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.prototype-page-bracket-champion {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 316px;
  display: grid;
  align-content: center;
  gap: 4px;
  width: clamp(220px, 24%, 270px);
  min-height: 64px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 225, 18, 0.62);
  background: linear-gradient(180deg, rgba(255, 230, 0, 0.92), rgba(255, 194, 36, 0.9));
  color: rgba(22, 20, 6, 0.96);
  box-shadow: 0 12px 28px rgba(255, 213, 24, 0.18);
}

.prototype-page-bracket-champion span {
  font-size: 11px;
  font-weight: 900;
}

.prototype-page-bracket-champion strong {
  min-width: 0;
  overflow: hidden;
  font-size: 18px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prototype-page-playoff-match {
  display: grid;
  gap: 7px;
  min-height: 130px;
  padding: 9px;
  border-radius: 14px;
  border: 1px solid rgba(122, 210, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(13, 34, 43, 0.98), rgba(6, 18, 25, 0.98));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.prototype-page-playoff-match.has-fixture .prototype-match-fixture-card {
  min-height: 94px;
}

.prototype-page-playoff-match-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: rgba(236, 250, 255, 0.96);
  font-size: 11px;
  font-weight: 900;
}

.prototype-page-playoff-match-head span {
  color: rgba(255, 225, 119, 0.96);
}

.prototype-page-playoff-slots {
  display: grid;
  gap: 7px;
}

.prototype-page-playoff-slot {
  display: grid;
  gap: 3px;
  min-height: 42px;
  padding: 7px 9px;
  border-radius: 9px;
  border: 1px solid rgba(122, 210, 255, 0.16);
  background: rgba(3, 10, 16, 0.74);
}

.prototype-page-playoff-slot span {
  color: rgba(166, 200, 210, 0.76);
  font-size: 10px;
  font-weight: 900;
}

.prototype-page-playoff-slot strong {
  min-width: 0;
  overflow: hidden;
  color: rgba(244, 250, 252, 0.98);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prototype-match-placeholder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.72fr;
  gap: 16px;
  min-width: min(680px, 100%);
}

.prototype-match-placeholder-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.prototype-match-placeholder-column > strong {
  color: rgba(230, 246, 250, 0.84);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.prototype-match-placeholder-stack {
  display: grid;
  gap: 12px;
}

.prototype-match-placeholder-stack span {
  height: 58px;
  border-radius: 16px;
  border: 1px dashed rgba(155, 205, 220, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.prototype-match-placeholder-copy {
  margin: 16px 0 0;
  color: rgba(174, 207, 216, 0.76);
  font-size: 13px;
  line-height: 1.7;
}

.prototype-match-bracket-group {
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(118, 203, 235, 0.18);
  background:
    radial-gradient(circle at 16% 0%, rgba(89, 181, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(8, 28, 37, 0.9), rgba(7, 22, 30, 0.76));
  overflow-x: auto;
}

.prototype-match-bracket-title,
.prototype-match-round-head,
.prototype-match-fixture-top,
.prototype-match-team-line,
.prototype-match-detail-meta,
.prototype-match-game-list div {
  display: flex;
  align-items: center;
}

.prototype-match-bracket-title {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.prototype-match-bracket-title strong {
  color: rgba(242, 250, 255, 0.98);
  font-size: 22px;
}

.prototype-match-bracket-title span,
.prototype-match-round-head span {
  color: rgba(171, 207, 216, 0.86);
  font-size: 13px;
}

.prototype-match-rounds {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 260px);
  gap: 18px;
  align-items: start;
  min-width: max-content;
}

.prototype-match-round-column {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.prototype-match-round-head {
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 0 4px;
}

.prototype-match-round-head strong {
  color: rgba(230, 246, 250, 0.96);
  font-size: 16px;
}

.prototype-match-fixture-stack {
  display: grid;
  gap: 14px;
}

.prototype-match-fixture-card {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(118, 203, 235, 0.18);
  background:
    linear-gradient(180deg, rgba(11, 42, 52, 0.92), rgba(6, 21, 29, 0.86));
  color: inherit;
  text-align: left;
  box-shadow: none;
}

.prototype-match-fixture-card:hover,
.prototype-match-fixture-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(115, 196, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(15, 55, 68, 0.96), rgba(7, 26, 35, 0.9));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.prototype-match-fixture-card.is-selected {
  border-color: rgba(255, 210, 93, 0.86);
  background:
    radial-gradient(circle at top right, rgba(255, 210, 93, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(70, 52, 16, 0.72), rgba(9, 29, 36, 0.88));
  box-shadow:
    0 0 0 2px rgba(255, 210, 93, 0.2),
    0 16px 30px rgba(0, 0, 0, 0.22);
}

.prototype-match-fixture-card.is-completed {
  border-color: rgba(94, 214, 169, 0.28);
}

.prototype-match-fixture-top {
  justify-content: space-between;
  gap: 10px;
}

.prototype-match-fixture-top em {
  color: rgba(122, 210, 255, 0.92);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.04em;
}

.prototype-match-fixture-top small {
  color: rgba(207, 229, 236, 0.76);
  font-size: 12px;
}

.prototype-match-team-line {
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.prototype-match-team-line.is-adjustable {
  cursor: grab;
}

.prototype-match-team-line.is-adjustable:active {
  cursor: grabbing;
}

.prototype-match-team-line.is-drag-over {
  background: rgba(255, 210, 93, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 210, 93, 0.68),
    0 0 18px rgba(255, 210, 93, 0.18);
}

.prototype-match-team-line span {
  min-width: 0;
  overflow: hidden;
  color: rgba(234, 247, 251, 0.94);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prototype-match-team-line strong {
  color: rgba(237, 248, 255, 0.96);
  font-size: 16px;
}

.prototype-match-team-line.is-winner {
  background: rgba(255, 210, 93, 0.16);
}

.prototype-match-team-line.is-winner span,
.prototype-match-team-line.is-winner strong {
  color: rgba(255, 235, 155, 1);
}

.prototype-match-versus {
  justify-self: center;
  color: rgba(171, 207, 216, 0.8);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.prototype-match-detail-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(118, 203, 235, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 210, 93, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(8, 28, 37, 0.94), rgba(6, 20, 28, 0.88));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.prototype-match-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.prototype-match-scoreboard span {
  min-width: 0;
  overflow: hidden;
  color: rgba(235, 248, 252, 0.96);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prototype-match-scoreboard strong {
  color: rgba(255, 226, 122, 1);
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
}

.prototype-match-detail-meta {
  gap: 8px;
  flex-wrap: wrap;
}

.prototype-match-detail-meta span,
.prototype-match-game-list span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(118, 203, 235, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(219, 240, 247, 0.88);
  font-size: 13px;
}

.prototype-match-detail-teams {
  display: grid;
  gap: 10px;
}

.prototype-match-detail-team-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(118, 203, 235, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.prototype-match-detail-team-card strong {
  color: rgba(242, 250, 255, 0.98);
  font-size: 16px;
}

.prototype-match-detail-team-card span,
.prototype-match-detail-team-card p {
  margin: 0;
  color: rgba(184, 217, 226, 0.82);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.prototype-match-game-list {
  display: grid;
  gap: 10px;
}

.prototype-match-game-list > strong {
  color: rgba(235, 247, 250, 0.96);
  font-size: 15px;
}

.prototype-match-game-list div {
  gap: 8px;
  flex-wrap: wrap;
}

.prototype-match-detail-notes {
  margin: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(215, 235, 240, 0.9);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prototype-match-result-button {
  width: 100%;
}

.prototype-match-detail-panel .prototype-match-result-button {
  color: rgba(236, 248, 255, 0.96);
  background:
    linear-gradient(135deg, rgba(75, 164, 255, 0.24), rgba(34, 94, 154, 0.22));
  border-color: rgba(112, 196, 255, 0.34);
  box-shadow:
    0 14px 26px rgba(2, 12, 22, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.prototype-match-detail-panel .prototype-match-result-button:hover {
  background:
    linear-gradient(135deg, rgba(91, 184, 255, 0.32), rgba(49, 116, 185, 0.28));
  border-color: rgba(139, 211, 255, 0.48);
}

.prototype-stage-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(118, 203, 235, 0.18);
  background:
    linear-gradient(180deg, rgba(8, 28, 37, 0.92), rgba(7, 22, 30, 0.82));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.prototype-stage-card-wide {
  grid-column: 1 / -1;
}

.prototype-stage-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 10px;
}

.prototype-stage-action-row button {
  min-width: 112px;
  min-height: 28px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  box-shadow: none;
}

.prototype-stage-board {
  display: grid;
  grid-template-columns: 801px minmax(320px, 1fr);
  gap: 23px;
  align-items: start;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-gutter: stable;
}

.prototype-stage-board-pool {
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(118, 203, 235, 0.18);
  background: linear-gradient(180deg, rgba(12, 52, 62, 0.72), rgba(10, 34, 42, 0.52));
}

.prototype-stage-board-pool {
  width: 801px;
  height: 1218px;
  overflow: visible;
}

.prototype-stage-board-pool.is-drag-over,
[data-draft-pool].is-drag-over {
  border-radius: 22px;
  outline: 2px solid rgba(255, 210, 93, 0.9);
  outline-offset: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 210, 93, 0.16), transparent 36%),
    rgba(255, 210, 93, 0.05);
  box-shadow:
    0 0 0 4px rgba(255, 210, 93, 0.16),
    0 18px 36px rgba(255, 210, 93, 0.12);
}

.prototype-stage-board-sidebar {
  min-width: 0;
  min-height: 1218px;
  padding: 0;
  border: 0;
  background: transparent;
}

.prototype-stage-board-head {
  margin-bottom: 14px;
}

.prototype-stage-board-head h3 {
  margin: 0;
  color: #f5fbff;
  font-size: 24px;
  line-height: 1.15;
}

.prototype-stage-board-pool-grid {
  display: grid;
  grid-template-columns: repeat(5, 125px);
  grid-auto-rows: 130px;
  gap: 23px;
  align-content: start;
  justify-content: start;
  height: calc(100% - 42px);
  overflow-y: auto;
  overflow-x: visible;
  scrollbar-gutter: stable;
  padding: 12px 28px 0 18px;
  box-sizing: border-box;
}

:root[data-theme="dark"] .prototype-stage-board,
:root[data-theme="dark"] .prototype-stage-board-pool-grid,
:root[data-theme="dark"] .prototype-stage-history-list,
:root[data-theme="dark"] .prototype-stage-queue-list {
  color-scheme: dark;
  scrollbar-color: rgba(89, 212, 255, 0.46) rgba(7, 30, 37, 0.42);
}

:root[data-theme="dark"] .prototype-stage-board::-webkit-scrollbar,
:root[data-theme="dark"] .prototype-stage-board-pool-grid::-webkit-scrollbar,
:root[data-theme="dark"] .prototype-stage-history-list::-webkit-scrollbar,
:root[data-theme="dark"] .prototype-stage-queue-list::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

:root[data-theme="dark"] .prototype-stage-board::-webkit-scrollbar-track,
:root[data-theme="dark"] .prototype-stage-board-pool-grid::-webkit-scrollbar-track,
:root[data-theme="dark"] .prototype-stage-history-list::-webkit-scrollbar-track,
:root[data-theme="dark"] .prototype-stage-queue-list::-webkit-scrollbar-track {
  background: rgba(7, 30, 37, 0.42);
  border-radius: 999px;
}

:root[data-theme="dark"] .prototype-stage-board::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .prototype-stage-board-pool-grid::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .prototype-stage-history-list::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .prototype-stage-queue-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(114, 147, 255, 0.76), rgba(89, 212, 255, 0.72));
  border: 2px solid rgba(7, 30, 37, 0.42);
  border-radius: 999px;
}

:root[data-theme="dark"] .prototype-stage-board::-webkit-scrollbar-thumb:hover,
:root[data-theme="dark"] .prototype-stage-board-pool-grid::-webkit-scrollbar-thumb:hover,
:root[data-theme="dark"] .prototype-stage-history-list::-webkit-scrollbar-thumb:hover,
:root[data-theme="dark"] .prototype-stage-queue-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(126, 164, 255, 0.92), rgba(107, 224, 255, 0.88));
}

.prototype-stage-board-teams {
  display: grid;
  grid-template-columns: repeat(2, 271px);
  gap: 17px;
  justify-content: start;
}

.prototype-stage-drawer-entry {
  align-content: center;
}

.prototype-stage-drawer-button {
  width: auto !important;
  min-width: 180px !important;
  padding-inline: 18px !important;
}

.prototype-stage-card-focus {
  align-content: start;
}

.prototype-stage-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.prototype-stage-card-head h3 {
  margin: 2px 0 0;
  color: #f6fcff;
  font-size: 28px;
  line-height: 1.15;
}

.prototype-stage-kicker {
  margin: 0;
  color: rgba(122, 210, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prototype-stage-stat-pills,
.prototype-stage-inline-tags,
.prototype-stage-team-meta,
.prototype-stage-summary-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.prototype-stage-pill,
.prototype-stage-inline-tags span,
.prototype-stage-team-meta span,
.prototype-stage-summary-strip article {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(118, 203, 235, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(221, 241, 246, 0.9);
  font-size: 13px;
}

.prototype-stage-focus-panel {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.prototype-stage-avatar {
  width: 112px;
  height: 112px;
  border-radius: 24px;
}

.prototype-stage-avatar-empty {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(219, 240, 247, 0.8);
  font-size: 44px;
  font-weight: 700;
}

.prototype-stage-focus-copy strong {
  display: block;
  color: #f5fbff;
  font-size: 24px;
  margin-bottom: 12px;
}

.prototype-stage-focus-copy p,
.prototype-stage-match-copy {
  margin: 0;
  color: rgba(192, 221, 229, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.prototype-stage-summary-strip article {
  display: grid;
  gap: 6px;
  min-width: 140px;
  border-radius: 18px;
}

.prototype-stage-summary-strip article strong {
  color: #f7fdff;
  font-size: 24px;
}

.prototype-stage-queue-list,
.prototype-stage-history-list,
.prototype-stage-pick-grid {
  display: grid;
  gap: 12px;
}

.prototype-stage-player-row,
.prototype-stage-history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(118, 203, 235, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.prototype-stage-player-row strong,
.prototype-stage-history-item strong,
.prototype-stage-pick-main strong,
.prototype-stage-team-head strong {
  color: #f7fdff;
}

.prototype-stage-player-row span,
.prototype-stage-history-item span,
.prototype-stage-pick-main span,
.prototype-stage-pick-main small,
.prototype-stage-team-member span {
  color: rgba(188, 219, 228, 0.76);
  font-size: 13px;
}

.prototype-stage-pick-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.prototype-stage-pick-summary em {
  font-style: normal;
}

.prototype-stage-history-index {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(114, 147, 255, 0.9), rgba(89, 181, 255, 0.86));
  color: #eff9ff !important;
  font-weight: 700;
}

.prototype-stage-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prototype-stage-team-grid-drawer {
  grid-template-columns: 1fr;
}

.prototype-stage-team-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(118, 203, 235, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.prototype-stage-team-card.is-highlight {
  border-color: rgba(115, 196, 255, 0.48);
  box-shadow: 0 0 0 1px rgba(115, 196, 255, 0.18);
}

.prototype-stage-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.prototype-stage-team-head span {
  color: rgba(115, 196, 255, 0.94);
  font-size: 14px;
  font-weight: 700;
}

.prototype-stage-team-members {
  display: grid;
  gap: 10px;
}

.prototype-stage-team-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.prototype-stage-team-member.is-captain {
  border: 1px solid rgba(111, 127, 255, 0.38);
  background: rgba(111, 127, 255, 0.12);
}

.prototype-stage-team-member.is-empty {
  border: 1px dashed rgba(171, 207, 216, 0.22);
  background: rgba(255, 255, 255, 0.02);
}

.prototype-stage-team-member strong {
  color: #f7fdff;
  font-size: 14px;
}

.prototype-stage-pick-option {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 20px;
}

.prototype-stage-pick-option input {
  display: none;
}

.prototype-stage-pick-option.is-selection-disabled {
  cursor: default;
}

.prototype-stage-pick-main {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(118, 203, 235, 0.12);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.prototype-stage-pick-option.selected .prototype-stage-pick-main {
  border-color: rgba(255, 210, 93, 0.95);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 210, 93, 0.28), transparent 42%),
    rgba(89, 181, 255, 0.16);
  box-shadow:
    0 0 0 3px rgba(255, 210, 93, 0.42),
    0 0 24px rgba(255, 210, 93, 0.38),
    0 16px 30px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px) scale(1.035);
}

.prototype-stage-pick-ribbon {
  position: absolute;
  top: 24px;
  right: -2px;
  z-index: 12;
  display: none;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 21px;
  border-radius: 999px 5px 5px 999px;
  color: #2b1800 !important;
  font-size: 11px !important;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
  background: linear-gradient(90deg, #fff0a6 0%, #ffd25b 48%, #ff9d35 100%);
  box-shadow:
    -4px 0 0 rgba(255, 247, 194, 0.96),
    0 8px 16px rgba(0, 0, 0, 0.32),
    0 0 16px rgba(255, 210, 93, 0.34);
}

.prototype-stage-pick-option.selected .prototype-stage-pick-ribbon {
  display: inline-flex;
}

.prototype-stage-pick-ribbon::before {
  content: "";
  position: absolute;
  left: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(97, 50, 0, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.prototype-stage-player-card {
  width: 125px;
  height: 130px;
  min-height: 130px;
  aspect-ratio: auto;
}

.prototype-stage-player-card .player-poster-art {
  min-height: 82px;
  height: 82px;
}

.prototype-stage-player-card .player-poster-avatar,
.prototype-stage-player-card .player-poster-avatar.image-avatar img {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px 16px 0 0;
}

.prototype-stage-player-card .player-poster-shade {
  inset: 0;
}

.prototype-stage-player-card-pos-capsule {
  position: absolute;
  top: 5px;
  left: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 24px;
  min-height: 22px;
  padding: 2px 4px;
  border-radius: 20px;
  background: rgba(5, 20, 28, 0.82);
  border: 1px solid rgba(115, 196, 255, 0.46);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  z-index: 4;
}

.prototype-stage-player-card-pos-icon {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.prototype-stage-player-card-pos-empty {
  color: rgba(210, 216, 217, 0.82);
  font-size: 11px;
}

.prototype-stage-player-card-caption {
  display: grid;
  gap: 6px;
  min-height: 48px;
  padding: 8px 8px 6px;
  background: linear-gradient(180deg, rgba(18, 30, 52, 0.76), rgba(20, 20, 28, 0.84));
  border-radius: 16px;
}

.prototype-stage-player-card-caption strong {
  text-align: center;
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prototype-stage-player-card-caption .prototype-stage-pick-summary {
  justify-content: center;
}

.prototype-stage-player-card-caption .prototype-stage-pick-summary em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.prototype-stage-player-card-caption .prototype-stage-pick-summary img {
  width: 12px;
  height: 12px;
}

.prototype-stage-player-card-caption .prototype-stage-pick-summary em {
  font-size: 11px;
}

.prototype-stage-team-panel {
  display: grid;
  gap: 8px;
  padding: 8px;
  width: 271px;
  height: 293px;
  border-radius: 16px;
  border: 1px solid rgba(73, 196, 255, 0.42);
  background: linear-gradient(180deg, rgba(11, 39, 59, 0.98), rgba(8, 28, 46, 0.98));
  box-sizing: border-box;
  align-content: start;
}

.prototype-stage-team-panel.is-active {
  border-color: rgba(255, 115, 115, 0.88);
  box-shadow: 0 0 0 2px rgba(255, 115, 115, 0.14);
}

.prototype-stage-team-panel.is-drag-over,
[data-draft-team-id].is-drag-over {
  border-color: rgba(255, 210, 93, 0.96);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 210, 93, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(18, 56, 72, 0.98), rgba(9, 35, 54, 0.98));
  box-shadow:
    0 0 0 3px rgba(255, 210, 93, 0.28),
    0 0 30px rgba(255, 210, 93, 0.24),
    0 18px 34px rgba(0, 0, 0, 0.3);
}

.prototype-stage-team-panel-head {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.prototype-stage-team-panel-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 28px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(88.13deg, rgba(114, 147, 255, 1) 5.19%, rgba(89, 181, 255, 1) 97.49%);
  color: rgba(210, 216, 217, 1);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.prototype-stage-team-panel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(210, 216, 217, 0.88);
  font-size: 12px;
  line-height: 1;
  padding: 0 4px;
}

.prototype-stage-team-panel-meta-icons,
.prototype-stage-team-member-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.prototype-stage-team-panel-pos-icon,
.prototype-stage-team-member-pos-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.prototype-stage-team-panel-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-weight: 700;
}

.prototype-stage-team-panel-flag {
  font-size: 12px;
  line-height: 1;
}

.prototype-stage-team-panel-dash {
  color: rgba(210, 216, 217, 0.5);
}

.prototype-stage-team-panel-body {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  width: 239px;
  height: 208px;
  overflow: hidden;
  align-content: stretch;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid rgba(73, 196, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8, 28, 46, 0.56), rgba(7, 23, 38, 0.66));
  justify-self: center;
}

.prototype-stage-team-member {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  align-content: center;
  min-height: 0;
  height: 100%;
  color: rgba(223, 230, 234, 0.92);
}

.prototype-stage-team-member strong {
  min-width: 0;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: center;
}

.prototype-stage-team-member-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(114, 147, 255, 0.34);
  align-self: center;
}

.prototype-stage-team-member-avatar-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(210, 216, 217, 0.5);
  font-size: 11px;
}

.prototype-stage-team-member-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  font-size: 11px;
  color: rgba(210, 216, 217, 0.82);
  line-height: 1;
  align-self: center;
}

.prototype-stage-team-member-power {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.prototype-stage-team-member-power img {
  width: 12px;
  height: 12px;
}

.prototype-stage-team-member.is-captain strong {
  color: rgba(255, 255, 255, 0.98);
}

.prototype-stage-team-member-empty {
  opacity: 0.74;
}

.prototype-stage-team-panel-body .prototype-stage-empty {
  margin: 0;
  align-self: center;
  text-align: center;
}

.prototype-stage-team-roster-row.is-captain {
  color: #f6fcff;
}

.prototype-stage-team-row-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
}

.prototype-stage-team-row-avatar-empty {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(188, 219, 228, 0.64);
  font-size: 13px;
  font-weight: 700;
}

.prototype-stage-team-row-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.prototype-stage-team-row-copy strong {
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prototype-stage-team-row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: rgba(192, 221, 229, 0.8);
  font-size: 12px;
}

.prototype-stage-team-row-meta em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  white-space: nowrap;
}

.prototype-stage-team-row-meta em img {
  width: 12px;
  height: 12px;
}

.prototype-stage-team-row-pos {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.prototype-stage-team-row-pos-icon {
  width: 12px;
  height: 12px;
}

.prototype-stage-team-row-empty {
  color: rgba(192, 221, 229, 0.56);
  font-size: 12px;
}

.prototype-stage-flow-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.prototype-stage-flow-brief article {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(118, 203, 235, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.prototype-stage-flow-brief article strong {
  color: rgba(122, 210, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.prototype-stage-flow-brief article span {
  color: #f5fbff;
  font-size: 16px;
  line-height: 1.35;
}

.prototype-stage-cta-row {
  display: flex;
  justify-content: flex-end;
}

.prototype-stage-empty {
  margin: 0;
  color: rgba(188, 219, 228, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.prototype-stage-drawer-entry,
.prototype-stage-team-drawer-panel,
.prototype-team-drawer-backdrop {
  display: none !important;
}

.prototype-team-hover-dock {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.prototype-team-hover-dock > * {
  pointer-events: auto;
}

.prototype-team-hover-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 68px;
  padding: 18px 14px;
  border: 1px solid rgba(115, 196, 255, 0.24);
  border-right: 0;
  margin-right: -1px;
  border-radius: 20px 0 0 20px;
  background:
    linear-gradient(180deg, rgba(17, 31, 54, 0.96), rgba(10, 18, 34, 0.94));
  box-shadow: 0 16px 40px rgba(3, 8, 19, 0.34);
  color: #eff6ff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.prototype-team-hover-button-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.prototype-team-hover-button-note {
  font-size: 11px;
  color: rgba(197, 222, 255, 0.74);
}

.prototype-team-hover-panel {
  position: absolute;
  top: 50%;
  right: 0;
  width: min(420px, calc(100dvw - 28px));
  max-height: min(78vh, 860px);
  padding: 22px;
  overflow: auto;
  border: 1px solid rgba(115, 196, 255, 0.16);
  border-right: 0;
  margin-right: -1px;
  border-radius: 28px 0 0 28px;
  background:
    linear-gradient(180deg, rgba(9, 17, 31, 0.98), rgba(14, 25, 44, 0.97));
  box-shadow: 0 28px 60px rgba(3, 8, 19, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(26px, -50%);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}

.prototype-team-hover-dock:hover .prototype-team-hover-panel,
.prototype-team-hover-dock:focus-within .prototype-team-hover-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.prototype-team-hover-panel-head {
  margin-bottom: 16px;
}

.prototype-team-hover-kicker {
  margin: 0 0 8px;
  color: rgba(115, 196, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prototype-team-hover-panel-head h3 {
  margin: 0;
  color: #f5fbff;
  font-size: 22px;
}

.prototype-team-hover-summary {
  margin: 10px 0 0;
  color: rgba(202, 224, 255, 0.78);
  line-height: 1.7;
  font-size: 13px;
}

.prototype-team-hover-panel-body,
.prototype-team-hover-grid {
  display: grid;
  gap: 14px;
}

.prototype-team-hover-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.prototype-team-hover-card.is-highlight {
  border-color: rgba(115, 196, 255, 0.3);
  box-shadow: inset 0 0 0 1px rgba(115, 196, 255, 0.14);
}

.prototype-team-hover-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.prototype-team-hover-card-head strong {
  display: block;
  color: #f8fdff;
  font-size: 18px;
}

.prototype-team-hover-card-head p {
  margin: 6px 0 0;
  color: rgba(188, 219, 228, 0.76);
  font-size: 13px;
}

.prototype-team-hover-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(115, 196, 255, 0.18);
  color: #8cdeff;
  font-size: 12px;
  font-weight: 700;
}

.prototype-team-hover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.prototype-team-hover-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(214, 231, 255, 0.84);
  font-size: 12px;
}

.prototype-team-hover-members {
  display: grid;
  gap: 10px;
}

.prototype-team-hover-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.prototype-team-hover-member.is-captain {
  border: 1px solid rgba(111, 127, 255, 0.38);
  background: rgba(111, 127, 255, 0.14);
}

.prototype-team-hover-member.is-empty {
  border: 1px dashed rgba(171, 207, 216, 0.24);
  background: rgba(255, 255, 255, 0.02);
}

.prototype-team-hover-member strong,
.prototype-team-hover-member em {
  color: #f7fdff;
  font-size: 14px;
  font-style: normal;
}

.prototype-team-hover-member span {
  display: block;
  margin-top: 4px;
  color: rgba(188, 219, 228, 0.72);
  font-size: 12px;
}

@media (max-width: 900px), (max-device-width: 900px) {
  .prototype-team-hover-dock {
    top: auto;
    right: 0;
    bottom: 18px;
    transform: none;
  }

  .prototype-team-hover-button {
    writing-mode: horizontal-tb;
    border-right: 0;
    margin-right: -1px;
    border-radius: 999px;
  }

  .prototype-team-hover-panel {
    top: auto;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(380px, calc(100dvw - 24px));
    max-height: 70vh;
    border-right: 0;
    margin-right: -1px;
    border-radius: 24px 0 0 24px;
    transform: translate(16px, 0);
  }

  .prototype-team-hover-dock:hover .prototype-team-hover-panel,
  .prototype-team-hover-dock:focus-within .prototype-team-hover-panel {
    transform: translate(0, 0);
  }
}

.prototype-event-detail-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 77px;
  margin: 0 auto;
  padding: 0 19px;
  border-radius: 20px;
  border: 1px solid rgba(62, 183, 247, 0.92);
  background: linear-gradient(90deg, rgba(20, 68, 78, 0.72), rgba(6, 19, 26, 0.34));
}

.prototype-event-detail-row.is-captain-selected {
  border-color: rgba(255, 210, 93, 0.92);
  background:
    linear-gradient(90deg, rgba(105, 83, 27, 0.54), rgba(6, 19, 26, 0.34));
  box-shadow:
    0 0 0 1px rgba(255, 210, 93, 0.3),
    0 10px 24px rgba(0, 0, 0, 0.16);
}

.prototype-signup-captain-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 210, 93, 0.24);
  background: linear-gradient(90deg, rgba(70, 52, 16, 0.42), rgba(10, 33, 42, 0.42));
}

.prototype-signup-captain-toolbar span {
  color: rgba(246, 231, 180, 0.92);
  font-size: 14px;
  line-height: 1.5;
}

:root[data-theme="dark"] .prototype-signup-captain-toolbar #assign-captains-button.secondary-button {
  color: #2c1900;
  border: 1px solid rgba(255, 226, 122, 0.58);
  background: linear-gradient(135deg, #ffe27a 0%, #ffb33d 100%);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 210, 93, 0.18);
}

:root[data-theme="dark"] .prototype-signup-captain-toolbar #assign-captains-button.secondary-button:hover {
  background: linear-gradient(135deg, #fff09d 0%, #ffc65a 100%);
  border-color: rgba(255, 235, 153, 0.78);
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 210, 93, 0.26);
}

:root[data-theme="dark"] .prototype-signup-captain-toolbar #assign-captains-button.secondary-button:disabled {
  color: rgba(232, 241, 255, 0.48);
  border-color: rgba(118, 150, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
  opacity: 1;
}

.prototype-event-slot-placeholders {
  display: grid;
  gap: 14px;
  justify-content: start;
  padding-left: 12px;
}

.prototype-leaderboard {
  width: 1337px;
  max-width: 100%;
  min-height: 593px;
  padding: 45px 19px 28px;
  border-radius: 20px;
  background: linear-gradient(90.23deg, rgba(13, 41, 46, 1) 0.56%, rgba(17, 59, 67, 1) 38.61%, rgba(56, 66, 66, 0) 99.66%);
  line-height: 20px;
  color: rgba(16, 16, 16, 1);
  font-size: 14px;
  text-align: center;
  font-family: PingFangSC-regular, "PingFang SC", "Noto Sans SC", sans-serif;
  border: 0;
}

.prototype-leaderboard-rows {
  min-height: 77px;
}

.prototype-home-leaderboard-sentinel {
  width: 1299px;
  max-width: 100%;
  min-height: 58px;
  margin: 0 auto;
}

.prototype-leaderboard-head,
.prototype-leaderboard-row,
.prototype-roster-row {
  align-items: center;
}

.prototype-leaderboard-head {
  display: block;
  width: 1299px;
  max-width: 100%;
  margin: 0 auto 25px;
  padding: 0;
}

.prototype-leaderboard-sort-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 449px;
  margin-right: 325px;
}

.prototype-sort-button {
  border: 0;
  background: transparent;
  color: rgba(226, 236, 241, 0.86);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 56px;
  padding: 0 6px 8px;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  flex: 0 0 auto;
}

.prototype-sort-button span {
  display: none;
}

.prototype-sort-button.is-active {
  color: #55d08a;
}

.prototype-sort-button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 92px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #55d08a;
}

.prototype-leaderboard-row,
.prototype-roster-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 1299px;
  max-width: 100%;
  height: 77px;
  margin: 0 auto 16px;
  padding: 0 19px;
  border-radius: 20px;
  border: 1px solid rgba(62, 183, 247, 0.92);
  background: linear-gradient(90deg, rgba(20, 68, 78, 0.72), rgba(6, 19, 26, 0.34));
}

.prototype-leaderboard-row-girl {
  border-color: rgba(255, 105, 180, 0.88);
  box-shadow:
    0 0 0 1px rgba(255, 105, 180, 0.62),
    0 0 14px rgba(255, 105, 180, 0.44),
    0 0 30px rgba(255, 105, 180, 0.26);
}

.prototype-leaderboard-row-empty {
  width: 1299px;
  max-width: 100%;
  min-height: 60px;
  border: 0;
  background: transparent;
  margin-bottom: 10px;
  padding: 0;
  grid-template-columns: 180px 1fr;
  gap: 0;
}

.prototype-rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 50px;
  border-radius: 25px;
  background: linear-gradient(88.13deg, rgba(114, 147, 255, 1) 5.19%, rgba(89, 181, 255, 1) 97.49%);
  color: #eff9ff;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.prototype-rank-pill.is-captain,
.prototype-captain-toggle.is-selected {
  background: linear-gradient(88.13deg, rgba(255, 210, 93, 1) 5.19%, rgba(255, 143, 69, 1) 97.49%);
  color: #231400;
  box-shadow: 0 0 0 3px rgba(255, 210, 93, 0.16);
}

.prototype-captain-toggle {
  border: 0;
  cursor: pointer;
  box-shadow: none;
  transition:
    transform 140ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.prototype-captain-toggle:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.08);
  box-shadow:
    0 0 0 3px rgba(255, 210, 93, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.prototype-row-rank-slot {
  width: 216px;
  min-width: 216px;
  display: flex;
  align-items: center;
}

.prototype-row-avatar-slot {
  width: 65px;
  min-width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -24px;
}

.prototype-row-avatar {
  width: 65px;
  height: 65px;
}

.prototype-row-name {
  width: 176px;
  min-width: 176px;
  max-width: 176px;
  display: block;
  color: #f8fdff;
  font-size: 20px;
  line-height: 1.1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
  font-weight: 800;
  margin-right: 10px;
}

.prototype-row-power {
  min-width: 84px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(222, 235, 240, 0.92);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-align: left;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
  font-weight: 800;
}

.prototype-row-power img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.prototype-row-mmr,
.prototype-row-trophy,
.prototype-row-crown {
  min-width: 88px;
  color: rgba(222, 235, 240, 0.92);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-align: left;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
  font-weight: 800;
}

.prototype-row-mmr {
  min-width: 106px;
  font-size: 13px;
  text-align: left;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
  font-weight: 800;
}

.prototype-row-rank-badge {
  min-width: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.prototype-row-rank-badge .champion-member-rank {
  margin-left: 0;
}

.prototype-row-pos-capsule {
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  flex: 0 0 auto;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 0 8px;
  border-radius: 15px;
  border: 1px solid rgba(62, 183, 247, 0.92);
  background: rgba(8, 26, 34, 0.55);
  white-space: nowrap;
  overflow: hidden;
  margin-right: 6px;
}

.prototype-row-pos-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.prototype-row-pos-empty {
  color: rgba(212, 241, 255, 0.7);
  font-size: 20px;
}

.prototype-row-tail {
  margin-left: auto;
  width: 186px;
  min-width: 186px;
  max-width: 186px;
  flex: 0 0 186px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow: hidden;
}

.prototype-row-hero-pair {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.prototype-row-hero-pair .hero-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.prototype-row-tail {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.prototype-row-empty-fill {
  display: block;
}

.prototype-champion-copy strong,
.prototype-team-head strong {
  color: #f8fdff;
  font-size: 42px;
}

.prototype-player-cell small,
.prototype-table-empty,
.prototype-strip-empty,
.prototype-summary-metrics span,
.prototype-team-member span,
.prototype-team-head span {
  color: rgba(212, 241, 255, 0.72);
}

.prototype-hero-row .hero-icon {
  width: 36px;
  height: 36px;
}

.prototype-event-detail-banner {
  padding: 28px;
  margin-bottom: 18px;
}

.prototype-home-feature-block,
.prototype-home-board-block {
  background:
    linear-gradient(180deg, rgba(6, 20, 28, 0.96), rgba(5, 16, 22, 0.98));
}

.prototype-home-feature-block {
  width: min(1337px, calc(100% - 90px));
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.prototype-home-feature-title {
  position: relative;
  width: min(1337px, calc(100% - 90px));
  margin: 0 auto 18px;
  padding-left: 0;
  z-index: 2;
}

.prototype-home-feature-title::before {
  content: none;
}

.prototype-home-feature-title h2 {
  margin: 0;
  line-height: 46px;
  color: #d8dfe3;
  font-size: 36px;
  font-weight: 700;
  text-align: left;
  font-family: PingFangSC-regular, "PingFang SC", "Noto Sans SC", sans-serif;
}

.prototype-home-feature-frame {
  width: 1337px;
  max-width: 100%;
  height: 291px;
  margin: 0 auto;
  padding: 30px 21.5px;
  border-radius: 20px;
  line-height: 20px;
  color: rgba(16, 16, 16, 1);
  font-size: 14px;
  text-align: center;
  font-family: PingFangSC-regular, "PingFang SC", "Noto Sans SC", sans-serif;
  background: linear-gradient(90.23deg, rgba(13, 41, 46, 1) 0.56%, rgba(17, 59, 67, 1) 38.61%, rgba(56, 66, 66, 0) 99.66%);
}

.prototype-home-board-title {
  width: min(1337px, calc(100% - 90px));
  margin: 7px auto 30px;
}

.prototype-home-board-title h2 {
  width: 142px;
  min-height: 50px;
  margin: 0;
  color: #d8dfe3;
  font-size: 36px;
  line-height: 50px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
}

.prototype-home-board-block {
  border: 0 !important;
  border-color: transparent;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: min(1337px, calc(100% - 90px));
  margin: 0 auto;
  overflow: visible;
}

.prototype-home-feature-block .prototype-event-banner-card {
  width: 1294px;
  max-width: 100%;
  min-height: 230px;
  height: 230px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(229, 229, 229, 1);
  overflow: hidden;
}

.prototype-home-feature-block .prototype-event-banner-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(18, 52, 59, 0.82), rgba(18, 52, 59, 0.28)),
    url("/assets/featured-event-bg.jpg") center/cover no-repeat;
}

.prototype-home-feature-block .prototype-event-banner-copy {
  position: absolute;
  left: 22px;
  top: 28px;
  width: 966px;
  text-align: left;
}

.prototype-home-feature-block .prototype-event-banner-copy h3 {
  margin: 0;
  color: #e3e8e7;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.prototype-home-feature-block .prototype-event-signup-count {
  position: absolute;
  left: 33px;
  bottom: 22px;
  margin: 0;
  color: rgba(227, 232, 231, 0.95);
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
}

.prototype-home-feature-block .prototype-event-banner-actions {
  position: absolute;
  right: 31px;
  bottom: 14px;
  margin: 0;
}

.prototype-home-feature-block .prototype-event-banner-actions button {
  width: 147px;
  min-width: 147px;
  height: 43px;
  border-radius: 20px;
  border: 0;
  background: linear-gradient(88.13deg, rgba(114, 147, 255, 1) 5.19%, rgba(89, 181, 255, 1) 97.49%) !important;
  color: rgba(210, 216, 217, 1) !important;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  font-family: "AlibabaPuHui", "AlibabaPuHuiTi", "PingFang SC", "Noto Sans SC", sans-serif;
  padding: 0;
  box-shadow: none;
}

.prototype-home-feature-block .prototype-event-banner-actions button:hover,
.prototype-home-feature-block .prototype-event-banner-actions button:focus-visible,
.prototype-home-feature-block .prototype-event-banner-actions button:active {
  background: linear-gradient(88.13deg, rgba(114, 147, 255, 1) 5.19%, rgba(89, 181, 255, 1) 97.49%) !important;
  color: rgba(210, 216, 217, 1) !important;
}

.prototype-home-section-title h2 {
  width: 142px;
  min-height: 50px;
  margin: 0;
  color: #d8dfe3;
  font-size: 50px;
  line-height: 50px;
  font-weight: 700;
  text-align: left;
}

.prototype-champion-copy {
  text-align: center;
}

.prototype-champion-name-row strong {
  font-size: 12px;
}

.prototype-event-detail-copy h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.prototype-event-stats-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.prototype-roster-list {
  display: grid;
}

.prototype-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.prototype-captain-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.prototype-captain-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
}

.prototype-captain-card small {
  color: rgba(212, 241, 255, 0.72);
}

.prototype-team-card {
  padding: 18px;
  border-radius: 20px;
}

.prototype-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.prototype-team-members {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prototype-team-member {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prototype-tournament-summary {
  padding: 18px;
  border-radius: 20px;
}

.prototype-summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.prototype-summary-metrics article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(120, 204, 255, 0.08);
}

.prototype-summary-metrics strong {
  font-size: 22px;
  color: #f8fdff;
}

.prototype-player-filters-block {
  margin-bottom: 18px;
}

.prototype-filter-row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 14px;
}

.prototype-filter-row label {
  display: grid;
  gap: 8px;
  color: rgba(212, 241, 255, 0.82);
}

.prototype-filter-row input,
.prototype-filter-row select {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(118, 203, 235, 0.18);
  background: rgba(6, 20, 28, 0.66);
  color: #effbff;
  padding: 0 14px;
}

.prototype-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 211px);
  justify-content: center;
  gap: 18px;
}

.player-directory-sentinel {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212, 241, 255, 0.56);
}

.player-directory-status {
  font-size: 13px;
}

.player-directory-status.is-error {
  color: #ffb3b3;
}

.prototype-player-grid .prototype-player-poster-card {
  position: relative;
  top: auto;
  left: auto;
  width: 211px;
  min-height: 0;
  height: 211px;
  aspect-ratio: 1 / 1;
  opacity: 1;
  transform:
    perspective(900px)
    rotateX(var(--holo-rotate-x, 0deg))
    rotateY(var(--holo-rotate-y, 0deg))
    translateY(0);
  translate: 0 0;
  will-change: transform, box-shadow;
  transform-style: preserve-3d;
  transition:
    transform 140ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    filter 180ms ease;
}

.prototype-player-grid .prototype-player-poster-card.is-player-card-visible {
  animation: prototypePlayerCardDropIn 760ms cubic-bezier(.44,.02,.65,1.3) both;
  animation-delay: calc(var(--player-grid-reveal-order, 0) * 34ms + var(--player-grid-jitter, 0ms));
}

.prototype-player-grid .prototype-player-poster-card.is-player-card-visible.is-player-card-reveal-skipped {
  animation: none;
}

.prototype-player-grid .prototype-player-poster-card:hover {
  transform:
    perspective(900px)
    rotateX(var(--holo-rotate-x, 0deg))
    rotateY(var(--holo-rotate-y, 0deg))
    translateY(-4px);
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl {
  border-color: rgba(255, 118, 190, 0.84) !important;
  box-shadow:
    0 22px 42px rgba(255, 55, 160, 0.34),
    0 0 0 2px rgba(255, 225, 244, 0.5),
    0 0 28px rgba(255, 56, 166, 0.48),
    0 0 58px rgba(255, 105, 180, 0.26),
    inset 0 0 0 1px rgba(255, 246, 252, 0.34);
  filter: saturate(1.2) brightness(1.04);
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl.is-player-card-visible {
  animation:
    prototypePlayerCardDropIn 760ms cubic-bezier(.44,.02,.65,1.3) both,
    prototypeGirlCardPulse 2.4s ease-in-out infinite;
  animation-delay:
    calc(var(--player-grid-reveal-order, 0) * 34ms + var(--player-grid-jitter, 0ms)),
    calc(var(--player-grid-reveal-order, 0) * 34ms + var(--player-grid-jitter, 0ms) + 760ms);
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl.is-player-card-visible.is-player-card-reveal-skipped {
  animation: prototypeGirlCardPulse 2.4s ease-in-out infinite;
  animation-delay: 0s;
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl .player-poster-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 84, 179, 0.42), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(255, 240, 248, 0.5), transparent 20%),
    radial-gradient(circle at 18% 82%, rgba(255, 65, 168, 0.32), transparent 30%);
  mix-blend-mode: screen;
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl .player-poster-art::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 1;
  pointer-events: none;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(255, 255, 255, 0.72) 32deg,
      rgba(255, 77, 184, 0.78) 58deg,
      transparent 86deg,
      transparent 360deg
    );
  mix-blend-mode: screen;
  opacity: 0.74;
  animation: prototypeGirlCardSweep 3.2s linear infinite;
  animation-delay: calc(var(--player-grid-reveal-order, 0) * 34ms + var(--player-grid-jitter, 0ms) + 760ms);
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl::before {
  opacity: 0.72;
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl::after {
  opacity: 0.55;
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl .champion-member-positions {
  background: rgba(80, 36, 66, 0.82);
  border-color: rgba(255, 190, 226, 0.44);
  box-shadow:
    0 12px 24px rgba(255, 93, 174, 0.16),
    inset 0 0 0 1px rgba(255, 238, 248, 0.1);
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl .champion-poster-caption {
  border-color: rgba(255, 190, 226, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 235, 246, 0.08),
    0 10px 24px rgba(255, 93, 174, 0.12);
}

.prototype-player-grid .prototype-player-poster-card.player-card-girl:hover {
  box-shadow:
    0 26px 52px rgba(255, 55, 160, 0.4),
    0 0 0 2px rgba(255, 235, 248, 0.62),
    0 0 38px rgba(255, 56, 166, 0.56),
    0 0 76px rgba(255, 105, 180, 0.34),
    inset 0 0 0 1px rgba(255, 246, 252, 0.42);
}

@keyframes prototypeGirlCardPulse {
  0%,
  100% {
    border-color: rgba(255, 118, 190, 0.78);
  }
  50% {
    border-color: rgba(255, 238, 248, 0.96);
  }
}

@keyframes prototypeGirlCardSweep {
  to {
    transform: rotate(360deg);
  }
}

.prototype-player-grid .prototype-player-poster-card.player-holo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 20px;
  opacity: 0;
  background:
    radial-gradient(
      circle at var(--holo-pointer-x, 50%) var(--holo-pointer-y, 50%),
      rgba(255, 255, 255, 0.52) 0%,
      rgba(255, 255, 255, 0.22) 12%,
      rgba(147, 229, 255, 0.12) 24%,
      transparent 42%
    ),
    linear-gradient(
      115deg,
      transparent 8%,
      rgba(255, 255, 255, 0.72) var(--holo-sweep, 50%),
      rgba(91, 232, 255, 0.26) calc(var(--holo-sweep, 50%) + 10%),
      rgba(255, 84, 179, 0.22) calc(var(--holo-sweep, 50%) + 18%),
      rgba(123, 117, 255, 0.22) calc(var(--holo-sweep, 50%) + 30%),
      transparent calc(var(--holo-sweep, 50%) + 44%)
    );
  mix-blend-mode: screen;
  transition: opacity 140ms ease;
}

.prototype-player-grid .prototype-player-poster-card.player-holo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 20px;
  opacity: 0;
  background:
    conic-gradient(
      from 160deg at var(--holo-pointer-x, 50%) var(--holo-pointer-y, 50%),
      rgba(120, 247, 255, 0.3),
      rgba(255, 97, 182, 0.22),
      rgba(112, 114, 255, 0.26),
      rgba(255, 209, 102, 0.22),
      rgba(120, 247, 255, 0.3)
    );
  mix-blend-mode: color-dodge;
  filter: saturate(1.15) blur(10px);
  transition: opacity 140ms ease;
}

.prototype-player-grid .prototype-player-poster-card.player-holo-card.is-holo-active::before,
.prototype-player-grid .prototype-player-poster-card.player-holo-card.is-holo-active::after,
.prototype-player-grid .prototype-player-poster-card.player-holo-card:hover::before,
.prototype-player-grid .prototype-player-poster-card.player-holo-card:hover::after {
  opacity: 1;
}

.prototype-player-grid .prototype-player-poster-card.player-holo-card .player-poster-art,
.prototype-player-grid .prototype-player-poster-card.player-holo-card .player-poster-shade,
.prototype-player-grid .prototype-player-poster-card.player-holo-card .champion-poster-caption,
.prototype-player-grid .prototype-player-poster-card.player-holo-card .champion-member-positions {
  transform: translateZ(0);
}

.prototype-player-grid .prototype-player-poster-card.player-holo-card .champion-poster-caption,
.prototype-player-grid .prototype-player-poster-card.player-holo-card .champion-member-positions {
  z-index: 2;
}

.prototype-player-grid .prototype-player-poster-card.player-holo-card .player-poster-shade {
  background:
    linear-gradient(180deg, rgba(10, 16, 30, 0.04) 0%, rgba(10, 16, 30, 0.08) 32%, rgba(10, 16, 30, 0.7) 100%),
    radial-gradient(circle at var(--holo-pointer-x, 50%) 18%, rgba(255, 255, 255, 0.2), transparent 28%);
}

.prototype-player-grid .prototype-player-poster-card::after,
.prototype-player-grid .prototype-player-poster-card .player-poster-art,
.prototype-player-grid .prototype-player-poster-card .player-poster-shade,
.prototype-player-grid .prototype-player-poster-card .player-poster-avatar,
.prototype-player-grid .prototype-player-poster-card .player-poster-avatar.image-avatar img,
.prototype-player-grid .prototype-player-poster-card .champion-poster-caption {
  border-radius: 20px;
}

@keyframes prototypePlayerCardDropIn {
  0% {
    opacity: 0;
    transform:
      perspective(900px)
      translateY(calc(var(--player-grid-lift, 32px) * -3.8))
      scaleY(0.82)
      scaleX(1.06)
      rotateZ(var(--player-grid-tilt, 0deg));
    filter: saturate(0.82) blur(8px);
  }
  38% {
    opacity: 1;
    transform:
      perspective(900px)
      translateY(calc(var(--player-grid-lift, 32px) * -1))
      scaleY(0.92)
      scaleX(1.02)
      rotateZ(calc(var(--player-grid-tilt, 0deg) * 0.35));
    filter: saturate(0.94) blur(2px);
  }
  62% {
    opacity: 1;
    transform:
      perspective(900px)
      translateY(calc(var(--player-grid-lift, 32px) * 0.42))
      scaleY(1.04)
      scaleX(0.98)
      rotateZ(calc(var(--player-grid-tilt, 0deg) * -0.14));
    filter: saturate(1) blur(0);
  }
  78% {
    opacity: 1;
    transform:
      perspective(900px)
      translateY(calc(var(--player-grid-lift, 32px) * -0.12))
      scaleY(0.985)
      scaleX(1.01)
      rotateZ(calc(var(--player-grid-tilt, 0deg) * 0.05));
    filter: saturate(1) blur(0);
  }
  100% {
    opacity: 1;
    transform:
      perspective(900px)
      rotateX(var(--holo-rotate-x, 0deg))
      rotateY(var(--holo-rotate-y, 0deg))
      translateY(0);
    filter: saturate(1) blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .prototype-player-grid .prototype-player-poster-card {
    transform: none !important;
    animation: none !important;
    transition: box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease !important;
  }

  .prototype-player-grid .prototype-player-poster-card:hover {
    transform: translateY(-4px) !important;
  }

  .prototype-player-grid .prototype-player-poster-card.player-card-girl {
    animation: none !important;
  }

  .prototype-player-grid .prototype-player-poster-card.player-card-girl .player-poster-art::before {
    animation: none !important;
  }
}

.prototype-player-card {
  padding: 18px;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.prototype-player-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.prototype-player-card-avatar {
  width: 58px;
  height: 58px;
  font-size: 20px;
}

.prototype-player-card-top p,
.prototype-player-card-intro {
  margin: 0;
  color: rgba(212, 241, 255, 0.72);
}

.prototype-player-card-metrics,
.prototype-player-card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.prototype-player-card-metrics span,
.prototype-player-card-meta > span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(125, 204, 255, 0.08);
  color: #dff8ff;
  font-size: 13px;
}

.prototype-player-card-metrics .prototype-player-rank-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

.prototype-player-rank-chip .champion-member-rank {
  margin-left: 0;
}

.champion-member-rank.rank-badge-row {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.champion-member-rank.rank-badge-row .champion-member-rank-emblem {
  width: 34px;
  height: 34px;
}

.champion-member-rank.rank-badge-row .champion-member-rank-fallback {
  font-size: 15px;
}

.champion-member-rank.rank-badge-row .champion-member-rank-star {
  width: 6px;
  height: 6px;
}

.champion-member-rank.rank-badge-row .champion-member-rank-leaderboard {
  bottom: 2px;
  font-size: 7px;
}

.champion-member-rank.rank-badge-row .champion-member-rank-unranked {
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.champion-member-rank.rank-badge-card {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.champion-member-rank.rank-badge-card .champion-member-rank-emblem {
  width: 32px;
  height: 32px;
}

.champion-member-rank.rank-badge-card .champion-member-rank-fallback {
  font-size: 14px;
}

.champion-member-rank.rank-badge-card .champion-member-rank-star {
  width: 5px;
  height: 5px;
}

.champion-member-rank.rank-badge-card .champion-member-rank-leaderboard {
  bottom: 2px;
  font-size: 7px;
}

.champion-member-rank.rank-badge-card .champion-member-rank-unranked {
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.champion-member-rank.rank-badge-profile {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.champion-member-rank.rank-badge-profile .champion-member-rank-emblem {
  width: 36px;
  height: 36px;
}

.champion-member-rank.rank-badge-profile .champion-member-rank-fallback {
  font-size: 16px;
}

.champion-member-rank.rank-badge-profile .champion-member-rank-star {
  width: 6px;
  height: 6px;
}

.champion-member-rank.rank-badge-profile .champion-member-rank-leaderboard {
  bottom: 2px;
  font-size: 7px;
}

.champion-member-rank.rank-badge-profile .champion-member-rank-unranked {
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.champion-member-rank.rank-badge-inline {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.champion-member-rank.rank-badge-inline .champion-member-rank-emblem {
  width: 28px;
  height: 28px;
}

.champion-member-rank.rank-badge-inline .champion-member-rank-fallback {
  font-size: 13px;
}

.champion-member-rank.rank-badge-inline .champion-member-rank-star {
  width: 5px;
  height: 5px;
}

.champion-member-rank.rank-badge-inline .champion-member-rank-leaderboard {
  bottom: 2px;
  font-size: 6px;
}

.champion-member-rank.rank-badge-inline .champion-member-rank-unranked {
  width: 16px;
  height: 16px;
  font-size: 9px;
}

@media (max-width: 1200px), (max-device-width: 1200px) {
  .prototype-home-hero-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .prototype-home-stage-wrap {
    min-height: 360px;
    padding-top: 12px;
  }

  .prototype-home-stage-particles::before {
    width: min(72vw, 420px);
    height: min(72vw, 420px);
  }

  .prototype-home-stage-particles::after {
    width: min(96vw, 620px);
    height: min(96vw, 620px);
  }

  .prototype-home-stage-wrap .hero-champion-stage,
  .prototype-home-stage-wrap .champion-lineup {
    min-height: 334px;
  }

  .prototype-home-stage-wrap .champion-member-card {
    width: 152px;
    min-height: 224px;
    height: 224px;
  }

  .prototype-home-stage-wrap .champion-member-card.is-front {
    transform:
      translate3d(-50%, 8px, 0)
      perspective(900px)
      rotateX(var(--champion-holo-rotate-x, 0deg))
      rotateY(var(--champion-holo-rotate-y, 0deg))
      rotate(0deg)
      scale(0.96);
  }

  .prototype-home-stage-wrap .champion-member-card.is-right {
    transform: translate3d(calc(-50% + 128px), 28px, -6px) rotate(11deg) scale(0.82);
  }

  .prototype-home-stage-wrap .champion-member-card.is-left {
    transform: translate3d(calc(-50% - 128px), 18px, -6px) rotate(-10deg) scale(0.82);
  }

  .prototype-home-stage-wrap .champion-member-card.is-right-back {
    transform: translate3d(calc(-50% + 202px), 94px, -16px) rotate(16deg) scale(0.67);
  }

  .prototype-home-stage-wrap .champion-member-card.is-left-back {
    transform: translate3d(calc(-50% - 198px), 98px, -16px) rotate(-18deg) scale(0.66);
  }

  .prototype-home-info-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prototype-home-info-card {
    min-height: 220px;
  }

  .prototype-home-stage-wrap .champion-member-card {
    left: 50%;
  }

  .prototype-champion-strip,
  .prototype-team-grid,
  .prototype-player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prototype-leaderboard-head,
  .prototype-leaderboard-row,
  .prototype-roster-row {
    grid-template-columns: 92px minmax(0, 1.3fr) 100px 100px 90px;
  }

  .prototype-home-feature-title h2 {
    font-size: 36px;
    line-height: 1.1;
  }

  .prototype-home-feature-frame {
    height: auto;
    padding: 20px 14px;
  }

  .prototype-home-feature-block .prototype-event-banner-card {
    min-height: 200px;
    height: 200px;
  }

  .prototype-home-feature-block .prototype-event-banner-copy {
    left: 18px;
    top: 20px;
    width: calc(100% - 240px);
  }

  .prototype-home-feature-block .prototype-event-banner-copy h3 {
    font-size: 30px;
  }

  .prototype-home-feature-block .prototype-event-signup-count {
    left: 18px;
    bottom: 16px;
    font-size: 32px;
  }

  .prototype-home-feature-block .prototype-event-banner-actions {
    right: 18px;
    bottom: 14px;
  }

  .prototype-home-feature-block .prototype-event-banner-actions button {
    min-width: 140px;
    height: 48px;
    font-size: 24px;
    padding: 0 16px;
  }
}

@media (max-width: 720px), (max-device-width: 720px) {
  .prototype-hero-shell {
    padding: 14px 10px 16px;
  }

  .prototype-home-stage-wrap {
    min-height: 288px;
    padding: 12px 0 4px;
    border-radius: 22px;
  }

  .prototype-home-stage-wrap::before {
    inset: 6px 8px 34px;
  }

  .prototype-home-stage-particles::before,
  .prototype-home-stage-particles::after {
    top: 43%;
  }

  .prototype-home-stage-particles::before {
    width: min(84vw, 320px);
    height: min(84vw, 320px);
  }

  .prototype-home-stage-particles::after {
    width: min(120vw, 520px);
    height: min(120vw, 520px);
  }

  .prototype-home-stage-wrap .hero-champion-stage,
  .prototype-home-stage-wrap .champion-lineup {
    min-height: 260px;
  }

  .prototype-home-stage-wrap .champion-member-card {
    top: 34px;
    width: 132px;
    min-height: 198px;
    height: 198px;
    border-radius: 20px;
    clip-path: inset(0 round 20px);
  }

  .prototype-home-stage-wrap .champion-member-card::after,
  .prototype-home-stage-wrap .champion-member-card .player-poster-art,
  .prototype-home-stage-wrap .champion-member-card .player-poster-shade,
  .prototype-home-stage-wrap .champion-member-card .player-poster-avatar,
  .prototype-home-stage-wrap .champion-member-card .player-poster-avatar.image-avatar img,
  .prototype-home-stage-wrap .champion-poster-caption {
    border-radius: 20px;
  }

  .prototype-home-stage-wrap .champion-member-card.is-front {
    transform:
      translate3d(-50%, 10px, 0)
      perspective(900px)
      rotateX(var(--champion-holo-rotate-x, 0deg))
      rotateY(var(--champion-holo-rotate-y, 0deg))
      rotate(0deg)
      scale(0.96);
  }

  .prototype-home-stage-wrap .champion-member-card.is-right {
    transform: translate3d(calc(-50% + 92px), 40px, -6px) rotate(10deg) scale(0.78);
  }

  .prototype-home-stage-wrap .champion-member-card.is-left {
    transform: translate3d(calc(-50% - 94px), 34px, -6px) rotate(-9deg) scale(0.78);
  }

  .prototype-home-stage-wrap .champion-member-card.is-right-back,
  .prototype-home-stage-wrap .champion-member-card.is-left-back {
    opacity: 0.34;
  }

  .prototype-home-stage-wrap .champion-member-card.is-right-back {
    transform: translate3d(calc(-50% + 142px), 82px, -14px) rotate(14deg) scale(0.6);
  }

  .prototype-home-stage-wrap .champion-member-card.is-left-back {
    transform: translate3d(calc(-50% - 142px), 86px, -14px) rotate(-16deg) scale(0.6);
  }

  .prototype-home-stage-wrap .champion-poster-caption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 9px 9px 8px;
  }

  .prototype-home-info-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .prototype-home-info-tab {
    min-height: 38px;
    font-size: 13px;
  }

  .prototype-home-info-card h3 {
    font-size: 22px;
  }

  .prototype-home-info-card {
    min-height: 190px;
    padding: 12px;
  }

  .prototype-home-info-content p {
    font-size: 14px;
    line-height: 1.55;
  }

  .prototype-kicker {
    min-height: 36px;
    line-height: 36px;
    gap: 8px;
    font-size: 24px;
  }

  .prototype-kicker-icon {
    font-size: 22px;
  }

  .page-shell-home {
    padding-top: 6px;
  }

  .page-nav-home-refresh {
    display: grid;
    grid-template-columns: none;
    width: min(100dvw - 24px, 100%);
    min-height: 0;
    gap: 10px;
    padding: 12px;
    border-radius: 20px;
  }

  .page-nav-home-refresh .page-nav-main {
    display: grid;
    gap: 10px;
    width: 100%;
  }

  .page-nav-home-refresh .page-nav-brand strong {
    font-size: 22px;
    line-height: 1.2;
  }

  .page-nav-home-refresh .page-nav-brand span {
    font-size: 13px;
    line-height: 1.2;
  }

  .page-nav-home-refresh .page-nav-brand {
    gap: 10px;
  }

  .page-nav-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .page-nav-brand-copy {
    gap: 10px;
  }

  .page-nav-home-refresh .page-nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    min-height: auto;
  }

  .page-nav-home-refresh .page-nav-link {
    min-width: 0;
    min-height: 42px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(5, 22, 30, 0.38);
    border: 1px solid rgba(130, 208, 241, 0.14);
    font-size: 16px;
    line-height: 1;
  }

  .page-nav-home-refresh .page-nav-link::after {
    bottom: 5px;
    height: 2px;
  }

  .page-nav-home-refresh .nav-auth,
  .page-nav-home-refresh .nav-auth-logged {
    width: 100%;
    justify-content: stretch;
  }

  .page-nav-home-refresh .nav-auth-entry-row,
  .page-nav-home-refresh .nav-auth {
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  .page-nav-home-refresh .nav-auth .secondary-button,
  .page-nav-home-refresh .nav-auth-entry-row .secondary-button:not(.nav-profile-avatar-btn) {
    flex: 1 1 0;
    min-height: 42px;
    padding: 0 12px;
    font-size: 16px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .prototype-home-feature-block {
    width: min(100dvw - 24px, 100%);
  }

  .prototype-home-feature-title {
    margin-bottom: 12px;
  }

  .prototype-home-feature-title::before {
    content: none;
  }

  .prototype-home-feature-title h2 {
    font-size: 36px;
  }

  .prototype-home-feature-frame {
    padding: 10px;
  }

  .prototype-home-feature-block .prototype-event-banner-card {
    min-height: 176px;
    height: 176px;
  }

  .prototype-home-feature-block .prototype-event-banner-copy {
    left: 12px;
    top: 14px;
    width: calc(100% - 164px);
  }

  .prototype-home-feature-block .prototype-event-banner-copy h3 {
    font-size: 22px;
  }

  .prototype-home-feature-block .prototype-event-signup-count {
    left: 12px;
    bottom: 12px;
    font-size: 22px;
  }

  .prototype-home-feature-block .prototype-event-banner-actions {
    right: 12px;
    bottom: 10px;
  }

  .prototype-home-feature-block .prototype-event-banner-actions button {
    min-width: 110px;
    height: 40px;
    font-size: 18px;
    border-radius: 22px;
    padding: 0 12px;
  }

  .global-toolbar {
    position: static !important;
    width: min(100dvw - 24px, 100%) !important;
    margin: 0 auto 8px;
    gap: 8px;
    transform: none;
  }

  .prototype-home-page,
  .prototype-events-page,
  .prototype-event-detail-page,
  .prototype-players-page,
  .prototype-stories-page {
    width: min(100dvw - 24px, 100%);
  }

  .prototype-home-page {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .prototype-home-page > *,
  .prototype-home-hero-main,
  .prototype-home-hero-main > *,
  .prototype-hero-shell,
  .prototype-home-feature-title,
  .prototype-home-feature-block,
  .prototype-home-board-title,
  .prototype-home-board-block,
  .prototype-leaderboard,
  .prototype-home-info-panel,
  .prototype-home-info-tabs,
  .prototype-home-info-card,
  .prototype-home-stage-wrap,
  .hero-champion-stage,
  .champion-lineup {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .prototype-home-board-title,
  .prototype-home-feature-title,
  .prototype-home-board-block,
  .prototype-home-feature-block {
    margin-left: 0;
    margin-right: 0;
  }

  .prototype-champion-strip,
  .prototype-team-grid,
  .prototype-summary-metrics,
  .prototype-filter-row {
    grid-template-columns: 1fr;
  }

  .prototype-player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 10px;
  }

  .prototype-player-grid .prototype-player-poster-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.16;
    border-radius: 14px;
    clip-path: inset(0 round 14px);
    animation: none;
  }

  .prototype-events-page .prototype-page-header {
    width: 100%;
    margin-bottom: 12px;
  }

  .prototype-events-page > *,
  .prototype-events-list,
  .prototype-event-list-card,
  .prototype-events-list-frame,
  .prototype-events-list-media {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .prototype-events-page .prototype-page-header h1,
  .prototype-stories-page .prototype-page-header h1,
  .prototype-players-page .prototype-page-header h1,
  .prototype-event-detail-header h1 {
    width: auto;
    height: auto;
    margin-left: 0;
    font-size: 30px;
    line-height: 1.15;
    white-space: normal;
  }

  .prototype-tab-row {
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .prototype-tab-button {
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 32px;
    padding-bottom: 10px;
    scroll-snap-align: start;
  }

  .prototype-events-list {
    display: grid;
    gap: 12px;
  }

  .stories-page-header,
  .stories-section-head,
  .stories-card-foot,
  .stories-detail-head {
    flex-direction: column;
    align-items: stretch;
  }

  .stories-page-actions {
    justify-items: start;
    text-align: left;
  }

  .stories-feed-intro {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .stories-feed-intro-side {
    justify-items: start;
    text-align: left;
  }

  .stories-feed-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .stories-feed-gallery::before {
    inset: -16px -8px -8px;
    border-radius: 24px;
  }

  .stories-feed-ambient {
    display: none;
  }

  .stories-feed-tile,
  .story-tile-a,
  .story-tile-b,
  .story-tile-c,
  .story-tile-d,
  .story-tile-e,
  .story-tile-f,
  .story-tile-g,
  .story-tile-h,
  .story-tile-i,
  .story-tile-j,
  .story-tile-k,
  .story-tile-l,
  .story-tile-m,
  .story-tile-n,
  .story-tile-o {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    grid-column: span 1;
    transform: none;
  }

  .stories-feed-card {
    max-width: none;
  }

  .stories-waterfall-section {
    padding: 14px;
    border-radius: 22px;
  }

  .stories-waterfall-head {
    align-items: start;
    flex-direction: column;
  }

  .stories-waterfall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .story-cover-upload-shell {
    grid-template-columns: 1fr;
  }

  .story-management-card .admin-entity-head {
    grid-template-columns: 1fr;
  }

  .story-admin-thumb {
    width: 100%;
    max-width: 180px;
    height: 220px;
  }

  .stories-hero-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .stories-detail-shell {
    display: block;
  }

  .stories-detail-modal {
    padding: 12px;
  }

  .stories-detail-dialog {
    width: min(100vw - 24px, 100%);
    max-height: min(100vh - 24px, 100%);
    padding: 12px;
    border-radius: 24px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .stories-card,
  .stories-card.is-featured {
    min-height: 0;
  }

  .stories-card-body {
    padding: 18px;
  }

  .stories-card h2,
  .stories-grid .stories-card h2 {
    font-size: 22px;
  }

  .stories-feed-cover {
    aspect-ratio: 4 / 5;
    max-height: 320px;
  }

  .stories-feed-cover.is-compact,
  .stories-feed-cover.is-mid,
  .stories-feed-cover.is-wide,
  .stories-feed-cover.is-tall {
    aspect-ratio: 4 / 5;
  }

  .stories-feed-card.is-featured .stories-feed-cover {
    aspect-ratio: 4 / 5;
  }

  .stories-feed-cover-copy strong {
    font-size: 24px;
  }

  .stories-card-visual-frame {
    min-height: 154px;
  }

  .stories-card-visual-title {
    font-size: 22px;
  }

  .stories-detail-body {
    padding: 20px 18px;
  }

  .stories-detail-header h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  .stories-detail-header p,
  .stories-detail-content-simple p,
  .stories-detail-content-simple p {
    font-size: 15px;
    line-height: 1.85;
  }

  .prototype-event-list-card {
    border-radius: 18px;
  }

  .prototype-events-list-frame {
    height: auto;
    padding: 10px;
    border-radius: 18px;
  }

  .prototype-events-list-media {
    height: 188px;
    border-radius: 16px;
  }

  .prototype-events-list-copy {
    left: 14px;
    top: 14px;
    width: calc(100% - 28px);
  }

  .prototype-events-list-copy h2 {
    font-size: 22px;
    line-height: 1.15;
    white-space: normal;
  }

  .prototype-events-list-foot {
    left: 14px;
    right: 14px;
    bottom: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .prototype-events-list-meta {
    width: 100%;
    gap: 8px;
    white-space: normal;
  }

  .prototype-events-list-status,
  .prototype-events-list-note {
    font-size: 14px;
  }

  .prototype-events-list-note {
    min-width: 0;
  }

  .prototype-events-list-actions,
  .prototype-events-list-actions button {
    width: 100%;
    min-width: 0;
  }

  .prototype-events-list-actions button {
    height: 38px;
    font-size: 16px;
  }

  .prototype-player-filters-block {
    margin-bottom: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  .prototype-section-title {
    gap: 8px;
    margin-bottom: 12px;
  }

  .prototype-section-title h2 {
    font-size: 24px;
    line-height: 1.15;
  }

  .prototype-section-title span,
  .prototype-filter-row label {
    font-size: 14px;
  }

  .prototype-filter-row {
    gap: 10px;
  }

  .prototype-filter-row input,
  .prototype-filter-row select {
    min-height: 40px;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 14px;
  }

  .prototype-event-banner-card,
  .prototype-event-stats-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .prototype-event-timeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .prototype-event-timeline.is-draft-active {
    grid-template-columns: 1fr;
  }

  .prototype-event-timeline-step {
    padding: 16px;
  }

  .prototype-event-timeline-draft-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prototype-event-detail-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .prototype-event-detail-banner-wrap .prototype-event-banner-card {
    min-height: 300px;
    height: 300px;
  }

  .prototype-event-detail-banner-overlay {
    padding: 18px;
  }

  .prototype-event-detail-banner-overlay h1 {
    max-width: 100%;
    font-size: 34px;
  }

  .prototype-event-detail-meta-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .prototype-stage-grid-auction,
  .prototype-stage-grid-inhouse,
  .prototype-match-layout,
  .prototype-group-standings-grid,
  .prototype-stage-team-grid,
  .prototype-stage-focus-panel {
    grid-template-columns: 1fr;
  }

  .prototype-match-detail-panel {
    position: static;
  }

  .prototype-match-rounds {
    grid-auto-columns: minmax(220px, 82vw);
  }

  .prototype-stage-board,
  .prototype-stage-flow-brief,
  .prototype-stage-board-teams,
  .prototype-stage-board-pool-grid {
    grid-template-columns: 1fr;
  }

  .prototype-stage-action-row {
    flex-wrap: wrap;
  }

  .prototype-stage-team-drawer-panel {
    width: min(100dvw - 12px, 100%);
    border-radius: 20px 0 0 20px;
  }

  .prototype-stage-avatar {
    width: 84px;
    height: 84px;
    border-radius: 18px;
  }

  .prototype-leaderboard-head {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }

  .prototype-leaderboard-sort-group {
    width: 100%;
    margin: 0;
    gap: 8px;
  }

  .prototype-sort-button {
    flex: 1 1 0;
    min-height: 40px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(130, 208, 241, 0.14);
    background: rgba(5, 22, 30, 0.38);
    font-size: 16px;
  }

  .prototype-sort-button.is-active::after {
    bottom: 5px;
    width: 38px;
    height: 2px;
  }

  .prototype-leaderboard {
    min-height: 0;
    padding: 12px;
    border-radius: 18px;
  }

  .prototype-leaderboard-rows {
    display: grid;
    gap: 10px;
    min-height: 0;
  }

  .prototype-leaderboard-row {
    display: grid;
    grid-template-columns: 66px 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 4px 9px;
    width: 100%;
    height: auto;
    min-height: 74px;
    margin: 0;
    padding: 10px;
    border-radius: 16px;
  }

  .prototype-leaderboard-row .prototype-row-rank-slot {
    grid-row: 1 / span 2;
    width: auto;
    min-width: 0;
  }

  .prototype-leaderboard-row .prototype-rank-pill {
    width: 58px;
    height: 32px;
    border-radius: 999px;
    font-size: 12px;
  }

  .prototype-leaderboard-row .prototype-row-avatar-slot {
    grid-row: 1 / span 2;
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin-left: 0;
  }

  .prototype-leaderboard-row .prototype-row-avatar {
    width: 48px;
    height: 48px;
  }

  .prototype-leaderboard-row .prototype-row-name {
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    font-size: 16px;
  }

  .prototype-leaderboard-row .prototype-row-power {
    min-width: 0;
    font-size: 13px;
  }

  .prototype-leaderboard-row .prototype-row-rank-badge,
  .prototype-leaderboard-row .prototype-row-trophy,
  .prototype-leaderboard-row .prototype-row-crown,
  .prototype-leaderboard-row .prototype-row-pos-capsule,
  .prototype-leaderboard-row .prototype-row-tail {
    display: none;
  }

  .prototype-roster-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

}

@media (max-width: 640px) {
  .stories-waterfall {
    grid-template-columns: minmax(0, 1fr);
  }
}
