/* MRL Fantasy. Built on the MRL tokens in app.css. One idea carries it: points are the loudest thing on screen,
   set in Big Shoulders numerals; everything around them stays quiet. Each sport has one color, used only to say
   which sport a slot or a robot is scoring: Hoops ember, Kickball turf, Flag Raid sky. Gold means Projected. */
:root {
  --fx-hoops: #FF8A3D; --fx-kick: #8FD14F; --fx-flag: #3CC3F2; --fx-flex: #C7D3E6;
  --fx-hoops-bg: rgba(255, 138, 61, 0.14); --fx-kick-bg: rgba(143, 209, 79, 0.14); --fx-flag-bg: rgba(60, 195, 242, 0.14); --fx-flex-bg: rgba(199, 211, 230, 0.12);
  --fx-tabs-h: 62px;
}
.fx { margin: -20px -16px 0; padding: 0 16px calc(var(--fx-tabs-h) + 28px); min-height: 70vh; }
.fx-top { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.fx-brand { display: inline-flex; align-items: baseline; gap: 5px; font-family: var(--head); font-weight: 900; line-height: 1; }
.fx-word { font-size: 24px; color: #fff; }
.fx-word2 { font-size: 24px; color: var(--gold); }
.fx-crumb { font: 700 16px/1.1 var(--head); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; padding-left: 10px; border-left: 1px solid var(--line-2); }
.fx-top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.fx-bell { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--text-2); }
.fx-bell b { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--brand); color: #fff; font: 700 11px/18px var(--body); text-align: center; }
.fx-head { margin: 4px 0 16px; }
.fx-head h1 { font-size: clamp(34px, 9vw, 54px); }
.fx-head p { margin: 8px 0 0; max-width: 60ch; }

/* bottom tabs on phones, a quiet top bar on wide screens */
.fx-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #040B18; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.fx-tabs a { display: grid; justify-items: center; gap: 3px; padding: 9px 2px 8px; color: var(--muted); font: 600 11.5px/1 var(--body); min-height: var(--fx-tabs-h); }
.fx-tabs a.on { color: #fff; }
.fx-tabs a.on svg { color: var(--gold); }
@media (min-width: 900px) {
  .fx { padding-bottom: 40px; }
  .fx-tabs { position: static; display: flex; gap: 4px; background: none; border: 0; border-bottom: 1px solid var(--line); margin: -6px 0 18px; order: -1; padding: 0; }
  .fx-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px 10px; font: 700 17px/1 var(--head); border-bottom: 3px solid transparent; min-height: 0; }
  .fx-tabs a.on { border-bottom-color: var(--gold); }
  .fx-tabs svg { width: 18px; height: 18px; }
  .fx { display: flex; flex-direction: column; }
  .fx > .fx-top { order: -2; }
}
.fx-body { display: grid; gap: 16px; }
.fx-cols { display: grid; gap: 16px; }
@media (min-width: 900px) { .fx-cols { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }

/* panels: flat, one border, a title row. No stripes, no shadows. */
.fx-panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fx-panel > h2, .fx-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 21px; padding: 12px 14px 10px; border-bottom: 1px solid var(--line); }
.fx-ph h2 { font-size: 21px; }
.fx-ph a, .fx-ph .muted { font: 600 13px var(--body); color: #9CC4FF; }
.fx-pb { padding: 14px; }
.fx-empty { padding: 34px 16px; text-align: center; color: var(--muted); }
.fx-empty h2 { color: #fff; margin-bottom: 8px; }
.fx-empty p { margin: 0 auto 14px; max-width: 46ch; }

/* sport slot chips and dots */
.fx-slot { display: inline-grid; place-items: center; min-width: 44px; height: 26px; padding: 0 6px; border-radius: 5px; font: 800 14px/1 var(--head); letter-spacing: 0.02em; }
.fx-slot.hoops { background: var(--fx-hoops-bg); color: var(--fx-hoops); }
.fx-slot.kick { background: var(--fx-kick-bg); color: var(--fx-kick); }
.fx-slot.flag { background: var(--fx-flag-bg); color: var(--fx-flag); }
.fx-slot.flex { background: var(--fx-flex-bg); color: var(--fx-flex); }
.fx-slot.ir { background: rgba(255, 97, 112, 0.14); color: var(--loss); }
.fx-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fx-flex); }
.fx-dot.hoops { background: var(--fx-hoops); } .fx-dot.kick { background: var(--fx-kick); } .fx-dot.flag { background: var(--fx-flag); }
.fx-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.fx-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* robot rows */
.fx-av { display: inline-block; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #0A1830; }
.fx-av svg { width: 100%; height: 100%; }
.fx-av-empty { display: inline-grid; place-items: center; font: 800 16px var(--head); color: var(--text-2); border: 1px solid var(--line-2); }
.fx-rr { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); min-height: 60px; }
.fx-rr:last-child { border-bottom: 0; }
.fx-rr-l { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
a.fx-rr-l:hover b { text-decoration: underline; }
.fx-rr-m { display: grid; gap: 2px; min-width: 0; }
.fx-rr-m b { font-weight: 700; font-size: 15px; white-space: nowrap; }
.fx-rr-m span { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-rr-m span svg { width: 14px; height: 14px; }
.fx-rr-sub { color: var(--text-2) !important; }
.fx-rr-r { margin-left: auto; text-align: right; display: grid; gap: 2px; justify-items: end; flex-shrink: 0; }
.fx-pts { font: 800 26px/1 var(--head); font-variant-numeric: tabular-nums; }
.fx-pts.dim { color: var(--muted); }
.fx-proj { font-size: 12px; color: var(--gold); white-space: nowrap; }
.fx-live { display: inline-flex; align-items: center; gap: 5px; color: #fff; font: 700 11.5px/1 var(--body); background: var(--brand); border-radius: 3px; padding: 3px 6px; }
.fx-rr.live { background: rgba(228, 0, 43, 0.08); }
.fx-tag { font: 700 11px/1 var(--body); border: 1px solid var(--line-2); border-radius: 3px; padding: 2px 5px; color: var(--text-2); }
.fx-tag.bad { border-color: var(--loss); color: var(--loss); }
.fx-tag.ok { border-color: var(--win); color: var(--win); }
.fx-tag.gold { border-color: var(--gold); color: var(--gold); }
.fx-lineup .fx-rr { gap: 8px; }
.fx-lineup .fx-slot { flex-shrink: 0; }
.fx-lock { color: var(--muted); font-size: 11.5px; }
.fx-rr.pick { outline: 2px solid var(--gold); outline-offset: -2px; }
.fx-rr button.fx-sw { border: 1px solid var(--line-2); background: transparent; color: var(--text-2); border-radius: 6px; padding: 6px 9px; font: 700 12px var(--body); cursor: pointer; }
.fx-rr button.fx-sw:hover { border-color: #fff; color: #fff; }
.fx-rr button.fx-sw[disabled] { opacity: 0.4; cursor: not-allowed; }
.fx-group { padding: 8px 14px; font: 700 13px var(--body); color: var(--muted); background: var(--bg-2); border-bottom: 1px solid var(--line); }

/* the faceoff: the matchup's two numbers */
.fo { background: radial-gradient(130% 120% at 50% -10%, #17386A 0%, var(--card) 55%); border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px 14px; }
.fo-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; }
.fo-side { display: grid; gap: 6px; min-width: 0; }
.fo-side.r { justify-items: end; text-align: right; }
.fo-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fo-side.r .fo-team { flex-direction: row-reverse; }
.fo-team > span:not(.fx-av) { display: grid; gap: 3px; min-width: 0; }
.fo-team b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-side.r .fo-team > span:not(.fx-av) { justify-items: end; }
.fo-num { font-size: clamp(54px, 16vw, 92px); font-weight: 900; line-height: 0.85; letter-spacing: -0.01em; }
.fo-proj { font-size: 12.5px; color: var(--gold); }
.fo-vs { font: 700 14px var(--head); color: var(--muted); padding-bottom: 22px; }
.fo-bar { margin-top: 14px; height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.fo-bar i { display: block; height: 100%; background: #fff; }
.fo-ch { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.fo-ch b { color: #fff; font-weight: 700; }
.fx-vs-rows { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.fx-vs-rows > div { border-bottom: 1px solid var(--line); min-height: 58px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; min-width: 0; }
.fx-vs-rows .mid { justify-content: center; padding: 8px 2px; background: var(--bg-2); }
.fx-vs-rows .rgt { flex-direction: row-reverse; text-align: right; }
.fx-vs-rows .who { display: grid; min-width: 0; gap: 2px; }
.fx-vs-rows .who b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-vs-rows .who span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-vs-rows .p { margin-left: auto; font: 800 21px/1 var(--head); font-variant-numeric: tabular-nums; }
.fx-vs-rows .rgt .p { margin-left: 0; margin-right: auto; }
.fx-vs-rows .live { background: rgba(228, 0, 43, 0.08); }

/* home feed cards */
.fx-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .fx-cards { grid-template-columns: 1fr 1fr; } }
.fx-lc { display: grid; gap: 10px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.fx-lc:hover { border-color: var(--line-2); }
.fx-lc-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.fx-lc-top b { font: 800 19px/1.1 var(--head); }
.fx-lc-top span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.fx-lc-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.fx-lc-score .n { font: 900 40px/0.9 var(--head); font-variant-numeric: tabular-nums; }
.fx-lc-score .r { text-align: right; }
.fx-lc-score small { display: block; font: 500 12px var(--body); color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-alerts { display: grid; gap: 8px; }
.fx-alert { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); }
.fx-alert b { color: #fff; }
.fx-alert.damage, .fx-alert.empty { border-color: rgba(255, 176, 32, 0.6); }
.fx-alert.draft { border-color: var(--brand); }
.fx-quick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.fx-quick::-webkit-scrollbar { display: none; }
.fx-quick .btn { flex: 0 0 auto; }
.fx-notes { display: grid; }
.fx-note { display: grid; gap: 3px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.fx-note:last-child { border-bottom: 0; }
.fx-note span { font-size: 12px; color: var(--muted); }
.fx-note.unread b::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-right: 7px; vertical-align: 1px; }

/* landing */
.fx-hero { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #0F2A52, #071A33 70%); padding: 26px 18px 22px; }
.fx-hero h1 { font-size: clamp(46px, 13vw, 96px); line-height: 0.86; font-weight: 900; }
.fx-hero h1 span { display: block; color: var(--gold); }
.fx-hero p { font-size: 16.5px; max-width: 44ch; margin: 14px 0 18px; color: var(--text-2); }
.fx-hero-board { margin-top: 20px; display: grid; gap: 6px; max-width: 520px; }
.fx-hero-board .fx-rr { background: rgba(4, 11, 24, 0.55); border: 1px solid var(--line); border-radius: 8px; }
.fx-steps { display: grid; gap: 12px; }
@media (min-width: 760px) { .fx-steps { grid-template-columns: repeat(3, 1fr); } }
.fx-step { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.fx-step h3 { margin-bottom: 8px; }
.fx-step p { margin: 0; font-size: 14px; }

/* forms */
.fx-form { display: grid; gap: 14px; }
.fx-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.fx-form input[type=text], .fx-form input[type=email], .fx-form input[type=number], .fx-form input[type=datetime-local], .fx-form select, .fx-form textarea { width: 100%; background: var(--bg-2); color: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 12px; font: 15px var(--body); }
.fx-form textarea { min-height: 90px; resize: vertical; }
.fx-form .row2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.fx-form .hint { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.fx-choice { display: grid; gap: 8px; }
.fx-choice label { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: 8px; font-weight: 400; cursor: pointer; }
.fx-choice label:has(input:checked) { border-color: var(--gold); background: rgba(255, 184, 28, 0.06); }
.fx-choice b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.fx-choice input { margin-top: 3px; accent-color: var(--gold); }
.fx-avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; max-height: 240px; overflow: auto; padding: 2px; }
.fx-avatars button { border: 2px solid transparent; background: none; padding: 0; border-radius: 50%; cursor: pointer; aspect-ratio: 1; }
.fx-avatars button.on { border-color: var(--gold); }
.fx-avatars svg { width: 100%; height: 100%; border-radius: 50%; }
.fx-score-tbl td:first-child { text-align: left; }
.fx-score-tbl input { width: 74px; background: var(--bg-2); color: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 8px; font: 14px var(--body); text-align: right; }

/* standings and scoreboard */
.fx-st { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.fx-st th { font: 700 12px var(--body); color: var(--muted); text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.fx-st td { padding: 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fx-st th:nth-child(2), .fx-st td:nth-child(2) { text-align: left; }
.fx-st td:first-child, .fx-st th:first-child { width: 28px; color: var(--muted); text-align: left; }
.fx-st tr.me td { background: rgba(255, 184, 28, 0.06); }
.fx-st tr.cut td { border-bottom: 2px dashed var(--line-2); }
.fx-st .tn { display: flex; align-items: center; gap: 8px; font-weight: 600; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.fx-st tr.out td { color: var(--muted); }
.fx-sb { display: grid; gap: 1px; background: var(--line); }
.fx-sb a { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 11px 14px; background: var(--card); }
.fx-sb a:hover { background: var(--card-2); }
.fx-sb .t { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.fx-sb .s { font: 800 20px/1 var(--head); text-align: right; font-variant-numeric: tabular-nums; }
.fx-sb .win { color: #fff; } .fx-sb .lo { color: var(--muted); }
.fx-weeks { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.fx-weeks::-webkit-scrollbar { display: none; }
.fx-weeks a { flex: 0 0 auto; min-width: 40px; text-align: center; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line-2); font: 700 15px/1 var(--head); color: var(--text-2); }
.fx-weeks a.on { background: #fff; color: var(--bg); border-color: #fff; }
.fx-weeks a.po { border-style: dashed; }
.fx-bracket { display: grid; gap: 14px; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; padding: 14px; }
.fx-br-r h3 { font-size: 17px; margin-bottom: 8px; color: var(--text-2); }
.fx-br-m { border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.fx-br-m div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: 13.5px; }
.fx-br-m div + div { border-top: 1px solid var(--line); }
.fx-br-m .won { font-weight: 700; color: #fff; }
.fx-br-m .seed { color: var(--muted); margin-right: 6px; }
.fx-sub { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.fx-sub::-webkit-scrollbar { display: none; }
.fx-sub a { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 13px var(--body); color: var(--text-2); }
.fx-sub a.on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* players list filters */
.fx-filters { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.fx-filters input[type=search] { grid-column: 1 / -1; }
.fx-filters select, .fx-filters input { width: 100%; }
@media (min-width: 760px) { .fx-filters { grid-template-columns: 2fr 1fr 1fr 1fr; } .fx-filters input[type=search] { grid-column: auto; } }

/* robot card */
.fx-card-top { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px; }
.fx-card-top .fx-av { width: 88px; height: 88px; border-radius: 14px; }
.fx-card-top h1 { font-size: clamp(38px, 10vw, 60px); }
.fx-big3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fx-big3 div { padding: 12px 14px; border-right: 1px solid var(--line); }
.fx-big3 div:last-child { border-right: 0; }
.fx-big3 b { display: block; font: 900 30px/1 var(--head); font-variant-numeric: tabular-nums; }
.fx-big3 span { font-size: 12px; color: var(--muted); }
.fx-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 14px 14px 0; }
.fx-bars div { flex: 1; display: grid; justify-items: center; gap: 4px; height: 100%; align-content: end; }
.fx-bars i { display: block; width: 100%; max-width: 30px; border-radius: 3px 3px 0 0; background: #5B8CFF; min-height: 2px; }
.fx-bars span { font-size: 11px; color: var(--muted); }
.fx-bars em { font: 700 12px var(--head); font-style: normal; }
.fx-acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* chat */
.fx-chat { display: grid; gap: 2px; max-height: 60vh; overflow-y: auto; padding: 10px 0; }
.fx-msg { padding: 8px 14px; display: grid; gap: 3px; }
.fx-msg .h { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; color: var(--muted); }
.fx-msg .h b { color: #fff; font-size: 13.5px; }
.fx-msg p { margin: 0; color: var(--text); font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.fx-msg.sys p { color: var(--text-2); font-size: 13.5px; }
.fx-msg.sys { background: var(--bg-2); border-radius: 6px; margin: 0 10px; }
.fx-react { display: flex; gap: 4px; flex-wrap: wrap; }
.fx-react button { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 2px 8px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.fx-react button.on { border-color: var(--gold); color: #fff; }
.fx-send { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); }
.fx-send input { flex: 1; min-width: 0; }

/* draft room */
.dr { display: grid; gap: 12px; }
.dr-clock { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); }
.dr-clock.mine { border-color: var(--gold); background: rgba(255, 184, 28, 0.07); }
.dr-clock .t { font: 900 46px/0.9 var(--head); font-variant-numeric: tabular-nums; min-width: 2.4ch; }
.dr-clock .t.low { color: var(--brand-2); }
.dr-clock .cw b { display: block; font-size: 16px; }
.dr-clock .cw span { font-size: 12.5px; color: var(--muted); }
.dr-tabs { display: flex; gap: 6px; overflow-x: auto; }
.dr-tabs button { flex: 0 0 auto; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); border-radius: 999px; padding: 8px 14px; font: 600 13px var(--body); cursor: pointer; }
.dr-tabs button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.dr-grid { display: grid; gap: 12px; }
@media (min-width: 1000px) { .dr-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .dr-grid [data-pane] { display: block !important; } .dr-tabs { display: none; } }
.dr-board { overflow: auto; max-height: 70vh; }
.dr-board table { border-collapse: separate; border-spacing: 3px; font-size: 11.5px; }
.dr-board th { font: 700 11px var(--body); color: var(--muted); padding: 4px; position: sticky; top: 0; background: var(--card); max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-board td { width: 92px; min-width: 92px; height: 44px; vertical-align: top; padding: 5px 6px; border-radius: 5px; background: var(--bg-2); color: var(--muted); }
.dr-board td.hoops { background: var(--fx-hoops-bg); color: #fff; }
.dr-board td.kick { background: var(--fx-kick-bg); color: #fff; }
.dr-board td.flag { background: var(--fx-flag-bg); color: #fff; }
.dr-board td.now { outline: 2px solid var(--gold); }
.dr-board td b { display: block; font-size: 12.5px; }
.dr-board td .rd { font-size: 10.5px; color: var(--muted); }
.dr-board th.rd { width: 26px; min-width: 26px; }
.dr-av .fx-rr { min-height: 56px; }
.dr-pick { border: 1px solid var(--line-2); background: var(--card-2); color: #fff; border-radius: 6px; padding: 7px 10px; font: 700 12.5px var(--body); cursor: pointer; }
.dr-pick.go { background: var(--brand); border-color: var(--brand); }
.dr-pick[disabled] { opacity: 0.45; cursor: not-allowed; }
.dr-mine .fx-rr { min-height: 50px; }
.dr-bid { display: grid; gap: 10px; padding: 14px; border-radius: 10px; border: 1px solid var(--gold); background: rgba(255, 184, 28, 0.06); }
.dr-bid .amt { font: 900 54px/0.9 var(--head); }
.dr-bid-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dr-budgets { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; padding: 12px 14px; }
.dr-budgets div { font-size: 12.5px; color: var(--muted); }
.dr-budgets b { color: #fff; font: 800 18px var(--head); margin-right: 4px; }
.fx-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.fx-switch input { accent-color: var(--gold); width: 18px; height: 18px; }
.fx-badges { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); padding: 14px; }
.fx-badge { border: 1px solid var(--line-2); border-radius: 10px; padding: 12px; display: grid; gap: 4px; }
.fx-badge b { font: 800 18px/1.1 var(--head); }
.fx-badge span { font-size: 12px; color: var(--muted); }
.fx-badge.locked { opacity: 0.45; border-style: dashed; }
.fx-badge.got { border-color: var(--gold); }
.fx-trophy { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.fx-trophy svg { color: var(--gold); flex-shrink: 0; }
.fx-kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 14px; padding: 14px; }
.fx-kv dt { color: var(--muted); }
.fx-kv dd { margin: 0; }
.fx-trade { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.fx-trade-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13.5px; }
.fx-trade-sides b { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.fx-pick-list { display: grid; gap: 6px; max-height: 300px; overflow: auto; }
.fx-pick-list label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
@media (max-width: 420px) { .fo-num { font-size: 56px; } .fx-rr { padding: 9px 12px; } }
@media (prefers-reduced-motion: no-preference) { .fx-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: fxpulse 1.4s ease-in-out infinite; } }
@keyframes fxpulse { 50% { opacity: 0.25; } }

@media (max-width: 640px) { .fx-st .hide-sm { display: none; } }
.fx-st th { white-space: nowrap; }
.fx-acts { align-items: center; }
.fx-acts .fx-tag { padding: 7px 10px; font-size: 12.5px; }
body.is-fx .strip { display: none; }
.fo-team .fx-live { justify-self: start; width: max-content; }
.fo-side.r .fo-team .fx-live { justify-self: end; }
.dr-sp { display: inline-flex; align-items: center; gap: 4px; margin-right: 6px; }
