/* Blue Chip College Football — JS port */
:root {
  --bg-page: #4a6f94;
  --bg-page-deep: #2d4a66;
  --bg-header: #00008b;
  --bg-card: #468c00;
  --bg-card-senior: #5d002f;
  --bg-sidebar: #dce8f4;
  --bg-content: #ffffff;
  --accent: #1a5fbf;
  --accent-bright: #2f7ae5;
  --text: #1a2a3a;
  --text-muted: #5a6d7d;
  --border: #b8c9d9;
  --shadow: 0 4px 24px rgba(15, 35, 60, 0.18);
  --radius: 12px;
  --font-main: 'Segoe UI', system-ui, -apple-system, Verdana, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, #6f98be 0%, transparent 55%),
    linear-gradient(165deg, var(--bg-page) 0%, var(--bg-page-deep) 100%);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 12px 32px;
}

/* --- Banner logo --- */
.banner {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
}

.bc-logo-link {
  display: block;
  width: 100%;
  max-width: 920px;
  line-height: 0;
}

.bc-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  margin: 0 auto;
}

/* --- Layout --- */
.main-layout {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
}

.sidebar {
  width: 210px;
  min-width: 210px;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 400px;
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 13px;
  box-shadow: var(--shadow);
}

.sidebar-right .bc-panel {
  margin-bottom: 0;
}

.content-col {
  flex: 0 0 580px;
  width: 580px;
  min-width: 0;
  max-width: 580px;
}

.content {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  min-height: 480px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-inner {
  padding: 20px 22px 24px;
}

.bc-panel {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  width: 190px;
}

.bc-panel:last-child {
  margin-bottom: 0;
}

.bc-panel h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--bg-header);
  border-bottom: 2px solid var(--bg-card);
  padding-bottom: 4px;
}

.bc-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.bc-panel td {
  padding: 3px 2px;
  border-bottom: 1px solid #eef2f6;
  line-height: 1.2;
}

.bc-career-leaders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.bc-career-leaders-table td {
  padding: 1px 2px;
  border-bottom: none;
  vertical-align: top;
}

.bc-leader-cat-row td {
  padding-top: 5px;
}

.bc-leader-cat-row:first-child td {
  padding-top: 0;
}

.bc-leader-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--bg-header);
}

.bc-leader-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.bc-muted {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

/* --- Message area (welcome / pick school) --- */
.bc-message-area {
  margin: 0;
  padding: 12px 16px;
  background: linear-gradient(90deg, #0a0a9e, #1a3a8f);
  color: #fff;
  font-size: 14px;
  text-align: center;
  border-bottom: 3px solid #ffd700;
}

.bc-message-area a {
  color: #ffd700;
  font-weight: 700;
  text-decoration: underline;
}

.bc-message-area a:hover {
  color: #fff;
}

/* --- Welcome --- */
.bc-welcome {
  text-align: center;
}

.bc-welcome-hero {
  margin-bottom: 20px;
}

.bc-welcome-hero h1 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: var(--bg-header);
}

.bc-welcome-hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.bc-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: #f0f6fc;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.bc-promo-link:hover {
  background: #e3eef9;
  border-color: var(--accent-bright);
}

.bc-resume-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.bc-section-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Conference card grid */
.bc-conf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  text-align: left;
}

.bc-conf-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.bc-conf-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bc-conf-option span {
  display: block;
  padding: 10px 12px;
  background: #f7fafc;
  border: 2px solid #e2eaf2;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.bc-conf-option:hover span {
  border-color: var(--accent-bright);
  background: #eef5fc;
}

.bc-conf-option input:checked + span {
  border-color: var(--bg-header);
  background: #e8eeff;
  box-shadow: 0 0 0 1px var(--bg-header);
  color: var(--bg-header);
}

.bc-intro {
  margin-top: 24px;
  padding: 16px 18px;
  background: #f4f8fb;
  border-radius: 8px;
  border-left: 4px solid var(--bg-card);
  text-align: left;
  font-size: 14px;
  color: var(--text);
}

