﻿          :root {
              --iowa-gold: #FFCD00;
              --iowa-black: #08080a;
              --panel-bg: #121214;
          }

          body {
              background-color: var(--iowa-black);
              background-image: 
                  radial-gradient(circle at 50% 50%, rgba(255, 205, 0, 0.02) 0%, transparent 80%),
                  linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                  linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
              background-size: 100% 100%, 40px 40px, 40px 40px;
          }

          .tactical-nav-tabs {
              display: flex;
              gap: 1rem;
              margin-bottom: 2rem;
              border-bottom: 1px solid rgba(255, 205, 0, 0.2);
              padding-bottom: 1rem;
              overflow-x: auto;
          }

          .tactical-tab {
              background: transparent;
              border: 1px solid rgba(255, 205, 0, 0.3);
              color: rgba(255, 255, 255, 0.6);
              padding: 0.6rem 1.5rem;
              font-family: 'Share Tech Mono', monospace;
              text-transform: uppercase;
              letter-spacing: 2px;
              cursor: pointer;
              transition: all 0.3s;
              white-space: nowrap;
          }

          .tactical-tab.active {
              background: var(--iowa-gold);
              color: #000;
              border-color: var(--iowa-gold);
              box-shadow: 0 0 15px rgba(255, 205, 0, 0.4);
          }


          .tactical-panel {
              background: #121214;
              border: 1px solid rgba(255, 205, 0, 0.1);
              border-radius: 2px;
              overflow: hidden;
              position: relative;
          }

          .tactical-panel::before {
              content: '';
              position: absolute;
              top: 0; left: 0; right: 0;
              height: 2px;
              background: var(--iowa-gold);
              box-shadow: 0 0 10px var(--iowa-gold);
              z-index: 10;
          }

          /* Clash Card Tactical Override */
          .modern-clash-card.tactical-override {
              background: #ffffff;
              border: 2px solid var(--iowa-gold);
              border-radius: 4px;
          }

          .clash-glass-timer.tactical-timer {
              background: lightgray;
              border-top: 2px solid var(--iowa-gold);
              border-radius: 0;
          }

          .clash-vs-circle.tactical-vs {
              background: var(--iowa-gold);
              box-shadow: 0 0 20px rgba(255, 205, 0, 0.3);
              border-radius: 2px;
              transform: rotate(45deg);
          }

          .clash-vs-text {
              transform: rotate(-45deg);
          }

          .team-record-badge {
              background: rgba(255, 205, 0, 0.1);
              border: 1px solid var(--iowa-gold);
              color: var(--iowa-gold);
              font-family: 'Share Tech Mono', monospace;
              padding: 2px 10px;
              font-size: 0.8rem;
              border-radius: 2px;
          }

          /* Standings Table Overrides */
          #standingsTable.tactical-table {
              color: #000;
          }

          .tactical-table thead,
          .tactical-table thead tr {
              background: #f4f4f4 !important;
              border-bottom: 2px solid #000 !important;
          }

          .tactical-table th {
              font-family: 'Share Tech Mono', monospace;
              text-transform: uppercase;
              letter-spacing: 2px;
              color: #000 !important;
              padding: 1rem;
          }

          .tactical-table td {
              padding: 1rem;
              border-bottom: 1px solid #e0e0e0;
          }

          .tactical-table tr.iowa {
              background: rgba(255, 205, 0, 0.15) !important;
              border-left: 4px solid var(--iowa-gold) !important;
          }

          .standings-container tbody tr:nth-child(even),
          .standings-container tbody tr {
              background-color: transparent !important;
          }

          .standings-container tbody tr:hover {
              background-color: rgba(0, 0, 0, 0.03) !important;
          }

          .standings-container td {
              border-bottom: 1px solid #e0e0e0 !important;
              color: #333 !important;
          }

          .standings-container tr.iowa td {
              color: #000 !important;
              font-weight: 700;
          }

          .tactical-table td span.text-gold, 
          .tactical-table td.text-gold {
              color: var(--iowa-gold) !important;
              text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
          }

          .content-section {
              display: none;
              animation: fadeIn 0.4s ease;
          }

          .content-section.active {
              display: block;
          }

          @keyframes fadeIn {
              from { opacity: 0; transform: translateY(10px); }
              to { opacity: 1; transform: translateY(0); }
          }

          /* Utility */
          .text-gold { color: var(--iowa-gold); }
          .bg-gold { background-color: var(--iowa-gold); }
          .border-gold { border-color: var(--iowa-gold); }

          /* Custom Scrollbar */
          .custom-scrollbar::-webkit-scrollbar {
              width: 4px;
          }
          .custom-scrollbar::-webkit-scrollbar-track {
              background: rgba(255, 255, 255, 0.05);
          }
          .custom-scrollbar::-webkit-scrollbar-thumb {
              background: var(--iowa-gold);
          }

          #sub-header .tactical-nav-tabs {
              margin-bottom: 0;
              border-bottom: none;
              padding-bottom: 0.5rem;
          }
          .main-layout {
              margin-top: 0 !important;
              padding-top: 0 !important;
          }
          .content-section > .tactical-panel,
          .content-section > .modern-clash-card,
          #roster-wrapper {
              border-top-left-radius: 0 !important;
              border-top-right-radius: 0 !important;
              border-top: none !important;
              margin-top: 0 !important;
          }
          #sub-header .tactical-tab {
              background-color: var(--iowa-black);
              color: var(--iowa-gold);
              font-weight: bold;
              border-color: rgba(0, 0, 0, 0.3);
          }
          #sub-header .tactical-tab:hover {
              color: #000;
              background-color: rgba(255,205,0,0.2);
          }
          #sub-header .tactical-tab.active {
              background: var(--iowa-gold);
              color: #000;
              border-color: var(--iowa-gold);
          }
      #roster-wrapper { background: #fff; color: #000; border-radius: 8px; overflow: hidden; margin-top: 0px; font-family: 'Barlow', sans-serif; min-height: 800px; padding-bottom: 40px; }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    

    

    /* TOP BAR */
    

    /* HEADER */
    
    
    
    

    /* PAGE HERO */
    .page-hero {
      background: #fff;
      padding: 20px 20px 0;
      border-bottom: 1px solid var(--border);
    }
    .page-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 900;
      font-size: clamp(48px, 7vw, 80px);
      text-transform: uppercase;
      letter-spacing: -0.01em;
      line-height: 1;
      color: #000;
      margin-bottom: 28px;
    }

    /* CONTROLS ROW */
    .controls-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      padding-bottom: 0;
    }

    /* TABS */
    .roster-tabs {
      display: flex;
      gap: 0;
      border-bottom: none;
    }
    .tab-btn {
      background: none;
      border: none;
      cursor: pointer;
      font-family: 'Barlow', sans-serif;
      font-weight: 600;
      font-size: 15px;
      color: #888;
      padding: 12px 20px 16px;
      position: relative;
      letter-spacing: 0.02em;
      transition: color 0.2s;
    }
    .tab-btn::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: transparent;
      transition: background 0.2s;
    }
    .tab-btn.active {
      color: #000;
    }
    .tab-btn.active::after {
      background: var(--gold);
    }
    .tab-btn:hover { color: #000; }

    /* FILTER CONTROLS */
    .filter-controls {
      display: flex;
      gap: 10px;
      align-items: center;
      padding-bottom: 16px;
    }
    .filter-select {
      appearance: none;
      -webkit-appearance: none;
      background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
      border: 1.5px solid #ccc;
      border-radius: 50px;
      padding: 8px 36px 8px 16px;
      font-family: 'Barlow', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      color: #000;
      min-width: 130px;
      transition: border-color 0.2s;
    }
    .filter-select:hover { border-color: #000; }
    .filter-select:focus { outline: none; border-color: var(--gold); }

    .view-toggle {
      display: flex;
      border: 1.5px solid #ccc;
      border-radius: 50px;
      overflow: hidden;
    }
    .view-btn {
      background: none;
      border: none;
      padding: 8px 14px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      color: #888;
      font-family: 'Barlow', sans-serif;
      transition: all 0.2s;
    }
    .view-btn.active {
      background: #000;
      color: #fff;
    }

    .print-btn {
      background: var(--gold);
      border: none;
      border-radius: 50px;
      padding: 8px 20px;
      font-family: 'Barlow', sans-serif;
      font-weight: 700;
      font-size: 13px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: background 0.2s;
    }
    .print-btn:hover { background: #e6b800; }

    /* MAIN CONTENT */
    .main-content {
      max-width: 1300px;
      margin: 0 auto;
      padding: 16px 20px 60px;
    }

    /* POSITION GROUP HEADER */
    .position-group-header {
      display: none;
    }

    /* ROSTER GRID */
    .roster-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    /* PLAYER CARD */
    .player-card {
      display: flex;
      background: #ffffff;
      border: 1px solid var(--gold, #FFCD00);
      border-radius: 4px;
      overflow: hidden;
      transition: transform 0.2s, box-shadow 0.2s;
      color: #000;
      min-height: 90px;
      animation: rosterRowFadeIn 0.4s ease forwards;
      opacity: 0;
    }
    .player-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(255, 205, 0, 0.3);
    }

    @keyframes rosterRowFadeIn {
        from { opacity: 0; transform: translateX(-8px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .jersey-badge {
      background: var(--gold, #FFCD00);
      width: 56px;
      min-width: 56px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Anton', sans-serif;
      font-size: 2rem;
      color: #000;
      flex-shrink: 0;
      padding: 0 5px;
    }

    .player-photo {
      width: 80px;
      min-width: 80px;
      background: #111;
      overflow: hidden;
      flex-shrink: 0;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }
    .player-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
    }
    .player-photo-placeholder {
      width: 100%;
      height: 100%;
      background: #111;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .player-photo-placeholder img {
      width: 60%;
      height: 60%;
      object-fit: contain;
      opacity: 0.6;
    }

    .player-info {
      padding: 0.75rem 0.8rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.15rem;
    }

    .player-name {
      font-family: 'Anton', sans-serif;
      font-size: 1.15rem;
      text-transform: uppercase;
      color: #000;
      line-height: 1.1;
      margin-bottom: 0.1rem;
    }

    .player-meta-row {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.75rem;
      font-weight: bold;
      color: #444;
      display: flex;
      align-items: center;
      gap: 4px;
      flex-wrap: wrap;
    }

    .player-detail-row {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.75rem;
      color: #666;
    }

    .player-hometown {
      font-size: 0.7rem;
      color: #888;
      margin-top: auto;
      font-family: 'Roboto', sans-serif;
      text-transform: uppercase;
    }

    .player-social {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-left: auto;
      padding: 0 12px;
      align-self: center;
    }
    .social-link {
      color: #888;
      text-decoration: none;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.05em;
      transition: color 0.2s;
    }
    .social-link:hover { color: #000; }
    .nil-badge {
      font-size: 11px;
      font-weight: 800;
      color: #888;
      letter-spacing: 0.08em;
    }

    /* TABLE VIEW */
    .roster-table {
      width: 100%;
      border-collapse: collapse;
      display: none;
    }
    .roster-table thead tr {
      border-bottom: 2px solid #000;
    }
    .roster-table th {
      font-family: 'Barlow', sans-serif;
      font-weight: 700;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #666;
      padding: 10px 12px;
      text-align: left;
      cursor: pointer;
      white-space: nowrap;
      user-select: none;
    }
    .roster-table th:hover { color: #000; }
    .roster-table th.sorted { color: #000; }
    .roster-table th .sort-arrow { margin-left: 4px; font-size: 9px; }
    .roster-table tbody tr {
      border-bottom: 1px solid var(--border);
      transition: background 0.15s;
    }
    .roster-table tbody tr:hover { background: var(--light-gray); }
    .roster-table td {
      padding: 10px 12px;
      font-size: 13px;
      vertical-align: middle;
    }
    .roster-table .td-name {
      font-weight: 700;
      font-size: 14px;
    }
    .roster-table .td-photo {
      width: 48px;
    }
    .roster-table .td-photo img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      object-position: top;
      background: #111;
    }

    /* SEARCH */
    .search-bar-wrap {
      margin-bottom: 4px;
    }
    .search-input {
      width: 100%;
      max-width: 360px;
      border: 1.5px solid #ccc;
      border-radius: 50px;
      padding: 10px 18px;
      font-family: 'Barlow', sans-serif;
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s;
    }
    .search-input:focus { border-color: var(--gold); }

    /* STATS BAR */
    .stats-bar {
      background: var(--light-gray);
      border-radius: 8px;
      padding: 12px 24px;
      margin-bottom: 16px;
      display: flex;
      gap: 32px;
      flex-wrap: wrap;
    }
    .stat-item { text-align: center; }
    .stat-num {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 900;
      font-size: 28px;
      color: #000;
    }
    .stat-label {
      font-size: 11px;
      font-weight: 600;
      color: #666;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* POSITION SECTION HEADERS */
    .position-section {
      margin-bottom: 8px;
    }
    .position-section-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 800;
      font-size: 20px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #000;
      margin: 28px 0 12px;
      padding-bottom: 8px;
      border-bottom: 2px solid var(--gold);
    }

    /* NO RESULTS */
    .no-results {
      text-align: center;
      padding: 60px 20px;
      color: #888;
      font-size: 16px;
      display: none;
    }

    @media (max-width: 1024px) {
      .roster-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 900px) {
      .main-content { padding: 8px 16px 40px; }
      .page-hero { padding: 8px 16px 0; }
      .controls-row { flex-direction: column; align-items: flex-start; }
      .filter-controls { flex-wrap: wrap; }
    }
    @media (max-width: 600px) {
      
      .player-photo { width: 64px; min-width: 64px; }
    }

