/* Dashboard "Option 1 - Clean Pro" (2026-11-09): greeting, a row of 4 quick actions, the action-needed alert, then
   white cards on the page background - stat tiles, one blue "next up" card, a small trend chart, list cards.
   Colors come from the MudBlazor palette variables so dark mode keeps working; only the brand blue/orange are literal.
   Mockups: https://claude.ai/artifact/4Mo5trQtWGC3XEJ8g2j7P7 (coach) and the parent/player/club pages. */

.dash { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.dash * { box-sizing: border-box; }

/* Greeting */
.dash-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash-top .grow { flex: 1; min-width: 0; }
.dash-top h1 { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--mud-palette-text-primary); }
.dash-top p { margin: 2px 0 0; color: var(--mud-palette-text-secondary); font-size: .95rem; }
.dash-roles { margin: -4px 0 0; }
.dash-roles .mud-chip { margin: 0 4px 4px 0; }
.dash-role-current { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Quick actions: 4 across on every width; stacked icon + label on phones */
.dash-qrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dash-qrow button { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 58px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--mud-palette-lines-default); background: var(--mud-palette-surface); color: var(--mud-palette-text-primary);
  font: inherit; font-weight: 600; font-size: .92rem; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dash-qrow button:hover { border-color: #FF6D00; box-shadow: 0 6px 18px rgba(15, 39, 64, .10); transform: translateY(-1px); }
.dash-qrow button:focus-visible { outline: 3px solid #FF6D0066; outline-offset: 2px; }
.dash-qrow button:disabled { opacity: .55; cursor: default; transform: none; }
.dash-qrow .tile { background: #fff3ea; color: #FF6D00; }
@media (max-width: 640px) {
  .dash-qrow { gap: 8px; }
  .dash-qrow button { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 10px 4px; min-height: 82px; font-size: .74rem; line-height: 1.2; }
  .dash-qrow .tile { width: 34px; height: 34px; }
  .dash-top h1 { font-size: 1.35rem; }
}

/* Icon tile used in rows and quick actions */
.tile { width: 38px; height: 38px; border-radius: 10px; background: #eef3fc; color: #0D47A1; display: grid; place-items: center; flex: none; }
.tile .mud-icon-root { font-size: 1.25rem; }

/* Action-needed alert (soft orange) */
.dash-alert { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-radius: 12px; padding: 12px 14px;
  background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.dash-alert .grow { flex: 1; min-width: 200px; }
.dash-alert .t { font-weight: 700; }
.dash-alert .x { font-size: .85rem; color: #9a3412; }
.dash-alert.info { background: #eef3fc; border-color: #c7d7f3; color: #0b1f45; }
.dash-alert.info .x { color: #34507f; }
.dash-alert.danger { background: #fdecec; border-color: #f5b5b5; color: #7f1d1d; }
.dash-alert.danger .x { color: #9b1c1c; }
.dash-alert .acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* Card grid: 12 columns on desktop, one column on phones */
.dash-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.dash-grid > * { grid-column: span 12; min-width: 0; }
@media (min-width: 900px) {
  .dash-grid .s3 { grid-column: span 3; } .dash-grid .s4 { grid-column: span 4; } .dash-grid .s5 { grid-column: span 5; }
  .dash-grid .s6 { grid-column: span 6; } .dash-grid .s7 { grid-column: span 7; } .dash-grid .s8 { grid-column: span 8; }
}
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 899px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.dash-card { background: var(--mud-palette-surface); border: 1px solid var(--mud-palette-lines-default); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.dash-card h3 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--mud-palette-text-secondary);
  display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; }
.dash-card h3 a, .dash-card h3 button { text-transform: none; letter-spacing: 0; color: var(--mud-palette-primary); font-weight: 600; font-size: .82rem;
  text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.dash-card h3 a:hover, .dash-card h3 button:hover { text-decoration: underline; }

/* Stat tile */
.dash-stat { display: grid; gap: 2px; }
.dash-stat .l { font-size: .8rem; color: var(--mud-palette-text-secondary); }
.dash-stat .v { font-size: 1.75rem; font-weight: 800; color: var(--mud-palette-text-primary); line-height: 1.1; font-variant-numeric: tabular-nums; }
.dash-stat .d { font-size: .76rem; color: #1d7a45; font-weight: 600; }

/* Blue "next up" card */
.dash-next { background: #0D47A1; color: #fff; border: 0; }
.dash-next .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #ffb27a; font-weight: 700; }
.dash-next .t { font-size: 1.25rem; font-weight: 700; margin: 4px 0 2px; line-height: 1.25; }
.dash-next .w { color: #c9d8f5; font-size: .92rem; }
.dash-next .chips { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.dash-next .chip { background: #ffffff26; color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.dash-next .chip.live { background: #e53935; }
.dash-next .score { font-size: 1.6rem; font-weight: 800; color: #FFB27A; margin-top: 4px; font-variant-numeric: tabular-nums; }
.dash-next .acts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.dash-next .acts button { border: 0; border-radius: 9px; min-height: 38px; padding: 0 14px; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer;
  background: #fff; color: #0D47A1; display: inline-flex; align-items: center; gap: 6px; }
.dash-next .acts button.g { background: #173f88; color: #fff; }
.dash-next .acts button.live { background: #e53935; color: #fff; }
.dash-next .acts button:disabled { opacity: .6; cursor: default; }
.dash-next.empty { background: var(--mud-palette-surface); color: var(--mud-palette-text-primary); border: 1px dashed var(--mud-palette-lines-default); }
.dash-next.empty .k { color: #FF6D00; }
.dash-next.empty .w { color: var(--mud-palette-text-secondary); }
.dash-next.empty .acts button { background: #0D47A1; color: #fff; }

/* Trend bars */
.dash-spark { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding-top: 6px; }
.dash-spark i { flex: 1; background: #c7d7f3; border-radius: 4px 4px 0 0; display: block; min-height: 4px; }
.dash-spark i.hi { background: #0D47A1; }
.dash-spark i.neg { background: #f3c4c4; }
.dash-spark i.neg.hi { background: #c62828; }
.dash-sparkl { display: flex; justify-content: space-between; color: var(--mud-palette-text-secondary); font-size: .72rem; margin-top: 4px; }

/* List rows */
.dash-li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--mud-palette-lines-default); }
.dash-li:first-of-type { border-top: 0; }
.dash-li.click { cursor: pointer; }
.dash-li.click:hover .p { color: var(--mud-palette-primary); }
.dash-li .grow { flex: 1; min-width: 0; }
.dash-li .p { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-li .s { color: var(--mud-palette-text-secondary); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-li .r { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.dash-li .r .mud-button-root { text-transform: none; }
@media (max-width: 520px) { .dash-li { flex-wrap: wrap; } .dash-li .r { width: 100%; justify-content: flex-start; padding-left: 50px; } }
.dash-empty { color: var(--mud-palette-text-secondary); font-size: .9rem; padding: 6px 0 2px; }
.dash-empty .mud-button-root { margin-top: 10px; }

.badge { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.b-win { background: #e3f6ea; color: #17643a; } .b-loss { background: #fde8e8; color: #9b1c1c; }
.b-info { background: #e6edfa; color: #0D47A1; } .b-warn { background: #fff1e0; color: #9a3412; } .b-live { background: #e53935; color: #fff; }

.dash-pulse { animation: dashpulse 1.6s infinite; }
@keyframes dashpulse { 0%, 100% { opacity: 1 } 50% { opacity: .55 } }

/* Player/Assistant Invite dialog */
.pi-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--mud-palette-background-gray, #eef1f6); border-radius: 12px; padding: 4px; }
.pi-seg button { border: 0; background: transparent; border-radius: 9px; min-height: 52px; font: inherit; font-size: .8rem; font-weight: 600;
  color: var(--mud-palette-text-secondary); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.pi-seg button[aria-selected="true"] { background: var(--mud-palette-surface); color: #0D47A1; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.pi-pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--mud-palette-lines-default);
  background: var(--mud-palette-surface); color: var(--mud-palette-text-primary); font: inherit; text-align: left; cursor: pointer; margin-top: 8px; }
.pi-pick:hover { border-color: #0D47A1; }
.pi-pick .grow { flex: 1; min-width: 0; }
.pi-pick b { display: block; } .pi-pick span.sub { font-size: .8rem; color: var(--mud-palette-text-secondary); }
.pi-back { background: none; border: 0; padding: 0; color: var(--mud-palette-primary); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; margin-bottom: 10px; }
.pi-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pi-qr img { width: 230px; height: 230px; max-width: 100%; image-rendering: pixelated; border-radius: 8px; }
.pi-link { display: flex; align-items: center; gap: 8px; border: 1px solid var(--mud-palette-lines-default); border-radius: 12px; padding: 6px 6px 6px 12px; }
.pi-link code { flex: 1; min-width: 0; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-opts { background: var(--mud-palette-background-gray, #f6f8fc); border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.pi-preview { background: var(--mud-palette-background-gray, #f1f3f8); border-radius: 14px; padding: 10px 12px; font-size: .85rem; color: var(--mud-palette-text-primary); }
.pi-preview small { display: block; color: var(--mud-palette-text-secondary); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.pi-note { font-size: .78rem; color: var(--mud-palette-text-secondary); border-top: 1px solid var(--mud-palette-lines-default); padding-top: 8px; }
.pi-ok { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 0; }
.pi-req { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--mud-palette-lines-default); }
.pi-req .grow { flex: 1; min-width: 0; }

/* Stat tiles that open a page (club dashboard, 2026-11-19): same tile, with an arrow and a hover lift. */
button.dash-stat { font: inherit; text-align: left; grid-template-columns: minmax(0, 1fr); justify-items: start; align-content: start; cursor: pointer; position: relative; width: 100%; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
button.dash-stat::after { content: "\203A"; position: absolute; right: 14px; top: 10px; font-size: 1.4rem; font-weight: 700; line-height: 1; color: var(--mud-palette-text-secondary); }
button.dash-stat:hover { border-color: #FF6D00; box-shadow: 0 6px 18px rgba(15, 39, 64, .10); transform: translateY(-1px); }
button.dash-stat:hover::after { color: #FF6D00; }
button.dash-stat:focus-visible { outline: 3px solid #FF6D0066; outline-offset: 2px; }

/* Club pages: My organization, a team, a player (2026-11-19). */
.org-code { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; background: #0D47A1; color: #fff; border-radius: 10px;
  padding: 7px 12px; font: 700 1.02rem/1 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: 3px; white-space: nowrap; }
.org-code:hover { background: #173f88; }
.org-code:focus-visible { outline: 3px solid #FF6D0099; outline-offset: 2px; }
.org-code-cell { display: inline-flex; flex-direction: column; gap: 2px; align-items: flex-start; }
@media (max-width: 599.98px) { .org-code-cell { align-items: flex-end; } }
.org-team-row, .org-click tbody tr { cursor: pointer; }
.org-go { vertical-align: middle; }
.org-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.org-chips button { border: 1px solid var(--mud-palette-lines-default); background: var(--mud-palette-surface); color: var(--mud-palette-text-secondary);
  border-radius: 999px; padding: 4px 12px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.org-chips button.on { background: #0D47A1; border-color: #0D47A1; color: #fff; }
.org-chips button:disabled { opacity: .6; cursor: default; }

/* Player stats page */
.pl { display: flex; flex-direction: column; gap: 16px; }
.pl-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pl-num { width: 60px; height: 60px; border-radius: 14px; background: #0D47A1; color: #fff; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; flex: none; font-variant-numeric: tabular-nums; }
.pl-head .grow { flex: 1; min-width: 160px; }
.pl-form { font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pl-form.Up { background: #e3f6ea; color: #17643a; } .pl-form.Down { background: #fde8e8; color: #9b1c1c; } .pl-form.Steady { background: var(--mud-palette-background-gray, #eef1f6); color: var(--mud-palette-text-secondary); }
.pl-line { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pl-box { border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; padding: 8px 4px; text-align: center; }
.pl-box span { display: block; font-size: .72rem; color: var(--mud-palette-text-secondary); }
.pl-box b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .pl-line { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pl-card { display: flex; flex-direction: column; gap: 8px; }
.pl-card p { margin: 0; color: var(--mud-palette-text-secondary); font-size: .84rem; }
.pl-big { font-size: 1.7rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--mud-palette-text-primary); }
.pl-big.pos { color: #1d7a45; } .pl-big.neg { color: #c62828; }
.pl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .pl-two { grid-template-columns: 1fr; } }
.pl-trend { width: 100%; height: auto; display: block; }
.pl-trend .bar { fill: #c7d7f3; } .pl-trend .bar.above { fill: #0D47A1; }
.pl-trend .avg { stroke: #FF6D00; stroke-width: 2; stroke-dasharray: 5 4; }
.pl-trend text { fill: var(--mud-palette-text-secondary); font-size: 10px; font-weight: 600; }
.pl-trend text.v { fill: var(--mud-palette-text-primary); } .pl-trend text.a { fill: #FF6D00; }
.pl-dots { display: flex; gap: 5px; flex-wrap: wrap; }
.pl-dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--mud-palette-background-gray, #eef1f6); border: 1px solid var(--mud-palette-lines-default); display: block; }
.pl-dots i.hit { background: #1d7a45; border-color: #1d7a45; }
.pl-meter { height: 12px; border-radius: 6px; background: var(--mud-palette-background-gray, #eef1f6); overflow: hidden; }
.pl-meter i { display: block; height: 100%; background: #0D47A1; border-radius: 6px; }
.pl-meter.or i { background: #FF6D00; }
.pl-mrow { display: grid; gap: 4px; } .pl-mrow .lab { display: flex; justify-content: space-between; font-size: .84rem; gap: 8px; } .pl-mrow .lab b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-q { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; align-items: end; height: 110px; }
.pl-q div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; font-size: .78rem; color: var(--mud-palette-text-secondary); }
.pl-q i { display: block; width: 100%; border-radius: 6px 6px 0 0; background: #c7d7f3; min-height: 4px; }
.pl-q .top i { background: #0D47A1; } .pl-q b { color: var(--mud-palette-text-primary); font-variant-numeric: tabular-nums; }
.pl-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pl-mb { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e3f6ea; color: #17643a; }
.pl-mb.todo { background: var(--mud-palette-background-gray, #eef1f6); color: var(--mud-palette-text-secondary); }
.pl-note { font-size: .76rem; color: #9a3412; font-weight: 600; }
.pl-table { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.pl-table th { text-align: left; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--mud-palette-text-secondary); padding: 6px 8px; }
.pl-table td { padding: 8px; border-top: 1px solid var(--mud-palette-lines-default); }
.pl-table tr.click { cursor: pointer; } .pl-table tr.click:hover td { background: var(--mud-palette-action-default-hover, rgba(0,0,0,.04)); }
.pl-scroll { overflow-x: auto; }

/* Coach dashboard (2026-11-19): chart bars and the next-game card open pages. */
.dash-spark a { flex: 1; background: #c7d7f3; border-radius: 4px 4px 0 0; display: block; min-height: 4px; }
.dash-spark a.hi { background: #0D47A1; }
.dash-spark a.neg { background: #f3c4c4; }
.dash-spark a.neg.hi { background: #c62828; }
.dash-spark a:hover, .dash-spark a:focus-visible { outline: 2px solid #FF6D00; outline-offset: 1px; }
.dash-next.click { cursor: pointer; }
/* A list row whose buttons sit on their own line under the text, so the name is never squeezed out. */
.dash-li.wrap { flex-wrap: wrap; }
.dash-li.wrap .r { width: 100%; padding-left: 50px; justify-content: flex-start; }
.ai-note { display: block; margin-top: 8px; font-size: .78rem; color: var(--mud-palette-text-secondary); }
.dash-li .org-code { font-size: .85rem; padding: 5px 8px; letter-spacing: 2px; }

/* ── 2026-11-20 player dashboard: the flame (FireIcon.razor), hot tile, recap banner, recap + month pages ── */
.s365-flame { position: relative; display: inline-block; width: 1.05em; height: 1.4em; vertical-align: -.32em; margin-right: .3em; animation: s365-fglow 1.6s ease-in-out infinite; }
.s365-flame svg { width: 100%; height: 100%; overflow: visible; display: block; }
.s365-flame .fo { fill: #ff4d00; transform-origin: 50% 100%; animation: s365-flick 1.1s ease-in-out infinite; }
.s365-flame .fm { fill: #ff9a00; transform-origin: 50% 100%; animation: s365-flick2 .85s ease-in-out infinite; }
.s365-flame .fc { fill: #fff1a8; transform-origin: 50% 100%; animation: s365-flick .6s ease-in-out infinite alternate; }
.s365-flame i { position: absolute; left: 50%; bottom: 62%; width: 3px; height: 3px; border-radius: 50%; background: #ffb300; opacity: 0; animation: s365-ember 1.9s ease-out infinite; }
.s365-flame i:nth-of-type(2) { animation-delay: .65s; margin-left: -5px; }
.s365-flame i:nth-of-type(3) { animation-delay: 1.3s; margin-left: 4px; }
.s365-flame.light .fo { fill: #fff3e0; } .s365-flame.light .fm { fill: #ffe082; } .s365-flame.light .fc { fill: #fff; }
@keyframes s365-flick { 0%,100% { transform: scale(1,1) skewX(0); } 25% { transform: scale(.95,1.07) skewX(2.5deg); } 50% { transform: scale(1.04,.94) skewX(-2deg); } 75% { transform: scale(.97,1.05) skewX(1deg); } }
@keyframes s365-flick2 { 0%,100% { transform: scale(1,1) skewX(0); } 35% { transform: scale(1.05,.93) skewX(-3deg); } 65% { transform: scale(.94,1.09) skewX(3deg); } }
@keyframes s365-fglow { 0%,100% { filter: drop-shadow(0 0 2px rgba(255,110,0,.45)); } 50% { filter: drop-shadow(0 0 7px rgba(255,170,0,.95)); } }
@keyframes s365-ember { 0% { transform: translate(0,0) scale(1); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(4px,-16px) scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .s365-flame, .s365-flame * { animation: none !important; } .s365-flame i { display: none; } }
.dash-stat.hot { border-color: #ff8a3d !important; background: linear-gradient(180deg, rgba(255,120,0,.10), transparent 70%), #fff; box-shadow: 0 0 0 1px rgba(255,120,0,.25), 0 6px 18px rgba(255,100,0,.12); }
.dash-stat .hotline { color: #e65100; font-weight: 700; display: flex; align-items: center; font-size: .78rem; }
.dash-stat .d.n { color: #64748b; font-weight: 500; }
.s365-firechip { display: inline-flex; align-items: center; background: linear-gradient(90deg, #ff6d00, #ff9100); color: #fff; border-radius: 999px; padding: 4px 12px 4px 8px; font-weight: 800; font-size: .84rem; box-shadow: 0 0 12px rgba(255,120,0,.45); }
.dash-alert.recap { background: #fff3e6; border-color: #ffb37a; color: #4a1d00; cursor: pointer; }
.dash-alert.recap .x { color: #7c3a0b; }
.dash-prog { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.dash-prog .grow { flex: 1; min-width: 0; }
.dash-prog .t { font-weight: 700; } .dash-prog .x { color: #64748b; font-size: .86rem; }
.rc-text p { font-size: 1.02rem; line-height: 1.6; margin: 0 0 10px; max-width: 70ch; }
.rc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rc-chip { display: inline-flex; align-items: center; background: #fff3e6; color: #b45309; border: 1px solid #f59e0b; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .84rem; }
.rc-vs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rc-vs td, .rc-vs th { padding: 7px 8px; border-bottom: 1px solid #e5e7eb; text-align: left; }
.rc-vs td.up { color: #12804a; font-weight: 700; }
.rc-line { display: flex; gap: 18px; flex-wrap: wrap; }
.rc-line div b { display: block; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.rc-line div span { font-size: .74rem; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.rc-share canvas { width: min(78vw, 300px); height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.pl-table td.na { color: #94a3b8; font-style: italic; }
.pl-table th.hl, .pl-table td.hl { background: #fff3e6; }
.pl-sec-flash { box-shadow: 0 0 0 4px #ff6d00 !important; transition: box-shadow .3s; }
.pl-teams { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 12px; }

/* ── 2026-11-20 parent dashboard: kids cards, Live now strip ── */
.kids { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.kid { display: flex; flex-direction: column; gap: 12px; cursor: pointer; text-align: left; }
.kid.live { border-color: #d92d20 !important; box-shadow: 0 0 0 1px #d92d20; }
.kid .kh { display: flex; gap: 12px; align-items: center; }
.kid .av { width: 46px; height: 46px; border-radius: 50%; background: #0D47A1; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex: none; }
.kid .av.f { background: #eceff4; color: #64748b; }
.kid .nm { font-weight: 800; font-size: 1.1rem; }
.kid .tm { color: #64748b; font-size: .84rem; }
.kid .chips { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.kid .rowk { display: flex; gap: 10px; align-items: center; border-top: 1px solid #e5e7eb; padding-top: 10px; flex-wrap: wrap; }
.kid .rowk .lb { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64748b; width: 74px; flex: none; }
.kid .rowk .vl { flex: 1; min-width: 0; font-size: .9rem; }
.kid .rowk .vl b { font-size: 1.05rem; }
.kid .acts2 { display: flex; gap: 8px; flex-wrap: wrap; }
.kid .livebar { background: #d92d20; color: #fff; border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-weight: 700; }
.kid .livebar .sc { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.kid-tag { font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.kid-tag.link { background: #e2f5ea; color: #12804a; }
.kid-tag.fol { background: #eceff4; color: #64748b; }
.kid-chip { font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #eef3fc; color: #0D47A1; margin-right: 6px; white-space: nowrap; }
.kid-chip.fol { background: #eceff4; color: #64748b; }
.kid-add { border: 2px dashed #d0d7e2 !important; background: transparent !important; display: flex; flex-direction: column; gap: 8px; justify-content: center; cursor: pointer; }
.dash-live { display: flex; flex-direction: column; gap: 8px; background: #fdecec; border: 1px solid #d92d20; border-radius: 12px; padding: 10px 14px; }
.dash-live .lt { font-weight: 800; color: #d92d20; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.dash-live .lr { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; cursor: pointer; }
.dash-live .lr .grow { flex: 1; min-width: 200px; }
.dash-live .lr .sc { font-weight: 800; font-variant-numeric: tabular-nums; }
.dash-next.click { cursor: pointer; }

/* Player impact score + platform comparison (2026-12-01) */
.pl-impact { display: flex; gap: 16px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--mud-palette-lines-default); border-left: 5px solid #0D47A1; border-radius: 12px; }
.pl-impact-num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: #0D47A1; font-variant-numeric: tabular-nums; }
.pl-impact-title { font-weight: 700; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pl-impact-sub { font-size: .88rem; color: var(--mud-palette-text-secondary); }
.pl-impact-games { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.pl-impact-games a { font-size: .8rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: #e6edfa; color: #0D47A1; text-decoration: none; font-variant-numeric: tabular-nums; border: 2px solid transparent; }
.pl-impact-games a.full { border-color: #0D47A1; }
.pl-pct { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--mud-palette-lines-default); font-size: .9rem; }
.pl-pct:first-of-type { border-top: 0; }
.pl-pct-bar { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: var(--mud-palette-lines-default); overflow: hidden; }
.pl-pct-bar i { display: block; height: 100%; border-radius: 999px; background: #17643a; }
.pl-pct-bar i.low { background: #9b1c1c; }
.pl-pct small { grid-column: 1 / -1; color: var(--mud-palette-text-secondary); font-size: .76rem; }
.pl-top { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-top-badge { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 14px; border: 2px solid #f97316; background: #fff7ed; }
.pl-top-badge b { font-size: 1.25rem; color: #c2410c; line-height: 1.1; }
.pl-top-badge span { font-size: .8rem; color: #7c2d12; font-weight: 600; }
@media (max-width: 600px) { .pl-impact { flex-direction: column; gap: 8px; } }

.pl-impact .pl-note { color: var(--mud-palette-text-secondary); font-weight: 400; font-size: .8rem; }

/* Player recap: the exciting look (2026-12-01). White card like every page; the orange accent, big numbers and badges do the work. */
.hy { background: var(--mud-palette-surface); border: 1px solid var(--mud-palette-lines-default); border-top: 5px solid #f97316; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.hy-kick { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: #c2410c; }
.hy-top { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; }
.hy-big { font-weight: 800; font-size: clamp(5rem, 22vw, 8.5rem); line-height: .85; letter-spacing: -.04em; background: linear-gradient(180deg, var(--mud-palette-text-primary) 25%, #f97316 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hy-big small { font-size: .2em; letter-spacing: .12em; margin-left: 8px; color: #c2410c; -webkit-text-fill-color: #c2410c; }
.hy-head { min-width: 0; flex: 1 1 240px; }
.hy-head h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 4.6vw, 2.1rem); line-height: 1.1; font-weight: 800; }
.hy-score { margin: 0; font-weight: 600; color: var(--mud-palette-text-secondary); }
.hy-date { font-weight: 400; }
.hy-win { display: inline-block; background: #f97316; color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; margin-right: 8px; }
.hy-line { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.hy-line > div { background: var(--mud-palette-background-gray, #f3f5f9); border: 1px solid var(--mud-palette-lines-default); border-radius: 14px; padding: 10px 12px; }
.hy-line b { display: block; font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hy-line span { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mud-palette-text-secondary); }
.hy-story p { font-size: 1.05rem; max-width: 62ch; margin: 0 0 8px; }
.hy-clutch { border-left: 4px solid #f97316; padding: 4px 0 4px 14px; }
.hy-clutch p { margin: 4px 0 0; font-size: 1.05rem; }
.hy-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hy-badge { display: flex; align-items: center; gap: 10px; border: 1px solid #f97316; background: #fff7ed; color: #7c2d12; border-radius: 14px; padding: 8px 14px 8px 8px; font-weight: 700; }
.hy-medal { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(160deg, #f97316, #c2410c); color: #fff; display: grid; place-items: center; flex: none; font-size: 1rem; }
.hy-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.hy-card { background: var(--mud-palette-surface); border: 1px solid var(--mud-palette-lines-default); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hy-card.wide { grid-column: 1 / -1; }
.hy-card h3 { margin: 0; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--mud-palette-text-secondary); font-weight: 700; }
.hy-card p { margin: 0; }
.hy-num { font-size: 2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.hy-num.up { color: #17643a; }
.hy-dim { color: var(--mud-palette-text-secondary); font-size: .86rem; }
.hy-stack { display: flex; height: 34px; border-radius: 10px; overflow: hidden; font-weight: 800; font-size: .86rem; color: #fff; }
.hy-stack span { display: grid; place-items: center; min-width: 22px; }
.hy-stack .s2, .hy-key i.s2 { background: #0D47A1; } .hy-stack .s3, .hy-key i.s3 { background: #f97316; } .hy-stack .sf, .hy-key i.sf { background: #17643a; }
.hy-key { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--mud-palette-text-secondary); }
.hy-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.hy-qb { display: flex; align-items: flex-end; gap: 10px; height: 104px; }
.hy-qb > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; }
.hy-qb i { display: block; width: 100%; border-radius: 8px 8px 0 0; background: #0D47A1; }
.hy-qb .top i { background: linear-gradient(180deg, #f97316, #c2410c); }
.hy-qb b { font-size: .86rem; font-variant-numeric: tabular-nums; } .hy-qb span { font-size: .72rem; color: var(--mud-palette-text-secondary); }
.hy-ringrow { display: flex; align-items: center; gap: 14px; }
.hy-ring { width: 84px; height: 84px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.hy-ring b { width: 62px; height: 62px; border-radius: 50%; background: var(--mud-palette-surface); display: grid; place-items: center; font-size: 1.1rem; font-weight: 800; }
.hy-rec { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: .92rem; }
.hy-rec b { font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.hy-new { font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .08em; background: #f97316; color: #fff; padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.hy-lock { display: flex; flex-direction: column; gap: 5px; font-size: .9rem; }
.hy-track { height: 9px; border-radius: 999px; background: var(--mud-palette-lines-default); overflow: hidden; }
.hy-track i { display: block; height: 100%; background: #0D47A1; border-radius: 999px; }
.hy-lvl { display: flex; flex-wrap: wrap; gap: 6px; }
.hy-lvl span { font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--mud-palette-lines-default); color: var(--mud-palette-text-secondary); }
.hy-lvl .done { background: #e6edfa; color: #0D47A1; border-color: transparent; }
.hy-lvl .now { background: #f97316; color: #fff; border-color: transparent; }
@media (prefers-reduced-motion: no-preference) { .hy-big { animation: hy-pop .7s cubic-bezier(.2,1.4,.4,1) both; } @keyframes hy-pop { from { transform: scale(.82); } to { transform: scale(1); } } }
@media (max-width: 640px) { .hy-more { grid-template-columns: 1fr; } .hy { padding: 16px; } }

/* Lineups page layout (2026-12-01): the court, big scores, for/against bars */
.lu-five { border-top: 5px solid #17643a; }
.lu-five h3 .badge { margin-left: 8px; text-transform: none; letter-spacing: 0; }
.lu-five-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: center; }
.lu-five-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lu-court { width: 100%; height: auto; display: block; }
.lu-court .floor { fill: var(--mud-palette-background-gray, #f3f5f9); stroke: var(--mud-palette-lines-default); stroke-width: 2; }
.lu-court .ln { fill: none; stroke: var(--mud-palette-text-secondary); stroke-width: 1.5; opacity: .5; }
.lu-court .pl { fill: #0D47A1; }
.lu-court .pt { fill: #fff; font-weight: 800; font-size: 15px; text-anchor: middle; dominant-baseline: central; }
.lu-score { font-weight: 800; font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--mud-palette-text-primary); }
.lu-score small { display: block; font-size: .85rem; font-weight: 600; color: var(--mud-palette-text-secondary); margin-top: 4px; }
.lu-score.sm { font-size: 1.35rem; white-space: nowrap; }
.lu-plus { display: inline-block; font-weight: 800; font-size: .85rem; background: #e3f6ea; color: #17643a; padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; vertical-align: middle; }
.lu-plus.minus { background: #fde8e8; color: #9b1c1c; }
.lu-split { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--mud-palette-lines-default); }
.lu-split i { display: block; height: 100%; } .lu-split .us { background: #17643a; } .lu-split .them { background: var(--mud-palette-text-secondary); opacity: .35; }
.lu-meta { font-size: .8rem; color: var(--mud-palette-text-secondary); }
.lu-row { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--mud-palette-lines-default); }
.lu-row-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lu-rank { width: 26px; height: 26px; border-radius: 50%; background: #0D47A1; color: #fff; display: grid; place-items: center; font-size: .8rem; flex: none; }
.lu-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lu-side { border: 1px solid var(--mud-palette-lines-default); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lu-side.win { border: 2px solid #f97316; background: #fff7ed; }
.lu-cap { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; color: var(--mud-palette-text-secondary); }
@media (max-width: 700px) { .lu-five-grid, .lu-vs { grid-template-columns: 1fr; } }

/* Coach's read on one player (2026-12-01) */
.cr { border-left: 5px solid #0D47A1; }
.cr h3 .badge { margin-left: 8px; text-transform: none; letter-spacing: 0; }
.cr-lead { font-size: 1rem !important; color: var(--mud-palette-text-primary) !important; max-width: 72ch; }
.cr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cr-box { border: 1px solid var(--mud-palette-lines-default); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cr-box.weak { background: #fff7ed; border-color: #fed7aa; }
.cr-box ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; list-style: disc; }
.cr-box li, .cr-box p { font-size: .9rem; color: var(--mud-palette-text-primary); }
.cr-cap { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; color: var(--mud-palette-text-secondary); }
@media (max-width: 700px) { .cr-cols { grid-template-columns: 1fr; } }