.bc-intro strong {
  display: block;
  margin-bottom: 8px;
  color: var(--bg-header);
}

.bc-intro p:last-child {
  margin-bottom: 0;
}

/* --- Buttons --- */
.bc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 8px 0 0;
}

.bc-btn {
  display: inline-block;
  padding: 11px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #52a028 0%, var(--bg-card) 55%, #357a18 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 0 #2d5a12, 0 4px 12px rgba(70, 140, 0, 0.35);
  transition: transform 0.1s, box-shadow 0.15s, filter 0.15s;
}

.bc-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.bc-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #2d5a12;
}

.bc-btn-secondary {
  background: linear-gradient(180deg, #6a8caf 0%, #4a6f94 55%, #3a5878 100%);
  box-shadow: 0 2px 0 #2d4a66, 0 4px 12px rgba(45, 74, 102, 0.35);
}

.bc-btn-full {
  width: 100%;
}

.bc-sidebar-menu {
  margin-bottom: 10px;
}

/* --- Screen header bar --- */
.bc-header {
  background: linear-gradient(180deg, #1010b0 0%, var(--bg-header) 100%);
  color: #fff;
  margin: 0;
  padding: 10px 16px;
}

.bc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
}

.bc-header-right {
  font-size: 15px;
  opacity: 0.95;
}

.bc-header-grades {
  margin-left: 0.35em;
  font-weight: 700;
  opacity: 0.95;
}

.bc-screen-body {
  padding: 12px 16px 14px;
}

.bc-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--bg-header);
  margin: 0 0 14px;
}

.bc-program-title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bg-header);
  text-align: left;
}

/* --- Program picker (conference / school columns) --- */
.program-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}

.picker-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f4f8fb;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.picker-pane h3 {
  margin: 0;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: var(--bg-header);
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.picker-list {
  list-style: none;
  flex: 1;
  margin: 0;
  padding: 4px;
  max-height: 320px;
  overflow-y: auto;
}

.picker-item {
  padding: 4px 8px;
  margin: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.25;
  touch-action: manipulation;
}

.picker-item:hover {
  background: #e8f0fa;
}

.picker-item:focus {
  outline: 2px solid var(--accent-bright);
  outline-offset: -2px;
}

.picker-item.selected {
  background: var(--bg-header);
  color: #fff;
  font-weight: 600;
}

.picker-item.selected:hover {
  background: #1010a0;
}

.picker-empty {
  padding: 4px 8px;
  cursor: default;
  font-size: 0.78rem;
  line-height: 1.25;
}

.bc-program-actions {
  margin-top: 4px;
}

.bc-btn-meet-squad {
  display: block;
  width: 100%;
  max-width: 280px;
  padding: 12px 20px;
  font-size: 15px;
}

.bc-btn-coach-rename-ad {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  padding: 8px 10px;
  font-size: 0.8rem;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f0f6fc 100%);
  color: var(--bg-header);
  border: 2px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(15, 35, 60, 0.15);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.bc-btn-coach-rename-ad:hover:not(:disabled) {
  background: linear-gradient(180deg, #f7fbff 0%, #e3eef9 100%);
  border-color: var(--accent-bright);
}

.bc-btn-coach-rename-ad:disabled {
  opacity: 1;
  background: #ececec;
  border-color: #bbb;
  color: #666;
  cursor: not-allowed;
}

.bc-notice-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.bc-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 55, 0.65);
  cursor: pointer;
}

.bc-notice-panel {
  position: relative;
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  border: 3px solid #c9a227;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 16px 18px;
}

.bc-notice-title {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #1a3a6b;
}

.bc-notice-body {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #333;
}

.bc-notice-ok {
  float: right;
}

.bc-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.2);
}

.bc-btn:disabled:hover {
  transform: none;
  filter: grayscale(0.2);
}

