:root {
  --bg: #f8f4ef;
  --text: #1d1b19;
  --accent: #0f6e6e;
  --muted: #6b625b;
  --card: #ffffff;
  --border: #e1d9d1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--text);
  background: radial-gradient(circle at top, #fff7ef, var(--bg));
  min-height: 100vh;
}

.container {
  width: min(960px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: #5a5a5a;
  color: #fff;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #777;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}

.brand-text {
  line-height: 1.12;
}

.brand-title {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-tag {
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
  padding: 6px 6px;
  border-radius: 8px;
  transition: background 120ms ease, opacity 120ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}
.nav-link-active {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.sports-wrap {
  position: relative;
}

.sports-details {
  cursor: pointer;
}

.summary {
  list-style: none;
  user-select: none;
}

.caret {
  opacity: 0.9;
  margin-left: 4px;
}

.mega-menu {
  position: absolute;
  top: 34px;
  left: 0;
  width: min(760px, calc(100vw - 24px));
  background: #2f2f2f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow-x: hidden;
}

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

.col {
  padding: 6px 6px 8px;
}

.col-title {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.25px;
  margin-bottom: 8px;
  opacity: 0.95;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.menu-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 12px;
  padding: 4px 2px;
  border-radius: 6px;
  transition: color 120ms ease, background 120ms ease;
}

.menu-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-footnote {
  margin-top: 10px;
  font-size: 11px;
  opacity: 0.65;
}

/* Search & Auth Group */
.search-auth-group {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.search {
  display: flex;
  justify-content: flex-end;
}

.search input {
  width: 280px;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-size: 0.95rem;
  background: #f5f2ee;
}

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

.mode-tabs-wrap {
  width: 100%;
  background: transparent;
  position: relative;
  z-index: 1;
  padding: 14px 0 10px;
  margin-bottom: 10px;
}

.mode-tabs-wrap .container {
  display: flex;
  justify-content: center;
}

.mode-tabs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mode-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  min-width: 108px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.mode-tab:hover {
  background: var(--bg);
  border-color: var(--border);
}

.mode-tab.active {
  background: var(--accent);
  color: var(--card);
  border-color: var(--accent);
}

.mode-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mode-placeholder {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}

.mode-placeholder h2 {
  margin: 0 0 0.5rem;
}

.mode-placeholder p {
  margin: 0;
  color: var(--muted);
}

.filters {
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}

#individualModePanel > section:last-child h2 {
  margin-top: 0.25rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 1rem 1.2rem;
  padding: 0.4rem 0;
  align-items: end;
}

.filter-actions {
  margin-top: 0.7rem;
  display: flex;
  justify-content: flex-start;
}

.apply-filters-btn {
  appearance: none;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 0.62rem 0.95rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.apply-filters-btn:hover {
  transform: translateY(-1px);
  background: #0d5c5c;
  border-color: #0d5c5c;
}

.filter-field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.filter-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.filter-field select,
.filter-field input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.72rem 0.88rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--card);
  color: var(--text);
  font-family: inherit;
}

.filter-field select:focus-visible,
.filter-field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.status {
  min-height: 1.5rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.records {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.record {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.record:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.record h3 {
  margin: 0 0 0.5rem;
}

.record p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

@media (max-width: 1024px) {
  .topbar-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    order: 2;
  }

  .search-auth-group {
    order: 3;
    width: 100%;
  }

  .search {
    flex: 1;
  }

  .search input {
    width: 100%;
  }

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

@media (max-width: 640px) {
  .mode-tabs-wrap {
    padding-top: 10px;
  }

  .mode-tabs-container {
    display: flex;
    width: 100%;
    overflow-x: auto;
    margin-top: 0;
    padding: 8px 10px;
    gap: 8px;
  }

  .mode-tab {
    white-space: nowrap;
    min-width: 94px;
    padding: 0.5rem 0.9rem;
  }

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

  .col-title,
  .menu-link {
    font-size: 11.5px;
  }

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

@media (max-width: 1024px) {
  .filter-grid {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }
}

/* Stats Table Styles */
.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--card);
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.pagination-info {
  color: var(--muted);
}

.pagination-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.advanced-toggle {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.advanced-toggle:hover {
  background: #f5f5f5;
  border-color: #999;
}

.per-page-selector {
  padding: 4px 8px;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  background: white;
  font-size: 13px;
  cursor: pointer;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-nav button {
  padding: 6px 12px;
  border: 1px solid #d3d3d3;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.page-nav button:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #999;
}

.page-nav button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-numbers {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

/* Stat Category Tabs (for baseball/softball) */
.stat-category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px;
  background: var(--card);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stat-tab {
  flex: 1;
  padding: 10px 20px;
  border: 1px solid #d3d3d3;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  color: var(--text);
  font-family: inherit;
}

.stat-tab:hover {
  background: #f5f5f5;
  border-color: #999;
}

.stat-tab.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.stat-tab.active:hover {
  background: #0d5858;
  border-color: #0d5858;
}

.stats-table-container {
  width: 100%;
  overflow-x: auto;
  background: var(--card);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.stats-table thead {
  background: #f7f7f7;
  border-bottom: 2px solid #d3d3d3;
}

.stats-table th {
  padding: 12px 8px;
  text-align: left;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  position: relative;
  transition: background 0.15s ease;
}

.stats-table th:hover {
  background: #ebebeb;
}

.stats-table th[data-sort]::after {
  content: "⇅";
  opacity: 0.3;
  margin-left: 4px;
  font-size: 10px;
}

.stats-table th.sort-asc::after {
  content: "▲";
  opacity: 1;
}

.stats-table th.sort-desc::after {
  content: "▼";
  opacity: 1;
}

.stats-table tbody tr {
  border-bottom: 1px solid #e8e8e8;
  transition: background 0.12s ease;
}

.stats-table tbody tr:hover {
  background: #f9f9f9;
}

.stats-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.stats-table tbody tr:nth-child(even):hover {
  background: #f5f5f5;
}

.stats-table td {
  padding: 10px 8px;
  color: var(--text);
  min-height: 1em;
}

.stats-table td:empty::after {
  content: "—";
  color: #ccc;
  font-size: 11px;
}

.stats-table td.athlete-name {
  font-weight: 600;
  color: var(--accent);
}
/* Active players (latest season) */
.stats-table tr.active-player td {
  font-weight: 700;
}

.stats-table td:first-child {
  color: var(--muted);
  font-size: 12px;
}

.soccer-review-legend {
  margin-top: 10px;
  color: var(--muted);
}

/* Numeric columns right-aligned */
.stats-table th:nth-child(n+6),
.stats-table td:nth-child(n+6) {
  text-align: right;
}

/* Auth Section - Login Button */
.auth-section {
  display: flex;
  align-items: center;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.login-icon {
  font-size: 16px;
}

.login-text {
  font-weight: 600;
}

/* Mobile Responsive Updates */
@media (max-width: 1024px) {
  .topbar-container {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .search-auth-group {
    order: 3;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 12px;
  }

  .search {
    flex: 1;
  }

  .search input {
    width: 100%;
  }

  .nav {
    font-size: 12px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .mega-menu {
    width: calc(100vw - 32px);
    left: 50%;
    transform: translateX(-50%);
  }

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

@media (max-width: 768px) {
  .pagination-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .pagination-actions {
    width: 100%;
    justify-content: space-between;
  }

  .stats-table {
    font-size: 11px;
  }

  .stats-table th,
  .stats-table td {
    padding: 8px 4px;
  }

  .topbar-container {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-title {
    font-size: 13px;
  }

  .brand-tag {
    font-size: 10px;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .search-auth-group {
    flex-direction: row;
    gap: 8px;
  }

  .search input {
    font-size: 14px;
    padding: 0.5rem 0.7rem;
  }

  .login-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .mega-menu {
    top: 30px;
  }

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

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

/* ============================================
   LANDING PAGE STYLES
   ============================================ */

/* Landing Page Body */
body.landing-page {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100vh;
  background: #000;
}

/* Video Background Container */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(1100px 640px at 18% 8%, rgba(22, 44, 66, 0.72) 0%, rgba(22, 44, 66, 0) 58%),
    radial-gradient(900px 460px at 95% -6%, rgba(18, 62, 82, 0.58) 0%, rgba(18, 62, 82, 0) 54%),
    #05080f;
}

/* Video Element Styling */
.video-background video,
.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.45s ease-in;
}

.video-background video.loaded {
  opacity: 1;
}

/* YouTube iframe specific sizing */
.video-background iframe {
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 aspect ratio */
  opacity: 0.7;
}

/* Temporary Placeholder (gradient background until video added) */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5f7e 50%, #0f6e6e 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Dark Overlay for Text Readability */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Landing Content Container */
.landing-content {
  position: relative;
  z-index: 3;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 60px 20px 40px;
  color: #fff;
  text-align: center;
}

/* Center Content */
.landing-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  animation: fadeInUp 1.2s ease-out;
}

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

/* Logo */
.landing-logo {
  margin-bottom: 24px;
  animation: fadeInUp 1s ease-out;
}

.logo-circle {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.logo-circle:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Title */
.landing-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: bold;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1.2s ease-out;
}

/* Tagline */
.landing-tagline {
  font-size: clamp(16px, 2.5vw, 22px);
  margin: 0 0 48px 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1.4s ease-out;
}

/* Enter Portal Button */
.enter-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #0a5252 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
  animation: fadeInUp 1.6s ease-out;
}

.enter-portal-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, #0a5252 0%, var(--accent) 100%);
  border-color: rgba(255, 255, 255, 0.5);
}

.enter-portal-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-icon {
  font-size: 24px;
}

.btn-text {
  font-family: "Georgia", "Times New Roman", serif;
}

/* Quick Links */
.quick-links {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1.8s ease-out;
}

.quick-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.quick-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
}

/* Landing Footer */
.landing-footer {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  animation: fadeInUp 2s ease-out;
}

.landing-footer p {
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .landing-content {
    padding: 40px 16px 30px;
  }

  .logo-circle {
    width: 90px;
    height: 90px;
    font-size: 36px;
  }

  .landing-title {
    font-size: 32px;
  }

  .landing-tagline {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .enter-portal-btn {
    padding: 14px 32px;
    font-size: 18px;
  }

  .quick-links {
    margin-top: 24px;
    font-size: 14px;
  }

  .landing-footer {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .landing-title {
    font-size: 24px;
  }

  .landing-tagline {
    font-size: 14px;
  }

  .enter-portal-btn {
    padding: 12px 24px;
    font-size: 16px;
  }

  .btn-icon {
    font-size: 20px;
  }

  .quick-links {
    gap: 8px;
    font-size: 13px;
  }
}
/* Extended eligibility players (career-extended view) */
.stats-table td.athlete-name.extended-player {
  color: #000 !important;
}

/* ===== LANDING HOME TRANSITION ===== */
/* ===== LANDING HOME TRANSITION ===== */

body.landing-shell {
  background: #000;
  overflow: hidden;
}

body.landing-shell.show-home {
  background: #000;
}

.video-overlay-strong {
  background: rgba(0, 0, 0, 0.58);
  transition: background 0.45s ease;
}

.video-fade-out {
  opacity: 0 !important;
  transition: opacity 0.45s ease;
}

.landing-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(6, 12, 18, 0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(2, 8, 16, 0.16);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.landing-content-home {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 82px 20px 24px;
}

.landing-center-home {
  width: min(900px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.intro-only {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.search-hero {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  width: min(860px, 100%);
  margin-top: 0;
  display: grid;
  justify-items: center;
  align-content: center;
}

.home-headline,
.home-subheadline,
.home-search-input,
.home-search-btn,
.landing-topbar,
.nav,
.login-btn,
.brand-title,
.brand-tag {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-headline {
  margin: 0 0 6px;
  max-width: 760px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 620;
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.home-subheadline {
  margin: 0 auto 10px;
  max-width: 680px;
  font-size: clamp(13px, 1.02vw, 17px);
  line-height: 1.33;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.home-search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(680px, 92vw);
  margin: 0 auto;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.home-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.97);
  color: #161616;
  border-radius: 999px;
  padding: 0.78rem 0.98rem;
  font-size: 0.92rem;
}

.home-search-btn {
  border: none;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.home-search-btn:hover {
  transform: translateY(-1px);
  background: #0d5c5c;
}

body.landing-shell.show-home .landing-topbar {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  box-shadow: 0 18px 34px rgba(2, 8, 16, 0.16);
}

body.landing-shell.show-home .search-hero {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.landing-shell.show-home .intro-only {
  opacity: 0;
  transform: translateY(-12px);
}

body.landing-shell.show-home .video-overlay-strong {
  background: rgba(0, 0, 0, 0.96);
}

@media (max-width: 768px) {
  .landing-content-home {
    padding: 94px 16px 34px;
  }

  .landing-center-home,
  .search-hero,
  .home-search-form {
    width: min(100%, 420px);
  }

  .home-headline {
    margin-bottom: 8px;
    font-size: clamp(28px, 9vw, 40px);
  }

  .home-subheadline {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.45;
  }

  .home-search-form {
    flex-direction: column;
    gap: 8px;
    border-radius: 22px;
    padding: 10px;
    background: rgba(8, 16, 24, 0.52);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .home-search-input,
  .home-search-btn {
    width: 100%;
  }

  .home-search-input {
    padding: 0.88rem 1rem;
    font-size: 0.95rem;
  }

  .home-search-btn {
    min-height: 48px;
  }
}

body.landing-shell.search-active .video-overlay-strong {
  background: rgba(0, 0, 0, 0.97);
}

body.landing-shell.video-unavailable .video-background video {
  display: none;
}

/* ===== PUBLIC SHELL ===== */
.public-page {
  --bg: #0b1118;
  --text: #e6edf5;
  --muted: #9fb0c3;
  --card: #111d2b;
  --border: #2b3b4f;
  --accent: #17b897;
  margin: 0;
  min-height: 100vh;
  color: #e6edf5;
  background:
    radial-gradient(1200px 700px at 20% -10%, #1b2b3b 0%, rgba(27, 43, 59, 0) 55%),
    radial-gradient(900px 500px at 110% 10%, #16303f 0%, rgba(22, 48, 63, 0) 50%),
    #0b1118;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.public-nav-open,
body.public-nav-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.public-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  overflow: visible;
  background: rgba(10, 16, 24, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 26px rgba(2, 8, 16, 0.12);
}

.landing-topbar.public-topbar {
  position: fixed;
  z-index: 90;
  background: rgba(6, 12, 18, 0.72);
}

.public-topbar .topbar-container {
  max-width: 1240px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  position: relative;
  align-items: center;
  min-height: 68px;
}

.public-nav-desktop {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.public-nav-backdrop {
  display: none;
}

.public-nav-overlay-root {
  position: relative;
  z-index: 12000;
}

.public-nav-flyout-shell {
  display: none;
}

.public-nav-flyout,
.public-nav-flyout-links {
  min-width: 0;
  overflow-x: hidden;
}

.public-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(181, 204, 224, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(21, 33, 46, 0.76) 0%, rgba(11, 20, 31, 0.76) 100%);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 28px rgba(2, 8, 16, 0.2);
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 65;
  justify-self: end;
  flex-shrink: 0;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.public-nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(210, 226, 241, 0.24);
  background: linear-gradient(180deg, rgba(25, 40, 55, 0.82) 0%, rgba(13, 24, 36, 0.82) 100%);
}

.public-nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #eef6ff;
  transition: transform 160ms ease, opacity 160ms ease;
}

.public-topbar.is-nav-open .public-nav-toggle span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.public-topbar.is-nav-open .public-nav-toggle span:nth-child(3) {
  opacity: 0;
}

.public-topbar.is-nav-open .public-nav-toggle span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.public-nav-panel-head,
.public-nav-close {
  display: none;
}

.public-nav-toggle:focus-visible,
.public-nav-close:focus-visible {
  outline: 2px solid #17b897;
  outline-offset: 2px;
}

.public-main {
  width: min(1240px, 94vw);
  margin: 16px auto 26px;
  display: grid;
  gap: 12px;
}

.public-main.container {
  width: min(1240px, 94vw);
}

.public-page .filters {
  margin: 0 auto;
  width: 100%;
  padding: 14px;
  border: 1px solid #2b3b4f;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.95) 0%, rgba(12, 19, 29, 0.95) 100%);
  box-shadow: 0 14px 34px rgba(2, 8, 16, 0.34);
}

.public-page .filter-grid {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px 14px;
  padding: 0;
}

.public-page .filter-field {
  gap: 6px;
}

.public-page .filter-field label {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #97adc3;
}

.public-page .filter-field select,
.public-page .filter-field input {
  padding: 0.7rem 0.8rem;
  border: 1px solid #33475f;
  border-radius: 12px;
  background: #0f1b29;
  color: #e8f1fb;
  font-size: 0.9rem;
}

.public-page .filter-actions {
  margin-top: 12px;
}

.public-page .apply-filters-btn {
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 12px;
}

.public-page .status {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #97adc3;
}

.stats-results-section {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
}

.stats-results-section h2 {
  margin: 0;
  font-size: 1rem;
  color: #edf5ff;
}

.stats-results-shell {
  width: 100%;
  min-width: 0;
}

.public-page .stats-results-card {
  width: 100%;
  border: 1px solid #2a3a4c;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13, 21, 31, 0.96) 0%, rgba(10, 17, 25, 0.98) 100%);
  box-shadow: 0 16px 34px rgba(2, 8, 16, 0.34);
  overflow: hidden;
}

.public-page .pagination-controls {
  padding: 12px 14px;
  border-bottom: 1px solid #223245;
  border-radius: 0;
  background: rgba(18, 29, 42, 0.95);
  font-size: 0.78rem;
  gap: 12px;
}

.public-page .pagination-info {
  color: #a7bbcf;
  line-height: 1.4;
}

.public-page .pagination-actions {
  justify-content: flex-end;
  gap: 10px;
}

.public-page .page-size-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a7bbcf;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.public-page .advanced-toggle,
.public-page .per-page-selector,
.public-page .page-nav button {
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid #33475f;
  background: #0f1b29;
  color: #e8f1fb;
  font-family: inherit;
  font-size: 0.8rem;
}

.public-page .advanced-toggle {
  padding: 0.46rem 0.78rem;
  font-weight: 700;
}

.public-page .advanced-toggle:hover,
.public-page .page-nav button:hover:not(:disabled) {
  background: #13263b;
  border-color: #3e5772;
}

.public-page .per-page-selector {
  padding: 0.45rem 0.65rem;
}

.public-page .page-nav {
  gap: 8px;
  flex-wrap: wrap;
}

.public-page .page-nav button {
  padding: 0.45rem 0.72rem;
  font-weight: 700;
}

.public-page .page-numbers {
  color: #9cb0c3;
  font-size: 0.78rem;
}

.public-page .stat-category-tabs {
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding: 12px 14px 0;
  background: transparent;
  box-shadow: none;
}

.public-page .stat-tab {
  flex: 0 0 auto;
  padding: 0.48rem 0.82rem;
  border: 1px solid #30445a;
  background: #0f1b29;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #bdd0e4;
}

.public-page .stat-tab:hover {
  background: #13263b;
  border-color: #41617f;
}

.public-page .stat-tab.active {
  background: rgba(23, 184, 151, 0.16);
  color: #d9fff7;
  border-color: #17b897;
}

.public-page .stats-table-container {
  min-width: 0;
  background: transparent;
  box-shadow: none;
}

.public-page .stats-table {
  min-width: 720px;
  font-size: 0.8rem;
  line-height: 1.35;
}

.public-page .stats-table thead {
  background: #172637;
  border-bottom: 1px solid #25384d;
}

.public-page .stats-table th {
  padding: 10px 10px;
  color: #dce8f5;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.public-page .stats-table th:hover {
  background: #1b2d41;
}

.public-page .stats-table th[data-sort]::after {
  content: "";
  display: inline-block;
  width: 0.7rem;
  margin-left: 4px;
  color: #80a1c1;
  opacity: 0.8;
  font-size: 0.68rem;
}

.public-page .stats-table th.sort-asc::after {
  content: "^";
}

.public-page .stats-table th.sort-desc::after {
  content: "v";
}

.public-page .stats-table tbody tr {
  border-bottom: 1px solid rgba(44, 61, 81, 0.78);
}

.public-page .stats-table tbody tr:nth-child(odd) {
  background: rgba(15, 25, 37, 0.76);
}

.public-page .stats-table tbody tr:nth-child(even) {
  background: rgba(18, 30, 44, 0.94);
}

.public-page .stats-table tbody tr:hover {
  background: rgba(23, 38, 57, 0.98);
}

.public-page .stats-table td {
  padding: 8px 10px;
  color: #d7e3ef;
  vertical-align: middle;
  white-space: nowrap;
}

.public-page .stats-table td:empty::after {
  content: "-";
  color: #6f859a;
  font-size: 0.74rem;
}

.public-page .stats-table td.athlete-name {
  color: #edf6ff;
  font-weight: 700;
}

.public-page .rank-cell {
  width: 54px;
  color: #8ea3b7;
  font-size: 0.75rem;
  text-align: right;
}

.public-page .player-cell {
  min-width: 180px;
}

.public-page .school-cell,
.public-page .sport-cell,
.public-page .season-cell {
  color: #b8c9db;
}

.public-page .sport-cell,
.public-page .season-cell {
  font-size: 0.76rem;
}

.public-page .stats-table-head-cell-number,
.public-page .stat-value-number {
  text-align: right;
}

.public-page .soccer-review-legend {
  margin: 10px 14px 0;
  color: #9fb4c8;
}

@media (max-width: 1024px) {
  .public-page .filter-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  .public-main.container {
    width: min(1240px, 96vw);
  }

  .public-page .filter-grid {
    grid-template-columns: 1fr;
  }

  .public-page .pagination-controls {
    align-items: flex-start;
  }

  .public-page .pagination-actions {
    width: 100%;
    justify-content: space-between;
  }

  .public-page .page-size-control {
    order: 2;
  }

  .public-page .page-nav {
    width: 100%;
    justify-content: space-between;
  }

  .public-page .stats-table {
    min-width: 640px;
    font-size: 0.76rem;
  }

  .public-page .stats-table th,
  .public-page .stats-table td {
    padding: 8px 8px;
  }
}

.public-hero {
  border: 1px solid #2b3b4f;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.95) 0%, rgba(12, 19, 29, 0.95) 100%);
  padding: 14px 16px;
  box-shadow: 0 14px 34px rgba(2, 8, 16, 0.4);
}

.public-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8ea7be;
}

.public-hero h1 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  color: #f4f9ff;
}

.public-subline {
  margin: 0;
  color: #9fb0c3;
  font-size: 0.85rem;
}

.public-search-form {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.public-search-form input,
.public-search-form button {
  border-radius: 10px;
  border: 1px solid #33475f;
  font-size: 0.88rem;
}

.public-search-form input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  background: #0f1b29;
  color: #e7eef8;
}

.public-search-form button {
  padding: 0.7rem 1rem;
  background: #17b897;
  border-color: #17b897;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.public-search-form button:hover {
  background: #0f6e6e;
  border-color: #0f6e6e;
}

.public-status {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #94a9be;
}

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

.public-grid-cards {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.public-panel {
  border: 1px solid #2b3b4f;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.95) 0%, rgba(12, 19, 29, 0.95) 100%);
  box-shadow: 0 12px 28px rgba(2, 8, 16, 0.34);
  overflow: hidden;
}

.public-panel-head {
  padding: 10px 14px 8px;
  border-bottom: 1px solid #223245;
  background: #141f2d;
}

.public-panel-head h2 {
  margin: 0;
  font-size: 0.95rem;
  color: #f0f8ff;
}

.public-panel-head p {
  margin: 4px 0 0;
  color: #9fb0c3;
  font-size: 0.8rem;
  line-height: 1.35;
}

.public-result-list {
  padding: 10px 12px 12px;
  display: grid;
  gap: 8px;
}

.public-result-card {
  border: 1px solid #2a3b4f;
  border-radius: 11px;
  background: #111d2b;
  padding: 10px 11px;
}

.public-result-card h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: #edf5ff;
}

.public-result-card p {
  margin: 0;
  font-size: 0.79rem;
  color: #c3d3e4;
  line-height: 1.28;
}

.public-result-card .muted,
.public-copy p {
  color: #9fb0c3;
}

.public-link-card {
  display: block;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.public-link-card:hover {
  transform: translateY(-1px);
  border-color: #17b897;
}

.public-empty {
  border: 1px dashed #33475f;
  border-radius: 10px;
  background: #0f1a28;
  padding: 14px 12px;
  color: #9fb0c3;
  font-size: 0.82rem;
}

.public-copy {
  padding: 12px 14px;
  display: grid;
  gap: 10px;
}

.public-copy p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

.trust-band {
  border: 1px solid rgba(23, 184, 151, 0.34);
  border-radius: 14px;
  background: rgba(18, 58, 58, 0.3);
  color: #d6f8f1;
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.trust-card,
.legal-card {
  border: 1px solid #2a3b4f;
  border-radius: 14px;
  background: #111d2b;
  padding: 14px 15px;
  display: grid;
  gap: 8px;
}

.trust-card h3,
.legal-card h2,
.legal-card h3 {
  margin: 0;
  color: #edf5ff;
}

.trust-card h3,
.legal-card h3 {
  font-size: 0.92rem;
}

.legal-card h2 {
  font-size: 1rem;
}

.trust-card p,
.legal-card p {
  margin: 0;
  color: #c3d5e7;
  font-size: 0.84rem;
  line-height: 1.5;
}

.policy-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.policy-link-card {
  display: grid;
  gap: 6px;
  text-decoration: none;
  border: 1px solid #2c4057;
  border-radius: 999px;
  background: #101b28;
  color: #d9edf9;
  padding: 0.85rem 1rem;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.policy-link-card:hover {
  transform: translateY(-1px);
  border-color: #17b897;
  background: #132235;
}

.policy-link-title {
  font-size: 0.82rem;
  font-weight: 800;
}

.policy-link-copy {
  color: #95abbe;
  font-size: 0.74rem;
  line-height: 1.35;
}

.legal-stack {
  display: grid;
  gap: 12px;
}

.legal-intro {
  margin: 0;
  color: #bed1e3;
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-note {
  display: grid;
  gap: 6px;
}

.contact-note strong {
  color: #edf5ff;
  font-size: 0.86rem;
}

.contact-note span {
  color: #95abbe;
  font-size: 0.82rem;
}

.public-footer {
  width: min(1240px, 94vw);
  margin: 0 auto 26px;
}

.public-footer-shell {
  display: grid;
  gap: 12px;
  border: 1px solid #2b3b4f;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.95) 0%, rgba(12, 19, 29, 0.95) 100%);
  padding: 14px 16px;
  box-shadow: 0 14px 34px rgba(2, 8, 16, 0.26);
}

.public-footer-title,
.public-footer-copy {
  margin: 0;
}

.public-footer-title {
  color: #f4f9ff;
  font-size: 0.88rem;
  font-weight: 800;
}

.public-footer-copy {
  color: #9fb0c3;
  font-size: 0.78rem;
  line-height: 1.4;
}

.public-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.public-footer-link {
  color: #bdd0e4;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.public-footer-link:hover,
.public-footer-link.is-active {
  color: #dff9f4;
}

.about-tabs-shell {
  display: grid;
  gap: 12px;
  padding: 12px 14px 14px;
}

.about-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tab {
  appearance: none;
  border: 1px solid #2d4258;
  border-radius: 999px;
  background: #101b28;
  color: #b8cadd;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.58rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.about-tab:hover {
  transform: translateY(-1px);
  border-color: #17b897;
}

.about-tab.is-active {
  border-color: #17b897;
  background: #123a3a;
  color: #d2f8ef;
}

.about-tab-panel {
  display: grid;
  gap: 12px;
}

.about-callout {
  border: 1px solid rgba(23, 184, 151, 0.34);
  border-radius: 12px;
  background: rgba(18, 58, 58, 0.38);
  color: #d4f8ef;
  padding: 12px 14px;
  font-size: 0.86rem;
  line-height: 1.42;
}

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

.about-card {
  border: 1px solid #2a3b4f;
  border-radius: 12px;
  background: #111d2b;
  padding: 12px 13px;
  display: grid;
  gap: 8px;
}

.about-card h3 {
  margin: 0;
  font-size: 0.9rem;
  color: #edf5ff;
}

.about-card p {
  margin: 0;
  color: #c6d7e8;
  font-size: 0.82rem;
  line-height: 1.42;
}

@media (max-width: 880px) {
  .public-grid-two {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .public-main {
    width: min(1240px, 96vw);
    margin-top: 12px;
  }

  .public-footer {
    width: min(1240px, 96vw);
  }

  .public-search-form {
    flex-direction: column;
  }

  .public-search-form button,
  .public-page .apply-filters-btn {
    width: 100%;
  }

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

  .public-hero h1 {
    font-size: 1.28rem;
  }

  .public-page .filter-actions,
  .public-page .pagination-actions {
    width: 100%;
  }

  .public-page .pagination-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .public-page .page-size-control,
  .public-page .page-nav {
    width: 100%;
  }

  .public-page .page-size-control {
    justify-content: space-between;
  }

  .public-topbar .topbar-container {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px 14px;
  }

  .public-topbar .brand {
    min-width: 0;
    gap: 9px;
  }

  .public-topbar .logo {
    width: 32px;
    height: 32px;
  }

  .public-topbar .brand-text {
    min-width: 0;
  }

  .public-topbar .brand-title {
    font-size: 13px;
    line-height: 1.1;
    white-space: normal;
  }

  .public-topbar .brand-tag {
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
  }

  .public-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-self: center;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    margin-left: auto;
  }

  .public-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 12010;
    background: rgba(5, 11, 18, 0.28);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .public-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .public-topbar .public-nav-desktop {
    display: none !important;
  }

  .public-nav-flyout-shell {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 12020;
    overflow: visible;
    pointer-events: none;
  }

  .public-nav-flyout-shell.is-open {
    pointer-events: auto;
  }

  .public-nav-flyout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 60px);
    right: max(14px, env(safe-area-inset-right, 0px));
    width: min(292px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - env(safe-area-inset-top, 0px) - 84px);
    z-index: 12030;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(210, 227, 241, 0.14);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(18, 28, 40, 0.82) 0%, rgba(10, 17, 28, 0.88) 100%);
    box-shadow:
      0 24px 48px rgba(2, 8, 16, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px) saturate(135%);
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 180ms ease;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    white-space: normal !important;
    -webkit-overflow-scrolling: touch;
    will-change: opacity, transform;
  }

  .public-nav-flyout.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .public-nav-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding: 2px 2px 10px;
    border-bottom: 1px solid rgba(191, 213, 230, 0.1);
  }

  .public-nav-panel-kicker,
  .public-nav-panel-title {
    margin: 0;
  }

  .public-nav-panel-kicker {
    color: #a7bfd4;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .public-nav-panel-title {
    color: #f4f9ff;
    font-size: 0.94rem;
    line-height: 1.2;
  }

  .public-nav-close {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(191, 213, 230, 0.14);
    border-radius: 11px;
    background: rgba(248, 252, 255, 0.05);
    color: #eef6ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }

  .public-nav-close:hover {
    background: rgba(248, 252, 255, 0.09);
    border-color: rgba(191, 213, 230, 0.2);
  }

  .public-nav-close span[aria-hidden="true"] {
    font-size: 1.35rem;
    line-height: 1;
    transform: rotate(45deg);
  }

  .public-nav-flyout-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    width: 100%;
    min-width: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    white-space: normal !important;
  }

  .public-nav-flyout-links .nav-link,
  .public-nav-flyout-link {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    min-width: 0;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 0.82rem 0.9rem;
    background: rgba(255, 255, 255, 0.02);
    color: #edf5fc;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
  }

  .public-nav-flyout-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(206, 226, 242, 0.12);
  }

  .public-nav-flyout-link:focus-visible {
    outline: 2px solid rgba(23, 184, 151, 0.88);
    outline-offset: 2px;
  }

  .public-nav-flyout-link.nav-link-active {
    border-color: rgba(23, 184, 151, 0.22);
    background: rgba(23, 184, 151, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #f3fffb;
  }

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

.search-preview-wrap {
  position: relative;
  width: 100%;
}

.search-preview-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  border: 1px solid #2b3b4f;
  border-radius: 12px;
  background: #101a28;
  box-shadow: 0 16px 36px rgba(2, 8, 16, 0.5);
  overflow: hidden;
}

.search-preview-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 340px;
  overflow-y: auto;
}

.search-preview-item {
  border-bottom: 1px solid #1f3144;
}

.search-preview-item:last-child {
  border-bottom: none;
}

.search-preview-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: #e5edf7;
  text-align: left;
  padding: 9px 11px;
  cursor: pointer;
  display: grid;
  gap: 3px;
}

.search-preview-button:hover,
.search-preview-button:focus-visible {
  background: #15263a;
  outline: none;
}

.search-preview-title {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.search-preview-meta {
  font-size: 0.75rem;
  color: #a9bbcf;
  line-height: 1.3;
}

.search-preview-type {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid #385775;
  background: #112438;
  color: #bdd2e5;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
}

.search-preview-footer {
  border-top: 1px solid #1f3144;
}

.search-preview-view-all {
  display: block;
  text-decoration: none;
  color: #bde8df;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 11px;
}

.search-preview-view-all:hover {
  background: #143248;
}

/* ===== ATHLETE PROFILE ===== */
.athlete-card {
  border: 1px solid #2b3b4f;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.95) 0%, rgba(12, 19, 29, 0.95) 100%);
  box-shadow: 0 14px 34px rgba(2, 8, 16, 0.4);
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}

.athlete-name {
  margin: 0;
  font-size: 1.5rem;
  color: #f6fbff;
}

.athlete-meta {
  margin: 0;
  color: #b7c9da;
  font-size: 0.86rem;
  line-height: 1.35;
}

.athlete-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.athlete-chip {
  display: inline-flex;
  border: 1px solid #35506b;
  border-radius: 999px;
  padding: 4px 8px;
  background: #112337;
  color: #bdd2e6;
  font-size: 0.73rem;
  font-weight: 700;
}

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

.athlete-summary-card {
  border: 1px solid #2d3f55;
  border-radius: 12px;
  background: #101b28;
  padding: 10px 11px;
  display: grid;
  gap: 4px;
}

.athlete-summary-label {
  color: #8fa4b9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.athlete-summary-value {
  color: #edf6ff;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 700;
}

.athlete-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.athlete-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #35506b;
  border-radius: 10px;
  background: #112337;
  color: #d8ebfb;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.6rem 0.9rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.athlete-action-link:hover {
  transform: translateY(-1px);
  border-color: #17b897;
}

.sport-section {
  border: 1px solid #2b3b4f;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.95) 0%, rgba(12, 19, 29, 0.95) 100%);
  box-shadow: 0 12px 28px rgba(2, 8, 16, 0.34);
  overflow: hidden;
}

.sport-head {
  padding: 10px 14px 8px;
  border-bottom: 1px solid #223245;
  background: #141f2d;
}

.sport-head h2 {
  margin: 0;
  font-size: 0.96rem;
  color: #f0f8ff;
}

.sport-subhead {
  margin: 4px 0 0;
  color: #9fb0c3;
  font-size: 0.79rem;
  line-height: 1.35;
}

.athlete-sport-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 2px;
}

.athlete-sport-tab {
  border: 1px solid #2d3f55;
  border-radius: 999px;
  background: #0f1b29;
  color: #b8cadd;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 7px 11px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.athlete-sport-tab:hover {
  transform: translateY(-1px);
  border-color: #17b897;
}

.athlete-sport-tab.active {
  border-color: #17b897;
  background: #123a3a;
  color: #d2f8ef;
}

.athlete-sport-panel {
  padding: 0 0 2px;
}

.athlete-sport-stage-head {
  padding-top: 4px;
  border-bottom: none;
  background: transparent;
}

.athlete-sport-summary-wrap {
  padding: 12px 14px 4px;
  display: grid;
  gap: 10px;
}

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

.athlete-sport-card {
  border: 1px solid #2d3f55;
  border-radius: 12px;
  background: #101b28;
  padding: 10px 11px;
  display: grid;
  gap: 4px;
}

.athlete-sport-card-full {
  grid-column: 1 / -1;
}

.athlete-sport-card-label {
  color: #8fa4b9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.athlete-sport-card-value {
  color: #edf6ff;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 800;
}

.athlete-sport-highlight {
  border: 1px solid rgba(23, 184, 151, 0.34);
  border-radius: 12px;
  background: rgba(18, 58, 58, 0.48);
  color: #d4f8ef;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.athlete-sport-highlight-label {
  color: #a8ddd1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px 4px;
}

.season-tab {
  border: 1px solid #2d3f55;
  border-radius: 999px;
  background: #0f1b29;
  color: #b8cadd;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 5px 9px;
  cursor: pointer;
}

.season-tab.active {
  border-color: #17b897;
  background: #123a3a;
  color: #d2f8ef;
}

.season-table-wrap {
  padding: 8px 14px 14px;
  overflow-x: auto;
}

.season-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.79rem;
}

.season-table th,
.season-table td {
  border-bottom: 1px solid #233448;
  padding: 7px 8px;
  text-align: left;
  color: #d2dfec;
  white-space: nowrap;
}

.season-table th {
  color: #9eb1c4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
  font-weight: 800;
}

.rankings-list {
  margin: 0;
  padding: 10px 14px 14px 28px;
  color: #c6d7e8;
  font-size: 0.82rem;
  line-height: 1.35;
}

@media (max-width: 880px) {
  .athlete-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .athlete-sport-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .athlete-sport-tab {
    white-space: nowrap;
  }

  .athlete-summary-grid {
    grid-template-columns: 1fr;
  }

  .athlete-sport-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PORTAL LOGIN ===== */
.portal-auth-page {
  min-height: 100vh;
}

.portal-auth-main {
  width: min(1200px, 94vw);
  margin: 24px auto 40px;
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
}

.portal-auth-stack {
  width: min(900px, 100%);
  display: grid;
  gap: 14px;
  justify-items: center;
}

.portal-login-card {
  width: min(560px, 100%);
  border: 1px solid #2b3b4f;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.96) 0%, rgba(12, 19, 29, 0.96) 100%);
  box-shadow: 0 16px 38px rgba(2, 8, 16, 0.42);
  padding: 20px 22px;
  display: grid;
  gap: 10px;
  margin-inline: auto;
}

.portal-login-card-wide {
  width: min(880px, 100%);
}

.portal-login-title {
  margin: 0;
  font-size: 1.85rem;
  color: #f4f9ff;
}

.portal-login-subline {
  margin: 0 0 4px;
  color: #9fb0c3;
  font-size: 0.88rem;
}

.portal-login-form {
  display: grid;
  gap: 10px;
}

.portal-auth-grid {
  display: grid;
  gap: 10px;
}

.portal-auth-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
}

.portal-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c9d7e5;
}

.portal-login-form input,
.portal-login-form select,
.portal-login-form textarea {
  width: 100%;
  border: 1px solid #33475f;
  border-radius: 10px;
  background: #0f1b29;
  color: #e7eef8;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  min-height: 48px;
}

.portal-login-form textarea {
  min-height: 120px;
  resize: vertical;
}

.portal-login-form input::placeholder,
.portal-login-form textarea::placeholder {
  color: #7f93a8;
}

.portal-login-form input:focus-visible,
.portal-login-form select:focus-visible,
.portal-login-form textarea:focus-visible {
  outline: 2px solid #17b897;
  outline-offset: 1px;
}

.portal-field {
  display: grid;
  gap: 6px;
  align-content: start;
}

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

.portal-field-help {
  margin: 0;
  color: #93a7bc;
  font-size: 0.78rem;
  line-height: 1.35;
}

.portal-field-inline-link {
  color: #bde8df;
  font-size: 0.8rem;
  text-decoration: none;
}

.portal-field-inline-link:hover {
  color: #dffcf6;
  text-decoration: underline;
}

.portal-combobox {
  position: relative;
}

.portal-combobox-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #324961;
  border-radius: 12px;
  background: #0d1723;
  box-shadow: 0 18px 36px rgba(2, 8, 16, 0.44);
  padding: 8px;
}

.portal-combobox-list[hidden] {
  display: none !important;
}

.portal-combobox-option,
.portal-combobox-empty {
  border: 1px solid #27384c;
  border-radius: 10px;
  background: #101c2a;
  color: #e7eef8;
  padding: 0.7rem 0.8rem;
  text-align: left;
  font-size: 0.86rem;
}

.portal-combobox-option {
  cursor: pointer;
}

.portal-combobox-option:hover,
.portal-combobox-option.is-active {
  border-color: #17b897;
  background: #132434;
}

.portal-combobox-empty {
  color: #93a7bc;
}

.portal-checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid rgba(59, 79, 104, 0.9);
  border-radius: 12px;
  background: rgba(13, 23, 34, 0.72);
  padding: 0.85rem 0.9rem;
}

.portal-checkbox-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  border: none;
  border-radius: 4px;
  background: transparent;
  padding: 0;
  margin: 2px 0 0;
  accent-color: #17b897;
  flex-shrink: 0;
  align-self: start;
}

.portal-checkbox-copy {
  margin: 0;
  color: #d9e6f3;
  font-size: 0.84rem;
  line-height: 1.4;
}

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

.portal-login-btn {
  margin-top: 4px;
  border: 1px solid #17b897;
  border-radius: 10px;
  background: #17b897;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  padding: 0.78rem 1rem;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.portal-login-btn:hover {
  transform: translateY(-1px);
  background: #0f6e6e;
  border-color: #0f6e6e;
}

.portal-login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.portal-alert {
  border-radius: 10px;
  padding: 0.62rem 0.74rem;
  font-size: 0.82rem;
}

.portal-alert-error {
  border: 1px solid rgba(241, 91, 99, 0.55);
  background: rgba(129, 35, 41, 0.3);
  color: #ffd3d6;
}

.portal-alert-success {
  border: 1px solid rgba(46, 182, 131, 0.55);
  background: rgba(19, 96, 69, 0.3);
  color: #d6ffef;
}

.portal-secondary-card {
  width: min(560px, 100%);
  border: 1px solid rgba(68, 89, 113, 0.95);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 18, 28, 0.96) 0%, rgba(8, 15, 24, 0.96) 100%);
  box-shadow: 0 12px 32px rgba(2, 8, 16, 0.34);
  padding: 16px 18px;
  display: grid;
  gap: 10px;
  margin-inline: auto;
}

.portal-secondary-kicker {
  margin: 0;
  color: #8bb9d8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-secondary-title {
  margin: 0;
  color: #f2f8ff;
  font-size: 1.08rem;
}

.portal-secondary-copy {
  margin: 0;
  color: #9fb0c3;
  font-size: 0.86rem;
  line-height: 1.4;
}

.portal-secondary-action {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(138, 195, 214, 0.55);
  border-radius: 10px;
  background: rgba(17, 44, 58, 0.95);
  color: #effbff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 0.01em;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.portal-secondary-action:hover {
  transform: translateY(-1px);
  border-color: #17b897;
  background: rgba(20, 73, 77, 0.96);
}

.portal-card-note {
  margin: 0;
  color: #8ea3b8;
  font-size: 0.78rem;
  line-height: 1.35;
}

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

.portal-status-card {
  margin: 0;
  border: 1px solid rgba(54, 73, 95, 0.95);
  border-radius: 14px;
  background: rgba(12, 22, 33, 0.92);
  padding: 0.9rem 0.95rem;
}

.portal-status-label {
  margin: 0 0 6px;
  color: #90a5bb;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portal-status-value {
  margin: 0;
  color: #ebf4fd;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-line;
}

.portal-login-links {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.portal-login-links a {
  color: #bde8df;
  font-size: 0.83rem;
  text-decoration: none;
}

.portal-login-links a:hover {
  color: #dffcf6;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .portal-auth-main {
    width: min(1200px, 96vw);
    margin-top: 16px;
  }

  .portal-login-card {
    padding: 16px;
  }

  .portal-secondary-card {
    padding: 14px 16px;
  }

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

  .portal-login-title {
    font-size: 1.5rem;
  }
}
