:root {
  --bg: #04060b;
  --bg-secondary: #14091f;
  --card: linear-gradient(180deg, rgba(8, 13, 27, 0.94), rgba(6, 10, 20, 0.9));
  --card-strong: linear-gradient(180deg, rgba(20, 11, 33, 0.98), rgba(10, 7, 21, 0.96));
  --line: rgba(168, 85, 247, 0.2);
  --line-strong: rgba(168, 85, 247, 0.34);
  --text: #eef4ff;
  --muted: #aa9bc9;
  --accent: #a855f7;
  --accent-strong: #7c3aed;
  --accent-soft: #d8b4fe;
  --warning: #f5bf63;
  --danger: #ff808f;
  --success: #c084fc;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.12), transparent 22rem),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 24rem),
    radial-gradient(circle at bottom left, rgba(107, 33, 168, 0.12), transparent 28rem),
    linear-gradient(180deg, #03050a 0%, #060913 48%, #04070f 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 85%);
}

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

button,
a,
[role='button'],
.card-clickable {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.bg-orb {
  position: fixed;
  z-index: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.2;
  pointer-events: none;
}

.bg-orb-left {
  top: -2rem;
  left: -7rem;
  background: rgba(168, 85, 247, 0.8);
}

.bg-orb-right {
  top: 12rem;
  right: -8rem;
  background: rgba(109, 40, 217, 0.8);
}

.site-header,
.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 10, 31, 0.92), rgba(10, 7, 20, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.25);
}

.brand-logo {
  width: 3.7rem;
  height: 3.7rem;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(216, 180, 254, 0.18);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.35);
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.brand-mark strong,
h1,
h2,
.team-card-header h3,
.count-pill strong,
.mini-stat span {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.03em;
}

.brand-kicker {
  color: var(--accent-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.brand-mark strong {
  font-size: 2rem;
  line-height: 0.92;
}

.ui-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #f7f2ff;
  border: 1px solid rgba(216, 180, 254, 0.18);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(88, 28, 135, 0.82), rgba(31, 15, 52, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.24);
}

.ui-icon-badge svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.ui-icon-badge-small {
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
}

.ui-icon-badge-medium {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 14px;
}

.ui-icon-badge-large {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 16px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(28, 14, 45, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font: inherit;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-soft);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.text-button:hover {
  color: var(--text);
}

.header-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@keyframes trainingNotificationPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(248, 113, 113, 0.48),
      0 8px 18px rgba(127, 29, 29, 0.32);
  }

  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 0.35rem rgba(248, 113, 113, 0),
      0 10px 24px rgba(127, 29, 29, 0.42);
  }
}

.training-notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  margin-left: 0.15rem;
  padding: 0 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(254, 202, 202, 0.46);
  background: linear-gradient(180deg, #f87171, #991b1b);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.04em;
  animation: trainingNotificationPulse 1.25s ease-in-out infinite;
}

.ghost-link.has-training-notification,
.mobile-menu-link.has-training-notification,
.primary-button.has-training-notification {
  border-color: rgba(248, 113, 113, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(248, 113, 113, 0.08),
    0 14px 30px rgba(127, 29, 29, 0.18);
}

.page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.2rem 1.25rem 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

body.launcher-mode .site-header,
body.launcher-mode .mobile-quick-menu,
body.launcher-mode .site-disclaimer,
body.launcher-mode .page-shell > :not(.service-gateway) {
  display: none !important;
}

body.launcher-mode .page-shell {
  min-height: 100svh;
  justify-content: center;
  padding-top: clamp(1rem, 4vw, 3rem);
  padding-bottom: clamp(1rem, 4vw, 3rem);
}

body:not(.launcher-mode) .service-gateway {
  display: none !important;
}

.site-disclaimer {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto 1.5rem;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
}

.site-disclaimer p {
  margin: 0;
}

.site-disclaimer-kicker {
  margin-bottom: 0.45rem;
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-disclaimer p:last-child {
  padding: 0.95rem 1rem;
  border-top: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(12, 9, 22, 0.42);
  font-size: 0.84rem;
  line-height: 1.65;
}

body.training-view-open {
  overflow: hidden;
}

body.watch-player-expanded {
  overflow: hidden;
}

.training-view {
  position: fixed;
  inset: 0;
  z-index: 28;
  overflow-y: auto;
  padding: 1.35rem 1.25rem 2rem;
  background:
    linear-gradient(180deg, rgba(4, 6, 11, 0.98), rgba(5, 8, 17, 0.99)),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 24rem);
}

.training-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.training-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.training-topbar h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 0.92;
  text-transform: uppercase;
}

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

.training-sidebar,
.training-main {
  display: grid;
  gap: 1rem;
  align-content: start;
}

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

.training-filter-card,
.training-panel {
  display: grid;
  gap: 0.9rem;
}

.club-sync-beta-sidebar,
.club-sync-beta-main,
.club-sync-beta-panel {
  gap: 1rem;
}

.club-sync-beta-sidebar .training-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club-sync-beta-layout {
  align-items: stretch;
}

.beta-lab-highlight {
  border: 1px solid rgba(168, 85, 247, 0.18);
  background:
    linear-gradient(180deg, rgba(25, 15, 40, 0.92), rgba(10, 9, 20, 0.92)),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 18rem);
}

.beta-lab-checklist {
  display: grid;
  gap: 0.75rem;
}

.beta-lab-check-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(14, 11, 26, 0.76);
}

.beta-lab-check-item strong,
.beta-lab-roadmap-card h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.beta-lab-check-item span,
.beta-lab-roadmap-card p,
.beta-lab-detail-body p,
.beta-lab-list {
  color: var(--muted);
}

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

.beta-lab-roadmap-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(14, 11, 26, 0.84);
}

.beta-lab-roadmap-card p {
  margin: 0;
  line-height: 1.6;
}

.club-sync-beta-builder {
  display: grid;
  gap: 1rem;
}

.club-sync-beta-builder-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
}

.club-sync-beta-builder-head h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.club-sync-beta-form {
  margin-top: 0.15rem;
}

.club-sync-beta-search {
  max-width: 32rem;
}

.club-sync-beta-optional {
  grid-column: 1 / -1;
}

.club-sync-beta-optional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.club-sync-beta-links-grid {
  gap: 0.8rem;
}

.club-sync-beta-row {
  gap: 0.9rem;
}

.club-sync-beta-summary-card,
.club-sync-beta-summary {
  display: grid;
  gap: 1rem;
}

.club-sync-beta-summary {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    linear-gradient(180deg, rgba(20, 14, 34, 0.96), rgba(9, 9, 18, 0.96)),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 18rem);
}

.club-sync-beta-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.club-sync-beta-summary-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.club-sync-beta-summary-brand h4,
.club-sync-beta-summary-box h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.club-sync-beta-summary-status,
.club-sync-beta-context-list,
.club-sync-beta-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.club-sync-beta-summary-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.club-sync-beta-summary-meta span,
.club-sync-beta-context-box {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.club-sync-beta-summary-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0.9rem;
}

.club-sync-beta-summary-box {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 18, 0.74);
}

.club-sync-beta-context-grid {
  display: grid;
  gap: 0.8rem;
}

.club-sync-beta-context-box {
  display: grid;
  gap: 0.7rem;
}

.club-sync-beta-context-box strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.club-sync-beta-roster-preview {
  display: grid;
  gap: 0.65rem;
}

.club-sync-beta-roster-pill {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.club-sync-beta-detail-view,
.club-sync-beta-detail-stack,
.club-sync-beta-detail-grid {
  display: grid;
  gap: 1rem;
}

.club-sync-beta-detail-body {
  display: grid;
  gap: 1rem;
}

.club-sync-beta-detail-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    linear-gradient(180deg, rgba(20, 14, 34, 0.96), rgba(9, 9, 18, 0.96)),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 18rem);
}

.club-sync-beta-detail-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.club-sync-beta-detail-brand h3,
.club-sync-beta-detail-card h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.club-sync-beta-detail-actions,
.club-sync-beta-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.club-sync-beta-live-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.club-sync-beta-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club-sync-beta-detail-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 18, 0.74);
}

.club-sync-beta-tech-list,
.club-sync-beta-roster-grid {
  display: grid;
  gap: 0.7rem;
}

.club-sync-beta-tech-list span,
.club-sync-beta-roster-card {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.club-sync-beta-live-list {
  display: grid;
  gap: 0.7rem;
}

.club-sync-beta-live-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.club-sync-beta-roster-card {
  display: grid;
  gap: 0.2rem;
}

.kit-lab-shell,
.kit-lab-sidebar,
.kit-lab-main,
.kit-lab-preview-panel {
  gap: 1rem;
}

.kit-lab-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kit-lab-workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.kit-lab-workflow-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(9, 9, 18, 0.44);
  color: rgba(230, 224, 244, 0.76);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kit-lab-workflow-strip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.22);
  color: #fff;
  font-size: 0.62rem;
}

.kit-lab-slider-values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.kit-lab-color-grid input[type='color'] {
  min-height: 3.3rem;
  padding: 0.45rem;
  cursor: pointer;
}

.kit-lab-color-studio {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 191, 99, 0.14);
  background:
    radial-gradient(circle at top right, rgba(245, 191, 99, 0.12), transparent 16rem),
    rgba(9, 9, 18, 0.42);
}

.kit-lab-color-studio-head {
  display: grid;
  gap: 0.35rem;
}

.kit-lab-color-studio-head h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kit-lab-palette-grid,
.kit-lab-logo-nudge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.kit-lab-palette-button {
  display: grid;
  gap: 0.42rem;
  min-height: 4rem;
  padding: 0.62rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(9, 9, 18, 0.5);
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.kit-lab-palette-button:hover,
.kit-lab-palette-button:focus-visible,
.kit-lab-palette-button.is-active {
  transform: translateY(-1px);
  border-color: rgba(245, 191, 99, 0.38);
  background:
    linear-gradient(180deg, rgba(245, 191, 99, 0.11), rgba(9, 9, 18, 0.5)),
    rgba(9, 9, 18, 0.5);
}

.kit-lab-palette-button i {
  display: block;
  width: 100%;
  height: 0.78rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--kit-palette-a), var(--kit-palette-b), var(--kit-palette-c));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.kit-lab-logo-nudge-grid {
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.1);
  background: rgba(9, 9, 18, 0.34);
}

.kit-lab-logo-nudge-grid > * {
  min-width: 0;
  justify-content: center;
}

.kit-lab-step-card {
  position: relative;
  gap: 0.75rem;
  border-color: rgba(168, 85, 247, 0.1);
  background:
    linear-gradient(180deg, rgba(17, 12, 29, 0.88), rgba(9, 9, 18, 0.9)),
    rgba(9, 9, 18, 0.52);
}

.kit-lab-step-card .section-surface-header {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.kit-lab-step-card .section-surface-header h3 {
  font-size: 1.05rem;
  line-height: 1.05;
}

.kit-lab-logo-step-card {
  border-color: rgba(245, 191, 99, 0.14);
}

.kit-lab-active-logo-card {
  display: grid;
  gap: 0.12rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(245, 191, 99, 0.18);
  background:
    linear-gradient(180deg, rgba(245, 191, 99, 0.1), rgba(14, 12, 24, 0.76)),
    rgba(9, 9, 18, 0.52);
}

.kit-lab-active-logo-card span,
.kit-lab-divider-label {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kit-lab-active-logo-card strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kit-lab-active-logo-card small {
  color: rgba(230, 224, 244, 0.72);
  font-size: 0.76rem;
  line-height: 1.45;
}

.kit-lab-logo-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
}

.kit-lab-logo-manager-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.kit-lab-logo-slots-list {
  display: grid;
  gap: 0.45rem;
  max-height: 10rem;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.kit-lab-logo-slot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(9, 9, 18, 0.44);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.kit-lab-logo-slot.is-active {
  border-color: rgba(245, 191, 99, 0.32);
  background:
    linear-gradient(180deg, rgba(245, 191, 99, 0.11), rgba(9, 9, 18, 0.52)),
    rgba(9, 9, 18, 0.44);
}

.kit-lab-logo-controls-grid {
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.1);
  background: rgba(9, 9, 18, 0.34);
}

.kit-lab-divider-label {
  margin-top: 0.2rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}

.kit-lab-logo-slot strong,
.kit-lab-logo-slot small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kit-lab-logo-slot small {
  margin-top: 0.08rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.kit-lab-logo-slot-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.kit-lab-logo-slot-dot.has-image {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.9), rgba(21, 128, 61, 0.9));
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.3);
}

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

.kit-lab-studio-card {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(199, 119, 255, 0.18);
  background:
    radial-gradient(circle at top center, rgba(168, 85, 247, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(16, 12, 29, 0.98), rgba(6, 7, 14, 0.98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.kit-lab-studio-head {
  align-items: center;
}

.kit-lab-studio-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.kit-lab-studio-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: #060711;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.kit-lab-studio-canvas {
  display: block;
  width: 100%;
  height: auto;
  min-height: 30rem;
  max-height: min(72vh, 52rem);
  object-fit: contain;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.kit-lab-studio-canvas:active {
  cursor: grabbing;
}

.kit-lab-hotspot {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.2rem;
  min-height: 2rem;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(168, 85, 247, 0.42), rgba(51, 28, 82, 0.84)),
    rgba(9, 9, 18, 0.82);
  color: #fff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.26);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.kit-lab-hotspot::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.32rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.kit-lab-hotspot:hover,
.kit-lab-hotspot:focus-visible,
.kit-lab-hotspot.is-active {
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(245, 243, 255, 0.5);
}

.kit-lab-hotspot.is-active {
  background:
    linear-gradient(180deg, rgba(245, 191, 99, 0.52), rgba(92, 55, 14, 0.86)),
    rgba(9, 9, 18, 0.82);
}

.kit-lab-hotspot-left {
  top: 35%;
  left: 32%;
}

.kit-lab-hotspot-center {
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
}

.kit-lab-hotspot-center:hover,
.kit-lab-hotspot-center:focus-visible,
.kit-lab-hotspot-center.is-active {
  transform: translateX(-50%) translateY(-1px) scale(1.04);
}

.kit-lab-hotspot-right {
  top: 35%;
  right: 32%;
}

.kit-lab-studio-shell.is-back-facing .kit-lab-hotspot {
  opacity: 0.22;
  pointer-events: none;
}

.kit-lab-rotation-field {
  margin: 0;
}

.kit-lab-canvas-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 13, 31, 0.96), rgba(8, 9, 19, 0.94)),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), transparent 18rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.kit-lab-canvas-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.kit-lab-canvas-head h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kit-lab-canvas-shell {
  position: relative;
  overflow: hidden;
  padding: 0.9rem;
  border-radius: 24px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: rgba(6, 7, 14, 0.84);
}

.kit-lab-canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  background: rgba(7, 7, 15, 0.92);
}

.kit-lab-sidebar .training-filter-card {
  gap: 0.85rem;
}

.beta-lab-detail {
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(14, 11, 26, 0.76);
  overflow: hidden;
}

.beta-lab-detail + .beta-lab-detail {
  margin-top: 0.8rem;
}

.beta-lab-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
  list-style: none;
}

.beta-lab-detail summary::-webkit-details-marker {
  display: none;
}

.beta-lab-detail summary span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.beta-lab-detail summary small {
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beta-lab-detail[open] summary {
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.beta-lab-detail-body {
  padding: 0.95rem 1rem 1rem;
}

.beta-lab-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  line-height: 1.65;
}

.beta-lab-list code {
  padding: 0.16rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: rgba(24, 15, 40, 0.82);
  color: var(--accent-soft);
}

.training-roster-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.training-roster-list,
.training-session-list,
.training-report-list {
  display: grid;
  gap: 0.75rem;
}

.training-roster-list {
  max-height: 24rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.training-roster-row,
.training-report-row,
.training-session-card {
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(15, 11, 28, 0.82);
}

.training-roster-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
}

.training-roster-toggle {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent);
}

.training-roster-copy,
.training-report-player {
  min-width: 0;
}

.training-roster-copy strong,
.training-report-player strong,
.training-session-head h4 {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.training-roster-copy span,
.training-report-player span,
.training-session-head p,
.training-session-meta,
.training-session-notes {
  color: var(--muted);
}

.training-roster-status {
  white-space: nowrap;
}

.training-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(72px, auto));
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
}

.training-report-stat {
  text-align: right;
  color: var(--muted);
  font-size: 0.86rem;
}

.training-report-stat strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.training-session-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
}

.training-session-card.is-user-pending {
  border-color: rgba(248, 113, 113, 0.24);
  background:
    linear-gradient(180deg, rgba(34, 13, 26, 0.9), rgba(15, 11, 28, 0.86)),
    radial-gradient(circle at top right, rgba(248, 113, 113, 0.12), transparent 15rem);
}

.training-session-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
}

.training-session-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.training-pending-chip {
  border-color: rgba(248, 113, 113, 0.26);
  background: rgba(127, 29, 29, 0.28);
  color: #ffe3e3;
}

.training-session-head h4 {
  margin: 0;
}

.training-session-head p,
.training-session-notes {
  margin: 0.3rem 0 0;
}

.training-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.86rem;
}

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

.training-attendance-column {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(9, 9, 18, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.08);
}

.training-attendance-column h5 {
  margin: 0;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
}

.training-player-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--text);
  font-size: 0.82rem;
}

.training-player-pill small {
  color: var(--muted);
  font-size: 0.72rem;
}

.training-session-response {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(9, 9, 18, 0.54);
  border: 1px solid rgba(168, 85, 247, 0.08);
}

.training-session-response strong {
  display: block;
  margin-bottom: 0.18rem;
}

.tournament-play-shell {
  gap: 1rem;
}

.competition-shell {
  gap: 1rem;
}

.tournament-play-nav-card,
.tournament-play-section {
  gap: 0.85rem;
}

.tournament-play-section {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.12), transparent 20rem),
    linear-gradient(180deg, rgba(15, 11, 28, 0.78), rgba(8, 8, 18, 0.84));
  overflow: hidden;
}

.tournament-play-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 24%, rgba(168, 85, 247, 0.06));
  opacity: 0.55;
  pointer-events: none;
}

.tournament-play-section > * {
  position: relative;
  z-index: 1;
}

.competition-preview-grid,
.competition-side-list,
.competition-standings-list,
.competition-registrations-list {
  display: grid;
  gap: 0.95rem;
}

.tournament-beta-standings-list,
.ranking-list {
  gap: 0;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: linear-gradient(180deg, rgba(21, 15, 34, 0.96), rgba(10, 9, 18, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 42px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.competition-preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.competition-side-list {
  max-height: 28rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.competition-side-button {
  width: 100%;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(17, 12, 30, 0.82);
  color: var(--text);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  text-align: left;
  display: grid;
  gap: 0.25rem;
  cursor: pointer;
}

.competition-side-main,
.competition-admin-heading,
.competition-view-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.competition-side-copy,
.competition-admin-heading > div,
.competition-view-identity > div:last-child {
  min-width: 0;
}

.competition-side-button .competition-side-main {
  color: var(--text);
}

.competition-side-button .competition-side-copy > span {
  display: block;
  color: var(--muted);
}

.competition-side-main .team-logo-thumb,
.competition-admin-heading .team-logo-thumb,
.competition-view-logo .team-logo-thumb {
  width: 2.6rem;
  height: 2.6rem;
  flex-basis: 2.6rem;
  border-radius: 14px;
}

.competition-view-logo {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  flex: 0 0 4rem;
  border-radius: 22px;
  border: 1px solid rgba(216, 180, 254, 0.18);
  color: #f8f2ff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(86, 30, 131, 0.82), rgba(26, 14, 42, 0.96));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.competition-view-logo .team-logo-thumb {
  width: 100%;
  height: 100%;
  flex-basis: 100%;
  border: 0;
  border-radius: inherit;
}

#competitionView.is-ltr-league .competition-shell {
  color: #f7fbff;
}

#competitionView.is-ltr-league .training-topbar,
#competitionView.is-ltr-league .competition-sidebar,
#competitionView.is-ltr-league .training-filter-card,
#competitionView.is-ltr-league .tournament-play-section {
  border-color: rgba(0, 132, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(0, 132, 255, 0.16), transparent 16rem),
    linear-gradient(180deg, rgba(0, 12, 24, 0.9), rgba(3, 6, 12, 0.94));
}

#competitionView.is-ltr-league .competition-view-logo {
  border-color: rgba(0, 132, 255, 0.36);
  background:
    radial-gradient(circle at top, rgba(98, 200, 255, 0.26), transparent 58%),
    linear-gradient(180deg, rgba(0, 82, 170, 0.86), rgba(0, 12, 28, 0.98));
  box-shadow: 0 18px 38px rgba(0, 88, 180, 0.2);
}

#competitionView.is-ltr-league .competition-side-button {
  border-color: rgba(0, 132, 255, 0.22);
  background: rgba(0, 15, 30, 0.82);
}

#competitionView.is-ltr-league .competition-side-button.is-active,
#competitionView.is-ltr-league .competition-mini-link:hover,
#competitionView.is-ltr-league .competition-mini-link:focus-visible {
  border-color: rgba(0, 156, 255, 0.52);
  background: linear-gradient(180deg, rgba(0, 72, 150, 0.84), rgba(0, 16, 34, 0.92));
  box-shadow: 0 0 0 1px rgba(0, 132, 255, 0.16);
}

#competitionView.is-ltr-league .tournament-play-section::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 24%, rgba(0, 132, 255, 0.1));
}

#competitionView.is-ltr-league .tournament-beta-standings-list {
  border-color: rgba(0, 132, 255, 0.2);
  background: linear-gradient(180deg, rgba(0, 18, 36, 0.96), rgba(2, 7, 14, 0.96));
}

.competition-side-button strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

.competition-side-button span {
  color: var(--muted);
  font-size: 0.84rem;
}

.competition-side-button.is-active {
  border-color: rgba(192, 132, 252, 0.48);
  background: linear-gradient(180deg, rgba(52, 22, 79, 0.92), rgba(20, 11, 33, 0.92));
  box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.12);
}

.competition-league-card {
  min-height: 14rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.12), transparent 12rem),
    linear-gradient(160deg, rgba(38, 18, 61, 0.94), rgba(8, 9, 22, 0.98));
}

.competition-league-card .tournament-actions {
  align-self: end;
}

.competition-league-mini-list {
  display: grid;
  gap: 0.45rem;
}

.competition-mini-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  width: 100%;
  padding: 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.competition-mini-link:hover,
.competition-mini-link:focus-visible {
  border-color: rgba(34, 211, 238, 0.34);
  background: rgba(34, 211, 238, 0.08);
}

.competition-mini-link span {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.competition-mini-link strong,
.competition-mini-link small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.competition-mini-link strong {
  font-size: 0.9rem;
}

.competition-mini-link small,
.competition-mini-empty {
  color: var(--muted);
  font-size: 0.78rem;
}

.competition-mini-empty {
  padding: 0.65rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.competition-league-chooser-panel {
  display: grid;
  gap: 0.85rem;
}

.competition-league-chooser-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.competition-logo-upload-field input[type='file'] {
  padding: 0.8rem;
  border: 1px dashed rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.07);
}

.competition-logo-upload-field small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.competition-logo-preview {
  min-height: 3.35rem;
}

.competition-logo-preview-card,
.competition-logo-preview-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.72rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(34, 211, 238, 0.04)),
    rgba(8, 7, 18, 0.58);
}

.competition-logo-preview-empty {
  grid-template-columns: minmax(0, 1fr);
  border-style: dashed;
}

.competition-logo-preview-card span,
.competition-logo-preview-empty {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.competition-logo-preview-card strong,
.competition-logo-preview-card small,
.competition-logo-preview-empty strong,
.competition-logo-preview-empty span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.competition-logo-preview-card strong,
.competition-logo-preview-empty strong {
  color: var(--text);
}

.competition-logo-preview-card small,
.competition-logo-preview-empty span {
  color: var(--muted);
  font-size: 0.78rem;
}

.competition-admin-card .registration-block {
  margin-top: 0.8rem;
}

.competition-staff-manage-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.competition-staff-manage-row select {
  min-width: 0;
}

.tournament-play-meta-list {
  display: grid;
  gap: 0.65rem;
}

.tournament-play-meta-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
}

.tournament-play-meta-row strong {
  color: var(--text);
}

.tournament-play-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.55rem;
}

.tournament-play-nav-button {
  justify-content: center;
}

.competition-registrations-list .registration-list {
  gap: 0.55rem;
}

.competition-registrations-list .registration-item {
  border-color: rgba(168, 85, 247, 0.1);
}

.competition-rules-list {
  display: grid;
  gap: 0.75rem;
}

.competition-rules-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(15, 11, 28, 0.82);
}

.competition-rules-head {
  display: grid;
  gap: 0.2rem;
}

.competition-rules-head h4 {
  margin: 0;
}

.competition-rules-copy {
  color: var(--muted);
  line-height: 1.6;
}

.competition-rules-copy .team-notes {
  margin: 0;
}

.competition-rules-discord-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(88, 101, 242, 0.28);
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.2), rgba(24, 18, 47, 0.9));
  color: var(--text);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.competition-rules-discord-link:hover {
  transform: translateY(-1px);
  border-color: rgba(88, 101, 242, 0.42);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.competition-rules-discord-link:focus-visible {
  outline: 0;
  border-color: rgba(129, 140, 248, 0.62);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.18);
}

.competition-rules-discord-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #c7d2fe;
  flex: 0 0 auto;
}

.competition-rules-discord-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.competition-rules-discord-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.competition-rules-discord-copy strong {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.competition-rules-discord-copy span {
  color: rgba(233, 236, 255, 0.82);
  line-height: 1.45;
}

.competition-rules-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
  color: var(--muted);
}

.competition-rules-facts strong {
  color: var(--text);
}

.lineup-section-grid {
  display: grid;
  gap: 1rem;
}

.lineup-builder-shell {
  display: grid;
  gap: 1rem;
}

.lineup-builder-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.lineup-builder-status-card {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(18, 13, 31, 0.82);
  color: var(--muted);
}

.lineup-builder-status-card strong {
  color: var(--text);
}

.lineup-builder-status-card small {
  color: var(--muted-soft);
}

.lineup-builder-download-card {
  display: grid;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: linear-gradient(180deg, rgba(20, 13, 35, 0.88), rgba(13, 10, 26, 0.92));
}

.lineup-builder-download-card small {
  color: var(--muted-soft);
}

.lineup-builder-download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.lineup-builder-download-meta span {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.lineup-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.lineup-pitch-card,
.lineup-picker-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(16, 11, 29, 0.88);
}

.lineup-pitch-head,
.lineup-picker-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
}

.lineup-pitch-head h4,
.lineup-picker-head h4 {
  margin: 0;
}

.lineup-pitch {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem 0.9rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(110, 231, 183, 0.18);
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(16, 101, 52, 0.88), rgba(10, 60, 31, 0.92));
}

.lineup-pitch::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  pointer-events: none;
}

.lineup-pitch::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
  pointer-events: none;
}

.lineup-pitch-row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
}

.lineup-pitch-row-portiere {
  justify-self: center;
  width: min(100%, 170px);
}

.lineup-pitch-row-difensore,
.lineup-pitch-row-centrocampista,
.lineup-pitch-row-attaccante {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.lineup-slot-button,
.lineup-slot-card {
  width: 100%;
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  text-align: center;
  padding: 0.75rem 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 16, 0.32);
  color: var(--text);
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.lineup-slot-button {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lineup-slot-button:hover,
.lineup-slot-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(192, 132, 252, 0.42);
  box-shadow: 0 10px 24px rgba(7, 12, 24, 0.22);
}

.lineup-slot-button.is-active {
  border-color: rgba(217, 70, 239, 0.68);
  background: rgba(61, 24, 86, 0.65);
}

.lineup-slot-button.is-filled,
.lineup-slot-card.is-filled {
  background: rgba(22, 37, 24, 0.54);
}

.lineup-slot-role {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 236, 255, 0.72);
}

.lineup-slot-button strong,
.lineup-slot-card strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.lineup-slot-button small,
.lineup-slot-card small {
  color: rgba(233, 236, 255, 0.72);
  font-size: 0.76rem;
}

.lineup-roster-list,
.lineup-summary-list {
  display: grid;
  gap: 0.55rem;
  max-height: 30rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.lineup-roster-item,
.lineup-summary-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(10, 9, 20, 0.56);
  color: var(--text);
}

.lineup-roster-item {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lineup-roster-item:hover,
.lineup-roster-item:focus-visible,
.lineup-roster-item.is-selected {
  border-color: rgba(192, 132, 252, 0.42);
  background: rgba(39, 17, 60, 0.74);
}

.lineup-roster-item[data-lineup-player-used="true"] {
  opacity: 0.58;
  border-style: dashed;
  cursor: not-allowed;
  pointer-events: none;
}

.lineup-roster-item strong,
.lineup-summary-item strong {
  display: block;
}

.lineup-roster-item span,
.lineup-summary-item span,
.lineup-summary-item small {
  color: var(--muted);
}

.lineup-roster-item-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.4rem;
}

.lineup-inbox-row {
  display: grid;
  gap: 0.9rem;
}

.lineup-inbox-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lineup-inbox-title h4 {
  margin: 0;
}

.lineup-inbox-title p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.lineup-inbox-meta {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.lineup-inbox-preview {
  padding-top: 0.35rem;
}

.tournament-play-nav-button.is-active,
.tournament-play-toggle[aria-expanded='true'] {
  border-color: rgba(168, 85, 247, 0.28);
  background: rgba(168, 85, 247, 0.14);
  color: var(--text);
}

@media (max-width: 680px) {
  .competition-staff-manage-row {
    grid-template-columns: 1fr;
  }

  .competition-rules-discord-link {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.tournament-play-section-head {
  align-items: flex-start;
}

.tournament-play-section-body {
  display: grid;
  gap: 0.85rem;
}

.tournament-play-section.is-collapsed {
  gap: 0;
}

.tournament-play-section.is-collapsed .tournament-play-section-head {
  margin-bottom: 0;
}

.tournament-beta-groups,
.tournament-beta-match-list,
.tournament-beta-match-rounds,
.tournament-beta-round-list,
.tournament-beta-group-list,
.tournament-beta-standings-list {
  display: grid;
  gap: 0.75rem;
}

.tournament-beta-groups {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tournament-beta-group-card,
.tournament-beta-round-card,
.tournament-beta-match-card {
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background:
    linear-gradient(180deg, rgba(20, 15, 34, 0.94), rgba(10, 9, 20, 0.96)),
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.13), transparent 18rem);
}

.tournament-beta-match-group,
.tournament-beta-group-card,
.tournament-beta-round-card {
  display: grid;
  gap: 0.75rem;
}

.tournament-beta-match-group {
  position: relative;
  padding: 0.62rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.13);
  background:
    linear-gradient(135deg, rgba(24, 16, 39, 0.78), rgba(11, 10, 21, 0.96) 54%, rgba(22, 15, 34, 0.84)),
    radial-gradient(circle at top right, rgba(199, 119, 255, 0.1), transparent 15rem);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.tournament-beta-match-group::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(168, 85, 247, 0.14), transparent 24%),
    radial-gradient(circle at 8% 0, rgba(255, 255, 255, 0.1), transparent 12rem);
  opacity: 0.45;
  pointer-events: none;
}

.tournament-beta-match-group > * {
  position: relative;
  z-index: 1;
}

.tournament-beta-group-card,
.tournament-beta-round-card {
  padding: 0.9rem 1rem;
}

.tournament-beta-group-head,
.tournament-beta-round-head,
.tournament-beta-match-top,
.tournament-beta-match-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.tournament-beta-collapsible-head {
  align-items: flex-start;
  padding: 0.72rem 0.82rem;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.01)),
    rgba(9, 8, 18, 0.28);
}

.tournament-beta-collapsible-head h3 {
  margin-top: 0.12rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  letter-spacing: 0.035em;
  line-height: 1.02;
  text-transform: uppercase;
}

.section-surface .tournament-beta-collapsible-head h3 {
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.02;
}

.tournament-beta-group-head-copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.tournament-beta-group-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  margin-top: 0.35rem;
}

.tournament-beta-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.55rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(9, 9, 18, 0.62);
  color: rgba(232, 224, 244, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.tournament-beta-summary-pill-action {
  border-color: rgba(245, 191, 99, 0.28);
  background: rgba(245, 191, 99, 0.1);
  color: #ffe2aa;
}

.tournament-user-schedule-card,
.tournament-general-schedule-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 14, 31, 0.92), rgba(9, 9, 18, 0.96)),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.11), transparent 16rem);
}

.tournament-user-schedule-card {
  border-color: rgba(245, 191, 99, 0.22);
  background:
    linear-gradient(180deg, rgba(27, 20, 32, 0.94), rgba(10, 9, 18, 0.96)),
    radial-gradient(circle at top left, rgba(245, 191, 99, 0.12), transparent 16rem);
}

.tournament-user-schedule-head,
.tournament-general-schedule-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.tournament-user-schedule-team {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.tournament-user-schedule-team > div {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.tournament-user-schedule-team .team-logo-thumb {
  width: 2.6rem;
  height: 2.6rem;
  flex-basis: 2.6rem;
  border-radius: 14px;
}

.tournament-user-schedule-head h4,
.tournament-general-schedule-head h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.22rem;
  line-height: 0.98;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tournament-user-schedule-team span {
  color: var(--muted);
  font-size: 0.8rem;
}

.tournament-user-schedule-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.tournament-user-match-list,
.tournament-general-schedule-list {
  display: grid;
  gap: 0.7rem;
}

.tournament-beta-match-card.is-user-match {
  border-color: rgba(245, 191, 99, 0.22);
  background:
    linear-gradient(180deg, rgba(31, 24, 34, 0.98), rgba(11, 10, 20, 0.98)),
    radial-gradient(circle at left, rgba(245, 191, 99, 0.12), transparent 15rem);
}

.tournament-beta-match-card.is-user-match::before,
.tournament-beta-match-group.has-user-team::before {
  background: linear-gradient(180deg, rgba(245, 191, 99, 0.92), rgba(168, 85, 247, 0.28));
}

.tournament-beta-collapsible-body {
  display: grid;
  gap: 0.75rem;
}

.tournament-play-inline-toggle[aria-expanded='true'] {
  border-color: rgba(168, 85, 247, 0.28);
  background: rgba(168, 85, 247, 0.14);
  color: var(--text);
}

.tournament-beta-group-card.is-collapsed,
.tournament-beta-match-group.is-collapsed {
  gap: 0;
}

.tournament-beta-group-head strong,
.tournament-beta-round-head strong,
.tournament-beta-team-copy strong,
.tournament-beta-match-team-copy strong,
.tournament-beta-match-line strong {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tournament-beta-group-head strong,
.tournament-beta-round-head strong {
  font-size: 1.08rem;
}

.tournament-beta-team-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
}

.tournament-beta-team-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.tournament-beta-team-copy span,
.tournament-beta-group-head span,
.tournament-beta-round-head span,
.tournament-beta-reports-tag,
.tournament-beta-standings-head span,
.tournament-beta-standing-team-copy > span,
.tournament-beta-match-team-copy span,
.tournament-report-team-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.tournament-beta-standings {
  display: grid;
  gap: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
  overflow-x: auto;
}

.tournament-beta-standings-table-shell {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.tournament-beta-winner {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 191, 99, 0.24);
  background: linear-gradient(180deg, rgba(45, 28, 8, 0.92), rgba(18, 14, 9, 0.98));
}

.tournament-beta-winner strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tournament-beta-winner span:last-child {
  color: var(--muted);
}

.tournament-beta-standings-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.tournament-beta-standings-head > div {
  min-width: 0;
}

.standings-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.standings-mobile-expand {
  display: none;
  flex: 0 0 auto;
}

.tournament-beta-standings-table-head {
  display: grid;
  grid-template-columns: 1.9rem minmax(8rem, 1.5fr) 4.4rem minmax(16rem, 1.35fr);
  gap: 0.45rem;
  align-items: center;
  padding: 0 0.95rem 0.55rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tournament-beta-standings-head strong,
.tournament-beta-standing-team strong {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tournament-beta-standing-row {
  display: grid;
  grid-template-columns: 1.9rem minmax(8rem, 1.5fr) 4.4rem minmax(16rem, 1.35fr);
  gap: 0.45rem;
  align-items: center;
  padding: 0.58rem 0.95rem;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(17, 14, 29, 0.9), rgba(12, 11, 20, 0.94));
  border: 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.tournament-beta-standing-row-with-footer {
  align-items: start;
}

.tournament-beta-standing-row:first-child {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.tournament-beta-standing-row:last-child {
  border-bottom: 0;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

.tournament-beta-standing-row:hover,
.tournament-beta-standing-row:focus-within {
  background: linear-gradient(180deg, rgba(26, 20, 42, 0.95), rgba(15, 13, 26, 0.98));
  transform: translateY(-1px);
}

.tournament-beta-standing-team {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.tournament-beta-standing-team-with-logo {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.tournament-beta-standing-team-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 18px;
  padding: 0;
  transition: background 0.18s ease, transform 0.18s ease;
}

.tournament-beta-standing-team-button:hover,
.tournament-beta-standing-team-button:focus-visible {
  background: rgba(168, 85, 247, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.tournament-beta-standing-team-copy {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.tournament-beta-standing-team-copy strong,
.tournament-beta-standing-team-copy > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tournament-beta-standing-team-copy strong {
  font-size: 0.94rem;
}

.tournament-beta-standing-team-copy > span {
  color: var(--muted);
  font-size: 0.7rem;
}

.standing-form-compact {
  min-width: 0;
  display: flex;
  align-items: center;
}

.standing-form-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem;
}

.standing-form-strip-empty {
  min-height: 2rem;
  align-items: center;
}

.standing-form-empty {
  color: var(--muted);
  font-size: 0.8rem;
}

.standing-form-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.standing-form-chip-win {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.34);
  color: #b8f7cd;
}

.standing-form-chip-draw {
  background: rgba(245, 191, 99, 0.16);
  border-color: rgba(245, 191, 99, 0.3);
  color: #ffe1a8;
}

.standing-form-chip-loss {
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
  color: #ffc0c0;
}

.tournament-beta-standing-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.tournament-beta-standings-stats-head,
.tournament-beta-standing-stats-compact {
  display: grid;
  grid-template-columns: repeat(8, minmax(1.7rem, 1fr));
  gap: 0.18rem;
  align-items: center;
}

.tournament-beta-standings-stats-head {
  text-align: center;
}

.tournament-beta-standings-stats-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.standing-stat-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.5rem;
  padding: 0.08rem 0.18rem;
  border-radius: 6px;
  border: 1px solid rgba(168, 85, 247, 0.08);
  background: rgba(18, 18, 28, 0.52);
  color: var(--text);
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.tournament-beta-standing-row .registration-order {
  min-width: 1.65rem;
  min-height: 1.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  background: rgba(168, 85, 247, 0.1);
}

body.mobile-standings-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.standing-stat-cell-points {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.2), rgba(37, 24, 56, 0.86));
  border-color: rgba(168, 85, 247, 0.24);
}

.standings-live-board {
  position: relative;
  gap: 0.8rem;
  padding-top: 0;
  border: 1px solid rgba(168, 85, 247, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at top center, rgba(162, 84, 255, 0.16), rgba(162, 84, 255, 0) 34%),
    linear-gradient(180deg, rgba(14, 10, 24, 0.98), rgba(8, 7, 16, 0.98));
  overflow: hidden;
  isolation: isolate;
}

.standings-live-board::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(186, 112, 255, 0.08), transparent 28%),
    linear-gradient(300deg, rgba(186, 112, 255, 0.06), transparent 24%);
  pointer-events: none;
  z-index: 0;
}

.standings-live-board > * {
  position: relative;
  z-index: 1;
}

.standings-live-board .tournament-beta-standings-head {
  align-items: start;
  padding: 1rem 1rem 0.15rem;
}

.standings-live-board .tournament-beta-standings-head strong {
  font-size: 1.28rem;
  color: #faf7ff;
}

.standings-live-board .tournament-beta-standings-head span {
  color: rgba(225, 219, 237, 0.76);
  font-size: 0.78rem;
}

.standings-live-board .tournament-beta-standings-table-shell {
  padding: 0 0.7rem 0.8rem;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.standings-live-board .tournament-beta-standings-table-head {
  grid-template-columns: 2rem minmax(11.5rem, 1.7fr) minmax(16.4rem, 1.25fr);
  gap: 0.5rem;
  min-width: 33rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.42rem;
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(34, 22, 52, 0.92), rgba(17, 13, 27, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.standings-live-board .tournament-beta-standing-row {
  grid-template-columns: 2rem minmax(11.5rem, 1.7fr) minmax(16.4rem, 1.25fr);
  gap: 0.5rem;
  min-width: 33rem;
  padding: 0.58rem 0.8rem;
  margin-top: 0.22rem;
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(18, 14, 30, 0.96), rgba(10, 9, 19, 0.98));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.standings-live-board .tournament-beta-standing-row:first-child,
.standings-live-board .tournament-beta-standing-row:last-child {
  border-radius: 15px;
}

.standings-live-board .tournament-beta-standings-list .tournament-beta-standing-row:nth-child(-n + 3) {
  border-color: rgba(199, 119, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(34, 20, 54, 0.98), rgba(12, 10, 22, 0.99)),
    radial-gradient(circle at left, rgba(168, 85, 247, 0.14), transparent 16rem);
}

.standings-live-board .tournament-beta-standing-row:last-child {
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.standings-live-board .tournament-beta-standing-row:hover,
.standings-live-board .tournament-beta-standing-row:focus-within {
  background: linear-gradient(180deg, rgba(28, 21, 44, 0.98), rgba(13, 12, 24, 1));
}

.standings-live-board .tournament-beta-standing-team-copy {
  gap: 0.22rem;
}

.standings-live-board .tournament-beta-standing-team-copy strong {
  font-size: 1rem;
  color: #ffffff;
}

.standing-team-meta-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.standing-team-meta-row > span {
  flex: 0 0 auto;
  color: rgba(220, 214, 235, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standing-form-inline {
  flex: 1 1 auto;
  justify-content: flex-start;
}

.standing-form-inline .standing-form-strip {
  flex-wrap: nowrap;
  gap: 0.14rem;
}

.standing-form-inline .standing-form-chip {
  min-width: 1rem;
  min-height: 1rem;
  border-radius: 4px;
  font-size: 0.56rem;
  overflow: visible;
  text-overflow: clip;
}

.standing-form-inline .standing-form-chip-win {
  color: #b8f7cd;
}

.standing-form-inline .standing-form-chip-draw {
  color: #ffe1a8;
}

.standing-form-inline .standing-form-chip-loss {
  color: #ffc0c0;
}

.standing-form-inline .standing-form-empty {
  font-size: 0.66rem;
}

.standings-live-board .tournament-beta-standing-stats-compact,
.standings-live-board .tournament-beta-standings-stats-head {
  grid-template-columns: repeat(8, minmax(1.8rem, 1fr));
  gap: 0.18rem;
}

.standings-live-board .standing-stat-cell,
.standings-live-board .tournament-beta-standings-stats-head span {
  min-height: 1.6rem;
  border-radius: 7px;
}

.standings-live-board .standing-stat-cell {
  background: rgba(12, 10, 20, 0.9);
  border-color: rgba(168, 85, 247, 0.12);
}

.standings-live-board .standing-stat-cell-points {
  background: linear-gradient(180deg, rgba(179, 96, 255, 0.34), rgba(44, 25, 67, 0.95));
  border-color: rgba(200, 141, 255, 0.3);
  color: #ffffff;
}

.standing-stat-cell-win {
  border-color: rgba(34, 197, 94, 0.22);
}

.standing-stat-cell-draw {
  border-color: rgba(245, 191, 99, 0.22);
}

.standing-stat-cell-loss {
  border-color: rgba(248, 113, 113, 0.22);
}

.standing-row-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.1rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}

.standing-adjustment-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(18, 11, 30, 0.72);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.standing-adjustment-note-positive {
  border-color: rgba(34, 197, 94, 0.24);
  color: #b8f7cd;
}

.standing-adjustment-note-negative {
  border-color: rgba(248, 113, 113, 0.26);
  color: #ffc0c0;
}

.standing-adjustment-note-neutral {
  border-color: rgba(148, 163, 184, 0.2);
}

.standing-adjustment-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: end;
  gap: 0.55rem;
  margin-left: auto;
}

.standing-adjustment-field {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.standing-adjustment-field span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standing-adjustment-field input {
  width: 6rem;
}

.tournament-beta-match-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tournament-beta-match-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(205, 139, 255, 0.95), rgba(105, 56, 255, 0.38));
  opacity: 0.72;
}

.tournament-beta-match-card:hover,
.tournament-beta-match-card:focus-within {
  transform: translateY(-1px);
  border-color: rgba(199, 119, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(27, 19, 44, 0.98), rgba(11, 10, 20, 0.98)),
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.18), transparent 16rem);
}

.competition-matchday-schedule-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem) auto;
  gap: 0.85rem;
  align-items: end;
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background:
    linear-gradient(180deg, rgba(35, 22, 53, 0.7), rgba(14, 12, 24, 0.82)),
    rgba(14, 14, 24, 0.68);
}

.competition-matchday-schedule-copy {
  display: grid;
  gap: 0.2rem;
}

.competition-matchday-schedule-copy strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.competition-matchday-schedule-copy span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.competition-matchday-schedule-field {
  min-width: 0;
}

.competition-matchday-schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.competition-matchday-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.tournament-beta-match-top {
  flex-wrap: wrap;
}

.tournament-beta-match-top .chip,
.tournament-beta-reports-tag {
  min-height: 1.65rem;
  border-radius: 999px;
}

.tournament-beta-reports-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

.tournament-beta-match-copy {
  display: grid;
  gap: 0.55rem;
}

.tournament-beta-match-team {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.35rem 0.45rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.tournament-beta-match-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.tournament-beta-match-line > * {
  min-width: 0;
}

.tournament-beta-match-line > .tournament-beta-match-team:last-child {
  grid-template-columns: minmax(0, 1fr) auto;
  text-align: right;
}

.tournament-beta-match-line > .tournament-beta-match-team:last-child .team-logo-thumb {
  order: 2;
}

.tournament-beta-match-team .team-logo-thumb,
.tournament-beta-standing-team-with-logo .team-logo-thumb,
.tournament-report-team-label .team-logo-thumb {
  width: 2rem;
  height: 2rem;
  flex-basis: 2rem;
  border-radius: 12px;
}

.tournament-beta-match-team-copy,
.tournament-report-team-copy {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.tournament-beta-match-team-copy strong,
.tournament-report-team-copy strong {
  display: block;
  line-height: 1;
  overflow-wrap: anywhere;
}

.tournament-beta-match-team-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tournament-beta-match-team-copy span,
.tournament-report-team-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.tournament-report-team-copy strong {
  white-space: normal;
}

.tournament-beta-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.7rem;
  min-height: 2.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(218, 173, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(181, 91, 255, 0.34), rgba(31, 18, 50, 0.92)),
    rgba(168, 85, 247, 0.12);
  color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 20px rgba(168, 85, 247, 0.16);
}

.tournament-beta-match-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.tournament-report-team-label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.tournament-beta-note {
  color: var(--accent-soft);
}

.training-response-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.training-response-button {
  min-width: 8.75rem;
}

.training-response-button.is-selected-positive {
  border-color: rgba(34, 197, 94, 0.38);
  background: rgba(34, 197, 94, 0.14);
  color: #d8ffe4;
}

.training-response-button.is-selected-negative {
  border-color: rgba(248, 113, 113, 0.34);
  background: rgba(248, 113, 113, 0.12);
  color: #ffd7d7;
}

.training-session-actions {
  display: flex;
  justify-content: flex-end;
}

.service-gateway {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 1.15rem;
  align-items: stretch;
  padding: 1.35rem;
  border: 1px solid rgba(216, 180, 254, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 12%, rgba(216, 180, 254, 0.2), transparent 18rem),
    radial-gradient(circle at 90% 0%, rgba(88, 28, 135, 0.36), transparent 22rem),
    linear-gradient(135deg, rgba(18, 12, 33, 0.98), rgba(6, 8, 18, 0.96));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-gateway::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.055), transparent 58%),
    linear-gradient(rgba(168, 85, 247, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2));
}

.service-gateway-copy,
.service-gateway-grid,
.service-card > * {
  position: relative;
  z-index: 1;
}

.service-gateway-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.55rem;
}

.service-gateway-copy h1 {
  max-width: 8.8ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.service-gateway-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 48ch;
  color: rgba(232, 224, 244, 0.76);
  line-height: 1.7;
}

.service-gateway-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.service-gateway-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 180, 254, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(238, 244, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-gateway-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr);
  gap: 0.85rem;
}

.launcher-live-strip {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 24px;
  border: 1px solid rgba(216, 180, 254, 0.14);
  background:
    linear-gradient(90deg, rgba(168, 85, 247, 0.1), rgba(250, 204, 21, 0.06), rgba(34, 211, 238, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.launcher-live-strip-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.launcher-live-strip-head h2 {
  margin: 0;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.launcher-live-marquee {
  overflow: hidden;
  border-radius: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  contain: paint;
}

.launcher-live-marquee-track {
  display: flex;
  width: max-content;
  min-width: max-content;
  gap: 0.75rem;
  animation: launcher-live-scroll 34s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.launcher-live-marquee:hover .launcher-live-marquee-track {
  animation-play-state: paused;
}

.launcher-live-pill {
  display: grid;
  flex: 0 0 min(74vw, 20rem);
  width: min(74vw, 20rem);
  min-width: min(74vw, 20rem);
  gap: 0.16rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(216, 180, 254, 0.14);
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.2), transparent 10rem),
    rgba(5, 5, 12, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.launcher-live-pill-gold {
  border-color: rgba(250, 204, 21, 0.24);
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.18), transparent 10rem),
    rgba(8, 7, 10, 0.74);
}

.launcher-live-pill-cyan {
  border-color: rgba(34, 211, 238, 0.2);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 10rem),
    rgba(5, 8, 13, 0.74);
}

.launcher-live-pill span,
.launcher-live-pill small {
  overflow: hidden;
  color: rgba(232, 224, 244, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.launcher-live-pill strong,
.launcher-live-pill b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-live-pill strong {
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.launcher-live-pill b {
  color: #facc15;
  font-size: 0.94rem;
}

@keyframes launcher-live-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .launcher-live-marquee-track {
    width: auto;
    flex-wrap: wrap;
    animation: none;
  }
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(216, 180, 254, 0.15);
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.2), transparent 13rem),
    linear-gradient(180deg, rgba(21, 15, 36, 0.92), rgba(8, 8, 19, 0.96));
  color: var(--text);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 18px 38px rgba(0, 0, 0, 0.22);
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 38%),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.16), transparent 9rem);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.65), transparent);
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(216, 180, 254, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 54px rgba(0, 0, 0, 0.3),
    0 0 32px rgba(168, 85, 247, 0.12);
}

.service-card-primary {
  grid-row: span 2;
  min-height: 21.5rem;
  border-color: rgba(192, 132, 252, 0.32);
  background:
    radial-gradient(circle at 28% 15%, rgba(216, 180, 254, 0.28), transparent 9rem),
    radial-gradient(circle at 86% 8%, rgba(168, 85, 247, 0.46), transparent 17rem),
    radial-gradient(circle at 50% 62%, rgba(109, 40, 217, 0.22), transparent 15rem),
    linear-gradient(160deg, rgba(48, 18, 80, 0.98), rgba(9, 7, 22, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 58px rgba(88, 28, 135, 0.22),
    0 18px 38px rgba(0, 0, 0, 0.24);
}

.service-card-primary .service-card-kicker {
  color: #d8b4fe;
}

.service-card-primary .service-card-cta {
  border-color: rgba(216, 180, 254, 0.32);
  background: rgba(168, 85, 247, 0.14);
}

.service-card-proclub-logo {
  width: min(9.8rem, 42vw);
  height: min(9.8rem, 42vw);
  border-radius: 26px;
  border-color: rgba(216, 180, 254, 0.32);
  background:
    radial-gradient(circle at center, rgba(168, 85, 247, 0.24), transparent 60%),
    #05020a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 34px rgba(168, 85, 247, 0.25),
    0 18px 42px rgba(0, 0, 0, 0.3);
}

.service-card-account {
  background:
    radial-gradient(circle at 82% 10%, rgba(34, 211, 238, 0.24), transparent 13rem),
    radial-gradient(circle at 18% 18%, rgba(216, 180, 254, 0.2), transparent 10rem),
    linear-gradient(155deg, rgba(13, 23, 42, 0.98), rgba(8, 8, 19, 0.96));
}

.service-card-calcetto {
  border-color: rgba(250, 204, 21, 0.3);
  background:
    radial-gradient(circle at 76% 10%, rgba(250, 204, 21, 0.42), transparent 12rem),
    radial-gradient(circle at 18% 20%, rgba(254, 240, 138, 0.18), transparent 9rem),
    linear-gradient(150deg, rgba(54, 37, 8, 0.98), rgba(8, 7, 5, 0.98));
}

.service-card-calcetto .service-card-logo {
  border-color: rgba(250, 204, 21, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(250, 204, 21, 0.2),
    0 12px 30px rgba(0, 0, 0, 0.24);
}

.service-card-calcetto .service-card-kicker {
  color: #fde68a;
}

.service-card-calcetto .service-card-cta {
  border-color: rgba(250, 204, 21, 0.34);
  background: rgba(250, 204, 21, 0.12);
}

.service-card-draft {
  border-color: rgba(129, 140, 248, 0.34);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.18), transparent 16rem),
    radial-gradient(circle at 78% 12%, rgba(129, 140, 248, 0.36), transparent 12rem),
    linear-gradient(150deg, rgba(10, 18, 35, 0.98), rgba(7, 7, 17, 0.98));
}

.service-card-draft .service-card-kicker {
  color: #c7d2fe;
}

.service-card-draft .service-card-cta {
  border-color: rgba(129, 140, 248, 0.38);
  background: rgba(99, 102, 241, 0.14);
}

.service-card-cod {
  background:
    radial-gradient(circle at 85% 12%, rgba(248, 113, 113, 0.28), transparent 12rem),
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.18), transparent 10rem),
    linear-gradient(155deg, rgba(42, 20, 17, 0.98), rgba(10, 9, 18, 0.96));
}

.service-card-button {
  width: 100%;
  appearance: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.service-card-muted {
  grid-column: 1 / -1;
  min-height: 7.8rem;
  opacity: 0.82;
  border-style: dashed;
}

.service-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: auto;
  border-radius: 18px;
  border: 1px solid rgba(216, 180, 254, 0.18);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.07);
  color: #f7f2ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-card-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.service-card-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  margin-bottom: auto;
  border-radius: 22px;
  border: 1px solid rgba(250, 204, 21, 0.24);
  background: rgba(0, 0, 0, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.service-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-kicker {
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.9;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.service-card small {
  max-width: 34ch;
  color: rgba(232, 224, 244, 0.74);
  line-height: 1.55;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 180, 254, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-proclub-view,
.draft-proclub-live-view {
  background:
    linear-gradient(180deg, rgba(3, 6, 14, 0.99), rgba(5, 8, 17, 0.99)),
    radial-gradient(circle at 78% 8%, rgba(99, 102, 241, 0.22), transparent 22rem),
    radial-gradient(circle at 14% 28%, rgba(16, 185, 129, 0.12), transparent 18rem);
}

.draft-proclub-live-view {
  z-index: 31;
}

.draft-proclub-shell,
.draft-proclub-live-shell {
  max-width: 1320px;
}

.draft-proclub-topbar,
.draft-proclub-hero,
.draft-proclub-staff-panel,
.draft-proclub-card,
.draft-captain-board,
.draft-candidate-panel,
.draft-player-pool,
.draft-proclub-empty {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(8, 13, 27, 0.84);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}

.draft-proclub-topbar {
  position: sticky;
  top: 0.65rem;
  z-index: 5;
  padding: 0.85rem;
  backdrop-filter: blur(18px);
}

.draft-proclub-topbar h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.draft-proclub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: 1.05rem;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.14), transparent 20rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(8, 13, 27, 0.92));
}

.draft-proclub-hero-copy {
  min-width: 0;
}

.draft-proclub-hero h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 6vw, 4.8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.draft-proclub-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  min-width: min(32rem, 100%);
}

.draft-proclub-stats span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.draft-proclub-stats strong {
  color: #f8fafc;
  font-size: 1.55rem;
  line-height: 1;
}

.draft-proclub-staff-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.draft-proclub-staff-grid,
.draft-proclub-staff-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.draft-proclub-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem;
  align-content: start;
}

.draft-disclosure {
  overflow: hidden;
}

.draft-disclosure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.draft-disclosure-summary::-webkit-details-marker {
  display: none;
}

.draft-disclosure-summary::after {
  content: '+';
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #c7d2fe;
  font-weight: 900;
}

.draft-disclosure[open] > .draft-disclosure-summary::after {
  content: '-';
}

.draft-disclosure-summary > span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.draft-disclosure-summary > span small {
  color: rgba(199, 210, 254, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.draft-disclosure-summary > span strong,
.draft-disclosure-summary h4 {
  min-width: 0;
  overflow: hidden;
  color: #f8fafc;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-disclosure-summary > b {
  max-width: 9rem;
  min-width: 0;
  overflow: hidden;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #bbf7d0;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.draft-disclosure-body {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.85rem;
}

.draft-proclub-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.7rem;
}

.draft-proclub-card-head h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.draft-proclub-form .field span,
.draft-proclub-admin-list small {
  font-size: 0.74rem;
}

.draft-proclub-form .field input,
.draft-proclub-form .field textarea,
.draft-proclub-form .field select {
  min-height: 2.65rem;
  padding: 0.68rem 0.75rem;
  border-radius: 8px;
  font-size: 0.86rem;
}

.draft-proclub-form .field textarea {
  min-height: 4.8rem;
}

.draft-proclub-attributes-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.draft-proclub-admin-list {
  display: grid;
  gap: 0.55rem;
  max-height: 28rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.draft-player-admin-search,
.draft-player-admin-results {
  display: grid;
  gap: 0.5rem;
}

.draft-player-admin-search {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.55rem;
  border: 1px solid rgba(129, 140, 248, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(129, 140, 248, 0.08)),
    rgba(8, 13, 27, 0.96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.draft-player-admin-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.draft-player-admin-search-head span {
  min-width: 0;
  overflow: hidden;
  color: rgba(199, 210, 254, 0.82);
  font-size: 0.68rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.draft-player-admin-search-field {
  display: grid;
  gap: 0.24rem;
}

.draft-player-admin-search-field span {
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-player-admin-search-field input {
  width: 100%;
  min-height: 2.3rem;
  padding: 0.48rem 0.58rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.82);
  color: #f8fafc;
  font-size: 0.82rem;
}

.draft-admin-row {
  display: grid;
  gap: 0.45rem;
  align-items: center;
  min-width: 0;
  padding: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.62);
}

.draft-admin-row-captain {
  grid-template-columns: minmax(11rem, 1fr) 5rem minmax(7rem, 0.8fr) auto auto;
}

.draft-admin-row-player {
  grid-template-columns: minmax(13rem, 1.1fr) minmax(5rem, 0.42fr) minmax(8rem, 0.74fr) minmax(8rem, 0.74fr) minmax(8.4rem, auto);
}

.draft-admin-row > div,
.draft-admin-player span,
.draft-admin-control {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.draft-admin-control span {
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.34rem;
  min-width: 0;
}

.draft-admin-actions .small-button {
  min-width: 0;
  width: 100%;
}

.draft-admin-row strong,
.draft-admin-player strong {
  min-width: 0;
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-admin-row input,
.draft-admin-row select {
  min-width: 0;
  min-height: 2.25rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.78);
  color: #f8fafc;
  font-size: 0.78rem;
}

.draft-admin-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

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

.draft-board-list,
.draft-side-stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.draft-side-stack {
  position: sticky;
  top: 6rem;
}

.draft-side-stack:empty {
  display: none;
}

.draft-side-stack .draft-player-pool:only-child {
  align-self: start;
}

.draft-captain-board {
  padding: 0.9rem;
}

.draft-captain-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.draft-captain-board-head h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.draft-credit-meter {
  display: grid;
  justify-items: center;
  min-width: 5.3rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #bbf7d0;
  text-transform: uppercase;
}

.draft-credit-meter strong {
  color: #f8fafc;
  font-size: 1.45rem;
  line-height: 1;
}

.draft-credit-meter span {
  font-size: 0.68rem;
  font-weight: 900;
}

.draft-pitch {
  display: grid;
  gap: 0.7rem;
  min-height: 31rem;
  padding: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 50% 0 / 50% 100% no-repeat,
    linear-gradient(180deg, rgba(16, 185, 129, 0.11), rgba(21, 128, 61, 0.08)),
    #06130e;
}

.draft-pitch-row {
  display: grid;
  grid-template-columns: repeat(var(--draft-cols), minmax(0, 1fr));
  gap: 0.6rem;
  align-items: center;
}

.draft-slot-wrap {
  position: relative;
  min-width: 0;
}

.draft-slot-button {
  display: grid;
  gap: 0.18rem;
  width: 100%;
  min-height: 5.65rem;
  padding: 0.55rem;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.78);
  color: #f8fafc;
  text-align: center;
  cursor: pointer;
}

.draft-slot-button span,
.draft-slot-button small {
  min-width: 0;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.64rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.draft-slot-button strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.86rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-slot-wrap.is-filled .draft-slot-button {
  border-color: rgba(16, 185, 129, 0.42);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(2, 6, 23, 0.84)),
    rgba(2, 6, 23, 0.8);
}

.draft-slot-wrap.is-active .draft-slot-button {
  border-color: rgba(129, 140, 248, 0.72);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.draft-slot-clear {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid rgba(248, 113, 113, 0.36);
  border-radius: 999px;
  background: rgba(127, 29, 29, 0.94);
  color: #fee2e2;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.draft-candidate-panel,
.draft-player-pool {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
}

.draft-candidate-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.draft-candidate-meta span,
.draft-candidate-meta strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-candidate-meta .small-button {
  grid-column: 1 / -1;
  justify-self: start;
}

.draft-candidate-list,
.draft-player-pool-list {
  display: grid;
  gap: 0.55rem;
  max-height: 28rem;
  overflow: auto;
}

.draft-candidate-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid rgba(129, 140, 248, 0.16);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
}

.draft-candidate-card.is-disabled {
  opacity: 0.54;
}

.draft-candidate-main,
.draft-player-pool-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.draft-candidate-main span,
.draft-player-pool-row span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.draft-candidate-main strong,
.draft-player-pool-row strong {
  min-width: 0;
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-candidate-main small,
.draft-player-pool-row small {
  min-width: 0;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.66);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-candidate-main b,
.draft-player-pool-row b {
  display: inline-grid;
  place-items: center;
  min-width: 2.15rem;
  min-height: 2.15rem;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
  font-size: 0.82rem;
}

.draft-grade-pill {
  display: inline-grid;
  place-items: center;
  min-width: 2.35rem;
  min-height: 2.15rem;
  padding: 0.28rem 0.42rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.draft-grade-pill strong,
.draft-grade-pill small {
  display: block;
  line-height: 1;
}

.draft-grade-pill strong {
  color: inherit;
  font-size: 0.74rem;
}

.draft-grade-pill small {
  margin-top: 0.14rem;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.54rem;
}

.draft-grade-pill.is-compact {
  min-width: 2.05rem;
  min-height: 2.05rem;
  padding: 0.22rem 0.34rem;
}

.draft-grade-pill.is-grade-s {
  border-color: rgba(250, 204, 21, 0.52);
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.28), rgba(124, 58, 237, 0.18));
  color: #fef3c7;
}

.draft-grade-pill.is-grade-a {
  border-color: rgba(56, 189, 248, 0.48);
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.26), rgba(29, 78, 216, 0.2));
  color: #dbeafe;
}

.draft-grade-pill.is-grade-b {
  border-color: rgba(52, 211, 153, 0.42);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.22), rgba(15, 118, 110, 0.16));
  color: #d1fae5;
}

.draft-grade-pill.is-grade-c {
  border-color: rgba(251, 146, 60, 0.44);
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.2), rgba(120, 53, 15, 0.16));
  color: #ffedd5;
}

.draft-grade-pill.is-grade-d {
  border-color: rgba(148, 163, 184, 0.34);
  background: linear-gradient(145deg, rgba(71, 85, 105, 0.34), rgba(15, 23, 42, 0.28));
  color: #e2e8f0;
}

.draft-candidate-main .draft-grade-pill,
.draft-player-pool-row .draft-grade-pill {
  justify-self: end;
}

.draft-player-pool-row {
  padding: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.56);
}

.draft-player-pool-row.is-picked {
  opacity: 0.68;
}

.draft-proclub-empty {
  display: grid;
  gap: 0.25rem;
  padding: 1.4rem;
  color: rgba(226, 232, 240, 0.72);
}

.draft-proclub-empty strong {
  color: #f8fafc;
  font-size: 1.1rem;
}

.draft-player-modal {
  background: rgba(2, 6, 23, 0.84);
}

.draft-player-modal-card {
  width: min(760px, 100%);
  border-radius: 8px;
  border-color: rgba(129, 140, 248, 0.28);
  background:
    radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.18), transparent 19rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 0.98));
  animation: draftPlayerIn 180ms ease both;
}

@keyframes draftPlayerIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.draft-player-detail-card {
  display: grid;
  gap: 0.85rem;
}

.draft-player-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.76);
}

.draft-player-detail-hero .avatar {
  width: 4rem;
  height: 4rem;
}

.draft-player-detail-hero h4 {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 0.88;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.draft-player-detail-hero p {
  margin: 0.2rem 0 0;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.84rem;
}

.draft-player-detail-score {
  display: grid;
  gap: 0.32rem;
  justify-items: center;
}

.draft-player-detail-score > strong {
  display: inline-grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.14);
  color: #dcfce7;
  font-size: 1.7rem;
}

.draft-player-detail-score .draft-grade-pill {
  width: 4.2rem;
  min-width: 0;
  min-height: 1.85rem;
}

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

.draft-player-attribute {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.62);
}

.draft-player-attribute strong {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.68rem;
}

.draft-player-attribute b {
  color: #f8fafc;
  font-size: 1.15rem;
  line-height: 1;
}

.draft-player-attribute i {
  width: 100%;
  height: 0.32rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.9);
}

.draft-player-attribute i::before {
  content: '';
  display: block;
  width: var(--draft-attr);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #10b981, #818cf8);
}

.draft-player-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.55rem;
}

.draft-player-detail-meta span {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.54);
}

.draft-player-detail-meta strong {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.draft-player-detail-meta b {
  min-width: 0;
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-player-notes {
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.5);
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.85rem;
  line-height: 1.55;
}

.draft-proclub-live-topbar {
  position: sticky;
  top: 0.65rem;
  z-index: 6;
  padding: 0.75rem;
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 8px;
  background: rgba(8, 13, 27, 0.92);
  backdrop-filter: blur(18px);
}

.draft-proclub-live-topbar h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.draft-live-layout {
  display: grid;
  grid-template-columns: minmax(9rem, 0.2fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.draft-live-rail,
.draft-live-pitch-card,
.draft-live-candidates,
.draft-live-picked {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(8, 13, 27, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
}

.draft-live-rail {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 0.5rem;
  padding: 0.55rem;
  max-height: calc(100vh - 7rem);
  overflow: auto;
}

.draft-live-team {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.45rem;
  align-items: center;
  width: 100%;
  padding: 0.52rem;
  border: 1px solid rgba(129, 140, 248, 0.12);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.62);
  color: #f8fafc;
  text-align: left;
  cursor: pointer;
}

.draft-live-team span {
  display: inline-grid;
  grid-row: span 2;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
  font-size: 0.75rem;
  font-weight: 900;
}

.draft-live-team strong,
.draft-live-team small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-live-team strong {
  font-size: 0.8rem;
}

.draft-live-team small {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.62rem;
}

.draft-live-team.is-active {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.12);
}

.draft-live-stage {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.draft-live-pitch-card,
.draft-live-candidates,
.draft-live-picked {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
}

.draft-live-captain-head,
.draft-live-candidates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.draft-live-captain-head h3,
.draft-live-candidates-head h3,
.draft-live-candidates.is-empty h3 {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 0.9;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.draft-live-pitch {
  display: grid;
  gap: 0.48rem;
  min-height: 23rem;
  padding: 0.7rem;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 50% 0 / 50% 100% no-repeat,
    linear-gradient(180deg, rgba(16, 185, 129, 0.1), rgba(21, 128, 61, 0.08)),
    #06130e;
}

.draft-live-pitch-row {
  display: grid;
  grid-template-columns: repeat(var(--draft-cols), minmax(0, 1fr));
  gap: 0.45rem;
}

.draft-live-slot {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
  min-height: 4.45rem;
  padding: 0.42rem;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.78);
  color: #f8fafc;
  text-align: center;
  cursor: pointer;
}

.draft-live-slot span,
.draft-live-slot small {
  min-width: 0;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.66);
  font-size: 0.55rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.draft-live-slot strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-live-slot.is-filled {
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.14);
}

.draft-live-slot.is-active {
  border-color: rgba(129, 140, 248, 0.72);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.draft-live-candidate-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #bbf7d0;
  font-size: 0.78rem;
}

.draft-live-player-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.08rem;
}

.draft-live-player-card {
  display: grid;
  position: relative;
  gap: 0.5rem;
  min-width: 0;
  overflow: hidden;
  padding: 0.48rem;
  border: 1px solid rgba(241, 245, 249, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(241, 245, 249, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(20, 24, 38, 0.98), rgba(5, 8, 18, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 16px 34px rgba(0, 0, 0, 0.28);
  animation: draftLiveCardIn 300ms ease both;
  animation-delay: var(--draft-delay);
}

.draft-live-player-card::before {
  content: '';
  position: absolute;
  inset: -45% auto auto -75%;
  width: 60%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0;
  pointer-events: none;
  transform: rotate(18deg);
  animation: draftLiveCardSweep 760ms ease both;
  animation-delay: calc(var(--draft-delay) + 80ms);
}

.draft-live-player-card.is-tier-elite {
  border-color: rgba(56, 189, 248, 0.48);
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.28), transparent 48%),
    linear-gradient(160deg, rgba(7, 89, 133, 0.8), rgba(10, 16, 34, 0.98) 46%, rgba(2, 6, 23, 0.98));
}

.draft-live-player-card.is-tier-gold {
  border-color: rgba(250, 204, 21, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.26), transparent 48%),
    linear-gradient(160deg, rgba(113, 63, 18, 0.82), rgba(12, 14, 24, 0.98) 46%, rgba(2, 6, 23, 0.98));
}

.draft-live-player-card.is-tier-rare {
  border-color: rgba(129, 140, 248, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(129, 140, 248, 0.25), transparent 48%),
    linear-gradient(160deg, rgba(49, 46, 129, 0.82), rgba(10, 14, 30, 0.98) 46%, rgba(2, 6, 23, 0.98));
}

.draft-live-player-card.is-tier-silver {
  border-color: rgba(203, 213, 225, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(203, 213, 225, 0.18), transparent 46%),
    linear-gradient(160deg, rgba(51, 65, 85, 0.8), rgba(9, 12, 22, 0.98) 46%, rgba(2, 6, 23, 0.98));
}

@keyframes draftLiveCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes draftLiveCardSweep {
  0% {
    opacity: 0;
    transform: translateX(0) rotate(18deg);
  }
  30% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translateX(260%) rotate(18deg);
  }
}

.draft-live-player-card.is-disabled {
  display: grid;
  opacity: 0.62;
}

.draft-live-card-face {
  display: grid;
  gap: 0.34rem;
  justify-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
}

.draft-live-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.35rem;
}

.draft-live-card-top b {
  color: #f8fafc;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem;
  line-height: 0.9;
}

.draft-live-card-top small,
.draft-live-card-value {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.42);
  color: rgba(248, 250, 252, 0.76);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.28rem 0.36rem;
  text-transform: uppercase;
}

.draft-live-card-top .draft-grade-pill {
  min-width: 2rem;
  min-height: 1.85rem;
  border-radius: 7px;
}

.draft-live-card-top .draft-grade-pill strong {
  font-size: 0.72rem;
}

.draft-live-card-top .draft-grade-pill small {
  margin-top: 0.1rem;
  font-size: 0.48rem;
}

.draft-live-card-avatar .avatar {
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.08);
  font-size: 1rem;
}

.draft-live-card-face > strong,
.draft-live-card-face > small {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-live-card-face > strong {
  color: #f8fafc;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.draft-live-card-face > small {
  color: rgba(226, 232, 240, 0.66);
  font-size: 0.56rem;
  font-weight: 800;
}

.draft-live-player-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.22rem;
}

.draft-live-player-stats span {
  display: flex;
  justify-content: space-between;
  gap: 0.1rem;
  padding: 0.22rem 0.28rem;
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.58);
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.46rem;
  font-weight: 900;
}

.draft-live-player-stats b {
  color: #f8fafc;
  font-size: 0.58rem;
}

.draft-live-player-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: 0.28rem;
}

.draft-live-player-card .small-button {
  min-height: 2.1rem;
  border-radius: 6px;
  padding: 0.4rem 0.28rem;
  font-size: 0.58rem;
  line-height: 1.05;
}

.draft-live-picked {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.draft-live-picked-chip {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  max-width: 11rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #f8fafc;
  text-align: left;
  cursor: pointer;
}

.draft-live-picked-chip strong,
.draft-live-picked-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-live-picked-chip strong {
  font-size: 0.72rem;
}

.draft-live-picked-chip span,
.draft-live-picked-empty {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.58rem;
}

.call-of-duty-shell {
  max-width: 1180px;
}

.call-of-duty-topbar {
  border-color: rgba(248, 113, 113, 0.18);
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(18, 12, 28, 0.96), rgba(8, 8, 18, 0.94));
}

.call-of-duty-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  border-radius: 26px;
  border: 1px solid rgba(248, 113, 113, 0.15);
  background:
    radial-gradient(circle at top right, rgba(248, 113, 113, 0.16), transparent 18rem),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.09), transparent 16rem),
    linear-gradient(180deg, rgba(17, 12, 27, 0.94), rgba(8, 8, 18, 0.92));
  box-shadow: var(--shadow);
}

.call-of-duty-hero-panel h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.call-of-duty-hero-panel p:not(.eyebrow) {
  margin: 0.55rem 0 0;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.65;
}

.call-of-duty-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(7rem, 1fr));
  gap: 0.7rem;
}

.call-of-duty-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.call-of-duty-sidebar,
.call-of-duty-meta-panel,
.call-of-duty-builds-panel {
  border-color: rgba(248, 113, 113, 0.12);
}

.call-of-duty-builds-panel {
  grid-column: 1 / -1;
}

.call-of-duty-filter-block {
  display: grid;
  gap: 0.55rem;
}

.call-of-duty-filter-block > span {
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.call-of-duty-filter-grid {
  display: grid;
  gap: 0.5rem;
}

.call-of-duty-filter-button {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(216, 180, 254, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.call-of-duty-filter-button:hover,
.call-of-duty-filter-button.is-active {
  border-color: rgba(248, 113, 113, 0.32);
  background:
    linear-gradient(180deg, rgba(127, 29, 29, 0.32), rgba(24, 12, 22, 0.88)),
    rgba(248, 113, 113, 0.08);
}

.call-of-duty-source-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  background: rgba(245, 158, 11, 0.07);
}

.call-of-duty-source-card strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.call-of-duty-source-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.call-of-duty-source-card a {
  color: #fed7aa;
  font-weight: 800;
  text-decoration: none;
}

.call-of-duty-admin-panel {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(216, 180, 254, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.call-of-duty-admin-panel .stack-form {
  gap: 0.65rem;
}

.call-of-duty-meta-grid {
  display: grid;
  gap: 0.9rem;
}

.call-of-duty-tier-section {
  display: grid;
  gap: 0.65rem;
}

.call-of-duty-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 18px;
  border: 1px solid rgba(216, 180, 254, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.call-of-duty-tier-head span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.call-of-duty-tier-head small {
  color: var(--muted);
  font-weight: 800;
}

.call-of-duty-tier-list {
  display: grid;
  gap: 0.55rem;
}

.call-of-duty-weapon-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(216, 180, 254, 0.1);
  background:
    linear-gradient(90deg, rgba(248, 113, 113, 0.1), transparent 38%),
    rgba(7, 8, 18, 0.72);
}

.call-of-duty-weapon-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 14px;
  border: 1px solid rgba(248, 113, 113, 0.22);
  background: rgba(248, 113, 113, 0.12);
  color: #fff7ed;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.call-of-duty-weapon-copy {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

.call-of-duty-weapon-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.call-of-duty-weapon-topline span,
.call-of-duty-weapon-stats span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.24rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 224, 244, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
}

.call-of-duty-weapon-copy h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.call-of-duty-weapon-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.call-of-duty-weapon-stats strong {
  margin-right: 0.25rem;
  color: #fff;
}

.call-of-duty-weapon-card code {
  grid-column: 2 / -1;
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  color: #fed7aa;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.call-of-duty-copy-button,
.call-of-duty-remove-button {
  white-space: nowrap;
}

.call-of-duty-build-form {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(216, 180, 254, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.call-of-duty-builds-grid {
  display: grid;
  gap: 0.65rem;
}

.call-of-duty-build-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(216, 180, 254, 0.1);
  background:
    linear-gradient(120deg, rgba(168, 85, 247, 0.1), transparent 40%),
    rgba(7, 8, 18, 0.72);
}

.call-of-duty-build-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 15px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  background: rgba(168, 85, 247, 0.14);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.call-of-duty-build-copy {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.call-of-duty-build-copy h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.call-of-duty-build-name {
  margin: 0;
  color: #f5d0fe;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.call-of-duty-build-meta,
.call-of-duty-build-tags,
.call-of-duty-build-votes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.call-of-duty-build-meta span,
.call-of-duty-build-tags span {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 224, 244, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
}

.call-of-duty-build-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.call-of-duty-build-details {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.2rem;
  padding: 0.7rem;
  border-radius: 16px;
  border: 1px solid rgba(216, 180, 254, 0.1);
  background: rgba(0, 0, 0, 0.16);
}

.call-of-duty-build-details strong {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.call-of-duty-build-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.call-of-duty-build-votes {
  display: grid;
  justify-content: flex-end;
  min-width: 11rem;
}

.call-of-duty-vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 180, 254, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.call-of-duty-vote-button.is-active-positive,
.call-of-duty-vote-button.is-positive-active {
  border-color: rgba(34, 197, 94, 0.36);
  background: rgba(34, 197, 94, 0.14);
  color: #dcfce7;
}

.call-of-duty-vote-button.is-active-negative,
.call-of-duty-vote-button.is-negative-active {
  border-color: rgba(248, 113, 113, 0.36);
  background: rgba(248, 113, 113, 0.14);
  color: #fee2e2;
}

.call-of-duty-vote-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.call-of-duty-build-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  color: #fed7aa;
  font-weight: 900;
}

.call-of-duty-build-score strong {
  margin-right: 0.35rem;
  color: #fff;
}

.call-of-duty-build-score span {
  color: rgba(254, 215, 170, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-matches-shell {
  max-width: 1180px;
}

.watch-matches-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.watch-matches-sidebar,
.watch-matches-player-panel {
  border-color: rgba(34, 211, 238, 0.14);
}

.watch-matches-sidebar {
  min-width: 0;
}

.watch-matches-filter-grid,
.watch-matches-list,
.watch-matches-player-meta {
  display: grid;
  gap: 0.7rem;
}

.watch-matches-player-panel {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.watch-matches-player-actions {
  position: static;
  z-index: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  width: 100%;
  padding: 0.45rem;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 18px;
  background: rgba(4, 7, 18, 0.72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.watch-matches-expanded-dock {
  position: fixed;
  top: calc(0.8rem + env(safe-area-inset-top));
  left: 50%;
  z-index: 170;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  width: min(94vw, 38rem);
  padding: 0.45rem;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.watch-matches-expanded-dock.hidden {
  display: none !important;
}

.watch-matches-expanded-dock .small-button {
  min-height: 2.35rem;
}

.watch-matches-player-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  min-height: clamp(14rem, 45vw, 30rem);
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  background:
    radial-gradient(circle at 30% 10%, rgba(34, 211, 238, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(7, 8, 18, 0.98), rgba(18, 10, 32, 0.94));
  overflow: hidden;
}

.watch-matches-player-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  min-height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
  background: #000;
}

.watch-matches-player-shell.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 150;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  min-height: 100dvh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: #000;
  touch-action: manipulation;
}

.watch-matches-player-frame,
.watch-matches-player-fallback {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-height: clamp(14rem, 45vw, 30rem);
  border: 0;
}

.watch-matches-player-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
}

.watch-matches-player-shell.is-expanded .watch-matches-player-frame {
  object-fit: contain;
}

.watch-matches-player-frame.hidden {
  display: none !important;
}

.watch-matches-player-shell:fullscreen .watch-matches-player-frame,
.watch-matches-player-shell:fullscreen .watch-matches-player-fallback,
.watch-matches-player-shell.is-expanded .watch-matches-player-frame,
.watch-matches-player-shell.is-expanded .watch-matches-player-fallback {
  min-height: 100dvh;
}

.watch-matches-player-fallback {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.45rem;
  padding: 1.5rem;
  color: var(--muted);
  text-align: center;
}

.watch-matches-player-fallback strong {
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.watch-matches-player-meta span {
  padding: 0.62rem 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 0.84rem;
}

.watch-matches-player-meta strong {
  color: var(--text);
}

.watch-match-card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
}

.watch-match-card,
.watch-match-card-fullscreen {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(216, 180, 254, 0.1);
  background: rgba(9, 9, 18, 0.72);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.watch-match-card {
  padding: 0.85rem;
  text-align: left;
}

.watch-match-card-fullscreen {
  place-items: center;
  min-width: 8.8rem;
  padding: 0.75rem 0.9rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.16), transparent 4.5rem),
    rgba(8, 13, 26, 0.84);
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.watch-match-card:hover,
.watch-match-card-row.is-active .watch-match-card,
.watch-match-card-fullscreen:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.32);
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.12), transparent 55%),
    rgba(9, 9, 18, 0.88);
}

.watch-match-card-row.is-active .watch-match-card-fullscreen {
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.watch-match-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.watch-match-card-topline span {
  width: fit-content;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 224, 244, 0.76);
  font-size: 0.7rem;
  font-weight: 900;
}

.watch-match-card strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.watch-match-card-score {
  color: #e0f2fe;
  font-weight: 900;
}

.watch-match-card small {
  color: var(--muted);
}

.friendly-shell {
  max-width: 1180px;
}

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

.friendly-sidebar,
.friendly-board-panel {
  border-color: rgba(34, 211, 238, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 12, 23, 0.94), rgba(8, 8, 18, 0.91)),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 18rem);
}

.friendly-main,
.friendly-form-grid,
.friendly-list-grid,
.friendly-card-copy,
.friendly-card-meta,
.friendly-card-contact,
.friendly-board-tools,
.friendly-kpi-row {
  display: grid;
  gap: 0.7rem;
}

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

.friendly-board-head {
  align-items: end;
}

.friendly-day-filter {
  min-width: min(100%, 12rem);
}

.friendly-board-tools {
  grid-template-columns: minmax(0, 12rem) auto;
  align-items: end;
}

.friendly-kpi-row {
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: start;
}

.friendly-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 22px;
  border: 1px solid rgba(216, 180, 254, 0.12);
  background:
    linear-gradient(135deg, rgba(14, 14, 28, 0.9), rgba(9, 11, 22, 0.84)),
    radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.1), transparent 14rem);
}

.friendly-card.is-accepted {
  border-color: rgba(34, 197, 94, 0.2);
  background:
    linear-gradient(135deg, rgba(10, 24, 18, 0.88), rgba(9, 11, 22, 0.84)),
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.1), transparent 14rem);
}

.friendly-card.is-own {
  border-color: rgba(168, 85, 247, 0.24);
}

.friendly-card.is-pending-action {
  opacity: 0.68;
  pointer-events: none;
}

.friendly-card-topline,
.friendly-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
}

.friendly-viewer-pill {
  width: fit-content;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  color: #f5d0fe;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.friendly-card-time {
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.friendly-status-pill {
  width: fit-content;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: #cffafe;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.friendly-status-pill.is-accepted {
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.friendly-card-team {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}

.friendly-card-team strong {
  display: block;
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.friendly-card-team small,
.friendly-card-meta > span,
.friendly-card-contact span {
  color: var(--muted);
}

.friendly-card-label {
  display: block;
  margin-bottom: 0.22rem;
  color: rgba(34, 211, 238, 0.82);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.friendly-versus {
  width: fit-content;
  margin-left: 2.1rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 224, 244, 0.84);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

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

.friendly-card-meta > span,
.friendly-card-contact {
  padding: 0.58rem 0.7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.84rem;
}

.friendly-card-contact strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.friendly-card-contact a {
  color: #e0f2fe;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.friendly-card-note {
  margin: 0;
  color: rgba(232, 224, 244, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
}

.friendly-list-compact .friendly-card {
  padding: 0.78rem;
}

.stream-tool-shell {
  gap: 1.15rem;
}

.stream-tool-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: 1rem;
  align-items: start;
}

.stream-tool-sidebar,
.stream-tool-control-panel {
  border-color: rgba(250, 204, 21, 0.18);
  background:
    linear-gradient(180deg, rgba(16, 13, 20, 0.94), rgba(8, 8, 14, 0.9)),
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.08), transparent 18rem);
}

.stream-tool-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.7rem;
}

.stream-tool-active-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.6rem;
  margin: 0.9rem 0 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 20px;
  background: rgba(250, 204, 21, 0.07);
}

.stream-tool-active-card strong,
.stream-tool-channel-copy strong {
  display: block;
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stream-tool-active-card small,
.stream-tool-channel-copy small,
.stream-tool-channel-copy span {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.stream-tool-live-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.58);
  animation: stream-tool-pulse 1.4s infinite;
}

@keyframes stream-tool-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.58);
  }
  70% {
    box-shadow: 0 0 0 0.7rem rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.stream-tool-remote-list {
  display: grid;
  gap: 0.75rem;
}

.stream-tool-remote-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: rgba(12, 10, 18, 0.76);
}

.stream-tool-remote-card.is-active {
  border-color: rgba(250, 204, 21, 0.55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.stream-tool-channel-number {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 16px;
  color: #111827;
  font-weight: 900;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.stream-tool-channel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.stream-tool-audio-button {
  min-width: 5.4rem;
}

.stream-tool-audio-button.is-live {
  border-color: rgba(34, 197, 94, 0.38);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.1);
}

.stream-tool-audio-button.is-muted {
  border-color: rgba(248, 113, 113, 0.34);
  color: #fecaca;
  background: rgba(248, 113, 113, 0.1);
}

.stream-tool-control-panel .small-button.is-active,
.stream-tool-control-panel .ghost-button.is-active {
  border-color: rgba(250, 204, 21, 0.55);
  color: #fef3c7;
  background: rgba(250, 204, 21, 0.12);
}

.social-view-shell {
  max-width: 980px;
  min-height: calc(100svh - 3rem);
  align-content: center;
}

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

.social-view-link {
  min-height: 8.5rem;
  padding: 1.2rem;
}

.social-view-link .social-hub-icon {
  width: 3.2rem;
  height: 3.2rem;
}

.social-view-link strong {
  font-size: 1.55rem;
}

.account-shell {
  max-width: 1080px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.account-auth-card,
.account-info-card {
  border-color: rgba(34, 211, 238, 0.14);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.1), transparent 14rem),
    rgba(9, 9, 18, 0.88);
}

.account-auth-card h3,
.account-info-card h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.account-info-card {
  display: grid;
  gap: 0.55rem;
}

.account-info-card p {
  margin: 0;
  color: rgba(232, 224, 244, 0.76);
  line-height: 1.65;
}

.account-status-card,
.password-support-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  background: rgba(5, 8, 18, 0.66);
}

.account-status-card strong,
.password-support-card strong {
  color: #f8fafc;
  font-size: 1rem;
}

.account-status-card span,
.password-support-card span {
  color: var(--muted);
  line-height: 1.55;
}

.calcetto-league-shell {
  max-width: 1120px;
}

.calcetto-league-topbar,
.calcetto-league-section,
.calcetto-league-hero {
  border-color: rgba(250, 204, 21, 0.26);
}

.calcetto-league-topbar {
  background:
    radial-gradient(circle at 12% 8%, rgba(250, 204, 21, 0.18), transparent 14rem),
    radial-gradient(circle at 92% 0%, rgba(245, 158, 11, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(26, 18, 6, 0.96), rgba(8, 8, 14, 0.95));
}

.calcetto-league-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.calcetto-league-brand img {
  width: clamp(4.8rem, 10vw, 7rem);
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid rgba(250, 204, 21, 0.42);
  background: #050505;
  box-shadow:
    0 0 30px rgba(250, 204, 21, 0.18),
    0 14px 32px rgba(0, 0, 0, 0.28);
  object-fit: cover;
}

.calcetto-top-menu {
  position: relative;
  min-width: 10.5rem;
}

.calcetto-top-menu.hidden {
  display: none;
}

.calcetto-top-menu summary {
  display: grid;
  gap: 0.08rem;
  min-height: 2.65rem;
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(250, 204, 21, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(250, 204, 21, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(7, 7, 10, 0.88);
  color: inherit;
  cursor: pointer;
  list-style: none;
}

.calcetto-top-menu summary::-webkit-details-marker {
  display: none;
}

.calcetto-top-menu summary span {
  color: rgba(254, 240, 138, 0.72);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calcetto-top-menu summary strong {
  overflow: hidden;
  color: #fff7d6;
  font-size: 0.8rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-top-menu-list {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 13rem;
  max-height: min(22rem, calc(100dvh - 8rem));
  padding: 0.38rem;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 16px;
  background: rgba(6, 6, 10, 0.98);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.calcetto-top-menu-list button {
  padding: 0.62rem 0.68rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(248, 250, 252, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.calcetto-top-menu-list button.is-active,
.calcetto-top-menu-list button:hover {
  background: rgba(250, 204, 21, 0.12);
  color: #fff7d6;
}

.calcetto-league-brand .eyebrow,
.calcetto-league-hero .eyebrow,
.calcetto-league-section .eyebrow {
  color: #fde68a;
}

.calcetto-league-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background:
    radial-gradient(circle at 88% 12%, rgba(250, 204, 21, 0.24), transparent 16rem),
    radial-gradient(circle at 18% 18%, rgba(245, 158, 11, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(31, 22, 7, 0.94), rgba(8, 8, 14, 0.96));
}

.calcetto-league-hero h3,
.calcetto-league-section h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.calcetto-league-hero p {
  margin: 0.6rem 0 0;
  max-width: 62ch;
  color: rgba(248, 250, 252, 0.74);
  line-height: 1.65;
}

.calcetto-league-status {
  display: grid;
  gap: 0.55rem;
  min-width: 12rem;
}

.calcetto-league-status span {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.18);
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

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

.calcetto-league-workspace.hidden {
  display: none;
}

.calcetto-area-chooser {
  display: grid;
  gap: 1rem;
}

.calcetto-area-chooser.is-compact {
  padding: 0.75rem;
}

.calcetto-area-chooser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.calcetto-area-chooser-head h3 {
  margin: 0;
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

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

.calcetto-area-card {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  min-height: 8.4rem;
  padding: 1rem;
  border: 1px solid rgba(250, 204, 21, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.16), transparent 12rem),
    rgba(5, 5, 8, 0.72);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.calcetto-area-card.is-sunset {
  border-color: rgba(251, 146, 60, 0.22);
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.16), transparent 12rem),
    radial-gradient(circle at bottom left, rgba(250, 204, 21, 0.08), transparent 10rem),
    rgba(5, 5, 8, 0.72);
}

.calcetto-area-card:hover,
.calcetto-area-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(250, 204, 21, 0.46);
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.22), transparent 12rem),
    rgba(5, 5, 8, 0.86);
}

.calcetto-area-card span {
  color: rgba(250, 204, 21, 0.78);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calcetto-area-card strong {
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.calcetto-area-card small {
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.78rem;
}

.calcetto-public-grid {
  align-items: start;
}

.calcetto-public-grid.hidden {
  display: none;
}

.calcetto-public-priority {
  order: 1;
}

.calcetto-competition-selector {
  order: 2;
}

.calcetto-league-section {
  display: grid;
  gap: 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.1), transparent 13rem),
    rgba(9, 9, 18, 0.86);
}

.calcetto-league-section-wide {
  grid-column: 1 / -1;
}

.calcetto-management-panel {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 30px;
  border: 1px solid rgba(250, 204, 21, 0.16);
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.13), transparent 16rem),
    rgba(3, 3, 8, 0.62);
}

.calcetto-management-panel.hidden {
  display: none;
}

.calcetto-management-header {
  padding: 0.35rem 0.2rem;
}

.calcetto-management-stack,
.calcetto-competition-manager,
.calcetto-manager-tabs,
.calcetto-manager-detail,
.calcetto-manager-teams {
  display: grid;
  gap: 0.85rem;
}

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

.calcetto-management-card {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(250, 204, 21, 0.13);
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.08), transparent 12rem),
    rgba(5, 5, 8, 0.58);
}

.calcetto-team-editor-card.is-editing {
  border-color: rgba(250, 204, 21, 0.42);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.12), 0 22px 60px rgba(250, 204, 21, 0.08);
}

.calcetto-edit-notice {
  display: grid;
  gap: 0.18rem;
  padding: 0.75rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(250, 204, 21, 0.24);
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(3, 3, 8, 0.72);
}

.calcetto-edit-notice.hidden {
  display: none;
}

.calcetto-edit-notice strong {
  color: #fff7d6;
}

.calcetto-edit-notice span {
  color: rgba(248, 250, 252, 0.66);
  line-height: 1.45;
}

.calcetto-management-card-wide {
  grid-column: 1 / -1;
}

.calcetto-management-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.calcetto-management-card-head h4,
.calcetto-manager-detail-head h4 {
  margin: 0;
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calcetto-management-card-head p,
.calcetto-manager-detail-head span,
.calcetto-manager-help span {
  margin: 0.25rem 0 0;
  color: rgba(248, 250, 252, 0.64);
  line-height: 1.5;
}

.calcetto-competition-manager-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.78fr) minmax(0, 1.42fr);
  gap: 0.9rem;
  align-items: start;
}

.calcetto-manager-tab,
.calcetto-manager-detail,
.calcetto-manager-help,
.calcetto-manager-team-row {
  border: 1px solid rgba(250, 204, 21, 0.12);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 18px;
}

.calcetto-manager-tab {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  padding: 0.85rem;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.calcetto-manager-tab:hover,
.calcetto-manager-tab.is-active {
  transform: translateY(-1px);
  border-color: rgba(250, 204, 21, 0.36);
  background: rgba(250, 204, 21, 0.08);
}

.calcetto-manager-tab strong {
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.calcetto-manager-tab span,
.calcetto-manager-team-row small {
  color: rgba(248, 250, 252, 0.58);
  font-size: 0.78rem;
}

.calcetto-manager-detail {
  padding: 1rem;
}

.calcetto-manager-detail-head,
.calcetto-manager-add-team,
.calcetto-manager-team-row {
  display: grid;
  gap: 0.75rem;
}

.calcetto-manager-detail-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.calcetto-manager-detail-title,
.calcetto-detail-title {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
}

.calcetto-manager-detail-title > div,
.calcetto-detail-title > div {
  min-width: 0;
}

.calcetto-manager-detail-title .team-logo-thumb,
.calcetto-detail-title .team-logo-thumb {
  width: 3.15rem;
  height: 3.15rem;
  flex-basis: 3.15rem;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.18);
}

.calcetto-manager-add-team {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
}

.calcetto-competition-logo-inline {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1.25fr);
  gap: 0.72rem;
  align-items: stretch;
  padding: 0.72rem;
  margin-top: 0.85rem;
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.24);
}

.calcetto-competition-logo-preview-inline,
.calcetto-competition-logo-preview-card {
  min-width: 0;
}

.calcetto-competition-logo-preview-inline .calcetto-logo-preview-card,
.calcetto-competition-logo-preview-inline .calcetto-logo-preview-empty {
  height: 100%;
  border-radius: 14px;
}

.calcetto-competition-logo-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 0.52rem;
  align-items: end;
}

.calcetto-file-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.calcetto-file-button input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.calcetto-manager-help {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem;
}

.calcetto-manager-help strong {
  color: #fde68a;
}

.calcetto-manager-team-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.7rem;
}

.calcetto-manager-team-row span {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.calcetto-manager-team-row strong,
.calcetto-manager-team-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-matchday-empty,
.calcetto-placeholder-table {
  border-radius: 22px;
  border: 1px solid rgba(250, 204, 21, 0.12);
  background: rgba(5, 5, 8, 0.5);
}

.calcetto-matchday-empty span {
  color: var(--muted);
  line-height: 1.55;
}

.calcetto-matchday-empty strong {
  color: #fff7d6;
  font-size: 1.02rem;
}

.calcetto-placeholder-table {
  overflow: hidden;
}

.calcetto-placeholder-table > div {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem 3rem;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  color: rgba(248, 250, 252, 0.84);
}

.calcetto-placeholder-table > div:first-child {
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calcetto-matchday-empty {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.calcetto-admin-panel {
  margin-bottom: 1rem;
}

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

.calcetto-admin-grid .stack-form:last-child {
  grid-column: 1 / -1;
}

.calcetto-founder-tools {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(250, 204, 21, 0.14);
  background: rgba(0, 0, 0, 0.32);
}

.calcetto-staff-list,
.calcetto-competition-list,
.calcetto-teams-grid,
.calcetto-registered-teams,
.calcetto-player-board,
.calcetto-stat-list,
.calcetto-my-team-body,
.calcetto-roster-list,
.calcetto-pending-list {
  display: grid;
  gap: 0.7rem;
}

.calcetto-staff-list {
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.calcetto-staff-pill,
.calcetto-empty-card,
.calcetto-competition-card,
.calcetto-team-card,
.calcetto-detail-block,
.calcetto-registered-team,
.calcetto-matchday-card,
.calcetto-match-card,
.calcetto-stat-chip {
  border: 1px solid rgba(250, 204, 21, 0.13);
  background: rgba(5, 5, 8, 0.58);
  border-radius: 20px;
}

.calcetto-staff-pill-wide {
  grid-column: 1 / -1;
}

.calcetto-staff-pill,
.calcetto-empty-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
}

.calcetto-staff-pill strong,
.calcetto-empty-card strong {
  color: #fff7d6;
}

.calcetto-staff-pill span,
.calcetto-empty-card span {
  color: rgba(248, 250, 252, 0.66);
  line-height: 1.5;
}

.calcetto-competition-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.calcetto-competition-card.is-active {
  border-color: rgba(250, 204, 21, 0.46);
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.13), transparent 12rem),
    rgba(8, 7, 4, 0.74);
}

.calcetto-competition-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem;
  align-items: center;
  width: 100%;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.calcetto-competition-main > span {
  min-width: 0;
  display: grid;
  gap: 0.22rem;
}

.calcetto-competition-main .team-logo-thumb {
  width: 2.6rem;
  height: 2.6rem;
  flex-basis: 2.6rem;
  border-radius: 14px;
}

.calcetto-competition-main strong,
.calcetto-detail-head h4,
.calcetto-team-card strong {
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calcetto-competition-main strong {
  font-size: 1.35rem;
}

.calcetto-competition-main small,
.calcetto-team-card span,
.calcetto-detail-head span {
  color: rgba(248, 250, 252, 0.62);
}

.calcetto-competition-main strong,
.calcetto-competition-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-card-actions,
.calcetto-detail-actions,
.calcetto-result-form,
.calcetto-stat-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.calcetto-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(250, 204, 21, 0.14);
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.12), transparent 13rem),
    rgba(0, 0, 0, 0.3);
}

.calcetto-detail-head h4 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.8rem);
  line-height: 0.95;
}

.calcetto-detail-section-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.calcetto-detail-section-tab,
.calcetto-matchday-tile {
  border: 1px solid rgba(250, 204, 21, 0.13);
  border-radius: 20px;
  background: rgba(5, 5, 8, 0.58);
}

.calcetto-detail-section-tab {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.85rem;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.calcetto-detail-section-tab:hover,
.calcetto-detail-section-tab.is-active {
  transform: translateY(-1px);
  border-color: rgba(250, 204, 21, 0.42);
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(5, 5, 8, 0.68);
}

.calcetto-detail-section-tab strong {
  overflow: hidden;
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.calcetto-detail-section-tab span {
  overflow: hidden;
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-detail-grid-single {
  grid-template-columns: 1fr;
}

.calcetto-section-page-head,
.calcetto-matchday-page-head {
  display: grid;
  gap: 0.65rem;
  padding: 0.2rem 0.1rem 0.6rem;
}

.calcetto-section-page-head h3,
.calcetto-matchday-page-head h3 {
  margin: 0;
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.calcetto-section-page-head span,
.calcetto-matchday-page-head span {
  color: rgba(248, 250, 252, 0.62);
}

.calcetto-matchday-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.7rem;
}

.calcetto-matchday-tile {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.1), transparent 10rem),
    rgba(5, 5, 8, 0.58);
}

.calcetto-matchday-tile-main {
  display: grid;
  gap: 0.15rem;
  width: 100%;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.calcetto-matchday-tile-main span {
  color: rgba(250, 204, 21, 0.78);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calcetto-matchday-tile-main strong {
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.3rem;
  line-height: 0.9;
}

.calcetto-matchday-tile-main small {
  color: rgba(248, 250, 252, 0.6);
  line-height: 1.35;
}

.calcetto-matchday-page {
  display: grid;
  gap: 0.85rem;
}

.calcetto-matchday-page-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.85rem;
  border-radius: 22px;
  border: 1px solid rgba(250, 204, 21, 0.13);
  background: rgba(0, 0, 0, 0.24);
}

.calcetto-match-list-dedicated {
  padding: 0;
}

.calcetto-inline-field {
  min-width: min(100%, 15rem);
}

.calcetto-logo-upload-field input[type='file'] {
  padding: 0.8rem;
  border: 1px dashed rgba(250, 204, 21, 0.28);
  background: rgba(250, 204, 21, 0.06);
}

.calcetto-logo-upload-field small {
  color: rgba(248, 250, 252, 0.58);
  font-size: 0.76rem;
  line-height: 1.35;
}

.calcetto-logo-preview {
  min-height: 3.35rem;
}

.calcetto-logo-preview-card,
.calcetto-logo-preview-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.72rem;
  border-radius: 18px;
  border: 1px solid rgba(250, 204, 21, 0.13);
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(4, 4, 6, 0.45);
}

.calcetto-logo-preview-empty {
  grid-template-columns: minmax(0, 1fr);
  border-style: dashed;
}

.calcetto-logo-preview-card span,
.calcetto-logo-preview-empty {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.calcetto-logo-preview-card strong,
.calcetto-logo-preview-card small,
.calcetto-logo-preview-empty strong,
.calcetto-logo-preview-empty span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-logo-preview-card strong,
.calcetto-logo-preview-empty strong {
  color: #fff7d6;
}

.calcetto-logo-preview-card small,
.calcetto-logo-preview-empty span {
  color: rgba(248, 250, 252, 0.56);
  font-size: 0.78rem;
}

.calcetto-detail-block {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.calcetto-detail-block-wide {
  grid-column: 1 / -1;
}

.calcetto-standings-shell,
.calcetto-player-board-shell {
  min-width: 0;
}

.calcetto-mobile-board-head {
  display: none;
}

.calcetto-standings-table {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(250, 204, 21, 0.1);
}

.calcetto-standings-head,
.calcetto-standings-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(13rem, 1.7fr) minmax(22rem, 2.4fr);
  gap: 0.35rem;
  align-items: center;
  min-width: 48rem;
}

.calcetto-standings-stats-head,
.calcetto-standings-stats {
  display: grid;
  grid-template-columns: repeat(8, minmax(2.55rem, 1fr));
  gap: 0.35rem;
  align-items: center;
}

.calcetto-standings-head {
  padding: 0.65rem 0.8rem;
  color: #facc15;
  background: rgba(250, 204, 21, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calcetto-standings-row {
  padding: 0.62rem 0.8rem;
  color: rgba(248, 250, 252, 0.88);
  border-top: 1px solid rgba(250, 204, 21, 0.08);
}

.calcetto-standings-stats > span,
.calcetto-standings-stats > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
}

.calcetto-rank {
  color: #facc15;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
}

.calcetto-team-cell,
.calcetto-team-card,
.calcetto-registered-team,
.calcetto-match-team,
.calcetto-player-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.calcetto-team-cell-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 14px;
  padding: 0.15rem;
  transition: background 0.18s ease, transform 0.18s ease;
}

.calcetto-team-cell-button:hover,
.calcetto-team-cell-button:focus-visible {
  background: rgba(250, 204, 21, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.calcetto-team-cell span,
.calcetto-registered-team span,
.calcetto-player-row span {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.calcetto-team-cell strong,
.calcetto-team-cell small,
.calcetto-registered-team strong,
.calcetto-registered-team small,
.calcetto-player-row strong,
.calcetto-player-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-team-cell small,
.calcetto-registered-team small,
.calcetto-player-row small {
  color: rgba(248, 250, 252, 0.55);
  font-size: 0.74rem;
}

.calcetto-player-row {
  grid-template-columns: 2rem auto minmax(0, 1fr) 2.8rem;
  padding: 0.62rem;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.calcetto-player-row:hover,
.calcetto-player-row:focus-visible {
  background: rgba(250, 204, 21, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.calcetto-player-board.is-expanded {
  max-height: min(34rem, 68dvh);
  overflow-y: auto;
  padding-right: 0.15rem;
}

.calcetto-leaderboard-toggle {
  width: 100%;
  justify-content: center;
}

.calcetto-player-row > strong,
.calcetto-player-row b {
  color: #facc15;
  text-align: center;
}

@media (max-width: 820px) {
  .calcetto-mobile-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.78rem 0.82rem;
    border: 1px solid rgba(250, 204, 21, 0.12);
    border-radius: 18px;
    background:
      radial-gradient(circle at top left, rgba(250, 204, 21, 0.16), rgba(250, 204, 21, 0) 46%),
      rgba(10, 10, 16, 0.84);
  }

  .calcetto-mobile-board-head > div {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
  }

  .calcetto-mobile-board-head strong {
    color: #fff7d6;
    font-size: 0.95rem;
  }

  .calcetto-mobile-board-head span {
    color: rgba(248, 250, 252, 0.58);
    font-size: 0.74rem;
  }

  .calcetto-mobile-board-head .standings-mobile-expand {
    flex: 0 0 auto;
    min-height: 2.25rem;
    padding-inline: 0.78rem;
    border-radius: 999px;
  }

  .calcetto-standings-shell,
  .calcetto-player-board-shell {
    display: grid;
    gap: 0.62rem;
  }

  .calcetto-standings-table {
    display: grid;
    gap: 0.2rem;
    overflow: visible;
    border: 1px solid rgba(250, 204, 21, 0.1);
    border-radius: 14px;
    background: rgba(2, 2, 5, 0.52);
  }

  .calcetto-standings-head {
    display: grid;
    min-width: 0;
    grid-template-columns: 1.3rem minmax(4.4rem, 1fr) minmax(10.2rem, 1.42fr);
    gap: 0.18rem;
    padding: 0.34rem 0.42rem;
    border: 0;
    color: rgba(250, 204, 21, 0.78);
    background: rgba(250, 204, 21, 0.07);
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }

  .calcetto-standings-row {
    min-width: 0;
    grid-template-columns: 1.3rem minmax(4.4rem, 1fr) minmax(10.2rem, 1.42fr);
    grid-template-areas: 'rank team stats';
    gap: 0.18rem;
    padding: 0.34rem 0.42rem;
    border: 0;
    border-top: 1px solid rgba(250, 204, 21, 0.07);
    border-radius: 0;
    background:
      linear-gradient(90deg, rgba(250, 204, 21, 0.055), rgba(255, 255, 255, 0.018)),
      rgba(8, 8, 12, 0.72);
  }

  .calcetto-standings-row .calcetto-rank {
    grid-area: rank;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.12rem;
    min-height: 1.12rem;
    border-radius: 6px;
    background: rgba(250, 204, 21, 0.1);
    font-size: 0.66rem;
    line-height: 1;
  }

  .calcetto-standings-row .calcetto-team-cell {
    grid-area: team;
    min-width: 0;
    gap: 0.24rem;
    padding: 0;
    overflow: hidden;
  }

  .calcetto-standings-row .team-logo-thumb {
    width: 1.22rem;
    height: 1.22rem;
    flex: 0 0 1.22rem;
    border-radius: 6px;
  }

  .calcetto-standings-row .calcetto-team-cell span {
    min-width: 0;
    overflow: hidden;
  }

  .calcetto-standings-row .calcetto-team-cell strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 0.62rem;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calcetto-standings-row .calcetto-team-cell small {
    display: block;
    overflow: hidden;
    font-size: 0.48rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calcetto-standings-stats-head {
    min-width: 0;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.1rem;
  }

  .calcetto-standings-stats {
    grid-area: stats;
    min-width: 0;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.1rem;
  }

  .calcetto-standings-stats > span,
  .calcetto-standings-stats > strong {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 1.28rem;
    padding: 0.08rem 0.03rem;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(248, 250, 252, 0.9);
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
  }

  .calcetto-standings-stats > span::before,
  .calcetto-standings-stats > strong::before {
    content: none;
  }

  .calcetto-standings-stats > strong {
    color: #facc15;
    background: rgba(250, 204, 21, 0.1);
  }

  .calcetto-player-board {
    display: grid;
    gap: 0.2rem;
    overflow: hidden;
    border: 1px solid rgba(250, 204, 21, 0.1);
    border-radius: 14px;
    background: rgba(2, 2, 5, 0.52);
  }

  .calcetto-player-board.is-expanded {
    max-height: 20rem;
    overflow-y: auto;
    padding-right: 0.08rem;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .calcetto-player-row {
    grid-template-columns: 1.18rem 1.32rem minmax(0, 1fr) 2rem;
    gap: 0.28rem;
    min-height: 2.35rem;
    padding: 0.32rem 0.42rem;
    border-radius: 0;
    border-top: 1px solid rgba(250, 204, 21, 0.07);
    background:
      linear-gradient(90deg, rgba(250, 204, 21, 0.055), rgba(255, 255, 255, 0.018)),
      rgba(8, 8, 12, 0.72);
  }

  .calcetto-player-row .team-logo-thumb {
    width: 1.32rem;
    height: 1.32rem;
    flex-basis: 1.32rem;
    border-radius: 7px;
  }

  .calcetto-player-row span strong {
    display: block;
    overflow: hidden;
    font-size: 0.68rem;
    line-height: 1.06;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calcetto-player-row span small {
    display: block;
    overflow: hidden;
    font-size: 0.52rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calcetto-player-row > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.08rem;
    min-height: 1.08rem;
    border-radius: 6px;
    background: rgba(250, 204, 21, 0.1);
    font-size: 0.62rem;
    line-height: 1;
  }

  .calcetto-player-row b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.32rem;
    border-radius: 7px;
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
    font-size: 0.76rem;
    line-height: 1;
  }

  .calcetto-leaderboard-toggle {
    min-height: 2rem;
    border-radius: 0 0 14px 14px;
    font-size: 0.72rem;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded,
  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    flex-direction: column;
    gap: 0.68rem;
    width: 100vw;
    height: 100dvh;
    padding:
      max(0.9rem, env(safe-area-inset-top))
      max(0.82rem, env(safe-area-inset-right))
      max(1rem, env(safe-area-inset-bottom))
      max(0.82rem, env(safe-area-inset-left));
    margin: 0;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at top center, rgba(250, 204, 21, 0.16), rgba(250, 204, 21, 0) 38%),
      linear-gradient(180deg, rgba(13, 12, 18, 0.995), rgba(5, 5, 8, 0.995));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-mobile-board-head,
  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-mobile-board-head {
    position: sticky;
    top: 0;
    z-index: 4;
    background:
      linear-gradient(180deg, rgba(31, 28, 18, 0.98), rgba(12, 11, 9, 0.98));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-table,
  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-player-board {
    flex: none;
    min-height: 0;
    overflow: visible;
    padding-bottom: 0.55rem;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-row {
    min-width: 0;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    grid-template-areas:
      'rank team'
      'stats stats';
    gap: 0.32rem 0.44rem;
    align-items: start;
    padding: 0.5rem 0.54rem;
    border-radius: 12px;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.16rem;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-stats > span,
  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-stats > strong {
    min-height: 2rem;
    padding: 0.22rem 0.1rem 0.2rem;
    border-radius: 8px;
    font-size: 0.72rem;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-table {
    display: grid;
    gap: 0.34rem;
    overflow-x: hidden;
    overflow-y: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-head {
    display: none;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-rank {
    min-width: 1.6rem;
    min-height: 1.6rem;
    border-radius: 8px;
    font-size: 0.78rem;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-team-cell {
    min-width: 0;
    gap: 0.4rem;
    padding: 0;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-team-cell .team-logo-thumb {
    width: 1.45rem;
    height: 1.45rem;
    flex-basis: 1.45rem;
    border-radius: 8px;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-team-cell strong {
    display: block;
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.08;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-team-cell small {
    font-size: 0.58rem;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-stats > span::before,
  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-stats > strong::before {
    content: attr(data-stat-label);
    font-size: 0.48rem;
    letter-spacing: 0.06em;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-mobile-board-head {
    padding: 0.56rem 0.62rem;
    border-radius: 14px;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-mobile-board-head strong {
    font-size: 0.84rem;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-mobile-board-head span {
    font-size: 0.62rem;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .standings-mobile-expand {
    min-height: 1.95rem;
    padding-inline: 0.62rem;
    font-size: 0.7rem;
  }

  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-player-board {
    display: grid;
    gap: 0.18rem;
    max-height: none;
    overflow-y: visible;
    border: 1px solid rgba(250, 204, 21, 0.1);
    border-radius: 14px;
    background: rgba(2, 2, 5, 0.5);
  }

  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-player-row {
    grid-template-columns: 1.35rem 1.55rem minmax(0, 1fr) 2.35rem;
    gap: 0.34rem;
    min-height: 2.72rem;
    padding: 0.38rem 0.48rem;
  }

  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-player-row .team-logo-thumb {
    width: 1.55rem;
    height: 1.55rem;
    flex-basis: 1.55rem;
    border-radius: 8px;
  }

  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-player-row span strong {
    font-size: 0.76rem;
  }

  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-player-row span small {
    font-size: 0.58rem;
  }

  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-player-row > strong {
    min-width: 1.24rem;
    min-height: 1.24rem;
    font-size: 0.68rem;
  }

  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-player-row b {
    min-height: 1.55rem;
    font-size: 0.84rem;
  }

  .calcetto-player-board-shell.tournament-beta-standings-mobile-expanded .calcetto-leaderboard-toggle {
    display: none;
  }

}

@media (max-width: 380px) {
  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-row {
    grid-template-columns: 1.55rem minmax(0, 1fr);
    padding: 0.46rem 0.48rem;
  }

  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-stats > span,
  .calcetto-standings-shell.tournament-beta-standings-mobile-expanded .calcetto-standings-stats > strong {
    min-height: 1.92rem;
    font-size: 0.68rem;
  }

  .calcetto-player-row {
    grid-template-columns: 1.06rem 1.18rem minmax(0, 1fr) 1.72rem;
    gap: 0.22rem;
    padding: 0.3rem 0.34rem;
  }

  .calcetto-player-row .team-logo-thumb {
    width: 1.18rem;
    height: 1.18rem;
    flex-basis: 1.18rem;
  }

  .calcetto-player-row span strong {
    font-size: 0.62rem;
  }

  .calcetto-player-row span small {
    font-size: 0.48rem;
  }

  .calcetto-player-row b {
    font-size: 0.68rem;
  }
}

.calcetto-registered-team {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.7rem;
}

.calcetto-matchday-card {
  overflow: hidden;
}

.calcetto-matchday-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0 0.8rem 0.75rem;
}

.calcetto-matchday-card summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: #fff7d6;
  font-weight: 900;
  cursor: pointer;
}

.calcetto-matchday-card summary span {
  color: rgba(250, 204, 21, 0.82);
  font-size: 0.82rem;
}

.calcetto-match-list {
  display: grid;
  gap: 0.7rem;
  padding: 0 0.8rem 0.8rem;
}

.calcetto-match-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
}

.calcetto-match-card.is-open-slot {
  border-style: dashed;
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(5, 5, 8, 0.5);
}

.calcetto-match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.calcetto-match-meta span {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.09);
  color: rgba(254, 240, 138, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.calcetto-match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.calcetto-match-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.calcetto-match-team-away {
  direction: rtl;
  text-align: right;
}

.calcetto-match-team-away > * {
  direction: ltr;
}

.calcetto-score {
  min-width: 4.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 14px;
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  text-align: center;
}

.calcetto-slot-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem, 1fr)) minmax(12rem, 0.85fr) minmax(10rem, 0.85fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(250, 204, 21, 0.12);
  background: rgba(0, 0, 0, 0.24);
}

.calcetto-slot-editor {
  display: grid;
  gap: 0.55rem;
}

.calcetto-slot-editor-note {
  margin: 0;
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(250, 204, 21, 0.16);
  border-radius: 16px;
  background: rgba(250, 204, 21, 0.07);
  color: rgba(254, 240, 138, 0.9);
  font-size: 0.78rem;
  line-height: 1.45;
}

.calcetto-clear-slot-button {
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.14);
}

.calcetto-slot-form select,
.calcetto-slot-form input {
  min-width: 0;
}

.calcetto-result-form input,
.calcetto-stat-form input,
.calcetto-stat-form select {
  width: auto;
  min-width: 6rem;
  max-width: 11rem;
}

.calcetto-result-quick-form {
  display: grid;
  grid-template-columns: auto repeat(2, minmax(5.6rem, 7.2rem)) auto;
  justify-content: end;
  align-items: end;
  gap: 0.5rem;
  padding: 0.58rem;
  border: 1px solid rgba(250, 204, 21, 0.16);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
}

.calcetto-result-form-label {
  align-self: center;
  min-width: 0;
}

.calcetto-result-form-label span,
.calcetto-result-quick-form label span {
  display: block;
  color: rgba(254, 240, 138, 0.8);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.calcetto-result-quick-form label {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.calcetto-result-quick-form input {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 0.43rem 0.5rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
}

.calcetto-result-focus-button {
  border-color: rgba(250, 204, 21, 0.32);
  box-shadow: 0 10px 24px rgba(250, 204, 21, 0.14);
}

.calcetto-stat-quick-form {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) repeat(2, minmax(4rem, 5.5rem)) auto;
  gap: 0.45rem;
  padding: 0.52rem;
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
}

.calcetto-stat-quick-form select,
.calcetto-stat-quick-form input {
  min-width: 0;
}

.calcetto-summer-team-form,
.calcetto-captain-manager {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(250, 204, 21, 0.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.12), transparent 12rem),
    rgba(0, 0, 0, 0.24);
}

.calcetto-summer-hub {
  display: grid;
  gap: 0.85rem;
  border-color: rgba(251, 146, 60, 0.22);
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.14), transparent 14rem),
    rgba(9, 9, 18, 0.88);
}

.calcetto-summer-hub.hidden {
  display: none;
}

.calcetto-summer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.75fr);
  gap: 0.65rem;
  align-items: end;
}

.calcetto-summer-head h3 {
  margin: 0;
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.calcetto-summer-top-search,
.calcetto-summer-search-field {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.calcetto-summer-top-search span,
.calcetto-summer-search-field span {
  color: rgba(254, 240, 138, 0.82);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calcetto-summer-menu {
  display: none;
  position: relative;
}

.calcetto-summer-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
}

.calcetto-summer-tabs button {
  min-height: 2.2rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(250, 204, 21, 0.14);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.calcetto-summer-tabs button.is-active,
.calcetto-summer-tabs button:hover {
  border-color: rgba(250, 204, 21, 0.34);
  background: rgba(250, 204, 21, 0.12);
  color: #fff7d6;
}

.calcetto-summer-menu summary {
  display: grid;
  gap: 0.1rem;
  min-height: 2.65rem;
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  cursor: pointer;
  list-style: none;
}

.calcetto-summer-menu summary::-webkit-details-marker {
  display: none;
}

.calcetto-summer-menu summary span {
  color: rgba(248, 250, 252, 0.55);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calcetto-summer-menu summary strong {
  color: #fff7d6;
  font-size: 0.82rem;
}

.calcetto-summer-menu-list {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 12;
  display: grid;
  min-width: 12rem;
  padding: 0.35rem;
  border: 1px solid rgba(250, 204, 21, 0.16);
  border-radius: 14px;
  background: rgba(5, 5, 8, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.calcetto-summer-menu-list button {
  padding: 0.55rem 0.6rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.calcetto-summer-menu-list button.is-active,
.calcetto-summer-menu-list button:hover {
  background: rgba(250, 204, 21, 0.1);
  color: #fff7d6;
}

.calcetto-summer-layout,
.calcetto-summer-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.calcetto-summer-competition-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1.25fr);
  gap: 0.75rem;
  align-items: start;
}

.calcetto-summer-competition-list {
  display: grid;
  gap: 0.5rem;
  max-height: min(38rem, 70vh);
  overflow: auto;
  padding-right: 0.2rem;
}

.calcetto-summer-competition-detail-card {
  min-width: 0;
}

.calcetto-summer-card {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.calcetto-summer-card-wide {
  grid-column: 1 / -1;
}

.calcetto-summer-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.calcetto-summer-player-list {
  display: grid;
  gap: 0.45rem;
  max-height: min(32rem, 64vh);
  overflow: auto;
  padding-right: 0.2rem;
}

.calcetto-summer-status-pill {
  min-width: 3rem;
  padding: 0.28rem 0.42rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calcetto-summer-status-pill.is-free {
  border-color: rgba(250, 204, 21, 0.24);
  background: rgba(250, 204, 21, 0.1);
  color: #fde68a;
}

.calcetto-summer-card-head,
.calcetto-summer-result-row,
.calcetto-summer-request-row,
.calcetto-summer-mini-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.55rem;
  align-items: center;
}

.calcetto-summer-result-row.card-clickable,
.calcetto-summer-mini-card.card-clickable {
  padding: 0.42rem;
  border: 1px solid rgba(250, 204, 21, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.calcetto-summer-result-row.card-clickable:hover,
.calcetto-summer-mini-card.card-clickable:hover {
  border-color: rgba(250, 204, 21, 0.24);
  background: rgba(250, 204, 21, 0.06);
}

.calcetto-summer-card-head {
  grid-template-columns: auto minmax(0, 1fr);
}

.calcetto-summer-card-title {
  display: grid;
  gap: 0.15rem;
}

.calcetto-summer-card-head span,
.calcetto-summer-card-title,
.calcetto-summer-result-row span,
.calcetto-summer-request-row span,
.calcetto-summer-mini-card span {
  min-width: 0;
}

.calcetto-summer-card strong,
.calcetto-summer-result-row strong,
.calcetto-summer-request-row strong,
.calcetto-summer-mini-card strong {
  overflow: hidden;
  color: #fff7d6;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-summer-card small,
.calcetto-summer-card span,
.calcetto-summer-result-row small,
.calcetto-summer-request-row small,
.calcetto-summer-request-row em,
.calcetto-summer-mini-card small {
  overflow: hidden;
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.calcetto-summer-form-grid .field-full {
  grid-column: 1 / -1;
}

.calcetto-summer-team-form-head,
.calcetto-captain-manager > div:first-child {
  display: grid;
  gap: 0.18rem;
}

.calcetto-summer-team-form-head strong,
.calcetto-captain-manager strong {
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calcetto-summer-team-form-head span,
.calcetto-captain-manager span {
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.78rem;
}

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

.calcetto-file-button-field input[type='file'] {
  font-size: 0.78rem;
}

.calcetto-captain-list {
  display: grid;
  gap: 0.45rem;
}

.calcetto-captain-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.52rem;
  border: 1px solid rgba(250, 204, 21, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.calcetto-captain-row > span {
  min-width: 0;
  display: grid;
  gap: 0.05rem;
}

.calcetto-captain-row strong,
.calcetto-captain-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-report-panel {
  display: grid;
  gap: 0.8rem;
  padding: clamp(0.95rem, 2vw, 1.35rem);
  border-radius: 24px;
  border: 1px solid rgba(250, 204, 21, 0.2);
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.14), transparent 16rem),
    linear-gradient(180deg, rgba(19, 15, 7, 0.78), rgba(3, 3, 5, 0.72));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.calcetto-report-page {
  display: grid;
  gap: 1rem;
}

.calcetto-report-page-hero {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border-radius: 28px;
  border: 1px solid rgba(250, 204, 21, 0.18);
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.16), transparent 16rem),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.11), transparent 15rem),
    rgba(5, 5, 8, 0.7);
}

.calcetto-report-page-hero h3 {
  margin: 0;
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}

.calcetto-report-page-hero span {
  color: rgba(248, 250, 252, 0.7);
}

.calcetto-report-match-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: 22px;
  border: 1px solid rgba(250, 204, 21, 0.14);
  background: rgba(0, 0, 0, 0.28);
}

.calcetto-report-match-preview > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}

.calcetto-report-match-preview > div:last-child {
  grid-template-columns: minmax(0, 1fr) auto;
  text-align: right;
}

.calcetto-report-match-preview > div:last-child .logo-thumb,
.calcetto-report-match-preview > div:last-child .team-logo-thumb {
  order: 2;
}

.calcetto-report-match-preview strong {
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-report-match-preview b {
  min-width: 6.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: 16px;
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  text-align: center;
}

.calcetto-report-head,
.calcetto-report-team-head,
.calcetto-report-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.calcetto-report-head span,
.calcetto-report-team-head span {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.calcetto-report-head strong,
.calcetto-report-team-head strong {
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calcetto-report-head small,
.calcetto-report-team-head small,
.calcetto-report-helper {
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

.calcetto-report-head em {
  flex: 0 0 auto;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.1);
  color: #fde68a;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.calcetto-report-score-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: end;
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.calcetto-report-score-grid label {
  display: grid;
  gap: 0.35rem;
}

.calcetto-report-score-grid label span {
  overflow: hidden;
  color: #fff7d6;
  font-size: 0.78rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.calcetto-report-score-grid strong {
  padding-bottom: 0.78rem;
  color: #facc15;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
}

.calcetto-report-teams {
  display: grid;
  gap: 0.75rem;
}

.calcetto-report-team-block {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(250, 204, 21, 0.14);
  background: rgba(5, 5, 8, 0.64);
}

.calcetto-report-player-list {
  display: grid;
  gap: 0.45rem;
}

.calcetto-report-player-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.6rem;
  gap: 0.6rem;
  align-items: center;
  padding: 0.6rem 0.7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.calcetto-report-player-row span {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.calcetto-report-player-row b,
.calcetto-report-player-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-report-player-row small {
  color: rgba(248, 250, 252, 0.56);
}

.calcetto-report-player-row input {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.calcetto-report-stat-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.calcetto-report-stat-inputs span {
  display: grid;
  gap: 0.2rem;
}

.calcetto-report-stat-inputs small {
  color: rgba(250, 204, 21, 0.8);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.calcetto-stat-form [data-calcetto-stat-player] {
  max-width: 14rem;
}

.calcetto-teams-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.calcetto-team-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.8rem;
}

.calcetto-team-card-expanded {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0.85rem;
}

.calcetto-team-card-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

.calcetto-team-card-main.card-clickable,
.calcetto-roster-row.card-clickable {
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.calcetto-team-card-main.card-clickable:hover,
.calcetto-roster-row.card-clickable:hover {
  border-color: rgba(250, 204, 21, 0.32);
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.08), transparent),
    rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.calcetto-team-card-main > div:not(.calcetto-card-actions) {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.calcetto-team-card-main strong,
.calcetto-team-card-main span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-stat-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
}

.calcetto-stat-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-stat-chip strong {
  color: #facc15;
  white-space: nowrap;
}

.calcetto-stat-chip button {
  width: 1.65rem;
  height: 1.65rem;
  border: 0;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.16);
  color: #fecaca;
  cursor: pointer;
}

.calcetto-request-row,
.calcetto-my-team-head,
.calcetto-roster-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(250, 204, 21, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.calcetto-roster-entry {
  display: grid;
  gap: 0.5rem;
}

.calcetto-roster-request-list {
  display: grid;
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(250, 204, 21, 0.12);
  background: rgba(250, 204, 21, 0.055);
}

.calcetto-roster-request-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
}

.calcetto-roster-request-row span {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.calcetto-roster-request-row strong,
.calcetto-roster-request-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-roster-request-row small {
  color: rgba(248, 250, 252, 0.58);
}

.calcetto-request-row span,
.calcetto-my-team-head div,
.calcetto-roster-row span {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.calcetto-request-row strong,
.calcetto-request-row small,
.calcetto-my-team-head strong,
.calcetto-my-team-head span,
.calcetto-roster-row b,
.calcetto-roster-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-request-row small,
.calcetto-my-team-head span,
.calcetto-roster-row small {
  color: rgba(248, 250, 252, 0.6);
}

.calcetto-my-team-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(250, 204, 21, 0.14);
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.1), transparent 14rem),
    rgba(5, 5, 8, 0.58);
}

.calcetto-my-team-head {
  grid-template-columns: auto minmax(0, 1fr);
}

.calcetto-roster-create-card,
.calcetto-roster-card,
.calcetto-roster-manager-card {
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.22);
}

.calcetto-roster-create-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem 0.85rem;
}

.calcetto-roster-create-card strong,
.calcetto-roster-card-head strong,
.calcetto-roster-manager-card summary strong {
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calcetto-roster-create-card span,
.calcetto-roster-card-head small,
.calcetto-roster-manager-card summary small {
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.8rem;
}

.calcetto-roster-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
}

.calcetto-roster-preview-card {
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.calcetto-roster-preview-main {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.calcetto-roster-preview-main span {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.calcetto-roster-preview-main strong,
.calcetto-roster-preview-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-roster-preview-main strong {
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calcetto-roster-preview-main small {
  color: rgba(248, 250, 252, 0.62);
}

.calcetto-roster-preview-main em {
  padding: 0.35rem 0.58rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  color: #fde68a;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.calcetto-roster-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.calcetto-roster-card-head span {
  display: grid;
  gap: 0.1rem;
}

.calcetto-roster-manager {
  display: grid;
  gap: 0.75rem;
}

.calcetto-roster-manager-card {
  overflow: hidden;
}

.calcetto-roster-manager-card summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem;
  cursor: pointer;
}

.calcetto-roster-manager-card summary span {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.calcetto-roster-manager-card summary strong,
.calcetto-roster-manager-card summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-roster-manager-body {
  display: grid;
  gap: 0.8rem;
  padding: 0 0.75rem 0.8rem;
}

.calcetto-my-team-head strong {
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calcetto-roster-form {
  display: grid;
  grid-template-columns: minmax(12rem, 1.5fr) minmax(8rem, 1fr) minmax(4rem, 0.45fr) minmax(10rem, 1fr) auto;
  gap: 0.6rem;
  align-items: end;
}

.calcetto-roster-row {
  grid-template-columns: auto 2.6rem minmax(0, 1fr) auto auto;
}

.calcetto-roster-avatar {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-grid;
  place-items: center;
}

.calcetto-roster-avatar .team-logo-thumb {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.18);
}

.calcetto-roster-row > strong {
  color: #facc15;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
}

.calcetto-roster-row.is-mine {
  border-color: rgba(34, 197, 94, 0.42);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.12), transparent),
    rgba(255, 255, 255, 0.04);
}

.calcetto-roster-status {
  justify-self: end;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.09);
  color: rgba(254, 240, 138, 0.9);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.calcetto-roster-row.is-mine .calcetto-roster-status {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.calcetto-roster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.calcetto-detail-hero .team-logo-thumb {
  width: 4rem;
  height: 4rem;
  border-radius: 18px;
}

.calcetto-team-roster-detail {
  display: grid;
  gap: 0.75rem;
}

.calcetto-team-roster-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.calcetto-team-roster-detail-head h5 {
  margin-bottom: 0.12rem;
}

.calcetto-team-roster-detail-head p {
  margin: 0;
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.85rem;
}

.calcetto-avatar-upload-card {
  border-color: rgba(250, 204, 21, 0.22);
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.12), transparent 12rem),
    rgba(0, 0, 0, 0.24);
}

.calcetto-profile-edit-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto;
  gap: 0.7rem;
  align-items: end;
  margin-bottom: 0.75rem;
}

.calcetto-profile-edit-grid label {
  display: grid;
  gap: 0.35rem;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.calcetto-profile-edit-grid select {
  width: 100%;
  min-height: 2.45rem;
  border-radius: 14px;
  border: 1px solid rgba(250, 204, 21, 0.22);
  background: rgba(0, 0, 0, 0.32);
  color: #fff7d6;
  padding: 0 0.75rem;
}

.file-upload-inline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.45rem;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.28);
  background: rgba(250, 204, 21, 0.1);
  color: #fff7d6;
  font-weight: 800;
  cursor: pointer;
}

.file-upload-inline input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.proclub-avatar-upload-inline {
  border-color: rgba(34, 211, 238, 0.28);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(168, 85, 247, 0.12)),
    rgba(2, 6, 23, 0.42);
  color: #dff7ff;
}

.member-profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
}

.proclub-avatar-upload-card {
  display: grid;
  gap: 0.7rem;
  border-color: rgba(34, 211, 238, 0.2);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 12rem),
    rgba(0, 0, 0, 0.24);
}

.proclub-avatar-upload-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.68rem;
  align-items: center;
}

.proclub-avatar-upload-head .team-logo-thumb,
.club-staff-avatar .team-logo-thumb,
.training-roster-row > .team-logo-thumb,
.roster-item-detailed > .team-logo-thumb {
  width: 2.55rem;
  height: 2.55rem;
  flex-basis: 2.55rem;
  border-radius: 8px !important;
}

.club-staff-avatar {
  display: inline-grid;
  place-items: center;
  align-self: start;
}

.market-status-card {
  border-color: rgba(148, 163, 184, 0.2);
}

.market-status-card.is-locked {
  border-color: rgba(248, 113, 113, 0.34);
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.12), transparent 13rem),
    rgba(0, 0, 0, 0.24);
}

.market-status-card.is-open {
  border-color: rgba(34, 197, 94, 0.34);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 13rem),
    rgba(0, 0, 0, 0.24);
}

.market-lock-inline {
  padding: 0.78rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.24);
  background:
    linear-gradient(135deg, rgba(248, 113, 113, 0.12), rgba(250, 204, 21, 0.06)),
    rgba(0, 0, 0, 0.22);
  color: #fecaca;
  font-size: 0.88rem;
  font-weight: 800;
}

.quick-access {
  padding: 1.35rem;
  order: 3;
}

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

.social-hub-card {
  order: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    radial-gradient(circle at top left, rgba(225, 29, 72, 0.12), transparent 16rem),
    radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(15, 10, 28, 0.92), rgba(8, 8, 19, 0.9));
}

.social-hub-copy {
  display: grid;
  gap: 0.35rem;
}

.social-hub-copy h2 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.social-hub-link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  min-height: 4.75rem;
  padding: 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 9, 18, 0.54);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.social-hub-link::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: linear-gradient(135deg, currentColor, transparent 55%);
  pointer-events: none;
}

.social-hub-link:hover,
.social-hub-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.social-hub-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.social-hub-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.social-hub-link span:last-child {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.social-hub-link strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.social-hub-link small {
  color: rgba(232, 224, 244, 0.72);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-hub-instagram {
  color: #f472b6;
}

.social-hub-x {
  color: #f8fafc;
}

.social-hub-telegram {
  color: #38bdf8;
}

.social-hub-twitch {
  color: #c084fc;
}

.hub-focus-panel {
  order: 1;
  display: grid;
  gap: 0.95rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    linear-gradient(180deg, rgba(15, 10, 28, 0.9), rgba(8, 8, 19, 0.88)),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.09), transparent 18rem);
}

.hub-focus-note {
  margin-top: -0.1rem;
}

.global-search-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(16rem, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background:
    radial-gradient(circle at right, rgba(168, 85, 247, 0.16), transparent 18rem),
    rgba(8, 10, 20, 0.82);
}

.global-search-card-mobile {
  grid-template-columns: 1fr;
  padding: 0.35rem;
  background: rgba(16, 10, 28, 0.82);
}

.global-search-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 11rem;
}

.global-search-copy strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.global-search-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.25rem 0.35rem 0.25rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(3, 6, 13, 0.72);
}

.global-search-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent-soft);
}

.global-search-field input {
  width: 100%;
  min-height: 2.35rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.global-search-field input::placeholder {
  color: rgba(216, 180, 254, 0.62);
}

.global-search-results {
  position: absolute;
  z-index: 24;
  top: calc(100% + 0.45rem);
  left: 0.75rem;
  right: 0.75rem;
  display: none;
  max-height: min(28rem, 70vh);
  overflow: auto;
  padding: 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(6, 8, 18, 0.98);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
}

.global-search-results.is-open {
  display: grid;
  gap: 0.65rem;
}

.global-search-section {
  display: grid;
  gap: 0.4rem;
}

.global-search-section p,
.global-search-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.global-search-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  padding: 0.62rem;
  border-radius: 15px;
  border: 1px solid rgba(168, 85, 247, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.global-search-result:hover,
.global-search-result:focus-visible {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.1);
}

.global-search-result span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.global-search-result strong {
  overflow-wrap: anywhere;
}

.global-search-result small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.global-search-result em {
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.7rem;
}

.hub-focus-button {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(12, 10, 24, 0.78);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.hub-focus-button-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.hub-focus-button strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hub-focus-button-copy {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.hub-focus-button:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 85, 247, 0.28);
}

.hub-focus-button.is-active {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(180deg, rgba(27, 15, 43, 0.96), rgba(15, 11, 28, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.18);
}

.hub-focus-button.is-active::after {
  content: '';
  position: absolute;
  inset: auto 1rem 0.55rem 1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.92), transparent);
}

.hub-focus-button.is-active .hub-focus-button-copy {
  color: var(--accent-soft);
}

.quick-link-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: linear-gradient(180deg, rgba(28, 14, 45, 0.78), rgba(11, 8, 24, 0.94));
  color: var(--text);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.quick-link-card-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.quick-link-card strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.quick-link-card-copy {
  color: var(--muted);
  line-height: 1.55;
}

.quick-link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 85, 247, 0.28);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.quick-link-card-button {
  width: 100%;
  text-align: left;
  font: inherit;
  appearance: none;
  cursor: pointer;
}

.mobile-quick-menu {
  display: none;
}

.required-mark {
  color: #ff6b6b;
  font-weight: 800;
}

.mobile-menu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: flex-start;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 0.7rem 0.8rem;
  background: linear-gradient(180deg, rgba(24, 14, 37, 0.96), rgba(8, 7, 19, 0.98));
  color: var(--text);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.mobile-menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  min-height: 3.2rem;
  padding: 0 0.65rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(124, 58, 237, 0.48));
  color: #fff6ff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu-copy {
  display: grid;
  gap: 0.08rem;
  text-align: left;
  flex: 1 1 auto;
}

.mobile-menu-copy strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-menu-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-menu-icon {
  display: inline-grid;
  gap: 0.22rem;
  justify-items: end;
  margin-left: auto;
}

.mobile-menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: rgba(238, 244, 255, 0.92);
  transition: transform 160ms ease, opacity 160ms ease, width 160ms ease;
}

.mobile-menu-icon span:nth-child(1) {
  width: 1.1rem;
}

.mobile-menu-icon span:nth-child(2) {
  width: 1.35rem;
}

.mobile-menu-icon span:nth-child(3) {
  width: 0.9rem;
}

.mobile-menu-toggle[aria-expanded='true'] .mobile-menu-icon span:nth-child(1) {
  width: 1.2rem;
  transform: translateY(4px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded='true'] .mobile-menu-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded='true'] .mobile-menu-icon span:nth-child(3) {
  width: 1.2rem;
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu-home-link {
  border-color: rgba(34, 211, 238, 0.22);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(168, 85, 247, 0.1)),
    rgba(8, 11, 20, 0.9);
}

.mobile-menu-home-link strong {
  color: #e0f7ff;
}

.mobile-menu-panel {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  max-height: min(34rem, calc(100dvh - 6.2rem));
  padding: 0.8rem calc(0.8rem + env(safe-area-inset-right)) calc(0.8rem + env(safe-area-inset-bottom)) 0.8rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(8, 10, 18, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  backdrop-filter: blur(18px);
  -webkit-overflow-scrolling: touch;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(2, 4, 10, 0.82);
  backdrop-filter: blur(10px);
}

body.mobile-menu-open .mobile-quick-menu {
  z-index: 180;
}

body.mobile-menu-open .mobile-menu-panel {
  max-height: min(38rem, calc(100dvh - 5.7rem));
}

.mobile-menu-calcetto-context {
  display: none;
}

body.calcetto-menu-context .mobile-menu-panel {
  border-color: rgba(250, 204, 21, 0.2);
  background:
    radial-gradient(circle at 18% 0%, rgba(250, 204, 21, 0.14), transparent 10rem),
    rgba(7, 7, 10, 0.98);
}

body.calcetto-menu-context .mobile-menu-panel > :not(.mobile-menu-calcetto-context) {
  display: none;
}

body.calcetto-menu-context .mobile-menu-panel > .mobile-menu-calcetto-context {
  display: grid;
  gap: 0.36rem;
}

body.calcetto-menu-context .mobile-menu-link {
  border-color: rgba(250, 204, 21, 0.14);
  background: rgba(35, 25, 6, 0.74);
}

body.calcetto-menu-context .mobile-menu-link:hover {
  border-color: rgba(250, 204, 21, 0.28);
  background: rgba(45, 32, 6, 0.86);
}

body.calcetto-menu-context .mobile-menu-group-title {
  color: #fde68a;
}

.mobile-menu-group {
  display: grid;
  gap: 0.55rem;
}

.mobile-menu-group-title {
  margin: 0.2rem 0 0;
  padding: 0 0.2rem;
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-menu-link {
  display: grid;
  gap: 0.12rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(24, 14, 37, 0.78);
  color: var(--text);
  text-decoration: none;
}

.mobile-menu-link:hover {
  border-color: rgba(168, 85, 247, 0.24);
  background: rgba(31, 18, 48, 0.88);
}

.mobile-menu-link-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.mobile-menu-link strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-menu-link span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu-link.is-disabled {
  opacity: 0.56;
}

.mobile-menu-subgroup {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(168, 85, 247, 0.14);
}

.mobile-menu-subgroup-flat {
  margin-top: 0;
  padding-left: 0;
  border-left: 0;
}

.mobile-menu-sublink {
  padding: 0.68rem 0.8rem;
  border-radius: 14px;
  background: rgba(18, 12, 30, 0.72);
}

.mobile-menu-sublink strong {
  font-size: 0.92rem;
}

.mobile-menu-sublink span {
  font-size: 0.68rem;
}

.mobile-menu-link .training-notification-badge {
  display: inline-flex;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.mobile-section-card,
.mobile-section-body {
  display: grid;
  gap: 1rem;
}

.mobile-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-section-header > div {
  display: grid;
  gap: 0.2rem;
}

.mobile-section-header h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mobile-section-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(30, 16, 48, 0.65);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-section-toggle span {
  white-space: nowrap;
}

.mobile-section-toggle::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.mobile-section-card.is-open .mobile-section-toggle::after,
.mobile-public-section.is-open .mobile-section-toggle::after {
  content: '-';
}

.mobile-section-card.is-open .mobile-section-toggle,
.mobile-public-section.is-open .mobile-section-toggle,
.mobile-section-toggle[aria-expanded='true'] {
  border-color: rgba(168, 85, 247, 0.36);
  background: linear-gradient(180deg, rgba(64, 27, 105, 0.95), rgba(36, 18, 64, 0.88));
  color: #fff6ff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.mobile-section-card.is-open .mobile-section-toggle::after,
.mobile-public-section.is-open .mobile-section-toggle::after,
.mobile-section-toggle[aria-expanded='true']::after {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero-card,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-card::before,
.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent 45%);
}

.hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 1.6rem;
  right: 1.6rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.95fr);
  gap: 1.4rem;
  padding: 1.7rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.92;
  max-width: 11ch;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.hero-copy strong {
  color: var(--text);
}

.hero-notes {
  display: grid;
  gap: 0.95rem;
}

.mini-stat {
  position: relative;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(38, 17, 59, 0.68), rgba(15, 11, 30, 0.84));
  border: 1px solid rgba(168, 85, 247, 0.16);
}

.mini-stat::after {
  content: '';
  position: absolute;
  inset: auto 1rem 0.9rem 1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0), rgba(168, 85, 247, 0.55), rgba(168, 85, 247, 0));
}

.mini-stat span {
  display: block;
  font-size: 2.35rem;
  color: var(--accent-soft);
  text-transform: uppercase;
}

.mini-stat small {
  color: var(--muted);
  display: block;
  max-width: 18ch;
}

.main-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  order: 2;
}

.side-panel,
.content-stack {
  display: grid;
  gap: 1.1rem;
}

.hub-focus-hidden,
.hub-column-hidden {
  display: none !important;
}

.main-grid.main-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.main-grid.hub-grid-empty {
  display: none;
}

.panel.public-group {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.public-group-note {
  margin-top: -0.2rem;
}

.public-group-stack {
  display: grid;
  gap: 0.85rem;
}

.panel.public-subpanel {
  padding: 1.05rem;
}

.panel {
  padding: 1.35rem;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-heading-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.panel-heading h2 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.tab-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.tab-button,
.ghost-button,
.primary-button,
.danger-button {
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.tab-button {
  padding: 0.9rem 1rem;
  background: rgba(30, 16, 48, 0.82);
  color: var(--text);
  border: 1px solid rgba(168, 85, 247, 0.1);
}

.tab-button.is-active {
  background: linear-gradient(180deg, #d8b4fe, #7c3aed);
  color: #090411;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.28);
}

.stack-form {
  display: grid;
  gap: 0.95rem;
}

.team-form {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(12, 9, 24, 0.72), rgba(7, 8, 18, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

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

.field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: rgba(6, 11, 23, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.14);
  border-radius: 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(150, 168, 207, 0.72);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(168, 85, 247, 0.58);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.google-auth-block {
  display: grid;
  gap: 0.75rem;
  margin: 0.35rem 0 0.7rem;
}

.auth-google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(6, 11, 23, 0.84);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.auth-google-button:hover,
.auth-google-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(245, 243, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    rgba(10, 15, 31, 0.92);
}

.google-auth-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(168, 85, 247, 0.16);
}

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

.field-grow {
  flex: 1 1 16rem;
}

.logo-upload-wrap {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.logo-preview-shell {
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: linear-gradient(180deg, rgba(24, 12, 37, 0.94), rgba(9, 8, 21, 0.9));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.team-logo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-logo-placeholder {
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-auto-roster-note {
  display: grid;
  gap: 0.28rem;
  padding: 0.82rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 12rem),
    rgba(6, 11, 23, 0.62);
}

.team-auto-roster-note strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-auto-roster-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(6, 11, 23, 0.88);
}

.toggle-field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.toggle-field.is-disabled {
  opacity: 0.78;
}

.toggle-field input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

.field-note {
  margin: -0.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.button-row,
.inline-form,
.tournament-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.inline-form {
  align-items: flex-end;
}

.primary-button,
.ghost-button,
.danger-button {
  padding: 0.95rem 1.1rem;
  font-weight: 800;
}

.primary-button {
  background: linear-gradient(180deg, #d8b4fe, #7c3aed);
  color: #090411;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.26);
}

.ghost-button {
  background: rgba(30, 16, 48, 0.65);
  color: var(--text);
  border: 1px solid var(--line);
}

.danger-button {
  background: rgba(255, 128, 143, 0.12);
  color: #ffd6df;
  border: 1px solid rgba(255, 128, 143, 0.25);
  box-shadow: none;
}

.small-button {
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  font-size: 0.9rem;
}

.primary-button:hover,
.ghost-button:hover,
.danger-button:hover,
.tab-button:hover,
.ghost-link:hover {
  transform: translateY(-1px);
}

.primary-button:hover,
.tab-button.is-active:hover {
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.32);
}

.primary-button:disabled,
.ghost-button:disabled,
.danger-button:disabled,
.tab-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.member-card {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.member-headline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.member-card h2 {
  margin: 0;
  font-size: 1.6rem;
  overflow-wrap: anywhere;
}

.member-profile-summary {
  margin: 0.85rem 0 1rem;
}

.member-profile-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background:
    linear-gradient(145deg, rgba(18, 14, 30, 0.96), rgba(8, 8, 18, 0.94));
}

.member-profile-hero {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.85rem;
}

.member-profile-hero h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.member-profile-hero p {
  margin: 0.22rem 0 0;
  color: var(--muted);
}

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

.member-profile-grid .team-detail-card {
  padding: 0.85rem;
  border-radius: 8px;
  background: rgba(7, 7, 18, 0.62);
}

.locked-profile-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.locked-profile-field input[readonly] {
  color: var(--text);
  cursor: default;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(34, 211, 238, 0.04)),
    rgba(255, 255, 255, 0.045);
}

.locked-profile-field input.is-editable-first-id {
  border-color: rgba(245, 191, 99, 0.46);
  background:
    linear-gradient(135deg, rgba(245, 191, 99, 0.14), rgba(168, 85, 247, 0.08)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(245, 191, 99, 0.1);
}

.locked-profile-edit {
  min-width: 5.2rem;
  padding-inline: 0.7rem;
  font-size: 0.8rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.role-badge.member {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.role-badge.moderator {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.26);
}

.role-badge.founder {
  color: #f5d0fe;
  background: rgba(192, 132, 252, 0.18);
  border-color: rgba(192, 132, 252, 0.3);
}

.status-row {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-badge,
.count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 800;
  border: 1px solid transparent;
}

.status-badge.pending {
  color: var(--warning);
  background: rgba(245, 191, 99, 0.1);
  border-color: rgba(245, 191, 99, 0.22);
}

.status-badge.approved {
  color: var(--accent-soft);
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.22);
}

.status-badge.rejected,
.status-badge.neutral {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.count-pill {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.2);
}

.count-pill strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-soft);
}

.count-pill span {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.count-pill-compact {
  padding: 0.45rem 0.75rem;
}

.count-pill-compact strong {
  font-size: 1.4rem;
}

.filters-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.85rem;
  margin: 1rem 0 1.2rem;
}

.archive-filters {
  margin-top: 0.2rem;
  margin-bottom: 0;
}

.archive-toolbar {
  display: flex;
  justify-content: flex-end;
}

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

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

.staff-scroll-panel {
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 0.28rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.42) rgba(9, 9, 18, 0.38);
}

.staff-scroll-panel-compact {
  max-height: 20rem;
}

.staff-scroll-panel-tall {
  max-height: 31rem;
}

.staff-scroll-panel::-webkit-scrollbar {
  width: 0.7rem;
}

.staff-scroll-panel::-webkit-scrollbar-track {
  background: rgba(9, 9, 18, 0.38);
  border-radius: 999px;
}

.staff-scroll-panel::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.22);
  border-radius: 999px;
  border: 2px solid rgba(9, 9, 18, 0.38);
}

.approval-list {
  display: grid;
  gap: 0.75rem;
}

.approval-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(13, 10, 24, 0.88);
}

.approval-row-main {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.approval-row-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.approval-row-identity > div {
  min-width: 0;
}

.approval-row-identity strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.approval-row-identity span {
  color: var(--muted);
  font-size: 0.88rem;
}

.approval-row-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.approval-row-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.approval-row-meta strong {
  color: var(--text);
}

.approval-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}

.club-staff-list {
  display: grid;
  gap: 0.7rem;
}

.club-request-group {
  display: grid;
  gap: 0.65rem;
}

.club-request-group + .club-request-group {
  margin-top: 0.55rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(168, 85, 247, 0.1);
}

.club-request-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0 0.15rem;
}

.club-request-group-title strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.club-request-group-title span {
  color: var(--muted);
  font-size: 0.78rem;
}

.club-staff-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(13, 10, 24, 0.88);
}

.club-staff-row-with-avatar {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
}

.club-staff-main {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.club-staff-main strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.18rem;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.club-staff-main p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.club-staff-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.club-staff-meta strong {
  color: var(--text);
}

.club-staff-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.club-access-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.club-access-tag.current {
  color: #ffe8ad;
  border-color: rgba(245, 191, 99, 0.22);
  background: rgba(245, 191, 99, 0.12);
}

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

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.7rem;
}

.market-filter-bar {
  align-items: end;
  grid-template-columns: minmax(12rem, 1.4fr) minmax(9rem, 0.8fr);
  padding: 0.62rem;
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(168, 85, 247, 0.05)),
    rgba(7, 10, 18, 0.72);
}

.market-search-field input,
.market-role-select-field select {
  border-color: rgba(34, 211, 238, 0.15);
  background: rgba(2, 6, 23, 0.72);
}

.market-overview-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.65rem;
  padding: 0.8rem;
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 10%, rgba(34, 211, 238, 0.13), transparent 12rem),
    linear-gradient(135deg, rgba(18, 12, 31, 0.92), rgba(6, 8, 19, 0.96));
}

.market-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.market-overview-head > div {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.market-overview-head strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market-overview-head > div > span {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.market-role-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.25rem, 1fr));
  gap: 0.38rem;
}

.market-role-filter-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-height: 2.2rem;
  border-radius: 8px;
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.45);
  color: rgba(226, 232, 240, 0.78);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.market-role-filter-chip span,
.market-role-filter-chip b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-role-filter-chip span {
  font-size: 0.7rem;
}

.market-role-filter-chip b {
  display: inline-grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.34rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 0.72rem;
}

.market-role-filter-chip:hover,
.market-role-filter-chip.is-active {
  border-color: rgba(34, 211, 238, 0.4);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(168, 85, 247, 0.12)),
    rgba(2, 6, 23, 0.76);
  color: #f8fafc;
}

.market-card {
  display: grid;
  gap: 0.58rem;
  min-height: 100%;
  padding: 0.72rem;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.07), rgba(168, 85, 247, 0.06)),
    linear-gradient(180deg, rgba(13, 18, 29, 0.96), rgba(5, 8, 18, 0.97));
  border: 1px solid rgba(34, 211, 238, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 28px rgba(0, 0, 0, 0.12);
}

.market-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
}

.market-card-head .compact-card-headline {
  flex: 1 1 auto;
}

.market-player-role-code {
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.24), transparent 58%),
    rgba(2, 6, 23, 0.72);
  color: #cffafe;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.market-card-head strong {
  display: block;
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.market-card-head p {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-card-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.28rem 0.55rem;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.45;
}

.market-card-meta span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.42rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.market-card-meta strong {
  color: var(--text);
}

.player-avatar-thumb {
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.7rem;
}

.team-card {
  border-radius: 18px;
  padding: 0.78rem;
  background: var(--card-strong);
  border: 1px solid rgba(168, 85, 247, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.team-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.55rem;
}

.team-header-visual {
  position: relative;
  display: flex;
  align-items: center;
}

.team-header-visual .compact-card-icon {
  margin-left: -0.55rem;
  width: 2rem;
  height: 2rem;
  flex-basis: 2rem;
  border-radius: 12px;
}

.team-header-visual .compact-card-icon svg {
  width: 0.92rem;
  height: 0.92rem;
}

.team-card-header h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.team-card-header span:not(.chip) {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.chip {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid rgba(168, 85, 247, 0.18);
}

.chip-warning {
  color: #ffe8ad;
  background: rgba(245, 191, 99, 0.12);
  border-color: rgba(245, 191, 99, 0.22);
}

.chip-success {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.24);
}

.chip-rank {
  color: #ffe8ad;
  background: rgba(245, 191, 99, 0.12);
  border-color: rgba(245, 191, 99, 0.22);
}

.team-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.24rem 0.55rem;
  margin-bottom: 0;
}

.team-meta span,
.team-notes {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.45;
}

.team-meta strong,
.team-notes strong {
  color: var(--text);
}

.team-notes {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
  line-height: 1.65;
  white-space: normal;
}

.team-links-row {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
  color: var(--muted);
  font-size: 0.93rem;
}

.compact-links-row {
  margin-top: 0;
  padding-top: 0.58rem;
}

.team-links-row strong {
  color: var(--text);
}

.team-link-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.team-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(168, 85, 247, 0.1);
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.team-link-pill:hover {
  border-color: rgba(168, 85, 247, 0.32);
  background: rgba(168, 85, 247, 0.16);
}

.detail-empty-inline {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.roster-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

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

.roster-item-detailed {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.1rem 0;
}

.roster-item-copy {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.roster-item-copy strong {
  display: block;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.roster-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.roster-role-tag,
.roster-team-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.roster-role-tag {
  color: var(--accent-soft);
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(168, 85, 247, 0.1);
}

.roster-team-tag {
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.roster-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  min-height: 1.45rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--accent-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.roster-item span:last-child {
  overflow-wrap: anywhere;
}

.roster-list-compact {
  gap: 0.35rem;
}

.roster-list-expanded .roster-item {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.roster-list-expanded .roster-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.roster-more {
  color: var(--muted);
  font-size: 0.84rem;
}

.roster-item-button {
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 18px;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.roster-item-button:hover,
.roster-item-button:focus-visible {
  border-color: rgba(168, 85, 247, 0.28);
  background: rgba(168, 85, 247, 0.08);
  transform: translateY(-1px);
}

.roster-open-hint {
  justify-self: end;
  align-self: center;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-roster-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 0.55rem;
  padding: 0.78rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.13);
  background: rgba(255, 255, 255, 0.035);
}

.team-roster-summary-card div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.team-roster-summary-card strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.team-roster-summary-card span,
.team-roster-summary-card em {
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.team-roster-summary-card em {
  flex: 0 0 auto;
  color: var(--accent-soft);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.team-roster-disclosure {
  margin-top: 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(9, 9, 19, 0.58);
  overflow: hidden;
}

.team-roster-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.82rem 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.team-roster-disclosure summary::-webkit-details-marker {
  display: none;
}

.team-roster-disclosure summary span {
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-roster-disclosure summary strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  min-height: 2.1rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--accent-soft);
}

.team-roster-disclosure[open] {
  border-color: rgba(168, 85, 247, 0.22);
}

.team-roster-disclosure .roster-list {
  padding: 0 0.75rem 0.75rem;
}

.section-surface {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(168, 85, 247, 0.12);
}

.section-surface-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-surface h3,
.tournament-top h3,
.admin-card-top h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.section-surface h3 {
  font-size: 1.6rem;
  line-height: 0.95;
}

.section-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.team-approval-steps {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.team-approval-step {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  background: linear-gradient(180deg, rgba(45, 28, 8, 0.9), rgba(18, 14, 9, 0.96));
}

.team-approval-step strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-approval-step span {
  color: var(--muted);
  line-height: 1.6;
}

.field-note-compact {
  margin-top: -0.25rem;
}

.team-header-block {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.team-header-block > div,
.registration-team > div {
  min-width: 0;
}

.team-logo-thumb {
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 3.25rem;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: rgba(15, 11, 30, 0.88);
}

.team-logo-fallback {
  display: grid;
  place-items: center;
  color: var(--accent-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(50, 19, 77, 0.82), rgba(16, 10, 29, 0.92));
}

.tournament-card,
.admin-card {
  border-radius: 18px;
  padding: 0.78rem;
  background: var(--card-strong);
  border: 1px solid rgba(168, 85, 247, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.58rem;
  align-content: start;
}

.card-clickable {
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.card-clickable:hover {
  border-color: rgba(168, 85, 247, 0.24);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 24px rgba(0, 0, 0, 0.18);
}

.compact-card {
  background: linear-gradient(180deg, rgba(28, 14, 45, 0.88), rgba(11, 8, 24, 0.96));
}

.compact-card-headline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.compact-card-title-block {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.compact-card-title-block h3,
.compact-card-title-block strong,
.compact-card-title-block p,
.compact-card-title-block span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.compact-card-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.45rem;
  border-radius: 15px;
  border: 1px solid rgba(216, 180, 254, 0.16);
  color: #f8f2ff;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(86, 30, 131, 0.82), rgba(26, 14, 42, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 20px rgba(0, 0, 0, 0.18);
}

.compact-card-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.compact-card .team-logo-thumb {
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 2.55rem;
  border-radius: 14px;
}

.card-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-summary strong {
  color: var(--text);
}

.card-open-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-open-hint strong {
  color: var(--accent-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.preview-inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tournament-top,
.admin-card-top,
.registration-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.85rem;
}

.tournament-top h3 {
  font-size: 1.08rem;
  line-height: 0.95;
}

.admin-card-top h4 {
  font-size: 1.08rem;
  line-height: 0.95;
}

.admin-card-top p,
.registration-item > span,
.registration-team span,
.admin-card-meta,
.tournament-meta {
  color: var(--muted);
}

.admin-card-top p {
  margin: 0.25rem 0 0;
}

.tournament-status {
  margin: 0 0 0.18rem;
  color: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tournament-meta,
.admin-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.24rem 0.55rem;
  font-size: 0.78rem;
}

.tournament-meta span,
.admin-card-meta span {
  overflow-wrap: anywhere;
}

.tournament-meta strong,
.admin-card-meta strong {
  color: var(--text);
}

.registration-block {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(168, 85, 247, 0.08);
}

.registration-header {
  align-items: center;
  color: var(--muted);
}

.registration-list {
  display: grid;
  gap: 0.65rem;
  max-height: 19rem;
  overflow-y: auto;
  padding-right: 0.2rem;
  scrollbar-gutter: stable;
}

.registration-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(18, 11, 30, 0.72);
  min-width: 0;
}

.registration-item-button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  min-width: 0;
}

.registration-item-manageable {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.registration-item-manageable .registration-item-button {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.registration-item-manageable .registration-meta {
  justify-items: start;
  text-align: left;
  white-space: normal;
}

.registration-item-button:hover {
  border-color: rgba(168, 85, 247, 0.24);
  background: rgba(26, 14, 40, 0.82);
}

.registration-item-button:focus-visible {
  outline: 0;
  border-color: rgba(168, 85, 247, 0.38);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14);
}

.registration-team {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.registration-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--accent-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.registration-team-copy {
  min-width: 0;
}

.registration-team strong {
  display: block;
  overflow-wrap: anywhere;
}

.registration-team span {
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.registration-meta {
  display: grid;
  gap: 0.15rem;
  justify-items: end;
  text-align: right;
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.82rem;
}

.registration-meta strong {
  color: var(--text);
  font-size: 0.84rem;
}

.registration-actions {
  display: flex;
  justify-content: flex-end;
  margin-left: 0.9rem;
  align-items: center;
  flex: 0 0 auto;
}

.registration-actions-staff {
  display: grid;
  gap: 0.45rem;
  justify-items: stretch;
  min-width: min(18rem, 100%);
}

.registration-replace-field {
  min-width: 0;
}

.registration-replace-field span {
  font-size: 0.74rem;
}

.registration-actions .small-button {
  white-space: nowrap;
}

.registration-founder-tools {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(28, 17, 43, 0.58);
}

.registration-founder-head {
  display: grid;
  gap: 0.15rem;
}

.registration-founder-head strong {
  color: var(--text);
}

.registration-founder-head span,
.registration-founder-note {
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.registration-founder-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
}

.registration-founder-field {
  gap: 0.35rem;
}

.registration-founder-field span {
  font-size: 0.8rem;
}

.registration-founder-field select {
  min-width: 0;
}

.empty-mini {
  padding: 0.1rem 0 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-tournament-panel {
  display: grid;
  gap: 1rem;
  margin: 1.1rem 0;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(245, 191, 99, 0.18);
  background:
    radial-gradient(circle at top left, rgba(245, 191, 99, 0.12), transparent 22rem),
    rgba(12, 10, 18, 0.72);
}

.quick-tournament-form {
  padding: 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.quick-tournament-grid,
.quick-match-rounds,
.quick-match-list {
  display: grid;
  gap: 0.75rem;
}

.quick-tournament-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(245, 191, 99, 0.17);
  background: rgba(7, 7, 12, 0.68);
}

.quick-tournament-top,
.quick-round-head,
.quick-match-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.quick-tournament-top h4 {
  margin: 0.12rem 0;
}

.quick-tournament-top span,
.quick-tournament-meta,
.quick-match-footer {
  color: var(--muted);
  font-size: 0.84rem;
}

.quick-tournament-meta,
.quick-team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quick-tournament-meta span {
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.quick-team-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.quick-team-chip strong,
.quick-team-chip small {
  display: block;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-team-chip small {
  color: var(--muted);
  font-size: 0.72rem;
}

.quick-team-chip-bye {
  color: var(--muted);
  border-style: dashed;
}

.quick-team-avatar {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #111827;
  background: linear-gradient(135deg, #facc15, #f97316);
  font-size: 0.72rem;
  font-weight: 900;
}

.quick-round-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(20, 15, 32, 0.58);
}

.quick-round-head strong {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quick-match-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(0, 0, 0, 0.22);
}

.quick-match-card.is-confirmed {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.06);
}

.quick-match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.quick-match-teams .quick-team-chip:last-child {
  justify-content: flex-end;
}

.quick-versus {
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 900;
}

.quick-result-row {
  display: grid;
  grid-template-columns: 4.5rem auto 4.5rem auto;
  align-items: center;
  gap: 0.45rem;
}

.quick-result-row input {
  width: 100%;
  min-height: 2.45rem;
  text-align: center;
}

.quick-match-result {
  color: var(--muted);
  font-size: 0.86rem;
}

.quick-tournament-actions {
  justify-content: flex-end;
}

.quick-tournament-play-shell {
  --quick-gold: #f5bf63;
}

.quick-play-groups,
.quick-play-match-list {
  display: grid;
  gap: 0.85rem;
}

.quick-play-group-rounds {
  display: grid;
  gap: 0.75rem;
}

.quick-play-group-card,
.quick-play-stage-card {
  border-color: rgba(245, 191, 99, 0.16);
  background:
    radial-gradient(circle at top left, rgba(245, 191, 99, 0.1), transparent 18rem),
    rgba(7, 7, 12, 0.66);
}

.quick-play-group-schedule-card {
  gap: 0.9rem;
}

.quick-group-download-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.quick-play-day-block {
  display: grid;
  gap: 0.6rem;
  padding: 0.7rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.2);
}

.quick-play-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.quick-play-day-head strong {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-play-standings-table {
  display: grid;
  gap: 0.35rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  padding-bottom: 0.1rem;
}

.quick-play-standing-head,
.quick-play-standing-row {
  display: grid;
  grid-template-columns: 2.4rem minmax(12rem, 1.6fr) repeat(8, minmax(2.2rem, 0.45fr));
  align-items: center;
  gap: 0.32rem;
  min-width: 44rem;
}

.quick-play-standing-head {
  padding: 0.48rem 0.58rem;
  border-radius: 14px;
  color: rgba(236, 229, 245, 0.72);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-play-standing-list {
  display: grid;
  gap: 0.28rem;
}

.quick-play-standing-row {
  padding: 0.5rem 0.58rem;
  border-radius: 14px;
  border: 1px solid rgba(245, 191, 99, 0.1);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 0.86rem;
}

.quick-play-standing-row > span:not(.quick-play-standing-team):not(.registration-order),
.quick-play-standing-row > strong {
  justify-self: center;
}

.quick-play-standing-team {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.quick-play-standing-team strong,
.quick-play-standing-team small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-play-standing-team small {
  color: var(--muted);
  font-size: 0.7rem;
}

.quick-play-result-row {
  align-items: stretch;
}

.quick-play-winner {
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.08);
  color: #d8ffe7;
}

@media (max-width: 720px) {
  .quick-tournament-play-shell .training-layout,
  .quick-tournament-play-shell .training-main {
    overflow: visible;
    min-height: 0;
    touch-action: pan-y pinch-zoom;
  }

  .quick-tournament-panel,
  .quick-tournament-card,
  .quick-round-card {
    padding: 0.75rem;
  }

  .quick-tournament-top,
  .quick-round-head,
  .quick-play-day-head,
  .quick-match-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-play-group-schedule-card {
    gap: 0.7rem;
  }

  .quick-play-day-block {
    padding: 0.56rem;
    border-radius: 14px;
  }

  .quick-group-download-button {
    width: 100%;
  }

  .quick-play-match-card {
    padding: 0.62rem;
  }

  .quick-match-teams {
    grid-template-columns: 1fr;
  }

  .quick-match-teams .quick-team-chip:last-child {
    justify-content: flex-start;
  }

  .quick-versus {
    justify-self: start;
  }

  .quick-result-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.35rem;
  }

  .quick-result-row button,
  .quick-result-row .button-like {
    grid-column: 1 / -1;
    width: 100%;
  }

  .quick-play-standing-head,
  .quick-play-standing-row {
    grid-template-columns: 1.8rem minmax(8.5rem, 1fr) repeat(5, minmax(1.65rem, 0.38fr));
    min-width: 26rem;
    gap: 0.22rem;
  }

  .quick-play-standing-head span:nth-child(7),
  .quick-play-standing-head span:nth-child(8),
  .quick-play-standing-head span:nth-child(9),
  .quick-play-standing-row > span:nth-child(7),
  .quick-play-standing-row > span:nth-child(8),
  .quick-play-standing-row > span:nth-child(9) {
    display: none;
  }

  .quick-play-standing-head {
    font-size: 0.62rem;
    padding: 0.42rem;
  }

  .quick-play-standing-row {
    padding: 0.46rem 0.42rem;
    font-size: 0.78rem;
  }

  .quick-play-standing-team {
    gap: 0.35rem;
  }

  .quick-play-standing-team .quick-team-avatar {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.62rem;
  }

  .quick-tournament-actions {
    justify-content: stretch;
  }

  .quick-tournament-actions > * {
    width: 100%;
  }
}

.ranking-list {
  display: grid;
  max-height: min(70vh, 64rem);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.ranking-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.82rem 0.95rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
  background: linear-gradient(180deg, rgba(17, 14, 29, 0.9), rgba(12, 11, 20, 0.94));
  color: var(--text);
  text-align: left;
}

.ranking-row:first-child {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.ranking-row:last-child {
  border-bottom: 0;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

.ranking-row:hover,
.ranking-row:focus-visible {
  background: linear-gradient(180deg, rgba(26, 20, 42, 0.95), rgba(15, 13, 26, 0.98));
}

.ranking-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  min-height: 2.55rem;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(245, 191, 99, 0.22);
  background: rgba(245, 191, 99, 0.1);
  color: #ffe8ad;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.14rem;
  letter-spacing: 0.03em;
}

.ranking-position-inline {
  min-width: 2.8rem;
  min-height: 2.8rem;
  font-size: 1.35rem;
}

.ranking-team {
  min-width: 0;
}

.ranking-team strong,
.ranking-team-button strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ranking-team span,
.ranking-team-button span {
  color: var(--muted);
  font-size: 0.76rem;
}

.ranking-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.32rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.ranking-stats span {
  white-space: nowrap;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.08);
  background: rgba(168, 85, 247, 0.06);
}

.ranking-stats strong {
  color: var(--accent-soft);
}

.ranking-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
  margin: 1rem 0 0.8rem;
}

.ranking-toolbar .field {
  flex: 1 1 18rem;
}

.ranking-toolbar-wide {
  margin-top: 0;
}

.ranking-preview-note {
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(18, 11, 30, 0.78);
  color: var(--muted);
  font-size: 0.9rem;
}

.hall-of-fame-list {
  display: grid;
  gap: 0.62rem;
}

.hall-of-fame-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) minmax(13rem, 1.1fr) auto;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(245, 191, 99, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 191, 99, 0.08), rgba(34, 211, 238, 0.05)),
    rgba(13, 10, 20, 0.88);
  color: var(--text);
  text-align: left;
}

.hall-of-fame-row:hover,
.hall-of-fame-row:focus-visible {
  border-color: rgba(245, 191, 99, 0.32);
  background:
    linear-gradient(135deg, rgba(245, 191, 99, 0.13), rgba(34, 211, 238, 0.08)),
    rgba(18, 13, 25, 0.96);
}

.hall-of-fame-row-featured {
  border-color: rgba(245, 191, 99, 0.34);
  box-shadow: inset 0 0 0 1px rgba(245, 191, 99, 0.08);
}

.hall-of-fame-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.55rem;
  min-height: 2.2rem;
  padding: 0.35rem 0.58rem;
  border-radius: 7px;
  border: 1px solid rgba(245, 191, 99, 0.2);
  background: rgba(245, 191, 99, 0.12);
  color: #ffe6a5;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hall-of-fame-team {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.hall-of-fame-team > span,
.hall-of-fame-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.hall-of-fame-team strong,
.hall-of-fame-copy strong {
  overflow: hidden;
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.08rem;
  line-height: 0.95;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hall-of-fame-team small,
.hall-of-fame-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hall-of-fame-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.28rem;
  min-width: 0;
}

.hall-of-fame-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.26rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.1);
  background: rgba(34, 211, 238, 0.06);
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.hall-of-fame-stats strong {
  color: var(--accent-soft);
}

@media (max-width: 720px) {
  .hall-of-fame-list {
    gap: 0.46rem;
  }

  .hall-of-fame-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.42rem 0.5rem;
    padding: 0.58rem;
    border-radius: 7px;
  }

  .hall-of-fame-medal {
    min-width: 3.25rem;
    min-height: 1.85rem;
    padding: 0.28rem 0.4rem;
    font-size: 0.58rem;
  }

  .hall-of-fame-team {
    gap: 0.42rem;
  }

  .hall-of-fame-team .team-logo-thumb {
    width: 2rem;
    height: 2rem;
    flex-basis: 2rem;
  }

  .hall-of-fame-team strong,
  .hall-of-fame-copy strong {
    font-size: 0.88rem;
    line-height: 1;
  }

  .hall-of-fame-team small,
  .hall-of-fame-copy span {
    font-size: 0.64rem;
  }

  .hall-of-fame-copy,
  .hall-of-fame-stats {
    grid-column: 1 / -1;
  }

  .hall-of-fame-stats {
    justify-content: flex-start;
    gap: 0.22rem;
  }

  .hall-of-fame-stats span {
    min-height: 1.42rem;
    padding: 0.2rem 0.34rem;
    font-size: 0.6rem;
  }
}

.collection-preview-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(18, 11, 30, 0.78);
  color: var(--muted);
  font-size: 0.9rem;
}

.collection-detail-grid {
  display: grid;
  gap: 0.7rem;
}

.panel-heading-compact {
  margin-bottom: 0;
}

.ranking-management-list {
  gap: 0.95rem;
}

.ranking-management-row {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(13, 10, 24, 0.88);
}

.ranking-management-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ranking-team-button {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ranking-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 0.85rem;
  align-items: end;
}

.ranking-stats-inline {
  justify-content: flex-end;
}

.management-list {
  display: grid;
  gap: 0.8rem;
}

.management-row {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(13, 10, 24, 0.88);
}

.management-main,
.management-meta,
.management-actions {
  display: grid;
  gap: 0.7rem;
}

.management-main {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.management-status {
  display: flex;
  justify-content: flex-end;
}

.management-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--muted);
  font-size: 0.92rem;
}

.management-meta strong {
  color: var(--text);
}

.founder-ban-row h4,
.founder-ban-row p {
  margin: 0;
}

.founder-ban-row h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.founder-ban-row p {
  color: var(--muted);
  word-break: break-word;
}

.founder-ban-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.founder-id-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
  padding: 0.75rem;
  border-radius: 18px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.11), transparent 12rem),
    rgba(255, 255, 255, 0.035);
}

.founder-id-editor .field {
  gap: 0.32rem;
}

.founder-id-editor .field span {
  color: #bae6fd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-id-editor input {
  min-height: 2.8rem;
}

.management-actions {
  grid-template-columns: repeat(auto-fit, minmax(9rem, max-content));
  justify-content: end;
}

.management-preview-note {
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  border: 1px dashed rgba(168, 85, 247, 0.16);
  background: rgba(13, 10, 24, 0.66);
  color: var(--muted);
  font-size: 0.88rem;
}

.staff-release-requests-grid {
  max-height: min(42rem, 72dvh);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 0.15rem;
}

.staff-release-preview-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.staff-release-full-note {
  position: sticky;
  top: 0;
  z-index: 2;
  border-style: solid;
  background:
    linear-gradient(180deg, rgba(22, 14, 35, 0.96), rgba(13, 10, 24, 0.9));
  backdrop-filter: blur(10px);
}

.staff-release-request-row {
  gap: 0.65rem;
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
}

.staff-release-request-row .lineup-inbox-title {
  min-width: 0;
}

.staff-release-request-row .lineup-inbox-title h4,
.staff-release-request-row .lineup-inbox-title p {
  margin: 0;
}

.staff-release-request-row .lineup-inbox-title h4 {
  font-size: 1.02rem;
  line-height: 1;
}

.staff-release-request-row .lineup-inbox-title p {
  color: var(--muted);
  font-size: 0.8rem;
}

.staff-release-request-row .management-meta {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  font-size: 0.78rem;
}

.staff-release-request-row .management-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.staff-release-request-row .management-actions {
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 0.45rem;
}

.staff-release-request-row .small-button {
  min-height: 2.25rem;
  padding: 0.48rem 0.68rem;
  font-size: 0.76rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 6, 11, 0.72);
  backdrop-filter: blur(10px);
}

.modal-card {
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: linear-gradient(180deg, rgba(12, 9, 24, 0.98), rgba(7, 8, 18, 0.98));
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.modal-card-wide {
  width: min(1180px, 100%);
}

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

.modal-header h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.modal-overlay.is-competition-report {
  padding: 0.75rem;
  background: rgba(3, 5, 10, 0.9);
  backdrop-filter: blur(18px);
}

.modal-card.is-competition-report {
  width: min(1240px, 100%);
  max-height: calc(100vh - 1.5rem);
  padding: 1rem 1rem 1.2rem;
  border-radius: 34px;
}

.modal-card.is-competition-report .modal-header {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: -0.15rem -0.15rem 1rem;
  padding: 0.3rem 0.15rem 0.95rem;
  background: linear-gradient(180deg, rgba(12, 9, 24, 0.98), rgba(12, 9, 24, 0.86) 82%, rgba(12, 9, 24, 0));
}

.modal-card.is-competition-report .stack-form {
  gap: 1rem;
  scroll-padding-top: 5.5rem;
  scroll-padding-bottom: 6.5rem;
}

.standings-graphic-modal-card {
  width: min(1240px, 100%);
}

.standings-graphic-body {
  display: grid;
  gap: 1rem;
}

.standings-graphic-stage {
  display: grid;
  gap: 1rem;
}

.standings-graphic-card {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border-radius: 30px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.2), transparent 24rem),
    linear-gradient(180deg, rgba(18, 14, 34, 0.98), rgba(8, 8, 17, 0.99));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.standings-graphic-card.is-ltr-graphic {
  border-color: rgba(0, 132, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(0, 132, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(0, 14, 30, 0.98), rgba(2, 5, 10, 0.99));
}

.standings-graphic-card.is-ltr-graphic .standings-graphic-brand-logo {
  border-color: rgba(0, 132, 255, 0.28);
  background: #02060c;
}

.standings-graphic-card.is-ltr-graphic .standings-graphic-rank,
.standings-graphic-card.is-ltr-graphic .standings-graphic-stat-points {
  background: rgba(0, 116, 230, 0.72);
}

.standings-graphic-brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.standings-graphic-brand-main {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.standings-graphic-brand-logo {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(168, 85, 247, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.standings-graphic-brand-copy {
  display: grid;
  gap: 0.3rem;
}

.standings-graphic-brand-copy h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.35rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.standings-graphic-brand-copy p {
  margin: 0;
  color: var(--muted);
}

.standings-graphic-brand-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.standings-graphic-brand-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: var(--muted);
}

.standings-graphic-table {
  display: grid;
  gap: 0.18rem;
  overflow-x: auto;
}

.standings-graphic-table-head,
.standings-graphic-row {
  display: grid;
  grid-template-columns: 3rem minmax(14rem, 1.8fr) repeat(8, minmax(2.5rem, 1fr));
  gap: 0.35rem;
  align-items: center;
  min-width: 48rem;
}

.standings-graphic-table-head {
  padding: 0 0.8rem 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standings-graphic-table-body {
  display: grid;
  gap: 0.18rem;
}

.standings-graphic-row {
  padding: 0.68rem 0.8rem;
  border-radius: 18px;
  background: rgba(11, 12, 22, 0.82);
  border: 1px solid rgba(168, 85, 247, 0.08);
}

.standings-graphic-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.12);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.standings-graphic-team {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.standings-graphic-team .team-logo-thumb {
  width: 2rem;
  height: 2rem;
  flex-basis: 2rem;
  border-radius: 12px;
}

.standings-graphic-team-copy {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.standings-graphic-team-copy strong,
.standings-graphic-team-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standings-graphic-team-copy strong {
  font-size: 0.98rem;
}

.standings-graphic-team-copy span {
  color: var(--muted);
  font-size: 0.74rem;
}

.standings-graphic-stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.standings-graphic-stat-points {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.2), rgba(45, 25, 71, 0.84));
  border-color: rgba(168, 85, 247, 0.24);
}

.standings-graphic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.team-detail-layout {
  display: grid;
  gap: 1rem;
}

.ranking-detail-layout {
  display: grid;
  gap: 1rem;
}

.ranking-list-expanded {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.team-detail-hero {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(18, 11, 30, 0.78);
}

.team-detail-hero h4 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.team-detail-hero p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

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

.team-detail-card {
  border-radius: 22px;
  padding: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(13, 10, 24, 0.88);
}

.team-detail-card-wide {
  grid-column: 1 / -1;
}

.player-detail-shell {
  display: grid;
  gap: 0.95rem;
}

.player-detail-hero {
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 14rem),
    linear-gradient(135deg, rgba(22, 13, 38, 0.92), rgba(5, 8, 19, 0.96));
}

.player-detail-main {
  gap: 0.72rem;
}

.player-detail-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.player-detail-main-carded {
  display: grid;
  grid-template-columns: minmax(8rem, 9.6rem) minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  width: 100%;
}

.player-detail-card-face {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 0.38rem;
  width: min(100%, 9.6rem);
  min-height: 12.25rem;
  padding: 0.58rem 0.52rem 0.62rem;
  overflow: hidden;
  border: 1px solid rgba(241, 245, 249, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(241, 245, 249, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(20, 24, 38, 0.98), rgba(5, 8, 18, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 36px rgba(0, 0, 0, 0.32);
  color: #f8fafc;
  text-align: center;
}

.player-detail-card-face::before {
  content: '';
  position: absolute;
  inset: -45% auto auto -75%;
  z-index: -1;
  width: 62%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  opacity: 0;
  pointer-events: none;
  transform: rotate(18deg);
  animation: draftLiveCardSweep 780ms ease both;
}

.player-detail-card-face-proclub {
  border-color: rgba(168, 85, 247, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.28), transparent 48%),
    linear-gradient(160deg, rgba(76, 29, 149, 0.78), rgba(13, 14, 29, 0.98) 46%, rgba(2, 6, 23, 0.98));
}

.player-detail-card-face-calcetto {
  border-color: rgba(250, 204, 21, 0.4);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.28), transparent 48%),
    linear-gradient(160deg, rgba(113, 63, 18, 0.84), rgba(13, 14, 24, 0.98) 46%, rgba(2, 6, 23, 0.98));
}

.player-detail-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.35rem;
}

.player-detail-card-top b {
  color: #f8fafc;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  line-height: 0.9;
}

.player-detail-card-top small {
  min-width: 0;
  overflow: hidden;
  padding: 0.28rem 0.36rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.42);
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.player-detail-card-avatar {
  display: grid;
  place-items: center;
  width: 4.85rem;
  height: 4.85rem;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.16), transparent 62%),
    rgba(2, 6, 23, 0.3);
}

.player-detail-card-avatar .team-logo-thumb {
  width: 4.15rem;
  height: 4.15rem;
  flex-basis: 4.15rem;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 8px !important;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.player-detail-card-face > strong,
.player-detail-card-face > small,
.player-detail-card-face > span {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-detail-card-face > strong {
  color: #f8fafc;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.player-detail-card-face > small {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.56rem;
  font-weight: 900;
}

.player-detail-card-face > span {
  color: rgba(226, 232, 240, 0.55);
  font-size: 0.52rem;
  font-weight: 800;
}

.player-detail-card-facts {
  display: grid;
  grid-template-columns: repeat(var(--player-card-fact-count, 3), minmax(0, 1fr));
  gap: 0.2rem;
  width: 100%;
}

.player-detail-card-facts span {
  display: grid;
  min-width: 0;
  gap: 0.06rem;
  padding: 0.22rem 0.18rem;
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.58);
}

.player-detail-card-facts small,
.player-detail-card-facts b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-detail-card-facts small {
  color: rgba(226, 232, 240, 0.55);
  font-size: 0.42rem;
  font-weight: 900;
  text-transform: uppercase;
}

.player-detail-card-facts b {
  color: #f8fafc;
  font-size: 0.56rem;
}

.player-detail-hero .team-logo-thumb {
  width: 4.25rem;
  height: 4.25rem;
  flex-basis: 4.25rem;
  border-radius: 18px;
}

.player-detail-hero .player-detail-card-avatar .team-logo-thumb {
  width: 4.15rem;
  height: 4.15rem;
  flex-basis: 4.15rem;
  border-radius: 8px !important;
}

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

.player-detail-copy h4,
.player-detail-copy p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-detail-copy h4 {
  white-space: nowrap;
}

.player-detail-copy p {
  max-width: 100%;
  white-space: normal;
}

.player-detail-kicker {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.player-detail-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.player-detail-meta-strip span {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
  padding: 0.72rem 0.78rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(13, 10, 24, 0.82);
}

.player-detail-meta-strip strong {
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.player-detail-meta-strip b {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-detail-grid .team-detail-card {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 12, 31, 0.94), rgba(9, 10, 20, 0.94));
}

.player-detail-grid .detail-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 0.65rem;
}

.player-detail-grid .detail-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.player-detail-team-card {
  padding: 0.85rem;
}

.player-detail-team-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.78rem;
  align-items: center;
}

.player-detail-team-line .team-logo-thumb {
  width: 3rem;
  height: 3rem;
  flex-basis: 3rem;
  border-radius: 14px;
}

.player-detail-team-line h5 {
  margin: 0 0 0.12rem;
}

.player-detail-team-line strong,
.player-detail-team-line span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-detail-team-line span {
  color: var(--muted);
  font-size: 0.8rem;
}

.calcetto-player-detail-shell .player-detail-hero {
  border-color: rgba(250, 204, 21, 0.18);
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.16), transparent 13rem),
    linear-gradient(135deg, rgba(29, 22, 6, 0.92), rgba(5, 5, 8, 0.96));
}

.calcetto-player-detail-shell .player-detail-hero .team-logo-thumb,
.calcetto-player-detail-shell .player-detail-meta-strip span,
.calcetto-player-detail-shell .team-detail-card,
.calcetto-player-detail-shell .player-detail-team-line .team-logo-thumb {
  border-color: rgba(250, 204, 21, 0.18);
}

.calcetto-player-detail-shell .player-detail-meta-strip span {
  background: rgba(16, 14, 7, 0.84);
}

.calcetto-player-detail-shell .player-detail-meta-strip b,
.calcetto-player-detail-shell .team-detail-card h5 {
  color: #fff7d6;
}

.calcetto-player-detail-shell .player-detail-grid .team-detail-card {
  background:
    linear-gradient(180deg, rgba(16, 13, 5, 0.94), rgba(5, 5, 8, 0.94));
}

.calcetto-player-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.calcetto-player-stat-card {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  padding: 0.62rem 0.68rem;
  border: 1px solid rgba(250, 204, 21, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(35, 27, 6, 0.82), rgba(8, 8, 10, 0.9));
}

.calcetto-player-stat-card strong {
  overflow: hidden;
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.64rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.calcetto-player-stat-card b {
  overflow: hidden;
  color: #fff7d6;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.55rem;
  line-height: 0.95;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-player-stat-card small {
  overflow: hidden;
  color: rgba(248, 250, 252, 0.54);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-player-reports-card {
  display: grid;
  gap: 0.65rem;
}

.calcetto-player-report-list {
  display: grid;
  gap: 0.42rem;
  max-height: min(20rem, 52vh);
  overflow: auto;
  padding-right: 0.2rem;
}

.calcetto-player-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.48rem 0.55rem;
  border: 1px solid rgba(250, 204, 21, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.calcetto-player-report-row span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.calcetto-player-report-row strong,
.calcetto-player-report-row small,
.calcetto-player-report-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calcetto-player-report-row strong {
  color: #fff7d6;
  font-size: 0.82rem;
}

.calcetto-player-report-row small {
  color: rgba(248, 250, 252, 0.58);
  font-size: 0.68rem;
}

.calcetto-player-report-row b {
  color: #facc15;
  font-size: 0.78rem;
}

.competition-scorers-board,
.report-enhanced-section {
  display: grid;
  gap: 0.9rem;
}

.report-result-stage {
  display: grid;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background:
    linear-gradient(180deg, rgba(21, 13, 36, 0.9), rgba(13, 9, 24, 0.94));
}

.report-enhanced-section.is-locked .report-result-stage {
  opacity: 0.68;
}

.report-result-stage.is-locked {
  pointer-events: none;
}

.report-result-summary {
  display: grid;
  gap: 0.75rem;
}

.report-result-summary-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background:
    linear-gradient(180deg, rgba(28, 17, 48, 0.92), rgba(13, 10, 24, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.report-result-summary-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.report-result-summary-team {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.report-result-summary-team-away {
  justify-content: flex-end;
  text-align: right;
}

.report-result-summary-copy {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.report-result-summary-copy strong {
  overflow-wrap: anywhere;
}

.report-result-summary-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.report-result-summary-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.4rem;
  min-height: 3.6rem;
  padding: 0.2rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.24);
  background: rgba(168, 85, 247, 0.08);
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.05em;
  line-height: 0.95;
}

.report-result-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.report-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.24rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.report-status-pill.is-ready,
.report-audience-team-meta span.is-ready {
  border-color: rgba(34, 197, 94, 0.24);
  background: rgba(34, 197, 94, 0.12);
  color: #dcfce7;
}

.report-status-pill.is-warning,
.report-audience-team-meta span.is-warning {
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.12);
  color: #fef3c7;
}

.report-status-pill.is-pending,
.report-audience-team-meta span.is-pending {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(148, 163, 184, 0.1);
  color: #dbe4f0;
}

.competition-scorers-head,
.report-enhanced-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.competition-scorers-title {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.competition-scorers-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.competition-scorers-head strong,
.report-enhanced-head strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.competition-scorers-head span,
.report-enhanced-head span {
  color: var(--muted);
  max-width: 42rem;
}

.competition-scorers-list {
  display: grid;
  gap: 0.6rem;
}

.competition-scorers-board.is-expanded .competition-scorers-list {
  max-height: min(70vh, 44rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.2rem;
  scrollbar-gutter: stable;
}

.competition-scorers-preview-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.competition-scorers-grid-boards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.competition-scorer-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.competition-scorer-row:hover,
.competition-scorer-row:focus-visible {
  border-color: rgba(168, 85, 247, 0.28);
  background: rgba(168, 85, 247, 0.08);
  transform: translateY(-1px);
}

.competition-scorer-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.45rem;
  min-height: 2.45rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--accent-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.competition-scorer-player,
.competition-scorer-team {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

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

.competition-scorer-copy strong {
  overflow-wrap: anywhere;
}

.competition-scorer-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.competition-scorer-stats {
  display: grid;
  justify-items: end;
  gap: 0.22rem;
  text-align: right;
}

.competition-scorer-stats span {
  color: var(--muted);
  font-size: 0.84rem;
}

.competition-scorer-stats strong {
  color: var(--text);
}

.player-competition-breakdown {
  display: grid;
  gap: 0.6rem;
}

.player-competition-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.player-competition-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.player-competition-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.player-competition-copy strong {
  overflow-wrap: anywhere;
}

.player-competition-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.player-competition-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.player-competition-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.14);
  font-size: 0.8rem;
  color: var(--muted);
}

.report-scorers-grid,
.report-lineup-grid {
  display: grid;
  gap: 0.8rem;
}

.report-workflow-section {
  display: grid;
}

.report-workflow-card {
  display: grid;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    linear-gradient(180deg, rgba(22, 14, 39, 0.94), rgba(12, 9, 24, 0.96));
}

.report-audience-section {
  display: grid;
  gap: 0.95rem;
}

.report-audience-shell {
  display: grid;
  gap: 0.95rem;
  padding: 1rem 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background:
    linear-gradient(180deg, rgba(24, 16, 42, 0.96), rgba(10, 9, 22, 0.98));
}

.report-audience-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.report-audience-copy {
  display: grid;
  gap: 0.55rem;
}

.report-audience-copy h4 {
  margin: 0;
}

.report-audience-hero-meta,
.report-audience-team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.report-audience-match-card,
.report-audience-team-card {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.report-audience-match-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.report-audience-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
}

.report-audience-match-card small {
  color: var(--muted);
  line-height: 1.5;
}

.report-audience-team-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.report-audience-team-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.report-audience-team-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.14);
  color: var(--muted);
  font-size: 0.8rem;
}

.report-step-nav {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.report-step-nav-button {
  display: grid;
  gap: 0.18rem;
  align-content: start;
  min-height: 4.8rem;
  padding: 0.78rem 0.82rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.report-step-nav-button strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-step-nav-button span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.report-step-nav-button:hover,
.report-step-nav-button:focus-visible {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.08);
  transform: translateY(-1px);
}

.report-step-nav-button.is-ready {
  border-color: rgba(34, 197, 94, 0.24);
  background: rgba(34, 197, 94, 0.08);
}

.report-step-nav-button.is-ready span {
  color: #dcfce7;
}

.report-step-nav-button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
}

.report-workflow-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
}

.report-workflow-head h4 {
  margin: 0;
}

.report-workflow-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.report-workflow-team {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.report-workflow-team-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.report-workflow-steps {
  display: grid;
  gap: 0.55rem;
}

.report-workflow-step {
  display: grid;
  gap: 0.18rem;
  padding: 0.72rem 0.78rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.report-workflow-step strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-workflow-step span {
  color: var(--muted);
  font-size: 0.84rem;
}

.report-workflow-step.is-ready {
  border-color: rgba(34, 197, 94, 0.24);
  background: rgba(34, 197, 94, 0.08);
}

.report-workflow-step.is-ready span {
  color: #dcfce7;
}

.report-workflow-step.is-pending {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.08);
}

.report-scorers-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.report-captain-focus-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.28rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background: linear-gradient(180deg, rgba(19, 28, 48, 0.92), rgba(10, 12, 24, 0.96));
}

.report-captain-focus-note strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-captain-focus-note span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.report-scorer-team-card,
.report-lineup-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.report-scorer-team-head,
.report-lineup-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.report-scorer-slot-list {
  display: grid;
  gap: 0.7rem;
}

.report-scorer-slot-field {
  gap: 0.35rem;
}

.report-lineup-preview-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.report-inline-lineup-builder {
  display: grid;
  gap: 0.9rem;
}

.report-inline-lineup-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(140px, 0.6fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.report-inline-lineup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
  gap: 0.9rem;
  align-items: start;
}

.report-player-stats-card {
  gap: 0.9rem;
}

.report-player-stats-head-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.report-player-stats-list {
  display: grid;
  gap: 0.75rem;
}

.report-own-goal-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: end;
  padding: 0.7rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background: rgba(59, 130, 246, 0.07);
}

.report-own-goal-row small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.report-own-goal-field {
  margin: 0;
}

.report-player-stats-row {
  display: grid;
  gap: 0.7rem;
  padding: 0.8rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.report-player-stats-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.report-player-stats-identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.report-player-stats-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  min-height: 2.15rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(168, 85, 247, 0.08);
  color: var(--accent-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.report-player-stats-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.report-player-stats-copy strong {
  overflow-wrap: anywhere;
}

.report-player-stats-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.report-player-stats-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.report-player-stats-field {
  gap: 0.3rem;
}

.report-download-card {
  display: grid;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background:
    linear-gradient(180deg, rgba(22, 14, 39, 0.94), rgba(12, 9, 24, 0.96));
}

.report-download-copy {
  display: grid;
  gap: 0.22rem;
}

.report-download-copy span {
  color: var(--muted);
}

.report-download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.report-download-meta .chip {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.14);
}

.report-download-fallback {
  justify-self: start;
  margin-top: 0.15rem;
  text-decoration: none;
}

.report-player-auto-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.report-player-auto-tag.is-active {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.24);
  color: #d9ffe7;
}

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

  .global-search-copy {
    min-width: 0;
  }

  .global-search-results {
    left: 0.35rem;
    right: 0.35rem;
    max-height: 62vh;
  }

  .global-search-result {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .global-search-result em {
    grid-column: 2;
  }

  .team-roster-summary-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-roster-summary-card em {
    font-size: 0.72rem;
  }

  .roster-item-button {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.78rem 0.8rem;
  }

  .roster-open-hint {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.15rem;
    font-size: 0.72rem;
  }

  .competition-scorer-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .competition-scorer-team,
  .competition-scorer-stats {
    grid-column: 2;
  }

  .competition-scorer-team {
    margin-top: 0.15rem;
  }

  .competition-scorer-stats {
    justify-items: start;
    text-align: left;
  }

  .player-competition-row {
    grid-template-columns: 1fr;
  }

  .player-competition-stats {
    justify-content: flex-start;
  }

  .report-scorers-grid,
  .report-lineup-grid {
    grid-template-columns: 1fr;
  }

  .report-scorer-team-head,
  .report-lineup-card-head,
  .report-workflow-head,
  .report-workflow-team-head,
  .competition-scorers-head,
  .report-enhanced-head {
    flex-direction: column;
    align-items: stretch;
  }

  .competition-scorers-actions {
    justify-content: flex-start;
  }

  .competition-scorers-toggle {
    width: 100%;
    justify-content: center;
  }

  .competition-scorers-board.is-expanded .competition-scorers-list {
    max-height: 68dvh;
    padding-right: 0.1rem;
  }

  .competition-scorers-grid-boards {
    grid-template-columns: 1fr;
  }

  .report-player-stats-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-result-summary-scoreboard {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .report-result-summary-team,
  .report-result-summary-team-away {
    justify-content: flex-start;
    text-align: left;
  }

  .report-result-summary-score {
    width: 100%;
  }

  .report-player-stats-identity {
    width: 100%;
  }

  .report-player-stats-fields {
    grid-template-columns: 1fr;
  }

  .report-inline-lineup-toolbar,
  .report-inline-lineup-grid {
    grid-template-columns: 1fr;
  }

  .calcetto-detail-head,
  .calcetto-detail-actions,
  .calcetto-card-actions,
  .calcetto-result-form,
  .calcetto-report-head,
  .calcetto-report-team-head,
  .calcetto-slot-form,
  .calcetto-stat-form {
    flex-direction: column;
    align-items: stretch;
  }

  .calcetto-detail-actions > *,
  .calcetto-card-actions > *,
  .calcetto-result-form > *,
  .calcetto-report-head > *,
  .calcetto-report-team-head > *,
  .calcetto-slot-form > *,
  .calcetto-stat-form > * {
    width: 100%;
    max-width: none;
  }

  .calcetto-competition-logo-inline,
  .calcetto-competition-logo-controls {
    grid-template-columns: 1fr;
  }

  .calcetto-competition-logo-controls > * {
    width: 100%;
    max-width: none;
  }

  .calcetto-report-score-grid,
  .calcetto-report-match-preview,
  .calcetto-report-player-row,
  .calcetto-profile-edit-grid,
  .calcetto-roster-request-row {
    grid-template-columns: 1fr;
  }

  .calcetto-profile-edit-grid .small-button {
    width: 100%;
  }

  .calcetto-detail-section-nav {
    position: sticky;
    top: 0.55rem;
    z-index: 8;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.45rem;
    border-radius: 20px;
    border: 1px solid rgba(250, 204, 21, 0.12);
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(16px);
  }

  .calcetto-area-chooser {
    gap: 0.62rem;
    padding: 0.68rem;
    border-radius: 18px;
  }

  .calcetto-area-chooser-head {
    align-items: flex-start;
  }

  .calcetto-area-chooser-head h3 {
    font-size: 1.55rem;
  }

  .calcetto-area-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .calcetto-area-card {
    min-height: 0;
    padding: 0.72rem;
    border-radius: 14px;
  }

  .calcetto-area-card span {
    font-size: 0.58rem;
  }

  .calcetto-area-card strong {
    font-size: 1.35rem;
  }

  .calcetto-area-card small {
    font-size: 0.68rem;
  }

  .calcetto-detail-section-tab {
    padding: 0.68rem;
    border-radius: 16px;
  }

  .calcetto-detail-section-tab strong {
    font-size: 0.9rem;
  }

  .calcetto-detail-section-tab span {
    font-size: 0.58rem;
  }

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

  .calcetto-matchday-tile {
    padding: 0.62rem;
    border-radius: 16px;
  }

  .calcetto-matchday-tile-main strong {
    font-size: 1.8rem;
  }

  .calcetto-matchday-tile-main small {
    font-size: 0.72rem;
  }

  .calcetto-matchday-page-head {
    grid-template-columns: 1fr;
  }

  .calcetto-section-page-head h3,
  .calcetto-matchday-page-head h3 {
    font-size: 2rem;
  }

  .calcetto-report-page-hero {
    border-radius: 22px;
  }

  .calcetto-report-match-preview > div,
  .calcetto-report-match-preview > div:last-child {
    grid-template-columns: auto minmax(0, 1fr);
    text-align: left;
  }

  .calcetto-report-match-preview > div:last-child .logo-thumb,
  .calcetto-report-match-preview > div:last-child .team-logo-thumb {
    order: 0;
  }

  .calcetto-report-match-preview b {
    width: 100%;
  }

  .calcetto-report-score-grid strong {
    padding: 0;
    text-align: center;
  }

  .calcetto-match-line {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .calcetto-match-team-away {
    direction: ltr;
    text-align: left;
  }

  .calcetto-score {
    width: 100%;
  }

  .calcetto-team-card,
  .calcetto-team-card-main,
  .calcetto-registered-team,
  .calcetto-request-row,
  .calcetto-manager-team-row,
  .calcetto-roster-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .calcetto-team-card .calcetto-card-actions,
  .calcetto-team-card-main .calcetto-card-actions,
  .calcetto-registered-team .ghost-button,
  .calcetto-request-row .small-button,
  .calcetto-manager-team-row .small-button,
  .calcetto-roster-row .small-button,
  .calcetto-roster-row .calcetto-roster-status,
  .calcetto-roster-row .calcetto-roster-actions {
    grid-column: 1 / -1;
  }

  .calcetto-roster-row .calcetto-roster-status,
  .calcetto-roster-actions {
    justify-self: stretch;
  }

  .calcetto-roster-actions {
    justify-content: stretch;
  }

  .calcetto-roster-actions .small-button {
    flex: 1 1 0;
  }

  .calcetto-roster-request-row .calcetto-roster-actions {
    justify-content: stretch;
  }

  .calcetto-matchday-toolbar {
    justify-content: stretch;
  }

  .calcetto-matchday-toolbar .small-button {
    width: 100%;
  }

  .calcetto-match-actions {
    justify-content: stretch;
  }

  .calcetto-match-actions .small-button {
    width: 100%;
  }

  .calcetto-match-card {
    gap: 0.55rem;
    padding: 0.62rem;
  }

  .calcetto-match-meta {
    gap: 0.3rem;
  }

  .calcetto-match-meta span {
    padding: 0.18rem 0.34rem;
    font-size: 0.56rem;
    letter-spacing: 0.02em;
  }

  .calcetto-match-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
  }

  .calcetto-match-actions .small-button {
    width: auto;
    min-height: 2.05rem;
    padding: 0.42rem 0.46rem;
    font-size: 0.64rem;
    line-height: 1.05;
  }

  .calcetto-match-line {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.36rem;
    text-align: left;
  }

  .calcetto-match-team {
    gap: 0.34rem;
  }

  .calcetto-match-team .logo-thumb,
  .calcetto-match-team .team-logo-thumb {
    width: 1.65rem;
    height: 1.65rem;
  }

  .calcetto-match-team strong {
    min-width: 0;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calcetto-match-team-away {
    direction: rtl;
    text-align: right;
  }

  .calcetto-match-team-away > * {
    direction: ltr;
  }

  .calcetto-score {
    width: auto;
    min-width: 3.2rem;
    padding: 0.3rem 0.42rem;
    border-radius: 10px;
    font-size: 1rem;
  }

  .calcetto-result-quick-form {
    grid-template-columns: minmax(2.85rem, 0.45fr) repeat(2, minmax(3.25rem, 0.55fr)) minmax(3.4rem, 0.55fr);
    gap: 0.28rem;
    padding: 0.42rem;
    border-radius: 12px;
  }

  .calcetto-result-quick-form > * {
    width: auto;
    max-width: none;
  }

  .calcetto-result-form-label span,
  .calcetto-result-quick-form label span {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }

  .calcetto-result-quick-form input {
    min-height: 2rem;
    padding: 0.32rem 0.34rem;
    font-size: 0.82rem;
  }

  .calcetto-result-quick-form .small-button {
    width: auto;
    min-height: 2rem;
    padding: 0.32rem 0.38rem;
    font-size: 0.64rem;
    line-height: 1;
    white-space: nowrap;
  }

  .calcetto-stat-quick-form {
    grid-template-columns: minmax(0, 1fr) 3.2rem 3.2rem minmax(3.8rem, auto);
    gap: 0.28rem;
    padding: 0.42rem;
    border-radius: 12px;
  }

  .calcetto-stat-quick-form > * {
    width: auto;
    max-width: none;
  }

  .calcetto-stat-quick-form select,
  .calcetto-stat-quick-form input,
  .calcetto-stat-quick-form .small-button {
    min-height: 2rem;
    padding: 0.3rem 0.34rem;
    font-size: 0.62rem;
  }

  .calcetto-summer-team-form,
  .calcetto-captain-manager {
    gap: 0.52rem;
    padding: 0.62rem;
    border-radius: 14px;
  }

  .calcetto-summer-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.48rem;
    align-items: start;
  }

  .calcetto-summer-head h3 {
    font-size: 1.45rem;
  }

  .calcetto-summer-tabs {
    display: none;
  }

  .calcetto-summer-menu {
    display: block;
    grid-column: 2;
    grid-row: 1;
    min-width: 7.8rem;
  }

  .calcetto-summer-top-search {
    grid-column: 1 / -1;
  }

  .calcetto-summer-top-search input,
  .calcetto-summer-search-field input {
    min-height: 2.1rem;
    padding: 0.42rem 0.52rem;
    font-size: 0.72rem;
  }

  .calcetto-summer-menu summary {
    min-height: 2.15rem;
    padding: 0.38rem 0.52rem;
    border-radius: 12px;
  }

  .calcetto-summer-menu-list {
    position: static;
    margin-top: 0.35rem;
    min-width: 0;
  }

  .calcetto-summer-layout,
  .calcetto-summer-search-grid,
  .calcetto-summer-competition-layout {
    grid-template-columns: 1fr;
    gap: 0.52rem;
  }

  .calcetto-summer-competition-list {
    max-height: 20rem;
  }

  .calcetto-summer-card {
    gap: 0.52rem;
    padding: 0.62rem;
    border-radius: 14px;
  }

  .calcetto-summer-card-actions {
    gap: 0.35rem;
  }

  .calcetto-summer-card-actions .small-button {
    min-height: 1.95rem;
    padding: 0.34rem 0.44rem;
    font-size: 0.62rem;
  }

  .calcetto-summer-player-list {
    max-height: 28rem;
    gap: 0.38rem;
  }

  .calcetto-summer-card-head,
  .calcetto-summer-result-row,
  .calcetto-summer-request-row,
  .calcetto-summer-mini-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.42rem;
  }

  .calcetto-summer-result-row .small-button,
  .calcetto-summer-request-row .small-button {
    grid-column: span 1;
    min-height: 1.95rem;
    padding: 0.34rem 0.42rem;
    font-size: 0.62rem;
  }

  .calcetto-summer-card strong,
  .calcetto-summer-result-row strong,
  .calcetto-summer-request-row strong,
  .calcetto-summer-mini-card strong {
    font-size: 0.8rem;
  }

  .calcetto-summer-card small,
  .calcetto-summer-card span,
  .calcetto-summer-result-row small,
  .calcetto-summer-request-row small,
  .calcetto-summer-mini-card small,
  .calcetto-summer-status-pill {
    font-size: 0.62rem;
  }

  .calcetto-summer-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .calcetto-summer-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .calcetto-summer-team-form .field span,
  .calcetto-player-profile-form .field span,
  .calcetto-captain-manager span,
  .calcetto-captain-row small {
    font-size: 0.62rem;
  }

  .calcetto-summer-team-form input,
  .calcetto-summer-team-form select,
  .calcetto-player-profile-form input,
  .calcetto-player-profile-form select,
  .calcetto-player-profile-form textarea {
    min-height: 2.15rem;
    padding: 0.42rem 0.48rem;
    font-size: 0.72rem;
  }

  .calcetto-captain-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.4rem;
    padding: 0.42rem;
    border-radius: 12px;
  }

  .calcetto-captain-row .logo-thumb,
  .calcetto-captain-row .team-logo-thumb {
    width: 1.8rem;
    height: 1.8rem;
  }

  .calcetto-roster-form {
    grid-template-columns: 1fr;
  }

  .calcetto-slot-form {
    grid-template-columns: 1fr;
  }
}

.team-membership-card {
  display: grid;
  gap: 0.9rem;
}

.team-membership-shell {
  border-radius: 22px;
  padding: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.12);
  background: rgba(13, 10, 24, 0.88);
}

.team-membership-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.team-membership-head strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.team-membership-head span:not(.status-badge) {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-detail-card h5 {
  margin: 0 0 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-list {
  display: grid;
  gap: 0.7rem;
}

.detail-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.detail-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-row strong {
  color: var(--text);
}

.detail-row span,
.detail-empty {
  color: var(--muted);
  text-align: right;
}

.external-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.external-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(18, 11, 30, 0.78);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.external-link-pill:hover {
  border-color: rgba(168, 85, 247, 0.34);
  background: rgba(26, 14, 40, 0.86);
}

.report-links-preview {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: rgba(20, 12, 32, 0.82);
}

.report-staff-live-grid {
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(18, 10, 30, 0.72);
}

.report-staff-live-grid .field {
  margin: 0;
}

.report-staff-live-grid input {
  min-width: 0;
}

.report-links-preview-copy {
  display: grid;
  gap: 0.2rem;
}

.report-links-preview-copy strong {
  font-size: 0.95rem;
}

.report-links-preview-copy span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.report-links-preview .field-note {
  margin: 0;
}

.competition-match-live-links {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.competition-match-live-links .external-link-pill {
  padding: 0.5rem 0.72rem;
  border-radius: 12px;
  font-size: 0.82rem;
}

.alert {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  line-height: 1.55;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.alert.warning {
  color: var(--warning);
  background: rgba(245, 191, 99, 0.12);
  border-color: rgba(245, 191, 99, 0.18);
}

.alert.success {
  color: var(--accent-soft);
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.19);
}

.alert.error {
  color: var(--danger);
  background: rgba(255, 128, 143, 0.11);
  border-color: rgba(255, 128, 143, 0.2);
}

.empty-state {
  padding: 1.4rem;
  border-radius: 20px;
  border: 1px dashed rgba(168, 85, 247, 0.2);
  color: var(--muted);
  text-align: center;
  background: rgba(22, 11, 34, 0.62);
}

.hidden {
  display: none !important;
}

.section-note,
.field-note,
.card-summary,
.collection-preview-note,
.ranking-preview-note,
.management-preview-note,
.competition-scorers-preview-note,
.report-captain-focus-note,
.tournament-beta-note,
.registration-founder-note,
.team-auto-roster-note {
  overflow-wrap: anywhere;
}

.compact-card-title-block,
.section-surface-header,
.panel-heading,
.training-topbar,
.button-row,
.tournament-actions,
.club-staff-main,
.team-detail-card,
.admin-card,
.tournament-card,
.market-card,
.team-card,
.hall-of-fame-row,
.service-card,
.public-panel,
.training-panel,
.training-filter-card {
  min-width: 0;
}

.chip,
.status-badge,
.ghost-button,
.primary-button,
.danger-button,
.small-button {
  max-width: 100%;
  min-width: 0;
}

.chip,
.status-badge {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@supports (content-visibility: auto) {
  .public-group,
  .quick-access,
  .service-gateway,
  .social-hub-card,
  .hub-focus-panel,
  .call-of-duty-hero-panel,
  .call-of-duty-layout,
  .call-of-duty-meta-panel,
  .watch-matches-layout,
  .watch-matches-player-panel,
  .friendly-layout,
  .friendly-board-panel,
  .stream-tool-layout,
  .stream-tool-control-panel,
  .kit-lab-shell,
  .calcetto-league-section,
  .calcetto-management-card,
  .calcetto-management-stack,
  .tournament-play-section,
  .training-panel,
  .training-sidebar,
  .team-membership-card,
  .standings-graphic-modal-card,
  .admin-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 28rem;
  }
}

@media (max-width: 1180px) {
  .tournaments-grid,
  .teams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .service-gateway,
  .service-gateway-grid,
  .account-layout,
  .call-of-duty-hero-panel,
  .call-of-duty-layout,
  .calcetto-league-hero,
  .calcetto-league-grid,
  .calcetto-admin-grid,
  .calcetto-management-stack,
  .calcetto-competition-manager-layout,
  .calcetto-manager-detail-head,
  .calcetto-manager-add-team,
  .calcetto-competition-logo-inline,
  .calcetto-competition-logo-controls,
  .calcetto-detail-grid,
  .hero-card,
  .quick-access-grid,
  .social-hub-card,
  .hub-focus-grid,
  .main-grid,
  .training-layout,
  .filters-row,
  .field-grid,
  .market-grid,
  .teams-grid,
  .tournaments-grid,
  .admin-grid,
  .ranking-editor,
  .ranking-row {
    grid-template-columns: 1fr;
  }

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

  .calcetto-league-section-wide {
    grid-column: auto;
  }

  .calcetto-admin-grid .stack-form:last-child,
  .calcetto-management-card-wide,
  .calcetto-detail-block-wide {
    grid-column: auto;
  }

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

  .training-summary-grid,
  .training-attendance-grid {
    grid-template-columns: 1fr;
  }

  .lineup-builder-grid {
    grid-template-columns: 1fr;
  }

  .report-audience-hero,
  .report-step-nav {
    grid-template-columns: 1fr;
  }

  .training-report-row {
    grid-template-columns: 1fr 1fr;
  }

  .staff-scroll-panel,
  .staff-scroll-panel-compact,
  .staff-scroll-panel-tall {
    overflow-y: auto;
    padding-right: 0.15rem;
    scrollbar-gutter: stable;
  }

  .staff-scroll-panel-compact {
    max-height: min(18rem, 42vh);
  }

  .staff-scroll-panel-tall {
    max-height: min(24rem, 58vh);
  }

  .training-report-stat {
    text-align: left;
  }

  .training-session-response {
    flex-direction: column;
    align-items: stretch;
  }

  .training-session-head,
  .training-session-badges {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .training-session-head {
    flex-direction: column;
  }

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

  .market-card-meta,
  .team-meta,
  .tournament-meta,
  .admin-card-meta {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: start;
    gap: 1rem;
    flex-direction: column;
  }

  .panel-heading {
    align-items: start;
    flex-direction: column;
  }

  .header-links {
    justify-content: flex-start;
  }

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

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .hero-copy,
  .hero-notes,
  .hub-focus-note,
  .public-group-note,
  .section-note,
  .field-note,
  .field-note-compact,
  .card-summary,
  .preview-inline-tags,
  .card-open-hint,
  .collection-preview-note,
  .ranking-preview-note,
  .management-preview-note,
  .competition-scorers-preview-note,
  .report-captain-focus-note,
  .registration-founder-note,
  .team-auto-roster-note,
  .tournament-beta-note,
  .calcetto-slot-editor-note,
  .roster-open-hint {
    display: none !important;
  }

  .alert,
  .form-message,
  .empty-state {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .empty-state {
    padding: 0.9rem;
    border-radius: 16px;
  }

  .section-surface-header,
  .panel-heading,
  .training-topbar,
  .club-request-group-title,
  .tournament-top,
  .compact-card-headline {
    gap: 0.55rem;
  }

  .section-surface-header h3,
  .panel-heading h2,
  .training-topbar h2,
  .compact-card-title-block h3,
  .tournament-card h3,
  .admin-card h4 {
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.02;
  }

  .button-row,
  .tournament-actions,
  .standings-head-actions,
  .club-staff-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.45rem;
  }

  .button-row > *,
  .tournament-actions > *,
  .standings-head-actions > *,
  .club-staff-actions > * {
    flex: 1 1 8rem;
  }

  .ghost-button,
  .primary-button,
  .danger-button,
  .small-button {
    min-height: 2.35rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
    line-height: 1.12;
    white-space: normal;
  }

  .calcetto-league-topbar {
    align-items: stretch;
  }

  .calcetto-league-topbar .button-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(4.8rem, 1fr));
    gap: 0.38rem;
  }

  .calcetto-league-topbar .button-row > * {
    flex: initial;
    width: 100%;
  }

  .calcetto-league-topbar .ghost-button,
  .calcetto-league-topbar .primary-button,
  .calcetto-top-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: 2.7rem;
    padding: 0.58rem 0.42rem;
    border-radius: 13px;
    font-size: 0.82rem;
    line-height: 1.08;
    text-align: center;
    letter-spacing: 0;
  }

  .calcetto-top-menu {
    min-width: 0;
  }

  .calcetto-top-menu summary {
    display: grid;
    gap: 0.04rem;
  }

  .calcetto-top-menu summary span {
    font-size: 0.54rem;
  }

  .calcetto-top-menu summary strong {
    max-width: 100%;
    font-size: 0.68rem;
  }

  .calcetto-top-menu-list {
    min-width: min(13rem, 78vw);
    max-height: min(18rem, calc(100dvh - 7rem));
  }

  .calcetto-league-topbar .primary-button {
    background: linear-gradient(180deg, #facc15, #d97706);
    box-shadow: 0 10px 22px rgba(217, 119, 6, 0.22);
  }

  .calcetto-league-topbar .ghost-button {
    background:
      linear-gradient(180deg, rgba(250, 204, 21, 0.1), rgba(255, 255, 255, 0.035)),
      rgba(7, 7, 10, 0.82);
    border-color: rgba(250, 204, 21, 0.18);
  }

  .calcetto-league-topbar .ghost-button::before,
  .calcetto-league-topbar .primary-button::before {
    display: inline-grid;
    place-items: center;
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    line-height: 1;
  }

  #calcettoManagementToggleButton::before {
    content: '⚙';
  }

  .calcetto-league-topbar [data-open-home-view='true']::before {
    content: '⌂';
  }

  #calcettoLeagueBackButton::before {
    content: '←';
  }

  .calcetto-detail-section-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.38rem;
    padding: 0.38rem;
    border-radius: 16px;
  }

  .calcetto-detail-section-tab {
    min-height: 3.2rem;
    padding: 0.5rem 0.56rem;
    border-radius: 13px;
    text-align: center;
    place-content: center;
  }

  .calcetto-detail-section-tab strong {
    font-size: 0.82rem;
    line-height: 0.98;
  }

  .calcetto-detail-section-tab span {
    font-size: 0.54rem;
    line-height: 1.1;
  }

  .chip,
  .status-badge {
    min-height: 1.55rem;
    padding: 0.28rem 0.48rem;
    font-size: 0.64rem;
    letter-spacing: 0.04em;
  }

  .service-card,
  .service-card-primary,
  .tournament-card,
  .team-card,
  .market-card,
  .admin-card,
  .panel,
  .training-panel,
  .training-filter-card {
    overflow: hidden;
  }

  .service-card small,
  .compact-card-title-block p,
  .tournament-status {
    display: none !important;
  }

  .service-card strong,
  .compact-card-title-block h3,
  .team-card h3,
  .market-card h3,
  .tournament-card h3 {
    overflow-wrap: anywhere;
  }

  .page-shell {
    gap: 0.8rem;
    padding: 0.85rem 0.85rem 2rem;
  }

  .training-view {
    padding: 1rem 0.9rem 1.6rem;
  }

  .modal-overlay.is-competition-report {
    display: block;
    place-items: stretch;
    padding: 0;
    overflow: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
  }

  .modal-card.is-competition-report {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    padding:
      calc(0.95rem + env(safe-area-inset-top))
      0.85rem
      calc(1.25rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
    scrollbar-gutter: stable;
  }

  .modal-card.is-competition-report .modal-header {
    margin: -0.05rem -0.05rem 0.8rem;
    padding: 0.2rem 0.05rem 0.75rem;
  }

  .modal-card.is-competition-report .stack-form {
    display: grid;
    align-content: start;
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 0.4rem;
    overflow-y: visible;
    touch-action: pan-y pinch-zoom;
  }

  .modal-card.is-competition-report .stack-form > .button-row:last-of-type {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-top: 0.2rem;
    padding-top: 0.75rem;
    padding-bottom: calc(0.25rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(12, 9, 24, 0), rgba(12, 9, 24, 0.92) 24%, rgba(12, 9, 24, 0.98));
  }

  .modal-card.is-competition-report input,
  .modal-card.is-competition-report textarea,
  .modal-card.is-competition-report select {
    font-size: 16px;
  }

  .modal-card.is-competition-report button,
  .modal-card.is-competition-report a,
  .modal-card.is-competition-report input,
  .modal-card.is-competition-report textarea,
  .modal-card.is-competition-report select {
    touch-action: manipulation;
  }

  .training-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .lineup-builder-toolbar,
  .lineup-pitch-row-difensore,
  .lineup-pitch-row-centrocampista,
  .lineup-pitch-row-attaccante,
  .lineup-inbox-meta,
  .report-audience-team-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.72rem 0.82rem;
  }

  .brand-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
  }

  .training-summary-grid,
  .training-report-row {
    grid-template-columns: 1fr;
  }

  .report-audience-shell {
    gap: 0.8rem;
    padding: 0.82rem 0.85rem 0.9rem;
    border-radius: 22px;
    min-width: 0;
  }

  .report-audience-hero {
    gap: 0.75rem;
  }

  .report-audience-match-card,
  .report-audience-team-card,
  .report-result-stage,
  .report-result-summary-card,
  .report-scorer-team-card,
  .report-lineup-card,
  .report-own-goal-row,
  .report-player-stats-row,
  .report-links-preview,
  .report-staff-live-grid {
    padding: 0.82rem 0.85rem;
    border-radius: 18px;
    min-width: 0;
  }

  .report-audience-match-line {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    justify-items: stretch;
  }

  .report-audience-score {
    width: 100%;
    min-height: 3.15rem;
    justify-content: center;
    text-align: center;
    border-radius: 16px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.18);
  }

  .report-step-nav {
    gap: 0.55rem;
    min-width: 0;
  }

  .report-step-nav-button {
    min-height: auto;
    gap: 0.14rem;
    padding: 0.72rem 0.78rem;
    border-radius: 16px;
  }

  .report-step-nav-button span {
    font-size: 0.79rem;
    line-height: 1.35;
  }

  .report-workflow-grid,
  .report-inline-lineup-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .report-inline-lineup-builder {
    gap: 0.75rem;
  }

  .report-workflow-section,
  .report-enhanced-section,
  .report-audience-section,
  .report-lineup-grid,
  .report-scorers-grid,
  .report-download-card,
  .report-player-stats-list {
    min-width: 0;
    touch-action: pan-y pinch-zoom;
  }

  .report-player-stats-row {
    gap: 0.6rem;
  }

  .report-own-goal-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .report-own-goal-row small {
    font-size: 0.7rem;
  }

  .beta-lab-roadmap {
    grid-template-columns: 1fr;
  }

  .side-panel {
    order: 1;
  }

  .content-stack {
    order: 2;
  }

  .header-links,
  .quick-access {
    display: none;
  }

  .hub-focus-panel {
    order: 1;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 22px;
  }

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

  .hub-focus-button {
    min-height: 6.2rem;
    padding: 0.78rem;
  }

  .hub-focus-button-head {
    align-items: flex-start;
    gap: 0.55rem;
  }

  .hub-focus-button strong {
    font-size: 1.05rem;
  }

  .hub-focus-button-copy {
    font-size: 0.74rem;
  }

  .service-gateway {
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 24px;
  }

  .service-gateway-copy {
    padding: 0.15rem;
  }

  .service-gateway-copy h1 {
    max-width: 9ch;
    font-size: clamp(2.45rem, 14vw, 3.75rem);
  }

  .service-gateway-copy p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .service-gateway-tags {
    gap: 0.4rem;
  }

  .service-gateway-tags span {
    min-height: 1.75rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.65rem;
  }

  .service-card,
  .service-card-primary {
    min-height: 10.8rem;
    padding: 0.9rem;
    border-radius: 20px;
  }

  .service-card-icon {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 16px;
  }

  .service-card strong {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .call-of-duty-hero-panel {
    padding: 1rem;
    border-radius: 22px;
  }

  .calcetto-league-brand,
  .calcetto-league-hero {
    align-items: flex-start;
  }

  .calcetto-league-brand {
    flex-direction: column;
  }

  .calcetto-league-brand img {
    width: 5.3rem;
    border-radius: 20px;
  }

  .calcetto-league-status {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .call-of-duty-hero-stats {
    grid-template-columns: 1fr;
  }

  .call-of-duty-weapon-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .call-of-duty-copy-button,
  .call-of-duty-remove-button,
  .call-of-duty-weapon-card code {
    grid-column: 1 / -1;
    width: 100%;
  }

  .call-of-duty-build-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .call-of-duty-build-votes {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    min-width: 0;
  }

  .call-of-duty-build-score {
    grid-column: 1 / -1;
  }

  .call-of-duty-vote-button {
    width: 100%;
  }

  .watch-matches-layout,
  .stream-tool-layout,
  .friendly-layout,
  .stream-tool-entry-grid,
  .watch-matches-player-meta {
    grid-template-columns: 1fr;
  }

  .stream-tool-control-panel {
    order: -1;
  }

  .stream-tool-remote-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .stream-tool-channel-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .stream-tool-channel-actions > * {
    flex: 1 1 8rem;
  }

  .watch-matches-sidebar {
    order: -2;
  }

  .watch-matches-player-panel {
    order: 0;
  }

  .friendly-sidebar {
    order: -2;
  }

  .friendly-board-head,
  .friendly-card-footer {
    align-items: stretch;
  }

  .friendly-form-grid,
  .friendly-card-meta,
  .friendly-board-tools,
  .friendly-kpi-row {
    grid-template-columns: 1fr;
  }

  .friendly-day-filter,
  .friendly-board-tools .small-button,
  .friendly-card-footer > *,
  .friendly-card-footer .small-button {
    width: 100%;
  }

  .friendly-card {
    gap: 0.7rem;
    padding: 0.78rem;
    border-radius: 18px;
  }

  .friendly-card-team {
    gap: 0.55rem;
  }

  .friendly-card-team .team-logo-thumb {
    width: 2.35rem;
    height: 2.35rem;
  }

  .friendly-card-team strong {
    font-size: 1.1rem;
  }

  .friendly-card-contact,
  .friendly-card-meta > span {
    padding: 0.52rem 0.62rem;
  }

  .friendly-versus {
    margin-left: 1.6rem;
  }

  .watch-matches-player-shell,
  .watch-matches-player-frame,
  .watch-matches-player-fallback {
    min-height: 0;
  }

  .watch-matches-player-shell {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
  }

  .watch-matches-player-actions {
    width: 100%;
    justify-content: stretch;
    border-radius: 18px;
  }

  .watch-matches-player-actions .small-button {
    flex: 1 1 5.5rem;
    min-width: 0;
    padding-inline: 0.72rem;
    font-size: 0.78rem;
  }

  .watch-matches-expanded-dock {
    top: calc(0.55rem + env(safe-area-inset-top));
    width: calc(100vw - 1rem);
    border-radius: 18px;
  }

  .watch-matches-expanded-dock .small-button {
    flex: 1 1 6.5rem;
    min-width: 0;
    padding-inline: 0.72rem;
    font-size: 0.78rem;
  }

  .watch-match-card {
    padding: 0.78rem;
  }

  .watch-match-card-row {
    grid-template-columns: 1fr;
  }

  .watch-match-card-fullscreen {
    min-width: 0;
    min-height: 2.85rem;
    padding: 0.65rem 0.85rem;
  }

  .social-view-grid {
    grid-template-columns: 1fr;
  }

  .social-view-link {
    min-height: 5.8rem;
  }

  .hero-card {
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 24px;
  }

  .hero-card h1 {
    max-width: 10ch;
    font-size: clamp(2.25rem, 14vw, 3.35rem);
  }

  .hero-copy {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .hero-notes {
    display: none;
  }

  .main-grid,
  .side-panel,
  .content-stack {
    gap: 0.75rem;
  }

  .panel.public-group {
    padding: 1rem;
    gap: 0.75rem;
  }

  .mobile-section-card,
  .mobile-public-section {
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(168, 85, 247, 0.12);
    background: rgba(9, 8, 21, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  }

  .mobile-section-card.is-open,
  .mobile-public-section.is-open {
    border-color: rgba(168, 85, 247, 0.28);
    background: linear-gradient(180deg, rgba(14, 12, 30, 0.92), rgba(9, 8, 21, 0.84));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 14px 34px rgba(0, 0, 0, 0.18);
  }

  .mobile-section-card:not(.is-open),
  .mobile-public-section:not(.is-open) {
    padding-block: 0.78rem;
    background: rgba(9, 8, 21, 0.58);
  }

  .mobile-section-header {
    align-items: center;
  }

  .mobile-section-header h3 {
    font-size: 1.35rem;
  }

  .mobile-section-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .mobile-section-card:not(.is-open) .mobile-section-body,
  .mobile-public-section:not(.is-open) .mobile-section-body {
    display: none;
  }

  .mobile-section-card .mobile-section-body,
  .mobile-public-section .mobile-section-body {
    gap: 0.85rem;
  }

  .mobile-section-card.is-open .mobile-section-body,
  .mobile-public-section.is-open .mobile-section-body {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(168, 85, 247, 0.12);
  }

  .mobile-section-card .section-surface:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .mobile-section-card .member-card {
    padding-bottom: 0.4rem;
  }

  .club-sync-beta-layout {
    grid-template-columns: 1fr;
  }

  .club-sync-beta-builder-head {
    flex-direction: column;
  }

  .club-sync-beta-optional-grid {
    grid-template-columns: 1fr;
  }

  .club-sync-beta-summary-head,
  .club-sync-beta-summary-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .club-sync-beta-summary-meta,
  .club-sync-beta-summary-grid {
    grid-template-columns: 1fr;
  }

  .club-sync-beta-detail-hero,
  .club-sync-beta-detail-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .club-sync-beta-detail-grid {
    grid-template-columns: 1fr;
  }

  .kit-lab-summary-grid,
  .kit-lab-preview-grid {
    grid-template-columns: 1fr;
  }

  .kit-lab-workflow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kit-lab-workflow-strip span {
    justify-content: flex-start;
  }

  .kit-lab-slider-values,
  .kit-lab-canvas-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .kit-lab-studio-card {
    padding: 0.75rem;
    border-radius: 22px;
  }

  .kit-lab-studio-actions {
    width: 100%;
    justify-content: stretch;
  }

  .kit-lab-studio-actions > * {
    flex: 1 1 calc(50% - 0.45rem);
  }

  .kit-lab-logo-manager {
    grid-template-columns: 1fr;
  }

  .kit-lab-logo-manager-actions {
    justify-content: stretch;
  }

  .kit-lab-logo-manager-actions > * {
    flex: 1 1 auto;
  }

  .kit-lab-palette-grid,
  .kit-lab-logo-nudge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kit-lab-studio-shell {
    border-radius: 20px;
  }

  .kit-lab-studio-canvas {
    min-height: 24rem;
    max-height: 68vh;
  }

  .kit-lab-hotspot {
    min-width: 0;
    min-height: 1.65rem;
    padding: 0.24rem 0.42rem;
    font-size: 0.55rem;
    letter-spacing: 0.05em;
  }

  .kit-lab-hotspot::before {
    width: 0.42rem;
    height: 0.42rem;
    margin-right: 0.2rem;
  }

  .kit-lab-hotspot-left {
    left: 22%;
  }

  .kit-lab-hotspot-right {
    right: 22%;
  }

  .kit-lab-canvas-card,
  .kit-lab-canvas-shell {
    padding: 0.8rem;
  }

  .beta-lab-detail summary {
    align-items: start;
    flex-direction: column;
  }

  .public-group-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .public-group-shortcut {
    border: 1px solid rgba(168, 85, 247, 0.16);
    background: rgba(18, 12, 30, 0.78);
    color: var(--text);
    border-radius: 999px;
    padding: 0.52rem 0.9rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

.public-group-shortcut:hover {
  border-color: rgba(168, 85, 247, 0.28);
  background: rgba(24, 15, 39, 0.92);
}

.mobile-public-section .panel-heading {
  margin-bottom: 0;
}

  .public-group-note {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .public-group-stack {
    gap: 0.75rem;
  }

  .panel.public-subpanel {
    padding: 0.95rem;
    border-radius: 20px;
    box-shadow: none;
    background: rgba(10, 8, 22, 0.72);
  }

  .public-subpanel::before {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), transparent 55%);
  }

  .public-subpanel .panel-heading h2 {
    font-size: 1.55rem;
  }

  .public-subpanel .count-pill strong {
    font-size: 1.45rem;
  }

  .public-subpanel .section-note {
    font-size: 0.9rem;
    line-height: 1.55;
  }

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

  .site-header {
    padding-right: 6.2rem;
  }

  .mobile-quick-menu {
    position: fixed;
    top: 0.95rem;
    right: 1rem;
    z-index: 160;
    display: block;
    width: min(19rem, calc(100vw - 2rem));
  }

  .mobile-menu-toggle {
    padding: 0.65rem 0.75rem;
  }

  .mobile-menu-panel {
    max-height: min(34rem, calc(100dvh - 6rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .header-links,
  .button-row,
  .inline-form,
  .tournament-actions,
  .member-headline,
  .ranking-management-main,
  .ranking-stats,
  .tournament-top,
  .admin-card-top,
  .approval-row-identity,
  .logo-upload-wrap,
  .modal-header,
  .team-detail-hero,
  .member-profile-hero,
  .detail-row,
  .management-main,
  .club-staff-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header-links .ghost-link,
  .button-row > *,
  .inline-form > *,
  .tournament-actions > * {
    width: 100%;
  }

  .logo-upload-wrap {
    grid-template-columns: 1fr;
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .logo-preview-shell {
    width: 100%;
    max-width: 7rem;
  }

  .team-form {
    margin-top: 0.85rem;
    padding: 0.78rem;
    border-radius: 20px;
  }

  .team-form .field-grid {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .team-form .field input,
  .team-form .field textarea,
  .team-form .field select {
    min-height: 3rem;
    border-radius: 14px;
    font-size: 16px;
  }

  .team-auto-roster-note {
    padding: 0.72rem 0.78rem;
    border-radius: 16px;
  }

  .team-detail-grid {
    grid-template-columns: 1fr;
  }

  .member-profile-grid {
    grid-template-columns: 1fr;
  }

  #memberProfileSection {
    gap: 0.62rem;
  }

  #memberProfileSection .section-surface-header {
    gap: 0.35rem;
  }

  #memberProfileSection .stack-form {
    gap: 0.58rem;
  }

  #memberProfileSection .field-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  #memberProfileSection .field span {
    font-size: 0.68rem;
  }

  #memberProfileSection input,
  #memberProfileSection select {
    min-height: 2.55rem;
    border-radius: 8px;
    font-size: 0.82rem;
  }

  #memberProfileSection .field-note {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  #memberProfileSection .primary-button {
    min-height: 2.55rem;
    border-radius: 8px;
    font-size: 0.78rem;
  }

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

  .detail-row span {
    text-align: left;
  }

  .management-meta,
  .management-actions,
  .founder-id-editor,
  .ranking-editor {
    grid-template-columns: 1fr;
  }

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

  .management-row,
  .approval-row {
    gap: 0.65rem;
    padding: 0.78rem;
    border-radius: 18px;
  }

  #teamModerationGrid {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    scrollbar-gutter: auto;
  }

  .approval-row-identity {
    gap: 0.55rem;
  }

  .approval-row-identity .team-logo-thumb {
    width: 2.25rem;
    height: 2.25rem;
    flex-basis: 2.25rem;
    border-radius: 12px;
  }

  .approval-row-identity strong,
  .founder-ban-row h4 {
    font-size: 1rem;
    line-height: 1;
  }

  .approval-row-meta {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.68rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.8rem;
  }

  .approval-row-actions,
  .management-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.42rem;
    justify-content: stretch;
  }

  .approval-row-actions > *,
  .management-actions > *,
  .founder-id-editor-button {
    width: 100%;
  }

  .staff-release-requests-grid {
    max-height: min(34rem, 68dvh);
    padding-right: 0.1rem;
  }

  .staff-release-preview-note {
    align-items: stretch;
    flex-direction: column;
    padding: 0.62rem;
    border-radius: 13px;
    font-size: 0.76rem;
  }

  .staff-release-preview-note .small-button {
    width: 100%;
    min-height: 2.15rem;
    font-size: 0.74rem;
  }

  .staff-release-request-row {
    gap: 0.5rem;
    padding: 0.62rem;
    border-radius: 14px;
  }

  .staff-release-request-row .management-main {
    gap: 0.48rem;
  }

  .staff-release-request-row .lineup-inbox-title {
    gap: 0.45rem;
  }

  .staff-release-request-row .lineup-inbox-title .logo-thumb,
  .staff-release-request-row .lineup-inbox-title .team-logo-thumb {
    width: 2rem;
    height: 2rem;
    flex-basis: 2rem;
    border-radius: 10px;
  }

  .staff-release-request-row .lineup-inbox-title h4 {
    font-size: 0.9rem;
  }

  .staff-release-request-row .lineup-inbox-title p,
  .staff-release-request-row .chip {
    font-size: 0.68rem;
  }

  .staff-release-request-row .management-meta {
    grid-template-columns: 1fr;
    gap: 0.28rem;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.7rem;
  }

  .staff-release-request-row .management-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.36rem;
  }

  .staff-release-request-row .small-button {
    min-height: 2.05rem;
    padding: 0.42rem 0.4rem;
    font-size: 0.68rem;
  }

  .founder-id-editor {
    padding: 0.68rem;
    border-radius: 15px;
  }

  .management-status {
    justify-content: flex-start;
  }

  .ranking-row {
    text-align: left;
  }

  .ranking-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .ranking-stats,
  .ranking-stats-inline {
    justify-content: flex-start;
  }

  .ranking-toolbar {
    align-items: stretch;
  }

  .ranking-toolbar > * {
    width: 100%;
  }

  .registration-list {
    max-height: min(18rem, 44vh);
    overflow-y: auto;
    padding-right: 0.15rem;
  }

  .registration-item {
    grid-template-columns: 1fr;
  }

  .registration-founder-row {
    grid-template-columns: 1fr;
  }

  .registration-meta {
    justify-items: start;
    text-align: left;
    white-space: normal;
  }

  .registration-actions {
    margin-left: 0;
    margin-top: 0.65rem;
  }

  .registration-actions-staff {
    min-width: 0;
  }

  .tournament-play-meta-row,
  .tournament-beta-match-top,
  .tournament-beta-match-line,
  .tournament-beta-standings-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tournament-beta-groups {
    grid-template-columns: 1fr;
  }

  .tournament-play-section {
    padding: 0.72rem;
    border-radius: 22px;
  }

  .tournament-beta-match-card {
    grid-template-columns: 1fr;
    padding: 0.78rem;
    border-radius: 18px;
  }

  .competition-matchday-schedule-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .competition-matchday-schedule-actions {
    width: 100%;
    justify-content: stretch;
  }

  .competition-matchday-head-actions,
  .competition-matchday-head-actions > *,
  .competition-matchday-schedule-actions > * {
    width: 100%;
  }

  .tournament-beta-match-actions {
    width: 100%;
  }

  .tournament-beta-match-actions > * {
    width: 100%;
  }

  .standings-head-actions {
    width: 100%;
    justify-content: stretch;
  }

  .standings-head-actions > * {
    width: 100%;
  }

  .tournament-beta-score {
    min-width: 0;
  }

  .tournament-beta-match-line {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    align-items: stretch;
  }

  .tournament-beta-match-line > .tournament-beta-match-team:last-child {
    grid-template-columns: auto minmax(0, 1fr);
    text-align: left;
  }

  .tournament-beta-match-line > .tournament-beta-match-team:last-child .team-logo-thumb {
    order: 0;
  }

  .tournament-beta-score {
    justify-self: center;
  }

  .tournament-beta-match-team-copy strong {
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .tournament-beta-match-group {
    padding: 0.42rem;
    border-radius: 18px;
  }

  .tournament-beta-collapsible-head {
    padding: 0.62rem;
    border-radius: 15px;
  }

  .tournament-beta-collapsible-head h3 {
    font-size: 0.98rem;
    line-height: 1.05;
    letter-spacing: 0.03em;
  }

  .section-surface .tournament-beta-collapsible-head h3 {
    font-size: 0.98rem;
  }

  .tournament-beta-group-summary {
    gap: 0.28rem;
  }

  .tournament-beta-summary-pill {
    min-height: 1.38rem;
    padding: 0.18rem 0.42rem;
    font-size: 0.6rem;
  }

  .tournament-beta-match-line {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.4rem;
  }

  .tournament-beta-match-line > .tournament-beta-match-team:last-child {
    grid-template-columns: minmax(0, 1fr) auto;
    text-align: right;
  }

  .tournament-beta-match-line > .tournament-beta-match-team:last-child .team-logo-thumb {
    order: 2;
  }

  .tournament-beta-match-team {
    min-height: 2.85rem;
    padding: 0.32rem;
    gap: 0.35rem;
  }

  .tournament-beta-match-team .team-logo-thumb {
    width: 1.65rem;
    height: 1.65rem;
    flex-basis: 1.65rem;
    border-radius: 9px;
  }

  .tournament-beta-match-team-copy strong {
    font-size: 0.86rem;
    line-height: 1.03;
  }

  .tournament-beta-match-team-copy span {
    font-size: 0.6rem;
  }

  .tournament-beta-score {
    min-width: 3.15rem;
    min-height: 2.2rem;
    padding: 0.25rem 0.42rem;
    border-radius: 12px;
    font-size: 1.1rem;
  }

  .tournament-beta-standings-table-head {
    display: grid;
    grid-template-columns: 1.45rem minmax(5.9rem, 1fr) 3.5rem minmax(8.3rem, 1fr);
    gap: 0.25rem;
    padding: 0 0.55rem 0.42rem;
    font-size: 0.56rem;
  }

  .standings-mobile-expand {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .tournament-beta-standing-row {
    grid-template-columns: 1.45rem minmax(5.9rem, 1fr) 3.5rem minmax(8.3rem, 1fr);
    gap: 0.25rem;
    padding: 0.46rem 0.55rem;
  }

  .tournament-beta-standing-team-with-logo {
    gap: 0.32rem;
  }

  .tournament-beta-standing-team-with-logo .team-logo-thumb {
    width: 1.45rem;
    height: 1.45rem;
    flex-basis: 1.45rem;
    border-radius: 8px;
  }

  .tournament-beta-standing-team-copy strong {
    font-size: 0.82rem;
  }

  .tournament-beta-standing-team-copy > span {
    display: none;
  }

  .tournament-beta-standing-row .registration-order {
    min-width: 1.35rem;
    min-height: 1.35rem;
    font-size: 0.68rem;
    border-radius: 6px;
  }

  .standing-form-strip {
    gap: 0.1rem;
  }

  .standing-form-chip {
    min-width: 1.02rem;
    min-height: 1.02rem;
    border-radius: 4px;
    font-size: 0.55rem;
  }

  .tournament-beta-standings-stats-head,
  .tournament-beta-standing-stats-compact {
    grid-template-columns: repeat(5, minmax(1.3rem, 1fr));
    gap: 0.12rem;
  }

  .tournament-beta-standings-stats-head span:nth-child(n + 6),
  .tournament-beta-standing-stats-compact .standing-stat-cell:nth-child(n + 6) {
    display: none;
  }

  .tournament-beta-standings-stats-head span {
    min-height: 1.15rem;
    border-radius: 4px;
  }

  .standing-stat-cell {
    min-height: 1.18rem;
    padding: 0.04rem 0.08rem;
    border-radius: 4px;
    font-size: 0.6rem;
  }

  .standings-live-board {
    border-radius: 22px;
  }

  .standings-live-board .tournament-beta-standings-head {
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 0.8rem 0.1rem;
    gap: 0.6rem;
  }

  .standings-live-board .standings-head-actions {
    width: 100%;
    justify-content: stretch;
  }

  .standings-live-board .standings-head-actions > * {
    flex: 1 1 auto;
  }

  .standings-live-board .tournament-beta-standings-table-shell {
    padding: 0 0.45rem 0.55rem;
    overflow: visible;
  }

  .standings-live-board .tournament-beta-standings-table-head,
  .standings-live-board .tournament-beta-standing-row {
    min-width: 0;
  }

  .standings-live-board .tournament-beta-standings-table-head {
    display: none;
  }

  .standings-live-board .tournament-beta-standing-row {
    grid-template-columns: 1.65rem minmax(0, 1fr);
    grid-template-areas:
      'rank team'
      'stats stats'
      'footer footer';
    gap: 0.38rem 0.48rem;
    padding: 0.56rem 0.62rem;
    border-radius: 14px;
  }

  .standings-live-board .tournament-beta-standing-row .registration-order {
    grid-area: rank;
    align-self: start;
  }

  .standings-live-board .tournament-beta-standing-team {
    grid-area: team;
    min-width: 0;
  }

  .standings-live-board .tournament-beta-standing-team-with-logo {
    gap: 0.4rem;
  }

  .standings-live-board .tournament-beta-standing-team-copy strong {
    font-size: 0.82rem;
  }

  .standings-live-board .standing-team-meta-row {
    display: grid;
    gap: 0.18rem;
    justify-items: start;
  }

  .standings-live-board .standing-team-meta-row > span {
    font-size: 0.6rem;
  }

  .standings-live-board .standing-form-inline .standing-form-strip {
    gap: 0.08rem;
  }

  .standings-live-board .standing-form-inline .standing-form-chip {
    min-width: 0.92rem;
    min-height: 0.92rem;
    font-size: 0.5rem;
  }

  .standings-live-board .tournament-beta-standings-stats-head,
  .standings-live-board .tournament-beta-standing-stats-compact {
    grid-area: stats;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.16rem;
  }

  .standings-live-board .tournament-beta-standing-stats-compact .standing-stat-cell:nth-child(n + 6) {
    display: flex;
  }

  .standings-live-board .standing-stat-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.07rem;
    min-height: 2rem;
    padding: 0.26rem 0.14rem 0.22rem;
    border-radius: 8px;
    font-size: 0.76rem;
    line-height: 1;
  }

  .standings-live-board .standing-stat-cell::before {
    content: attr(data-short-label);
    display: block;
    color: rgba(222, 215, 236, 0.68);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
  }

  .standings-live-board .standing-row-footer {
    grid-area: footer;
  }

  .standings-graphic-card {
    padding: 1rem;
    border-radius: 24px;
  }

  .standings-graphic-brand,
  .standings-graphic-brand-main,
  .standings-graphic-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .standings-graphic-brand-logo {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 18px;
  }

  .standings-graphic-brand-copy h4 {
    font-size: 1.8rem;
  }

  .standings-graphic-brand-meta {
    justify-content: flex-start;
  }

  .standings-graphic-table-head,
  .standings-graphic-row {
    min-width: 44rem;
  }

  .tournament-beta-standings-mobile-expanded {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-content: stretch;
    gap: 0.65rem;
    height: 100dvh;
    width: 100vw;
    padding:
      max(0.9rem, env(safe-area-inset-top))
      max(0.8rem, env(safe-area-inset-right))
      max(1rem, env(safe-area-inset-bottom))
      max(0.8rem, env(safe-area-inset-left));
    margin: 0;
    border-radius: 0;
    border: 0;
    background: linear-gradient(180deg, rgba(17, 14, 29, 0.98), rgba(9, 8, 18, 0.99));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
    isolation: isolate;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board {
    overflow-x: hidden;
    overflow-y: auto;
    background:
      radial-gradient(circle at top center, rgba(175, 91, 255, 0.18), rgba(175, 91, 255, 0) 34%),
      linear-gradient(180deg, rgba(16, 11, 27, 0.995), rgba(7, 6, 14, 0.995));
  }

  .tournament-beta-standings-mobile-expanded::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 10, 0.72);
    z-index: -1;
  }

  .tournament-beta-standings-mobile-expanded .tournament-beta-standings-head {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 0.72rem;
    border-radius: 18px;
    border: 1px solid rgba(168, 85, 247, 0.14);
    background:
      linear-gradient(180deg, rgba(28, 20, 45, 0.98), rgba(12, 10, 22, 0.98));
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standings-head {
    padding: 0.72rem;
  }

  .tournament-beta-standings-mobile-expanded .standings-mobile-expand {
    width: auto;
    min-width: 6.4rem;
    flex: 0 0 auto;
  }

  .tournament-beta-standings-mobile-expanded .tournament-beta-standings-table-shell {
    flex: none;
    min-height: 0;
    max-height: none;
    position: relative;
    z-index: 1;
    display: block;
    overflow-y: visible;
    overflow-x: hidden;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standings-table-shell {
    padding: 0 0.1rem 0.8rem;
  }

  .tournament-beta-standings-mobile-expanded .tournament-beta-standings-table-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: inherit;
  }

  .tournament-beta-standings-mobile-expanded .tournament-beta-standings-table-head,
  .tournament-beta-standings-mobile-expanded .tournament-beta-standing-row {
    grid-template-columns: 1.45rem minmax(8rem, 1fr) 4rem minmax(13.8rem, 1fr);
    min-width: 30rem;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standings-table-head,
  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standing-row {
    grid-template-columns: 1.55rem minmax(8.8rem, 1fr) minmax(14.8rem, 1fr);
    min-width: 27rem;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standings-table-head {
    display: none;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standings-list {
    display: grid;
    gap: 0.32rem;
    padding-bottom: 0.35rem;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standing-row {
    min-width: 0;
    grid-template-columns: 2rem minmax(0, 1fr);
    grid-template-areas:
      'rank team'
      'stats stats'
      'footer footer';
    gap: 0.42rem 0.55rem;
    padding: 0.68rem 0.72rem;
    margin-top: 0;
    border-radius: 14px;
    border-color: rgba(168, 85, 247, 0.08);
    background: linear-gradient(180deg, rgba(15, 11, 25, 0.98), rgba(10, 8, 18, 0.99));
    box-shadow: none;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .registration-order {
    grid-area: rank;
    align-self: start;
    min-width: 2rem;
    font-size: 0.86rem;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standing-team {
    grid-area: team;
    min-width: 0;
  }

  .tournament-beta-standings-mobile-expanded .tournament-beta-standing-team-copy > span {
    display: block;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .standing-team-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .tournament-beta-standings-mobile-expanded .tournament-beta-standing-team-with-logo .team-logo-thumb {
    width: 1.9rem;
    height: 1.9rem;
    flex-basis: 1.9rem;
  }

  .tournament-beta-standings-mobile-expanded .tournament-beta-standings-stats-head,
  .tournament-beta-standings-mobile-expanded .tournament-beta-standing-stats-compact {
    grid-template-columns: repeat(8, minmax(1.55rem, 1fr));
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standings-stats-head,
  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standing-stats-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.22rem;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standing-stats-compact {
    grid-area: stats;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .standing-stat-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    min-height: 2.45rem;
    padding: 0.32rem 0.18rem 0.28rem;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .standing-stat-cell::before {
    content: attr(data-short-label);
    display: block;
    color: rgba(222, 215, 236, 0.66);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
  }

  .tournament-beta-standings-mobile-expanded .tournament-beta-standings-stats-head span:nth-child(n + 6),
  .tournament-beta-standings-mobile-expanded .tournament-beta-standing-stats-compact .standing-stat-cell:nth-child(n + 6) {
    display: inline-flex;
  }

  .standing-row-footer {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .standing-row-footer {
    grid-area: footer;
    margin-top: 0.12rem;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standing-team-copy {
    gap: 0.16rem;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .tournament-beta-standing-team-copy strong {
    font-size: 0.92rem;
    line-height: 1.08;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .standing-team-meta-row > span {
    font-size: 0.58rem;
    letter-spacing: 0.07em;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .standing-form-inline {
    flex: 0 1 auto;
  }

  .tournament-beta-standings-mobile-expanded.standings-live-board .standing-form-inline .standing-form-chip {
    min-width: 0.92rem;
    min-height: 0.92rem;
    border-radius: 4px;
    font-size: 0.5rem;
  }

  .standing-adjustment-controls {
    width: 100%;
    margin-left: 0;
    justify-content: stretch;
  }

  .standing-adjustment-controls > * {
    width: 100%;
  }

  .standing-adjustment-field input {
    width: 100%;
  }

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

  .club-staff-row {
    grid-template-columns: 1fr;
  }

  .approval-row-actions {
    justify-content: stretch;
  }

  .approval-row-actions > * {
    width: 100%;
  }

  .club-staff-actions > * {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .social-hub-grid {
    grid-template-columns: 1fr;
  }

  .social-hub-card {
    padding: 0.95rem;
  }

  .social-hub-link {
    min-height: 4.2rem;
  }

  .tournament-beta-match-line {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .tournament-beta-match-line > .tournament-beta-match-team:last-child {
    grid-template-columns: auto minmax(0, 1fr);
    text-align: left;
  }

  .tournament-beta-match-line > .tournament-beta-match-team:last-child .team-logo-thumb {
    order: 0;
  }

  .tournament-beta-match-team {
    min-height: 2.6rem;
  }

  .tournament-beta-score {
    justify-self: center;
    min-width: 4.4rem;
  }

  .standings-live-board .tournament-beta-standings-table-head,
  .standings-live-board .tournament-beta-standing-row {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .modal-card.is-competition-report {
    gap: 0;
    padding:
      calc(0.72rem + env(safe-area-inset-top))
      0.62rem
      calc(0.95rem + env(safe-area-inset-bottom));
  }

  .modal-card.is-competition-report .modal-header {
    align-items: center;
    gap: 0.5rem;
    margin: -0.08rem -0.02rem 0.55rem;
    padding: 0.12rem 0.02rem 0.52rem;
  }

  .modal-card.is-competition-report .modal-header h3 {
    font-size: 1.28rem;
    line-height: 0.95;
  }

  .modal-card.is-competition-report .modal-header .icon-button {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
  }

  .modal-card.is-competition-report .stack-form {
    gap: 0.58rem;
    scroll-padding-top: 3.75rem;
    scroll-padding-bottom: 5rem;
  }

  .report-audience-shell,
  .report-result-stage,
  .report-result-summary-card,
  .report-workflow-card,
  .report-scorer-team-card,
  .report-lineup-card,
  .report-download-card,
  .report-links-preview,
  .report-staff-live-grid {
    gap: 0.55rem;
    padding: 0.62rem;
    border-radius: 14px;
  }

  .report-audience-copy,
  .report-download-copy,
  .report-enhanced-head,
  .report-workflow-head,
  .report-scorer-team-head,
  .report-lineup-card-head {
    gap: 0.28rem;
  }

  .report-audience-copy h4,
  .report-workflow-head h4 {
    font-size: 1rem;
    line-height: 1.05;
  }

  .report-enhanced-head strong,
  .report-scorer-team-head strong,
  .report-lineup-card-head strong {
    font-size: 1.08rem;
    line-height: 0.98;
  }

  .report-enhanced-head span,
  .report-workflow-step span,
  .report-download-copy span,
  .report-links-preview-copy span {
    font-size: 0.76rem;
    line-height: 1.32;
  }

  .report-step-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .report-step-nav-button {
    min-height: 2.75rem;
    padding: 0.46rem 0.5rem;
    border-radius: 12px;
    align-content: center;
    text-align: center;
  }

  .report-step-nav-button strong {
    font-size: 0.78rem;
    line-height: 1;
    letter-spacing: 0.03em;
  }

  .report-step-nav-button span {
    display: none;
  }

  .report-result-summary-scoreboard,
  .report-audience-match-line,
  .tournament-beta-match-line {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.34rem;
  }

  .report-result-summary-team,
  .report-result-summary-team-away {
    gap: 0.34rem;
  }

  .report-result-summary-team-away {
    flex-direction: row-reverse;
    justify-content: flex-start;
    text-align: right;
  }

  .report-result-summary-team .team-logo-thumb,
  .report-audience-match-line .team-logo-thumb {
    width: 1.65rem;
    height: 1.65rem;
    flex-basis: 1.65rem;
    border-radius: 9px;
  }

  .report-result-summary-copy strong,
  .report-audience-match-card strong {
    display: block;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .report-result-summary-copy span,
  .report-audience-match-card small {
    font-size: 0.62rem;
    line-height: 1.15;
  }

  .report-result-summary-score,
  .report-audience-score {
    width: auto;
    min-width: 3.75rem;
    min-height: 2.35rem;
    padding: 0.18rem 0.42rem;
    border-radius: 11px;
    font-size: 1.72rem;
  }

  .report-result-summary-meta,
  .report-audience-hero-meta,
  .report-audience-team-meta,
  .report-player-stats-head-meta,
  .report-download-meta {
    gap: 0.26rem;
  }

  .report-status-pill,
  .report-audience-team-meta span,
  .report-player-auto-tag,
  .report-download-meta .chip {
    min-height: 1.45rem;
    padding: 0.16rem 0.42rem;
    font-size: 0.62rem;
  }

  .report-download-card .button-row {
    gap: 0.38rem;
  }

  #tournamentReportDownloadButton,
  .report-download-fallback {
    width: 100%;
    min-height: 2.75rem;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.82rem;
  }

  .report-player-stats-row {
    gap: 0.45rem;
    padding: 0.58rem;
    border-radius: 13px;
  }

  .report-player-stats-main,
  .report-player-stats-identity {
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
  }

  .report-player-stats-index {
    min-width: 1.7rem;
    min-height: 1.7rem;
    font-size: 0.72rem;
  }

  .report-player-stats-copy strong {
    font-size: 0.82rem;
    line-height: 1.08;
  }

  .report-player-stats-copy span {
    font-size: 0.66rem;
  }

  .report-player-stats-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .modal-card.is-competition-report input,
  .modal-card.is-competition-report textarea,
  .modal-card.is-competition-report select {
    min-height: 2.45rem;
    padding: 0.55rem 0.62rem;
    border-radius: 12px;
  }

  .modal-card.is-competition-report textarea {
    min-height: 4.8rem;
  }

  .modal-card.is-competition-report .stack-form > .button-row:last-of-type {
    gap: 0.4rem;
    margin-top: 0;
    padding-top: 0.52rem;
  }

  .modal-card.is-competition-report .stack-form > .button-row:last-of-type > * {
    min-height: 2.6rem;
    font-size: 0.8rem;
  }

  .competition-matchday-schedule-bar {
    gap: 0.5rem;
    padding: 0.62rem;
    border-radius: 14px;
  }

  .competition-matchday-schedule-copy strong {
    font-size: 0.92rem;
  }

  .competition-matchday-schedule-copy span {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .tournament-beta-match-card {
    gap: 0.55rem;
    padding: 0.58rem;
    border-radius: 15px;
  }

  .tournament-beta-match-team {
    min-height: 2.35rem;
    padding: 0.24rem;
    gap: 0.28rem;
  }

  .tournament-beta-match-line > .tournament-beta-match-team:last-child {
    grid-template-columns: minmax(0, 1fr) auto;
    text-align: right;
  }

  .tournament-beta-match-line > .tournament-beta-match-team:last-child .team-logo-thumb {
    order: 2;
  }

  .tournament-beta-match-team .team-logo-thumb {
    width: 1.35rem;
    height: 1.35rem;
    flex-basis: 1.35rem;
    border-radius: 8px;
  }

  .tournament-beta-match-team-copy strong {
    display: block;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.02;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tournament-beta-match-team-copy span,
  .tournament-beta-reports-tag {
    font-size: 0.52rem;
  }

  .tournament-beta-score {
    min-width: 2.85rem;
    min-height: 1.95rem;
    padding: 0.18rem 0.32rem;
    border-radius: 10px;
    font-size: 0.94rem;
  }

  .tournament-beta-match-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .tournament-beta-match-actions > * {
    width: 100%;
    min-height: 2.28rem;
    padding: 0.44rem 0.5rem;
    border-radius: 11px;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .report-step-nav-button strong {
    font-size: 0.72rem;
  }

  .report-result-summary-score,
  .report-audience-score {
    min-width: 3.35rem;
    font-size: 1.46rem;
  }

  .tournament-beta-score {
    min-width: 2.55rem;
    font-size: 0.84rem;
  }
}

/* Mobile-first redesign layer: flatter, tighter, and built as an app surface. */
@media (max-width: 720px) {
  :root {
    --bg: #06080d;
    --bg-secondary: #0b1118;
    --card: #0d131b;
    --card-strong: #111923;
    --line: rgba(148, 163, 184, 0.18);
    --line-strong: rgba(34, 211, 238, 0.34);
    --text: #edf4f8;
    --muted: #8fa0ad;
    --accent: #22d3ee;
    --accent-strong: #0ea5b7;
    --accent-soft: #f6c85f;
    --shadow: none;
    --radius: 6px;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    font-size: 14px;
    background:
      linear-gradient(180deg, rgba(6, 8, 13, 0.98), rgba(9, 13, 18, 1)),
      #06080d;
  }

  body::before,
  .bg-orb {
    display: none;
  }

  h1,
  h2,
  h3,
  h4,
  p {
    max-width: 100%;
  }

  h1 {
    font-size: 2.15rem;
    line-height: 0.95;
  }

  h2,
  .training-topbar h2,
  .panel-heading h2 {
    font-size: 1.65rem;
    line-height: 0.95;
  }

  h3,
  .section-surface-header h3,
  .mobile-section-header h3 {
    font-size: 1.18rem;
    line-height: 1;
  }

  .eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  body.launcher-mode .page-shell {
    min-height: 100dvh;
    justify-content: start;
    padding: calc(0.7rem + env(safe-area-inset-top)) 0.72rem calc(1rem + env(safe-area-inset-bottom));
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 18;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
    padding: calc(0.5rem + env(safe-area-inset-top)) 4.9rem 0.5rem 0.7rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(6, 8, 13, 0.94);
    backdrop-filter: blur(14px);
    display: none;
  }

  .brand-mark {
    gap: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .brand-logo {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 4px;
    border-color: rgba(34, 211, 238, 0.22);
  }

  .brand-kicker {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
  }

  .brand-mark strong {
    font-size: 1.18rem;
    line-height: 0.92;
  }

  .header-links {
    display: none;
  }

  .mobile-quick-menu {
    top: calc(0.45rem + env(safe-area-inset-top));
    right: 0.55rem;
    left: auto;
    width: min(17.25rem, calc(100vw - 1.1rem));
    z-index: 160;
  }

  body.mobile-menu-open .mobile-quick-menu {
    right: 0.55rem;
    left: 0.55rem;
    width: auto;
  }

  .mobile-menu-toggle {
    min-height: 2.65rem;
    padding: 0.35rem 0.45rem;
    gap: 0.5rem;
    border-radius: 6px;
    border-color: rgba(34, 211, 238, 0.22);
    background: rgba(10, 15, 21, 0.98);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  }

  .mobile-menu-badge {
    min-width: 2.15rem;
    min-height: 2.15rem;
    padding: 0 0.35rem;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.2), rgba(246, 200, 95, 0.14));
    color: #ffffff;
    font-size: 0.82rem;
  }

  .mobile-menu-copy strong {
    font-size: 0.88rem;
  }

  .mobile-menu-copy small {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .mobile-menu-panel {
    gap: 0;
    max-height: calc(100dvh - 4.3rem);
    margin-top: 0.45rem;
    padding: 0.35rem;
    border-radius: 6px;
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(6, 8, 13, 0.98);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.52);
  }

  .mobile-menu-group,
  .mobile-menu-subgroup {
    gap: 0;
  }

  .mobile-menu-group-title {
    margin: 0.6rem 0 0.18rem;
    padding: 0 0.5rem;
    color: #f6c85f;
    font-size: 0.55rem;
    letter-spacing: 0.13em;
  }

  .mobile-menu-link,
  .mobile-menu-sublink {
    min-height: 2.75rem;
    padding: 0.55rem 0.58rem;
    border-width: 0 0 1px;
    border-radius: 0;
    border-color: rgba(148, 163, 184, 0.11);
    background: transparent;
  }

  .mobile-menu-link:hover {
    background: rgba(34, 211, 238, 0.07);
  }

  .mobile-menu-link strong {
    font-size: 0.84rem;
    letter-spacing: 0.03em;
  }

  .mobile-menu-link span {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .global-search-card-mobile {
    margin-bottom: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .global-search-field input {
    min-height: 2.45rem;
    padding: 0.52rem 0.65rem 0.52rem 2.35rem;
    border-radius: 4px;
    border-color: rgba(34, 211, 238, 0.2);
    background: #0b1118;
    font-size: 0.86rem;
  }

  .page-shell {
    padding: 0.72rem 0.72rem calc(1.1rem + env(safe-area-inset-bottom));
    gap: 0.65rem;
  }

  .service-gateway {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    min-height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .service-gateway::before {
    display: none;
  }

  .service-gateway-copy {
    position: relative;
    min-height: 7rem;
    justify-content: end;
    gap: 0.35rem;
    padding: 0.65rem 5.2rem 0.6rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  }

  .service-gateway-copy::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0.65rem;
    width: 4.35rem;
    height: 4.35rem;
    border-radius: 6px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    background:
      linear-gradient(180deg, rgba(6, 8, 13, 0), rgba(6, 8, 13, 0.24)),
      url('assets/nscv-site-logo.png') center / cover no-repeat;
  }

  .service-gateway-copy h1 {
    max-width: 10ch;
    margin: 0;
    font-size: 2.45rem;
    line-height: 0.88;
  }

  .service-gateway-copy p:not(.eyebrow),
  .service-gateway-tags {
    display: none;
  }

  .service-gateway-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .service-card,
  .service-card-primary,
  .service-card-account,
  .service-card-calcetto,
  .service-card-cod {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 0;
    gap: 0.48rem 0.62rem;
    padding: 0.66rem 0.7rem;
    border-radius: 6px;
    border-color: rgba(148, 163, 184, 0.16);
    background: #0b1118;
    box-shadow: none;
  }

  .service-card::before,
  .service-card::after {
    display: none;
  }

  .service-card:hover,
  .service-card:focus-visible {
    transform: none;
    border-color: rgba(34, 211, 238, 0.34);
    box-shadow: none;
  }

  .service-card-primary {
    border-color: rgba(168, 85, 247, 0.32);
    background:
      radial-gradient(circle at 8% 18%, rgba(168, 85, 247, 0.18), transparent 7rem),
      linear-gradient(135deg, rgba(30, 14, 52, 0.96), rgba(8, 9, 18, 0.98));
  }

  .service-card-calcetto {
    border-color: rgba(250, 204, 21, 0.32);
    background:
      radial-gradient(circle at 8% 18%, rgba(250, 204, 21, 0.2), transparent 7rem),
      linear-gradient(135deg, rgba(38, 28, 8, 0.96), rgba(8, 9, 14, 0.98));
  }

  .service-card-icon,
  .service-card-logo {
    grid-row: 1 / span 3;
    width: 2.6rem;
    height: 2.6rem;
    margin: 0;
    border-radius: 5px;
    background: #111923;
  }

  .service-card-proclub-logo {
    border-color: rgba(216, 180, 254, 0.32);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.18);
  }

  .service-card-icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .service-card-kicker {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .service-card strong {
    font-size: 1.26rem;
    line-height: 0.95;
  }

  .service-card small {
    display: none;
  }

  .service-card-cta {
    grid-column: 3;
    grid-row: 1 / span 3;
    align-self: center;
    margin: 0;
    padding: 0.36rem 0.48rem;
    border-radius: 4px;
    border-color: rgba(246, 200, 95, 0.22);
    background: rgba(246, 200, 95, 0.08);
    font-size: 0.52rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .launcher-live-strip {
    gap: 0.45rem;
    padding: 0.55rem 0;
    border-width: 1px 0 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .launcher-live-strip-head {
    align-items: center;
  }

  .launcher-live-strip-head h2 {
    font-size: 1.05rem;
  }

  .launcher-live-strip-head .chip {
    display: none;
  }

  .launcher-live-marquee {
    border-radius: 0;
    mask-image: none;
  }

  .launcher-live-marquee-track {
    gap: 0.35rem;
    animation-duration: 42s;
  }

  .launcher-live-pill {
    flex-basis: 13.5rem;
    width: 13.5rem;
    min-width: 13.5rem;
    padding: 0.55rem 0.6rem;
    border-radius: 4px;
    background: #0b1118;
    box-shadow: none;
  }

  .launcher-live-pill span,
  .launcher-live-pill small {
    font-size: 0.52rem;
  }

  .launcher-live-pill strong {
    font-size: 0.96rem;
  }

  .panel,
  .public-panel,
  .mobile-section-card,
  .mobile-public-section,
  .account-auth-card,
  .account-info-card,
  .training-panel,
  .training-filter-card,
  .admin-card,
  .team-card,
  .tournament-card,
  .market-card,
  .calcetto-league-section,
  .calcetto-management-card,
  .calcetto-detail-block,
  .calcetto-empty-card,
  .calcetto-team-card,
  .calcetto-competition-card {
    border-radius: 6px !important;
    border-color: rgba(148, 163, 184, 0.14);
    background: #0b1118;
    box-shadow: none !important;
  }

  .panel,
  .public-panel,
  .mobile-section-card,
  .mobile-public-section,
  .account-auth-card,
  .account-info-card {
    padding: 0.72rem;
  }

  .mobile-section-card.is-open,
  .mobile-public-section.is-open {
    border-color: rgba(34, 211, 238, 0.28);
    background: #0d131b;
  }

  .mobile-section-card.is-open .mobile-section-body,
  .mobile-public-section.is-open .mobile-section-body {
    padding-top: 0.58rem;
    border-top-color: rgba(148, 163, 184, 0.13);
  }

  .mobile-section-toggle {
    min-height: 2.1rem;
    padding: 0.45rem 0.52rem;
    border-radius: 4px;
    background: #111923;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .section-surface-header,
  .panel-heading,
  .training-topbar,
  .calcetto-league-topbar,
  .account-topbar {
    gap: 0.48rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
  }

  .account-layout,
  .main-grid,
  .training-layout,
  .calcetto-league-grid {
    gap: 0.65rem;
  }

  .account-info-card,
  .account-auth-card .section-surface-header .chip,
  .account-topbar .section-note {
    display: none;
  }

  .tab-row {
    gap: 0;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 4px;
    overflow: hidden;
    background: #06080d;
  }

  .tab-button {
    min-height: 2.45rem;
    padding: 0.55rem 0.45rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.74rem;
  }

  .tab-button.is-active {
    background: #f6c85f;
    color: #080a0f;
    box-shadow: none;
  }

  .stack-form {
    gap: 0.62rem;
  }

  .field {
    gap: 0.28rem;
  }

  .field span {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .field input,
  .field textarea,
  .field select {
    min-height: 2.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 4px;
    background: #06080d;
    font-size: 16px;
  }

  .google-auth-block {
    gap: 0.45rem;
    margin: 0 0 0.55rem;
  }

  .auth-google-button,
  .primary-button,
  .ghost-button,
  .danger-button,
  .small-button,
  .external-link-pill,
  .chip,
  .status-badge {
    border-radius: 4px !important;
  }

  .auth-google-button {
    min-height: 2.55rem;
    padding: 0.55rem 0.65rem;
    background: #edf4f8;
    color: #080a0f;
    font-size: 0.78rem;
  }

  .auth-divider {
    display: none;
  }

  .primary-button,
  .ghost-button,
  .danger-button,
  .small-button {
    min-height: 2.28rem;
    padding: 0.48rem 0.56rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  .chip,
  .status-badge {
    min-height: 1.38rem;
    padding: 0.2rem 0.36rem;
    font-size: 0.56rem;
    white-space: normal;
  }

  .team-logo-thumb,
  .logo-thumb {
    border-radius: 4px !important;
  }

  .alert,
  .empty-state,
  .password-support-card,
  .member-card,
  .account-status-card {
    border-radius: 6px;
    background: #0d131b;
    box-shadow: none;
  }

  .service-card,
  .mobile-menu-link,
  .primary-button,
  .ghost-button,
  .danger-button,
  .tab-button {
    transform: none !important;
  }
}

@media (max-width: 420px) {
  .service-gateway-copy {
    min-height: 6.4rem;
    padding-right: 4.5rem;
  }

  .service-gateway-copy::after {
    width: 3.85rem;
    height: 3.85rem;
  }

  .service-gateway-copy h1 {
    font-size: 2.16rem;
  }

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

  .service-card-cta {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .player-detail-shell {
    gap: 0.66rem;
  }

  .player-detail-hero {
    padding: 0.72rem;
    border-radius: 16px;
  }

  .player-detail-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .player-detail-main-carded {
    grid-template-columns: minmax(4.95rem, 5.8rem) minmax(0, 1fr);
    align-items: center;
    gap: 0.58rem;
  }

  .player-detail-card-face {
    width: 100%;
    min-height: 8.6rem;
    gap: 0.24rem;
    padding: 0.4rem 0.34rem;
    border-radius: 7px;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.05),
      0 10px 22px rgba(0, 0, 0, 0.28);
  }

  .player-detail-card-top {
    gap: 0.2rem;
  }

  .player-detail-card-top b {
    font-size: 1.06rem;
  }

  .player-detail-card-top small {
    padding: 0.18rem 0.22rem;
    font-size: 0.38rem;
    letter-spacing: 0.04em;
  }

  .player-detail-card-avatar {
    width: 2.72rem;
    height: 2.72rem;
    border-radius: 8px;
  }

  .player-detail-card-avatar .team-logo-thumb {
    width: 2.38rem;
    height: 2.38rem;
    flex-basis: 2.38rem;
    border-radius: 7px !important;
    font-size: 0.72rem;
  }

  .player-detail-card-face > strong {
    font-size: 0.74rem;
    letter-spacing: 0.01em;
  }

  .player-detail-card-face > small {
    font-size: 0.46rem;
  }

  .player-detail-card-face > span {
    font-size: 0.44rem;
  }

  .player-detail-card-facts {
    gap: 0.14rem;
  }

  .player-detail-card-facts span {
    padding: 0.14rem 0.1rem;
    border-radius: 5px;
  }

  .player-detail-card-facts small {
    font-size: 0.34rem;
  }

  .player-detail-card-facts b {
    font-size: 0.44rem;
  }

  .player-detail-hero .team-logo-thumb {
    width: 3.35rem;
    height: 3.35rem;
    flex-basis: 3.35rem;
    border-radius: 12px !important;
  }

  .player-detail-hero .player-detail-card-avatar .team-logo-thumb {
    width: 2.38rem;
    height: 2.38rem;
    flex-basis: 2.38rem;
    border-radius: 7px !important;
  }

  .player-detail-copy h4 {
    font-size: 1.34rem;
    line-height: 0.98;
  }

  .player-detail-copy p {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .player-detail-kicker {
    font-size: 0.6rem;
  }

  .player-detail-hero .status-badge {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
  }

  .calcetto-player-stat-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .calcetto-player-stat-card {
    min-height: 3.05rem;
    padding: 0.42rem 0.38rem;
    border-radius: 11px;
  }

  .calcetto-player-stat-card strong {
    font-size: 0.5rem;
  }

  .calcetto-player-stat-card b {
    font-size: 1.06rem;
  }

  .calcetto-player-stat-card small {
    font-size: 0.54rem;
  }

  .player-detail-meta-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.36rem;
  }

  .player-detail-meta-strip span {
    min-height: 3rem;
    padding: 0.48rem 0.44rem;
    border-radius: 12px;
  }

  .player-detail-meta-strip strong {
    font-size: 0.54rem;
  }

  .player-detail-meta-strip b {
    font-size: 0.72rem;
  }

  .player-detail-grid {
    gap: 0.62rem;
  }

  .player-detail-grid .team-detail-card {
    padding: 0.72rem;
    border-radius: 14px;
  }

  .player-detail-grid .team-detail-card h5 {
    margin-bottom: 0.52rem;
    font-size: 1.02rem;
  }

  .player-detail-grid .detail-list {
    gap: 0.42rem;
  }

  .player-detail-grid .detail-row {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 0.48rem;
    padding-bottom: 0.42rem;
  }

  .player-detail-grid .detail-row strong,
  .player-detail-grid .detail-row span,
  .player-detail-grid .detail-empty {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .player-detail-grid .detail-row span {
    text-align: right;
  }

  .player-detail-team-line {
    grid-template-columns: 2.45rem minmax(0, 1fr);
    gap: 0.58rem;
  }

  .player-detail-team-line .team-logo-thumb {
    width: 2.45rem;
    height: 2.45rem;
    flex-basis: 2.45rem;
    border-radius: 10px !important;
  }

  .player-detail-team-line .small-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .calcetto-player-reports-card {
    gap: 0.48rem;
  }

  .calcetto-player-report-list {
    gap: 0.34rem;
    max-height: 17rem;
  }

  .calcetto-player-report-row {
    gap: 0.36rem;
    padding: 0.42rem;
    border-radius: 10px;
  }

  .calcetto-player-report-row strong {
    font-size: 0.72rem;
  }

  .calcetto-player-report-row small {
    font-size: 0.58rem;
  }

  .calcetto-player-report-row b {
    font-size: 0.66rem;
  }

  .calcetto-profile-edit-grid {
    margin-bottom: 0.58rem;
  }
}

@media (max-width: 380px) {
  .player-detail-main-carded {
    grid-template-columns: 4.65rem minmax(0, 1fr);
  }

  .player-detail-card-face {
    min-height: 7.05rem;
  }

  .player-detail-card-facts {
    display: none;
  }

  .calcetto-player-stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-detail-meta-strip {
    grid-template-columns: 1fr;
  }

  .player-detail-meta-strip span {
    min-height: 0;
  }

  .player-detail-grid .detail-row {
    grid-template-columns: 1fr;
    gap: 0.14rem;
  }

  .player-detail-grid .detail-row span {
    text-align: left;
  }
}

@media (max-width: 720px) {
  #competitionView {
    padding: 0;
    background:
      linear-gradient(180deg, rgba(6, 8, 13, 0.98), rgba(8, 10, 15, 1)),
      #06080d;
  }

  #competitionView .competition-shell {
    max-width: none;
    gap: 0;
  }

  #competitionView .competition-topbar {
    position: sticky;
    top: 0;
    z-index: 24;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.48rem;
    padding:
      calc(0.52rem + env(safe-area-inset-top))
      0.62rem
      0.52rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(6, 8, 13, 0.96);
    backdrop-filter: blur(16px);
  }

  #competitionView .competition-view-identity {
    display: grid;
    grid-template-columns: 2.55rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
  }

  #competitionView .competition-view-logo {
    width: 2.55rem;
    height: 2.55rem;
    flex-basis: 2.55rem;
    border-radius: 8px;
    font-size: 0.78rem;
  }

  #competitionView .competition-view-logo .team-logo-thumb {
    border-radius: 8px !important;
  }

  #competitionView .competition-view-identity h2 {
    overflow: hidden;
    font-size: 1.14rem;
    line-height: 0.98;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #competitionView .competition-view-identity .eyebrow {
    margin-bottom: 0.08rem;
    font-size: 0.5rem;
  }

  #competitionView .competition-topbar .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }

  #competitionView #competitionBackButton {
    min-height: 1.95rem;
    padding: 0.38rem 0.5rem;
    border-radius: 5px !important;
    font-size: 0.64rem;
  }

  #competitionView .competition-layout {
    display: grid;
    gap: 0.52rem;
    padding: 0.58rem;
  }

  #competitionView .competition-sidebar,
  #competitionView .training-main {
    gap: 0.52rem;
  }

  #competitionView .competition-sidebar > .panel-heading,
  #competitionView .competition-status-card,
  #competitionView .competition-selector-card .section-surface-header,
  #competitionView .competition-nav-card .section-surface-header {
    display: none;
  }

  #competitionView .training-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem;
  }

  #competitionView .count-pill {
    min-height: 3rem;
    padding: 0.45rem 0.34rem;
    border-radius: 5px;
  }

  #competitionView .count-pill strong {
    font-size: 1.05rem;
  }

  #competitionView .count-pill span {
    font-size: 0.54rem;
  }

  #competitionView .competition-selector-card,
  #competitionView #competitionTeamActionCard,
  #competitionView #competitionStaffSection,
  #competitionView #competitionStaffManageCard,
  #competitionView .competition-nav-card {
    gap: 0.42rem;
    padding: 0.5rem;
    border-radius: 6px !important;
  }

  #competitionView .competition-side-list {
    display: flex;
    gap: 0.38rem;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 0.08rem;
    scroll-snap-type: x proximity;
  }

  #competitionView .competition-side-button {
    flex: 0 0 min(13.4rem, 82vw);
    scroll-snap-align: start;
    gap: 0;
    padding: 0.48rem 0.52rem;
    border-radius: 5px;
  }

  #competitionView .competition-side-main {
    gap: 0.42rem;
  }

  #competitionView .competition-side-main .team-logo-thumb {
    width: 1.75rem;
    height: 1.75rem;
    flex-basis: 1.75rem;
    border-radius: 6px !important;
  }

  #competitionView .competition-side-button strong {
    display: block;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #competitionView .competition-side-button span {
    overflow: hidden;
    font-size: 0.58rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #competitionView .competition-nav-card {
    position: sticky;
    top: calc(4.25rem + env(safe-area-inset-top));
    z-index: 16;
    background: rgba(11, 17, 24, 0.96);
    backdrop-filter: blur(14px);
  }

  #competitionView .tournament-play-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.32rem;
  }

  #competitionView #competitionScorersNavButton,
  #competitionView #competitionRulesNavButton {
    display: none;
  }

  #competitionView .tournament-play-nav-button {
    min-height: 2rem;
    padding: 0.4rem 0.44rem;
    border-radius: 5px !important;
    font-size: 0.66rem;
  }

  #competitionStandingsSection {
    order: 1;
  }

  #competitionMatchesSection {
    order: 2;
  }

  #competitionScorersSection {
    order: 3;
  }

  #competitionRulesSection {
    order: 4;
  }

  #competitionView .tournament-play-section {
    gap: 0.48rem;
    padding: 0.5rem;
    border-radius: 6px !important;
    overflow: visible;
  }

  #competitionView .tournament-play-section::before {
    display: none;
  }

  #competitionView .tournament-play-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.42rem;
    align-items: center;
    padding: 0;
    border: 0;
  }

  #competitionView .tournament-play-section-head .eyebrow {
    display: none;
  }

  #competitionView .tournament-play-section-head h3 {
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #competitionView .tournament-play-toggle {
    min-height: 1.85rem;
    padding: 0.34rem 0.42rem;
    border-radius: 5px !important;
    font-size: 0.6rem;
  }

  #competitionView .tournament-play-section-body,
  #competitionView .competition-standings-list,
  #competitionView .tournament-beta-match-list {
    gap: 0.42rem;
  }

  #competitionView .standings-live-board {
    gap: 0.36rem;
    padding-top: 0;
    border-radius: 6px;
  }

  #competitionView .standings-live-board .tournament-beta-standings-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.36rem;
    align-items: center;
    padding: 0.5rem 0.5rem 0;
  }

  #competitionView .standings-live-board .tournament-beta-standings-head strong {
    font-size: 0.92rem;
  }

  #competitionView .standings-live-board .tournament-beta-standings-head span {
    display: none;
  }

  #competitionView .standings-live-board .tournament-beta-standings-table-shell {
    padding: 0 0.28rem 0.35rem;
  }

  #competitionView .standings-live-board .tournament-beta-standings-list {
    border-radius: 5px;
    border-color: rgba(148, 163, 184, 0.12);
  }

  #competitionView .standings-live-board .tournament-beta-standing-row {
    grid-template-columns: 1.28rem minmax(0, 1fr);
    gap: 0.28rem 0.34rem;
    padding: 0.4rem;
    border-radius: 0;
    box-shadow: none;
  }

  #competitionView .standings-live-board .tournament-beta-standing-row:first-child,
  #competitionView .standings-live-board .tournament-beta-standing-row:last-child {
    border-radius: 0;
  }

  #competitionView .standings-live-board .tournament-beta-standing-row .registration-order {
    min-width: 1.18rem;
    min-height: 1.18rem;
    border-radius: 4px;
    font-size: 0.58rem;
  }

  #competitionView .standings-live-board .tournament-beta-standing-team-with-logo {
    gap: 0.3rem;
  }

  #competitionView .standings-live-board .tournament-beta-standing-team-with-logo .team-logo-thumb {
    width: 1.3rem;
    height: 1.3rem;
    flex-basis: 1.3rem;
    border-radius: 5px !important;
  }

  #competitionView .standings-live-board .tournament-beta-standing-team-copy strong {
    font-size: 0.7rem;
    line-height: 1.02;
  }

  #competitionView .standings-live-board .standing-team-meta-row {
    gap: 0.12rem;
  }

  #competitionView .standings-live-board .standing-team-meta-row > span {
    font-size: 0.5rem;
  }

  #competitionView .standings-live-board .tournament-beta-standing-stats-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.12rem;
  }

  #competitionView .standings-live-board .standing-stat-cell {
    min-height: 1.48rem;
    padding: 0.18rem 0.08rem 0.16rem;
    border-radius: 4px;
    font-size: 0.62rem;
  }

  #competitionView .standings-live-board .standing-stat-cell::before {
    font-size: 0.42rem;
  }

  #competitionView .standing-form-inline {
    display: none;
  }

  #competitionView .competition-matchday-card {
    gap: 0.36rem;
    padding: 0.34rem;
    border-radius: 6px;
    box-shadow: none;
  }

  #competitionView .competition-matchday-card::before {
    display: none;
  }

  #competitionView .tournament-beta-collapsible-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.36rem;
    padding: 0.42rem;
    border-radius: 5px;
  }

  #competitionView .tournament-beta-collapsible-head .eyebrow {
    display: block;
    margin: 0;
    font-size: 0.48rem;
  }

  #competitionView .tournament-beta-collapsible-head h3 {
    font-size: 0.82rem;
    line-height: 1;
  }

  #competitionView .tournament-beta-group-summary {
    gap: 0.22rem;
  }

  #competitionView .tournament-beta-summary-pill,
  #competitionView .tournament-beta-match-top .chip,
  #competitionView .tournament-beta-reports-tag {
    min-height: 1.22rem;
    padding: 0.16rem 0.34rem;
    border-radius: 4px;
    font-size: 0.5rem;
  }

  #competitionView .competition-matchday-head-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
    width: 100%;
  }

  #competitionView .competition-matchday-head-actions > * {
    width: 100%;
    min-height: 1.82rem;
    padding: 0.32rem 0.36rem;
    border-radius: 4px !important;
    font-size: 0.58rem;
  }

  #competitionView .tournament-beta-collapsible-body,
  #competitionView .tournament-beta-round-list {
    gap: 0.34rem;
  }

  #competitionView .tournament-beta-match-card {
    gap: 0.32rem;
    padding: 0.38rem;
    border-radius: 5px;
    box-shadow: none;
  }

  #competitionView .tournament-beta-match-card::before {
    width: 2px;
  }

  #competitionView .tournament-beta-match-copy {
    gap: 0.28rem;
  }

  #competitionView .tournament-beta-match-top {
    gap: 0.22rem;
  }

  #competitionView .tournament-beta-match-line {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.28rem;
    align-items: center;
  }

  #competitionView .tournament-beta-match-team {
    min-height: 2rem;
    gap: 0.22rem;
    padding: 0.22rem;
    border-radius: 4px;
  }

  #competitionView .tournament-beta-match-team .team-logo-thumb {
    width: 1.14rem;
    height: 1.14rem;
    flex-basis: 1.14rem;
    border-radius: 4px !important;
  }

  #competitionView .tournament-beta-match-team-copy strong {
    font-size: 0.62rem;
    line-height: 1;
  }

  #competitionView .tournament-beta-match-team-copy span {
    font-size: 0.46rem;
  }

  #competitionView .tournament-beta-score {
    min-width: 2.42rem;
    min-height: 1.72rem;
    padding: 0.16rem 0.26rem;
    border-radius: 5px;
    font-size: 0.76rem;
  }

  #competitionView .tournament-beta-match-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
  }

  #competitionView .tournament-beta-match-actions > * {
    min-height: 1.9rem;
    padding: 0.34rem 0.38rem;
    border-radius: 4px !important;
    font-size: 0.58rem;
  }
}

@media (max-width: 380px) {
  #competitionView .competition-layout {
    padding: 0.46rem;
  }

  #competitionView .competition-view-identity h2 {
    font-size: 1rem;
  }

  #competitionView .standings-live-board .standing-stat-cell {
    font-size: 0.56rem;
  }

  #competitionView .tournament-beta-match-line {
    gap: 0.2rem;
  }

  #competitionView .tournament-beta-match-team-copy strong {
    font-size: 0.58rem;
  }

  #competitionView .tournament-beta-score {
    min-width: 2.18rem;
    font-size: 0.68rem;
  }
}

.modal-overlay.is-tournament-report {
  padding: 0.75rem;
  background: rgba(3, 5, 10, 0.9);
  backdrop-filter: blur(18px);
}

.modal-card.is-tournament-report {
  width: min(980px, 100%);
  max-height: calc(100vh - 1.5rem);
  padding: 1rem 1rem 1.15rem;
  border-radius: 28px;
}

.modal-card.is-tournament-report .modal-header {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: -0.15rem -0.15rem 0.8rem;
  padding: 0.3rem 0.15rem 0.85rem;
  background: linear-gradient(180deg, rgba(12, 9, 24, 0.98), rgba(12, 9, 24, 0.86) 82%, rgba(12, 9, 24, 0));
}

@media (max-width: 720px) {
  #mobileStaffCluster {
    gap: 0.52rem;
  }

  #mobileStaffCluster .mobile-section-body {
    display: grid;
    gap: 0.52rem;
  }

  #staffPanel {
    display: grid;
    gap: 0.55rem;
    font-size: 0.78rem;
  }

  #staffPanel .section-surface {
    gap: 0.5rem;
    margin-top: 0;
    padding: 0.56rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 6px;
    background: #0b1118;
  }

  #staffPanel .section-surface + .section-surface {
    margin-top: 0.52rem;
  }

  #staffPanel .section-surface-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.38rem;
    padding-bottom: 0.42rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  #staffPanel .section-surface-header .eyebrow {
    margin: 0 0 0.05rem;
    font-size: 0.48rem;
    letter-spacing: 0.06em;
  }

  #staffPanel .section-surface h3,
  #staffPanel .section-surface h4 {
    font-size: 0.88rem;
    line-height: 1;
  }

  #staffPanel .count-pill {
    min-height: 2rem;
    padding: 0.24rem 0.38rem;
    gap: 0.18rem;
    border-radius: 4px;
  }

  #staffPanel .count-pill strong {
    font-size: 0.88rem;
  }

  #staffPanel .count-pill span {
    font-size: 0.44rem;
    letter-spacing: 0.05em;
  }

  #staffPanel .filters-row,
  #staffPanel .archive-filters,
  #staffPanel .field-grid {
    gap: 0.4rem;
    margin: 0.16rem 0 0;
  }

  #staffPanel .field,
  #staffPanel .toggle-field {
    gap: 0.2rem;
  }

  #staffPanel .field span,
  #staffPanel .toggle-field span {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  #staffPanel .field input,
  #staffPanel .field textarea,
  #staffPanel .field select {
    min-height: 2.22rem;
    padding: 0.44rem 0.5rem;
    border-radius: 4px;
    font-size: 16px;
  }

  #staffPanel .field textarea {
    min-height: 4.25rem;
  }

  #staffPanel .toggle-field {
    min-height: 2.2rem;
    padding: 0.46rem 0.5rem;
    border-radius: 4px;
  }

  #staffPanel .toggle-field input {
    width: 1rem;
    height: 1rem;
  }

  #tournamentForm,
  #quickTournamentForm {
    gap: 0.48rem;
    padding: 0.52rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 6px;
    background: #06080d;
  }

  #tournamentForm .button-row,
  #quickTournamentForm .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.34rem;
  }

  #tournamentForm .button-row > *,
  #quickTournamentForm .button-row > * {
    width: 100%;
    min-height: 2.08rem;
    padding: 0.38rem 0.42rem;
    font-size: 0.64rem;
  }

  .quick-tournament-panel {
    gap: 0.5rem;
    margin: 0.58rem 0 0;
    padding: 0.56rem;
    border-radius: 6px;
  }

  .quick-tournament-form {
    padding: 0.5rem;
  }

  .quick-tournament-grid {
    gap: 0.45rem;
  }

  .quick-tournament-card {
    gap: 0.46rem;
    padding: 0.52rem;
    border-radius: 6px;
  }

  .quick-tournament-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.34rem;
  }

  .quick-tournament-top h4 {
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .quick-tournament-top span:not(.chip) {
    display: none;
  }

  .quick-tournament-meta {
    gap: 0.24rem;
    font-size: 0.62rem;
  }

  .quick-tournament-meta span {
    padding: 0.18rem 0.32rem;
    border-radius: 4px;
  }

  .quick-team-list {
    gap: 0.24rem;
    max-height: 5rem;
    overflow-y: auto;
    padding-right: 0.1rem;
  }

  .quick-team-chip {
    gap: 0.28rem;
    padding: 0.24rem 0.34rem;
    border-radius: 4px;
    font-size: 0.62rem;
  }

  .quick-team-avatar {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.56rem;
  }

  .quick-tournament-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }

  #staffPanel .admin-card,
  #staffPanel .management-row,
  #staffPanel .approval-row {
    gap: 0.44rem;
    padding: 0.52rem;
    border-radius: 6px;
  }

  #adminTournamentsGrid,
  #staffPanel .staff-scroll-panel-tall {
    max-height: min(26rem, 64dvh);
    overflow-y: auto;
    padding-right: 0.1rem;
  }

  #tournamentPlayView,
  #quickTournamentPlayView {
    padding: 0;
    background: #06080d;
  }

  #tournamentPlayView .tournament-play-shell,
  #quickTournamentPlayView .tournament-play-shell {
    max-width: none;
    gap: 0;
  }

  #tournamentPlayView .training-topbar,
  #quickTournamentPlayView .training-topbar {
    position: sticky;
    top: 0;
    z-index: 22;
    display: grid;
    gap: 0.42rem;
    padding:
      calc(0.52rem + env(safe-area-inset-top))
      0.58rem
      0.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(6, 8, 13, 0.96);
    backdrop-filter: blur(16px);
  }

  #tournamentPlayView .training-topbar h2,
  #quickTournamentPlayView .training-topbar h2 {
    overflow: hidden;
    font-size: 1.08rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #tournamentPlayView .training-topbar .eyebrow,
  #quickTournamentPlayView .training-topbar .eyebrow {
    margin-bottom: 0.05rem;
    font-size: 0.48rem;
  }

  #tournamentPlayView .training-topbar .button-row,
  #quickTournamentPlayView .training-topbar .button-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.3rem;
    width: 100%;
  }

  #tournamentPlayView .training-topbar .button-row > *,
  #quickTournamentPlayView .training-topbar .button-row > * {
    width: auto;
    min-height: 1.9rem;
    padding: 0.32rem 0.42rem;
    font-size: 0.6rem;
  }

  #tournamentPlayView .tournament-play-layout,
  #quickTournamentPlayView .tournament-play-layout {
    display: grid;
    gap: 0.46rem;
    padding: 0.5rem;
  }

  #tournamentPlayView .tournament-play-sidebar,
  #quickTournamentPlayView .tournament-play-sidebar {
    gap: 0.44rem;
    padding: 0.5rem;
  }

  #tournamentPlayView .tournament-play-sidebar > .panel-heading,
  #quickTournamentPlayView .tournament-play-sidebar > .panel-heading,
  #tournamentPlayView .tournament-play-nav-card .section-surface-header,
  #quickTournamentPlayView .tournament-play-nav-card .section-surface-header {
    display: none;
  }

  #tournamentPlayView .training-summary-grid,
  #quickTournamentPlayView .training-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
  }

  #tournamentPlayView .count-pill,
  #quickTournamentPlayView .count-pill {
    min-height: 2.55rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.04rem;
    padding: 0.34rem 0.22rem;
    border-radius: 5px;
  }

  #tournamentPlayView .count-pill strong,
  #quickTournamentPlayView .count-pill strong {
    font-size: 0.96rem;
  }

  #tournamentPlayView .count-pill span,
  #quickTournamentPlayView .count-pill span {
    font-size: 0.46rem;
    letter-spacing: 0.05em;
  }

  #tournamentPlayView .training-filter-card,
  #quickTournamentPlayView .training-filter-card {
    gap: 0.34rem;
    padding: 0.46rem;
    border-radius: 6px;
  }

  #tournamentPlayView .tournament-play-meta-list,
  #quickTournamentPlayView .tournament-play-meta-list {
    gap: 0.24rem;
  }

  #tournamentPlayView .tournament-play-meta-row,
  #quickTournamentPlayView .tournament-play-meta-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.34rem;
    font-size: 0.62rem;
  }

  #tournamentPlayView .tournament-play-meta-row span,
  #quickTournamentPlayView .tournament-play-meta-row span {
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #tournamentPlayView .tournament-play-nav-grid,
  #quickTournamentPlayView .tournament-play-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
  }

  #tournamentPlayView .tournament-play-nav-button,
  #quickTournamentPlayView .tournament-play-nav-button {
    min-height: 1.88rem;
    padding: 0.32rem 0.34rem;
    border-radius: 4px;
    font-size: 0.56rem;
  }

  #tournamentPlayView .training-main,
  #quickTournamentPlayView .training-main {
    gap: 0.46rem;
  }

  #tournamentPlayView .tournament-user-schedule-card,
  #tournamentPlayView .tournament-general-schedule-card {
    gap: 0.42rem;
    padding: 0.44rem;
    border-radius: 6px;
  }

  #tournamentPlayView .tournament-user-schedule-head,
  #tournamentPlayView .tournament-general-schedule-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.34rem;
  }

  #tournamentPlayView .tournament-user-schedule-team {
    gap: 0.42rem;
  }

  #tournamentPlayView .tournament-user-schedule-team .team-logo-thumb {
    width: 1.8rem;
    height: 1.8rem;
    flex-basis: 1.8rem;
    border-radius: 5px;
  }

  #tournamentPlayView .tournament-user-schedule-head h4,
  #tournamentPlayView .tournament-general-schedule-head h4 {
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #tournamentPlayView .tournament-user-schedule-team span {
    font-size: 0.56rem;
  }

  #tournamentPlayView .tournament-user-schedule-pills {
    justify-content: flex-start;
    gap: 0.22rem;
  }

  #tournamentPlayView .tournament-user-match-list,
  #tournamentPlayView .tournament-general-schedule-list {
    gap: 0.34rem;
  }

  #tournamentPlayView .tournament-play-section,
  #quickTournamentPlayView .tournament-play-section {
    gap: 0.38rem;
    padding: 0.44rem;
    border-radius: 6px;
    overflow: visible;
  }

  #tournamentPlayView .tournament-play-section::before,
  #quickTournamentPlayView .tournament-play-section::before {
    display: none;
  }

  #tournamentPlayView .tournament-play-section-head,
  #quickTournamentPlayView .tournament-play-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.34rem;
    padding: 0;
    border: 0;
  }

  #tournamentPlayView .tournament-play-section-head .eyebrow,
  #quickTournamentPlayView .tournament-play-section-head .eyebrow {
    display: none;
  }

  #tournamentPlayView .tournament-play-section-head h3,
  #quickTournamentPlayView .tournament-play-section-head h3 {
    overflow: hidden;
    font-size: 0.84rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #tournamentPlayView .tournament-play-toggle,
  #quickTournamentPlayView .tournament-play-toggle,
  #tournamentPlayView .tournament-play-inline-toggle,
  #quickTournamentPlayView .tournament-play-inline-toggle {
    min-height: 1.76rem;
    padding: 0.3rem 0.36rem;
    border-radius: 4px;
    font-size: 0.54rem;
  }

  #tournamentPlayView .tournament-beta-match-group,
  #quickTournamentPlayView .quick-play-day-block,
  #quickTournamentPlayView .quick-play-group-card,
  #quickTournamentPlayView .quick-play-stage-card {
    gap: 0.34rem;
    padding: 0.36rem;
    border-radius: 6px;
  }

  #tournamentPlayView .tournament-beta-collapsible-head,
  #quickTournamentPlayView .tournament-beta-collapsible-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
    padding: 0.36rem;
    border-radius: 5px;
  }

  #tournamentPlayView .tournament-beta-collapsible-head .eyebrow,
  #quickTournamentPlayView .tournament-beta-collapsible-head .eyebrow {
    margin: 0;
    font-size: 0.46rem;
  }

  #tournamentPlayView .tournament-beta-collapsible-head h3,
  #quickTournamentPlayView .tournament-beta-collapsible-head h3 {
    font-size: 0.78rem;
    line-height: 1;
  }

  #tournamentPlayView .tournament-beta-group-summary {
    gap: 0.22rem;
  }

  #tournamentPlayView .tournament-beta-summary-pill,
  #tournamentPlayView .tournament-beta-match-top .chip,
  #tournamentPlayView .tournament-beta-reports-tag {
    min-height: 1.18rem;
    padding: 0.14rem 0.3rem;
    border-radius: 4px;
    font-size: 0.48rem;
  }

  #tournamentPlayView .tournament-beta-round-card,
  #quickTournamentPlayView .quick-round-card {
    gap: 0.34rem;
    padding: 0.4rem;
    border-radius: 5px;
  }

  #tournamentPlayView .tournament-beta-round-head strong,
  #quickTournamentPlayView .quick-round-head strong,
  #quickTournamentPlayView .quick-play-day-head strong {
    font-size: 0.64rem;
  }

  #tournamentPlayView .tournament-beta-round-head span,
  #quickTournamentPlayView .quick-round-head span,
  #quickTournamentPlayView .quick-play-day-head {
    font-size: 0.56rem;
  }

  #tournamentPlayView .tournament-beta-match-card,
  #quickTournamentPlayView .quick-match-card {
    gap: 0.3rem;
    padding: 0.36rem;
    border-radius: 5px;
    box-shadow: none;
  }

  #tournamentPlayView .tournament-beta-match-top {
    gap: 0.2rem;
  }

  #tournamentPlayView .tournament-beta-match-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center;
    gap: 0.24rem;
  }

  #tournamentPlayView .tournament-beta-match-team {
    min-height: 1.9rem;
    gap: 0.2rem;
    padding: 0.2rem;
    border-radius: 4px;
  }

  #tournamentPlayView .tournament-beta-match-line > .tournament-beta-match-team:last-child {
    grid-template-columns: minmax(0, 1fr) auto;
    text-align: right;
  }

  #tournamentPlayView .tournament-beta-match-line > .tournament-beta-match-team:last-child .team-logo-thumb {
    order: 2;
  }

  #tournamentPlayView .tournament-beta-match-team .team-logo-thumb {
    width: 1.08rem;
    height: 1.08rem;
    flex-basis: 1.08rem;
    border-radius: 4px;
  }

  #tournamentPlayView .tournament-beta-match-team-copy strong {
    overflow: hidden;
    font-size: 0.58rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #tournamentPlayView .tournament-beta-match-team-copy span {
    font-size: 0.44rem;
  }

  #tournamentPlayView .tournament-beta-score {
    min-width: 2.18rem;
    min-height: 1.52rem;
    padding: 0.12rem 0.22rem;
    border-radius: 4px;
    font-size: 0.68rem;
  }

  #tournamentPlayView .tournament-beta-match-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
  }

  #tournamentPlayView .tournament-beta-match-actions > * {
    min-height: 1.84rem;
    padding: 0.32rem 0.34rem;
    border-radius: 4px;
    font-size: 0.56rem;
  }

  .modal-overlay.is-tournament-report {
    display: block;
    place-items: stretch;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
  }

  .modal-card.is-tournament-report {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding:
      calc(0.72rem + env(safe-area-inset-top))
      0.62rem
      calc(0.95rem + env(safe-area-inset-bottom));
    border-radius: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
  }

  .modal-card.is-tournament-report .modal-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.46rem;
    margin: -0.08rem -0.02rem 0.52rem;
    padding: 0.12rem 0.02rem 0.5rem;
  }

  .modal-card.is-tournament-report .modal-header h3 {
    overflow: hidden;
    font-size: 1.08rem;
    line-height: 0.98;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .modal-card.is-tournament-report .modal-header .eyebrow {
    font-size: 0.48rem;
  }

  .modal-card.is-tournament-report .stack-form {
    display: grid;
    align-content: start;
    flex: 1 1 auto;
    gap: 0.52rem;
    min-height: 0;
    padding-bottom: 0.35rem;
    overflow-y: visible;
    touch-action: pan-y pinch-zoom;
  }

  .modal-card.is-tournament-report .report-enhanced-section,
  .modal-card.is-tournament-report .report-result-stage {
    gap: 0.52rem;
  }

  .modal-card.is-tournament-report .report-result-stage,
  .modal-card.is-tournament-report .report-links-preview {
    padding: 0.58rem;
    border-radius: 6px;
  }

  .modal-card.is-tournament-report .report-enhanced-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.34rem;
  }

  .modal-card.is-tournament-report .report-enhanced-head h4 {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1;
  }

  .modal-card.is-tournament-report .report-enhanced-head .eyebrow {
    margin: 0 0 0.04rem;
    font-size: 0.48rem;
  }

  .modal-card.is-tournament-report .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
  }

  .modal-card.is-tournament-report .field span {
    font-size: 0.58rem;
  }

  .modal-card.is-tournament-report input,
  .modal-card.is-tournament-report textarea,
  .modal-card.is-tournament-report select {
    min-height: 2.28rem;
    padding: 0.48rem 0.5rem;
    border-radius: 4px;
    font-size: 16px;
  }

  .modal-card.is-tournament-report textarea {
    min-height: 4.6rem;
  }

  .modal-card.is-tournament-report .tournament-report-team-label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.32rem;
  }

  .modal-card.is-tournament-report .tournament-report-team-label .team-logo-thumb {
    width: 1.28rem;
    height: 1.28rem;
    flex-basis: 1.28rem;
    border-radius: 4px;
  }

  .modal-card.is-tournament-report .tournament-report-team-copy strong {
    display: block;
    overflow: hidden;
    font-size: 0.62rem;
    line-height: 1.04;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .modal-card.is-tournament-report .tournament-report-team-copy span {
    font-size: 0.48rem;
  }

  .modal-card.is-tournament-report #tournamentReportModeNote {
    display: none;
  }

  .modal-card.is-tournament-report .stack-form > .button-row:last-of-type {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.36rem;
    margin-top: 0;
    padding-top: 0.48rem;
    padding-bottom: calc(0.16rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(12, 9, 24, 0), rgba(12, 9, 24, 0.94) 28%, rgba(12, 9, 24, 0.99));
  }

  .modal-card.is-tournament-report .stack-form > .button-row:last-of-type > * {
    width: 100%;
    min-height: 2.42rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 380px) {
  #staffPanel .section-surface h3,
  #staffPanel .section-surface h4,
  #tournamentPlayView .tournament-play-section-head h3,
  #quickTournamentPlayView .tournament-play-section-head h3 {
    font-size: 0.78rem;
  }

  #tournamentPlayView .tournament-beta-match-line {
    gap: 0.18rem;
  }

  #tournamentPlayView .tournament-beta-score {
    min-width: 2rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 920px) {
  .draft-proclub-view {
    padding: 0.55rem 0.48rem 1rem;
  }

  .draft-proclub-shell {
    gap: 0.65rem;
  }

  .draft-proclub-topbar {
    top: 0;
    display: grid;
    gap: 0.6rem;
    padding: 0.6rem;
  }

  .draft-proclub-topbar h2 {
    font-size: 1.55rem;
    line-height: 0.9;
  }

  .draft-proclub-topbar .eyebrow {
    font-size: 0.56rem;
  }

  .draft-proclub-topbar .button-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
  }

  .draft-proclub-topbar .button-row > * {
    width: 100%;
    min-height: 2.25rem;
    padding: 0.42rem 0.5rem;
    border-radius: 6px;
    font-size: 0.62rem;
    line-height: 1.05;
  }

  .draft-proclub-hero {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.7rem;
  }

  .draft-proclub-hero h3 {
    font-size: 1.9rem;
  }

  .draft-proclub-stats {
    min-width: 0;
    gap: 0.35rem;
  }

  .draft-proclub-stats span {
    padding: 0.45rem;
    font-size: 0.56rem;
  }

  .draft-proclub-stats strong {
    font-size: 1.05rem;
  }

  .draft-proclub-staff-panel,
  .draft-proclub-card,
  .draft-captain-board,
  .draft-candidate-panel,
  .draft-player-pool {
    padding: 0.58rem;
  }

  .draft-proclub-staff-grid,
  .draft-proclub-staff-lists,
  .draft-proclub-layout,
  .draft-player-detail-meta {
    grid-template-columns: 1fr;
  }

  .draft-proclub-card-head h4 {
    font-size: 1.05rem;
  }

  .draft-disclosure-summary {
    gap: 0.45rem;
  }

  .draft-disclosure-summary::after {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 6px;
    font-size: 0.82rem;
  }

  .draft-disclosure-summary > span small {
    font-size: 0.52rem;
  }

  .draft-disclosure-summary > span strong,
  .draft-disclosure-summary h4 {
    font-size: 0.88rem;
  }

  .draft-disclosure-summary > b {
    max-width: 6.8rem;
    padding: 0.28rem 0.42rem;
    border-radius: 6px;
    font-size: 0.56rem;
  }

  .draft-disclosure-body {
    gap: 0.52rem;
    padding-top: 0.58rem;
  }

  .draft-proclub-form .field span {
    font-size: 0.62rem;
  }

  .draft-proclub-form .field input,
  .draft-proclub-form .field textarea,
  .draft-proclub-form .field select,
  .draft-admin-row input,
  .draft-admin-row select {
    min-height: 2.18rem;
    padding: 0.45rem 0.52rem;
    border-radius: 6px;
    font-size: 0.72rem;
  }

  .draft-proclub-form .field textarea {
    min-height: 3.9rem;
  }

  .draft-proclub-attributes-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.32rem;
  }

  .draft-admin-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.32rem;
    padding: 0.42rem;
  }

  .draft-admin-row-player {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
    padding: 0.5rem;
  }

  .draft-admin-row > div,
  .draft-admin-player,
  .draft-admin-actions {
    grid-column: 1 / -1;
  }

  .draft-admin-row-player .draft-admin-control:first-of-type {
    grid-column: 1;
  }

  .draft-admin-row-player .draft-admin-control:nth-of-type(2) {
    grid-column: 2;
  }

  .draft-admin-row-player .draft-admin-control:nth-of-type(3) {
    grid-column: 1 / -1;
  }

  .draft-admin-control {
    gap: 0.14rem;
  }

  .draft-admin-control span {
    font-size: 0.46rem;
    letter-spacing: 0.05em;
  }

  .draft-player-admin-search {
    gap: 0.36rem;
    padding: 0.42rem;
    border-radius: 6px;
  }

  .draft-player-admin-search-head {
    gap: 0.34rem;
  }

  .draft-player-admin-search-head .small-button {
    min-height: 1.95rem;
    padding: 0.34rem 0.42rem;
    font-size: 0.58rem;
  }

  .draft-player-admin-search-head span {
    font-size: 0.52rem;
  }

  .draft-player-admin-search-field span {
    font-size: 0.46rem;
    letter-spacing: 0.05em;
  }

  .draft-player-admin-search-field input {
    min-height: 2.05rem;
    padding: 0.4rem 0.46rem;
    border-radius: 6px;
    font-size: 16px;
  }

  .draft-admin-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
  }

  .draft-admin-row .small-button {
    min-height: 2.15rem;
    padding: 0.42rem 0.48rem;
    border-radius: 6px;
    font-size: 0.62rem;
  }

  .draft-admin-row strong,
  .draft-admin-player strong {
    font-size: 0.72rem;
  }

  .draft-admin-row small,
  .draft-admin-player small {
    font-size: 0.56rem;
  }

  .draft-side-stack {
    position: static;
  }

  .draft-captain-board-head h4 {
    font-size: 1.35rem;
  }

  .draft-credit-meter {
    min-width: 4.15rem;
    padding: 0.42rem 0.5rem;
  }

  .draft-credit-meter strong {
    font-size: 1.05rem;
  }

  .draft-credit-meter span {
    font-size: 0.52rem;
  }

  .draft-pitch {
    min-height: 25rem;
    gap: 0.48rem;
    padding: 0.55rem;
  }

  .draft-pitch-row {
    gap: 0.34rem;
  }

  .draft-slot-button {
    min-height: 4.25rem;
    padding: 0.36rem 0.28rem;
    border-radius: 6px;
  }

  .draft-slot-button span,
  .draft-slot-button small {
    font-size: 0.48rem;
  }

  .draft-slot-button strong {
    font-size: 0.62rem;
  }

  .draft-slot-clear {
    width: 1.18rem;
    height: 1.18rem;
    font-size: 0.62rem;
  }

  .draft-candidate-list,
  .draft-player-pool-list,
  .draft-proclub-admin-list {
    max-height: 22rem;
  }

  .draft-candidate-card {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.42rem;
  }

  .draft-candidate-card .small-button {
    width: 100%;
    min-height: 2.05rem;
    font-size: 0.62rem;
  }

  .draft-candidate-main,
  .draft-player-pool-row {
    gap: 0.42rem;
  }

  .draft-candidate-main .avatar,
  .draft-player-pool-row .avatar,
  .draft-admin-player .avatar {
    width: 2.05rem;
    height: 2.05rem;
    font-size: 0.72rem;
  }

  .draft-candidate-main strong,
  .draft-player-pool-row strong {
    font-size: 0.72rem;
  }

  .draft-candidate-main small,
  .draft-player-pool-row small {
    font-size: 0.54rem;
  }

  .draft-candidate-main b,
  .draft-player-pool-row b {
    min-width: 1.85rem;
    min-height: 1.85rem;
    border-radius: 6px;
    font-size: 0.64rem;
  }

  .draft-candidate-main .draft-grade-pill,
  .draft-player-pool-row .draft-grade-pill {
    min-width: 1.85rem;
    min-height: 1.85rem;
    padding: 0.18rem 0.28rem;
    border-radius: 6px;
  }

  .draft-candidate-main .draft-grade-pill strong,
  .draft-player-pool-row .draft-grade-pill strong {
    font-size: 0.62rem;
  }

  .draft-candidate-main .draft-grade-pill small,
  .draft-player-pool-row .draft-grade-pill small {
    font-size: 0.42rem;
  }

  .draft-player-modal {
    padding: 0.55rem;
  }

  .draft-player-modal-card {
    max-height: calc(100vh - 1.1rem);
    padding: 0.7rem;
    border-radius: 6px;
  }

  .draft-player-modal-card .modal-header {
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
  }

  .draft-player-modal-card .modal-header h3 {
    font-size: 1.28rem;
  }

  .draft-player-modal-card .modal-header .small-button {
    min-height: 2rem;
    padding: 0.36rem 0.52rem;
    font-size: 0.62rem;
  }

  .draft-player-detail-hero {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.52rem;
    padding: 0.55rem;
  }

  .draft-player-detail-hero .avatar {
    width: 3rem;
    height: 3rem;
  }

  .draft-player-detail-hero h4 {
    font-size: 1.55rem;
  }

  .draft-player-detail-hero p {
    font-size: 0.64rem;
  }

  .draft-player-detail-score > strong {
    width: 3rem;
    height: 3rem;
    font-size: 1.15rem;
  }

  .draft-player-detail-score .draft-grade-pill {
    width: 3rem;
    min-height: 1.45rem;
  }

  .draft-player-attribute-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .draft-player-attribute,
  .draft-player-detail-meta span,
  .draft-player-notes {
    padding: 0.5rem;
    border-radius: 6px;
  }

  .draft-player-notes {
    font-size: 0.72rem;
  }

  .draft-proclub-live-view {
    padding: 0.55rem 0.48rem 1rem;
  }

  .draft-proclub-live-shell {
    gap: 0.55rem;
  }

  .draft-proclub-live-topbar {
    top: 0;
    display: grid;
    gap: 0.55rem;
    padding: 0.58rem;
  }

  .draft-proclub-live-topbar h2 {
    font-size: 1.45rem;
    line-height: 0.9;
  }

  .draft-proclub-live-topbar .button-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.32rem;
    width: 100%;
  }

  .draft-proclub-live-topbar .button-row > * {
    min-height: 2.1rem;
    padding: 0.35rem 0.38rem;
    border-radius: 6px;
    font-size: 0.54rem;
    line-height: 1.05;
  }

  .draft-live-layout {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .draft-live-rail {
    position: static;
    display: flex;
    max-height: none;
    gap: 0.34rem;
    overflow-x: auto;
    padding: 0.42rem;
  }

  .draft-live-team {
    min-width: 8.2rem;
    padding: 0.42rem;
    border-radius: 6px;
  }

  .draft-live-team span {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 6px;
    font-size: 0.62rem;
  }

  .draft-live-team strong {
    font-size: 0.64rem;
  }

  .draft-live-team small {
    font-size: 0.5rem;
  }

  .draft-live-pitch-card,
  .draft-live-candidates,
  .draft-live-picked {
    gap: 0.5rem;
    padding: 0.55rem;
  }

  .draft-live-captain-head h3,
  .draft-live-candidates-head h3,
  .draft-live-candidates.is-empty h3 {
    font-size: 1.25rem;
  }

  .draft-live-pitch {
    min-height: 20rem;
    gap: 0.34rem;
    padding: 0.45rem;
  }

  .draft-live-pitch-row {
    gap: 0.28rem;
  }

  .draft-live-slot {
    min-height: 3.65rem;
    padding: 0.28rem;
    border-radius: 6px;
  }

  .draft-live-slot span,
  .draft-live-slot small {
    font-size: 0.42rem;
  }

  .draft-live-slot strong {
    font-size: 0.54rem;
  }

  .draft-live-candidates-head {
    align-items: start;
  }

  .draft-live-candidate-actions {
    display: grid;
    justify-items: end;
    gap: 0.28rem;
    font-size: 0.62rem;
  }

  .draft-live-candidate-actions .small-button {
    min-height: 1.9rem;
    padding: 0.32rem 0.42rem;
    font-size: 0.56rem;
  }

  .draft-live-player-row {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(8.4rem, 42vw);
    gap: 0.4rem;
    overflow-x: auto;
  }

  .draft-live-player-card {
    gap: 0.34rem;
    padding: 0.38rem;
    border-radius: 6px;
  }

  .draft-live-card-top b {
    font-size: 1.28rem;
  }

  .draft-live-card-top small,
  .draft-live-card-value {
    padding: 0.2rem 0.25rem;
    font-size: 0.42rem;
    letter-spacing: 0.04em;
  }

  .draft-live-card-top .draft-grade-pill {
    min-width: 1.65rem;
    min-height: 1.52rem;
    padding: 0.16rem 0.22rem;
    border-radius: 5px;
  }

  .draft-live-card-top .draft-grade-pill strong {
    font-size: 0.58rem;
  }

  .draft-live-card-top .draft-grade-pill small {
    font-size: 0.38rem;
  }

  .draft-live-card-avatar .avatar {
    width: 2.55rem;
    height: 2.55rem;
    font-size: 0.72rem;
  }

  .draft-live-card-face > strong {
    font-size: 0.82rem;
  }

  .draft-live-card-face > small {
    font-size: 0.46rem;
  }

  .draft-live-player-stats {
    gap: 0.18rem;
  }

  .draft-live-player-stats span {
    padding: 0.2rem 0.22rem;
    border-radius: 4px;
    font-size: 0.4rem;
  }

  .draft-live-player-stats b {
    font-size: 0.62rem;
  }

  .draft-live-player-actions {
    gap: 0.2rem;
  }

  .draft-live-player-card .small-button {
    min-height: 1.78rem;
    padding: 0.3rem 0.2rem;
    font-size: 0.48rem;
  }

  .draft-live-picked {
    flex-wrap: nowrap;
    gap: 0.32rem;
    overflow-x: auto;
  }

  .draft-live-picked-chip {
    min-width: 7.6rem;
    padding: 0.35rem 0.42rem;
    border-radius: 6px;
  }

  .draft-live-picked-chip strong {
    font-size: 0.58rem;
  }

  .draft-live-picked-chip span,
  .draft-live-picked-empty {
    font-size: 0.48rem;
  }
}

.training-view:not(.hidden) {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.draft-pick-stage {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  border: 0;
  background: transparent;
  box-shadow: none;
}

.draft-pick-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(56, 189, 248, 0.22), transparent 24rem),
    rgba(1, 4, 10, 0.78);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.draft-pick-stage-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  width: min(62rem, 100%);
  max-height: min(42rem, calc(100dvh - 2rem));
  overflow: auto;
  padding: clamp(0.7rem, 2vw, 1.2rem);
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.18), transparent 28rem),
    linear-gradient(180deg, rgba(8, 13, 27, 0.98), rgba(2, 6, 23, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: draftPickStageIn 240ms ease both;
  -webkit-overflow-scrolling: touch;
}

@keyframes draftPickStageIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.draft-pick-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.draft-pick-stage-head h3 {
  margin: 0.2rem 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.draft-pick-stage-head p {
  margin: 0.25rem 0 0;
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.draft-pick-stage-actions,
.draft-live-candidate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.draft-pick-stage .draft-candidate-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  max-height: none;
  overflow: visible;
}

.draft-pick-stage .draft-candidate-card {
  position: relative;
  grid-template-columns: 1fr;
  align-content: space-between;
  min-height: 12.5rem;
  padding: 0.58rem;
  border-color: rgba(250, 204, 21, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.22), transparent 54%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.86), rgba(2, 6, 23, 0.92));
  animation: draftLiveCardIn 300ms ease both;
}

.draft-pick-stage .draft-candidate-main {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.draft-pick-stage .draft-candidate-main .avatar {
  width: 3.35rem;
  height: 3.35rem;
  font-size: 1rem;
}

.draft-pick-stage .draft-candidate-main span {
  justify-items: center;
}

.draft-pick-stage .draft-candidate-main strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.draft-pick-stage .draft-candidate-main small {
  font-size: 0.58rem;
}

.draft-pick-stage .draft-candidate-main b {
  min-width: 2.35rem;
  min-height: 2.35rem;
  background: rgba(250, 204, 21, 0.16);
  color: #fef3c7;
}

.draft-pick-stage .draft-candidate-main .draft-grade-pill {
  justify-self: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
}

.draft-pick-stage .draft-live-player-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: initial;
  gap: 0.6rem;
  overflow: visible;
  padding: 0;
}

.draft-pick-stage .draft-live-player-card {
  min-height: 15rem;
}

@media (max-width: 920px) {
  .draft-pick-stage {
    align-items: end;
    padding: 0.55rem;
  }

  .draft-pick-stage-card {
    width: 100%;
    max-height: min(35rem, calc(100dvh - 1.1rem));
    gap: 0.58rem;
    padding: 0.55rem;
    border-radius: 6px;
  }

  .draft-pick-stage-head {
    display: grid;
    gap: 0.5rem;
    padding-bottom: 0.48rem;
  }

  .draft-pick-stage-head h3 {
    font-size: 1.8rem;
  }

  .draft-pick-stage-head p {
    font-size: 0.56rem;
  }

  .draft-pick-stage-actions,
  .draft-live-candidate-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
    width: 100%;
  }

  .draft-pick-stage-actions .small-button,
  .draft-live-candidate-actions .small-button {
    width: 100%;
    min-height: 1.95rem;
    padding: 0.34rem 0.38rem;
    font-size: 0.54rem;
  }

  .draft-pick-stage .draft-candidate-list,
  .draft-pick-stage .draft-live-player-row {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(8.2rem, 41vw);
    gap: 0.38rem;
    overflow-x: auto;
    padding-bottom: 0.08rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .draft-pick-stage .draft-candidate-card,
  .draft-pick-stage .draft-live-player-card {
    min-height: 12.2rem;
    padding: 0.38rem;
    scroll-snap-align: start;
  }

  .draft-pick-stage .draft-candidate-main .avatar {
    width: 2.55rem;
    height: 2.55rem;
    font-size: 0.75rem;
  }

  .draft-pick-stage .draft-candidate-main strong {
    font-size: 0.82rem;
  }

  .draft-pick-stage .draft-candidate-main small {
    font-size: 0.46rem;
  }
}

/* Draft event redesign */
.draft-proclub-view,
.draft-proclub-live-view {
  position: fixed;
  inset: 0;
  isolation: isolate;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(180deg, rgba(2, 6, 12, 0.98), rgba(4, 9, 18, 0.98)),
    linear-gradient(115deg, rgba(14, 165, 233, 0.1), transparent 32%),
    linear-gradient(245deg, rgba(245, 158, 11, 0.1), transparent 34%);
}

.draft-proclub-view::before,
.draft-proclub-live-view::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 5.5rem 100%,
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 100% 5.5rem;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent);
}

.draft-proclub-shell,
.draft-proclub-live-shell {
  gap: 1.05rem;
}

.draft-proclub-topbar,
.draft-proclub-live-topbar {
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0;
  background: rgba(2, 6, 12, 0.76);
  box-shadow: none;
}

.draft-proclub-topbar h2,
.draft-proclub-live-topbar h2,
.draft-proclub-hero h3 {
  letter-spacing: 0;
}

.draft-proclub-topbar .button-row,
.draft-proclub-live-topbar .button-row {
  align-items: center;
}

.draft-proclub-topbar .primary-button,
.draft-proclub-topbar .ghost-button,
.draft-proclub-live-topbar .primary-button,
.draft-proclub-live-topbar .ghost-button {
  border-radius: 6px;
  box-shadow: none;
}

.draft-proclub-topbar .primary-button,
.draft-proclub-live-topbar .primary-button {
  background: linear-gradient(180deg, #38bdf8, #0f766e);
}

.draft-proclub-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.55fr);
  min-height: 13rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(8, 47, 73, 0.74), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.draft-proclub-hero::after {
  content: '';
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  width: min(32rem, 56vw);
  height: 0.32rem;
  background: linear-gradient(90deg, transparent, #38bdf8, #facc15);
  opacity: 0.78;
}

.draft-proclub-hero h3 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 10vw, 8.4rem);
}

.draft-proclub-stats {
  align-self: stretch;
  grid-template-columns: 1fr;
  gap: 0;
  min-width: 0;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
}

.draft-proclub-stats span {
  align-content: center;
  padding: 0.9rem 1rem;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0;
  background: transparent;
}

.draft-proclub-stats span:last-child {
  border-bottom: 0;
}

.draft-proclub-stats strong {
  color: #e0f2fe;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
}

.draft-proclub-staff-panel,
.draft-proclub-card,
.draft-captain-board,
.draft-candidate-panel,
.draft-player-pool,
.draft-proclub-empty {
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(6, 11, 20, 0.64);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.draft-proclub-staff-panel {
  border-left: 3px solid rgba(56, 189, 248, 0.6);
}

.draft-proclub-card,
.draft-candidate-panel,
.draft-player-pool {
  border-radius: 6px;
}

.draft-disclosure-summary::after {
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
}

.draft-captain-board {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.draft-captain-board::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 0.2rem;
  background: linear-gradient(90deg, #38bdf8, #22c55e, #facc15);
  opacity: 0.78;
}

.draft-pitch,
.draft-live-pitch {
  position: relative;
  overflow: hidden;
  border-color: rgba(74, 222, 128, 0.2);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.18) 50%, transparent calc(50% + 1px)),
    linear-gradient(180deg, rgba(21, 128, 61, 0.1), rgba(6, 78, 59, 0.13)),
    #04110c;
}

.draft-pitch::before,
.draft-live-pitch::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8.8rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.draft-slot-button,
.draft-live-slot {
  border-color: rgba(226, 232, 240, 0.1);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.draft-slot-wrap.is-filled .draft-slot-button,
.draft-live-slot.is-filled {
  border-color: rgba(56, 189, 248, 0.42);
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.2), rgba(2, 6, 23, 0.82));
}

.draft-live-layout {
  grid-template-columns: minmax(10rem, 0.18fr) minmax(0, 1fr);
  gap: 1rem;
}

.draft-live-rail {
  gap: 0.25rem;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.draft-live-team {
  position: relative;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  padding: 0.62rem 0.55rem;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  background: transparent;
}

.draft-live-team span {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  color: #bae6fd;
}

.draft-live-team.is-active {
  border-color: #38bdf8;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.14), transparent);
}

.draft-live-team-progress {
  grid-column: 2;
  display: block;
  height: 0.22rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.draft-live-team-progress i {
  display: block;
  width: var(--draft-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
}

.draft-live-stage {
  gap: 1rem;
}

.draft-live-pitch-card,
.draft-live-candidates,
.draft-live-picked {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.draft-live-pitch-card {
  padding: 0;
}

.draft-live-captain-head {
  padding: 0.15rem 0 0.7rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.draft-live-pitch {
  min-height: clamp(24rem, 48vw, 34rem);
  padding: clamp(0.65rem, 2vw, 1.15rem);
  border-radius: 6px;
}

.draft-live-slot {
  min-height: clamp(4.2rem, 8vw, 5.4rem);
  border-radius: 6px;
}

.draft-live-candidates {
  padding: 0.75rem 0 0;
}

.draft-live-candidates-head {
  padding: 0.72rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.draft-live-player-row {
  gap: 0.72rem;
  padding: 0.85rem 0 0.2rem;
  scroll-snap-type: x proximity;
}

.draft-live-player-card {
  scroll-snap-align: start;
  border-radius: 6px;
  transform-origin: center bottom;
  transition: transform 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.draft-live-player-card:hover {
  transform: translateY(-0.22rem);
}

.draft-live-picked {
  padding: 0.15rem 0 0.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.draft-live-picked-chip {
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
}

body.calcetto-menu-context .mobile-menu-panel {
  border-radius: 6px;
  border-color: rgba(250, 204, 21, 0.18);
  background:
    linear-gradient(180deg, rgba(24, 19, 7, 0.98), rgba(7, 7, 10, 0.98));
}

body.calcetto-menu-context .mobile-menu-link {
  border-radius: 0;
  background: transparent;
}

body.calcetto-menu-context .mobile-menu-link strong {
  letter-spacing: 0;
}

@media (max-width: 920px) {
  .draft-proclub-view,
  .draft-proclub-live-view {
    background:
      linear-gradient(180deg, #02060c, #040912 48%, #06110f);
  }

  .draft-proclub-shell,
  .draft-proclub-live-shell {
    gap: 0.65rem;
  }

  .draft-proclub-topbar,
  .draft-proclub-live-topbar {
    top: 0;
    padding: 0.55rem 0.45rem;
  }

  .draft-proclub-topbar h2,
  .draft-proclub-live-topbar h2 {
    font-size: 1.55rem;
  }

  .draft-proclub-topbar .button-row,
  .draft-proclub-live-topbar .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .draft-proclub-live-topbar .button-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .draft-proclub-topbar .button-row > *,
  .draft-proclub-live-topbar .button-row > * {
    min-height: 2rem;
    padding: 0.32rem 0.34rem;
    border-radius: 5px;
    font-size: 0.52rem;
  }

  .draft-proclub-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0.82rem 0.55rem;
  }

  .draft-proclub-hero::after {
    right: 0.55rem;
    bottom: 0.55rem;
    width: 46%;
    height: 0.22rem;
  }

  .draft-proclub-hero h3 {
    max-width: none;
    font-size: 2.65rem;
  }

  .draft-proclub-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
  }

  .draft-proclub-stats span {
    padding: 0.45rem 0.38rem;
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    border-bottom: 0;
    font-size: 0.5rem;
  }

  .draft-proclub-stats span:last-child {
    border-right: 0;
  }

  .draft-proclub-stats strong {
    font-size: 1.15rem;
  }

  .draft-proclub-staff-panel {
    padding: 0.55rem;
    border-left-width: 2px;
  }

  .draft-proclub-card,
  .draft-captain-board,
  .draft-candidate-panel,
  .draft-player-pool {
    padding: 0.5rem;
  }

  .draft-live-layout {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .draft-live-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(8.2rem, 36vw);
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding-bottom: 0.34rem;
  }

  .draft-live-team {
    grid-template-columns: 1.35rem minmax(0, 1fr);
    padding: 0.42rem;
    border-left-width: 2px;
  }

  .draft-live-team span {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.56rem;
  }

  .draft-live-team strong {
    font-size: 0.62rem;
  }

  .draft-live-team small {
    font-size: 0.46rem;
  }

  .draft-live-team-progress {
    height: 0.18rem;
  }

  .draft-live-captain-head,
  .draft-live-candidates-head {
    padding: 0.45rem 0;
    gap: 0.45rem;
  }

  .draft-live-captain-head h3,
  .draft-live-candidates-head h3,
  .draft-live-candidates.is-empty h3 {
    font-size: 1.18rem;
  }

  .draft-live-pitch {
    min-height: 18.5rem;
    padding: 0.42rem;
  }

  .draft-live-pitch::before {
    width: 5.8rem;
  }

  .draft-live-slot {
    min-height: 3.28rem;
    padding: 0.22rem;
  }

  .draft-live-slot span,
  .draft-live-slot small {
    font-size: 0.38rem;
  }

  .draft-live-slot strong {
    font-size: 0.5rem;
  }

  .draft-live-player-row {
    grid-auto-columns: minmax(8rem, 40vw);
    gap: 0.36rem;
    padding-top: 0.55rem;
  }

  .draft-live-player-card {
    padding: 0.34rem;
  }

  .draft-live-card-top b {
    font-size: 1.18rem;
  }

  .draft-live-card-avatar .avatar {
    width: 2.4rem;
    height: 2.4rem;
  }

  .draft-live-card-face > strong {
    font-size: 0.78rem;
  }

  .draft-live-player-card .small-button {
    min-height: 1.72rem;
    font-size: 0.46rem;
  }
}

.draft-pick-stage.draft-candidate-panel,
.draft-pick-stage.draft-live-candidates {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  border: 0;
  background: transparent;
  box-shadow: none;
}

.draft-pick-stage .draft-live-player-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: initial;
  gap: 0.6rem;
  overflow: visible;
  padding: 0;
}

@media (max-width: 920px) {
  .draft-pick-stage.draft-candidate-panel,
  .draft-pick-stage.draft-live-candidates {
    align-items: end;
    padding: 0.55rem;
  }

  .draft-pick-stage .draft-candidate-list,
  .draft-pick-stage .draft-live-player-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(8.2rem, 41vw);
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
}

@media (max-width: 720px) {
  #public-market {
    display: grid;
    gap: 0.58rem;
  }

  #public-market .panel-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
  }

  #public-market .panel-heading h2 {
    font-size: 1.18rem;
  }

  #public-market .panel-heading-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.38rem;
  }

  #public-market .count-pill {
    min-width: 3.65rem;
    padding: 0.34rem 0.42rem;
    border-radius: 4px;
  }

  #public-market .count-pill strong {
    font-size: 1.02rem;
  }

  #public-market .count-pill span {
    font-size: 0.46rem;
  }

  .market-filter-bar {
    grid-template-columns: 1fr;
    gap: 0.42rem;
    padding: 0.48rem;
    border-radius: 4px;
    background: #08111a;
  }

  .market-filter-bar .field span {
    font-size: 0.52rem;
  }

  .market-filter-bar input,
  .market-filter-bar select {
    min-height: 2.18rem;
    padding: 0.45rem 0.5rem;
    border-radius: 4px;
    font-size: 16px;
  }

  .market-grid,
  .collection-detail-grid.market-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .market-overview-card {
    gap: 0.48rem;
    padding: 0.52rem;
    border-radius: 4px;
    background:
      linear-gradient(135deg, rgba(34, 211, 238, 0.11), rgba(168, 85, 247, 0.08)),
      #08111a;
  }

  .market-overview-head {
    gap: 0.5rem;
  }

  .market-overview-head strong {
    font-size: 1rem;
  }

  .market-overview-head > div > span {
    font-size: 0.54rem;
  }

  .market-role-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(6.2rem, 36vw);
    grid-template-columns: none;
    gap: 0.28rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .market-role-filter-chip {
    min-height: 1.95rem;
    padding: 0.26rem 0.34rem;
    border-radius: 4px !important;
    scroll-snap-align: start;
  }

  .market-role-filter-chip span {
    font-size: 0.56rem;
  }

  .market-role-filter-chip b {
    min-width: 1.24rem;
    height: 1.24rem;
    border-radius: 4px;
    font-size: 0.58rem;
  }

  .market-card {
    gap: 0.44rem;
    padding: 0.5rem;
    border-radius: 4px !important;
    background:
      linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(168, 85, 247, 0.06)),
      #09131d;
    border-color: rgba(34, 211, 238, 0.16);
  }

  .market-card-head {
    grid-template-columns: 2.05rem minmax(0, 1fr) auto;
    gap: 0.42rem;
  }

  .market-player-role-code {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 4px;
    font-size: 0.76rem;
  }

  .market-card .team-logo-thumb {
    width: 2.05rem;
    height: 2.05rem;
    flex-basis: 2.05rem;
    border-radius: 4px !important;
  }

  .market-card-head strong {
    font-size: 0.9rem;
  }

  .market-card-head p {
    display: block !important;
    margin-top: 0.05rem;
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }

  .market-card .club-access-tag {
    min-height: 1.55rem;
    padding: 0.22rem 0.34rem;
    border-radius: 4px;
    font-size: 0.48rem;
    letter-spacing: 0.05em;
  }

  .market-card-meta {
    gap: 0.26rem;
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .market-card-meta span {
    padding: 0.34rem 0.38rem;
    border-radius: 4px;
  }

  .market-card-meta strong {
    font-size: 0.58rem;
  }

  .market-card .card-open-hint,
  .market-card .card-summary {
    display: none !important;
  }

  .member-profile-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .proclub-avatar-upload-inline {
    width: 100%;
    min-height: 2.2rem;
    padding: 0.52rem 0.62rem;
    border-radius: 4px;
    font-size: 0.7rem;
  }

  .proclub-avatar-upload-card {
    gap: 0.5rem;
    padding: 0.58rem;
    border-radius: 4px;
  }

  .proclub-avatar-upload-head {
    gap: 0.48rem;
  }

  .club-staff-avatar .team-logo-thumb,
  .training-roster-row > .team-logo-thumb,
  .roster-item-detailed > .team-logo-thumb,
  .proclub-avatar-upload-head .team-logo-thumb {
    width: 2.05rem;
    height: 2.05rem;
    flex-basis: 2.05rem;
    border-radius: 4px !important;
  }

  .training-roster-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.48rem;
  }

  .training-roster-status {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .roster-item-detailed {
    grid-template-columns: auto auto minmax(0, 1fr);
  }
}

/* Calcetto League visual refresh */
#calcettoLeagueView {
  --calcetto-ink: #fff8df;
  --calcetto-muted: rgba(226, 232, 240, 0.66);
  --calcetto-soft: rgba(255, 248, 220, 0.08);
  --calcetto-line: rgba(250, 204, 21, 0.16);
  --calcetto-line-strong: rgba(250, 204, 21, 0.34);
  --calcetto-gold: #facc15;
  --calcetto-amber: #f59e0b;
  --calcetto-green: #36d399;
  --calcetto-cyan: #38bdf8;
  --calcetto-surface: rgba(8, 10, 7, 0.82);
  background:
    radial-gradient(circle at 12% 0%, rgba(250, 204, 21, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(54, 211, 153, 0.1), transparent 19rem),
    linear-gradient(180deg, #040603 0%, #080b07 48%, #040504 100%);
  color: var(--calcetto-ink);
}

#calcettoLeagueView .calcetto-league-shell {
  max-width: 1180px;
  gap: 1rem;
}

#calcettoLeagueView .calcetto-league-topbar {
  position: relative;
  z-index: 42;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0 1rem;
  border: 0;
  border-bottom: 1px solid var(--calcetto-line);
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
}

#calcettoLeagueView .calcetto-league-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
}

#calcettoLeagueView .calcetto-league-brand img {
  width: clamp(3.5rem, 7vw, 5.2rem);
  border-radius: 8px;
  border-color: rgba(250, 204, 21, 0.3);
  background: #030403;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 16px 34px rgba(0, 0, 0, 0.34);
}

#calcettoLeagueView .calcetto-league-brand .eyebrow,
#calcettoLeagueView .calcetto-league-hero .eyebrow,
#calcettoLeagueView .calcetto-league-section .eyebrow {
  color: rgba(250, 204, 21, 0.76);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

#calcettoLeagueView .calcetto-league-brand h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

#calcettoLeagueView .calcetto-league-topbar .button-row {
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
}

#calcettoLeagueView .primary-button,
#calcettoLeagueView .ghost-button,
#calcettoLeagueView .small-button,
#calcettoLeagueView .danger-button,
#calcettoLeagueView .chip,
#calcettoLeagueView .status-badge {
  border-radius: 6px !important;
}

#calcettoLeagueView .primary-button {
  border-color: rgba(250, 204, 21, 0.34);
  background:
    linear-gradient(180deg, rgba(250, 204, 21, 0.98), rgba(217, 119, 6, 0.95));
  color: #090b05;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.18);
}

#calcettoLeagueView .ghost-button,
#calcettoLeagueView .small-button {
  border-color: rgba(250, 204, 21, 0.18);
  background: rgba(255, 248, 220, 0.045);
  color: rgba(255, 248, 220, 0.88);
}

#calcettoLeagueView .danger-button {
  background: rgba(127, 29, 29, 0.2);
}

#calcettoLeagueView .chip,
#calcettoLeagueView .status-badge {
  min-height: 1.65rem;
  border-color: rgba(250, 204, 21, 0.18);
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
}

#calcettoLeagueView .calcetto-top-menu {
  min-width: 9rem;
  z-index: 46;
}

#calcettoLeagueView .calcetto-top-menu[open] {
  z-index: 78;
}

#calcettoLeagueView:has(.calcetto-top-menu[open]) .calcetto-league-brand {
  display: none;
}

#calcettoLeagueView:has(.calcetto-top-menu[open]) .calcetto-league-topbar {
  justify-content: flex-end;
}

#calcettoLeagueView:has(.calcetto-top-menu[open]) .calcetto-league-topbar .button-row > :not(.calcetto-top-menu) {
  display: none;
}

#calcettoLeagueView .calcetto-top-menu summary,
#calcettoLeagueView .calcetto-summer-menu summary {
  border-radius: 6px;
  border-color: rgba(250, 204, 21, 0.18);
  background: rgba(4, 6, 4, 0.88);
  box-shadow: none;
}

#calcettoLeagueView .calcetto-top-menu-list,
#calcettoLeagueView .calcetto-summer-menu-list {
  z-index: 82;
  border-radius: 6px;
  border-color: rgba(250, 204, 21, 0.2);
  background: rgba(5, 7, 5, 0.98);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}

#calcettoLeagueView .calcetto-top-menu-list button,
#calcettoLeagueView .calcetto-summer-menu-list button {
  border-radius: 4px;
}

#calcettoLeagueView .panel,
#calcettoLeagueView .calcetto-league-section,
#calcettoLeagueView .calcetto-management-card,
#calcettoLeagueView .calcetto-detail-block,
#calcettoLeagueView .calcetto-empty-card,
#calcettoLeagueView .calcetto-competition-card,
#calcettoLeagueView .calcetto-team-card,
#calcettoLeagueView .calcetto-matchday-card,
#calcettoLeagueView .calcetto-match-card,
#calcettoLeagueView .calcetto-stat-chip,
#calcettoLeagueView .calcetto-summer-card,
#calcettoLeagueView .calcetto-summer-team-form,
#calcettoLeagueView .calcetto-captain-manager,
#calcettoLeagueView .calcetto-my-team-card,
#calcettoLeagueView .calcetto-roster-create-card,
#calcettoLeagueView .calcetto-roster-card,
#calcettoLeagueView .calcetto-roster-manager-card,
#calcettoLeagueView .calcetto-report-panel,
#calcettoLeagueView .calcetto-report-page-hero,
#calcettoLeagueView .calcetto-report-team-block {
  border-radius: 8px !important;
  border-color: var(--calcetto-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--calcetto-surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16) !important;
}

#calcettoLeagueView .calcetto-league-section,
#calcettoLeagueView .calcetto-management-card,
#calcettoLeagueView .calcetto-detail-block,
#calcettoLeagueView .calcetto-summer-card {
  gap: 0.78rem;
  padding: 0.9rem;
}

#calcettoLeagueView .section-surface-header {
  gap: 0.62rem;
  padding-bottom: 0.62rem;
  border-bottom: 1px solid rgba(250, 204, 21, 0.12);
}

#calcettoLeagueView .section-surface-header h3,
#calcettoLeagueView .calcetto-league-hero h3,
#calcettoLeagueView .calcetto-league-section h3,
#calcettoLeagueView .calcetto-management-card-head h4,
#calcettoLeagueView .calcetto-manager-detail-head h4,
#calcettoLeagueView .calcetto-summer-head h3,
#calcettoLeagueView .calcetto-report-page-hero h3 {
  color: var(--calcetto-ink);
  letter-spacing: 0.015em;
}

#calcettoLeagueView .section-surface-header h3,
#calcettoLeagueView .calcetto-league-section h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

#calcettoLeagueView .calcetto-league-hero {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
  overflow: hidden;
  padding: clamp(1rem, 2.3vw, 1.4rem);
  border-left: 3px solid rgba(250, 204, 21, 0.7);
  background:
    linear-gradient(105deg, rgba(250, 204, 21, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(7, 15, 10, 0.92), rgba(5, 6, 4, 0.92));
}

#calcettoLeagueView .calcetto-league-hero::after {
  content: '';
  position: absolute;
  inset: auto 1.1rem 0.9rem auto;
  width: min(18rem, 36%);
  height: 0.18rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.72), rgba(56, 189, 248, 0.38));
  pointer-events: none;
}

#calcettoLeagueView .calcetto-league-hero p:not(.eyebrow) {
  display: none;
}

#calcettoLeagueView .calcetto-league-hero h3 {
  font-size: clamp(2rem, 5vw, 4rem);
}

#calcettoLeagueView .calcetto-league-status {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: 0;
  border: 1px solid rgba(250, 204, 21, 0.13);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

#calcettoLeagueView .calcetto-league-status span {
  display: grid;
  gap: 0.1rem;
  min-height: 3.45rem;
  padding: 0.58rem 0.62rem;
  border: 0;
  border-right: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 248, 220, 0.7);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

#calcettoLeagueView .calcetto-league-status span:last-child {
  border-right: 0;
}

#calcettoLeagueView .calcetto-league-status strong {
  display: block;
  color: var(--calcetto-gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  line-height: 0.9;
}

#calcettoLeagueView .calcetto-area-chooser {
  padding: 0.95rem;
  border-left: 3px solid rgba(54, 211, 153, 0.72);
}

#calcettoLeagueView .calcetto-area-chooser-head {
  align-items: flex-end;
  border-bottom: 1px solid rgba(250, 204, 21, 0.12);
  padding-bottom: 0.65rem;
}

#calcettoLeagueView .calcetto-area-chooser-head p,
#calcettoLeagueView .calcetto-area-card small,
#calcettoLeagueView .calcetto-management-card-head p,
#calcettoLeagueView .calcetto-manager-detail-head span,
#calcettoLeagueView .calcetto-manager-help span {
  color: var(--calcetto-muted);
}

#calcettoLeagueView .calcetto-area-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

#calcettoLeagueView .calcetto-area-card {
  min-height: 0;
  gap: 0.18rem;
  padding: 0.78rem 0.82rem 0.82rem;
  border-radius: 8px;
  border-color: rgba(250, 204, 21, 0.14);
  border-left: 3px solid rgba(250, 204, 21, 0.5);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: none;
}

#calcettoLeagueView .calcetto-area-card.is-sunset {
  border-left-color: rgba(54, 211, 153, 0.78);
}

#calcettoLeagueView .calcetto-area-card:hover,
#calcettoLeagueView .calcetto-area-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(250, 204, 21, 0.28);
  border-left-color: var(--calcetto-gold);
  background: rgba(250, 204, 21, 0.065);
}

#calcettoLeagueView .calcetto-area-card span {
  color: rgba(54, 211, 153, 0.8);
  font-size: 0.62rem;
}

#calcettoLeagueView .calcetto-area-card strong {
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
}

#calcettoLeagueView .calcetto-league-grid {
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.58fr);
  gap: 0.85rem;
}

#calcettoLeagueView .calcetto-competition-card,
#calcettoLeagueView .calcetto-manager-tab,
#calcettoLeagueView .calcetto-registered-team,
#calcettoLeagueView .calcetto-request-row,
#calcettoLeagueView .calcetto-roster-row,
#calcettoLeagueView .calcetto-summer-result-row.card-clickable,
#calcettoLeagueView .calcetto-summer-mini-card.card-clickable,
#calcettoLeagueView .calcetto-player-row,
#calcettoLeagueView .calcetto-player-report-row,
#calcettoLeagueView .calcetto-captain-row,
#calcettoLeagueView .calcetto-report-player-row {
  border-radius: 6px;
  border: 1px solid rgba(250, 204, 21, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

#calcettoLeagueView .calcetto-competition-card,
#calcettoLeagueView .calcetto-manager-tab,
#calcettoLeagueView .calcetto-summer-result-row.card-clickable,
#calcettoLeagueView .calcetto-summer-mini-card.card-clickable {
  border-left: 2px solid rgba(250, 204, 21, 0.26);
}

#calcettoLeagueView .calcetto-competition-card.is-active,
#calcettoLeagueView .calcetto-manager-tab.is-active,
#calcettoLeagueView .calcetto-detail-section-tab.is-active {
  border-color: rgba(250, 204, 21, 0.32);
  border-left-color: var(--calcetto-gold);
  background: rgba(250, 204, 21, 0.07);
}

#calcettoLeagueView .calcetto-competition-main .team-logo-thumb,
#calcettoLeagueView .calcetto-manager-detail-title .team-logo-thumb,
#calcettoLeagueView .calcetto-detail-title .team-logo-thumb,
#calcettoLeagueView .calcetto-match-team .team-logo-thumb,
#calcettoLeagueView .calcetto-match-team .logo-thumb,
#calcettoLeagueView .calcetto-roster-avatar .team-logo-thumb,
#calcettoLeagueView .calcetto-player-row .team-logo-thumb,
#calcettoLeagueView .calcetto-summer-result-row .team-logo-thumb,
#calcettoLeagueView .calcetto-summer-mini-card .team-logo-thumb,
#calcettoLeagueView .calcetto-captain-row .team-logo-thumb {
  border-radius: 6px !important;
}

#calcettoLeagueView .calcetto-detail-head,
#calcettoLeagueView .calcetto-matchday-page-head,
#calcettoLeagueView .calcetto-manager-detail,
#calcettoLeagueView .calcetto-manager-help,
#calcettoLeagueView .calcetto-manager-team-row,
#calcettoLeagueView .calcetto-competition-logo-inline,
#calcettoLeagueView .calcetto-logo-preview-card,
#calcettoLeagueView .calcetto-logo-preview-empty,
#calcettoLeagueView .calcetto-slot-form,
#calcettoLeagueView .calcetto-result-quick-form,
#calcettoLeagueView .calcetto-stat-quick-form,
#calcettoLeagueView .calcetto-report-match-preview,
#calcettoLeagueView .calcetto-report-score-grid,
#calcettoLeagueView .calcetto-roster-request-list,
#calcettoLeagueView .calcetto-avatar-upload-card {
  border-radius: 8px;
  border-color: rgba(250, 204, 21, 0.13);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: none;
}

#calcettoLeagueView .calcetto-detail-section-nav {
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid rgba(250, 204, 21, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

#calcettoLeagueView .calcetto-detail-section-tab {
  min-height: 3.1rem;
  border-radius: 6px;
  border-color: transparent;
  background: transparent;
}

#calcettoLeagueView .calcetto-detail-section-tab:hover {
  border-color: rgba(250, 204, 21, 0.24);
  background: rgba(250, 204, 21, 0.055);
}

#calcettoLeagueView .calcetto-matchday-picker {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.5rem;
}

#calcettoLeagueView .calcetto-matchday-tile {
  border-radius: 8px;
  border-left: 2px solid rgba(54, 211, 153, 0.42);
  background: rgba(255, 255, 255, 0.03);
}

#calcettoLeagueView .calcetto-matchday-tile-main strong {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

#calcettoLeagueView .calcetto-match-card {
  border-left: 2px solid rgba(250, 204, 21, 0.26);
}

#calcettoLeagueView .calcetto-match-meta span,
#calcettoLeagueView .calcetto-roster-status,
#calcettoLeagueView .calcetto-summer-status-pill,
#calcettoLeagueView .calcetto-report-head em {
  border-radius: 4px;
}

#calcettoLeagueView .calcetto-score,
#calcettoLeagueView .calcetto-report-match-preview b,
#calcettoLeagueView .calcetto-report-score-grid strong {
  color: var(--calcetto-gold);
}

#calcettoLeagueView .calcetto-score {
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(250, 204, 21, 0.12), rgba(54, 211, 153, 0.06)),
    rgba(0, 0, 0, 0.22);
}

#calcettoLeagueView .calcetto-standings-table,
#calcettoLeagueView .calcetto-player-board {
  border-radius: 8px;
  border-color: rgba(250, 204, 21, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

#calcettoLeagueView .calcetto-standings-head {
  background: rgba(250, 204, 21, 0.07);
  color: rgba(253, 230, 138, 0.86);
}

#calcettoLeagueView .calcetto-standings-row,
#calcettoLeagueView .calcetto-player-row {
  border-top-color: rgba(250, 204, 21, 0.08);
}

#calcettoLeagueView .calcetto-rank,
#calcettoLeagueView .calcetto-player-row > strong,
#calcettoLeagueView .calcetto-player-row b,
#calcettoLeagueView .calcetto-stat-chip strong,
#calcettoLeagueView .calcetto-roster-row > strong {
  color: var(--calcetto-gold);
}

#calcettoLeagueView .calcetto-management-panel {
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: 8px;
  border-color: rgba(54, 211, 153, 0.18);
  background:
    linear-gradient(135deg, rgba(54, 211, 153, 0.055), transparent 38%),
    rgba(2, 5, 4, 0.64);
}

#calcettoLeagueView .calcetto-management-stack {
  gap: 0.85rem;
}

#calcettoLeagueView .calcetto-management-card-head {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
}

#calcettoLeagueView .calcetto-management-card-head .chip {
  justify-self: start;
}

#calcettoLeagueView .calcetto-summer-hub {
  border-left: 3px solid rgba(54, 211, 153, 0.72);
  background:
    linear-gradient(125deg, rgba(54, 211, 153, 0.11), transparent 44%),
    rgba(8, 10, 7, 0.82);
}

#calcettoLeagueView .calcetto-summer-head {
  align-items: center;
}

#calcettoLeagueView .calcetto-summer-tabs button {
  border-radius: 6px;
  border-color: rgba(250, 204, 21, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

#calcettoLeagueView .calcetto-summer-tabs button.is-active,
#calcettoLeagueView .calcetto-summer-tabs button:hover {
  border-color: rgba(54, 211, 153, 0.34);
  background: rgba(54, 211, 153, 0.09);
}

#calcettoLeagueView .calcetto-summer-layout,
#calcettoLeagueView .calcetto-summer-search-grid {
  gap: 0.75rem;
}

#calcettoLeagueView .calcetto-summer-card-head,
#calcettoLeagueView .calcetto-summer-result-row,
#calcettoLeagueView .calcetto-summer-request-row,
#calcettoLeagueView .calcetto-summer-mini-card {
  gap: 0.48rem;
}

#calcettoLeagueView .calcetto-summer-card-title {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(250, 204, 21, 0.1);
}

#calcettoLeagueView .calcetto-summer-result-row,
#calcettoLeagueView .calcetto-summer-request-row,
#calcettoLeagueView .calcetto-summer-mini-card {
  padding: 0.52rem;
}

#calcettoLeagueView .calcetto-summer-player-list,
#calcettoLeagueView .calcetto-summer-competition-list,
#calcettoLeagueView .calcetto-player-report-list,
#calcettoLeagueView .calcetto-player-board.is-expanded {
  scrollbar-width: thin;
  scrollbar-color: rgba(250, 204, 21, 0.4) rgba(0, 0, 0, 0.2);
}

#calcettoLeagueView .calcetto-report-page-hero,
#calcettoLeagueView .calcetto-report-panel {
  border-left: 3px solid rgba(56, 189, 248, 0.48);
}

#calcettoLeagueView .calcetto-player-detail-shell .player-detail-hero {
  border-radius: 8px;
  border-left: 3px solid rgba(250, 204, 21, 0.68);
  background:
    linear-gradient(130deg, rgba(250, 204, 21, 0.14), transparent 42%),
    rgba(6, 8, 5, 0.94);
}

#calcettoLeagueView .calcetto-player-stat-card,
#calcettoLeagueView .calcetto-player-reports-card,
#calcettoLeagueView .calcetto-player-report-row {
  border-radius: 8px;
  border-color: rgba(250, 204, 21, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

#calcettoLeagueView .field input,
#calcettoLeagueView .field textarea,
#calcettoLeagueView .field select,
#calcettoLeagueView .calcetto-profile-edit-grid select {
  border-radius: 6px;
  border-color: rgba(250, 204, 21, 0.18);
  background: rgba(0, 0, 0, 0.28);
}

#calcettoLeagueView .file-upload-inline,
#calcettoLeagueView .calcetto-file-button {
  border-radius: 6px;
}

#calcettoLeagueView .calcetto-request-row,
#calcettoLeagueView .calcetto-roster-row,
#calcettoLeagueView .calcetto-captain-row,
#calcettoLeagueView .calcetto-player-report-row {
  border-left: 2px solid rgba(54, 211, 153, 0.32);
}

@media (max-width: 960px) {
  #calcettoLeagueView .calcetto-league-grid,
  #calcettoLeagueView .calcetto-league-hero,
  #calcettoLeagueView .calcetto-management-stack,
  #calcettoLeagueView .calcetto-competition-manager-layout,
  #calcettoLeagueView .calcetto-detail-grid,
  #calcettoLeagueView .calcetto-summer-competition-layout {
    grid-template-columns: 1fr;
  }

  #calcettoLeagueView .calcetto-league-status {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #calcettoLeagueView.training-view {
    padding:
      calc(0.58rem + env(safe-area-inset-top))
      0.62rem
      calc(1rem + env(safe-area-inset-bottom));
  }

  #calcettoLeagueView .calcetto-league-shell {
    gap: 0.58rem;
    max-width: none;
  }

  #calcettoLeagueView .calcetto-league-topbar {
    position: sticky;
    top: 0;
    z-index: 36;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    margin: -0.58rem -0.62rem 0;
    padding:
      calc(0.56rem + env(safe-area-inset-top))
      0.62rem
      0.58rem;
    border-bottom-color: rgba(250, 204, 21, 0.16);
    background: rgba(4, 6, 4, 0.94);
    backdrop-filter: blur(16px);
  }

  #calcettoLeagueView .calcetto-league-brand {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem;
  }

  #calcettoLeagueView .calcetto-league-brand img {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 6px;
  }

  #calcettoLeagueView .calcetto-league-brand .eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  #calcettoLeagueView .calcetto-league-brand h2 {
    font-size: 1.18rem;
  }

  #calcettoLeagueView .calcetto-league-topbar .button-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(5.4rem, max-content);
    grid-template-columns: none;
    justify-content: start;
    gap: 0.32rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.08rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #calcettoLeagueView .calcetto-league-topbar .button-row::-webkit-scrollbar {
    display: none;
  }

  #calcettoLeagueView .calcetto-league-topbar .ghost-button,
  #calcettoLeagueView .calcetto-league-topbar .primary-button,
  #calcettoLeagueView .calcetto-top-menu summary {
    min-height: 2.05rem;
    padding: 0.42rem 0.5rem;
    border-radius: 5px !important;
    font-size: 0.62rem;
    line-height: 1.04;
    white-space: nowrap;
  }

  #calcettoLeagueView .calcetto-league-topbar .ghost-button::before,
  #calcettoLeagueView .calcetto-league-topbar .primary-button::before {
    content: none;
    display: none;
  }

  #calcettoLeagueView .calcetto-top-menu {
    min-width: 5.4rem;
  }

  #calcettoLeagueView .calcetto-top-menu[open] .calcetto-top-menu-list {
    position: fixed;
    top: calc(4.9rem + env(safe-area-inset-top));
    right: max(0.62rem, env(safe-area-inset-right));
    left: max(0.62rem, env(safe-area-inset-left));
    z-index: 90;
    width: auto;
    min-width: 0;
    max-height: min(19rem, calc(100dvh - 5.9rem));
    overscroll-behavior: contain;
  }

  #calcettoLeagueView .calcetto-top-menu summary span {
    font-size: 0.44rem;
  }

  #calcettoLeagueView .calcetto-top-menu summary strong {
    font-size: 0.58rem;
  }

  #calcettoLeagueView .calcetto-top-menu-list {
    min-width: min(14rem, 78vw);
    max-height: min(18rem, calc(100dvh - 7rem));
  }

  #calcettoLeagueView .calcetto-league-hero {
    gap: 0.58rem;
    padding: 0.68rem;
    border-left-width: 2px;
  }

  #calcettoLeagueView .calcetto-league-hero::after {
    display: none;
  }

  #calcettoLeagueView .calcetto-league-hero .eyebrow {
    font-size: 0.5rem;
  }

  #calcettoLeagueView .calcetto-league-hero h3 {
    font-size: 1.72rem;
  }

  #calcettoLeagueView .calcetto-league-status {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 6px;
  }

  #calcettoLeagueView .calcetto-league-status span {
    min-height: 2.5rem;
    padding: 0.38rem 0.22rem;
    font-size: 0.46rem;
    letter-spacing: 0.035em;
  }

  #calcettoLeagueView .calcetto-league-status strong {
    font-size: 1.05rem;
  }

  #calcettoLeagueView .panel,
  #calcettoLeagueView .calcetto-league-section,
  #calcettoLeagueView .calcetto-management-card,
  #calcettoLeagueView .calcetto-detail-block,
  #calcettoLeagueView .calcetto-empty-card,
  #calcettoLeagueView .calcetto-competition-card,
  #calcettoLeagueView .calcetto-team-card,
  #calcettoLeagueView .calcetto-matchday-card,
  #calcettoLeagueView .calcetto-match-card,
  #calcettoLeagueView .calcetto-summer-card,
  #calcettoLeagueView .calcetto-summer-team-form,
  #calcettoLeagueView .calcetto-captain-manager,
  #calcettoLeagueView .calcetto-my-team-card,
  #calcettoLeagueView .calcetto-roster-create-card,
  #calcettoLeagueView .calcetto-roster-card,
  #calcettoLeagueView .calcetto-roster-manager-card,
  #calcettoLeagueView .calcetto-report-panel,
  #calcettoLeagueView .calcetto-report-page-hero,
  #calcettoLeagueView .calcetto-report-team-block {
    gap: 0.5rem;
    padding: 0.56rem;
    border-radius: 6px !important;
  }

  #calcettoLeagueView .section-surface-header {
    gap: 0.42rem;
    padding-bottom: 0.42rem;
  }

  #calcettoLeagueView .section-surface-header h3,
  #calcettoLeagueView .calcetto-league-section h3,
  #calcettoLeagueView .calcetto-management-card-head h4,
  #calcettoLeagueView .calcetto-manager-detail-head h4,
  #calcettoLeagueView .calcetto-summer-head h3,
  #calcettoLeagueView .calcetto-section-page-head h3,
  #calcettoLeagueView .calcetto-matchday-page-head h3,
  #calcettoLeagueView .calcetto-report-page-hero h3 {
    font-size: 1.18rem;
    line-height: 0.98;
  }

  #calcettoLeagueView .section-surface-header .chip,
  #calcettoLeagueView .calcetto-league-section .eyebrow,
  #calcettoLeagueView .calcetto-management-card-head p,
  #calcettoLeagueView .calcetto-area-chooser-head p,
  #calcettoLeagueView .calcetto-manager-help span,
  #calcettoLeagueView .calcetto-report-helper,
  #calcettoLeagueView .calcetto-report-page-hero span {
    display: none !important;
  }

  #calcettoLeagueView .calcetto-area-chooser {
    padding: 0.56rem;
    border-left-width: 2px;
  }

  #calcettoLeagueView .calcetto-area-chooser-head {
    padding-bottom: 0.42rem;
  }

  #calcettoLeagueView .calcetto-area-chooser-head h3 {
    font-size: 1.24rem;
  }

  #calcettoLeagueView .calcetto-area-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(11.2rem, 78vw);
    grid-template-columns: none;
    gap: 0.42rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  #calcettoLeagueView .calcetto-area-card {
    scroll-snap-align: start;
    padding: 0.56rem;
    border-radius: 6px;
  }

  #calcettoLeagueView .calcetto-area-card span {
    font-size: 0.5rem;
  }

  #calcettoLeagueView .calcetto-area-card strong {
    font-size: 1.08rem;
  }

  #calcettoLeagueView .calcetto-area-card small {
    font-size: 0.58rem;
    line-height: 1.24;
  }

  #calcettoLeagueView .calcetto-public-grid,
  #calcettoLeagueView .calcetto-league-grid,
  #calcettoLeagueView .calcetto-management-stack,
  #calcettoLeagueView .calcetto-detail-grid,
  #calcettoLeagueView .calcetto-summer-layout,
  #calcettoLeagueView .calcetto-summer-search-grid,
  #calcettoLeagueView .calcetto-summer-competition-layout,
  #calcettoLeagueView .calcetto-admin-grid {
    grid-template-columns: 1fr;
    gap: 0.48rem;
  }

  #calcettoLeagueView .calcetto-detail-section-nav {
    position: sticky;
    top: calc(4.85rem + env(safe-area-inset-top));
    z-index: 20;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.22rem;
    padding: 0.22rem;
    border-radius: 6px;
    background: rgba(4, 6, 4, 0.94);
    backdrop-filter: blur(14px);
  }

  #calcettoLeagueView .calcetto-detail-section-tab {
    min-height: 2.5rem;
    padding: 0.38rem 0.32rem;
    border-radius: 4px;
  }

  #calcettoLeagueView .calcetto-detail-section-tab strong {
    font-size: 0.68rem;
    line-height: 0.98;
  }

  #calcettoLeagueView .calcetto-detail-section-tab span {
    font-size: 0.47rem;
  }

  #calcettoLeagueView .calcetto-competition-main {
    gap: 0.42rem;
  }

  #calcettoLeagueView .calcetto-competition-main .team-logo-thumb,
  #calcettoLeagueView .calcetto-manager-detail-title .team-logo-thumb,
  #calcettoLeagueView .calcetto-detail-title .team-logo-thumb {
    width: 2.05rem;
    height: 2.05rem;
    flex-basis: 2.05rem;
  }

  #calcettoLeagueView .calcetto-competition-main strong,
  #calcettoLeagueView .calcetto-team-card-main strong,
  #calcettoLeagueView .calcetto-my-team-head strong {
    font-size: 0.94rem;
  }

  #calcettoLeagueView .calcetto-competition-main small,
  #calcettoLeagueView .calcetto-team-card span,
  #calcettoLeagueView .calcetto-detail-head span,
  #calcettoLeagueView .calcetto-request-row small,
  #calcettoLeagueView .calcetto-roster-row small {
    font-size: 0.58rem;
  }

  #calcettoLeagueView .calcetto-matchday-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
  }

  #calcettoLeagueView .calcetto-matchday-tile {
    padding: 0.5rem;
  }

  #calcettoLeagueView .calcetto-matchday-tile-main span {
    font-size: 0.48rem;
  }

  #calcettoLeagueView .calcetto-matchday-tile-main strong {
    font-size: 1.36rem;
  }

  #calcettoLeagueView .calcetto-matchday-tile-main small {
    font-size: 0.56rem;
  }

  #calcettoLeagueView .calcetto-match-card {
    gap: 0.42rem;
    padding: 0.48rem;
  }

  #calcettoLeagueView .calcetto-match-line {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.3rem;
  }

  #calcettoLeagueView .calcetto-match-team {
    gap: 0.28rem;
  }

  #calcettoLeagueView .calcetto-match-team .logo-thumb,
  #calcettoLeagueView .calcetto-match-team .team-logo-thumb {
    width: 1.42rem;
    height: 1.42rem;
  }

  #calcettoLeagueView .calcetto-match-team strong {
    font-size: 0.62rem;
  }

  #calcettoLeagueView .calcetto-score {
    min-width: 2.72rem;
    padding: 0.26rem 0.34rem;
    font-size: 0.9rem;
  }

  #calcettoLeagueView .calcetto-match-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
  }

  #calcettoLeagueView .calcetto-match-actions .small-button,
  #calcettoLeagueView .calcetto-card-actions .small-button,
  #calcettoLeagueView .calcetto-summer-card-actions .small-button,
  #calcettoLeagueView .calcetto-roster-actions .small-button {
    min-height: 1.9rem;
    padding: 0.32rem 0.38rem;
    font-size: 0.58rem;
  }

  #calcettoLeagueView .calcetto-result-quick-form {
    grid-template-columns: minmax(2.5rem, 0.4fr) repeat(2, minmax(2.8rem, 0.5fr)) minmax(3.1rem, 0.55fr);
    gap: 0.22rem;
    padding: 0.34rem;
  }

  #calcettoLeagueView .calcetto-result-form-label span,
  #calcettoLeagueView .calcetto-result-quick-form label span,
  #calcettoLeagueView .calcetto-stat-quick-form label span {
    font-size: 0.44rem;
  }

  #calcettoLeagueView .calcetto-result-quick-form input,
  #calcettoLeagueView .calcetto-stat-quick-form select,
  #calcettoLeagueView .calcetto-stat-quick-form input {
    min-height: 1.86rem;
    padding: 0.28rem 0.32rem;
    font-size: 0.72rem;
  }

  #calcettoLeagueView .calcetto-stat-quick-form {
    grid-template-columns: minmax(0, 1fr) 2.7rem 2.7rem minmax(3.2rem, auto);
    gap: 0.22rem;
    padding: 0.34rem;
  }

  #calcettoLeagueView .calcetto-summer-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.38rem;
  }

  #calcettoLeagueView .calcetto-summer-menu {
    min-width: 6.4rem;
  }

  #calcettoLeagueView .calcetto-summer-menu summary {
    min-height: 1.95rem;
    padding: 0.32rem 0.42rem;
    border-radius: 5px;
  }

  #calcettoLeagueView .calcetto-summer-menu summary span {
    font-size: 0.44rem;
  }

  #calcettoLeagueView .calcetto-summer-menu summary strong {
    font-size: 0.58rem;
  }

  #calcettoLeagueView .calcetto-summer-menu-list {
    max-height: 15rem;
    overflow-y: auto;
  }

  #calcettoLeagueView .calcetto-summer-top-search input,
  #calcettoLeagueView .calcetto-summer-search-field input,
  #calcettoLeagueView .calcetto-summer-team-form input,
  #calcettoLeagueView .calcetto-summer-team-form select,
  #calcettoLeagueView .calcetto-player-profile-form input,
  #calcettoLeagueView .calcetto-player-profile-form select,
  #calcettoLeagueView .calcetto-player-profile-form textarea,
  #calcettoLeagueView .field input,
  #calcettoLeagueView .field textarea,
  #calcettoLeagueView .field select {
    min-height: 2.05rem;
    padding: 0.38rem 0.44rem;
    font-size: 16px;
  }

  #calcettoLeagueView .field span,
  #calcettoLeagueView .calcetto-summer-top-search span,
  #calcettoLeagueView .calcetto-summer-search-field span,
  #calcettoLeagueView .calcetto-summer-team-form .field span,
  #calcettoLeagueView .calcetto-player-profile-form .field span {
    font-size: 0.54rem;
  }

  #calcettoLeagueView .calcetto-summer-card-head,
  #calcettoLeagueView .calcetto-summer-result-row,
  #calcettoLeagueView .calcetto-summer-request-row,
  #calcettoLeagueView .calcetto-summer-mini-card,
  #calcettoLeagueView .calcetto-request-row,
  #calcettoLeagueView .calcetto-my-team-head,
  #calcettoLeagueView .calcetto-roster-row,
  #calcettoLeagueView .calcetto-captain-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.34rem;
    padding: 0.42rem;
  }

  #calcettoLeagueView .calcetto-summer-result-row .small-button,
  #calcettoLeagueView .calcetto-summer-request-row .small-button,
  #calcettoLeagueView .calcetto-request-row .small-button,
  #calcettoLeagueView .calcetto-roster-row .small-button,
  #calcettoLeagueView .calcetto-roster-row .calcetto-roster-status,
  #calcettoLeagueView .calcetto-roster-row .calcetto-roster-actions {
    grid-column: 1 / -1;
  }

  #calcettoLeagueView .calcetto-summer-card strong,
  #calcettoLeagueView .calcetto-summer-result-row strong,
  #calcettoLeagueView .calcetto-summer-request-row strong,
  #calcettoLeagueView .calcetto-summer-mini-card strong {
    font-size: 0.72rem;
  }

  #calcettoLeagueView .calcetto-summer-card small,
  #calcettoLeagueView .calcetto-summer-card span,
  #calcettoLeagueView .calcetto-summer-result-row small,
  #calcettoLeagueView .calcetto-summer-request-row small,
  #calcettoLeagueView .calcetto-summer-mini-card small,
  #calcettoLeagueView .calcetto-summer-status-pill {
    font-size: 0.54rem;
  }

  #calcettoLeagueView .calcetto-summer-team-grid,
  #calcettoLeagueView .calcetto-summer-form-grid {
    grid-template-columns: 1fr;
    gap: 0.36rem;
  }

  #calcettoLeagueView .calcetto-player-stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.36rem;
  }

  #calcettoLeagueView .calcetto-player-stat-card {
    padding: 0.44rem;
    border-radius: 6px;
  }

  #calcettoLeagueView .calcetto-player-stat-card strong {
    font-size: 0.5rem;
  }

  #calcettoLeagueView .calcetto-player-stat-card b {
    font-size: 1.08rem;
  }

  #calcettoLeagueView .calcetto-player-report-row {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.4rem;
  }

  #calcettoLeagueView .calcetto-report-match-preview,
  #calcettoLeagueView .calcetto-report-score-grid,
  #calcettoLeagueView .calcetto-report-player-row,
  #calcettoLeagueView .calcetto-profile-edit-grid,
  #calcettoLeagueView .calcetto-roster-request-row {
    grid-template-columns: 1fr;
  }

  #calcettoLeagueView .calcetto-report-match-preview > div,
  #calcettoLeagueView .calcetto-report-match-preview > div:last-child {
    grid-template-columns: auto minmax(0, 1fr);
    text-align: left;
  }

  #calcettoLeagueView .calcetto-report-match-preview > div:last-child .logo-thumb,
  #calcettoLeagueView .calcetto-report-match-preview > div:last-child .team-logo-thumb {
    order: 0;
  }

  #calcettoLeagueView .calcetto-report-player-row {
    gap: 0.34rem;
    padding: 0.44rem;
  }

  #calcettoLeagueView .calcetto-report-stat-inputs {
    gap: 0.26rem;
  }

  #calcettoLeagueView .calcetto-report-stat-inputs small {
    font-size: 0.5rem;
  }

  #calcettoLeagueView .calcetto-standings-table,
  #calcettoLeagueView .calcetto-player-board {
    border-radius: 6px;
  }

  #calcettoLeagueView .calcetto-mobile-board-head {
    padding: 0.44rem 0.48rem;
    border-radius: 6px;
  }

  #calcettoLeagueView .calcetto-mobile-board-head strong {
    font-size: 0.72rem;
  }

  #calcettoLeagueView .calcetto-mobile-board-head span {
    font-size: 0.52rem;
  }

  #calcettoLeagueView .calcetto-standings-head,
  #calcettoLeagueView .calcetto-standings-row {
    grid-template-columns: 1.22rem minmax(4rem, 1fr) minmax(9.4rem, 1.42fr);
    gap: 0.14rem;
    padding: 0.3rem 0.34rem;
  }

  #calcettoLeagueView .calcetto-standings-row .calcetto-rank {
    min-width: 1.05rem;
    min-height: 1.05rem;
    font-size: 0.58rem;
  }

  #calcettoLeagueView .calcetto-standings-row .team-logo-thumb {
    width: 1.08rem;
    height: 1.08rem;
    flex-basis: 1.08rem;
  }

  #calcettoLeagueView .calcetto-standings-row .calcetto-team-cell strong {
    font-size: 0.56rem;
  }

  #calcettoLeagueView .calcetto-standings-row .calcetto-team-cell small {
    font-size: 0.43rem;
  }

  #calcettoLeagueView .calcetto-standings-stats,
  #calcettoLeagueView .calcetto-standings-stats-head {
    gap: 0.08rem;
  }

  #calcettoLeagueView .calcetto-standings-stats > span,
  #calcettoLeagueView .calcetto-standings-stats > strong {
    min-height: 1.16rem;
    border-radius: 4px;
    font-size: 0.5rem;
  }

  #calcettoLeagueView .calcetto-player-row {
    grid-template-columns: 1.04rem 1.2rem minmax(0, 1fr) 1.82rem;
    gap: 0.24rem;
    min-height: 2.1rem;
    padding: 0.28rem 0.34rem;
  }

  #calcettoLeagueView .calcetto-player-row .team-logo-thumb {
    width: 1.2rem;
    height: 1.2rem;
    flex-basis: 1.2rem;
  }

  #calcettoLeagueView .calcetto-player-row span strong {
    font-size: 0.6rem;
  }

  #calcettoLeagueView .calcetto-player-row span small {
    font-size: 0.46rem;
  }

  #calcettoLeagueView .calcetto-player-row > strong,
  #calcettoLeagueView .calcetto-player-row b {
    border-radius: 4px;
    font-size: 0.58rem;
  }
}

@media (max-width: 380px) {
  #calcettoLeagueView .calcetto-league-topbar .button-row {
    grid-auto-columns: minmax(4.9rem, max-content);
  }

  #calcettoLeagueView .calcetto-top-menu[open] .calcetto-top-menu-list {
    top: calc(4.75rem + env(safe-area-inset-top));
  }

  #calcettoLeagueView .calcetto-league-topbar .ghost-button,
  #calcettoLeagueView .calcetto-league-topbar .primary-button,
  #calcettoLeagueView .calcetto-top-menu summary {
    padding-inline: 0.38rem;
    font-size: 0.56rem;
  }

  #calcettoLeagueView .calcetto-match-actions {
    grid-template-columns: 1fr;
  }

  #calcettoLeagueView .calcetto-standings-head,
  #calcettoLeagueView .calcetto-standings-row {
    grid-template-columns: 1.12rem minmax(3.55rem, 1fr) minmax(8.4rem, 1.42fr);
  }

  #calcettoLeagueView .calcetto-standings-stats > span,
  #calcettoLeagueView .calcetto-standings-stats > strong {
    font-size: 0.46rem;
  }
}