/* --- Team picker (legacy) --- */
.bc-team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  margin-bottom: 20px;
}

.bc-team-col {
  min-width: 160px;
}

.bc-team-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s;
}

.bc-team-pick:hover {
  background: #f0f6fc;
}

.bc-team-pick input {
  accent-color: var(--bg-header);
}

.bc-field {
  margin: 16px 0;
}

.bc-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.bc-field input[type="text"] {
  width: 100%;
  max-width: 360px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  border: 2px solid var(--border);
  border-radius: 8px;
}

.bc-field input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(47, 122, 229, 0.2);
}

/* --- Transfer portal tables --- */
.bc-portal-coach {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.bc-portal-panel {
  margin-bottom: 20px;
  padding: 14px;
  background: #f7fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.bc-portal-panel-highlight {
  background: #eef4fc;
  border-color: #b8cfe8;
}

.bc-portal-heading {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--bg-header);
}

.bc-portal-note {
  margin: 0 0 10px;
  font-size: 13px;
  color: #8b4513;
}

.bc-portal-instructions {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text);
}

.bc-portal-table-wrap {
  overflow-x: auto;
  margin-bottom: 8px;
}

.bc-portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.bc-portal-table th,
.bc-portal-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #dde4ea;
  text-align: left;
}

.bc-portal-table th {
  background: var(--bg-header);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.bc-portal-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.6);
}

.bc-portal-pickable {
  cursor: pointer;
}

.bc-portal-pickable:hover {
  background: #e3eef9 !important;
}

.bc-portal-selected {
  background: #d4e8ff !important;
}

.bc-portal-check {
  width: 28px;
  text-align: center;
}

.bc-portal-name {
  font-weight: 600;
  white-space: nowrap;
}

.bc-portal-grade,
.bc-portal-skill {
  text-align: center;
  font-weight: 700;
}

.bc-portal-meta {
  margin: 4px 0;
  font-size: 13px;
}

.bc-portal-result {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #eef8ee;
  border-left: 4px solid var(--bg-card);
  border-radius: 4px;
  font-size: 14px;
}

/* --- Player cards (~original 100px CF layout) --- */
.bc-roster-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  justify-content: center;
  margin: 0 auto 8px;
  max-width: 523px;
}

.bc-roster-def {
  max-width: 418px;
}

.bc-card-wrap {
  display: inline-block;
  padding: 0 3px 3px 0;
  background: #808080;
  vertical-align: top;
}

.bc-card {
  position: relative;
  bottom: 3px;
  right: 3px;
  width: 100px;
  background: #fff;
  border: 1px solid #000;
  overflow: hidden;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  line-height: 1.1;
  color: #000;
}

.bc-card-head {
  color: #fff;
  padding: 3px 3px;
  text-align: center;
  min-height: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bc-card-head strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  white-space: normal;
  word-break: break-word;
}

