@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800;900&display=swap');

:root {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-2: #eef4f1;
  --ink: #121916;
  --muted: #66736d;
  --line: #dce6e1;
  --brand: #159947;
  --brand-dark: #0c6d33;
  --accent: #1f6feb;
  --warn: #d94848;
  --dark: #0c1411;
  --dark-2: #13201a;
  --white: #ffffff;
}

/* Fute10 admin cockpit V2 - less generic, more operational */
body.dashboard-page.admin-console.cockpit-dashboard {
  --cockpit-navy: #07131f;
  --cockpit-ink: #0f1720;
  --cockpit-green: #18b957;
  --cockpit-lime: #c8ff2e;
  --cockpit-blue: #2f6bff;
  --cockpit-line: #dce7e1;
  background:
    linear-gradient(90deg, rgba(7,19,31,.06) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbf8 0%, #eaf0ed 100%) !important;
  background-size: 32px 32px, auto !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .app-nav {
  background:
    linear-gradient(180deg, #07131f 0%, #08170f 100%) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .app-nav .nav-section {
  display: block;
  margin: 12px 8px 4px;
  color: rgba(255,255,255,.36);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.dashboard-page.admin-console.cockpit-dashboard .app-nav a:not(.nav-brand) {
  border: 1px solid transparent !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .app-nav a:not(.nav-brand):hover {
  border-color: rgba(200,255,46,.18) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .app-nav .active {
  background: var(--cockpit-lime) !important;
  color: #07131f !important;
  box-shadow: 0 12px 28px rgba(200,255,46,.18) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .admin-header {
  background: rgba(248,251,248,.86) !important;
  border-bottom: 1px solid rgba(15,23,32,.08);
}

body.dashboard-page.admin-console.cockpit-dashboard .breadcrumb {
  color: var(--cockpit-green) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .header-action {
  background: var(--cockpit-ink) !important;
  color: #fff !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  grid-template-columns: minmax(0,1fr) 330px !important;
  padding: 34px !important;
  border: 0 !important;
  background:
    radial-gradient(circle at 82% 28%, rgba(200,255,46,.18), transparent 28%),
    linear-gradient(135deg, #07131f 0%, #0b1e17 58%, #173620 100%) !important;
  color: #fff !important;
  box-shadow: 0 28px 70px rgba(7,19,31,.24) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel::after {
  content: "";
  position: absolute;
  inset: auto 32px 24px auto;
  width: 156px;
  height: 156px;
  border: 1px solid rgba(200,255,46,.28);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(200,255,46,.22) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(200,255,46,.22) 49% 51%, transparent 52%);
  opacity: .7;
  pointer-events: none;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel .panel-kicker {
  color: var(--cockpit-lime) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel h2 {
  max-width: 760px;
  color: #fff !important;
  font-size: 38px !important;
  line-height: 44px !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel p {
  max-width: 640px;
  color: rgba(255,255,255,.76) !important;
  font-size: 16px !important;
  line-height: 25px !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-actions {
  position: relative;
  z-index: 1;
  display: grid !important;
  align-content: center;
  gap: 12px !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-actions .btn {
  min-height: 58px !important;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-actions .btn:first-child {
  background: var(--cockpit-lime) !important;
  color: #07131f !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-actions .btn.ghost {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .metric-grid {
  grid-template-columns: 1.35fr 1fr 1fr 1.35fr !important;
  margin-top: -52px !important;
  position: relative;
  z-index: 2;
}

body.dashboard-page.admin-console.cockpit-dashboard .metric-card {
  min-height: 132px !important;
  border: 1px solid rgba(15,23,32,.08) !important;
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(16px);
}

body.dashboard-page.admin-console.cockpit-dashboard .metric-card.action {
  background: linear-gradient(135deg, var(--cockpit-green), #0d7d3a) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .data-grid {
  align-items: stretch;
}

body.dashboard-page.admin-console.cockpit-dashboard .data-card {
  border: 1px solid rgba(15,23,32,.08) !important;
  background: rgba(255,255,255,.94) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .data-card:nth-child(1) {
  border-top: 4px solid var(--cockpit-green) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .data-card:nth-child(2) {
  background: #f7fff1 !important;
  border-color: rgba(24,185,87,.18) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .quick-actions .btn:first-child {
  background: var(--cockpit-ink) !important;
  color: #fff !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .help-steps {
  display: grid;
  gap: 10px;
}

body.dashboard-page.admin-console.cockpit-dashboard .help-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--cockpit-line);
  border-radius: 8px;
  background: #f8fbf8;
}

body.dashboard-page.admin-console.cockpit-dashboard .help-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--cockpit-ink);
  color: #fff;
}

@media (max-width: 1180px) {
  body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-page.admin-console.cockpit-dashboard .metric-grid {
    margin-top: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel {
    min-height: 0;
    padding: 24px !important;
  }

  body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel h2 {
    font-size: 27px !important;
    line-height: 33px !important;
  }

  body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel::after {
    display: none;
  }

body.dashboard-page.admin-console.cockpit-dashboard .metric-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Fute10 pro panel shell final priority - 2026-08-08 */
body.dashboard-page.admin-console.pro-panel,
body.dashboard-page.admin-console.groups-page {
  --admin-sidebar-w: 286px;
  --admin-gutter: 28px;
  --panel-bg: #f6f8f7;
  --panel-surface: #ffffff;
  --panel-ink: #0d1713;
  --panel-muted: #64726c;
  --panel-line: #dfe7e3;
  --panel-green: #13a34a;
  --panel-green-dark: #087033;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,0) 260px), var(--panel-bg) !important;
}

body.dashboard-page.admin-console.pro-panel .app,
body.dashboard-page.admin-console.groups-page .app {
  max-width: none !important;
  padding: 26px 34px 56px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 22px) !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav,
body.dashboard-page.admin-console.groups-page .app-nav {
  inset: 18px auto 18px 18px !important;
  width: var(--admin-sidebar-w) !important;
  padding: 16px 12px !important;
  gap: 4px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.055), transparent 140px), linear-gradient(180deg, #091827 0%, #08131f 48%, #06110d 100%) !important;
  box-shadow: 0 28px 70px rgba(7,20,33,.28) !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .nav-brand,
body.dashboard-page.admin-console.groups-page .app-nav .nav-brand {
  min-height: 104px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 18px 16px !important;
  margin: 0 0 12px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.96) !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .nav-brand img,
body.dashboard-page.admin-console.groups-page .app-nav .nav-brand img {
  width: 154px !important;
  max-width: 100% !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .nav-brand span,
body.dashboard-page.admin-console.groups-page .app-nav .nav-brand span {
  color: #43534c !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

body.dashboard-page.admin-console.pro-panel .app-nav .nav-section,
body.dashboard-page.admin-console.groups-page .app-nav .nav-section {
  display: block;
  margin: 14px 12px 6px;
  color: rgba(255,255,255,.42);
  font-size: 10px;
  line-height: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

body.dashboard-page.admin-console.pro-panel .app-nav a:not(.nav-brand),
body.dashboard-page.admin-console.groups-page .app-nav a:not(.nav-brand) {
  min-height: 44px !important;
  padding: 10px 11px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav a:not(.nav-brand) .icon,
body.dashboard-page.admin-console.groups-page .app-nav a:not(.nav-brand) .icon {
  width: 18px !important;
  height: 18px !important;
  flex-basis: 18px !important;
  color: rgba(255,255,255,.62);
}

body.dashboard-page.admin-console.pro-panel .app-nav a:not(.nav-brand):hover,
body.dashboard-page.admin-console.groups-page .app-nav a:not(.nav-brand):hover {
  background: rgba(255,255,255,.07) !important;
  border-color: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .active,
body.dashboard-page.admin-console.groups-page .app-nav .active {
  position: relative;
  background: rgba(19,163,74,.18) !important;
  border-color: rgba(19,163,74,.38) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .active::before,
body.dashboard-page.admin-console.groups-page .app-nav .active::before {
  content: "";
  width: 3px;
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  border-radius: 0 4px 4px 0;
  background: var(--panel-green);
}

body.dashboard-page.admin-console.pro-panel .app-nav .active .icon,
body.dashboard-page.admin-console.groups-page .app-nav .active .icon {
  color: var(--panel-green);
}

body.dashboard-page.admin-console.pro-panel .app-nav [data-nav-key="logout"],
body.dashboard-page.admin-console.groups-page .app-nav [data-nav-key="logout"] {
  margin-top: auto;
  color: rgba(255,255,255,.5) !important;
}

body.dashboard-page.admin-console.pro-panel .admin-header,
body.dashboard-page.admin-console.groups-page .admin-header {
  margin: -26px -34px 24px calc(-1 * (var(--admin-sidebar-w) + var(--admin-gutter) + 22px)) !important;
  padding: 22px 34px 18px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 22px) !important;
  border-bottom: 1px solid rgba(13,23,19,.08) !important;
  background: rgba(246,248,247,.92) !important;
}

body.dashboard-page.admin-console.pro-panel .admin-title h1,
body.dashboard-page.admin-console.groups-page .admin-title h1 {
  color: var(--panel-ink) !important;
  font-size: 34px !important;
  line-height: 38px !important;
}

body.dashboard-page.admin-console.pro-panel .metric-grid,
body.dashboard-page.admin-console.groups-page .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}

body.dashboard-page.admin-console.pro-panel .metric-card,
body.dashboard-page.admin-console.groups-page .metric-card,
body.dashboard-page.admin-console.pro-panel .toolbar,
body.dashboard-page.admin-console.groups-page .toolbar,
body.dashboard-page.admin-console.pro-panel .data-card,
body.dashboard-page.admin-console.groups-page .data-card,
body.dashboard-page.admin-console.pro-panel .empty-state,
body.dashboard-page.admin-console.groups-page .empty-state {
  border: 1px solid var(--panel-line) !important;
  border-radius: 8px !important;
  background: var(--panel-surface) !important;
  box-shadow: 0 16px 42px rgba(13,23,19,.065) !important;
}

body.dashboard-page.admin-console.pro-panel .metric-card.action,
body.dashboard-page.admin-console.groups-page .metric-card.action {
  background: linear-gradient(135deg, rgba(36,88,214,.22), transparent 46%), linear-gradient(135deg, #081827, #0b2a44) !important;
}

body.dashboard-page.admin-console.pro-panel .toolbar.compact,
body.dashboard-page.admin-console.groups-page .toolbar.compact {
  grid-template-columns: minmax(340px, 1fr) minmax(180px, 260px) !important;
  padding: 16px !important;
}

body.dashboard-page.admin-console.pro-panel .field label,
body.dashboard-page.admin-console.groups-page .field label {
  color: #4f5e58 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

body.dashboard-page.admin-console.pro-panel .input,
body.dashboard-page.admin-console.groups-page .input {
  min-height: 46px !important;
}

body.dashboard-page.admin-console.pro-panel .empty-state,
body.dashboard-page.admin-console.groups-page .empty-state {
  min-height: 290px;
  margin-top: 18px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
}

@media (max-width: 1180px) {
  body.dashboard-page.admin-console.pro-panel .app,
  body.dashboard-page.admin-console.groups-page .app {
    padding: 18px 18px 44px !important;
  }

  body.dashboard-page.admin-console.pro-panel .admin-header,
  body.dashboard-page.admin-console.groups-page .admin-header {
    margin: -18px -18px 18px !important;
    padding: 16px 18px !important;
  }

  body.dashboard-page.admin-console.pro-panel .app-nav,
  body.dashboard-page.admin-console.groups-page .app-nav {
    inset: 0 auto 0 0 !important;
    width: min(302px, 86vw) !important;
    border-radius: 0 8px 8px 0 !important;
  }

  body.dashboard-page.admin-console.pro-panel .metric-grid,
  body.dashboard-page.admin-console.groups-page .metric-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.dashboard-page.admin-console.pro-panel .metric-grid,
  body.dashboard-page.admin-console.groups-page .metric-grid,
  body.dashboard-page.admin-console.pro-panel .toolbar.compact,
  body.dashboard-page.admin-console.groups-page .toolbar.compact {
    grid-template-columns: 1fr !important;
  }
}

/* Fute10 pro panel shell - 2026-08-08 */
body.dashboard-page.admin-console.pro-panel,
body.dashboard-page.admin-console.groups-page {
  --admin-sidebar-w: 286px;
  --admin-gutter: 28px;
  --panel-bg: #f6f8f7;
  --panel-surface: #ffffff;
  --panel-ink: #0d1713;
  --panel-muted: #64726c;
  --panel-line: #dfe7e3;
  --panel-soft: #edf4f0;
  --panel-green: #13a34a;
  --panel-green-dark: #087033;
  --panel-blue: #2458d6;
  --panel-navy: #071421;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,0) 260px),
    var(--panel-bg) !important;
  color: var(--panel-ink);
}

body.dashboard-page.admin-console.pro-panel .app,
body.dashboard-page.admin-console.groups-page .app {
  max-width: none !important;
  padding: 26px 34px 56px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 22px) !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav,
body.dashboard-page.admin-console.groups-page .app-nav {
  inset: 18px auto 18px 18px !important;
  width: var(--admin-sidebar-w) !important;
  padding: 16px 12px !important;
  gap: 4px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), transparent 140px),
    linear-gradient(180deg, #091827 0%, #08131f 48%, #06110d 100%) !important;
  box-shadow: 0 28px 70px rgba(7,20,33,.28) !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .nav-brand,
body.dashboard-page.admin-console.groups-page .app-nav .nav-brand {
  min-height: 104px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 18px 16px !important;
  margin: 0 0 12px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.96) !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .nav-brand img,
body.dashboard-page.admin-console.groups-page .app-nav .nav-brand img {
  width: 154px !important;
  max-width: 100% !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .nav-brand span,
body.dashboard-page.admin-console.groups-page .app-nav .nav-brand span {
  color: #43534c !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

body.dashboard-page.admin-console.pro-panel .app-nav .nav-section,
body.dashboard-page.admin-console.groups-page .app-nav .nav-section {
  display: block;
  margin: 14px 12px 6px;
  color: rgba(255,255,255,.42);
  font-size: 10px;
  line-height: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

body.dashboard-page.admin-console.pro-panel .app-nav a:not(.nav-brand),
body.dashboard-page.admin-console.groups-page .app-nav a:not(.nav-brand) {
  min-height: 44px !important;
  padding: 10px 11px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav a:not(.nav-brand) .icon,
body.dashboard-page.admin-console.groups-page .app-nav a:not(.nav-brand) .icon {
  width: 18px !important;
  height: 18px !important;
  flex-basis: 18px !important;
  color: rgba(255,255,255,.62);
}

body.dashboard-page.admin-console.pro-panel .app-nav a:not(.nav-brand):hover,
body.dashboard-page.admin-console.groups-page .app-nav a:not(.nav-brand):hover {
  background: rgba(255,255,255,.07) !important;
  border-color: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .active,
body.dashboard-page.admin-console.groups-page .app-nav .active {
  position: relative;
  background: rgba(19,163,74,.18) !important;
  border-color: rgba(19,163,74,.38) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.dashboard-page.admin-console.pro-panel .app-nav .active::before,
body.dashboard-page.admin-console.groups-page .app-nav .active::before {
  content: "";
  width: 3px;
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  border-radius: 0 4px 4px 0;
  background: var(--panel-green);
}

body.dashboard-page.admin-console.pro-panel .app-nav .active .icon,
body.dashboard-page.admin-console.groups-page .app-nav .active .icon {
  color: var(--panel-green);
}

body.dashboard-page.admin-console.pro-panel .app-nav [data-nav-key="logout"],
body.dashboard-page.admin-console.groups-page .app-nav [data-nav-key="logout"] {
  margin-top: auto;
  color: rgba(255,255,255,.5) !important;
}

body.dashboard-page.admin-console.pro-panel .admin-header,
body.dashboard-page.admin-console.groups-page .admin-header {
  margin: -26px -34px 24px calc(-1 * (var(--admin-sidebar-w) + var(--admin-gutter) + 22px)) !important;
  padding: 22px 34px 18px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 22px) !important;
  border-bottom: 1px solid rgba(13,23,19,.08) !important;
  background: rgba(246,248,247,.92) !important;
}

body.dashboard-page.admin-console.pro-panel .breadcrumb,
body.dashboard-page.admin-console.groups-page .breadcrumb {
  color: var(--panel-green-dark) !important;
}

body.dashboard-page.admin-console.pro-panel .admin-title h1,
body.dashboard-page.admin-console.groups-page .admin-title h1 {
  color: var(--panel-ink) !important;
  font-size: 34px !important;
  line-height: 38px !important;
}

body.dashboard-page.admin-console.pro-panel .admin-title p,
body.dashboard-page.admin-console.groups-page .admin-title p {
  color: var(--panel-muted) !important;
}

body.dashboard-page.admin-console.pro-panel .header-action,
body.dashboard-page.admin-console.groups-page .header-action {
  background: var(--panel-green) !important;
  color: #fff !important;
}

body.dashboard-page.admin-console.pro-panel .metric-grid,
body.dashboard-page.admin-console.groups-page .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}

body.dashboard-page.admin-console.pro-panel .metric-card,
body.dashboard-page.admin-console.groups-page .metric-card,
body.dashboard-page.admin-console.pro-panel .toolbar,
body.dashboard-page.admin-console.groups-page .toolbar,
body.dashboard-page.admin-console.pro-panel .data-card,
body.dashboard-page.admin-console.groups-page .data-card,
body.dashboard-page.admin-console.pro-panel .empty-state,
body.dashboard-page.admin-console.groups-page .empty-state {
  border: 1px solid var(--panel-line) !important;
  border-radius: 8px !important;
  background: var(--panel-surface) !important;
  box-shadow: 0 16px 42px rgba(13,23,19,.065) !important;
}

body.dashboard-page.admin-console.pro-panel .metric-card,
body.dashboard-page.admin-console.groups-page .metric-card {
  min-height: 118px !important;
  padding: 18px !important;
}

body.dashboard-page.admin-console.pro-panel .metric-card span,
body.dashboard-page.admin-console.groups-page .metric-card span {
  color: #53615b !important;
}

body.dashboard-page.admin-console.pro-panel .metric-card strong,
body.dashboard-page.admin-console.groups-page .metric-card strong {
  color: var(--panel-ink) !important;
}

body.dashboard-page.admin-console.pro-panel .metric-card.action,
body.dashboard-page.admin-console.groups-page .metric-card.action {
  background:
    linear-gradient(135deg, rgba(36,88,214,.22), transparent 46%),
    linear-gradient(135deg, #081827, #0b2a44) !important;
}

body.dashboard-page.admin-console.pro-panel .toolbar.compact,
body.dashboard-page.admin-console.groups-page .toolbar.compact {
  grid-template-columns: minmax(340px, 1fr) minmax(180px, 260px) !important;
  padding: 16px !important;
}

body.dashboard-page.admin-console.pro-panel .field label,
body.dashboard-page.admin-console.groups-page .field label {
  color: #4f5e58 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

body.dashboard-page.admin-console.pro-panel .input,
body.dashboard-page.admin-console.groups-page .input {
  min-height: 46px !important;
  border-color: var(--panel-line) !important;
  background: #fff !important;
}

body.dashboard-page.admin-console.pro-panel .data-grid,
body.dashboard-page.admin-console.groups-page .data-grid {
  gap: 16px !important;
}

body.dashboard-page.admin-console.pro-panel .empty-state,
body.dashboard-page.admin-console.groups-page .empty-state {
  min-height: 290px;
  margin-top: 18px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--panel-muted);
}

body.dashboard-page.admin-console.pro-panel .empty-state .mark,
body.dashboard-page.admin-console.groups-page .empty-state .mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe4d6;
  background: #edf8f0;
  color: var(--panel-green-dark);
}

body.dashboard-page.admin-console.pro-panel .empty-state strong,
body.dashboard-page.admin-console.groups-page .empty-state strong {
  color: var(--panel-ink);
}

@media (max-width: 1180px) {
  body.dashboard-page.admin-console.pro-panel .app,
  body.dashboard-page.admin-console.groups-page .app {
    padding: 18px 18px 44px !important;
  }

  body.dashboard-page.admin-console.pro-panel .admin-header,
  body.dashboard-page.admin-console.groups-page .admin-header {
    margin: -18px -18px 18px !important;
    padding: 16px 18px !important;
  }

  body.dashboard-page.admin-console.pro-panel .app-nav,
  body.dashboard-page.admin-console.groups-page .app-nav {
    inset: 0 auto 0 0 !important;
    width: min(302px, 86vw) !important;
    border-radius: 0 8px 8px 0 !important;
  }

  body.dashboard-page.admin-console.pro-panel .metric-grid,
  body.dashboard-page.admin-console.groups-page .metric-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.dashboard-page.admin-console.pro-panel .metric-grid,
  body.dashboard-page.admin-console.groups-page .metric-grid,
  body.dashboard-page.admin-console.pro-panel .toolbar.compact,
  body.dashboard-page.admin-console.groups-page .toolbar.compact {
    grid-template-columns: 1fr !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(21,153,71,.13), transparent 32%),
    linear-gradient(180deg, #eef5f1 0%, #f8faf8 42%, #edf4ef 100%);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { font-size: 30px; line-height: 1.05; margin: 6px 0 0; }
h2 { font-size: 18px; margin: 0 0 12px; }

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-block;
  vertical-align: middle;
}

.app {
  width: min(560px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 16px 92px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.avatar,
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(18, 25, 22, .07);
}

.brand-avatar {
  background: #ffffff;
  overflow: hidden;
}

.app-symbol {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 12px 28px rgba(18, 25, 22, .07);
}

.balance {
  background: linear-gradient(135deg, var(--dark), #16361f);
  color: var(--white);
  border-color: rgba(255, 255, 255, .1);
}

.balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.label { font-size: 12px; color: var(--muted); }
.balance .label { color: rgba(255, 255, 255, .68); }
.value { font-size: 24px; font-weight: 950; margin-top: 5px; }
.red { color: #ff7373; }
.green { color: #48e076; }

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

.quick a {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
  box-shadow: 0 10px 22px rgba(18, 25, 22, .06);
}

.quick .icon {
  width: 26px !important;
  height: 26px !important;
  flex-basis: 26px;
  color: var(--brand);
  stroke-width: 1.9;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 2px 10px;
}
.section-title h2 { font-size: 18px; margin: 0; }
.section-title a { font-size: 13px; color: var(--brand); font-weight: 850; }

.game {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--brand);
}
.mark .icon { width: 20px; height: 20px; flex-basis: 20px; }

.status,
.pill {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.status { background: #e5f6eb; color: var(--brand-dark); }

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child { border-bottom: 0; }
.list-row > .icon { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.32; }

.btn {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 0;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}
.btn.secondary { background: #e5f6eb; color: var(--brand-dark); border: 1px solid #bae6c8; }
.btn.dark { background: var(--dark); color: var(--white); border: 1px solid rgba(255,255,255,.14); }
.btn .icon { width: 18px; height: 18px; flex-basis: 18px; }

.form-group { margin-bottom: 13px; }
.form-group label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.input {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(21,153,71,.12); }
.textarea {
  min-height: 120px;
  resize: vertical;
}
.input-sm {
  min-height: 42px;
  padding: 10px 12px;
}

.nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 8px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(18, 25, 22, .1);
  backdrop-filter: blur(18px);
}
.nav a {
  min-width: 0;
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.nav .icon {
  width: 22px !important;
  height: 22px !important;
  flex-basis: 22px;
  stroke-width: 1.9;
}
.nav .active { background: #e5f6eb; color: var(--brand-dark); }

.logo { font-size: 26px; font-weight: 950; }
.logo i { color: var(--brand); font-style: normal; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { width: min(440px, 100%); }
.login-logo {
  display: block;
  width: min(210px, 72vw);
  height: auto;
  margin: 0 auto 16px;
}
.auth-card {
  padding: 22px;
  animation: authIn .36s ease both;
}
.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid rgba(21,153,71,.14);
  border-radius: 999px;
  background: rgba(238,246,242,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}
.auth-switch-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  color: #5f746b;
  font-size: 13px;
  font-weight: 950;
  transition: background .22s ease, color .22s ease, transform .18s ease, box-shadow .22s ease;
}
.auth-switch-link:active {
  transform: scale(.98);
}
.auth-switch-link.active {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(18,25,22,.08), 0 0 0 1px rgba(21,153,71,.14);
}
.auth-switch-link .icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}
.auth-heading {
  text-align: center;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.auth-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.auth-heading h1 {
  margin: 0;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.auth-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}
.auth-field {
  position: relative;
}
.field-icon {
  position: absolute;
  left: 13px;
  bottom: 14px;
  color: var(--muted);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.field-icon .icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}
.input-with-icon {
  padding-left: 42px !important;
}
.password-toggle {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.password-toggle:active {
  transform: scale(.94);
}
.password-toggle:hover,
.password-toggle.is-visible {
  background: #e8f5ee;
  color: var(--brand-dark);
}
.auth-field .password-input {
  padding-right: 48px;
}
.google-btn {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #d7e1dc;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(18,25,22,.05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.google-btn:hover {
  border-color: #b7c7bf;
  box-shadow: 0 14px 28px rgba(18,25,22,.08);
}
.google-btn:active {
  transform: scale(.99);
}
.google-mark {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: conic-gradient(from -45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
  color: #fff;
  font-weight: 950;
  font-size: 14px;
}
.google-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.auth-submit {
  width: 100%;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.auth-submit:hover {
  filter: brightness(1.02);
  box-shadow: 0 18px 32px rgba(21,153,71,.22);
}
.auth-submit:active {
  transform: translateY(1px) scale(.995);
}
.auth-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -2px 0 14px;
  color: #52645d;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}
.auth-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}
.auth-links.single {
  justify-content: center;
}
.notice { padding: 12px; border-radius: 8px; background: #ffe7e7; color: #8d2828; margin-bottom: 14px; }
.pill.paid { background: #e5f6eb; color: var(--brand-dark); }
.pill.pending { background: #fff4d8; color: #8c5b00; }
.pill.overdue { background: #ffe7e7; color: #9f2f2f; }

.app .top {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 14px 0 10px;
  background: linear-gradient(180deg, rgba(244,247,245,.98) 0%, rgba(244,247,245,.82) 74%, rgba(244,247,245,0) 100%);
  backdrop-filter: blur(18px);
}

.app .top h1 {
  font-size: 32px;
  letter-spacing: -.02em;
}

.app .eyebrow {
  color: #11883f;
}

.app .card {
  border-color: rgba(18,25,22,.08);
  box-shadow: 0 18px 45px rgba(18,25,22,.08);
}

.app .balance {
  background:
    radial-gradient(circle at top right, rgba(72,224,118,.24), transparent 36%),
    linear-gradient(135deg, #08120d, #12331d 64%, #0b1c11);
}

.app .quick a {
  min-height: 92px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.app .quick a:active {
  transform: scale(.98);
}

.app .btn {
  min-height: 50px;
  box-shadow: 0 14px 26px rgba(21,153,71,.18);
}

.app .input {
  min-height: 48px;
  background: #fbfdfb;
}

.app .list-row {
  min-height: 58px;
}

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

.player-account-card {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 16px;
  align-items: center;
}
.player-account-card .mini-player-card {
  min-height: 150px;
}
.player-photo-wrap {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.player-photo {
  width: 118px;
  height: 118px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 14px 30px rgba(18,25,22,.16);
  background: #edf4ef;
}
.photo-form {
  width: 100%;
}
.photo-upload {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.photo-upload input {
  display: none;
}
.league-hero,
.charge-hero,
.championship-card {
  display: grid;
  gap: 14px;
}
.charge-hero {
  border-color: rgba(43, 100, 255, .22);
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}
.charge-hero h2 {
  margin-bottom: 4px;
}
.charge-hero .btn {
  width: 100%;
}
.league-form {
  display: grid;
  gap: 10px;
}
.match-list {
  display: grid;
  gap: 8px;
}
.match-row {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}
.match-row span,
.match-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.section-title.compact {
  margin-top: 6px;
}
.status-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}
.status-form .btn {
  min-height: 42px;
}

.mini-player-card {
  min-height: 128px;
  border-radius: 18px 18px 24px 24px;
  padding: 12px 10px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  position: relative;
  color: #17130b;
  clip-path: polygon(0 9%, 16% 9%, 22% 0, 78% 0, 84% 9%, 100% 9%, 100% 86%, 82% 100%, 18% 100%, 0 86%);
  border: 2px solid rgba(255,255,255,.5);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.16), 0 12px 22px rgba(16,24,18,.12);
}

.mini-player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(10,15,12,.42) 0 20%, transparent 21%),
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,.35), transparent 46%);
  pointer-events: none;
}

.mini-player-card span,
.mini-player-card strong,
.mini-player-card small {
  position: relative;
  z-index: 1;
}

.mini-player-card span {
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  max-width: 58px;
}

.mini-player-card strong {
  margin-top: 42px;
  padding-top: 6px;
  border-top: 1px solid rgba(0,0,0,.22);
  font-size: 13px;
  line-height: 1.05;
}

.mini-player-card small {
  color: rgba(17,19,15,.78);
  font-size: 10px;
  line-height: 1.2;
}

.silver { background: linear-gradient(135deg, #7d8791, #eef2f6 48%, #52606d); border: 1px solid #d9e1e8; }
.gold { background: linear-gradient(135deg, #90610d, #ffd96a 48%, #8d5a00); border: 1px solid #ffe39a; }
.legend { background: linear-gradient(135deg, #111827, #7c3aed 46%, #d7ff40); border: 1px solid rgba(215,255,64,.72); }

.lp {
  min-height: 100vh;
  background: #07100b;
  color: var(--white);
  font-family: Manrope, Arial, Helvetica, sans-serif;
}
.lp-hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 34%, rgba(215,255,64,.22), transparent 30%),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.11), transparent 24%),
    linear-gradient(90deg, rgba(4, 9, 6, .92) 0%, rgba(4, 9, 6, .74) 46%, rgba(4, 9, 6, .34) 100%),
    linear-gradient(180deg, rgba(4, 9, 6, .1) 0%, rgba(7,16,11,.62) 68%, #07100b 100%),
    url('../img/lp-football-field-real.jpg') center/cover no-repeat;
}
.lp-hero::before {
  content: "";
  position: absolute;
  right: clamp(-120px, -8vw, -28px);
  bottom: -22%;
  width: min(640px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,255,64,.22), rgba(215,255,64,.07) 38%, transparent 69%);
  pointer-events: none;
}
.lp-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(8, 28, 16, .54) 56%, #07100b);
  pointer-events: none;
}
.lp-shell { width: min(1160px, 100%); margin: 0 auto; padding: 14px 18px; }
.lp-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
.lp-nav .lp-shell { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--white); letter-spacing: -.01em; }
.brand-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: 178px;
  object-fit: contain;
}
.brand-logo-light,
.hero-logo {
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.5));
}
.footer-logo {
  height: 30px;
  max-width: 158px;
}
.lp-menu { display: none; align-items: center; gap: 18px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 800; }
.lp-nav-actions {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.lp-nav-actions .btn {
  width: auto;
  min-height: 38px;
  padding: 9px 14px;
  white-space: nowrap;
}
.lp-system {
  position: relative;
  z-index: 6;
  width: auto;
  min-height: 38px;
  padding: 9px 14px;
  pointer-events: auto;
  min-width: 118px;
  white-space: nowrap;
  background: rgba(5, 9, 6, .5) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: rgba(255,255,255,.94) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 26px rgba(0,0,0,.18) !important;
  backdrop-filter: blur(18px);
}
.lp-system .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: #d7ff40;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #d7ff40;
  color: #050706;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 36px rgba(215,255,64,.2);
}
.brand-icon .icon { width: 20px; height: 20px; flex-basis: 20px; }
.lp-login { width: auto; min-height: 38px; padding: 9px 13px; background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px); }
.lp .btn {
  background: #d7ff40;
  color: #050706;
  border: 1px solid rgba(215,255,64,.55);
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(215,255,64,.18);
}
.lp .btn.dark {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.lp .lp-login {
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.hero-stage {
  position: relative;
  z-index: 2;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 104px 18px 34px;
  display: grid;
  gap: 26px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-copy h1 {
  font-family: "Space Grotesk", Manrope, Arial, sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.04em;
  margin: 14px 0 14px;
  max-width: 780px;
  text-wrap: balance;
}
.hero-logo {
  display: block;
  width: min(276px, 70vw);
  height: auto;
  margin: 0 0 18px;
}
.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin: 10px -18px -30px;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}
.hero-player {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(328px, 84vw);
  margin: 0 -18px -84px auto;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 38px 58px rgba(0,0,0,.48));
}
.hero-lead { color: #f6fff6; font-size: 18px; line-height: 1.5; max-width: 640px; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.38); }
.hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; max-width: 440px; }
.hero-words {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
}
.hero-words span {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.11);
  color: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(16px);
}
.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(215,255,64,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 58px rgba(0,0,0,.32);
}
.hero-metrics div {
  display: grid;
  gap: 2px;
  padding: 14px;
  background: rgba(9,24,15,.7);
}
.hero-metrics strong { font-size: 14px; text-transform: uppercase; color: #d7ff40; letter-spacing: .04em; }
.hero-metrics span { font-size: 13px; color: #cdd8cf; }
.lp-section { padding: 44px 18px; }
.lp-band { background: #0b0f0c; }
.section-inner { width: min(1160px,100%); margin: 0 auto; }
.lp-title { display: block; margin-bottom: 18px; }
.lp-title span, .plan-kicker { color: #d7ff40; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.lp-title h2 {
  font-family: "Space Grotesk", Manrope, Arial, sans-serif;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.03em;
  max-width: 720px;
  margin: 8px 0 0;
}
.intro-section { background: #050706; }
.intro-grid { display: grid; gap: 20px; }
.intro-copy { color: #d6ddd8; font-size: 16px; line-height: 1.6; }
.intro-copy p { margin: 0 0 16px; max-width: 660px; }
.signal-list { display: grid; gap: 10px; }
.signal-list div { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); color: #f3f7f3; font-weight: 800; }
.signal-list .icon { color: #d7ff40; }
.feature-grid, .plan-grid { display: grid; gap: 12px; }
.feature { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.feature p, .plan p { color: var(--muted); line-height: 1.45; margin: 4px 0 0; }
.lp .feature { background: #111712; border-color: rgba(255,255,255,.08); color: var(--white); }
.lp .feature p { color: #adb9b0; }
.lp .feature .mark { background: rgba(215,255,64,.12); color: #d7ff40; }
.player-card-section {
  background:
    radial-gradient(circle at 14% 20%, rgba(215,255,64,.12), transparent 24%),
    radial-gradient(circle at 88% 28%, rgba(31,111,235,.14), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #050706;
  background-size: auto, 34px 34px, auto;
  border-top: 1px solid rgba(255,255,255,.08);
}
.player-card-grid { display: grid; gap: 18px; }
.player-card-grid .lp-title {
  max-width: 760px;
}
.player-showcase {
  display: grid;
  gap: 18px;
  justify-items: center;
}
.player-card {
  width: min(360px, 100%);
  min-height: 432px;
  border-radius: 10px;
  padding: 16px;
  display: grid;
  grid-template-rows: 82px 174px auto;
  position: relative;
  overflow: hidden;
  color: #15130e;
  border: 1px solid rgba(255,255,255,.48);
  box-shadow: 0 28px 80px rgba(0,0,0,.36), inset 0 0 0 1px rgba(255,255,255,.42);
}
.player-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 7px;
  pointer-events: none;
  z-index: 1;
}
.player-card::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 56% 30%, rgba(255,255,255,.38) 0 8%, transparent 18%),
    radial-gradient(circle at 50% 45%, rgba(0,0,0,.2) 0 22%, transparent 28%),
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,.28), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.13) 0 2px, transparent 2px 18px);
  transform: rotate(6deg);
  pointer-events: none;
}
.player-card-top,
.player-silhouette,
.player-card-bottom,
.player-name,
.player-stats,
.player-badges {
  position: relative;
  z-index: 2;
}
.player-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 12px;
  align-self: start;
  width: 132px;
  padding: 10px 12px 9px;
  border-radius: 7px;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 14px 26px rgba(0,0,0,.12);
  line-height: 1;
}
.player-card-top strong {
  font-family: "Space Grotesk", Manrope, Arial, sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0;
  grid-row: 1 / span 2;
}
.player-card-top span {
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.player-card-top em {
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  color: rgba(20,18,13,.62);
}
.player-silhouette {
  width: 100%;
  max-width: 270px;
  height: 178px;
  margin: -52px auto 0;
  background: url("../img/player-card-avatar.png") center top / 122% auto no-repeat;
  filter: drop-shadow(0 18px 14px rgba(0,0,0,.34));
  opacity: .98;
}
.player-card-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding: 14px 12px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.36);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.player-name {
  font-family: "Space Grotesk", Manrope, Arial, sans-serif;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}
.player-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 9px;
}
.player-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 7px;
  background: rgba(0,0,0,.09);
  color: rgba(20,18,13,.82);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}
.player-stats b {
  display: block;
  color: #11130f;
  font-size: 18px;
  font-weight: 950;
  min-width: 24px;
}
.player-stats i {
  display: block;
  min-width: 0;
  font-style: normal;
  overflow-wrap: anywhere;
}
.player-badges {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.player-badges i {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,.16);
  color: rgba(18,18,14,.86);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}
.player-card.legend {
  color: #f8faf8;
  box-shadow: 0 24px 80px rgba(10,255,120,.18), inset 0 0 0 2px rgba(215,255,64,.5);
}
.player-card.legend .player-card-top,
.player-card.legend .player-card-bottom {
  background: rgba(0,0,0,.24);
  border-color: rgba(255,255,255,.2);
}
.player-card.legend .player-card-top em { color: rgba(255,255,255,.64); }
.player-card.legend .player-stats span,
.player-card.legend .player-badges i { color: rgba(255,255,255,.78); }
.player-card.legend .player-stats b { color: #fff; }
.player-card.legend .player-silhouette {
  background: url("../img/player-card-avatar.png") center top / 122% auto no-repeat;
  filter: drop-shadow(0 16px 14px rgba(0,0,0,.34)) saturate(.92) brightness(1.06);
}
.card-copy {
  color: #d6ddd8;
  font-size: 16px;
  line-height: 1.58;
}
.card-copy p { margin: 0 0 14px; }
.split-section { display: grid; gap: 18px; }
.step-list { display: grid; gap: 10px; }
.step-list div { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.step-list strong { color: #d7ff40; font-family: "Space Grotesk", Manrope, Arial, sans-serif; }
.step-list span { color: #d8e4dc; line-height: 1.45; }
.plans-section { background: #f4f5ef; color: var(--ink); }
.plans-section .lp-title h2 { color: var(--ink); }
.plan { background: var(--white); color: var(--ink); border-radius: 8px; padding: 20px; border: 1px solid #dde2d7; box-shadow: 0 20px 60px rgba(12, 28, 18, .08); }
.plan.featured { background: #050706; color: var(--white); border-color: rgba(215,255,64,.5); transform: translateY(-4px); }
.plan h3 { margin: 6px 0 0; font-size: 24px; font-family: "Space Grotesk", Manrope, Arial, sans-serif; letter-spacing: -.03em; }
.price { font-size: 36px; font-weight: 800; margin: 14px 0; font-family: "Space Grotesk", Manrope, Arial, sans-serif; letter-spacing: -.03em; }
.price small { font-size: 12px; color: var(--muted); }
.plan ul { padding: 0; margin: 14px 0 0; list-style: none; display: grid; gap: 9px; }
.plan li { display: flex; gap: 8px; font-size: 14px; }
.plan li .icon { width: 17px; height: 17px; flex-basis: 17px; color: #89b000; }
.plan-btn { margin-top: 18px; }
.plan:not(.featured) .plan-btn {
  background: #050706;
  color: var(--white);
  border-color: #050706;
}
.cta-strip { margin-top: 14px; display: grid; gap: 12px; padding: 16px; border-radius: 8px; background: #050706; color: var(--white); }
.cta-strip span { display: block; color: #bac9c0; font-size: 13px; margin-top: 3px; }
.contact-section { background: #050706; }
.faq-grid { display: grid; gap: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.04); padding: 15px; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { color: #c8d6ce; line-height: 1.45; margin: 10px 0 0; }
.lp-footer { background: #030403; border-top: 1px solid rgba(255,255,255,.1); color: #9fb0a6; padding: 28px 18px 18px; font-size: 13px; }
.footer-grid { width: min(1160px,100%); margin: 0 auto; display: grid; gap: 22px; }
.footer-grid p { max-width: 320px; line-height: 1.45; }
.footer-grid div { display: grid; gap: 8px; align-content: start; }
.footer-grid strong { color: var(--white); }
.footer-grid a, .footer-grid span { color: #b7c5bc; }
.footer-bottom { width: min(1160px,100%); margin: 24px auto 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); color: #79877f; }

@media (max-width: 759px) {
  .lp-nav .lp-shell {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .lp-nav-actions .lp-login {
    display: none;
  }
  .lp-system {
    min-width: 112px;
  }
}

@media (min-width: 760px) {
  .app {
    width: min(840px, calc(100% - 28px));
    margin-top: 24px;
    min-height: calc(100vh - 48px);
    padding: 24px 22px 102px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.35);
  }
  .nav { width: min(840px, calc(100% - 28px)); border-radius: 16px 16px 0 0; }
  .app .balance-grid { gap: 16px; }
  .app .quick { gap: 12px; }
  .app .card { padding: 18px; }
  .lp-nav .lp-shell { grid-template-columns: auto 1fr auto; }
  .lp-menu { display: flex; justify-content: center; }
  .lp-hero { min-height: 92vh; }
  .hero-stage {
    min-height: 92vh;
    grid-template-columns: minmax(0, 620px) minmax(260px, 1fr);
    grid-template-areas:
      "copy visual"
      "words metrics";
    align-items: end;
    gap: 22px 28px;
    padding-top: 122px;
    padding-bottom: 46px;
  }
  .hero-copy { grid-area: copy; max-width: 620px; }
  .hero-copy h1 { font-size: 76px; max-width: 640px; }
  .hero-visual {
    grid-area: visual;
    align-self: stretch;
    min-height: 610px;
    margin: 0;
    overflow: visible;
  }
  .hero-player {
    right: clamp(-92px, -7vw, -30px);
    bottom: -18px;
    width: min(48vw, 580px);
    max-height: calc(92vh - 110px);
    object-fit: contain;
    object-position: right bottom;
  }
  .hero-actions { grid-template-columns: auto auto; }
  .hero-words { grid-area: words; align-self: end; max-width: 600px; }
  .hero-metrics { grid-area: metrics; grid-template-columns: 1fr; align-self: end; }
	  .feature-grid, .plan-grid { grid-template-columns: repeat(3, 1fr); }
	  .player-card-grid { align-items: center; }
	  .card-copy { max-width: 520px; }
	  .lp-section { padding: 68px 18px; }
  .intro-grid, .split-section, .faq-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .cta-strip { grid-template-columns: 1fr auto; align-items: center; }
  .footer-grid { grid-template-columns: 1.5fr .7fr .8fr; }
	  .quick a { font-size: 12px; }
	}

@media (min-width: 1020px) {
  .player-card-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
  }
  .player-card-grid .lp-title {
    text-align: center;
    max-width: 720px;
  }
  .player-card-grid .lp-title h2 {
    max-width: none;
  }
  .player-showcase {
    grid-template-columns: repeat(3, 300px);
    gap: 26px;
    justify-content: center;
  }
  .player-card {
    width: 300px;
    min-height: 430px;
  }
  .card-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 900px;
  }
  .player-showcase .gold { transform: translateY(-18px); }
}

@media (min-width: 1180px) {
  .player-showcase { grid-template-columns: repeat(3, 330px); }
  .player-card {
    width: 330px;
    min-height: 444px;
  }
  .player-silhouette {
    height: 184px;
    max-width: 282px;
  }
}

@media (max-width: 430px) {
  .player-preview { grid-template-columns: 1fr; }
  .mini-player-card { min-height: 92px; }
  .auth-links {
    flex-direction: column;
    align-items: center;
  }
  .player-account-card {
    grid-template-columns: 1fr;
  }
  .status-form {
    grid-template-columns: 1fr;
  }
}

/* V1635 - responsive admin shell */
.nav-brand {
  display: none !important;
}

.nav-extra {
  display: none !important;
}

.admin-home .top {
  border: 1px solid rgba(18,25,22,.08);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 32px rgba(18,25,22,.06);
}

.admin-home .balance {
  background:
    radial-gradient(circle at top right, rgba(21,153,71,.2), transparent 34%),
    linear-gradient(135deg, #0b4ea2, #075676 58%, #0a342f);
}

.admin-home .balance .value.green {
  color: rgba(255,255,255,.78);
}

.admin-home .balance .value.red {
  color: #ffb4b4;
}

.admin-home .quick a {
  background: linear-gradient(180deg, #ffffff, #f8fbf9);
}

@media (min-width: 760px) and (max-width: 1099px) {
  .app {
    width: min(920px, calc(100% - 32px));
    padding: 24px 22px 104px;
  }

  .nav {
    width: min(920px, calc(100% - 32px));
  }

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

  .admin-home .top,
  .admin-home .admin-balance,
  .admin-home .admin-quick {
    grid-column: 1 / -1;
  }

  .admin-home .section-title,
  .admin-home .game,
  .admin-home .player-preview,
  .admin-home > .card:last-of-type {
    grid-column: 1 / -1;
  }

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

@media (min-width: 1100px) {
  body {
    background:
      linear-gradient(90deg, #f1f6f3 0 280px, transparent 280px),
      radial-gradient(circle at 18% 0%, rgba(21,153,71,.12), transparent 30%),
      linear-gradient(180deg, #f7faf8 0%, #eef5f1 100%);
  }

  .app {
    width: auto;
    max-width: 1320px;
    min-height: 100vh;
    margin: 0 0 0 280px;
    padding: 30px 34px 42px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .app .top {
    position: static;
    padding: 18px 20px;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px);
  }

  .app .top h1 {
    font-size: 36px;
  }

  .nav {
    top: 0;
    bottom: 0;
    left: 0;
    transform: none;
    width: 280px;
    grid-template-columns: 1fr;
    grid-auto-rows: min-content;
    align-content: start;
    gap: 6px;
    padding: 24px 18px;
    border-top: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: rgba(255,255,255,.9);
    box-shadow: 18px 0 42px rgba(18,25,22,.06);
  }

  .nav-brand {
    height: auto !important;
    display: grid !important;
    justify-items: start !important;
    align-items: start !important;
    gap: 8px !important;
    padding: 8px 10px 26px !important;
    margin-bottom: 8px;
    background: transparent !important;
    color: #0b4ea2 !important;
    border-bottom: 1px solid var(--line);
    border-radius: 0 !important;
    font-size: 12px !important;
    text-transform: uppercase;
  }

  .nav-brand img {
    width: 132px;
    height: auto;
    display: block;
  }

  .nav-extra {
    display: flex !important;
  }

  .nav a:not(.nav-brand) {
    height: 46px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 11px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid transparent;
  }

  .nav .icon {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px;
  }

  .nav .active {
    background: #eaf2ff;
    color: #0b4ea2;
    border-color: #cfe0ff;
  }

  .admin-home {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
    grid-auto-flow: dense;
    gap: 16px;
    align-content: start;
  }

  .admin-home .admin-top {
    grid-column: 1 / -1;
  }

  .admin-home .admin-balance {
    grid-column: 1 / 2;
    min-height: 168px;
    display: grid;
    align-content: space-between;
  }

  .admin-home .admin-quick {
    grid-column: 2 / 3;
    grid-row: span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
  }

  .admin-home .admin-quick a {
    min-height: 128px;
    align-items: flex-start;
    text-align: left;
    padding: 18px;
    font-size: 14px;
  }

  .admin-home .admin-quick .icon {
    width: 28px !important;
    height: 28px !important;
  }

  .admin-home .section-title {
    grid-column: 1 / -1;
    margin: 8px 2px 0;
  }

  .admin-home .game {
    grid-column: 1 / -1;
    min-height: 92px;
  }

  .admin-home .player-preview {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(210px, 280px));
    justify-content: start;
    gap: 12px;
  }

  .admin-home > .card:last-of-type {
    grid-column: 1 / -1;
  }

  .admin-home .mini-player-card {
    min-height: 148px;
  }

  .app:not(.admin-home) {
    max-width: 980px;
  }
}

@media (min-width: 1440px) {
  .app {
    margin-left: 300px;
    padding-right: 48px;
  }

  .nav {
    width: 300px;
  }
}

/* V2038 - complete manager demo dashboard */
.manager-demo {
  gap: 16px;
}

.manager-hero {
  overflow: hidden;
  position: relative;
  align-items: center;
  min-height: 148px;
  color: #fff;
  border: 0 !important;
  background:
    radial-gradient(circle at 85% 16%, rgba(158,240,191,.34), transparent 28%),
    linear-gradient(135deg, #071015 0%, #0b4ea2 52%, #149447 100%) !important;
}

.manager-hero::after {
  content: "";
  position: absolute;
  inset: auto -38px -66px auto;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}

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

.manager-hero h1 {
  color: #fff;
  margin-bottom: 8px;
}

.manager-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.45;
}

.manager-hero .eyebrow {
  color: #9ef0bf !important;
}

.manager-hero .brand-avatar {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
}

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

.manager-kpi {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(18,25,22,.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fbf8);
  box-shadow: 0 12px 30px rgba(18,25,22,.06);
}

.manager-kpi span,
.manager-kpi small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.manager-kpi strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--dark);
  font-size: 34px;
  line-height: 1;
}

.manager-kpi.attention {
  background: linear-gradient(135deg, #fff7ed, #fff);
  border-color: rgba(245,158,11,.28);
}

.manager-finance {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .46fr);
  gap: 18px;
  align-items: end;
  border: 0 !important;
}

.manager-finance h2 {
  margin: 8px 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.manager-finance p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.manager-finance-side {
  display: grid;
  gap: 10px;
}

.manager-finance-side div,
.manager-finance-side a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.13);
  color: #fff;
  text-decoration: none;
}

.manager-finance-side span {
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.manager-finance-side a {
  background: #9ef0bf;
  color: #072015;
  font-weight: 900;
}

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

.manager-action-grid a {
  min-height: 144px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(18,25,22,.08);
  border-radius: 20px;
  background: #fff;
  color: var(--dark);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(18,25,22,.07);
}

.manager-action-grid .icon {
  width: 28px !important;
  height: 28px !important;
  color: #149447;
}

.manager-action-grid strong {
  display: block;
  font-size: 16px;
}

.manager-action-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.manager-game-card,
.manager-status-card {
  padding: 18px;
}

.manager-game-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: #f6faf7;
}

.manager-game-row strong,
.manager-game-row span {
  display: block;
}

.manager-game-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.manager-game-row small {
  padding: 8px 10px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0b4ea2;
  font-weight: 900;
}

.manager-status-list {
  display: grid;
  gap: 10px;
}

.manager-status-list div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.manager-status-list div:last-child {
  border-bottom: 0;
}

.manager-status-list span,
.manager-status-list small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.manager-status-list strong {
  display: block;
  margin: 3px 0;
  font-size: 15px;
}

.manager-bracket-card {
  padding: 18px;
}

.manager-mini-bracket {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.manager-mini-bracket div {
  min-height: 112px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(18,25,22,.08);
  border-radius: 16px;
  background: #f8fbf9;
}

.manager-mini-bracket span,
.manager-mini-bracket small {
  color: var(--muted);
  font-size: 12px;
}

.manager-mini-bracket strong {
  color: var(--dark);
  font-size: 14px;
  line-height: 1.25;
}

.manager-card-showcase {
  display: grid;
  gap: 12px;
  padding: 0;
}

.manager-player-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 280px));
  justify-content: start;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(18,25,22,.08);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(7,16,21,.04), transparent 42%),
    #fff;
  box-shadow: 0 14px 34px rgba(18,25,22,.07);
}

.manager-player-cards .player-card {
  width: 100%;
  min-height: 342px;
}

.manager-player-cards .player-silhouette {
  height: 160px;
}

@media (min-width: 1100px) {
  .manager-demo {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  }

  .manager-demo .manager-hero,
  .manager-demo .manager-kpis,
  .manager-demo .manager-action-grid,
  .manager-demo .manager-card-showcase {
    grid-column: 1 / -1;
  }

  .manager-demo .manager-finance {
    grid-column: 1 / 2;
  }

  .manager-demo .manager-game-card,
  .manager-demo .manager-status-card,
  .manager-demo .manager-bracket-card {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .manager-kpis,
  .manager-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manager-finance {
    grid-template-columns: 1fr;
  }

  .manager-player-cards {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .manager-mini-bracket {
    grid-template-columns: 1fr;
  }

  .manager-player-cards .player-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .manager-hero {
    min-height: 170px;
    align-items: flex-start;
  }

  .manager-kpis,
  .manager-action-grid {
    grid-template-columns: 1fr;
  }

  .manager-kpi,
  .manager-action-grid a {
    min-height: 104px;
  }

  .manager-game-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .manager-game-row small {
    grid-column: 2;
    justify-self: start;
  }

  .manager-player-cards {
    margin: 0 -2px;
    padding: 14px;
  }
}

/* V2056 - tournament bracket for admins and managers */
.competition-hub {
  gap: 16px;
}

.competition-top {
  align-items: flex-start;
  padding: 20px;
  border: 0 !important;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(158,240,191,.22), transparent 28%),
    linear-gradient(135deg, #06100b 0%, #0a2448 50%, #0f7a3b 100%) !important;
  color: #fff;
  box-shadow: 0 18px 42px rgba(7,16,21,.18);
}

.competition-top h1 {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.24);
}

.competition-top p {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.45;
}

.competition-top .eyebrow {
  color: #9ef0bf;
}

.competition-top .avatar {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}

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

.competition-summary article {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(18,25,22,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18,25,22,.07);
}

.competition-summary span,
.competition-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.competition-summary strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--dark);
  font-size: 24px;
  line-height: 1.05;
}

.competition-create {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: start;
}

.championship-card {
  display: grid;
  gap: 16px;
}

.championship-card.featured-demo {
  border-color: rgba(21,153,71,.22);
  background:
    linear-gradient(135deg, rgba(21,153,71,.08), transparent 34%),
    #fff;
}

.championship-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.championship-head h2 {
  margin: 4px 0;
  font-size: 24px;
  color: var(--dark);
}

.championship-head small,
.champ-tag {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.champ-tag {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.team-editor {
  display: grid;
  gap: 10px;
}

.draw-form {
  margin-top: -6px;
}

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

.team-table,
.bracket-board {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbf9;
}

.team-table {
  overflow: hidden;
}

.team-table h3,
.bracket-round h3 {
  margin: 0;
  padding: 14px;
  color: var(--dark);
  font-size: 14px;
}

.team-table div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.team-table strong {
  color: var(--brand);
  font-size: 13px;
}

.team-table span {
  min-width: 0;
  color: var(--dark);
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-table small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.bracket-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
  padding: 14px;
  overflow-x: auto;
}

.bracket-round {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 220px;
}

.bracket-round h3 {
  padding: 0;
}

.bracket-match {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 13px;
  border: 1px solid rgba(18,25,22,.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18,25,22,.06);
}

.bracket-match::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 13px;
  height: 1px;
  background: rgba(21,153,71,.42);
}

.final-round .bracket-match::after {
  display: none;
}

.bracket-match span {
  min-width: 0;
  color: var(--dark);
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-match strong {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e5f6eb;
  color: var(--brand-dark);
  font-size: 12px;
}

.champion-path {
  border-color: rgba(245,158,11,.32);
  background: linear-gradient(180deg, #fffaf0, #fff);
}

.score-match {
  grid-template-columns: minmax(0, 1fr);
}

.score-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.score-inputs input {
  width: 42px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-weight: 900;
}

.score-match select {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
  color: var(--muted);
  font-size: 12px;
}

.score-match button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
}

.score-match button .icon {
  width: 16px;
  height: 16px;
}

.empty-bracket {
  grid-column: 1 / -1;
  min-height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.empty-bracket strong,
.empty-bracket span {
  display: block;
}

.empty-bracket strong {
  color: var(--dark);
  margin-bottom: 6px;
}

/* V2112 - clearer games dashboard */
.game-hub {
  display: grid;
  gap: 14px;
}

.game-top {
  align-items: flex-start;
  overflow: hidden;
  position: relative;
  padding: 20px;
  border: 0 !important;
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 8%, rgba(158,240,191,.24), transparent 30%),
    linear-gradient(135deg, #071015 0%, #0b4ea2 58%, #159947 100%) !important;
  color: #fff;
  box-shadow: 0 18px 42px rgba(7,16,21,.18);
}

.game-top h1,
.game-top p {
  color: #fff;
}

.game-top p {
  max-width: 700px;
  margin: 8px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.45;
}

.game-top .eyebrow {
  color: #9ef0bf;
}

.game-top .avatar {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}

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

.game-summary article {
  min-height: 104px;
  padding: 15px;
  border: 1px solid rgba(18,25,22,.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18,25,22,.07);
}

.game-summary article.attention {
  background: linear-gradient(180deg, #fff, #f8fbf9);
}

.game-summary span,
.game-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.game-summary strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--dark);
  font-size: 24px;
  line-height: 1.05;
}

.game-command {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 14px;
}

.game-command h2,
.game-command p {
  margin: 0;
}

.game-command p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.game-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
}

.game-filters a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.game-filters a.active {
  border-color: rgba(21,153,71,.32);
  background: #e5f6eb;
  color: var(--brand-dark);
}

.game-filters strong {
  color: inherit;
}

.next-game-focus {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-color: rgba(21,153,71,.22);
  background:
    linear-gradient(135deg, rgba(21,153,71,.08), transparent 38%),
    #fff;
}

.next-game-focus h2,
.next-game-focus p {
  margin: 0;
}

.next-game-focus p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.date-box {
  width: 64px;
  min-height: 64px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 8px;
  background: #071015;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.date-box strong,
.date-box span {
  display: block;
  line-height: 1;
}

.date-box strong {
  font-size: 24px;
  font-weight: 950;
}

.date-box span {
  margin-top: 5px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 900;
}

.date-box.compact {
  width: 54px;
  min-height: 54px;
}

.date-box.compact strong {
  font-size: 21px;
}

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

.game-card-pro {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  margin-bottom: 0;
}

.game-card-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.game-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.game-card-head h2,
.game-card-head p {
  margin: 0;
}

.game-card-head h2 {
  color: var(--dark);
  font-size: 16px;
  line-height: 1.2;
}

.game-card-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.status-finished {
  background: #eef2f7;
  color: #425466;
}

.status-cancelled {
  background: #ffecec;
  color: #b42323;
}

.pro-status-form {
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 8px;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.pro-status-form label {
  display: grid;
  gap: 6px;
}

.pro-status-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pro-status-form .btn {
  min-height: 40px;
  padding: 10px 12px;
}

.empty-games {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.empty-games strong {
  margin-top: 10px;
  color: var(--dark);
}

.empty-games p {
  max-width: 420px;
  margin: 6px auto 0;
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 1100px) {
  .game-hub {
    width: auto;
    max-width: 1120px !important;
  }
}

@media (max-width: 900px) {
  .game-summary,
  .games-board {
    grid-template-columns: 1fr 1fr;
  }

  .game-command {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .game-command .btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .game-summary,
  .games-board,
  .game-card-pro,
  .next-game-focus {
    grid-template-columns: 1fr;
  }

  .game-summary {
    gap: 10px;
  }

  .game-card-head {
    display: grid;
  }

  .pro-status-form {
    grid-template-columns: 1fr;
  }

  .next-game-focus .status {
    justify-self: start;
  }
}

@media (min-width: 1100px) {
  .competition-hub {
    width: min(1180px, 100%);
  }
}

@media (max-width: 900px) {
  .competition-create,
  .competition-dashboard {
    grid-template-columns: 1fr;
  }

  .bracket-board {
    grid-template-columns: repeat(3, minmax(210px, 76vw));
  }
}

@media (max-width: 560px) {
  .competition-summary {
    grid-template-columns: 1fr;
  }

  .competition-top,
  .championship-head {
    display: grid;
  }

  .competition-top .avatar {
    justify-self: start;
  }

  .championship-head .status {
    justify-self: start;
  }

  .bracket-board {
    margin: 0 -2px;
    padding: 12px;
  }
}

body.auth-page {
  background:
    radial-gradient(circle at top left, rgba(21,153,71,.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(31,111,235,.1), transparent 28%),
    linear-gradient(180deg, #f5faf7 0%, #eef6f2 100%);
}

body.auth-page .login-wrap {
  padding: 24px 16px;
}

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

/* Fute10 Admin System */
:root {
  --navy: #061b33;
  --navy-2: #0b2e55;
  --green: #15a852;
  --green-2: #0f7f3d;
  --admin-bg: #f2f6f3;
  --admin-card: #ffffff;
  --admin-line: #d9e4de;
  --admin-muted: #62736b;
  --admin-shadow: 0 16px 36px rgba(6, 27, 51, .08);
}
body.modal-open { overflow: hidden; }
body:not(.auth-page) {
  background: linear-gradient(135deg, rgba(6,27,51,.05), transparent 32%), linear-gradient(180deg, #eef5f1 0%, #f8fbf8 48%, #edf4ef 100%);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
}
.app { width: min(1480px, 100%); margin: 0 auto; padding: 24px 28px 48px 292px; }
.app-nav { top: 18px; bottom: 18px; left: 18px; width: 246px; min-height: auto; height: calc(100vh - 36px); transform: none; grid-template-columns: 1fr; align-content: start; gap: 6px; padding: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: linear-gradient(180deg, var(--navy), #071522); box-shadow: 0 22px 60px rgba(6,27,51,.22); }
.app-nav a { height: 48px; flex-direction: row; justify-content: flex-start; padding: 0 12px; gap: 10px; color: rgba(255,255,255,.74); font-size: 13px; border-radius: 14px; }
.app-nav a:hover, .app-nav .active { color: #fff; background: rgba(21,168,82,.18); }
.app-nav .active { box-shadow: inset 3px 0 0 var(--green); }
.app-nav .nav-brand { height: 72px; margin-bottom: 8px; background: rgba(255,255,255,.94); color: var(--navy); box-shadow: 0 14px 28px rgba(0,0,0,.12); }
.nav-brand img { width: 96px; height: auto; }
.nav-brand span { font-size: 12px; color: var(--admin-muted); }
.drawer-overlay { display: none; }
.admin-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: -24px -28px 22px; padding: 22px 28px 16px; background: linear-gradient(180deg, rgba(242,246,243,.97), rgba(242,246,243,.82)); backdrop-filter: blur(18px); }
.mobile-menu { display: none; }
.breadcrumb { color: var(--green-2); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.admin-title h1 { margin: 2px 0 4px; color: var(--navy); font-size: clamp(26px, 3vw, 42px); font-weight: 950; }
.admin-title p { max-width: 760px; margin: 0; color: var(--admin-muted); font-size: 14px; line-height: 1.4; }
.admin-actions { display: flex; align-items: center; gap: 10px; }
.header-action { width: auto; min-height: 44px; border-radius: 14px; white-space: nowrap; }
.icon-btn { border-radius: 14px; border: 1px solid var(--admin-line); background: #fff; color: var(--navy); }
.profile-menu { position: relative; }
.profile-button { height: 46px; display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border: 1px solid var(--admin-line); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 900; cursor: pointer; box-shadow: 0 10px 24px rgba(6,27,51,.06); }
.profile-button span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: linear-gradient(135deg, var(--navy), var(--green)); color: #fff; }
.profile-dropdown { position: absolute; right: 0; top: 54px; width: 190px; display: none; padding: 8px; border: 1px solid var(--admin-line); border-radius: 16px; background: #fff; box-shadow: var(--admin-shadow); }
.profile-dropdown.is-open { display: grid; }
.profile-dropdown a { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; color: var(--navy); font-weight: 850; font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.metric-card, .panel, .data-card, .admin-card { background: var(--admin-card); border: 1px solid var(--admin-line); border-radius: 16px; box-shadow: var(--admin-shadow); }
.metric-card { padding: 16px; min-height: 118px; }
.metric-card span { color: var(--admin-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.metric-card strong { display: block; margin: 8px 0 2px; color: var(--navy); font-size: 30px; font-weight: 950; }
.metric-card small { color: var(--admin-muted); }
.metric-card.action { background: linear-gradient(135deg, var(--navy), #0c365f); color: #fff; }
.metric-card.action strong, .metric-card.action span, .metric-card.action small { color: #fff; }
.toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 210px)) auto; gap: 10px; align-items: end; margin: 0 0 16px; padding: 14px; border: 1px solid var(--admin-line); border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 10px 26px rgba(6,27,51,.04); }
.toolbar.compact { grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(150px, 220px)); }
.field { display: grid; gap: 6px; }
.field label { color: var(--admin-muted); font-size: 12px; font-weight: 900; }
.field.search { position: relative; }
.field.search .icon { position: absolute; left: 13px; bottom: 13px; color: var(--admin-muted); width: 18px; height: 18px; }
.field.search .input { padding-left: 40px; }
.filter-active { align-self: center; padding: 9px 12px; border-radius: 999px; background: #e5f6eb; color: var(--green-2); font-size: 12px; font-weight: 900; }
.btn { border-radius: 14px; background: var(--green); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.btn:hover { filter: brightness(1.03); box-shadow: 0 14px 26px rgba(21,168,82,.18); }
.btn:active { transform: translateY(1px) scale(.995); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.danger { background: #d64242; color: #fff; }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--admin-line); }
.input { border-radius: 14px; border-color: var(--admin-line); min-height: 46px; }
.card, .panel, .data-card { border-radius: 16px; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.data-list { display: grid; gap: 10px; }
.data-card { padding: 14px; display: grid; gap: 10px; }
.card-head, .row-actions, .card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title { min-width: 0; }
.card-title h2, .card-title h3 { margin: 0; color: var(--navy); font-size: 18px; font-weight: 950; }
.card-title p, .meta-line { margin: 4px 0 0; color: var(--admin-muted); font-size: 13px; }
.status { border-radius: 999px; padding: 7px 10px; font-size: 11px; font-weight: 950; }
.status-scheduled, .status-regular, .status-paid, .status-drawn { background: #e5f6eb; color: var(--green-2); }
.status-finished, .status-draft { background: #e7eef8; color: var(--navy-2); }
.status-cancelled, .status-suspended, .status-overdue { background: #ffe8e8; color: #a33131; }
.status-pending, .status-injured { background: #fff4d8; color: #8b5b00; }
.status-guest { background: #eef1f5; color: #55616b; }
.action-menu { position: relative; }
.action-menu > summary { list-style: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--admin-line); border-radius: 12px; background: #fff; cursor: pointer; }
.action-menu > summary::-webkit-details-marker { display: none; }
.action-menu[open] .action-list { display: grid; }
.action-list { position: absolute; right: 0; top: 46px; z-index: 15; width: 236px; display: none; padding: 8px; border: 1px solid var(--admin-line); border-radius: 14px; background: #fff; box-shadow: var(--admin-shadow); }
.action-list button, .action-list a { width: 100%; min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--navy); font-weight: 850; text-align: left; cursor: pointer; }
.action-list button:hover, .action-list a:hover { background: #f2f7f4; }
.action-list .danger { color: #b42d2d; }
.modal-layer { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(6,27,51,.38); backdrop-filter: blur(8px); }
.modal-layer.is-open { display: flex; animation: fadeIn .18s ease both; }
.modal-panel { width: min(760px, 100%); max-height: min(820px, calc(100vh - 44px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgba(6,27,51,.28); animation: modalIn .2s ease both; }
.modal-panel.large { width: min(1080px, 100%); }
.modal-panel.side { width: min(920px, 100%); margin-left: auto; height: calc(100vh - 44px); }
.modal-head, .modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--admin-line); }
.modal-foot { border-top: 1px solid var(--admin-line); border-bottom: 0; justify-content: flex-end; }
.modal-head h2 { margin: 0; color: var(--navy); font-size: 20px; }
.modal-body { overflow: auto; padding: 18px; }
.modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.modal-grid .full { grid-column: 1 / -1; }
.tabs { display: flex; gap: 8px; overflow: auto; margin-bottom: 14px; }
.tabs button { border: 1px solid var(--admin-line); border-radius: 999px; background: #fff; padding: 9px 12px; font-weight: 900; color: var(--admin-muted); white-space: nowrap; }
.tabs .active { background: var(--navy); color: #fff; }
[data-tab-panel] { display: none; }
[data-tab-panel].active { display: block; }
.table-shell { overflow: auto; border: 1px solid var(--admin-line); border-radius: 16px; background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.admin-table th, .admin-table td { padding: 13px 14px; border-bottom: 1px solid var(--admin-line); text-align: left; }
.admin-table th { color: var(--admin-muted); font-size: 11px; text-transform: uppercase; }
.admin-table td { color: var(--navy); font-size: 14px; }
.avatar-initial { width: 36px; height: 36px; display: inline-grid; place-items: center; margin-right: 9px; border-radius: 999px; background: linear-gradient(135deg, var(--navy), var(--green)); color: #fff; font-weight: 950; }
.game-card { grid-template-columns: 86px minmax(0, 1fr) auto; align-items: center; }
.date-tile { min-height: 82px; display: grid; place-items: center; border-radius: 16px; background: #eef6f1; color: var(--navy); }
.date-tile strong { font-size: 30px; line-height: 1; }
.date-tile span { color: var(--admin-muted); font-size: 12px; font-weight: 900; }
.game-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--admin-muted); font-size: 13px; }
.calendar-board { display: none; padding: 16px; border: 1px solid var(--admin-line); border-radius: 16px; background: #fff; }
body[data-view-mode="calendar"] .data-grid.games-list { display: none; }
body[data-view-mode="calendar"] .calendar-board { display: grid; }
.calendar-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.calendar-day { min-height: 94px; padding: 9px; border: 1px solid var(--admin-line); border-radius: 12px; background: #f8fbf8; }
.calendar-day strong { color: var(--navy); }
.calendar-event { margin-top: 6px; padding: 6px; border-radius: 9px; background: #e5f6eb; color: var(--green-2); font-size: 11px; font-weight: 900; }
.bracket-toolbar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.bracket-scroll { overflow: auto; padding: 18px; border: 1px solid var(--admin-line); border-radius: 18px; background: linear-gradient(180deg, #f8fbf8, #eef5f1); }
.bracket-stage { transform-origin: top left; display: flex; align-items: center; gap: 64px; min-width: 880px; transition: transform .2s ease; }
.bracket-round { display: grid; gap: 16px; min-width: 250px; position: relative; }
.bracket-round h3 { color: var(--navy); margin: 0; }
.bracket-match { position: relative; padding: 12px; border: 1px solid var(--admin-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(6,27,51,.06); }
.bracket-match::after { content: ""; position: absolute; top: 50%; right: -65px; width: 64px; height: 1px; background: #9bb5a7; }
.bracket-round:last-child .bracket-match::after { display: none; }
.team-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; color: var(--navy); font-weight: 900; }
.team-line.winner { color: var(--green-2); }
.match-detail { color: var(--admin-muted); font-size: 12px; }
.finance-chart { height: 190px; display: flex; align-items: end; gap: 12px; padding: 16px; border: 1px solid var(--admin-line); border-radius: 16px; background: #fff; }
.finance-chart:not(.finance-chart-clean) > span { flex: 1; min-height: 16px; border-radius: 9px 9px 0 0; background: #0ba95b; }
.empty-state { display: grid; place-items: center; gap: 8px; padding: 28px; text-align: center; color: var(--admin-muted); }
.empty-state .mark { width: 54px; height: 54px; border-radius: 18px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 999px; animation: spin .8s linear infinite; }
.toast-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: grid; gap: 10px; }
.toast { transform: translateY(10px); opacity: 0; min-width: 260px; max-width: 360px; padding: 12px 14px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: 0 18px 50px rgba(6,27,51,.22); transition: opacity .2s ease, transform .2s ease; }
.toast.success { background: var(--green-2); }
.toast.warning { background: #9a6500; }
.toast.show { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1180px) {
  .app { padding-left: 24px; }
  .mobile-menu { display: grid; }
  .app-nav { left: 0; top: 0; bottom: 0; height: 100vh; border-radius: 0 18px 18px 0; transform: translateX(-105%); transition: transform .22s ease; z-index: 70; }
  body.drawer-open .app-nav { transform: translateX(0); }
  .drawer-overlay { position: fixed; inset: 0; z-index: 60; border: 0; background: rgba(6,27,51,.34); }
  body.drawer-open .drawer-overlay { display: block; }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .app { padding: 14px 14px 92px; }
  .admin-header { margin: -14px -14px 14px; padding: 14px; grid-template-columns: auto 1fr auto; }
  .admin-title p, .breadcrumb, .profile-button strong, .header-action span { display: none; }
  .admin-title h1 { font-size: 26px; }
  .admin-actions { gap: 6px; }
  .metric-grid, .data-grid, .toolbar, .toolbar.compact, .modal-grid { grid-template-columns: 1fr; }
  .data-card.game-card { grid-template-columns: 74px 1fr auto; }
  .modal-layer { padding: 10px; align-items: flex-end; }
  .modal-panel, .modal-panel.large, .modal-panel.side { width: 100%; height: min(92vh, 820px); max-height: 92vh; border-radius: 18px 18px 0 0; }
  .table-shell { border: 0; background: transparent; overflow: visible; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; min-width: 0; width: 100%; }
  .admin-table thead { display: none; }
  .admin-table tr { margin-bottom: 10px; padding: 12px; border: 1px solid var(--admin-line); border-radius: 16px; background: #fff; box-shadow: var(--admin-shadow); }
  .admin-table td { border: 0; padding: 7px 0; }
  .calendar-month { grid-template-columns: 1fr; }
  .toast-wrap { left: 12px; right: 12px; bottom: 84px; }
  .toast { max-width: none; min-width: 0; }
}

/* Dashboard reference layout */
body.dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 42% 10%, rgba(21, 168, 82, .08), transparent 28%),
    linear-gradient(180deg, #eef5f1 0%, #f8fbf8 48%, #eef5f1 100%);
  overflow-x: hidden;
}

body.dashboard-page .dashboard-app {
  width: min(448px, calc(100vw - 220px));
  min-height: 100vh;
  margin: 0 0 0 calc(172px + ((100vw - 172px - min(448px, calc(100vw - 220px))) / 2));
  padding: 46px 0 42px;
}

body.dashboard-page .app-nav {
  top: 40px;
  bottom: 14px;
  left: 4px;
  width: 168px;
  height: calc(100vh - 54px);
  padding: 20px 10px 14px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, .1);
  background: #061b33;
  box-shadow: 0 18px 46px rgba(6, 27, 51, .2);
}

body.dashboard-page .app-nav .nav-brand {
  height: 52px;
  margin: 0 0 8px;
  padding: 0 8px 12px;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .62);
  background: transparent;
  color: rgba(255, 255, 255, .72);
  box-shadow: none;
}

body.dashboard-page .app-nav .nav-brand img {
  display: none;
}

body.dashboard-page .app-nav .nav-brand span {
  color: rgba(255, 255, 255, .66);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

body.dashboard-page .sidebar-collapse {
  min-height: 20px;
  margin-bottom: 8px;
  padding: 0;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, .7);
  background: #ffffff;
  color: #26313b;
  font-size: 11px;
  font-weight: 800;
}

body.dashboard-page .sidebar-collapse .icon {
  width: 13px;
  height: 13px;
  flex-basis: 13px;
}

body.dashboard-page .app-nav a:not(.nav-brand) {
  height: 34px;
  padding: 0 10px;
  gap: 8px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
}

body.dashboard-page .app-nav a:not(.nav-brand) .icon {
  width: 15px !important;
  height: 15px !important;
  flex-basis: 15px;
}

body.dashboard-page .app-nav .active {
  color: #ffffff;
  background: rgba(21, 168, 82, .28);
  box-shadow: none;
}

body.dashboard-page .admin-header {
  position: static;
  margin: 0 0 26px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

body.dashboard-page .admin-title h1 {
  max-width: 250px;
  margin: 4px 0 6px;
  color: #061b33;
  font-size: 30px;
  line-height: .96;
  font-weight: 950;
}

body.dashboard-page .admin-title p {
  max-width: 248px;
  color: #69776f;
  font-size: 11px;
  line-height: 1.42;
}

body.dashboard-page .breadcrumb {
  color: #0f7f3d;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .04em;
}

body.dashboard-page .admin-actions {
  align-self: start;
  gap: 8px;
  padding-top: 32px;
}

body.dashboard-page .header-action {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 11px;
  box-shadow: 0 14px 22px rgba(21, 168, 82, .18);
}

body.dashboard-page .header-action .icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

body.dashboard-page .admin-actions > .icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

body.dashboard-page .profile-button {
  height: 34px;
  padding: 4px 8px 4px 4px;
  gap: 7px;
  box-shadow: 0 10px 22px rgba(6, 27, 51, .06);
}

body.dashboard-page .profile-button span {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

body.dashboard-page .profile-button strong {
  font-size: 11px;
}

body.dashboard-page .profile-button .icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

body.dashboard-page .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

body.dashboard-page .metric-card,
body.dashboard-page .data-card {
  border-radius: 8px;
  border-color: rgba(6, 27, 51, .08);
  box-shadow: 0 14px 34px rgba(6, 27, 51, .08);
}

body.dashboard-page .metric-card {
  min-height: 144px;
  padding: 15px 12px;
}

body.dashboard-page .metric-card span {
  color: #5f6f67;
  font-size: 8px;
  line-height: 1.15;
}

body.dashboard-page .metric-card strong {
  margin: 10px 0 3px;
  font-size: 21px;
  line-height: 1;
}

body.dashboard-page .metric-card small {
  display: block;
  color: #8a9791;
  font-size: 10px;
  line-height: 1.35;
}

body.dashboard-page .metric-card.action {
  background: #061b33;
}

body.dashboard-page .data-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.dashboard-page .data-card {
  min-height: 146px;
  padding: 11px;
  align-content: start;
  gap: 10px;
}

body.dashboard-page .card-title h2,
body.dashboard-page .card-title h3 {
  font-size: 13px;
  line-height: 1.1;
}

body.dashboard-page .card-title p,
body.dashboard-page .meta-line {
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.3;
}

body.dashboard-page .card-row {
  gap: 9px;
  align-items: center;
}

body.dashboard-page .date-tile {
  min-width: 50px;
  min-height: 66px;
  border-radius: 8px;
}

body.dashboard-page .date-tile strong {
  font-size: 25px;
}

body.dashboard-page .date-tile span {
  font-size: 8px;
}

body.dashboard-page .card-row strong {
  color: #13213a;
  font-size: 10px;
  line-height: 1.2;
}

body.dashboard-page .data-card .btn {
  min-height: 39px;
  padding: 8px 9px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.08;
  box-shadow: none;
}

body.dashboard-page .data-card .btn .icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

body.dashboard-page .status {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 8px;
}

body.dashboard-page .empty-state {
  padding: 18px 10px;
}

body.dashboard-page .empty-state .mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

@media (max-width: 1180px) {
  body.dashboard-page .dashboard-app {
    width: min(448px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 28px 0 92px;
  }

  body.dashboard-page .app-nav {
    top: 0;
    bottom: 0;
    left: 0;
    width: 238px;
    height: 100vh;
    border-radius: 0 12px 12px 0;
  }

  body.dashboard-page .mobile-menu {
    display: grid;
  }
}

@media (max-width: 720px) {
  body.dashboard-page .dashboard-app {
    width: 100%;
    padding: 14px 14px 92px;
  }

  body.dashboard-page .admin-header {
    grid-template-columns: auto 1fr auto;
    margin-bottom: 16px;
  }

  body.dashboard-page .admin-actions {
    padding-top: 0;
  }

  body.dashboard-page .admin-title h1 {
    max-width: 190px;
    font-size: 28px;
  }

  body.dashboard-page .profile-button {
    width: 34px;
    padding: 4px;
  }

  body.dashboard-page .profile-button strong,
  body.dashboard-page .profile-button .icon {
    display: none;
  }

  body.dashboard-page .metric-grid,
  body.dashboard-page .data-grid {
    grid-template-columns: 1fr;
  }

body.dashboard-page .metric-card {
    min-height: auto;
  }
}

/* V1410 - full project admin layout expansion */
body:not(.auth-page) {
  --admin-sidebar-w: 270px;
  --admin-gutter: 24px;
}

body:not(.auth-page) .app:not(.player-portal) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 28px 48px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 18px);
}

body:not(.auth-page) .app-nav {
  width: var(--admin-sidebar-w);
  left: var(--admin-gutter);
}

body:not(.auth-page) .admin-header {
  margin: -24px -28px 22px;
  padding: 22px 28px 16px;
}

body:not(.auth-page) .metric-grid {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
}

body:not(.auth-page) .data-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

body:not(.auth-page) .data-grid.games-list {
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
}

body:not(.auth-page) .toolbar {
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(170px, .7fr)) auto;
}

body:not(.auth-page) .table-shell,
body:not(.auth-page) .calendar-board,
body:not(.auth-page) .bracket-scroll {
  width: 100%;
}

body.dashboard-page .dashboard-app {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 28px 48px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 18px);
}

body.dashboard-page .admin-header {
  margin: -24px -28px 22px;
  padding: 22px 28px 18px;
}

body.dashboard-page .metric-grid {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
}

body.dashboard-page .data-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

body.dashboard-page .data-card {
  min-height: 230px;
}

body.dashboard-page .data-card:nth-child(1),
body.dashboard-page .data-card:nth-child(3) {
  grid-column: span 7;
}

body.dashboard-page .data-card:nth-child(2),
body.dashboard-page .data-card:nth-child(4) {
  grid-column: span 5;
}

body.dashboard-page .data-card:nth-child(3),
body.dashboard-page .data-card:nth-child(4) {
  min-height: 330px;
}

body.dashboard-page .card-row {
  justify-content: flex-start;
}

@media (min-width: 1500px) {
  body.dashboard-page .dashboard-app,
  body:not(.auth-page) .app:not(.player-portal) {
    padding-right: 42px;
  }

  body.dashboard-page .data-card:nth-child(1),
  body.dashboard-page .data-card:nth-child(3) {
    grid-column: span 8;
  }

  body.dashboard-page .data-card:nth-child(2),
  body.dashboard-page .data-card:nth-child(4) {
    grid-column: span 4;
  }
}

@media (max-width: 1180px) {
  body:not(.auth-page) .app:not(.player-portal),
  body.dashboard-page .dashboard-app {
    width: 100%;
    margin: 0;
    padding: 22px 18px 48px;
  }

  body:not(.auth-page) .app-nav {
    left: 0;
    width: min(292px, 84vw);
  }

  body:not(.auth-page) .admin-header,
  body.dashboard-page .admin-header {
    margin: -22px -18px 18px;
    padding: 18px;
  }

  body:not(.auth-page) .toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body:not(.auth-page) .metric-grid,
  body.dashboard-page .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.dashboard-page .data-grid,
  body:not(.auth-page) .data-grid,
  body:not(.auth-page) .data-grid.games-list {
    grid-template-columns: 1fr;
  }

  body.dashboard-page .data-card:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body:not(.auth-page) .app:not(.player-portal),
  body.dashboard-page .dashboard-app {
    padding: 14px 12px 34px;
  }

  body:not(.auth-page) .admin-header,
  body.dashboard-page .admin-header {
    margin: -14px -12px 14px;
    padding: 12px;
  }

  body:not(.auth-page) .metric-grid,
  body.dashboard-page .metric-grid,
  body:not(.auth-page) .toolbar {
    grid-template-columns: 1fr;
  }
}

/* V1355 - responsive admin dashboard redesign */
body.dashboard-page {
  --dash-bg: #f5f8f6;
  --dash-ink: #071b31;
  --dash-muted: #60726a;
  --dash-line: #dce7e1;
  --dash-panel: rgba(255,255,255,.88);
  --dash-green: #159947;
  --dash-green-soft: #e8f7ee;
  --dash-shadow: 0 18px 46px rgba(6, 27, 51, .08);
  background:
    radial-gradient(circle at 18% 0%, rgba(21, 153, 71, .10), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(31, 111, 235, .08), transparent 28%),
    linear-gradient(180deg, #f7fbf8 0%, #eef5f1 100%);
  color: var(--dash-ink);
}

body.dashboard-page .dashboard-app {
  width: min(1180px, calc(100vw - 336px));
  min-height: 100vh;
  margin: 0 0 0 304px;
  padding: 30px 28px 46px;
}

body.dashboard-page .app-nav {
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 250px;
  height: calc(100vh - 36px);
  padding: 18px 14px;
  border: 1px solid rgba(6, 27, 51, .08);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 56px rgba(6, 27, 51, .10);
  backdrop-filter: blur(18px);
  color: var(--dash-ink);
}

body.dashboard-page .app-nav .nav-brand {
  height: 58px;
  margin: 0 0 14px;
  padding: 0 10px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 0;
  border-bottom: 1px solid var(--dash-line);
  background: transparent;
  box-shadow: none;
}

body.dashboard-page .app-nav .nav-brand img {
  display: none;
}

body.dashboard-page .app-nav .nav-brand::before {
  content: "F10";
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--dash-green), #0d6d34);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(21, 153, 71, .20);
}

body.dashboard-page .app-nav .nav-brand span {
  color: var(--dash-ink);
  font-size: 13px;
  font-weight: 950;
  text-transform: none;
}

body.dashboard-page .sidebar-collapse {
  display: none;
}

body.dashboard-page .app-nav a:not(.nav-brand) {
  height: 46px;
  padding: 0 12px;
  gap: 11px;
  border-radius: 8px;
  color: #5c6d65;
  font-size: 13px;
  font-weight: 900;
}

body.dashboard-page .app-nav a:not(.nav-brand) .icon {
  width: 19px !important;
  height: 19px !important;
  flex-basis: 19px;
}

body.dashboard-page .app-nav a:not(.nav-brand):hover,
body.dashboard-page .app-nav .active {
  color: var(--dash-green);
  background: var(--dash-green-soft);
  box-shadow: inset 3px 0 0 var(--dash-green);
}

body.dashboard-page .admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: -30px -28px 22px;
  padding: 24px 28px 18px;
  background: linear-gradient(180deg, rgba(247,251,248,.98), rgba(247,251,248,.84));
  backdrop-filter: blur(18px);
}

body.dashboard-page .mobile-menu {
  display: none;
}

body.dashboard-page .admin-title h1 {
  max-width: none;
  margin: 3px 0 7px;
  color: var(--dash-ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  font-weight: 950;
}

body.dashboard-page .admin-title p {
  max-width: 460px;
  color: var(--dash-muted);
  font-size: 14px;
  line-height: 1.45;
}

body.dashboard-page .breadcrumb {
  color: var(--dash-green);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .06em;
}

body.dashboard-page .admin-actions {
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 0;
}

body.dashboard-page .header-action {
  width: auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 14px 28px rgba(21, 153, 71, .18);
}

body.dashboard-page .admin-actions > .icon-btn,
body.dashboard-page .profile-button {
  height: 44px;
  border-radius: 8px;
}

body.dashboard-page .admin-actions > .icon-btn {
  width: 44px;
}

body.dashboard-page .profile-button {
  padding: 5px 12px 5px 5px;
}

body.dashboard-page .profile-button span {
  width: 34px;
  height: 34px;
}

body.dashboard-page .profile-button strong {
  font-size: 13px;
}

body.dashboard-page .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

body.dashboard-page .metric-card,
body.dashboard-page .data-card {
  border-radius: 8px;
  border-color: rgba(6, 27, 51, .08);
  background: var(--dash-panel);
  box-shadow: var(--dash-shadow);
}

body.dashboard-page .metric-card {
  min-height: 136px;
  padding: 18px;
}

body.dashboard-page .metric-card span {
  color: var(--dash-muted);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .02em;
}

body.dashboard-page .metric-card strong {
  margin: 11px 0 5px;
  color: var(--dash-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: .96;
}

body.dashboard-page .metric-card small {
  display: block;
  color: var(--dash-muted);
  font-size: 13px;
  line-height: 1.35;
}

body.dashboard-page .metric-card.action {
  background: linear-gradient(135deg, #071b31, #0e3d68);
}

body.dashboard-page .metric-card.action span,
body.dashboard-page .metric-card.action strong,
body.dashboard-page .metric-card.action small {
  color: #ffffff;
}

body.dashboard-page .data-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 14px;
}

body.dashboard-page .data-card {
  min-height: 210px;
  padding: 18px;
  gap: 14px;
  align-content: start;
}

body.dashboard-page .data-card:nth-child(3),
body.dashboard-page .data-card:nth-child(4) {
  min-height: 270px;
}

body.dashboard-page .card-title h2,
body.dashboard-page .card-title h3 {
  color: var(--dash-ink);
  font-size: 18px;
  line-height: 1.16;
}

body.dashboard-page .card-title p,
body.dashboard-page .meta-line {
  margin-top: 4px;
  color: var(--dash-muted);
  font-size: 13px;
  line-height: 1.4;
}

body.dashboard-page .card-row {
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
}

body.dashboard-page .date-tile {
  min-width: 70px;
  min-height: 76px;
  border-radius: 8px;
  background: #eef6f1;
}

body.dashboard-page .date-tile strong {
  font-size: 26px;
}

body.dashboard-page .date-tile span {
  font-size: 11px;
}

body.dashboard-page .card-row strong {
  color: var(--dash-ink);
  font-size: 14px;
  line-height: 1.25;
}

body.dashboard-page .quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.dashboard-page .data-card .btn {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.1;
}

body.dashboard-page .data-card .btn .icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

body.dashboard-page .status {
  padding: 7px 10px;
  font-size: 11px;
}

body.dashboard-page .empty-state {
  padding: 24px 12px;
}

body.dashboard-page .empty-state .mark {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

body.dashboard-page .drawer-overlay {
  display: none;
}

@media (min-width: 1500px) {
  body.dashboard-page .dashboard-app {
    width: min(1280px, calc(100vw - 360px));
  }
}

@media (max-width: 1180px) {
  body.dashboard-page .dashboard-app {
    width: min(100%, 960px);
    margin: 0 auto;
    padding: 22px 18px 44px;
  }

  body.dashboard-page .admin-header {
    margin: -22px -18px 18px;
    padding: 18px;
  }

  body.dashboard-page .mobile-menu {
    display: grid;
  }

  body.dashboard-page .app-nav {
    top: 0;
    bottom: 0;
    left: 0;
    width: min(286px, 84vw);
    height: 100vh;
    border-radius: 0 8px 8px 0;
    transform: translateX(-105%);
    transition: transform .22s ease;
    z-index: 70;
  }

  body.dashboard-page.drawer-open .app-nav,
  body.dashboard-page.menu-open .app-nav,
  body.drawer-open.dashboard-page .app-nav,
  body.menu-open.dashboard-page .app-nav {
    transform: translateX(0);
  }

  body.dashboard-page .drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    border: 0;
    background: rgba(6, 27, 51, .36);
  }

  body.dashboard-page.drawer-open .drawer-overlay,
  body.dashboard-page.menu-open .drawer-overlay,
  body.drawer-open.dashboard-page .drawer-overlay,
  body.menu-open.dashboard-page .drawer-overlay {
    display: block;
  }
}

@media (max-width: 900px) {
  body.dashboard-page .metric-grid,
  body.dashboard-page .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.dashboard-page .admin-header {
    align-items: start;
  }

  body.dashboard-page .admin-actions {
    gap: 8px;
  }
}

@media (max-width: 720px) {
  body.dashboard-page .dashboard-app {
    width: 100%;
    padding: 14px 12px 34px;
  }

  body.dashboard-page .admin-header {
    grid-template-columns: auto minmax(0, 1fr);
    margin: -14px -12px 14px;
    padding: 12px;
  }

  body.dashboard-page .mobile-menu {
    grid-column: 1;
    grid-row: 1;
  }

  body.dashboard-page .admin-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }

  body.dashboard-page .admin-title {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  body.dashboard-page .admin-title h1 {
    font-size: 28px;
    max-width: none;
    margin-top: 8px;
  }

  body.dashboard-page .admin-title p,
  body.dashboard-page .breadcrumb {
    display: none;
  }

  body.dashboard-page .header-action {
    min-width: 44px;
    padding: 0 12px;
  }

  body.dashboard-page .header-action span,
  body.dashboard-page .profile-button strong,
  body.dashboard-page .profile-button .icon {
    display: none;
  }

  body.dashboard-page .profile-button {
    width: 44px;
    padding: 5px;
  }

  body.dashboard-page .metric-grid,
  body.dashboard-page .data-grid,
  body.dashboard-page .quick-actions {
    grid-template-columns: 1fr;
  }

  body.dashboard-page .metric-card,
  body.dashboard-page .data-card,
  body.dashboard-page .data-card:nth-child(3),
  body.dashboard-page .data-card:nth-child(4) {
    min-height: auto;
  }
}

/* V1205 - unified gestor/admin console */
body.dashboard-page.admin-console:not(.platform-page) {
  --admin-sidebar-w: 264px;
  --admin-gutter: 22px;
  --console-bg: #f4f7f5;
  --console-ink: #071b31;
  --console-muted: #64756d;
  --console-line: rgba(7, 27, 49, .10);
  --console-panel: rgba(255, 255, 255, .92);
  --console-green: #159947;
  --console-green-dark: #0b6f35;
  --console-blue: #1f6feb;
  --console-shadow: 0 18px 42px rgba(7, 27, 49, .08);
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(21, 153, 71, .10), transparent 28%),
    linear-gradient(180deg, #f9fbfa 0%, var(--console-bg) 100%);
  color: var(--console-ink);
  font-family: Manrope, Inter, Arial, Helvetica, sans-serif;
}

body.dashboard-page.admin-console:not(.platform-page) .app:not(.player-portal),
body.dashboard-page.admin-console:not(.platform-page) .dashboard-app {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 24px 30px 46px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 22px) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav {
  position: fixed;
  inset: var(--admin-gutter) auto var(--admin-gutter) var(--admin-gutter) !important;
  width: var(--admin-sidebar-w) !important;
  height: auto !important;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 6px;
  padding: 14px !important;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #071b31, #071522);
  box-shadow: 0 24px 60px rgba(7, 27, 49, .20);
  transform: none !important;
  z-index: 70;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand {
  height: 64px;
  margin: 0 0 10px;
  padding: 0 8px 12px;
  justify-content: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand img {
  display: block;
  width: 92px;
  max-height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

body.dashboard-page.admin-console:not(.platform-page) .sidebar-collapse {
  display: none;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav a:not(.nav-brand) {
  min-width: 0;
  height: 46px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 11px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav a:not(.nav-brand):hover,
body.dashboard-page.admin-console:not(.platform-page) .app-nav .active {
  color: #ffffff;
  background: rgba(21, 153, 71, .18);
  box-shadow: inset 3px 0 0 var(--console-green);
}

body.dashboard-page.admin-console:not(.platform-page) .admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: -24px -30px 20px !important;
  padding: 22px 30px 16px !important;
  border-bottom: 1px solid rgba(7, 27, 49, .06);
  background: linear-gradient(180deg, rgba(249,251,250,.98), rgba(249,251,250,.86));
  backdrop-filter: blur(18px);
}

body.dashboard-page.admin-console:not(.platform-page) .mobile-menu {
  display: none;
}

body.dashboard-page.admin-console:not(.platform-page) .breadcrumb {
  color: var(--console-green-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-title h1 {
  margin: 3px 0 6px;
  color: var(--console-ink);
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-title p {
  max-width: 720px;
  margin: 0;
  color: var(--console-muted);
  font-size: 14px;
  line-height: 1.42;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

body.dashboard-page.admin-console:not(.platform-page) .header-action,
body.dashboard-page.admin-console:not(.platform-page) .btn {
  border-radius: 8px;
  font-weight: 900;
}

body.dashboard-page.admin-console:not(.platform-page) .header-action {
  width: auto;
  min-height: 44px;
  max-width: none;
  padding: 0 16px;
  white-space: nowrap;
}

body.dashboard-page.admin-console:not(.platform-page) .icon-btn,
body.dashboard-page.admin-console:not(.platform-page) .profile-button,
body.dashboard-page.admin-console:not(.platform-page) .action-menu > summary {
  border-radius: 8px;
  border-color: var(--console-line);
  background: #fff;
  color: var(--console-ink);
}

body.dashboard-page.admin-console:not(.platform-page) .profile-button {
  height: 44px;
  padding: 5px 11px 5px 5px;
}

body.dashboard-page.admin-console:not(.platform-page) .profile-button span,
body.dashboard-page.admin-console:not(.platform-page) .avatar-initial {
  background: linear-gradient(135deg, var(--console-ink), var(--console-green));
}

body.dashboard-page.admin-console:not(.platform-page) .metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr)) !important;
  gap: 12px;
  margin: 0 0 16px;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card,
body.dashboard-page.admin-console:not(.platform-page) .data-card,
body.dashboard-page.admin-console:not(.platform-page) .table-shell,
body.dashboard-page.admin-console:not(.platform-page) .toolbar,
body.dashboard-page.admin-console:not(.platform-page) .calendar-board,
body.dashboard-page.admin-console:not(.platform-page) .welcome-panel {
  border: 1px solid var(--console-line);
  border-radius: 8px;
  background: var(--console-panel);
  box-shadow: var(--console-shadow);
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card {
  min-height: 126px;
  padding: 17px;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card span {
  color: var(--console-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .03em;
  text-transform: uppercase;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card strong {
  display: block;
  margin: 10px 0 4px;
  color: var(--console-ink);
  font-size: clamp(27px, 2.8vw, 38px);
  line-height: .98;
  font-weight: 950;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card small {
  color: var(--console-muted);
  font-size: 13px;
  line-height: 1.35;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card.action {
  background: linear-gradient(135deg, #071b31, #0f3c66);
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card.action span,
body.dashboard-page.admin-console:not(.platform-page) .metric-card.action strong,
body.dashboard-page.admin-console:not(.platform-page) .metric-card.action small {
  color: #ffffff;
}

body.dashboard-page.admin-console:not(.platform-page) .toolbar,
body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, .7fr)) auto !important;
  gap: 10px;
  align-items: end;
  margin: 0 0 16px;
  padding: 14px;
}

body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact {
  grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(150px, .7fr)) auto !important;
}

body.dashboard-page.admin-console:not(.platform-page) .field label {
  color: var(--console-muted);
  font-size: 12px;
  font-weight: 900;
}

body.dashboard-page.admin-console:not(.platform-page) .input {
  min-height: 46px;
  border-radius: 8px;
  border-color: var(--console-line);
  background: #fbfdfc;
}

body.dashboard-page.admin-console:not(.platform-page) .data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
  gap: 12px;
}

body.dashboard-page.admin-console.manager-home .data-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

body.dashboard-page.admin-console.manager-home .data-card:nth-child(1),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(3),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(5),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(7) {
  grid-column: span 7;
}

body.dashboard-page.admin-console.manager-home .data-card:nth-child(2),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(4),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(6) {
  grid-column: span 5;
}

body.dashboard-page.admin-console:not(.platform-page) .data-card:nth-child(n) {
  min-height: auto !important;
}

body.dashboard-page.admin-console:not(.platform-page) .data-card {
  padding: 17px;
  gap: 13px;
  align-content: start;
}

body.dashboard-page.admin-console:not(.platform-page) .card-title h2,
body.dashboard-page.admin-console:not(.platform-page) .card-title h3 {
  color: var(--console-ink);
  font-size: 18px;
  line-height: 1.15;
}

body.dashboard-page.admin-console:not(.platform-page) .card-title p,
body.dashboard-page.admin-console:not(.platform-page) .meta-line,
body.dashboard-page.admin-console:not(.platform-page) .small {
  color: var(--console-muted);
  line-height: 1.38;
}

body.dashboard-page.admin-console:not(.platform-page) .card-head,
body.dashboard-page.admin-console:not(.platform-page) .row-actions,
body.dashboard-page.admin-console:not(.platform-page) .card-row {
  min-width: 0;
}

body.dashboard-page.admin-console:not(.platform-page) .status {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
}

body.dashboard-page.admin-console:not(.platform-page) .date-tile,
body.dashboard-page.admin-console:not(.platform-page) .mark {
  border-radius: 8px;
}

body.dashboard-page.admin-console:not(.platform-page) .table-shell {
  overflow: auto;
  background: #fff;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-table {
  min-width: 900px;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-table th {
  background: #f7faf8;
  color: var(--console-muted);
}

body.dashboard-page.admin-console:not(.platform-page) .admin-table td {
  color: var(--console-ink);
}

body.dashboard-page.admin-console:not(.platform-page) .welcome-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(21,153,71,.10), transparent 52%),
    var(--console-panel);
}

body.dashboard-page.admin-console:not(.platform-page) .welcome-panel h2 {
  margin: 4px 0 6px;
  color: var(--console-ink);
  font-size: 22px;
  line-height: 1.12;
}

body.dashboard-page.admin-console:not(.platform-page) .welcome-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--console-muted);
  line-height: 1.45;
}

body.dashboard-page.admin-console:not(.platform-page) .panel-kicker {
  color: var(--console-green-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.dashboard-page.admin-console:not(.platform-page) .welcome-actions,
body.dashboard-page.admin-console:not(.platform-page) .quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.dashboard-page.admin-console:not(.platform-page) .quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.dashboard-page.admin-console:not(.platform-page) .btn {
  min-height: 44px;
  padding: 10px 13px;
  line-height: 1.1;
}

body.dashboard-page.admin-console:not(.platform-page) .btn.ghost {
  background: #fff;
  color: var(--console-ink);
  border: 1px solid var(--console-line);
  box-shadow: none;
}

body.dashboard-page.admin-console:not(.platform-page) .profile-dropdown,
body.dashboard-page.admin-console:not(.platform-page) .action-list,
body.dashboard-page.admin-console:not(.platform-page) .modal-panel {
  border-radius: 8px;
}

@media (max-width: 1180px) {
  body.dashboard-page.admin-console:not(.platform-page) {
    --admin-sidebar-w: min(286px, 84vw);
  }

  body.dashboard-page.admin-console:not(.platform-page) .app:not(.player-portal),
  body.dashboard-page.admin-console:not(.platform-page) .dashboard-app {
    padding: 22px 18px 44px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-header {
    margin: -22px -18px 18px !important;
    padding: 18px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .mobile-menu {
    display: grid;
  }

  body.dashboard-page.admin-console:not(.platform-page) .app-nav {
    inset: 0 auto 0 0 !important;
    width: var(--admin-sidebar-w) !important;
    height: 100vh !important;
    border-radius: 0 8px 8px 0;
    transform: translateX(-105%) !important;
    transition: transform .22s ease;
  }

  body.dashboard-page.admin-console.drawer-open .app-nav,
  body.drawer-open.dashboard-page.admin-console .app-nav {
    transform: translateX(0) !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    border: 0;
    background: rgba(7, 27, 49, .36);
  }

  body.dashboard-page.admin-console.drawer-open .drawer-overlay,
  body.drawer-open.dashboard-page.admin-console .drawer-overlay {
    display: block;
  }

  body.dashboard-page.admin-console:not(.platform-page) .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .toolbar,
  body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.dashboard-page.admin-console.manager-home .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.dashboard-page.admin-console.manager-home .data-card:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body.dashboard-page.admin-console:not(.platform-page) .app:not(.player-portal),
  body.dashboard-page.admin-console:not(.platform-page) .dashboard-app {
    padding: 14px 12px 32px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    margin: -14px -12px 14px !important;
    padding: 12px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-title {
    grid-column: 1 / -1;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-title h1 {
    margin-top: 6px;
    font-size: 28px;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-title p,
  body.dashboard-page.admin-console:not(.platform-page) .breadcrumb,
  body.dashboard-page.admin-console:not(.platform-page) .header-action span,
  body.dashboard-page.admin-console:not(.platform-page) .profile-button strong,
  body.dashboard-page.admin-console:not(.platform-page) .profile-button .icon {
    display: none;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-actions {
    gap: 6px;
  }

  body.dashboard-page.admin-console:not(.platform-page) .header-action,
  body.dashboard-page.admin-console:not(.platform-page) .profile-button,
  body.dashboard-page.admin-console:not(.platform-page) .admin-actions > .icon-btn {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  body.dashboard-page.admin-console:not(.platform-page) .metric-grid,
  body.dashboard-page.admin-console:not(.platform-page) .data-grid,
  body.dashboard-page.admin-console:not(.platform-page) .toolbar,
  body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact,
  body.dashboard-page.admin-console.manager-home .data-grid,
  body.dashboard-page.admin-console:not(.platform-page) .quick-actions,
  body.dashboard-page.admin-console:not(.platform-page) .welcome-panel {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .data-grid.games-list {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .data-card.game-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body.dashboard-page.admin-console:not(.platform-page) .data-card.game-card .row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  body.dashboard-page.admin-console:not(.platform-page) .welcome-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.dashboard-page.admin-console:not(.platform-page) .modal-layer {
    padding: 10px;
    align-items: flex-end;
  }

  body.dashboard-page.admin-console:not(.platform-page) .modal-panel,
  body.dashboard-page.admin-console:not(.platform-page) .modal-panel.large,
  body.dashboard-page.admin-console:not(.platform-page) .modal-panel.side {
    width: 100%;
    height: min(92vh, 820px);
    max-height: 92vh;
    border-radius: 8px 8px 0 0;
  }
}

/* V1410 final override - use the full available workspace */
body:not(.auth-page) {
  --admin-sidebar-w: 270px;
  --admin-gutter: 24px;
}

body:not(.auth-page) .app:not(.player-portal),
body.dashboard-page .dashboard-app {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px 32px 48px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 18px) !important;
}

body:not(.auth-page) .app-nav,
body.dashboard-page .app-nav {
  left: var(--admin-gutter) !important;
  width: var(--admin-sidebar-w) !important;
}

body:not(.auth-page) .admin-header,
body.dashboard-page .admin-header {
  margin: -24px -32px 22px !important;
  padding: 22px 32px 18px !important;
}

body:not(.auth-page) .metric-grid,
body.dashboard-page .metric-grid {
  grid-template-columns: repeat(4, minmax(190px, 1fr)) !important;
}

body:not(.auth-page) .data-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
}

body:not(.auth-page) .data-grid.games-list {
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)) !important;
}

body.dashboard-page .data-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

body.dashboard-page .data-card {
  min-height: 230px !important;
}

body.dashboard-page .data-card:nth-child(1),
body.dashboard-page .data-card:nth-child(3) {
  grid-column: span 7;
}

body.dashboard-page .data-card:nth-child(2),
body.dashboard-page .data-card:nth-child(4) {
  grid-column: span 5;
}

body.dashboard-page .data-card:nth-child(3),
body.dashboard-page .data-card:nth-child(4) {
  min-height: 330px !important;
}

body:not(.auth-page) .toolbar {
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(170px, .7fr)) auto !important;
}

@media (min-width: 1500px) {
  body.dashboard-page .data-card:nth-child(1),
  body.dashboard-page .data-card:nth-child(3) {
    grid-column: span 8;
  }

  body.dashboard-page .data-card:nth-child(2),
  body.dashboard-page .data-card:nth-child(4) {
    grid-column: span 4;
  }
}

/* V1445 dashboard usability pass - no overlap, onboarding, rankings and prizes */
body:not(.auth-page) *,
body:not(.auth-page) *::before,
body:not(.auth-page) *::after {
  box-sizing: border-box;
}

body:not(.auth-page) .admin-header {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 16px !important;
  overflow: visible !important;
}

body:not(.auth-page) .admin-title,
body:not(.auth-page) .card-title,
body:not(.auth-page) .card-row > div,
body:not(.auth-page) .ranking-row > div {
  min-width: 0 !important;
}

body:not(.auth-page) .admin-title h1,
body:not(.auth-page) .admin-title p,
body:not(.auth-page) .card-title h2,
body:not(.auth-page) .card-title p,
body:not(.auth-page) .meta-line,
body:not(.auth-page) .ranking-row strong {
  overflow-wrap: anywhere;
}

body:not(.auth-page) .admin-actions,
body:not(.auth-page) .row-actions,
body:not(.auth-page) .quick-actions,
body:not(.auth-page) .welcome-actions {
  flex-wrap: wrap;
}

body:not(.auth-page) .admin-actions {
  justify-content: flex-end;
  min-width: 0;
}

body:not(.auth-page) .header-action {
  max-width: 190px;
}

body:not(.auth-page) .btn,
body:not(.auth-page) .icon-btn,
body:not(.auth-page) .profile-button,
body:not(.auth-page) .action-menu > summary {
  flex: 0 0 auto;
}

body:not(.auth-page) .data-card {
  position: relative;
  overflow: visible;
}

body:not(.auth-page) .card-row {
  flex-wrap: wrap;
}

body:not(.auth-page) .status {
  white-space: nowrap;
}

body:not(.auth-page) .action-menu {
  z-index: 12;
}

body:not(.auth-page) .action-menu[open] {
  z-index: 80;
}

body:not(.auth-page) .action-list {
  z-index: 90 !important;
}

body:not(.auth-page) .toolbar {
  overflow: visible;
}

body:not(.auth-page) .field,
body:not(.auth-page) .input {
  min-width: 0;
}

body.dashboard-page .welcome-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid rgba(8, 34, 55, .08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 168, 82, .10), transparent 48%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(8, 34, 55, .08);
}

body.dashboard-page .panel-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-2);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

body.dashboard-page .welcome-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 950;
}

body.dashboard-page .welcome-panel p {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--admin-muted);
  line-height: 1.45;
}

body.dashboard-page .welcome-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

body.dashboard-page .ranking-list,
body.dashboard-page .prize-list,
body.dashboard-page .help-steps {
  display: grid;
  gap: 10px;
}

body.dashboard-page .ranking-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(8, 34, 55, .08);
  border-radius: 8px;
  background: #f7fbf9;
}

body.dashboard-page .rank-number,
body.dashboard-page .player-score {
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 950;
}

body.dashboard-page .rank-number {
  width: 34px;
  height: 34px;
  background: #e5f6eb;
  color: var(--green-2);
}

body.dashboard-page .player-score {
  min-width: 46px;
  min-height: 38px;
  padding: 0 10px;
  background: var(--navy);
  color: #ffffff;
}

body.dashboard-page .prize-list div,
body.dashboard-page .help-steps div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(8, 34, 55, .08);
  border-radius: 8px;
  background: #f8fbf8;
}

body.dashboard-page .prize-list span,
body.dashboard-page .help-steps strong {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e5f6eb;
  color: var(--green-2);
}

body.dashboard-page .prize-list strong,
body.dashboard-page .help-steps span {
  color: var(--navy);
  font-weight: 900;
}

body.dashboard-page .prize-list p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.35;
}

body.dashboard-page .empty-state.compact {
  padding: 18px 12px;
}

@media (min-width: 1181px) {
  body.dashboard-page .player-ranking-card {
    grid-column: span 5;
  }

  body.dashboard-page .prize-card {
    grid-column: span 4;
  }

  body.dashboard-page .help-card {
    grid-column: span 3;
  }
}

@media (max-width: 1180px) {
  body:not(.auth-page) .admin-header {
    position: relative !important;
    top: auto !important;
  }

  body.dashboard-page .welcome-panel {
    grid-template-columns: 1fr;
  }

  body.dashboard-page .welcome-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  body:not(.auth-page) .admin-header {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  body:not(.auth-page) .admin-actions {
    max-width: 100%;
  }

  body:not(.auth-page) .header-action {
    max-width: 48px;
  }

  body:not(.auth-page) .profile-dropdown,
  body:not(.auth-page) .action-list {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: 12px !important;
    width: auto !important;
  }

  body.dashboard-page .welcome-panel {
    padding: 16px;
  }

  body.dashboard-page .welcome-actions,
  body.dashboard-page .welcome-actions .btn {
    width: 100%;
  }

  body.dashboard-page .ranking-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  body.dashboard-page .player-score {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 1180px) {
  body:not(.auth-page) .app:not(.player-portal),
  body.dashboard-page .dashboard-app {
    padding: 22px 18px 48px !important;
  }

  body:not(.auth-page) .app-nav,
  body.dashboard-page .app-nav {
    left: 0 !important;
    width: min(292px, 84vw) !important;
  }

  body:not(.auth-page) .admin-header,
  body.dashboard-page .admin-header {
    margin: -22px -18px 18px !important;
    padding: 18px !important;
  }

  body:not(.auth-page) .toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body:not(.auth-page) .metric-grid,
  body.dashboard-page .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.dashboard-page .data-grid,
  body:not(.auth-page) .data-grid,
  body:not(.auth-page) .data-grid.games-list {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-page .data-card:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body:not(.auth-page) .app:not(.player-portal),
  body.dashboard-page .dashboard-app {
    padding: 14px 12px 34px !important;
  }

  body:not(.auth-page) .admin-header,
  body.dashboard-page .admin-header {
    margin: -14px -12px 14px !important;
    padding: 12px !important;
  }

  body:not(.auth-page) .metric-grid,
  body.dashboard-page .metric-grid,
  body:not(.auth-page) .toolbar {
    grid-template-columns: 1fr !important;
  }
}

/* V1420 global admin shell - apply the light sidebar to every internal page */
body:not(.auth-page) {
  min-height: 100vh;
  background:
    radial-gradient(circle at 0 0, rgba(21, 168, 82, .09), transparent 34%),
    linear-gradient(135deg, #eef7f3 0%, #f8fbf8 46%, #edf5f8 100%) !important;
}

body:not(.auth-page) .app:not(.player-portal),
body.dashboard-page .dashboard-app {
  min-height: 100vh;
}

body:not(.auth-page) .app-nav,
body.dashboard-page .app-nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  top: 22px !important;
  bottom: 22px !important;
  height: calc(100vh - 44px) !important;
  padding: 24px 18px !important;
  gap: 8px !important;
  overflow-y: auto !important;
  border: 1px solid rgba(8, 34, 55, .08) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: 0 22px 54px rgba(8, 34, 55, .10) !important;
  backdrop-filter: blur(18px) !important;
}

body:not(.auth-page) .app-nav .nav-brand,
body.dashboard-page .app-nav .nav-brand {
  height: auto !important;
  min-height: 86px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
  padding: 0 10px 20px !important;
  border-bottom: 1px solid rgba(8, 34, 55, .10) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--navy) !important;
  box-shadow: none !important;
}

body:not(.auth-page) .app-nav .nav-brand img,
body.dashboard-page .app-nav .nav-brand img {
  width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
}

body:not(.auth-page) .app-nav .nav-brand::before,
body.dashboard-page .app-nav .nav-brand::before {
  display: none !important;
}

body:not(.auth-page) .app-nav .nav-brand span,
body.dashboard-page .app-nav .nav-brand span {
  font-size: 14px !important;
  color: var(--navy) !important;
  font-weight: 900 !important;
}

body:not(.auth-page) .sidebar-collapse,
body.dashboard-page .sidebar-collapse {
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 0 6px !important;
  border: 1px solid rgba(8, 34, 55, .10) !important;
  border-radius: 8px !important;
  background: #f7fbf9 !important;
  color: #40534d !important;
  font-weight: 800 !important;
}

body:not(.auth-page) .app-nav a:not(.nav-brand),
body.dashboard-page .app-nav a:not(.nav-brand) {
  height: 48px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  color: #54645f !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body:not(.auth-page) .app-nav a:not(.nav-brand) .icon,
body.dashboard-page .app-nav a:not(.nav-brand) .icon {
  width: 19px !important;
  height: 19px !important;
  stroke-width: 2 !important;
  color: #63756f !important;
}

body:not(.auth-page) .app-nav a:not(.nav-brand):hover,
body.dashboard-page .app-nav a:not(.nav-brand):hover {
  background: #eef8f2 !important;
  color: var(--navy) !important;
}

body:not(.auth-page) .app-nav .active,
body.dashboard-page .app-nav .active {
  background: #e4f7ec !important;
  color: var(--navy) !important;
  box-shadow: inset 4px 0 0 var(--green) !important;
}

body:not(.auth-page) .app-nav .active .icon,
body.dashboard-page .app-nav .active .icon {
  color: var(--green-2) !important;
}

@media (max-width: 1180px) {
  body:not(.auth-page) .app-nav,
  body.dashboard-page .app-nav {
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    border-radius: 0 8px 8px 0 !important;
    transform: translateX(-105%) !important;
  }

  body.drawer-open:not(.auth-page) .app-nav,
  body.menu-open:not(.auth-page) .app-nav,
  body.dashboard-page.drawer-open .app-nav,
  body.dashboard-page.menu-open .app-nav {
    transform: translateX(0) !important;
  }
}

/* V1455 player details modal */
.player-name-button {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 950;
  text-align: left;
  cursor: pointer;
}

.player-name-button strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.player-name-button:hover strong {
  color: var(--green-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.player-name-button .avatar-initial {
  margin-right: 0;
  flex: 0 0 36px;
}

.modal-panel.player-detail-modal {
  width: min(1120px, calc(100vw - 28px));
}

.player-detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.player-profile-card {
  min-height: 470px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 14%, rgba(158, 240, 191, .36), transparent 31%),
    linear-gradient(145deg, #071015 0%, #0b2e55 52%, #159947 100%);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(6, 27, 51, .18);
}

.player-profile-top,
.player-profile-bottom {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.player-profile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.player-profile-top > div {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.player-profile-top strong {
  font-size: 52px;
  line-height: .9;
  font-weight: 950;
}

.player-profile-top span,
.player-profile-top em,
.player-profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 950;
}

.player-profile-top em {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.player-profile-photo {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 250px;
}

.player-profile-photo::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
}

.player-profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/player-card-avatar.png") center bottom / 88% auto no-repeat;
  opacity: .98;
}

.player-profile-photo img {
  position: relative;
  z-index: 2;
  width: min(78%, 230px);
  max-height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .24));
}

.player-profile-photo:has(img)::after {
  display: none;
}

.player-profile-bottom {
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .28));
}

.player-profile-bottom h3 {
  margin: 0;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.player-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.player-detail-info {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 2px 0;
}

.player-detail-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.player-detail-head p {
  margin: 6px 0 0;
  color: var(--admin-muted);
}

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

.player-info-grid div,
.player-detail-note {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(8, 34, 55, .08);
  border-radius: 8px;
  background: #f8fbf8;
}

.player-info-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.player-info-grid strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.player-detail-note strong {
  color: var(--navy);
}

.player-detail-note p {
  margin: 6px 0 0;
  color: var(--admin-muted);
  line-height: 1.45;
}

@media (max-width: 820px) {
  .player-detail-layout,
  .player-info-grid {
    grid-template-columns: 1fr;
  }

  .player-profile-card {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .modal-panel.player-detail-modal {
    width: 100%;
  }

  .player-profile-card {
    min-height: 380px;
  }

  .player-profile-top strong {
    font-size: 44px;
  }

  .player-profile-photo {
    min-height: 210px;
  }
}

/* V1518 clickable player rows */
.admin-table tr[data-row-modal] {
  cursor: pointer;
}

.admin-table tr[data-row-modal]:hover td {
  background: #f3faf6;
}

/* V1528 visual cleanup: flatter shell, header/menu spacing and readable group cards */
body:not(.auth-page) {
  background: #f4f7f5 !important;
}

body:not(.auth-page) .admin-header,
body.dashboard-page .admin-header {
  z-index: 30 !important;
  background: rgba(244, 247, 245, .98) !important;
  box-shadow: 0 1px 0 rgba(8, 34, 55, .07) !important;
}

body:not(.auth-page) .app-nav,
body.dashboard-page .app-nav {
  z-index: 90 !important;
  background: #ffffff !important;
  box-shadow: 0 16px 36px rgba(8, 34, 55, .10) !important;
}

body:not(.auth-page) .metric-card,
body.dashboard-page .metric-card,
body:not(.auth-page) .data-card,
body.dashboard-page .data-card,
body:not(.auth-page) .toolbar {
  background: #ffffff !important;
  border-color: #dce6e1 !important;
  box-shadow: 0 12px 28px rgba(8, 34, 55, .07) !important;
}

body:not(.auth-page) .metric-card.action,
body.dashboard-page .metric-card.action {
  background: #061b33 !important;
}

body:not(.auth-page) .welcome-panel,
body.dashboard-page .welcome-panel,
.game-top,
.competition-top,
.manager-hero,
.charge-hero,
.player-profile-card {
  background: #ffffff !important;
  color: var(--navy) !important;
  border: 1px solid #dce6e1 !important;
  box-shadow: 0 12px 28px rgba(8, 34, 55, .07) !important;
}

.game-top h1,
.game-top p,
.competition-top h1,
.competition-top p,
.manager-hero h1,
.manager-hero p,
.player-profile-card,
.player-profile-bottom h3 {
  color: var(--navy) !important;
  text-shadow: none !important;
}

.game-top .eyebrow,
.competition-top .eyebrow,
.manager-hero .eyebrow {
  color: var(--green-2) !important;
}

.game-top .avatar,
.competition-top .avatar,
.manager-hero .brand-avatar {
  background: #f0f7f3 !important;
  color: var(--green-2) !important;
  border-color: #dce6e1 !important;
}

body:not(.auth-page) .app-nav .nav-brand {
  min-height: 74px !important;
  padding-bottom: 16px !important;
}

body:not(.auth-page) .admin-title h1,
body.dashboard-page .admin-title h1 {
  line-height: 1.04 !important;
}

.group-card {
  gap: 14px !important;
  overflow: visible !important;
}

.group-card .card-head {
  align-items: flex-start !important;
}

.group-info-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 2px 0 0 !important;
}

.group-info-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e1ebe5;
  border-radius: 8px;
  background: #f8fbf9;
}

.group-info-grid span,
.group-info-grid strong {
  display: block;
  min-width: 0;
}

.group-info-grid span {
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 900;
}

.group-info-grid strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.group-card .card-row {
  justify-content: space-between !important;
  gap: 8px !important;
}

@media (max-width: 1320px) {
  .group-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1180px) {
  body:not(.auth-page) .admin-header,
  body.dashboard-page .admin-header {
    z-index: 40 !important;
  }

  body:not(.auth-page) .app-nav,
  body.dashboard-page .app-nav {
    z-index: 100 !important;
  }
}

@media (max-width: 560px) {
  .group-info-grid {
    grid-template-columns: 1fr !important;
  }
}

/* V1538 player initials without artificial gradients */
body:not(.auth-page) .avatar-initial,
body:not(.auth-page) .player-name-button .avatar-initial {
  background: #0f8f45 !important;
  color: #ffffff !important;
  border: 1px solid rgba(6, 27, 51, .08) !important;
  box-shadow: 0 6px 14px rgba(15, 143, 69, .16) !important;
}

/* V1659 player card tiers */
.player-profile-card.player-tier-bronze,
.player-profile-card.player-tier-silver,
.player-profile-card.player-tier-gold {
  color: var(--tier-text) !important;
  background: var(--tier-bg) !important;
  border: 1px solid var(--tier-border) !important;
  box-shadow: 0 16px 34px var(--tier-shadow) !important;
}

.player-profile-card.player-tier-bronze {
  --tier-bg: #8a5a33;
  --tier-border: #b58255;
  --tier-text: #fff8ee;
  --tier-chip: rgba(255, 248, 238, .16);
  --tier-ring: rgba(255, 248, 238, .22);
  --tier-shadow: rgba(94, 54, 26, .22);
}

.player-profile-card.player-tier-silver {
  --tier-bg: #dfe5ea;
  --tier-border: #aebac5;
  --tier-text: #122234;
  --tier-chip: rgba(18, 34, 52, .08);
  --tier-ring: rgba(18, 34, 52, .16);
  --tier-shadow: rgba(77, 93, 110, .18);
}

.player-profile-card.player-tier-gold {
  --tier-bg: #d7a928;
  --tier-border: #a87812;
  --tier-text: #201604;
  --tier-chip: rgba(32, 22, 4, .1);
  --tier-ring: rgba(32, 22, 4, .16);
  --tier-shadow: rgba(128, 88, 10, .2);
}

.player-profile-card.player-tier-bronze *,
.player-profile-card.player-tier-silver *,
.player-profile-card.player-tier-gold * {
  color: inherit !important;
  text-shadow: none !important;
}

.player-profile-card.player-tier-bronze .player-profile-photo::before,
.player-profile-card.player-tier-silver .player-profile-photo::before,
.player-profile-card.player-tier-gold .player-profile-photo::before {
  border-color: var(--tier-ring) !important;
}

.player-profile-card.player-tier-bronze .player-profile-top span,
.player-profile-card.player-tier-bronze .player-profile-top em,
.player-profile-card.player-tier-bronze .player-profile-tags span,
.player-profile-card.player-tier-silver .player-profile-top span,
.player-profile-card.player-tier-silver .player-profile-top em,
.player-profile-card.player-tier-silver .player-profile-tags span,
.player-profile-card.player-tier-gold .player-profile-top span,
.player-profile-card.player-tier-gold .player-profile-top em,
.player-profile-card.player-tier-gold .player-profile-tags span {
  background: var(--tier-chip) !important;
  color: var(--tier-text) !important;
}

.player-profile-card.player-tier-bronze .player-profile-bottom,
.player-profile-card.player-tier-silver .player-profile-bottom,
.player-profile-card.player-tier-gold .player-profile-bottom {
  background: transparent !important;
}

.player-profile-card.player-tier-bronze .player-profile-photo::after,
.player-profile-card.player-tier-silver .player-profile-photo::after,
.player-profile-card.player-tier-gold .player-profile-photo::after {
  opacity: .9;
  filter: drop-shadow(0 12px 18px var(--tier-shadow));
}

.player-profile-card.player-tier-bronze .player-profile-bottom h3,
.player-profile-card.player-tier-silver .player-profile-bottom h3,
.player-profile-card.player-tier-gold .player-profile-bottom h3 {
  color: var(--tier-text) !important;
}

/* V1810 player stats input */
.player-stats-form {
  display: grid;
  gap: 16px;
}

.player-stats-summary {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid #dce6e1;
  border-radius: 8px;
  background: #f8fbf9;
}

.player-stats-summary span {
  color: var(--green-2);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.player-stats-summary strong {
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
}

.player-stats-summary small {
  color: var(--admin-muted);
  font-weight: 800;
}

/* V1839 per-game player stats */
.player-game-stats-list {
  display: grid;
  gap: 10px;
}

.player-game-stat-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dce6e1;
  border-radius: 8px;
  background: #ffffff;
}

.player-game-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.player-game-stat-head strong {
  min-width: 0;
  color: var(--navy);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.player-game-stat-head label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.player-game-stat-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(74px, 96px)) minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.player-game-stat-fields label {
  display: grid;
  gap: 5px;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 950;
}

.player-game-stat-fields .input {
  min-height: 40px;
}

.player-game-stat-fields .btn {
  min-height: 40px;
}

@media (max-width: 820px) {
  .player-game-stat-head,
  .player-game-stat-fields {
    grid-template-columns: 1fr;
  }

  .player-game-stat-head {
    display: grid;
  }

  .player-game-stat-fields .btn {
    width: 100%;
  }
}

/* V1857 game-first stats entry */
.modal-panel.game-stats-modal {
  width: min(1180px, calc(100vw - 28px));
}

.game-stats-form {
  display: grid;
  gap: 12px;
}

.game-stats-grid-head,
.game-stat-player-row {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) repeat(3, minmax(70px, 92px)) minmax(160px, 1.1fr);
  gap: 8px;
  align-items: center;
}

.game-stats-grid-head {
  padding: 0 4px;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.game-stat-player-row {
  padding: 10px;
  border: 1px solid #dce6e1;
  border-radius: 8px;
  background: #fff;
}

.game-stat-player-row label {
  display: grid;
  gap: 5px;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 950;
}

.game-stat-player-row .input {
  min-height: 40px;
}

.game-stat-presence {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 5px 8px !important;
  color: var(--navy) !important;
}

.game-stat-presence input {
  grid-row: 1 / span 2;
}

.game-stat-presence span,
.game-stat-presence small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.game-stat-presence span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 950;
}

.game-stat-presence small {
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 850;
}

@media (max-width: 900px) {
  .game-stats-grid-head {
    display: none;
  }

  .game-stat-player-row {
    grid-template-columns: 1fr 1fr;
  }

  .game-stat-presence,
  .game-stat-player-row label:last-child {
    grid-column: 1 / -1;
  }
}

/* V1926 clean charges chart */
.finance-chart.finance-chart-clean {
  height: auto;
  min-height: 228px;
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid #dce6e1;
  border-radius: 8px;
  background: #ffffff;
}

.finance-chart-clean header,
.finance-chart-clean footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.finance-chart-clean header strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  font-weight: 950;
}

.finance-chart-clean header small,
.finance-chart-clean header span,
.finance-chart-clean footer {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 850;
}

.finance-chart-clean header span {
  padding: 6px 10px;
  border: 1px solid #dce6e1;
  border-radius: 999px;
  background: #f8fbf9;
  white-space: nowrap;
}

.finance-chart-bars {
  min-height: 140px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 140px));
  gap: 14px;
  align-items: end;
  justify-content: start;
}

.finance-chart-bar {
  min-width: 0;
  height: 150px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  align-items: end;
}

.finance-chart-bar .bar-value,
.finance-chart-bar .bar-label {
  min-width: 0;
  color: var(--navy);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
  overflow-wrap: anywhere;
}

.finance-chart-bar .bar-label {
  color: var(--admin-muted);
  font-weight: 900;
}

.finance-chart-bar .bar-track {
  height: 100%;
  display: flex;
  align-items: end;
  padding: 0 8px;
  border-bottom: 1px solid #dce6e1;
}

.finance-chart-bar .bar-total {
  position: relative;
  width: 100%;
  min-height: 16px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border: 1px solid #06396f;
  border-radius: 6px 6px 0 0;
  background: #062645;
}

.finance-chart-bar .bar-total i {
  display: block;
  width: 100%;
  min-height: 0;
  background: #0ba95b;
}

.finance-chart-clean footer {
  justify-content: flex-start;
}

.finance-chart-clean footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.finance-chart-clean footer i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.finance-chart-clean .legend-total {
  background: #062645;
}

.finance-chart-clean .legend-paid {
  background: #0ba95b;
}

@media (max-width: 640px) {
  .finance-chart.finance-chart-clean {
    padding: 16px;
  }

  .finance-chart-clean header,
  .finance-chart-clean footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

/* V0048 - estrutura de referencia para campeonatos, mantendo paleta Fute10 */
body:has(.tournament-card) {
  --copa-primary: var(--brand);
  --copa-purple: #5860f2;
  --copa-ink: var(--ink);
  --copa-soft: var(--surface-2);
  background:
    radial-gradient(circle at top left, rgba(21,153,71,.13), transparent 32%),
    linear-gradient(180deg, #eef5f1 0%, #f8faf8 42%, #edf4ef 100%);
  color: var(--copa-ink);
}

body:has(.tournament-card) .app {
  max-width: 1320px;
  width: min(1320px, 100%);
}

body:has(.tournament-card) .admin-header {
  margin: -30px -34px 26px;
  padding: 0 34px;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: var(--copa-primary);
  border: 0;
  border-radius: 0;
  box-shadow: 0 4px 14px rgba(12, 109, 51, .16);
}

body:has(.tournament-card) .admin-title {
  display: flex;
  align-items: center;
  gap: 22px;
}

body:has(.tournament-card) .admin-title::before {
  content: "FUTE10";
  min-width: 118px;
  min-height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 23px;
  font-weight: 950;
  line-height: .86;
  text-transform: uppercase;
}

body:has(.tournament-card) .admin-title h1 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0;
}

body:has(.tournament-card) .admin-actions {
  gap: 14px;
}

body:has(.tournament-card) .header-action {
  width: auto;
  min-height: 36px;
  padding: 9px 15px;
  border-radius: 4px;
  background: var(--copa-purple);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

body:has(.tournament-card) .admin-actions > .icon-btn,
body:has(.tournament-card) .profile-button {
  border: 0;
  background: rgba(255,255,255,.2);
  box-shadow: none;
}

body:has(.tournament-card) .admin-title p,
body:has(.tournament-card) .breadcrumb,
body:has(.tournament-card) .metric-grid,
body:has(.tournament-card) .toolbar {
  display: none;
}

.tournament-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tournament-titlebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin: 18px 0 26px;
  text-align: center;
}

.tournament-titlebar h2 {
  margin: 8px 0 4px;
  font-size: 30px;
  font-weight: 650;
  color: #252525;
}

.tournament-titlebar p {
  margin: 0;
  color: #2e2e2e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tournament-titlebar p b {
  color: #7a7a7a;
}

.champ-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #514a96;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.champ-clock .icon {
  width: 18px;
  height: 18px;
}

.tournament-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.tournament-actions .btn,
.copa-toolbar .btn {
  width: auto;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #eef0f2;
  color: #3d4650;
  border: 1px solid #e3e5e8;
  box-shadow: none;
  font-size: 12px;
  text-transform: uppercase;
}

.copa-menu summary {
  width: 42px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #d7dadd;
  color: #4a5057;
  cursor: pointer;
  list-style: none;
}

.copa-menu summary::-webkit-details-marker {
  display: none;
}

.tournament-summary {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1.45fr) minmax(190px, .78fr) minmax(190px, .8fr);
  border: 1px solid #e5e5e1;
  background: #fff;
  min-height: 158px;
  box-shadow: 0 14px 35px rgba(22, 22, 16, .05);
}

.champ-cover {
  min-height: 158px;
  padding: 18px;
  display: grid;
  align-content: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 6, 6, .58), rgba(3, 6, 6, .08)),
    url("../img/lp-football-field-real.jpg") center/cover no-repeat;
}

.champ-cover span,
.champ-info span,
.champ-participants span,
.champ-format span {
  display: block;
  margin-bottom: 10px;
  color: #5b5f66;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.champ-cover span {
  color: rgba(255,255,255,.7);
}

.champ-cover strong {
  max-width: 220px;
  font-size: 27px;
  line-height: .95;
  text-transform: uppercase;
}

.champ-info,
.champ-participants,
.champ-format {
  padding: 22px;
  border-left: 1px solid #e5e5e1;
}

.champ-info p {
  margin: 0 0 10px;
  color: #4b4f56;
  font-size: 14px;
  line-height: 1.42;
}

.champ-info b {
  display: block;
  color: #1f2328;
  font-size: 13px;
  line-height: 1.5;
}

.champ-participants strong {
  display: block;
  margin: 8px 0 2px;
  color: #101010;
  font-size: 48px;
  line-height: 1;
}

.champ-participants small {
  color: #a4a8ad;
  font-size: 25px;
}

.champ-participants p,
.champ-format strong {
  margin: 0;
  color: #1f2328;
  font-size: 18px;
  font-weight: 950;
}

.champ-tabs {
  display: flex;
  gap: 28px;
  margin: 22px 0 28px;
  border-bottom: 1px solid #e2e2de;
}

.champ-tabs button {
  min-height: 46px;
  padding: 0 8px;
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: #2f3338;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.champ-tabs .active {
  color: var(--brand-dark);
  border-color: var(--brand);
}

.copa-toolbar {
  justify-content: flex-end;
  margin: -10px 0 14px;
}

.copa-bracket {
  min-height: 360px;
  padding: 16px 0 42px;
  border: 0;
  background: #f5f5f2;
}

.copa-bracket .bracket-stage {
  display: flex;
  gap: 72px;
  align-items: center;
  min-width: 980px;
  padding: 12px 0;
}

.copa-bracket .bracket-round {
  min-width: 360px;
  display: grid;
  gap: 28px;
  position: relative;
}

.copa-bracket .bracket-round h3 {
  justify-self: center;
  margin: 0 0 -10px;
  min-width: 96px;
  padding: 9px 16px;
  border: 1px solid #deded9;
  background: #fff;
  color: #b4b4b0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.copa-match-wrap {
  position: relative;
}

.copa-match-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -72px;
  width: 72px;
  height: 1px;
  background: #d8d8d4;
}

.bracket-round:last-child .copa-match-wrap::after {
  display: none;
}

.copa-match {
  width: 100%;
  min-height: 86px;
  padding: 16px 58px 16px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #dadad5;
  border-radius: 0;
  background: #fff;
  color: #171717;
  box-shadow: none;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.copa-match:hover {
  border-color: #bfc0b9;
  box-shadow: 0 14px 26px rgba(17, 17, 17, .07);
  transform: translateY(-1px);
}

.copa-match small {
  grid-column: 1 / -1;
  color: #9a9a96;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.copa-match > em {
  color: #c2c2bd;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.copa-team {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 24px;
  gap: 10px;
  align-items: center;
}

.copa-team + em + .copa-team {
  grid-template-columns: 24px 42px minmax(0, 1fr);
}

.copa-team span {
  min-width: 0;
  overflow: hidden;
  color: #171717;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copa-team i,
.score-versus i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.copa-team strong {
  font-size: 20px;
  text-align: center;
}

.copa-team.winner span,
.copa-team.winner strong {
  color: #0b8f42;
}

.match-gear {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #bec1c4;
  cursor: pointer;
}

.copa-modal {
  max-width: 680px;
  border-radius: 14px;
}

.copa-modal .modal-head {
  padding: 28px 30px 12px;
  border-bottom: 0;
}

.copa-modal .modal-head h2 {
  font-size: 28px;
  font-weight: 650;
}

.copa-modal .modal-body {
  padding: 12px 30px 26px;
}

.copa-modal .modal-foot {
  padding: 18px 30px 28px;
  border-top: 1px solid #efefef;
}

.score-versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #ececea;
  text-align: center;
}

.score-versus div {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.score-versus strong {
  color: #252525;
  font-size: 14px;
}

.score-versus small {
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.score-versus span {
  color: #c4c4c4;
  font-weight: 850;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0;
}

.score-grid label {
  color: #85858a;
  font-size: 12px;
  font-weight: 850;
}

.wo-panel {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 10px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: #f7f7f5;
}

.wo-panel strong,
.banner-preview span,
.banner-modal-preview > span {
  color: #7b73c8;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.wo-panel p {
  margin: 2px 0 0;
  color: #83878c;
  font-size: 12px;
}

.wo-panel button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dedee0;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.banner-preview,
.banner-modal-preview {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 18px;
}

.banner-preview > div,
.banner-card-purple {
  width: min(280px, 100%);
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(145deg, #202243, #5739e2 58%, #10152b);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 38px rgba(26, 25, 64, .22);
}

.banner-preview b,
.banner-card-purple b {
  font-size: 28px;
  line-height: 1;
}

.banner-preview strong,
.banner-card-purple strong {
  padding: 10px 14px;
  border-radius: 5px;
  background: #fff;
  color: #121827;
  font-size: 18px;
}

.banner-preview small,
.banner-card-purple small {
  color: rgba(255,255,255,.85);
  font-weight: 900;
}

.banner-dots {
  display: flex;
  gap: 8px;
}

.banner-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3e3e3;
}

.banner-dots i:first-child {
  background: #4b63ff;
}

.share-box {
  display: grid;
  gap: 14px;
}

.share-box label {
  color: #91949a;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.share-box div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
}

.share-box p {
  margin: 0;
  color: #737981;
  font-size: 13px;
  line-height: 1.45;
}

.copa-competition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 28px;
  margin-top: 30px;
  align-items: start;
}

.copa-table-card,
.copa-round-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e7e7e2;
  background: #fff;
  box-shadow: 0 14px 30px rgba(22, 22, 16, .045);
}

.copa-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.copa-section-head h3 {
  margin: 0;
  color: #111;
  font-size: 24px;
  font-weight: 850;
}

.copa-section-head span {
  color: #8e918d;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.copa-table-wrap {
  overflow: auto;
}

.copa-ranking-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: #111;
}

.copa-ranking-table th {
  padding: 0 10px 12px;
  color: #4d5256;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.copa-ranking-table th:nth-child(2),
.copa-ranking-table td:nth-child(2) {
  text-align: left;
}

.copa-ranking-table td {
  padding: 13px 10px;
  border-top: 1px solid #e8e8e4;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.copa-ranking-table .pos {
  width: 34px;
  color: #c9cbc8;
  font-size: 25px;
  font-weight: 900;
}

.team-cell {
  display: inline-grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.team-cell i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.team-cell strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-dots {
  display: inline-flex;
  gap: 3px;
  min-width: 70px;
}

.form-dots b {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #fff;
  font-size: 8px;
  line-height: 1;
}

.form-dots .V { background: #2fb35d; }
.form-dots .E { background: #b8bdc2; }
.form-dots .D { background: #d64045; }

.round-row {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid #e8e8e4;
  background: transparent;
  color: #111;
  cursor: pointer;
}

.round-row small {
  color: #a1a4a0;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.round-row span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.round-row b {
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-row b:first-child {
  text-align: right;
}

.round-row strong {
  color: #111;
  font-size: 16px;
  font-weight: 950;
  text-align: center;
}

.copa-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 8px;
}

.copa-stats-strip div {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 6px;
  background: var(--copa-primary);
  color: #fff;
}

.copa-stats-strip div:nth-child(4) {
  border: 1px solid #25a75a;
  background: #fff;
  color: #15803d;
}

.copa-stats-strip span {
  max-width: 120px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.copa-stats-strip strong {
  font-size: 34px;
  font-weight: 950;
}

.modal-layer[data-modal="champ-create"] .modal-panel {
  width: min(1060px, 100%);
}

.modal-layer[data-modal="champ-create"] .modal-body {
  background:
    linear-gradient(90deg, rgba(21,153,71,.1), transparent 36%),
    #fff;
}

.modal-layer[data-modal="champ-create"] .tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #f5f5f2;
}

.modal-layer[data-modal="champ-create"] .tabs button {
  min-height: 42px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.modal-layer[data-modal="champ-create"] .tabs button.active {
  background: var(--copa-primary);
  color: #fff;
}

.modal-layer[data-modal="champ-create"] [data-tab-panel] {
  padding: 24px 0 4px;
}

@media (max-width: 1099px) {
  body:has(.tournament-card) .admin-header {
    margin: -24px -22px 22px;
    padding: 12px 22px;
  }

  .tournament-summary {
    grid-template-columns: 1fr 1fr;
  }

  .copa-competition-grid {
    grid-template-columns: 1fr;
  }

  .champ-cover,
  .champ-info {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body:has(.tournament-card) .app {
    padding-inline: 12px;
  }

  body:has(.tournament-card) .admin-title {
    display: block;
  }

  .tournament-titlebar {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .tournament-actions {
    justify-content: stretch;
  }

  .tournament-actions .btn {
    flex: 1;
  }

  .tournament-summary {
    grid-template-columns: 1fr;
  }

  .champ-info,
  .champ-participants,
  .champ-format {
    border-left: 0;
    border-top: 1px solid #e5e5e1;
  }

  .champ-tabs {
    gap: 12px;
    overflow-x: auto;
  }

  .copa-bracket .bracket-stage {
    min-width: 720px;
    gap: 38px;
  }

  .copa-bracket .bracket-round {
    min-width: 300px;
  }

  .copa-match-wrap::after {
    right: -38px;
    width: 38px;
  }

  .score-grid,
  .wo-panel,
  .copa-stats-strip {
    grid-template-columns: 1fr;
  }

  .copa-table-card,
  .copa-round-card {
    padding: 18px;
  }

  .round-row span {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .round-row b:first-child {
    text-align: center;
  }

  .modal-layer[data-modal="champ-create"] .tabs {
    grid-template-columns: 1fr;
  }
}

/* V1206 - final console override after legacy blocks */
[hidden] {
  display: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) {
  --admin-sidebar-w: 264px;
  --admin-gutter: 22px;
  background:
    linear-gradient(135deg, rgba(21, 153, 71, .10), transparent 28%),
    linear-gradient(180deg, #f9fbfa 0%, #f4f7f5 100%) !important;
  color: #071b31;
  font-family: Manrope, Inter, Arial, Helvetica, sans-serif;
}

body.dashboard-page.admin-console:not(.platform-page) .app:not(.player-portal),
body.dashboard-page.admin-console:not(.platform-page) .dashboard-app {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 24px 30px 46px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 22px) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav {
  position: fixed !important;
  inset: var(--admin-gutter) auto var(--admin-gutter) var(--admin-gutter) !important;
  width: var(--admin-sidebar-w) !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;
  gap: 6px !important;
  padding: 14px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #071b31, #071522) !important;
  box-shadow: 0 24px 60px rgba(7, 27, 49, .20) !important;
  transform: none !important;
  z-index: 70 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand {
  height: 64px !important;
  margin: 0 0 10px !important;
  padding: 0 8px 12px !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand img {
  display: block !important;
  width: 92px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand::before {
  display: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand span {
  display: block !important;
  color: rgba(255,255,255,.66) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav a:not(.nav-brand) {
  height: 46px !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav a:not(.nav-brand):hover,
body.dashboard-page.admin-console:not(.platform-page) .app-nav .active {
  color: #fff !important;
  background: rgba(21, 153, 71, .20) !important;
  box-shadow: inset 3px 0 0 #159947 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .sidebar-collapse {
  display: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-header {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 16px !important;
  margin: -24px -30px 20px !important;
  padding: 22px 30px 16px !important;
  border-bottom: 1px solid rgba(7,27,49,.06) !important;
  background: linear-gradient(180deg, rgba(249,251,250,.98), rgba(249,251,250,.86)) !important;
  backdrop-filter: blur(18px);
}

body.dashboard-page.admin-console:not(.platform-page) .mobile-menu {
  display: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-title h1 {
  color: #071b31 !important;
  font-size: clamp(30px, 3.1vw, 44px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-title p,
body.dashboard-page.admin-console:not(.platform-page) .card-title p,
body.dashboard-page.admin-console:not(.platform-page) .meta-line,
body.dashboard-page.admin-console:not(.platform-page) .small {
  color: #64756d !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card,
body.dashboard-page.admin-console:not(.platform-page) .data-card,
body.dashboard-page.admin-console:not(.platform-page) .table-shell,
body.dashboard-page.admin-console:not(.platform-page) .toolbar,
body.dashboard-page.admin-console:not(.platform-page) .calendar-board,
body.dashboard-page.admin-console:not(.platform-page) .welcome-panel {
  border: 1px solid rgba(7,27,49,.10) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 18px 42px rgba(7,27,49,.08) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-grid {
  grid-template-columns: repeat(4, minmax(190px, 1fr)) !important;
  gap: 12px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card {
  min-height: 126px !important;
  padding: 17px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card.action {
  background: linear-gradient(135deg, #071b31, #0f3c66) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .data-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
  gap: 12px !important;
}

body.dashboard-page.admin-console.manager-home .data-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

body.dashboard-page.admin-console.manager-home .data-card:nth-child(1),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(3),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(5),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(7) {
  grid-column: span 7 !important;
}

body.dashboard-page.admin-console.manager-home .data-card:nth-child(2),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(4),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(6) {
  grid-column: span 5 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .data-card:nth-child(n) {
  min-height: auto !important;
}

body.dashboard-page.admin-console:not(.platform-page) .toolbar,
body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact {
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, .7fr)) auto !important;
  gap: 10px !important;
  padding: 14px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact {
  grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(150px, .7fr)) auto !important;
}

body.dashboard-page.admin-console:not(.platform-page) .input,
body.dashboard-page.admin-console:not(.platform-page) .btn,
body.dashboard-page.admin-console:not(.platform-page) .icon-btn,
body.dashboard-page.admin-console:not(.platform-page) .profile-button,
body.dashboard-page.admin-console:not(.platform-page) .action-menu > summary,
body.dashboard-page.admin-console:not(.platform-page) .date-tile,
body.dashboard-page.admin-console:not(.platform-page) .mark {
  border-radius: 8px !important;
}

@media (max-width: 1180px) {
  body.dashboard-page.admin-console:not(.platform-page) .app:not(.player-portal),
  body.dashboard-page.admin-console:not(.platform-page) .dashboard-app {
    padding: 22px 18px 44px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-header {
    margin: -22px -18px 18px !important;
    padding: 18px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .mobile-menu {
    display: grid !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .app-nav {
    inset: 0 auto 0 0 !important;
    width: min(286px, 84vw) !important;
    height: 100vh !important;
    border-radius: 0 8px 8px 0 !important;
    transform: translateX(-105%) !important;
    transition: transform .22s ease;
  }

  body.dashboard-page.admin-console.drawer-open .app-nav,
  body.drawer-open.dashboard-page.admin-console .app-nav {
    transform: translateX(0) !important;
  }

  body.dashboard-page.admin-console.drawer-open .drawer-overlay,
  body.drawer-open.dashboard-page.admin-console .drawer-overlay {
    display: block !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .toolbar,
  body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact,
  body.dashboard-page.admin-console.manager-home .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.dashboard-page.admin-console.manager-home .data-card:nth-child(n) {
    grid-column: auto !important;
  }
}

@media (max-width: 720px) {
  body.dashboard-page.admin-console:not(.platform-page) .app:not(.player-portal),
  body.dashboard-page.admin-console:not(.platform-page) .dashboard-app {
    padding: 14px 12px 32px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-header {
    grid-template-columns: auto 1fr auto !important;
    gap: 10px !important;
    margin: -14px -12px 14px !important;
    padding: 12px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-title {
    grid-column: 1 / -1 !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-title h1 {
    margin-top: 6px !important;
    font-size: 28px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-title p,
  body.dashboard-page.admin-console:not(.platform-page) .breadcrumb,
  body.dashboard-page.admin-console:not(.platform-page) .header-action span,
  body.dashboard-page.admin-console:not(.platform-page) .profile-button strong,
  body.dashboard-page.admin-console:not(.platform-page) .profile-button .icon {
    display: none !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .header-action,
  body.dashboard-page.admin-console:not(.platform-page) .profile-button,
  body.dashboard-page.admin-console:not(.platform-page) .admin-actions > .icon-btn {
    width: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .metric-grid,
  body.dashboard-page.admin-console:not(.platform-page) .data-grid,
  body.dashboard-page.admin-console:not(.platform-page) .toolbar,
  body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact,
  body.dashboard-page.admin-console.manager-home .data-grid,
  body.dashboard-page.admin-console:not(.platform-page) .quick-actions,
  body.dashboard-page.admin-console:not(.platform-page) .welcome-panel {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .data-grid.games-list {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .data-card.game-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .data-card.game-card .row-actions {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
  }

  body.dashboard-page.admin-console.players-page .admin-table td {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
  }

  body.dashboard-page.admin-console.players-page .admin-table td::before {
    color: #64756d;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
  }

  body.dashboard-page.admin-console.players-page .admin-table td:nth-child(1)::before { content: "Jogador"; }
  body.dashboard-page.admin-console.players-page .admin-table td:nth-child(2)::before { content: "Grupo"; }
  body.dashboard-page.admin-console.players-page .admin-table td:nth-child(3)::before { content: "Posição"; }
  body.dashboard-page.admin-console.players-page .admin-table td:nth-child(4)::before { content: "Telefone"; }
  body.dashboard-page.admin-console.players-page .admin-table td:nth-child(5)::before { content: "Mensalidade"; }
  body.dashboard-page.admin-console.players-page .admin-table td:nth-child(6)::before { content: "Financeiro"; }
  body.dashboard-page.admin-console.players-page .admin-table td:nth-child(7)::before { content: "Status"; }
  body.dashboard-page.admin-console.players-page .admin-table td:nth-child(8)::before { content: "Pagamento"; }
  body.dashboard-page.admin-console.players-page .admin-table td:nth-child(9)::before { content: "Ações"; }
}

/* V2018 platform analytics shell - restores the commercial admin layout */
body.dashboard-page.platform-page {
  --platform-sidebar-w: 276px;
  --platform-gutter: 24px;
  --platform-ink: #071b31;
  --platform-muted: #61736b;
  --platform-line: rgba(8, 34, 55, .10);
  --platform-green: #159947;
  --platform-green-2: #0b7d3a;
  --platform-bg: #f4f8f6;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(21,153,71,.08), transparent 34%),
    linear-gradient(180deg, #f7fbf9 0%, #edf5f1 100%) !important;
  color: var(--platform-ink);
}

body.dashboard-page.platform-page *,
body.dashboard-page.platform-page *::before,
body.dashboard-page.platform-page *::after {
  box-sizing: border-box;
}

body.platform-page .platform-sidebar {
  position: fixed;
  z-index: 40;
  top: 24px;
  left: 24px;
  bottom: 24px;
  width: var(--platform-sidebar-w);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 14px;
  border: 1px solid var(--platform-line);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 58px rgba(8, 34, 55, .10);
}

body.platform-page .platform-brand {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 14px;
  border-bottom: 1px solid rgba(8, 34, 55, .08);
  color: var(--platform-ink);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

body.platform-page .platform-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

body.platform-page .platform-sidebar nav {
  display: grid;
  gap: 6px;
}

body.platform-page .platform-sidebar nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border-radius: 8px;
  color: #5c6d65;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

body.platform-page .platform-sidebar nav a:hover,
body.platform-page .platform-sidebar nav a.active {
  color: var(--platform-green-2);
  background: #e8f7ee;
  box-shadow: inset 3px 0 0 var(--platform-green);
}

body.platform-page .platform-sidebar .icon,
body.platform-page .btn .icon,
body.platform-page .empty-state .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke-width: 2.4;
}

body.platform-page .platform-main {
  width: 100%;
  min-height: 100vh;
  padding: 24px 32px 48px calc(var(--platform-sidebar-w) + var(--platform-gutter) + 48px);
}

body.platform-page .platform-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: -24px -32px 22px;
  padding: 24px 32px 18px;
  background: linear-gradient(180deg, rgba(247,251,249,.98), rgba(247,251,249,.84));
  backdrop-filter: blur(16px);
}

body.platform-page .platform-kicker {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--platform-green-2);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

body.platform-page .platform-header h1,
body.platform-page .platform-command h2,
body.platform-page .platform-title h2 {
  margin: 0;
  color: var(--platform-ink);
  font-weight: 950;
  letter-spacing: 0;
}

body.platform-page .platform-header h1 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.02;
}

body.platform-page .platform-header p,
body.platform-page .platform-command p,
body.platform-page .platform-title p,
body.platform-page .empty-state p {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--platform-muted);
  line-height: 1.45;
}

body.platform-page .platform-range {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.platform-page .platform-range a {
  min-width: 48px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--platform-line);
  border-radius: 8px;
  background: #fff;
  color: #536861;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

body.platform-page .platform-range a.active,
body.platform-page .platform-range a:hover {
  border-color: rgba(21,153,71,.28);
  background: var(--platform-green);
  color: #fff;
}

body.platform-page .notice,
body.platform-page .platform-command,
body.platform-page .platform-panel,
body.platform-page .platform-scoreboard article {
  border: 1px solid var(--platform-line);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 44px rgba(8, 34, 55, .08);
}

body.platform-page .notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  color: var(--platform-green-2);
  font-weight: 850;
}

body.platform-page .platform-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 22px;
}

body.platform-page .platform-command span {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--platform-green-2);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

body.platform-page .platform-command h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
}

body.platform-page .platform-command-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body.platform-page .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(21,153,71,.22);
  border-radius: 8px;
  background: var(--platform-green);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

body.platform-page .btn.ghost {
  background: #fff;
  color: var(--platform-green-2);
}

body.platform-page .platform-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

body.platform-page .platform-scoreboard article {
  min-height: 138px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
}

body.platform-page .platform-scoreboard article.dark {
  border-color: rgba(7, 27, 49, .18);
  background: #071b31;
  color: #fff;
}

body.platform-page .platform-scoreboard span,
body.platform-page .health-grid span {
  color: var(--platform-muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

body.platform-page .platform-scoreboard article.dark span,
body.platform-page .platform-scoreboard article.dark small {
  color: rgba(255,255,255,.72);
}

body.platform-page .platform-scoreboard strong {
  display: block;
  color: inherit;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  font-weight: 950;
}

body.platform-page .platform-scoreboard small,
body.platform-page .platform-sale span,
body.platform-page .platform-sale small {
  color: var(--platform-muted);
  font-size: 12px;
  line-height: 1.35;
}

body.platform-page .platform-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

body.platform-page .platform-panel {
  min-width: 0;
  padding: 18px;
}

body.platform-page .platform-panel:nth-child(1),
body.platform-page .platform-panel:nth-child(3),
body.platform-page .platform-panel:nth-child(7),
body.platform-page .platform-panel:nth-child(8) {
  grid-column: span 7;
}

body.platform-page .platform-panel:nth-child(2),
body.platform-page .platform-panel:nth-child(4),
body.platform-page .platform-panel:nth-child(5),
body.platform-page .platform-panel:nth-child(6),
body.platform-page .platform-panel:nth-child(9) {
  grid-column: span 5;
}

body.platform-page .platform-panel.platform-events {
  grid-column: 1 / -1;
}

body.platform-page .platform-event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

body.platform-page .platform-event-item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(8,34,55,.08);
  border-radius: 8px;
  background: #f7fbf9;
}

body.platform-page .platform-event-item span {
  min-width: 0;
  color: var(--platform-muted);
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: break-word;
}

body.platform-page .platform-event-item strong {
  flex: 0 0 auto;
  color: var(--platform-ink);
  font-size: 20px;
  font-weight: 950;
}

body.platform-page .platform-wide {
  margin-top: 14px;
}

body.platform-page .platform-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 14px;
}

body.platform-page .platform-title h2 {
  font-size: 18px;
  line-height: 1.2;
}

body.platform-page .platform-title p {
  font-size: 13px;
}

body.platform-page .funnel-track,
body.platform-page .health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.platform-page .funnel-track div,
body.platform-page .health-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(8,34,55,.08);
  border-radius: 8px;
  background: #f7fbf9;
}

body.platform-page .funnel-track strong,
body.platform-page .health-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--platform-ink);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

body.platform-page .funnel-track span {
  color: var(--platform-muted);
  font-size: 12px;
  font-weight: 850;
}

body.platform-page .platform-row,
body.platform-page .platform-sale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(8,34,55,.08);
}

body.platform-page .platform-row span,
body.platform-page .platform-sale div {
  min-width: 0;
}

body.platform-page .platform-row span,
body.platform-page .platform-sale span {
  overflow-wrap: break-word;
  word-break: normal;
}

body.platform-page .platform-row strong,
body.platform-page .platform-sale b {
  flex: 0 0 auto;
  color: var(--platform-ink);
  font-weight: 950;
}

body.platform-page .sale-form {
  display: grid;
  gap: 11px;
}

body.platform-page .sale-form label {
  display: grid;
  gap: 6px;
  color: var(--platform-muted);
  font-size: 12px;
  font-weight: 900;
}

body.platform-page .sale-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.platform-page .input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(8,34,55,.12);
  border-radius: 8px;
  background: #fff;
  color: var(--platform-ink);
  font: inherit;
}

body.platform-page textarea.input {
  min-height: 74px;
  padding-top: 10px;
  resize: vertical;
}

body.platform-page .empty-state.compact {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 20px 12px;
  text-align: center;
}

body.platform-page .empty-state .mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #edf8f2;
  color: var(--platform-green-2);
}

body.platform-page .empty-state strong {
  color: var(--platform-ink);
  font-size: 14px;
  font-weight: 950;
}

body.platform-page .sale-status {
  display: inline-flex;
  justify-content: center;
  min-width: 74px;
  margin-top: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e8f7ee;
  color: var(--platform-green-2);
  font-weight: 950;
  text-transform: uppercase;
}

body.platform-page .platform-table {
  width: 100%;
  overflow-x: auto;
}

body.platform-page .platform-table table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

body.platform-page .platform-table th,
body.platform-page .platform-table td {
  padding: 12px 10px;
  border-top: 1px solid rgba(8,34,55,.08);
  text-align: left;
  vertical-align: top;
}

body.platform-page .platform-table th {
  color: var(--platform-muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

body.platform-page .platform-table td {
  color: var(--platform-ink);
  font-size: 13px;
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 1180px) {
  body.platform-page .platform-sidebar {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 12px;
  }

  body.platform-page .platform-main {
    padding: 12px 12px 34px;
  }

  body.platform-page .platform-header {
    position: relative;
    grid-template-columns: 1fr;
    margin: -12px -12px 14px;
    padding: 18px 12px;
  }

  body.platform-page .platform-range,
  body.platform-page .platform-command-actions {
    justify-content: flex-start;
  }

  body.platform-page .platform-scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.platform-page .platform-grid {
    grid-template-columns: 1fr;
  }

  body.platform-page .platform-panel:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body.platform-page .platform-sidebar {
    margin: 8px;
    padding: 12px;
  }

  body.platform-page .platform-brand {
    min-height: 48px;
    padding-bottom: 10px;
  }

  body.platform-page .platform-main {
    padding: 8px 8px 28px;
  }

  body.platform-page .platform-header {
    margin: -8px -8px 10px;
    padding: 14px 8px;
  }

  body.platform-page .platform-header h1 {
    font-size: 26px;
    line-height: 1.08;
  }

  body.platform-page .platform-header p,
  body.platform-page .platform-command p,
  body.platform-page .platform-title p,
  body.platform-page .empty-state p {
    font-size: 13px;
  }

  body.platform-page .platform-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.platform-page .platform-sidebar nav a {
    min-height: 42px;
  }

  body.platform-page .platform-sidebar nav a span {
    font-size: 12px;
  }

  body.platform-page .platform-command,
  body.platform-page .sale-form-row {
    grid-template-columns: 1fr;
  }

  body.platform-page .platform-command,
  body.platform-page .platform-panel,
  body.platform-page .platform-scoreboard article {
    padding: 14px;
  }

  body.platform-page .platform-command-actions,
  body.platform-page .platform-range {
    width: 100%;
  }

  body.platform-page .platform-command-actions .btn {
    flex: 1 1 150px;
  }

  body.platform-page .platform-scoreboard,
  body.platform-page .funnel-track,
  body.platform-page .health-grid {
    grid-template-columns: 1fr;
  }

  body.platform-page .platform-row,
  body.platform-page .platform-sale {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  body.platform-page .platform-table {
    overflow: visible;
  }

  body.platform-page .platform-table table,
  body.platform-page .platform-table thead,
  body.platform-page .platform-table tbody,
  body.platform-page .platform-table tr,
  body.platform-page .platform-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body.platform-page .platform-table table {
    border-collapse: separate;
    border-spacing: 0;
  }

  body.platform-page .platform-table thead {
    display: none;
  }

  body.platform-page .platform-table tr {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(8,34,55,.08);
    border-radius: 8px;
    background: #f7fbf9;
  }

  body.platform-page .platform-table td {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-top: 0;
    font-size: 12px;
  }

  body.platform-page .platform-table td::before {
    color: var(--platform-muted);
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
  }

  body.platform-page .platform-table td:nth-child(1)::before { content: "Horario"; }
  body.platform-page .platform-table td:nth-child(2)::before { content: "Evento"; }
  body.platform-page .platform-table td:nth-child(3)::before { content: "Pagina"; }
  body.platform-page .platform-table td:nth-child(4)::before { content: "Origem"; }
  body.platform-page .platform-table td:nth-child(5)::before { content: "Termo"; }
}

/* Fute10 admin UX refresh - 2026-08-06 */
body.dashboard-page.admin-console:not(.platform-page) {
  --admin-sidebar-w: 260px;
  --admin-gutter: 24px;
  --admin-bg: #f3f6f4;
  --admin-surface: #ffffff;
  --admin-ink: #101815;
  --admin-muted: #66736d;
  --admin-line: #dfe7e2;
  --admin-green: #159947;
  --admin-green-dark: #0b6d32;
  --admin-blue: #174ea6;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,0) 260px),
    var(--admin-bg) !important;
  color: var(--admin-ink);
}

body.dashboard-page.admin-console:not(.platform-page) .app:not(.player-portal),
body.dashboard-page.admin-console:not(.platform-page) .dashboard-app {
  width: 100% !important;
  max-width: 1480px !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 24px 30px 48px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 24px) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav {
  position: fixed !important;
  inset: 16px auto 16px 16px !important;
  transform: none !important;
  width: var(--admin-sidebar-w) !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column;
  gap: 6px !important;
  padding: 14px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 8px !important;
  background: #0c1411 !important;
  box-shadow: 0 24px 60px rgba(12,20,17,.22) !important;
  z-index: 70 !important;
  overflow: auto;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand {
  min-height: 88px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 0 8px !important;
  padding: 16px 12px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--admin-ink) !important;
  box-shadow: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand::before,
body.dashboard-page.admin-console:not(.platform-page) .sidebar-collapse {
  display: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand img {
  display: block !important;
  width: 190px !important;
  max-width: 88% !important;
  height: auto !important;
  object-fit: contain;
  filter: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .nav-brand span {
  display: block !important;
  font-size: 12px !important;
  line-height: 16px;
  color: var(--admin-muted) !important;
  font-weight: 850;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav a:not(.nav-brand) {
  width: 100%;
  min-height: 46px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 11px 12px !important;
  border-radius: 8px !important;
  color: rgba(255,255,255,.74) !important;
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 800 !important;
  background: transparent !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav a:not(.nav-brand) .icon {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  color: currentColor;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav a:not(.nav-brand):hover {
  background: rgba(255,255,255,.08) !important;
  color: #ffffff !important;
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav .active {
  background: #ffffff !important;
  color: var(--admin-green-dark) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}

body.dashboard-page.admin-console:not(.platform-page) .app-nav [data-nav-key="logout"] {
  margin-top: auto;
  color: rgba(255,255,255,.58) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  margin: -24px -30px 22px calc(-1 * (var(--admin-sidebar-w) + var(--admin-gutter) + 24px)) !important;
  padding: 20px 30px 16px calc(var(--admin-sidebar-w) + var(--admin-gutter) + 24px) !important;
  border-bottom: 1px solid rgba(16,24,21,.08);
  background: rgba(243,246,244,.92) !important;
  backdrop-filter: blur(18px);
}

body.dashboard-page.admin-console:not(.platform-page) .mobile-menu {
  display: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) .breadcrumb {
  margin: 0 0 4px !important;
  color: var(--admin-green-dark) !important;
  font-size: 12px !important;
  line-height: 16px;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: .06em;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-title h1 {
  margin: 0 !important;
  color: var(--admin-ink) !important;
  font-size: 30px !important;
  line-height: 34px !important;
  font-weight: 900 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-title p {
  max-width: 760px;
  margin: 5px 0 0 !important;
  color: var(--admin-muted) !important;
  font-size: 14px !important;
  line-height: 21px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .btn,
body.dashboard-page.admin-console:not(.platform-page) .header-action {
  min-height: 42px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) .header-action {
  width: auto !important;
  padding: 0 16px !important;
  background: var(--admin-green) !important;
  color: #fff !important;
}

body.dashboard-page.admin-console:not(.platform-page) .btn.ghost,
body.dashboard-page.admin-console:not(.platform-page) .btn.secondary {
  background: #f2f6f4 !important;
  color: var(--admin-green-dark) !important;
  border: 1px solid var(--admin-line) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .icon-btn,
body.dashboard-page.admin-console:not(.platform-page) .profile-button,
body.dashboard-page.admin-console:not(.platform-page) .action-menu > summary {
  border-radius: 8px !important;
  border: 1px solid var(--admin-line) !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.dashboard-page.admin-console:not(.platform-page) .profile-button {
  min-height: 42px !important;
  padding: 5px 10px 5px 5px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .profile-button span,
body.dashboard-page.admin-console:not(.platform-page) .avatar-initial {
  background: #e5f6eb !important;
  color: var(--admin-green-dark) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 0 18px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card,
body.dashboard-page.admin-console:not(.platform-page) .data-card,
body.dashboard-page.admin-console:not(.platform-page) .table-shell,
body.dashboard-page.admin-console:not(.platform-page) .toolbar,
body.dashboard-page.admin-console:not(.platform-page) .calendar-board,
body.dashboard-page.admin-console:not(.platform-page) .welcome-panel {
  border: 1px solid var(--admin-line) !important;
  border-radius: 8px !important;
  background: var(--admin-surface) !important;
  box-shadow: 0 10px 28px rgba(16,24,21,.06) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card {
  min-height: 112px;
  padding: 17px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card span {
  color: var(--admin-muted) !important;
  font-size: 12px !important;
  line-height: 16px;
  font-weight: 900 !important;
  text-transform: uppercase;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card strong {
  display: block;
  margin: 8px 0 2px;
  color: var(--admin-ink) !important;
  font-size: 28px !important;
  line-height: 32px !important;
  font-weight: 950 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card small {
  color: var(--admin-muted) !important;
  font-size: 12px !important;
  line-height: 16px;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card.action {
  background: #0c1411 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .metric-card.action span,
body.dashboard-page.admin-console:not(.platform-page) .metric-card.action strong,
body.dashboard-page.admin-console:not(.platform-page) .metric-card.action small {
  color: #fff !important;
}

body.dashboard-page.admin-console:not(.platform-page) .welcome-panel {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 18px !important;
  align-items: center;
  margin-bottom: 18px !important;
  padding: 22px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .welcome-panel h2 {
  margin: 5px 0 8px !important;
  font-size: 24px !important;
  line-height: 30px !important;
  color: var(--admin-ink) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .welcome-panel p {
  margin: 0 !important;
  color: var(--admin-muted) !important;
  line-height: 22px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .panel-kicker {
  color: var(--admin-green-dark) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: .06em;
}

body.dashboard-page.admin-console:not(.platform-page) .welcome-actions,
body.dashboard-page.admin-console:not(.platform-page) .quick-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .quick-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .toolbar,
body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact {
  display: grid !important;
  grid-template-columns: minmax(280px,1fr) repeat(3, minmax(150px, 210px)) auto !important;
  gap: 10px !important;
  align-items: end !important;
  margin: 0 0 18px !important;
  padding: 14px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact {
  grid-template-columns: minmax(280px,1fr) minmax(150px,220px) auto !important;
}

body.dashboard-page.admin-console:not(.platform-page) .field label {
  margin-bottom: 6px !important;
  color: var(--admin-muted) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .input {
  min-height: 42px !important;
  border-radius: 8px !important;
  border-color: var(--admin-line) !important;
  background: #fff !important;
}

body.dashboard-page.admin-console:not(.platform-page) .data-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.dashboard-page.admin-console.manager-home .data-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

body.dashboard-page.admin-console.manager-home .data-card:nth-child(1),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(3),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(5),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(7) {
  grid-column: span 7 !important;
}

body.dashboard-page.admin-console.manager-home .data-card:nth-child(2),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(4),
body.dashboard-page.admin-console.manager-home .data-card:nth-child(6) {
  grid-column: span 5 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .data-card:nth-child(n) {
  min-height: auto;
}

body.dashboard-page.admin-console:not(.platform-page) .data-card {
  padding: 18px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .card-title h2,
body.dashboard-page.admin-console:not(.platform-page) .card-title h3 {
  margin: 0 0 4px !important;
  color: var(--admin-ink) !important;
  font-size: 18px !important;
  line-height: 24px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .card-title p,
body.dashboard-page.admin-console:not(.platform-page) .meta-line,
body.dashboard-page.admin-console:not(.platform-page) .small {
  color: var(--admin-muted) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .card-head,
body.dashboard-page.admin-console:not(.platform-page) .row-actions,
body.dashboard-page.admin-console:not(.platform-page) .card-row {
  gap: 12px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .status {
  border-radius: 999px !important;
  padding: 6px 10px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

body.dashboard-page.admin-console:not(.platform-page) .date-tile,
body.dashboard-page.admin-console:not(.platform-page) .mark {
  border-radius: 8px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .table-shell {
  border-radius: 8px !important;
  overflow: auto !important;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-table {
  min-width: 940px;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-table th {
  background: #f8faf9 !important;
  color: var(--admin-muted) !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body.dashboard-page.admin-console:not(.platform-page) .admin-table td {
  color: var(--admin-ink) !important;
}

body.dashboard-page.admin-console:not(.platform-page) .profile-dropdown,
body.dashboard-page.admin-console:not(.platform-page) .action-list,
body.dashboard-page.admin-console:not(.platform-page) .modal-panel {
  border-radius: 8px !important;
}

body.dashboard-page.admin-console:not(.platform-page) .drawer-overlay {
  display: none;
}

@media (max-width: 1180px) {
  body.dashboard-page.admin-console:not(.platform-page) .app:not(.player-portal),
  body.dashboard-page.admin-console:not(.platform-page) .dashboard-app {
    padding: 18px 18px 42px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-header {
    margin: -18px -18px 18px !important;
    padding: 16px 18px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .mobile-menu {
    display: grid !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .app-nav {
    inset: 0 auto 0 0 !important;
    width: min(292px, 86vw) !important;
    border-radius: 0 8px 8px 0 !important;
    transform: translateX(-105%) !important;
  }

  body.dashboard-page.admin-console.drawer-open .app-nav,
  body.drawer-open.dashboard-page.admin-console .app-nav {
    transform: translateX(0) !important;
  }

  body.dashboard-page.admin-console.drawer-open .drawer-overlay,
  body.drawer-open.dashboard-page.admin-console .drawer-overlay {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 60;
    border: 0;
    background: rgba(12,20,17,.42);
  }

  body.dashboard-page.admin-console:not(.platform-page) .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .toolbar,
  body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact,
  body.dashboard-page.admin-console.manager-home .data-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  body.dashboard-page.admin-console.manager-home .data-card:nth-child(n) {
    grid-column: auto !important;
  }
}

@media (max-width: 720px) {
  body.dashboard-page.admin-console:not(.platform-page) .app:not(.player-portal),
  body.dashboard-page.admin-console:not(.platform-page) .dashboard-app {
    padding: 14px 12px 36px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-header {
    grid-template-columns: auto minmax(0,1fr) auto !important;
    margin: -14px -12px 14px !important;
    padding: 12px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-title {
    min-width: 0;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-title h1 {
    font-size: 22px !important;
    line-height: 27px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-title p,
  body.dashboard-page.admin-console:not(.platform-page) .breadcrumb,
  body.dashboard-page.admin-console:not(.platform-page) .header-action span,
  body.dashboard-page.admin-console:not(.platform-page) .profile-button strong,
  body.dashboard-page.admin-console:not(.platform-page) .profile-button .icon {
    display: none !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .admin-actions {
    gap: 6px !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .header-action,
  body.dashboard-page.admin-console:not(.platform-page) .profile-button,
  body.dashboard-page.admin-console:not(.platform-page) .admin-actions > .icon-btn {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .metric-grid,
  body.dashboard-page.admin-console:not(.platform-page) .data-grid,
  body.dashboard-page.admin-console:not(.platform-page) .toolbar,
  body.dashboard-page.admin-console:not(.platform-page) .toolbar.compact,
  body.dashboard-page.admin-console.manager-home .data-grid,
  body.dashboard-page.admin-console:not(.platform-page) .quick-actions,
  body.dashboard-page.admin-console:not(.platform-page) .welcome-panel {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-page.admin-console:not(.platform-page) .welcome-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* Fute10 admin cockpit V2 final override */
body.dashboard-page.admin-console.cockpit-dashboard {
  --cockpit-ink: #0f1720;
  --cockpit-green: #18b957;
  --cockpit-lime: #c8ff2e;
  --cockpit-line: #dce7e1;
  background:
    linear-gradient(90deg, rgba(7,19,31,.06) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbf8 0%, #eaf0ed 100%) !important;
  background-size: 32px 32px, auto !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .app-nav {
  background: linear-gradient(180deg, #07131f 0%, #08170f 100%) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .app-nav .nav-section {
  display: block;
  margin: 12px 8px 4px;
  color: rgba(255,255,255,.36);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.dashboard-page.admin-console.cockpit-dashboard .app-nav .active {
  background: var(--cockpit-lime) !important;
  color: #07131f !important;
  box-shadow: 0 12px 28px rgba(200,255,46,.18) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  grid-template-columns: minmax(0,1fr) 330px !important;
  padding: 34px !important;
  border: 0 !important;
  background:
    radial-gradient(circle at 82% 28%, rgba(200,255,46,.18), transparent 28%),
    linear-gradient(135deg, #07131f 0%, #0b1e17 58%, #173620 100%) !important;
  color: #fff !important;
  box-shadow: 0 28px 70px rgba(7,19,31,.24) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel::after {
  content: "";
  position: absolute;
  inset: auto 32px 24px auto;
  width: 156px;
  height: 156px;
  border: 1px solid rgba(200,255,46,.28);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(200,255,46,.22) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(200,255,46,.22) 49% 51%, transparent 52%);
  opacity: .7;
  pointer-events: none;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel .panel-kicker {
  color: var(--cockpit-lime) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel h2 {
  max-width: 760px;
  color: #fff !important;
  font-size: 38px !important;
  line-height: 44px !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel p {
  max-width: 640px;
  color: rgba(255,255,255,.76) !important;
  font-size: 16px !important;
  line-height: 25px !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-actions {
  position: relative;
  z-index: 1;
  display: grid !important;
  align-content: center;
  gap: 12px !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-actions .btn {
  min-height: 58px !important;
  justify-content: center;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-actions .btn:first-child {
  background: var(--cockpit-lime) !important;
  color: #07131f !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .welcome-actions .btn.ghost {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .metric-grid {
  grid-template-columns: 1.35fr 1fr 1fr 1.35fr !important;
  margin-top: -52px !important;
  position: relative;
  z-index: 2;
}

body.dashboard-page.admin-console.cockpit-dashboard .metric-card {
  min-height: 132px !important;
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(16px);
}

body.dashboard-page.admin-console.cockpit-dashboard .metric-card.action {
  background: linear-gradient(135deg, var(--cockpit-green), #0d7d3a) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .data-card:nth-child(1) {
  border-top: 4px solid var(--cockpit-green) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .data-card:nth-child(2) {
  background: #f7fff1 !important;
  border-color: rgba(24,185,87,.18) !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .quick-actions .btn:first-child,
body.dashboard-page.admin-console.cockpit-dashboard .header-action {
  background: var(--cockpit-ink) !important;
  color: #fff !important;
}

body.dashboard-page.admin-console.cockpit-dashboard .help-steps {
  display: grid;
  gap: 10px;
}

body.dashboard-page.admin-console.cockpit-dashboard .help-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--cockpit-line);
  border-radius: 8px;
  background: #f8fbf8;
}

body.dashboard-page.admin-console.cockpit-dashboard .help-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--cockpit-ink);
  color: #fff;
}

@media (max-width: 1180px) {
  body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-page.admin-console.cockpit-dashboard .metric-grid {
    margin-top: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel {
    min-height: 0;
    padding: 24px !important;
  }

  body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel h2 {
    font-size: 27px !important;
    line-height: 33px !important;
  }

  body.dashboard-page.admin-console.cockpit-dashboard .welcome-panel::after {
    display: none;
  }

  body.dashboard-page.admin-console.cockpit-dashboard .metric-grid {
    grid-template-columns: 1fr !important;
  }
}
