* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji"; }
.site-header { display:flex; align-items:center; justify-content:space-between; padding: 12px 16px; border-bottom: 1px solid #1f2937; position: sticky; top:0; backdrop-filter: blur(6px); background: color-mix(in srgb, var(--bg) 92%, transparent); gap: 12px; z-index: 400; }
.site-header .brand { display:flex; gap:10px; align-items:center; }
.site-header .brand img { height:28px; }
.site-header .brand a { color: var(--text); text-decoration:none; font-weight:700; }
.site-header .search { flex:1; max-width: 520px; }
.site-header .search input { width:100%; background:#0f172a; color:var(--text); border:1px solid #334155; padding:8px 10px; border-radius: 999px; }
.nav { display:flex; gap:8px; align-items:center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border:1px solid #334155; border-radius: 999px; text-decoration:none; color: var(--text); background: rgba(30, 64, 175, 0.05); cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; font: inherit; }
.btn:hover { background: rgba(59, 130, 246, 0.18); border-color: color-mix(in srgb, var(--brand) 55%, #000); color: #f8fafc; }
.btn:focus { outline: none; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35); }
.btn.primary { background: var(--brand); border-color: color-mix(in srgb, var(--brand) 70%, #000); color: #fff; }
.btn.danger { background: #7f1d1d; border-color:#ef4444; color: #fff; }
.nav .chip { font-size: 12px; opacity:.7; }
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-toggle { background: none; border: 1px solid #334155; border-radius: 999px; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font: inherit; }
.nav-dropdown .dropdown-toggle:focus { outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35); border-color: color-mix(in srgb, var(--brand) 70%, #000); }
.nav-dropdown .dropdown-caret { font-size: 12px; opacity: 0.75; }
.nav-dropdown .dropdown-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: rgba(15, 23, 42, 0.96); border: 1px solid #1f2937; border-radius: 12px; box-shadow: 0 16px 30px rgba(0,0,0,0.4); padding: 6px 0; z-index: 1200; }
.nav-dropdown.open .dropdown-menu { display: block; }
.nav-dropdown .dropdown-item { display: block; padding: 8px 14px; color: var(--text); text-decoration: none; font-size: 14px; }
.nav-dropdown .dropdown-item:hover { background: rgba(59, 130, 246, 0.18); color: #f8fafc; }
.nav-user-dropdown .dropdown-toggle { gap: 8px; }
.nav-user-dropdown .dropdown-menu { min-width: 220px; }
.dropdown-separator { height: 1px; margin: 6px 0; background: rgba(148, 163, 184, 0.25); }
.dropdown-item-danger { color: #fcd5d5; }
.dropdown-item-danger:hover { background: rgba(239, 68, 68, 0.16); color: #fee2e2; }
.live-impact-toast-container { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 1200; pointer-events: none; }
.live-impact-toast { background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 14px; padding: 12px 14px; min-width: 260px; max-width: 320px; box-shadow: 0 18px 40px rgba(0,0,0,0.4); opacity: 0; transform: translateY(20px); transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: auto; }
.live-impact-toast.visible { opacity: 1; transform: translateY(0); }
.live-impact-title { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.live-impact-message { font-size: 14px; margin-top: 4px; color: #dbeafe; }
.live-impact-badge { font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 999px; background: rgba(59, 130, 246, 0.25); color: #93c5fd; text-transform: uppercase; letter-spacing: 0.05em; }
.live-impact-badge.bench { background: rgba(234, 179, 8, 0.25); color: #facc15; }
.btn.full { display: block; width: 100%; text-align: center; }
.auth-card { max-width: 420px; margin: 60px auto; padding: 24px; background: rgba(15, 23, 42, 0.92); border: 1px solid #1f2937; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.45); display: grid; gap: 16px; }
.auth-card h1 { margin: 0; text-align: center; font-size: 26px; letter-spacing: 0.02em; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { font-size: 14px; font-weight: 600; color: #cbd5f5; margin: 0; }
.auth-form input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #334155; background: rgba(15, 23, 42, 0.6); color: var(--text); }
.auth-form input:focus { outline: none; border-color: color-mix(in srgb, var(--brand) 65%, #1f2937); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }
.auth-form button { margin-top: 6px; }
.auth-note { font-size: 13px; text-align: center; color: #9ca3af; }

.profile-page { display: grid; gap: 24px; }
.profile-header { display: grid; gap: 6px; }
.profile-header h1 { margin: 0; font-size: 28px; }
.profile-meta { margin: 0; font-size: 14px; color: #94a3b8; }
.profile-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.profile-card { padding: 22px; display: grid; gap: 16px; }
.profile-card h2 { margin: 0; font-size: 20px; }
.profile-card form { display: grid; gap: 12px; }
.profile-field { display: grid; gap: 6px; }
.profile-label { font-size: 13px; font-weight: 600; color: #cbd5f5; }
.profile-input { background: #0f172a; border: 1px solid #1f2937; border-radius: 10px; padding: 10px 12px; color: var(--text); width: 100%; }
.profile-input:focus { outline: none; border-color: color-mix(in srgb, var(--brand) 70%, #000); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }
.profile-error { margin: 0; font-size: 13px; color: #fca5a5; }
.profile-hint { font-size: 13px; color: #94a3b8; }
@media (max-width: 640px) {
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
}

.container { padding: 20px; }
.flash { list-style:none; padding:0; margin:10px 0; display:grid; gap:6px; }
.flash li.ok { background:#0c3b2e; border:1px solid #10b981; padding:8px 10px; border-radius:8px; }
.flash li.error { background:#451a1a; border:1px solid #ef4444; padding:8px 10px; border-radius:8px; }
.page-title { margin: 8px 2px 16px; font-size: 22px; }
.live-streams-section { margin: 6px 0 28px; display: grid; gap: 12px; }
.live-streams-section h2 { margin: 0; font-size: 20px; }
.live-streams-table-wrap { border: 1px solid #1f2937; border-radius: 12px; overflow: hidden; background: #0f172a; }
.live-streams-table { width: 100%; border-collapse: collapse; }
.live-streams-table thead th { background: rgba(15, 23, 42, 0.92); font-weight: 600; }
.live-streams-table th, .live-streams-table td { padding: 10px 12px; border-bottom: 1px solid #1f2937; text-align: left; }
.live-streams-table tr:last-child td { border-bottom: none; }
.live-streams-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  font-size: 13px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.live-streams-link:hover {
  background: rgba(59, 130, 246, 0.24);
  color: #bfdbfe;
}
.fixtures-section { margin: 6px 0 28px; display: grid; gap: 12px; }
.fixtures-section h2 { margin: 0; font-size: 20px; }
.fixtures-table-wrap { border: 1px solid #1f2937; border-radius: 12px; overflow: hidden; background: #0f172a; }
.fixtures-table { width: 100%; border-collapse: collapse; }
.fixtures-table thead th { background: rgba(15, 23, 42, 0.92); font-weight: 600; }
.fixtures-table th, .fixtures-table td { padding: 10px 12px; border-bottom: 1px solid #1f2937; text-align: left; }
.fixtures-table thead th.fixtures-fixture,
.fixtures-table tbody td.fixtures-fixture {
  text-align: center;
}
.fixtures-table tr:last-child td { border-bottom: none; }
.fixtures-divider th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #9ca3af; background: rgba(15, 23, 42, 0.85); }
.fixtures-time { white-space: nowrap; width: 82px; font-variant-numeric: tabular-nums; }
.fixtures-stream { width: 140px; text-align: right; white-space: nowrap; }
.fixture-stream-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  font-size: 13px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.fixture-stream-link:hover {
  background: rgba(59, 130, 246, 0.24);
  color: #bfdbfe;
}
.fixtures-stream-name { font-weight: 600; }
.fixtures-score, .fixtures-stream-name { text-align: left; }
.fixtures-name-cell { text-align: left; }
.fixture-stream-name { font-weight: 600; margin-top: 6px; }
.score-inline { font-size: 14px; font-weight: 600; color: #fbbf24; }
.fixture-stream-missing {
  color: #4b5563;
  font-size: 12px;
}
.fixture-matchup { display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap: 12px; }
.fixture-matchup .team:first-child { text-align:right; }
.fixture-matchup .team:last-child { text-align:left; }
.fixture-matchup .score { min-width: 48px; text-align:center; font-weight:600; justify-self:center; }
.fixtures-status { width: 90px; white-space: nowrap; text-align:right; }
.fixture-status { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #9ca3af; }
.fixture-status.is-live { color: #f59e0b; }
.fixture-status.is-final { color: #34d399; }
.fixture-meta { font-size: 12px; color: #9ca3af; margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fixture-competition { font-weight: 600; color: #cbd5f5; }
.fixture-day { color: #a5b4fc; }
.fixture-meta-sep { color: #475569; }
.fixtures-table tbody tr:hover { background: rgba(15, 23, 42, 0.65); }
.fixture-tabs { display: grid; gap: 18px; }
.fixture-tab-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.fixture-tab-btn { border: 1px solid #334155; background: rgba(15,23,42,0.6); color: var(--text); padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; font-weight: 600; }
.fixture-tab-btn.active { background: var(--brand); border-color: color-mix(in srgb, var(--brand) 80%, #000); color: #fff; }
.fixture-tab-btn:hover { border-color: color-mix(in srgb, var(--brand) 60%, #000); }
.fixture-tab-panel { display: none; }
.fixture-tab-panel.active { display: block; }
.fixture-tab-event { font-weight: 400; font-size: 13px; opacity: .8; margin-left: 4px; }
@media (max-width: 640px) {
  .fixture-matchup { grid-template-columns: 1fr; justify-items: flex-start; gap: 4px; }
  .fixtures-status { text-align: left; width: auto; }
  .fixtures-stream { text-align: left; width: auto; }
}
.fpl-awards-page { display: grid; gap: 24px; }
.fpl-awards-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.fpl-awards-header h1 { margin: 0; font-size: 28px; }
.fpl-awards-subtitle { margin: 6px 0 0; color: #cbd5f5; font-size: 16px; }
.fpl-awards-meta { margin: 4px 0 0; font-size: 13px; color: #94a3b8; }
.fpl-awards-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.fpl-awards-section { display: grid; gap: 18px; }
.fpl-awards-subheader { display: flex; align-items: baseline; gap: 10px; }
.fpl-awards-subheader h2 { margin: 0; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; color: #cbd5f5; }
.fpl-award-list-item { display: grid; grid-template-columns: minmax(84px, 128px) minmax(0, 1fr); gap: 24px; padding: 22px; align-items: start; }
.fpl-award-trophy { margin: 0; display: grid; place-items: center; background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.18); border-radius: 18px; padding: 18px; }
.fpl-award-trophy img { width: 100%; max-width: 96px; height: auto; filter: drop-shadow(0 12px 20px rgba(15, 23, 42, 0.45)); }
.fpl-award-content { display: grid; gap: 16px; }
.fpl-award-card-header h2 { margin: 0; font-size: 20px; }
.fpl-award-card-description { margin: 4px 0 0; font-size: 14px; color: #9ca3af; }
.fpl-award-winners { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fpl-award-winner { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(15, 23, 42, 0.6); border: 1px solid #1f2937; }
.fpl-award-winner-main { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.fpl-award-winner-team { font-weight: 600; }
.fpl-award-winner-value { font-size: 14px; color: #93c5fd; }
.fpl-award-winner-meta { font-size: 13px; color: #cbd5f5; }
.fpl-award-winner-extra { font-size: 11px; color: #facc15; text-transform: uppercase; letter-spacing: 0.08em; }
.fpl-award-empty, .fpl-awards-message p { margin: 0; font-size: 14px; color: #cbd5f5; }
@media (max-width: 720px) {
  .fpl-award-list-item { grid-template-columns: minmax(64px, 88px) 1fr; gap: 16px; padding: 18px; }
  .card.fpl-award-list-item { grid-template-columns: minmax(64px, 88px) 1fr; gap: 16px; padding: 18px; }
  .fpl-award-trophy { padding: 12px; border-radius: 14px; }
  .fpl-award-trophy img { max-width: 72px; }
  .fpl-award-content { gap: 14px; }
}
.grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { background:#0f172a; border:1px solid #1f2937; border-radius: var(--radius); overflow:hidden; text-decoration:none; color: var(--text); display:flex; flex-direction:column; }
.card.fpl-award-list-item { display: grid; grid-template-columns: minmax(84px, 128px) minmax(0, 1fr); gap: 24px; padding: 22px; align-items: start; }
.poster { width:100%; aspect-ratio: 16/9; object-fit:cover; }
.card-body { padding: 10px 12px; display:flex; flex-direction:column; gap:6px; }
.title { font-weight:700; }
.tags { display:flex; gap:6px; flex-wrap: wrap; }
.tag { font-size: 12px; background: color-mix(in srgb, var(--brand) 30%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 60%, #000); padding: 2px 6px; border-radius: 999px; }
.player-wrap { width: var(--watch-content-width); margin: 0 auto; }
.player { width: 100%; height: auto; background: #000; border-radius: var(--radius); border:1px solid #1f2937; }


/* Watch layout: override the CSS variables below per competition to customise columns/sizing */
.watch-layout {
  display: grid;
  gap: 24px;
  margin: 0 auto 24px;
  --watch-layout-columns: minmax(0, 1fr);
  --watch-layout-max-width: min(100%, 2100px);
  --watch-content-target: min(80vw, 100%);
  grid-template-columns: var(--watch-layout-columns);
  width: var(--watch-layout-max-width);
}

.watch-layout[data-competition="premier_league"] {
  --watch-content-target: min(95vw, 100%);
}

.watch-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  max-width: none;
  --watch-content-width: clamp(
    min(460px, 100%),
    var(--watch-content-target, min(80vw, 100%)),
    100%
  );
}

.watch-main .watch-scoreboard,
.watch-main .watch-size-controls,
.watch-main .player-wrap,
.watch-main .fpl-stats {
  margin-left: auto;
  margin-right: auto;
  width: var(--watch-content-width);
  max-width: 100%;
  box-sizing: border-box;
}

.watch-size-large .watch-main {
  --watch-content-width: 100%;
}

.watch-size-cinema .watch-main {
  --watch-content-width: 100%;
}

.watch-league-rail {
  display: none;
}

.watch-league-panel {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(30, 41, 59, 0.8);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watch-league-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.watch-league-title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.watch-league-meta {
  font-size: 0.78rem;
  opacity: 0.75;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-league-message {
  font-size: 0.82rem;
  opacity: 0.78;
}

.watch-league-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.watch-league-table th,
.watch-league-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding: 0.45rem 0.5rem;
  text-align: left;
}

.watch-league-table th.col-gw,
.watch-league-table th.col-total,
.watch-league-table td.col-gw,
.watch-league-table td.col-total {
  text-align: right;
  width: 68px;
}

.watch-league-table th.col-rank,
.watch-league-table td.col-rank {
  width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.watch-league-table .rank-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
  gap: 2px;
}
.watch-league-table .rank-number {
  font-weight: 600;
  color: #e5e7eb;
}
.watch-league-table .rank-trend {
  font-size: 0.68rem;
  color: #94a3b8;
}
.watch-league-table .rank-trend.up {
  color: #22c55e;
}
.watch-league-table .rank-trend.down {
  color: #ef4444;
}

.watch-league-table .team-name {
  font-weight: 600;
}

.watch-league-table .team-manager {
  font-size: 0.72rem;
  opacity: 0.75;
}

@media (max-width: 1399px) {
  .watch-layout {
    --watch-layout-columns: minmax(0, 1fr);
  }
  .watch-layout .watch-league-rail {
    display: none !important;
  }
  .watch-layout .watch-league-panel {
    position: static;
  }
}

@media (min-width: 1400px) {
  .watch-layout[data-competition="premier_league"] {
    --watch-layout-columns: minmax(260px, 320px) minmax(0, 1fr);
    --watch-layout-max-width: min(100%, 2400px);
    align-items: start;
  }
  .watch-layout[data-competition="premier_league"] .watch-league-rail {
    display: block;
  }
  .watch-layout[data-competition="premier_league"] .watch-league-panel {
    position: sticky;
    top: 88px;
  }
}

.error { margin-top: 10px; color: #fecaca; background: #7f1d1d; border:1px solid #ef4444; padding: 8px 10px; border-radius: 8px; }
.site-footer { opacity: .6; text-align:center; padding: 20px; border-top: 1px solid #1f2937; }
.table { width:100%; border-collapse: collapse; margin-top: 12px; }
.table th, .table td { border:1px solid #1f2937; padding:8px 10px; text-align:left; }
.table .actions { display:flex; gap:8px; }
.admin-header { display:flex; gap:10px; align-items:center; justify-content:space-between; }
.form-actions { display:flex; gap:10px; margin-top:12px; }
label { display:grid; gap:6px; margin: 8px 0; }
.checkbox { display:flex; align-items:center; gap:8px; }
.notice.ok { background:#0c3b2e; border:1px solid #10b981; padding:8px 10px; border-radius:8px; }
.notice.err { background:#451a1a; border:1px solid #ef4444; padding:8px 10px; border-radius:8px; }
.admin-header { display:flex; align-items:center; gap:1rem; justify-content:space-between; flex-wrap:wrap; }
.admin-tabs { display:flex; gap:.5rem; }
.admin-tabs a { padding:.4rem .7rem; border-radius:6px; text-decoration:none; border:1px solid var(--border, #ddd); }
.admin-tabs a.active { font-weight:600; background:var(--bgSoft, #f5f5f7); }
.admin-header .actions { margin-left:auto; }
.group-block { border: 1px solid var(--border, #e2e2e2); border-radius: 8px; margin: 12px 0; overflow: hidden; }
.group-toggle { width: 100%; text-align: left; background: var(--bg2, #f7f7f7); padding: 10px 12px; border: 0; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: .5rem; }
.group-toggle .chev { display:inline-block; transition: transform .15s ease; }
.group-toggle[aria-expanded="false"] .chev { transform: rotate(-90deg); }
.group-toggle .count { margin-left: .25rem; font-weight: 500; opacity: .7; }
.group-body { padding: 0 12px 12px 12px; }
.group-body.collapsed { display: none; }
.table.compact th, .table.compact td { padding: .45rem .6rem; }

/* --- Admin form panels: padding + tidy inputs --- */

/* If a form sits directly inside a .card, give it breathing room */
.card > h2 {
  margin: 0;
  padding: 16px 18px 0 18px;
  font-size: 18px;
}

.card > form {
  padding: 16px 18px;
}

.code-block {
  display: block;
  margin: 6px 0 4px;
  padding: 8px 10px;
  background: #0f172a;
  border: 1px solid #1f2937;
  border-radius: 8px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  word-break: break-all;
  font-size: 13px;
}

.card > table,
.card > .table,
.card > div > table {
  margin: 12px 18px 18px;
}

/* Optional header inside a form card */
.card .card-header {
  padding: 12px 16px;
  border-bottom: 1px solid #1f2937;
  margin: 0 0 10px 0;
  font-weight: 700;
}

/* Vertical form layout with consistent gaps */
.form-vertical {
  display: grid;
  gap: 12px; /* space between rows */
}

/* Each row = label + control with small gap */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auto-sub-indicator {
  display: inline-block;
  font-size: 11px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1;
}

.auto-sub-indicator--in {
  color: #10b981;
}

.auto-sub-indicator--out {
  color: #ef4444;
}

.auto-sub-summary {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 6px;
  display: block;
}

.auto-sub-summary-label {
  font-weight: 500;
}

.auto-sub-summary-item {
  margin-left: 4px;
}

.auto-sub-summary-separator {
  margin-right: 4px;
  color: #6b7280;
}

/* Inputs/controls get inner padding and nice borders */
.form-row input[type="text"],
.form-row input[type="search"],
.form-row input[type="number"],
.form-row input[type="url"],
.form-row input[type="password"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0b1220;
  color: var(--text);
}

.form-row .hint {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

/* Checkbox/toggles align neatly */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Stack multiple form cards nicely - Removed due to aligning issues on the fpl page */
/*.card + .card { margin-top: 16px; } */