.bc-card-active { background: #468c00; }
.bc-card-senior { background: #5d002f; }

.bc-card-portal-signing .bc-card {
  box-shadow: inset 3px 0 0 rgba(212, 175, 55, 0.85);
}

.bc-card-walkon .bc-card {
  box-shadow: inset 3px 0 0 rgba(160, 170, 180, 0.9);
}

.bc-card-origin-tag,
.bc-card-portal-tag {
  font-weight: 600;
  font-size: 9px;
  opacity: 0.92;
  letter-spacing: 0;
}

.bc-card-walkon-tag {
  opacity: 0.88;
}

.bc-card-class {
  text-align: center;
  padding: 2px 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.bc-card-class strong {
  font-weight: 700;
}

.bc-card-posrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 5px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
}

.bc-card-open .bc-card-open-body {
  min-height: 88px;
  background: #fff;
}

.bc-card-open-pos {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-style: italic;
  font-weight: 400;
  color: #fff;
}

.bc-skill-table {
  width: 100%;
  font-size: 10px;
  border-collapse: collapse;
  background: #fff;
}

.bc-skill-table td {
  padding: 1px 4px;
  border: none;
  vertical-align: top;
  line-height: 1.1;
}

.bc-skill-table td:first-child {
  text-align: left;
  font-weight: 400;
}

.bc-grade {
  text-align: right;
  font-weight: 400;
  font-size: 10px;
  white-space: nowrap;
}

.bc-card-extra {
  font-size: 10px;
  padding: 2px 4px;
  background: #fff;
  line-height: 1.1;
  border-top: 1px solid #e8e8e8;
}

.bc-card-extra table { width: 100%; }

.bc-card-extra td {
  padding: 1px 0;
}

.bc-recruit-check {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 3px;
  background: var(--bg-header);
  color: #fff;
}

.bc-recruit-check input {
  margin: 0;
  width: 13px;
  height: 13px;
}

/* --- Recruit / portal board (roster + aligned prospects) --- */
.bc-recruit-board {
  margin: 0 auto;
}

.bc-recruit-board-roster {
  margin-bottom: 2px;
}

.bc-recruit-board-prospects {
  margin-bottom: 0;
}

.bc-recruit-board-roster .bc-recruit-columns,
.bc-recruit-board-prospects .bc-recruit-columns {
  margin-bottom: 2px;
}

.bc-recruit-columns {
  display: flex;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
  margin: 0 auto;
  max-width: 523px;
}

.bc-recruit-columns-def {
  max-width: 418px;
}

.bc-recruit-column {
  flex: 0 0 103px;
  width: 103px;
}

.bc-recruit-submit-row {
  text-align: center;
  margin: 6px 0 6px;
}

.bc-recruit-footer {
  text-align: center;
  margin: 10px 0 0;
}

.bc-recruit-hint {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 8px auto 4px;
  line-height: 1.4;
}

.bc-btn-recruit-submit {
  background: linear-gradient(180deg, #f0f0f0 0%, #d4d4d4 55%, #c0c0c0 100%);
  color: #333;
  box-shadow: 0 2px 0 #999, 0 3px 8px rgba(0, 0, 0, 0.15);
}

.bc-btn-recruit-submit:hover {
  filter: brightness(1.03);
}

.bc-card-recruit .bc-card-head,
.bc-card-recruit-band {
  background: #00008b;
}

.bc-card-recruit-head {
  text-align: left;
  align-items: flex-start;
  padding: 3px 3px 2px;
  min-height: 34px;
}

.bc-card-recruit-head input[type="checkbox"] {
  display: block;
  margin: 0 0 2px 0;
  width: 12px;
  height: 12px;
}

.bc-card-recruit-head strong {
  font-size: 10px;
  line-height: 1.1;
}

.bc-recruit-prospect {
  cursor: pointer;
}

.bc-recruit-prospect.bc-portal-selected .bc-card {
  outline: 2px solid var(--accent-bright);
  outline-offset: 0;
}

.bc-card-stats {
  font-size: 10px;
  padding: 2px 4px;
  background: #fff;
  line-height: 1.1;
  border-top: 1px solid #e8e8e8;
}

.bc-card-stats table {
  width: 100%;
  border-collapse: collapse;
}

.bc-card-stats td {
  padding: 0;
}

/* --- LED scoreboard modal (game replay) --- */
.bc-scoreboard-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.bc-scoreboard-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 60, 0.72);
}

.bc-scoreboard-panel {
  position: relative;
  width: min(440px, 100%);
  background: #1a1a1a;
  border-radius: 10px;
  border: 4px solid #333;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #111;
  padding: 14px 16px 16px;
}

.bc-scoreboard-panel.bc-scoreboard-win {
  border-color: #468c00;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 2px #2d5a12;
}

.bc-scoreboard-panel.bc-scoreboard-loss {
  border-color: #8b2942;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 2px #5d002f;
}

.bc-scoreboard-led-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #333;
}

