#bmbrc-roster {
        --yellow: #feed00;
        --yellow-soft: rgba(254, 237, 0, 0.12);
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.22),
            transparent 34%
          ),
          linear-gradient(180deg, #fffbe0 0%, #fff 100%);
        --panel-bg: rgba(255, 255, 255, 0.96);
        --card-bg: #fff;
        --text: #080808;
        --muted: rgba(0, 0, 0, 0.62);
        --border: rgba(0, 0, 0, 0.14);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
      }
body.dark #bmbrc-roster {
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.14),
            transparent 34%
          ),
          linear-gradient(180deg, #000 0%, #111 100%);
        --panel-bg: rgba(21, 21, 21, 0.95);
        --card-bg: #151515;
        --text: #feed00;
        --muted: rgba(254, 237, 0, 0.72);
        --border: rgba(254, 237, 0, 0.22);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
      }
#bmbrc-roster * {
        box-sizing: border-box;
      }
#bmbrc-roster {
        margin: 0;
        font-family: Montserrat, sans-serif;
        color: var(--text);
        background: var(--page-bg);
        min-height: 100vh;
      }
#bmbrc-roster .admin {
        padding: 42px 18px 70px;
      }
#bmbrc-roster .shell {
        max-width: 1180px;
        margin: 0 auto;
      }
#bmbrc-roster .topbar, #bmbrc-roster .panel {
        background: var(--panel-bg);
        border: 1px solid var(--border);
        border-radius: 28px;
        box-shadow: var(--shadow);
      }
#bmbrc-roster .topbar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 18px;
        align-items: center;
        margin-bottom: 18px;
        padding: 24px 20px 22px;
        text-align: center;
      }
#bmbrc-roster .panel {
        padding: 24px;
      }
#bmbrc-roster .page-head {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
      }
#bmbrc-roster .kicker {
        display: block;
        margin-bottom: 7px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--yellow);
      }
#bmbrc-roster h1, #bmbrc-roster h2 {
        margin: 0;
        line-height: 1.1;
        font-weight: 800;
      }
#bmbrc-roster h1 {
        font-size: clamp(28px, 4vw, 44px);
      }
#bmbrc-roster h2 {
        font-size: 24px;
      }
#bmbrc-roster .text {
        color: var(--muted);
        line-height: 1.65;
        font-size: 14px;
      }
#bmbrc-roster .toolbar {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
      }
#bmbrc-roster .btn {
        min-height: 44px;
        padding: 11px 18px;
        border-radius: 999px;
        border: 1px solid var(--border) !important;
        background: rgba(255, 255, 255, 0.72) !important;
        color: var(--text) !important;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
        transition:
          transform 0.18s ease,
          background 0.18s ease,
          box-shadow 0.18s ease;
      }
body.dark #bmbrc-roster .btn {
        background: rgba(255, 255, 255, 0.08) !important;
        color: rgba(235, 235, 235, 0.72) !important;
      }
#bmbrc-roster .btn:hover {
        transform: translateY(-2px);
      }
#bmbrc-roster .btn.is-active {
        background: var(--yellow) !important;
        color: #050505 !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 14px 30px rgba(254, 237, 0, 0.28);
      }
body.dark #bmbrc-roster .btn.is-active {
        color: #feed00 !important;
      }
#bmbrc-roster .roster-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        gap: 18px;
        margin-top: 18px;
      }
#bmbrc-roster .player-card {
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 24px;
        background: var(--card-bg);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
      }
#bmbrc-roster .photo-wrap {
        position: relative;
        aspect-ratio: 1/1;
        background:
          radial-gradient(
            circle at 72% 18%,
            rgba(255, 255, 255, 0.9),
            transparent 28%
          ),
          linear-gradient(145deg, #ffffff 0%, #f4f4f4 48%, #dadada 100%);
      }
body.dark #bmbrc-roster .photo-wrap {
        background:
          radial-gradient(
            circle at 76% 16%,
            rgba(254, 237, 0, 0.18),
            transparent 30%
          ),
          linear-gradient(145deg, #050505 0%, #161616 54%, #3a3a3a 100%);
      }
#bmbrc-roster .player-photo {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center bottom;
      }
#bmbrc-roster .shirt-number {
        position: absolute;
        left: 12px;
        top: 12px;
        min-width: 52px;
        height: 52px;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--yellow);
        color: #050505;
        font-size: 22px;
        font-weight: 900;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
      }
#bmbrc-roster .player-info {
        padding: 14px;
        text-align: center;
      }
#bmbrc-roster .player-info strong {
        font-size: 17px;
        font-weight: 900;
      }
#bmbrc-roster .empty-state {
        padding: 26px;
        color: var(--muted);
        line-height: 1.65;
      }
      @media (max-width: 760px) {
#bmbrc-roster .admin {
          padding: 32px 10px 50px;
        }
#bmbrc-roster .topbar {
          align-items: center;
          flex-direction: column;
        }
#bmbrc-roster .panel {
          padding: 16px;
        }
#bmbrc-roster .roster-grid {
          grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
          gap: 12px;
        }
#bmbrc-roster .shirt-number {
          min-width: 44px;
          height: 44px;
          font-size: 18px;
        }
#bmbrc-roster .player-info strong {
          font-size: 15px;
        }
      }
    
#bmbrc-roster h1, #bmbrc-roster h2 { font-family: "Montserrat", sans-serif !important; font-weight: 800 !important; }

#bmbrc-roster .btn {

        min-height: 44px !important;
        padding: 11px 18px !important;
        border-radius: 999px !important;
        border: 1px solid var(--border) !important;
        background: rgba(255, 255, 255, 0.72) !important;
        color: var(--text) !important;
        font-weight: 900 !important;
        cursor: pointer !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
        transition:
          transform 0.18s ease,
          background 0.18s ease,
          box-shadow 0.18s ease !important;
      
}
body.dark #bmbrc-roster .btn {

        background: rgba(255, 255, 255, 0.08) !important;
        color: rgba(235, 235, 235, 0.72) !important;
      
}
#bmbrc-roster .btn:hover {

        transform: translateY(-2px) !important;
      
}
#bmbrc-roster .btn.is-active {

        background: var(--yellow) !important;
        color: #050505 !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 14px 30px rgba(254, 237, 0, 0.28) !important;
      
}
body.dark #bmbrc-roster .btn.is-active {

        color: #feed00 !important;
      
}