.bc-scoreboard-meta {
  margin: 0;
  font-size: 0.82rem;
  color: #b8c9d9;
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.3;
  min-width: 0;
}

.bc-scoreboard-clock {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: #f4d03f;
  background: #0a0a0a;
  border: 2px solid #444;
  border-radius: 4px;
  padding: 4px 10px;
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 8px rgba(244, 208, 63, 0.15);
  min-width: 4.5rem;
}

.bc-scoreboard-clock-q {
  font-size: 0.72rem;
  line-height: 1.1;
  opacity: 0.9;
}

.bc-scoreboard-clock-time {
  font-size: 1.05rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.bc-scoreboard-row {
  margin-bottom: 12px;
}

.bc-scoreboard-row:last-of-type {
  margin-bottom: 8px;
}

.bc-scoreboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.bc-scoreboard-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #eee;
  font-family: Verdana, Geneva, sans-serif;
  min-width: 0;
  line-height: 1.25;
}

.bc-scoreboard-record {
  font-weight: 600;
  font-size: 0.78rem;
  color: #b8c4d0;
  white-space: nowrap;
}

.bc-scoreboard-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f4d03f;
  background: #0a0a0a;
  border: 2px solid #3a3a3a;
  border-radius: 4px;
  padding: 2px 10px;
  min-width: 2.2em;
  text-align: center;
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 12px rgba(244, 208, 63, 0.12);
  line-height: 1.2;
}

.bc-scoreboard-bar-track {
  height: 10px;
  background: #2a2a2a;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #444;
}

.bc-scoreboard-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 5px;
  transition: width 0.2s linear;
}

.bc-scoreboard-bar-us {
  background: linear-gradient(90deg, #357a18, #468c00);
}

.bc-scoreboard-bar-opp {
  background: linear-gradient(90deg, #4a5560, #6b7a88);
}

.bc-scoreboard-caption {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #d4e8ff;
  font-family: Verdana, Geneva, sans-serif;
  min-height: 1.3em;
}

.bc-scoreboard-result {
  margin: 10px 0 0;
  text-align: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  font-family: Verdana, Geneva, sans-serif;
}

.bc-scoreboard-panel.bc-scoreboard-win .bc-scoreboard-result {
  color: #7dce4a;
}

.bc-scoreboard-panel.bc-scoreboard-loss .bc-scoreboard-result {
  color: #e88;
}

.bc-scoreboard-actions {
  margin-top: 14px;
  text-align: center;
}

.bc-prospects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.bc-hint {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 12px;
}

.bc-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* --- Schedule / stats --- */
.bc-schedule-results {
  margin: 0 auto 4px;
  max-width: 520px;
  overflow-x: auto;
}

.bc-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.15;
}

.bc-schedule-table th,
.bc-schedule-table td {
  padding: 1px 4px;
  vertical-align: middle;
  border-bottom: 1px solid #e4eaf0;
}

.bc-schedule-table thead th {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 2px solid #c8d4e0;
  white-space: nowrap;
}

.bc-schedule-table .bc-schedule-play-col {
  width: 1.35rem;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.bc-schedule-table .bc-schedule-num {
  width: 1.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.bc-schedule-table .bc-schedule-matchup {
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.bc-schedule-match-part {
  font-weight: 600;
}

.bc-schedule-at {
  color: var(--text-muted);
  font-weight: 600;
  padding: 0 0.15em;
}

.bc-schedule-table tr.row-win .bc-schedule-us-part {
  color: var(--bg-card);
}

.bc-schedule-table tr.row-loss .bc-schedule-us-part {
  color: #8b2942;
}

.bc-schedule-play-cb {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  vertical-align: middle;
}

.bc-schedule-row:not(.bc-schedule-played) {
  cursor: pointer;
}

.bc-schedule-row.bc-schedule-play-checked:not(.bc-schedule-current) {
  background: rgba(0, 51, 102, 0.06);
}

.bc-schedule-row.bc-schedule-current {
  font-weight: 700;
  color: var(--bg-header);
  background: rgba(0, 51, 102, 0.04);
}

.bc-schedule-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.bc-team-grades {
  font-size: 0.88em;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.picker-item .bc-team-grades {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}

.bc-playoff-game .bc-team-grades {
  display: inline;
  font-size: 0.82em;
}

.bc-schedule-meta {
  max-width: 520px;
  margin: 4px auto 6px;
}

.bc-record {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bg-header);
  margin: 0 0 2px;
  line-height: 1.2;
}

.bc-bcs {
  text-align: center;
  padding: 5px 8px;
  background: #f4f8fb;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  margin: 0;
  line-height: 1.3;
}

.bc-bowl-invite {
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  padding: 12px;
  background: #eef5ff;
  border-radius: 8px;
}

.bc-national-champ {
  color: #c41e1e;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  padding: 16px;
  background: linear-gradient(180deg, #fff8e6, #fff);
  border: 2px solid #ffd700;
  border-radius: 8px;
}

.bc-schedule-key {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 3px;
  line-height: 1.2;
}

.bc-playoff-bracket {
  margin: 12px 0;
  font-size: 0.92rem;
}

.bc-playoff-game {
  padding: 6px 0;
  border-bottom: 1px solid #e8edf2;
}

.bc-playoff-seed,
.bc-playoff-user {
  font-weight: 600;
  margin-bottom: 10px;
}

.bc-playoff-miss {
  text-align: center;
  padding: 5px 8px;
  background: #f7fafc;
  border-radius: 6px;
  margin: 6px auto;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.3;
}

.bc-playoff-champ {
  text-align: center;
  font-weight: 600;
  margin: 4px auto 6px;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.3;
}

.bc-scoreline {
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  margin: 8px 0 16px;
  color: var(--bg-header);
}

.bc-scoreline-win .bc-schedule-us-part {
  color: var(--bg-card);
}

.bc-scoreline-loss .bc-schedule-us-part {
  color: #8b2942;
}

.bc-stats {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.bc-stats caption {
  background: var(--bg-page);
  color: #fff;
  font-weight: 700;
  padding: 8px;
  caption-side: top;
}

.bc-stats th,
.bc-stats td {
  border: 1px solid #dde4ea;
  padding: 6px 8px;
}

.bc-stats th {
  background: #eef2f6;
  font-weight: 600;
}

.bc-stats-off tr:nth-child(even),
.bc-stats-def tr:nth-child(even) {
  background: #f9fbfc;
}

.bc-season-register {
  max-width: 520px;
  margin: 6px auto 0;
}

.bc-register-heading {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-header);
  line-height: 1.2;
}

.bc-register {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
  margin: 0;
}

.bc-register th,
.bc-register td {
  border: 1px solid var(--border);
  padding: 3px 6px;
  line-height: 1.2;
}

.bc-register th {
  background: #eef2f6;
  text-align: left;
}

/* --- Footer --- */
.footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  margin-top: 24px;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

.footer a:hover {
  text-decoration: none;
}

/* Gatekeeper/Ezoic persistent CMP gear — footer link replaces it */
#ez-privacy-settings-button {
  position: fixed !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .main-layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-width: 0;
    min-height: 0;
    order: 2;
  }

  .sidebar-right {
    order: 3;
  }

  .content-col {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .bc-panel {
    width: 100%;
  }

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

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

  .bc-roster-row,
  .bc-recruit-columns {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .bc-roster-def,
  .bc-recruit-columns-def {
    max-width: 100%;
  }

  .picker-list {
    max-height: 220px;
  }

  .bc-header-inner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .bc-card {
    width: 94px;
  }

  .bc-recruit-column {
    flex: 0 0 94px;
    width: 94px;
  }

  .wrap {
    padding: 10px 8px 24px;
  }
}
