:root {
    --bg: #edf1f6;
    --panel: #ffffff;
    --line: #d9dee6;
    --text: #07111f;
    --muted: #536173;
    --red: #d11d1d;
    --blue: #2563eb;
    --green: #26985f;
    --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
    --font-condensed: "Arial Narrow", "Aptos Narrow", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: max(72px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
}

button {
    font: inherit;
    cursor: pointer;
}

.app-shell {
    width: min(100%, 992px);
    max-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding-bottom: 24px;
    overflow-x: hidden;
    background: var(--panel);
    box-shadow: 0 0 28px rgba(15, 23, 42, 0.12);
}

.top-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    position: relative;
    z-index: 500;
    height: 40px;
    padding: 0;
    overflow: visible;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.top-brand-logo {
    grid-column: 2;
    justify-self: center;
    align-self: center;
    width: 180px;
    max-width: 100%;
    height: auto;
    margin-left: 0;
    cursor: pointer;
}

.league-menu {
    grid-column: 1;
    justify-self: start;
    align-self: center;
    position: relative;
    margin-left: 10px;
}

.league-menu summary {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #102036;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
    list-style: none;
    cursor: pointer;
}

.league-menu summary::-webkit-details-marker {
    display: none;
}

.league-menu-panel {
    position: absolute;
    top: calc(100% + 7px);
    left: -10px;
    z-index: 520;
    display: grid;
    gap: 10px;
    min-width: 132px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
    text-align: left;
}

.league-menu-panel span {
    color: #102036;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.flag-menu summary::after {
    content: "?";
    margin-left: 5px;
    font-size: 0.62rem;
}

.date-nav {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 18px 46px 18px;
    align-items: center;
    justify-items: center;
    gap: 3px;
    min-height: 70px;
    padding: 0 6px;
    border-right: 1px solid var(--line);
    background: #ffffff;
    color: #2f343b;
    font-weight: 700;
}

.slate-date-button {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2f343b;
    font: inherit;
    font-weight: 700;
}

.slate-date-button strong {
    display: grid;
    gap: 3px;
    text-align: center;
    line-height: 1.05;
}

.slate-date-button span {
    font-size: 0.72rem;
    font-weight: 700;
}

.slate-date-button em {
    color: #2f343b;
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 500;
}

.slate-date-picker {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.date-nav button,
.top-actions button,
.rail-arrow {
    border: 0;
    background: transparent;
    color: #102036;
    font-weight: 750;
}


.app-shell.is-auth-locked> :not(.top-strip):not(.access-gate) {
    display: none !important;
}

.access-user {
    max-width: 180px;
    overflow: hidden;
    color: #334155;
    font-size: 0.66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.access-logout {
    min-height: 24px;
    padding: 2px 6px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #102036;
    font-size: 0.64rem;
    font-weight: 700;
}

.access-gate {
    min-height: calc(100dvh - 40px);
    padding: 42px 18px;
    background: linear-gradient(90deg, #f8cfcf 0%, #fff 48%, #f8cfcf 100%);
}

.access-card {
    display: grid;
    gap: 12px;
    width: min(100%, 420px);
    margin: 0 auto;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
}

.access-card>span {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.access-card>strong {
    font-size: 1.55rem;
    line-height: 1.05;
}

.access-card p {
    margin: 0;
    color: #334155;
}

.access-form {
    display: grid;
    gap: 10px;
}

.access-form label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.access-form input {
    min-height: 36px;
    border: 1px solid var(--line);
    padding: 7px 9px;
    color: var(--text);
    font: inherit;
}

.access-form button {
    min-height: 36px;
    border: 1px solid var(--blue);
    background: var(--blue);
    color: #ffffff;
    font-weight: 750;
}

.access-debug-code {
    padding: 8px;
    background: #f1f5f9;
    font-family: Consolas, monospace;
    font-size: 0.78rem;
}

.top-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding-right: 10px;
}

.updated-at {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.helper-menu-time {
    color: #334155;
    font-size: 0.74rem;
    font-weight: 400;
}

.helper-menu {
    position: relative;
    flex: 0 0 auto;
}

.helper-menu summary {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #102036;
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 1;
    list-style: none;
}

.league-menu summary,
.helper-menu summary {
    position: relative;
}

.league-menu summary::after,
.helper-menu summary::after {
    content: "";
    position: absolute;
    inset: -10px;
}

.helper-menu summary::-webkit-details-marker {
    display: none;
}

.helper-menu summary img {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.helper-menu-panel {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 520;
    display: grid;
    gap: 11px;
    min-width: 190px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
    text-align: left;
}

.helper-menu-action {
    min-height: 26px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: #102036;
    font-size: 0.76rem;
    font-weight: 400;
    text-align: left;
}

.helper-menu-panel strong {
    color: #102036;
    font-size: 0.76rem;
    font-weight: 400;
    white-space: nowrap;
}

.helper-menu-panel .access-user {
    max-width: none;
    overflow: visible;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--line);
    color: #102036;
    font-size: 0.78rem;
    font-weight: 700;
    text-overflow: clip;
    white-space: normal;
}

.helper-menu-panel .access-logout {
    width: 100%;
    max-width: none;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #ffffff;
    color: #102036;
    font-size: 0.76rem;
    font-weight: 700;
    text-align: left;
}

.feedback-modal {
    position: fixed;
    z-index: 600;
    inset: 0;
    display: grid;
    place-items: start center;
    padding: 56px 14px 14px;
    background: rgba(15, 23, 42, 0.32);
}

.feedback-card {
    display: grid;
    gap: 12px;
    width: min(100%, 420px);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
}

.feedback-head,
.feedback-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

.feedback-head strong {
    font-size: 1rem;
}

.feedback-head button,
.feedback-actions button {
    border: 1px solid var(--line);
    background: #ffffff;
    color: #102036;
    font-weight: 750;
}

.feedback-actions button {
    padding: 7px 12px;
    border-color: #315cff;
    color: #315cff;
}

.feedback-card label {
    display: grid;
    gap: 5px;
    color: #43536a;
    font-weight: 700;
    text-transform: uppercase;
}

.feedback-card textarea {
    width: 100%;
    resize: vertical;
    min-height: 118px;
    max-height: 260px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font: inherit;
    text-transform: none;
}

.feedback-honeypot {
    position: absolute;
    left: -9999px;
}

#feedback-status {
    color: #43536a;
    font-size: 0.68rem;
    text-transform: none;
}

.updated-at {
    color: #102036;
    font-weight: 700;
}

.diagnostics-toggle {
    border: 0;
    background: transparent;
    color: #102036;
    padding: 0;
}

.diagnostics-toggle[aria-expanded="true"] {
    color: #1d4ed8;
}

.diagnostics-panel {
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.diagnostics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
}

.diagnostics-header strong {
    font-family: var(--font-condensed);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.diagnostics-header button {
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 750;
}

.diagnostics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.diagnostics-grid>div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 8px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.diagnostics-grid span {
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.diagnostics-grid strong {
    overflow-wrap: anywhere;
    font-size: 0.8rem;
}

.diagnostics-section {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid var(--line);
}

.diagnostics-section h3 {
    margin: 0 auto;
    font-family: var(--font-condensed);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.diagnostics-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

.diagnostics-range-form {
    display: flex;
    align-items: end;
    gap: 6px;
}

.diagnostics-range-form label {
    display: grid;
    gap: 2px;
}

.diagnostics-range-form span {
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.diagnostics-range-form input,
.diagnostics-range-form select {
    width: 118px;
    min-height: 26px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #07111f;
    font: inherit;
    font-size: 0.66rem;
}

.diagnostics-range-form select {
    width: 150px;
}

.diagnostics-range-form button {
    min-height: 26px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #102036;
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.daily-summary-grid,
.storage-summary-grid,
.score-band-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
    background: #ffffff;
}

.score-band-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.storage-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.daily-summary-grid article,
.storage-summary-grid div,
.score-band-grid div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 8px 10px;
    border-right: 1px solid var(--line);
}

.daily-summary-grid article:last-child,
.storage-summary-grid div:nth-child(4n),
.score-band-grid div:last-child {
    border-right: 0;
}

.daily-summary-grid span,
.score-band-grid span,
.storage-summary-grid span,
.review-list span {
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.daily-summary-grid em,
.score-band-grid em,
.review-list p {
    margin: 0;
    color: #334155;
    font-size: 0.68rem;
    font-style: normal;
}

.storage-table {
    display: grid;
    border: 1px solid var(--line);
    background: #ffffff;
}

.storage-table>div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px 72px 72px;
    align-items: center;
    min-width: 0;
    border-bottom: 1px solid var(--line);
}

.storage-table>div:last-child {
    border-bottom: 0;
}

.storage-table span,
.storage-table strong,
.storage-table em {
    min-width: 0;
    padding: 6px 8px;
    border-right: 1px solid var(--line);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storage-table em {
    color: #334155;
    font-style: normal;
}

.storage-table span:last-child,
.storage-table strong:last-child,
.storage-table em:last-child {
    border-right: 0;
}

.storage-table-head {
    background: #f8fafc;
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.starter-k-recommendation-table>div {
    grid-template-columns: minmax(0, 1fr) 72px 72px 82px 82px 72px;
}

.starter-k-best-model {
    display: grid;
    gap: 3px;
    padding: 8px 10px;
    border: 1px solid #b7c8ff;
    background: #f2f6ff;
}

.starter-k-best-model span {
    color: #475569;
    font-family: var(--font-condensed);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.starter-k-best-model strong {
    font-size: 0.86rem;
    font-weight: 700;
}

.starter-k-best-model em {
    color: #334155;
    font-size: 0.68rem;
    font-style: normal;
}

.starter-k-game-log {
    display: grid;
    gap: 5px;
    overflow-x: auto;
}

.starter-k-game-log h4,
.starter-k-game-log p {
    margin: 0 auto;
}

.starter-k-game-log h4 {
    font-family: var(--font-condensed);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.starter-k-game-log p {
    color: #334155;
    font-size: 0.66rem;
}

.starter-k-game-log table {
    width: 100%;
    min-width: 840px;
    border: 1px solid var(--line);
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.66rem;
}

.starter-k-game-log th,
.starter-k-game-log td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.starter-k-game-log th {
    background: #f8fafc;
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.starter-k-game-log td:nth-child(n+5),
.starter-k-game-log th:nth-child(n+5) {
    text-align: right;
}

.review-list {
    display: grid;
    gap: 6px;
}

.review-list article {
    display: grid;
    gap: 3px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.game-rail-wrap {
    display: grid;
    grid-template-columns: 96px 36px minmax(0, 1fr) 36px;
    min-height: 70px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.game-rail-wrap.is-at-start {
    grid-template-columns: 96px 0 minmax(0, 1fr) 36px;
}

.game-rail-wrap.is-at-end {
    grid-template-columns: 96px 36px minmax(0, 1fr) 0;
}

.game-rail-wrap.is-at-start.is-at-end {
    grid-template-columns: 96px 0 minmax(0, 1fr) 0;
}

.rail-arrow {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    min-height: 70px;
    border: 0;
    background: #ffffff;
    color: #102036;
    font-size: 0.86rem;
    font-weight: 750;
    box-shadow: 8px 0 10px -8px rgba(15, 23, 42, 0.42);
    opacity: 1;
    transition: opacity 0.15s ease;
}

.rail-arrow[data-rail-scroll="1"],
.rail-arrow[data-screener-scroll="1"] {
    box-shadow: -8px 0 10px -8px rgba(15, 23, 42, 0.42);
}

.rail-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.game-rail {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.game-rail::-webkit-scrollbar {
    display: none;
}

.rail-game {
    position: relative;
    flex: 0 0 180px;
    display: grid;
    gap: 2px;
    grid-template-rows: 21px 20px 20px;
    min-height: 70px;
    padding: 0 8px 6px;
    border: 0;
    border-right: 1px solid var(--line);
    background: #ffffff;
    text-align: left;
    isolation: isolate;
}

.rail-game.is-selected {
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), inset 0 0 14px rgba(15, 23, 42, 0.06);
}

.rail-game.is-selected::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(15, 23, 42, 0.035);
    pointer-events: none;
}

.rail-screener {
    position: relative;
    grid-template-rows: 16px 21px 18px;
    overflow: hidden;
}

.rail-screener::after {
    content: attr(data-version);
    position: absolute;
    right: 12px;
    bottom: -16px;
    color: #e5e7eb;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1;
    z-index: 0;
}

.rail-screener>* {
    position: relative;
    z-index: 1;
}

.rail-screener>strong {
    align-self: center;
    overflow: hidden;
    color: #07111f;
    font-size: 0.86rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rail-screener>span:not(.rail-status) {
    color: #334155;
    font-size: 0.66rem;
    font-weight: 500;
}

.rail-day-summary {
    grid-template-rows: 16px 21px 18px;
}

.rail-day-summary>strong {
    align-self: center;
    overflow: hidden;
    color: #07111f;
    font-size: 0.86rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rail-day-summary>span:not(.rail-status) {
    color: #334155;
    font-size: 0.66rem;
    font-weight: 500;
}

.rail-status {
    display: flex;
    align-items: center;
    margin: 0 -8px;
    padding: 2px 8px;
    background: #f4f9ff;
    color: #3b495d;
    font-family: var(--font-condensed);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.rail-scorebug {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    text-transform: none;
}

.rail-scorebug .score-bases {
    margin-top: 0;
    flex: 0 0 auto;
}

.rail-scorebug .score-outs {
    margin-top: -2px;
    flex: 0 0 auto;
}

.rail-team {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 2px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 0;
}

.rail-team strong {
    min-width: 0;
    overflow: hidden;
    font-size: 0.76rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rail-team img,
.line-team img {
    width: 18px;
    height: 18px;
}

.rail-team em {
    justify-self: end;
    font-style: normal;
    font-weight: 500;
    white-space: nowrap;
}

.scoreboard {
    position: relative;
    z-index: 40;
    touch-action: pan-y;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 148px;
    padding: 0;
    background: linear-gradient(90deg, #f5c6c6 0%, #ffffff 50%, #f8d8d8 100%);
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--away-color, #f5c6c6) 26%, #ffffff) 0%,
        #ffffff 50%,
        color-mix(in srgb, var(--home-color, #f8d8d8) 26%, #ffffff) 100%);
}

.scoreboard::before,
.scoreboard::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    height: 10px;
    pointer-events: none;
}

.scoreboard::before {
    top: -10px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.16));
}

.scoreboard::after {
    bottom: -10px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0));
}

.scoreboard:has(.screener-hero) {
    height: auto;
}

.score-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 148px;
    padding: 16px 12px;
    min-width: 0;
    text-align: center;
    overflow: hidden;
}

.score-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
    mask-image: linear-gradient(to right, #000 55%, transparent 100%);
}

.score-side.is-home .score-pattern {
    -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
    mask-image: linear-gradient(to left, #000 55%, transparent 100%);
}

.score-pattern::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    transform: translate(-50%, -50%);
    background-image: var(--logo, none), var(--logo, none);
    background-repeat: repeat;
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.10;
    filter: grayscale(1);
}

.score-side-label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    color: #8a6a6a;
    text-align: left;
}

.score-side.is-home .score-side-label {
    right: 0;
    left: auto;
    text-align: right;
}

.score-team-block {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 52px minmax(20px, auto) 16px;
    justify-items: center;
    align-items: center;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
}

.score-logo {
    width: 52px;
    height: 52px;
}

.score-team-block strong {
    min-width: 0;
    max-width: 150px;
    font-size: clamp(0.9rem, 1.8vw, 1.28rem);
    font-weight: 650;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-team-block em {
    color: #26364a;
    font-size: 0.68rem;
    font-style: normal;
}

.score-center {
    display: grid;
    grid-template-columns: minmax(82px, 1fr) minmax(105px, 150px) minmax(82px, 1fr);
    align-items: center;
    gap: 18px;
    min-width: min(100%, 430px);
    text-align: center;
}

.score-center>strong {
    font-size: clamp(3.4rem, 10vw, 5.2rem);
    line-height: 0.9;
}

.score-center>strong:first-child {
    justify-self: start;
}

.score-center>strong:last-child {
    justify-self: end;
}

.score-state {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-width: 96px;
}

.score-state span {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.score-state small {
    display: block;
    color: #334155;
    font-size: 0.68rem;
}

.score-bases {
    display: grid;
    grid-template-columns: 10px 10px;
    grid-template-rows: 10px 10px;
    gap: 2px;
    width: 22px;
    margin-top: 3px;
    transform: scaleY(0.55) rotate(45deg);
}

.score-bases span {
    display: block;
    width: 10px;
    height: 10px;
    border: 1px solid #333333;
    background: #ffffff;
    box-sizing: border-box;
}

.score-bases span.occupied {
    border-color: #111111;
    background: #111111;
}

.score-bases span.is-home {
    visibility: hidden;
}

.score-outs {
    display: flex;
    justify-content: center;
    gap: 4px;
    min-height: 9px;
    margin-top: -1px;
}

.score-outs span {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
}

.score-outs span.is-on {
    border-color: #dc2626;
    background: #dc2626;
}

.screener-hero {
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(150px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 116px;
    padding: 0 10px;
}

.screener-hero>div:first-child {
    display: grid;
    gap: 6px;
}

.screener-hero span {
    color: var(--red);
    font-family: var(--font-condensed);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.screener-hero strong {
    font-size: 1.35rem;
    font-weight: 700;
}

.screener-hero em {
    color: #334155;
    font-style: normal;
}

.screener-hero b {
    font-family: var(--font-condensed);
    font-size: 4.1rem;
    line-height: 0.9;
}

.screener-hero.is-day-summary {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
    padding: 4px 10px 12px;
    gap: 8px;
}

.screener-hero.is-day-summary .day-summary-title {
    display: block;
}

.screener-hero.is-day-summary .day-summary-title span {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.screener-hero.is-day-summary .league-stats {
    grid-column: auto;
    width: 100%;
    padding: 0;
}

.screener-hero-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(70px, 1fr));
    align-items: stretch;
    min-width: 0;
    border: 1px solid rgba(203, 213, 225, 0.75);
    background: rgba(255, 255, 255, 0.5);
}

.screener-hero-summary div {
    display: grid;
    align-content: center;
    gap: 2px;
    min-height: 58px;
    padding: 7px 8px;
    border-right: 1px solid rgba(203, 213, 225, 0.75);
}

.screener-hero-summary div:last-child {
    border-right: 0;
}

.screener-hero-summary span {
    color: #475569;
    font-size: 0.66rem;
}

.screener-hero-summary strong {
    font-size: 1rem;
}

.screener-hero-summary div:first-child strong {
    font-size: 1.55rem;
}

.linescore-wrap {
    overflow-x: auto;
    min-height: 99px;
    padding: 12px 14px 14px;
}

.day-summary-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 520px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.screener-hero .day-summary-stats {
    min-width: 0;
    width: 100%;
}

.day-summary-stats div {
    display: grid;
    gap: 3px;
    min-height: 54px;
    padding: 8px 10px;
    border-right: 1px solid var(--line);
}

.day-summary-stats div:last-child {
    border-right: 0;
}

.day-summary-stats span {
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.day-summary-stats strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.league-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 10px;
    width: 100%;
    padding: 2px 10px 18px;
    border: 0;
    background: transparent;
}

.league-stat {
    display: grid;
    align-content: center;
    gap: 3px;
    min-height: 0;
    padding: 10px 14px;
    border-right: 1px solid rgba(148, 163, 184, 0.35);
}

.league-stat:first-child {
    padding-left: 0;
}

.league-stat:last-child {
    border-right: 0;
    padding-right: 0;
}

.league-stat > span {
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.league-stat strong {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.league-stat em {
    color: var(--muted);
    font-size: 0.72rem;
    font-style: normal;
}

.league-stat-status {
    align-content: center;
    grid-column: span 2;
}

.league-stat:nth-child(3) {
    border-right: 0;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 4px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
}

.status-cell {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    min-height: 30px;
    padding: 3px 6px;
    border-right: 1px solid rgba(148, 163, 184, 0.45);
    border-bottom: 0;
}

.status-cell:last-child {
    border-right: 0;
}

.status-cell span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.55rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.status-cell span::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-sched span::before { background: #94a3b8; }
.status-live span::before { background: #16a34a; }
.status-final span::before { background: #2563eb; }

.status-cell strong {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.day-game-stack {
    display: grid;
    background: #ffffff;
}

.day-game-summary {
    padding: 16px 8px 14px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    cursor: pointer;
}

.day-game-summary:hover {
    background: #ffffff;
}

.day-game-score {
    display: grid;
    position: relative;
    grid-template-columns: minmax(0, 1fr) 48px 88px 48px minmax(0, 1fr);
    align-items: center;
    column-gap: 6px;
    min-height: 56px;
    padding: 0 6px 8px;
}

.day-game-team {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    container-type: inline-size;
}

.day-game-team.is-home {
    grid-column: 5;
    justify-content: flex-end;
    text-align: right;
}

.day-game-logo {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
}

.day-game-team div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.day-game-team strong {
    font-size: 0.92rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.day-game-team em {
    color: #334155;
    font-size: 0.68rem;
    font-style: normal;
}

.day-game-team .day-game-moneyline {
    color: #07111f;
    font-size: 0.7rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

.day-game-score-center {
    display: contents;
    color: #334155;
    text-align: center;
}

.day-game-score-center strong {
    color: #07111f;
    font-size: 1.72rem;
    font-weight: 600;
    line-height: 1;
    justify-self: center;
}

.day-game-score-center strong:first-child {
    grid-column: 2;
}

.day-game-score-center strong:last-child {
    grid-column: 4;
}

.day-game-status {
    grid-column: 3;
    min-height: 42px;
    width: 100%;
    align-self: center;
    justify-self: center;
    display: grid;
    place-items: center;
    font-family: var(--font-condensed);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.day-game-status:has(.score-bases) {
    display: grid;
    justify-items: center;
    gap: 4px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.day-game-status .score-bases {
    margin-top: 0;
}

.day-game-status .score-outs {
    margin-top: -1px;
}

.day-game-pregame {
    display: grid;
    place-items: center;
    gap: 2px;
    width: 100%;
    color: #07111f;
    font-family: var(--font-sans);
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.day-game-pregame em {
    color: #334155;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 400;
}

.day-game-pregame b {
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.05;
}

.day-linescore-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    text-align: center;
}

.day-linescore-table th,
.day-linescore-table td {
    height: 22px;
    padding: 2px 5px;
}

.day-linescore-table thead th {
    color: #475569;
    font-family: var(--font-condensed);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.day-linescore-table tbody tr+tr td {
    border-top: 1px solid var(--line);
}


.day-linescore-table th:first-child,
.day-linescore-table td:first-child {
    width: 112px;
    text-align: left;
}

.day-linescore-table th:not(:first-child),
.day-linescore-table td:not(:first-child) {
    width: 22px;
}

.day-linescore-table th:nth-last-child(4),
.day-linescore-table td:nth-last-child(4) {
    width: 14px;
}

.day-linescore-table th:nth-last-child(-n + 3),
.day-linescore-table td:nth-last-child(-n + 3) {
    width: 24px;
}

.day-linescore-table th:nth-last-child(-n + 3),
.day-linescore-table td:nth-last-child(-n + 3) {
    background: #f8fafc;
    font-weight: 600;
}

.screener-table-head {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) 116px minmax(230px, 0.9fr);
    align-items: center;
    min-width: 650px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.screener-scorecard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    min-width: 650px;
    border: 1px solid var(--line);
    background: #f8fafc;
}

.screener-scorecard div {
    display: grid;
    gap: 2px;
    min-height: 52px;
    padding: 8px 10px;
    border-right: 1px solid var(--line);
}

.screener-scorecard div:last-child {
    border-right: 0;
}

.screener-scorecard span {
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.screener-scorecard strong {
    font-size: 1rem;
    font-weight: 700;
}

.screener-scorecard div:first-child strong {
    font-size: 1.28rem;
}

.screener-table-head span {
    padding: 0 10px 8px;
}

.screener-table-head span:nth-child(2) {
    text-align: center;
}

.linescore-table {
    width: 100%;
    min-width: 650px;
    table-layout: fixed;
    border-collapse: collapse;
    text-align: center;
}

.linescore-table th,
.linescore-table td {
    height: 30px;
    padding: 4px 8px;
    border-bottom: 0;
}

.linescore-table tbody tr+tr td {
    border-top: 1px solid var(--line);
}

.linescore-table th {
    color: #253348;
    font-size: 0.66rem;
    font-weight: 750;
}

.linescore-table th:first-child,
.linescore-table td:first-child {
    width: 138px;
    text-align: left;
}

.linescore-table th:not(:first-child),
.linescore-table td:not(:first-child) {
    width: 34px;
}

.linescore-table th.linescore-blank,
.linescore-table td.linescore-blank {
    width: 20px;
}

.linescore-table th.linescore-total,
.linescore-table td.linescore-total {
    width: 38px;
}

.line-team {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 7px;
    font-weight: 500;
}

.line-team b {
    overflow: hidden;
    min-width: 0;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.linescore-table th.linescore-odds-head {
    width: 38px;
    color: #253348;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.linescore-table td.linescore-odds-cell {
    width: 38px;
    padding: 2px 1px;
    text-align: center;
    font-size: 0.58rem;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.linescore-table td.linescore-odds-cell b {
    display: block;
    font-weight: 700;
}

.linescore-table td.linescore-odds-cell small {
    display: block;
    color: var(--muted);
    font-size: 0.6rem;
    font-weight: 500;
}

.odds-lock {
    margin-left: 2px;
    font-size: 0.6rem;
}

.tab-bar {
    display: flex;
    align-items: stretch;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.tab-bar::before,
.tab-bar::after {
    content: "";
    flex: 0 1 48px;
    min-width: 12px;
}

.tab-bar::before {
    position: relative;
    z-index: 2;
    border-right: 1px solid #edf1f6;
    box-shadow: 8px 0 10px -8px rgba(15, 23, 42, 0.42);
}

.tab-bar::after {
    position: relative;
    z-index: 2;
    border-left: 1px solid #edf1f6;
    box-shadow: -8px 0 10px -8px rgba(15, 23, 42, 0.42);
}

.tab {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 43px;
    border: 0;
    border-right: 1px solid #edf1f6;
    background: #ffffff;
    color: #132238;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.tab:last-child {
    border-right: 0;
}

.tab.is-active {
    color: #000000;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), inset 0 0 14px rgba(15, 23, 42, 0.06);
}

.tab.is-active::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.035);
    pointer-events: none;
}


.sport-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.sport-chip {
    display: grid;
    min-height: 28px;
    padding: 3px 8px;
    border: 0;
    border-right: 1px solid var(--line);
    background: #ffffff;
    color: #102036;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    text-align: left;
}

.sport-chip:last-child {
    border-right: 0;
}

.sport-chip.is-active {
    background: #edf4ff;
    box-shadow: inset 0 -3px 0 #4f74ff;
}

.sport-chip span {
    color: #536173;
    font-size: 0.58rem;
    font-weight: 700;
}

.sport-chip strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.matchup-panel {
    position: relative;
    z-index: 30;
    min-height: min(1180px, calc(100vh - 285px));
    overflow: visible;
    border-bottom: 1px solid var(--line);
}

.matchup-panel:not(.is-day-summary):not(.is-loading-slate) {
    min-height: 164px;
}

.matchup-panel.is-boxscore-tab,
.matchup-panel.is-predictions-tab {
    min-height: 0;
}

.matchup-panel.is-day-summary {
    min-height: 1180px;
}

.screener-selector-wrap {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.screener-selector-grid {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    min-height: 70px;
}

.screener-selector-grid.is-at-start {
    grid-template-columns: 0 minmax(0, 1fr) 36px;
}

.screener-selector-grid.is-at-end {
    grid-template-columns: 36px minmax(0, 1fr) 0;
}

.screener-selector-grid.is-at-start.is-at-end {
    grid-template-columns: 0 minmax(0, 1fr) 0;
}

.screener-selector-rail {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 70px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    scrollbar-width: none;
}

.screener-selector-rail::-webkit-scrollbar {
    display: none;
}

.screener-selector-card {
    flex: 0 0 180px;
    cursor: pointer;
}

.info-panel {
    display: grid;
    gap: 7px;
    min-height: 164px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
}

.info-panel h2 {
    margin: 0 auto;
    font-family: var(--font-condensed);
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.detail-status {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    color: #334155;
    font-size: 0.68rem;
    font-weight: 700;
}

.detail-status.is-error,
.detail-status.is-incomplete {
    background: #fff7ed;
    color: #9a3412;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
}

.info-grid>div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 9px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.info-grid span,
.boxscore-table th {
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.info-grid strong {
    overflow-wrap: anywhere;
}

.info-grid em {
    color: #334155;
    font-size: 0.76rem;
    font-style: normal;
}

.boxscore-table {
    width: 100%;
    border-collapse: collapse;
}

.pregame-panel {
    gap: 12px;
    padding: 14px;
}

.pregame-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}

.pregame-head div {
    display: grid;
    gap: 3px;
}

.pregame-head span,
.pregame-head time {
    color: #475569;
    font-size: 0.72rem;
    font-weight: 400;
}

.pregame-segments {
    display: flex;
    width: 100%;
    align-items: stretch;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
}

.pregame-segments .segmented-button {
    flex: 1 1 0;
    min-width: 0;
}

.pregame-segments .segmented-button span {
    display: block;
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pregame-segments .segmented-button .persona-short {
    display: none;
}

@media (max-width: 700px) {
    .pregame-segments .segmented-button .persona-full {
        display: none;
    }

    .pregame-segments .segmented-button .persona-short {
        display: block;
    }
}

.pregame-report {
    display: grid;
    gap: 8px;
    min-width: 0;
    max-width: 980px;
    color: #07111f;
    font-size: 0.82rem;
    line-height: 1.42;
}

.pregame-report h2,
.pregame-report h3,
.pregame-report h4,
.pregame-report h5 {
    margin: 8px 0 0;
    font-family: var(--font-condensed);
    font-weight: 750;
    letter-spacing: 0.01em;
}

.pregame-report h2 {
    font-size: 1.05rem;
}

.pregame-report h3,
.pregame-report h4,
.pregame-report h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.pregame-report p {
    margin: 0 auto;
    overflow-wrap: anywhere;
}

.pregame-report ul {
    list-style: disc;
    margin: 4px 0 6px;
    padding-left: 26px;
}

.pregame-report hr {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
}

.pregame-report ol {
    list-style: decimal;
    margin: 4px 0 6px;
    padding-left: 26px;
}

.pregame-report ol.md-numbered {
    list-style: none;
    padding-left: 0;
}

.pregame-report li {
    margin: 2px 0;
    line-height: 1.4;
}

.pregame-report strong {
    font-weight: 750;
    color: #0f172a;
}

.pregame-report .markdown-table-wrap {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pregame-report .markdown-table {
    width: 100%;
    border-collapse: collapse;
    margin: 4px 0;
    font-size: 0.78rem;
}

.pregame-report .markdown-table th,
.pregame-report .markdown-table td {
    border: 1px solid var(--line);
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.pregame-report .markdown-table thead th {
    background: #f1f5f9;
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.structured-report {
    gap: 2px;
}

.structured-headline {
    margin: 0 0 10px;
    font-family: var(--font-condensed);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #0f172a;
}

.structured-section {
    display: grid;
    gap: 2px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.structured-section > h3 {
    margin: 0 0 6px;
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--red);
}

.structured-body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.structured-wager {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 8px;
    background: #f8fafc;
}

.structured-wager-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.structured-wager-head b {
    color: var(--red);
    font-size: 0.78rem;
}

.structured-wager-head strong {
    font-size: 0.92rem;
}

.structured-wager-head span {
    color: #475569;
    font-size: 0.78rem;
}

.structured-wager-head em {
    margin-left: auto;
    color: #166534;
    font-style: normal;
    font-weight: 700;
    font-size: 0.82rem;
}

.structured-wager p {
    color: #334155;
}

.structured-wager-risk {
    color: #991b1b;
    font-size: 0.76rem;
}

.structured-table td:first-child {
    font-weight: 700;
}

.pregame-placeholder {
    display: grid;
    gap: 12px;
    max-width: 980px;
    color: #07111f;
    font-size: 0.78rem;
}

.pregame-placeholder-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pregame-placeholder-status span,
.pregame-placeholder-grid section>span {
    color: #64748b;
    font-family: var(--font-condensed);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pregame-placeholder-status strong {
    border: 1px solid #cbd5e1;
    padding: 3px 7px;
    color: #475569;
    font-weight: 500;
}

.pregame-placeholder-status strong.is-confirmed {
    border-color: #86c89f;
    color: #167044;
}

.pregame-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.pregame-placeholder-grid section {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pregame-placeholder-grid strong {
    overflow-wrap: anywhere;
    font-size: 0.82rem;
    font-weight: 650;
}

.pregame-placeholder-grid p,
.pregame-placeholder-note {
    margin: 0 auto;
    color: #475569;
    line-height: 1.35;
}

.pregame-placeholder ul {
    display: grid;
    gap: 3px;
    margin: 0 auto;
    padding-left: 18px;
}

.pregame-placeholder-note {
    padding-top: 2px;
    font-size: 0.7rem;
}

.boxscore-panel {
    gap: 0;
    padding-top: 10px;
}

.boxscore-teams {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: start;
}

.boxscore-team {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 0 14px 14px 10px;
}

.boxscore-team+.boxscore-team {
    border-left: 1px solid #bfc7d4;
    padding-left: 14px;
}

.boxscore-subhead {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
    font-family: var(--font-condensed);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.1;
}

.boxscore-logo {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.boxscore-table th,
.boxscore-table td {
    padding: 4px 4px;
    border-bottom: 1px solid var(--line);
    text-align: right;
    vertical-align: top;
}

.boxscore-table th:first-child,
.boxscore-table td:first-child {
    text-align: left;
}

.boxscore-table td {
    color: #0f172a;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.12;
}

.boxscore-table td strong {
    color: #1155c8;
    font-size: 0.68rem;
    font-weight: 600;
}

.boxscore-table td span {
    display: inline;
    margin-left: 3px;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 500;
}

.boxscore-total td {
    background: #f7f8fa;
}

.boxscore-total td strong {
    color: #0f172a;
    font-weight: 500;
}

.boxscore-notes {
    display: grid;
    gap: 2px;
    margin: 1px 0 17px;
    color: #0f172a;
    font-size: 0.68rem;
    line-height: 1.24;
}

.boxscore-notes h4 {
    margin: 0 0 3px;
    font-family: var(--font-condensed);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.boxscore-notes p {
    margin: 0 auto;
}

.player-row {
    position: relative;
    display: grid;
    grid-template-columns: 31px 64px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-height: 86px;
    padding: 8px 14px 8px 0;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}



.vertical-label {
    justify-self: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #253348;
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.matchup-avatar {
    position: relative;
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
}

.matchup-avatar .player-photo {
    width: 54px;
    height: 54px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #f1f5f9;
    object-fit: cover;
}

.matchup-avatar-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 28px;
    height: 22px;
    padding: 2px;
    border: 1px solid #dbe3ef;
    border-radius: 7px;
    background: #ffffff;
    object-fit: contain;
}

.player-row>.player-photo {
    width: 58px;
    height: 58px;
    border-radius: 7px;
    background: #e8edf4;
    object-fit: cover;
}



.player-copy {
    display: grid;
    justify-items: end;
    gap: 3px;
    min-width: 0;
    text-align: right;
}

.player-copy strong {
    font-size: 1.16rem;
    font-weight: 700;
}

.player-copy span {
    color: #152238;
    font-size: 0.68rem;
}

.player-copy b {
    font-size: 0.79rem;
}



.current-play {
    display: grid;
    gap: 5px;
    padding: 14px 12px 16px;
    border-bottom: 1px solid var(--line);
}

.current-play span {
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.current-play strong {
    font-size: 1rem;
}

.current-play.is-live {
    box-shadow: inset 4px 0 0 #26985f;
}

.current-play.is-complete {
    box-shadow: inset 4px 0 0 #94a3b8;
}

.game-live-grid {
    display: grid;
    grid-template-columns: 108px 118px minmax(139px, 1fr) 286px;
    align-items: center;
    column-gap: 10px;
    min-height: 118px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.game-live-grid.is-complete {
    background: #fbfcfe;
}

.count-box {
    display: grid;
    gap: 6px;
    padding: 14px 0 14px 18px;
    align-self: center;
}

.count-box div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.count-box b {
    width: 16px;
}

.count-box span {
    width: 15px;
    height: 15px;
    border: 2px solid #9aa7b8;
    border-radius: 50%;
}

.count-box div:nth-child(1) span.is-on {
    border-color: var(--green);
    background: var(--green);
}

.count-box div:nth-child(2) span.is-on,
.count-box div:nth-child(3) span.is-on {
    border-color: #d13a32;
    background: #d13a32;
}

.pitch-zone {
    position: relative;
    justify-self: center;
    width: 86px;
    height: 92px;
    align-self: center;
    background:
        linear-gradient(90deg, rgba(231, 70, 68, 0.12) 0 22%, transparent 22% 78%, rgba(43, 91, 144, 0.12) 78% 100%),
        #f8fafc;
    border: 1px solid #cfd7e3;
}

.zone-box {
    position: absolute;
    left: 18%;
    top: 18%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 64%;
    height: 62%;
    border: 1px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(100, 116, 139, 0.6);
}

.zone-box span {
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.zone-box span {
    background: #74a2c4;
}

.zone-box span:nth-child(1),
.zone-box span:nth-child(3),
.zone-box span:nth-child(7),
.zone-box span:nth-child(9) {
    background: #6b98bc;
}

.zone-box span:nth-child(5) {
    background: #8bb4cf;
}

.zone-box span:nth-child(3n) {
    border-right: 0;
}

.zone-box span:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.pitch-zone b {
    position: absolute;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.62rem;
    line-height: 1;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
}

.pitch-zone b.is-ball,
.pitch-list>div>b.is-ball {
    background: #26985f;
}

.pitch-zone b.is-strike,
.pitch-list>div>b.is-strike {
    background: #d13a32;
}

.pitch-zone b.is-foul,
.pitch-list>div>b.is-foul {
    background: #d97706;
}

.pitch-zone b.is-play,
.pitch-list>div>b.is-play {
    background: #2563eb;
}

.pitch-list {
    display: grid;
    gap: 2px;
    align-self: center;
    max-height: 104px;
    overflow-y: hidden;
    overflow-x: hidden;
    padding: 6px 4px;
}

.pitch-list>div {
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 8px;
    min-height: 23px;
    min-width: 0;
}

.pitch-list>div>b {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #64748b;
    color: #ffffff;
    font-size: 0.66rem;
}

.pitch-list strong,
.pitch-list em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.66rem;
    font-style: normal;
    line-height: 1;
}

.pitch-list small {
    color: #334155;
    font-size: 0.62rem;
    font-weight: 700;
    text-align: right;
}

.bases-box {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    align-self: center;
    gap: 8px;
    min-width: 0;
    padding: 10px 18px 10px 0;
}

.diamond {
    position: relative;
    width: 76px;
    height: 58px;
}

.diamond span {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #9aa7b8;
    transform: rotate(45deg);
    background: #ffffff;
}

.diamond span:nth-child(1) {
    left: 23px;
    top: 0;
}

.diamond span:nth-child(2) {
    left: 0;
    top: 25px;
}

.diamond span:nth-child(3) {
    right: 0;
    top: 25px;
}

.diamond span.occupied {
    background: #2563eb;
}

.runner-list {
    display: grid;
    gap: 5px;
    min-width: 0;
    color: #1d2c42;
    font-size: 0.68rem;
    font-weight: 750;
}

.runner-list span {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.runner-list b,
.runner-list em {
    min-width: 0;
    font-style: normal;
}

.runner-list em {
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-panel {
    padding: 14px 12px;
}

.recent-panel h2 {
    margin: 0 0 14px;
    font-family: var(--font-condensed);
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.recent-plays {
    display: grid;
    gap: 10px;
}

.play-by-play-group {
    display: grid;
    background: #ffffff;
}

.play-by-play-inning {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 0;
    appearance: none;
    background: #f8fafc;
    box-shadow: none;
    color: inherit;
    text-align: left;
}

.play-by-play-inning div {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.play-by-play-team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.play-by-play-inning strong {
    font-size: 0.8rem;
    font-weight: 750;
}

.play-by-play-inning span,
.play-by-play-inning b {
    color: #334155;
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.play-by-play-inning-meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.play-by-play-inning-meta em,
.play-by-play-inning-meta i {
    color: #64748b;
    font-style: normal;
}

.play-by-play-inning-meta i {
    min-width: 10px;
    font-size: 0.9rem;
    line-height: 1;
    text-align: center;
}

.play-by-play-list {
    display: grid;
}

.play-by-play-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 9px 10px;
}

.play-by-play-avatar {
    display: flex;
    justify-content: center;
}

.play-by-play-body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.play-by-play-body p {
    margin: 0;
    color: #334155;
    font-size: 0.78rem;
}

.play-by-play-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.play-count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #334155;
    font-size: 0.64rem;
    font-weight: 700;
}

.play-count em {
    font-style: normal;
}

.play-count i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #cbd5e1;
}

.play-count.is-ball i.is-on {
    background: #16a34a;
}

.play-count.is-strike i.is-on,
.play-count.is-out i.is-on {
    background: #dc2626;
}

.play-event-pill {
    padding: 2px 5px;
    border-radius: 4px;
    background: #334155;
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.play-event-pill.is-hit {
    background: #0ea5e9;
}

.play-event-pill.is-walk {
    background: #16a34a;
}

.play-event-pill.is-strikeout {
    background: #e11d48;
}

.play-by-play-score {
    min-width: 44px;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: right;
}

.prediction-card,
.matchup-sap-card,
.outcome-card,
.outcome-row {
    display: grid;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.prediction-group {
    display: grid;
    gap: 6px;
}

.matchup-sap-panel {
    display: grid;
    gap: 7px;
    padding: 12px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.matchup-sap-panel h2 {
    margin: 0 auto;
    font-family: var(--font-condensed);
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.matchup-sap-group {
    display: grid;
    gap: 6px;
}

.matchup-sap-group h3,
.prediction-group h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    color: #1e293b;
    font-family: var(--font-condensed);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.matchup-sap-group h3 b,
.prediction-group h3 b {
    padding: 1px 5px;
    background: #f1f5f9;
    color: #475569;
    font-family: var(--font);
    font-size: 0.66rem;
    letter-spacing: 0;
}

.matchup-sap-card div,
.prediction-card div,
.outcome-card div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 7px;
}

.matchup-sap-card span,
.matchup-sap-card p,
.prediction-card span,
.prediction-card p,
.outcome-card span,
.outcome-card p,
.outcome-row span {
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.76rem;
}

.matchup-sap-card b,
.prediction-card b,
.outcome-card b {
    justify-self: start;
    padding: 3px 6px;
    border-radius: 4px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.7rem;
}

.matchup-sap-card b.grade-a,
.prediction-card b.grade-a {
    background: #eaf7ee;
    color: #166534;
}

.matchup-sap-card b.grade-c,
.prediction-card b.grade-c {
    background: #fff7ed;
    color: #b45309;
}

.matchup-sap-card b.is-development,
.prediction-card b.is-development {
    background: #f8fafc;
    color: #475569;
}

.outcome-summary {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border: 1px solid var(--line);
    background: #f8fafc;
}

.outcome-summary div {
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border-right: 1px solid var(--line);
}

.outcome-summary div:last-child {
    border-right: 0;
}

.outcome-summary span {
    color: var(--muted);
    font-family: var(--font-condensed);
    font-size: 0.66rem;
    font-weight: 750;
    text-transform: uppercase;
}

.outcome-summary strong {
    font-size: 1rem;
}

.outcome-filters,
.segmented-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.screener-filters.segmented-controls {
    justify-content: stretch;
    width: 100%;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.info-panel .screener-filters.segmented-controls {
    padding: 6px 0;
}

.screener-filters.wager-filter-grid,
.no-reach-controls {
    flex-wrap: wrap;
    overflow: visible;
}

.segmented-group,
.wager-filter-row,
.segmented-filter-row,
.no-reach-filter-group,
.outcome-filters:not(.screener-filters):not(.game-projection-filters) {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #a8adb8;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}


.screener-filters.segmented-controls .segmented-group,
.screener-filters.segmented-controls .wager-filter-row,
.screener-filters.segmented-controls .segmented-filter-row,
.screener-filters.segmented-controls .no-reach-filter-group {
    flex: 1 1 max-content;
    width: auto;
    min-width: min(100%, max-content);
    max-width: 100%;
}


.screener-filters.segmented-controls .segmented-button,
.screener-filters.segmented-controls button {
    flex: 1 0 74px;
    min-width: max-content;
}

.screener-filters.segmented-controls .wager-filter-row .segmented-button,
.screener-filters.segmented-controls .wager-filter-row button {
    min-width: 74px;
}
.game-projection-filters {
    display: flex;
    gap: 0;
    width: 100%;
    margin: 10px 0 4px;
    overflow: hidden;
    border: 1px solid #a8adb8;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.boxscore-panel .game-projection-filters {
    width: auto;
    max-width: none;
    margin: 10px 18px 8px;
}

.game-projection-filters button {
    flex: 1 1 0;
    min-width: 0;
}

.segmented-button,
.screener-filters button,
.outcome-filters button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 74px;
    min-height: 26px;
    padding: 4px 10px;
    border: 0;
    border-right: 1px solid #a8adb8;
    background: transparent;
    color: #334155;
    font-size: 0.68rem;
    font-weight: 650;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.segmented-button span,
.screener-filters button span,
.outcome-filters button span {
    position: relative;
    z-index: 1;
}

.segmented-button:last-child,
.screener-filters button:last-child,
.outcome-filters button:last-child {
    border-right: 0;
}

.segmented-button.is-active,
.screener-filters button.is-active,
.outcome-filters button.is-active {
    color: #07111f;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), inset 0 0 14px rgba(15, 23, 42, 0.06);
}

.segmented-button.is-active::after,
.screener-filters button.is-active::after,
.outcome-filters button.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(15, 23, 42, 0.035);
    pointer-events: none;
}

.segmented-button:disabled,
.screener-filters button:disabled {
    color: #94a3b8;
    background: #f8fafc;
}

.segmented-button b,
.screener-filters b,
.outcome-filters b {
    position: absolute;
    right: 6px;
    bottom: -4px;
    z-index: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(148, 163, 184, 0.32);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.segmented-button.is-active b,
.screener-filters button.is-active b,
.outcome-filters button.is-active b {
    background: transparent;
    color: rgba(100, 116, 139, 0.36);
}


.outcome-card.is-hit b {
    background: #fee2e2;
    color: #991b1b;
}

.outcome-card.is-reach b {
    background: #fff7ed;
    color: #b45309;
}

.outcome-card.is-no-reach b {
    background: #eaf7ee;
    color: #166534;
}

.outcome-card.is-pending b {
    background: #f8fafc;
    color: #475569;
}

.outcome-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.68rem;
}

.outcome-sightings {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.outcome-sighting-groups {
    display: grid;
    gap: 5px;
    margin-top: 2px;
}

.outcome-sightings li {
    padding: 3px 6px;
    border: 1px solid var(--line);
    background: #f8fafc;
    color: #334155;
    font-size: 0.7rem;
    font-weight: 700;
}

.outcome-sightings.is-primary li {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.outcome-sightings.is-context li {
    background: #ffffff;
    color: #64748b;
    font-weight: 700;
}

.outcome-sightings.is-context li.is-more {
    border-style: dashed;
    background: #f8fafc;
    color: #94a3b8;
}

.outcome-row {
    grid-template-columns: minmax(0, 1fr) 90px 74px;
    align-items: center;
}

.outcome-row b {
    justify-self: end;
    color: #334155;
    font-size: 0.68rem;
}

.empty {
    min-height: 44px;
    padding: 12px;
    color: var(--muted);
}

.screener-list {
    display: grid;
    border-bottom: 1px solid var(--line);
}

.screener-row {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) 116px minmax(230px, 0.9fr);
    min-height: 82px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.screener-row[data-projection-game-pk] {
    cursor: pointer;
}

.screener-row[data-projection-game-pk]:hover {
    background: #f8fafc;
}

.screener-row>div {
    display: grid;
    align-content: center;
    gap: 3px;
    min-width: 0;
    padding: 9px 12px;
}

.screener-row>div+div {
    border-left: 1px solid var(--line);
}

.screener-stat-line,
.screener-today-line {
    overflow: hidden;
    max-width: 100%;
    color: #334155;
    font-size: 0.72rem;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.screener-today-line {
    color: #0f172a;
    font-weight: 700;
}

.screener-row>div:last-child {
    text-align: right;
}

.screener-row>.screener-market-cell {
    align-content: start;
    justify-items: end;
}

.screener-market-summary {
    justify-self: end;
}

.screener-row.starter-k-row {
    grid-template-columns: minmax(0, 1fr) 118px minmax(260px, 0.78fr);
    min-height: 82px;
}

.screener-table-head.starter-k-head,
.screener-table-head.hitter-hits-head,
.screener-table-head.no-reach-list-head,
.screener-row.starter-k-row.is-starter-k,
.screener-row.starter-k-row.is-hitter-hits,
.screener-row.no-reach-list-row {
    grid-template-columns: 118px minmax(0, 1fr) minmax(260px, 0.78fr);
}

.screener-player-cell {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
}

.screener-table-head.wager-table-head,
.screener-row.wager-row {
    grid-template-columns: 36px minmax(0, 1.2fr) 84px 72px minmax(110px, 0.8fr);
    min-width: 0;
}

.screener-row.wager-row {
    min-height: 52px;
}

.wager-row > div {
    overflow: hidden;
}

.wager-row strong,
.wager-row b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wager-outcome {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.wager-outcome.is-won { background: #eaf7ee; color: #166534; }
.wager-outcome.is-lost { background: #fee2e2; color: #991b1b; }
.wager-outcome.is-push { background: #f1f5f9; color: #475569; }
.wager-outcome.is-pending { background: #f8fafc; color: #64748b; }

.final-wager-card {
    display: grid;
    gap: 6px;
    margin: 12px 0 4px;
    padding: 12px 14px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 8px;
    background: linear-gradient(180deg, #eff6ff, #ffffff);
}

.final-wager-card > span {
    color: var(--red);
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.final-wager-card > strong {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.final-wager-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    color: #334155;
    font-size: 0.85rem;
}

.final-wager-meta b {
    color: #16a34a;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

.final-wager-meta em {
    font-style: normal;
    font-weight: 700;
}

.final-wager-meta small {
    color: var(--muted);
    font-size: 0.72rem;
}

.wagers-group {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.wagers-group-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    color: #1e293b;
    font-family: var(--font-condensed);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wagers-group-head b {
    padding: 1px 5px;
    background: #f1f5f9;
    color: #475569;
    font-family: var(--font);
    font-size: 0.66rem;
    letter-spacing: 0;
}

.screener-avatar {
    position: relative;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
}

.screener-avatar .player-photo {
    width: 32px;
    height: 32px;
    border: 1px solid #dbe3ef;
    border-radius: 7px;
    background: #f1f5f9;
    object-fit: contain;
}

.screener-avatar-badge {
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 22px;
    height: 22px;
    padding: 2px;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    background: #ffffff;
    object-fit: contain;
}


.screener-avatar.is-small {
    width: 34px;
    height: 34px;
}

.screener-avatar.is-small .player-photo {
    width: 26px;
    height: 26px;
}

.screener-avatar-badge.is-small {
    right: -4px;
    bottom: -3px;
    width: 18px;
    height: 18px;
}

.screener-avatar.is-medium {
    width: 42px;
    height: 42px;
}

.screener-avatar.is-medium .player-photo {
    width: 32px;
    height: 32px;
}

.screener-avatar-badge.is-medium {
    width: 22px;
    height: 22px;
}

.screener-avatar.is-large {
    width: 54px;
    height: 54px;
}

.screener-avatar.is-large .player-photo {
    width: 44px;
    height: 44px;
}

.screener-avatar-badge.is-large {
    right: -5px;
    bottom: -4px;
    width: 26px;
    height: 26px;
}

.starter-k-progress {
    display: grid;
    justify-self: stretch;
    width: 100%;
    margin-top: 5px;
    padding: 0 12px;
}

.starter-k-row span b {
    font-weight: 700;
}

.market-line {
    justify-self: end;
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 750;
    text-decoration: none;
}

.kalshi-market-line {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 4px;
    color: #0f172a;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.kalshi-logo {
    flex: 0 0 34px;
    display: block;
    width: 34px;
    height: auto;
    max-height: 10px;
    object-fit: contain;
}

.market-lines {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    justify-self: start;
    width: 100%;
    gap: 4px 8px;
}

.market-line:hover {
    text-decoration: underline;
}

.starter-k-progress-track {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
}

.starter-k-progress-fill {
    display: block;
    margin: 0;
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
    z-index: 1;
}

.starter-k-progress.is-won .starter-k-progress-fill {
    background: #16a34a;
}

.starter-k-progress.is-lost .starter-k-progress-fill {
    background: #dc2626;
}

.starter-k-progress.is-pending .starter-k-progress-fill {
    background: #2563eb;
}

.starter-k-progress-goal,
.starter-k-progress-projected {
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 2px;
    transform: translateX(-1px);
    z-index: 2;
}

.starter-k-progress-goal {
    background: #0f172a;
}

.starter-k-progress-projected {
    border-left: 2px dashed #64748b;
}

.starter-k-progress-current {
    position: absolute;
    top: 50%;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    transform: translate(-50%, -50%);
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    z-index: 3;
}

.screener-row strong {
    overflow: hidden;
    font-size: 0.88rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.screener-row span,
.screener-row p {
    margin: 0;
    color: #334155;
    font-size: 0.68rem;
}

.screener-result .screener-grade {
    color: #0f172a;
    font-weight: 700;
}

.screener-result .screener-result-pitches {
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
}

.screener-row p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.screener-result {
    justify-items: center;
    text-align: center;
}

.screener-result b {
    padding: 3px 7px;
    border-radius: 4px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.66rem;
}

.screener-result b.grade-a {
    background: #eaf7ee;
    color: #166534;
}

.screener-result b.grade-c {
    background: #fff7ed;
    color: #b45309;
}

.screener-result b.is-development {
    background: #f8fafc;
    color: #475569;
}

.screener-result b.is-hit {
    background: #fee2e2;
    color: #991b1b;
}

.screener-result b.is-reach {
    background: #fff7ed;
    color: #b45309;
}

.screener-result b.is-no-reach {
    background: #eaf7ee;
    color: #166534;
}

.screener-result b.is-pending {
    background: #f8fafc;
    color: #475569;
}


@media (min-width: 901px) {
    .day-game-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .day-game-summary {
        min-width: 0;
        border-right: 1px solid var(--line);
    }

    .day-game-summary:nth-child(2n) {
        border-right: 0;
    }
}

@media (min-width: 701px) {
    .game-live-grid {
        grid-template-columns: 118px 110px minmax(190px, 320px) minmax(210px, 1fr);
        align-items: center;
        column-gap: 18px;
        padding: 0 14px;
    }

    .game-live-grid>.count-box {
        grid-column: 1;
        grid-row: 1;
    }

    .game-live-grid>.pitch-zone {
        grid-column: 2;
        grid-row: 1;
    }

    .game-live-grid>.pitch-list {
        grid-column: 3;
        grid-row: 1;
        max-height: 104px;
    }

    .game-live-grid>.bases-box {
        grid-column: 4;
        grid-row: 1;
        width: auto;
        display: grid;
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 14px;
        justify-content: initial;
        border-top: 0;
    }
}

@media (max-width: 700px) {
    .top-strip {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        height: 44px;
        gap: 4px;
        padding: 0;
    }


    .app-shell {
        width: 100vw;
        margin-inline: 0;
    }

    .date-nav {
        grid-template-columns: 18px 44px 18px;
        min-height: 70px;
        font-size: 0.86rem;
    }

    .slate-date-button strong {
        min-width: 0;
    }


    .top-actions {
        justify-self: end;
        gap: 0;
        padding-right: 0;
    }

    .updated-at {
        display: none;
    }

    .top-actions button {
        padding: 4px 0 4px 8px;
        font-size: 0.66rem;
    }

    .day-game-score {
        grid-template-columns: minmax(0, 1fr) 42px 66px 42px minmax(0, 1fr);
        column-gap: 4px;
        min-height: 78px;
        padding: 0 10px 10px;
    }

    .day-game-summary {
        width: 100%;
        padding: 16px 0 14px;
        overflow: hidden;
    }

    .day-linescore-table {
        width: 100%;
        table-layout: fixed;
    }

    .day-linescore-table th,
    .day-linescore-table td {
        height: 25px;
        padding: 2px 1px;
        font-size: 0.8rem;
    }

    .day-linescore-table thead th {
        font-size: 0.58rem;
    }

    .day-linescore-table th:first-child,
    .day-linescore-table td:first-child {
        width: 104px;
        padding-left: 12px;
    }

    .day-linescore-table th:not(:first-child),
    .day-linescore-table td:not(:first-child) {
        width: 21px;
    }

    .day-linescore-table th:nth-last-child(-n + 3),
    .day-linescore-table td:nth-last-child(-n + 3) {
        width: 24px;
    }

    .day-game-team {
        gap: 6px;
        overflow: hidden;
    }

    .day-game-team.is-home {
        justify-content: flex-end;
    }

    .day-game-logo {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .day-game-team div {
        min-width: 0;
    }

    .day-game-team strong {
        max-width: 42px;
        overflow: hidden;
        font-size: 0.94rem;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .day-game-team em {
        font-size: 0.66rem;
        line-height: 1.05;
    }

    .day-game-score-center {
        min-width: 0;
    }

    .day-game-score-center strong {
        font-size: 2.05rem;
    }

    .day-game-status {
        min-height: 42px;
        overflow-wrap: anywhere;
        font-size: 0.66rem;
        line-height: 1.05;
        white-space: normal;
    }

    .scoreboard {
        grid-template-columns: minmax(66px, 1fr) minmax(156px, auto) minmax(66px, 1fr);
        gap: 4px;
        height: 126px;
        padding: 0;
    }

    .score-center {
        grid-row: auto;
        grid-template-columns: minmax(48px, 1fr) minmax(74px, 92px) minmax(48px, 1fr);
        gap: 6px;
        justify-content: center;
        min-width: min(100%, 260px);
    }

    .score-center>strong {
        font-size: clamp(2.55rem, 12vw, 3.75rem);
    }

    .score-state span {
        font-size: 0.66rem;
    }

    .score-state small {
        font-size: 0.68rem;
    }

    .score-bases {
        transform: scale(0.9, 0.5) rotate(45deg);
    }

    .score-side {
        height: 100%;
    }

    .score-team-block {
        grid-template-rows: 42px minmax(18px, auto) 15px;
        gap: 2px;
    }

    .score-logo {
        width: 42px;
        height: 42px;
    }

    .score-team-block strong {
        max-width: 96px;
        font-size: 0.82rem;
        font-weight: 650;
    }

    .score-team-block em {
        font-size: 0.7rem;
    }

    .linescore-wrap {
        min-height: 82px;
        padding: 8px 4px 10px;
        overflow-x: auto;
    }

    .linescore-table {
        min-width: 0;
        width: 100%;
        table-layout: fixed;
    }

    .linescore-table th,
    .linescore-table td {
        height: 27px;
        padding: 3px 1px;
        font-size: 0.8rem;
    }

    .linescore-table th {
        font-size: 0.58rem;
    }

    .linescore-table th:first-child,
    .linescore-table td:first-child {
        width: 104px;
        padding-left: 6px;
    }

    .linescore-table th:not(:first-child),
    .linescore-table td:not(:first-child) {
        width: 21px;
    }

    .linescore-table th.linescore-blank,
    .linescore-table td.linescore-blank {
        width: 6px;
        padding: 0;
    }

    .linescore-table th.linescore-total,
    .linescore-table td.linescore-total {
        width: 22px;
    }

    .linescore-table td.linescore-odds-cell {
        width: 44px;
        font-size: 0.56rem;
    }

    .line-team {
        gap: 5px;
        width: 100%;
        min-width: 0;
    }

    .line-team b {
        overflow: hidden;
        min-width: 0;
        max-width: 58px;
        font-size: 0.88rem;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .line-team img {
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
    }

    .screener-hero {
        grid-template-columns: minmax(0, 1fr);
        align-content: center;
        height: auto;
        min-height: 174px;
        padding: 10px 12px;
    }

    .screener-hero.is-day-summary {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        min-height: 0;
        padding: 4px 8px 8px;
        gap: 6px;
    }

    .screener-hero.is-day-summary .day-summary-title {
        gap: 0;
    }

    .screener-hero.is-day-summary .day-summary-title span {
        font-size: 0.72rem;
    }

    .screener-hero.is-day-summary .league-stats {
        grid-column: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        padding: 0;
    }

    .screener-hero-summary {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        order: 2;
    }

    .screener-hero-summary div {
        min-height: 45px;
        padding: 6px 8px;
    }

    .league-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 0;
    }

    .league-stat {
        display: grid;
        align-content: center;
        gap: 2px;
        min-height: 0;
        padding: 4px 6px;
        border-right: 1px solid rgba(148, 163, 184, 0.35);
        border-bottom: 0;
    }

    .league-stat:nth-child(4) {
        border-right: 0;
    }

    .league-stat-status {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .league-stat:first-child {
        padding-left: 0;
    }

    .league-stat:last-child {
        border-right: 0;
        border-bottom: 0;
        padding-right: 0;
    }

    .league-stat > span {
        font-size: 0.56rem;
    }

    .league-stat strong {
        font-size: 0.95rem;
    }

    .league-stat em {
        font-size: 0.6rem;
    }

    .status-cell {
        min-height: 28px;
        padding: 3px 4px;
    }

    .status-cell span {
        font-size: 0.52rem;
    }

    .status-cell strong {
        font-size: 0.78rem;
    }

    .game-live-grid {
        grid-template-columns: auto auto minmax(0, 1fr);
        align-items: start;
        gap: 8px 12px;
        min-height: 0;
        overflow: visible;
    }

    .count-box {
        grid-area: auto;
    }

    .pitch-zone {
        grid-area: auto;
        justify-self: start;
    }

    .pitch-list {
        grid-area: auto;
        max-height: 120px;
        overflow-y: auto;
    }

    .pitch-list>div {
        display: grid;
        grid-template-columns: 16px 1fr auto;
        grid-template-areas: "number text speed";
        align-items: center;
        gap: 4px;
        min-height: 22px;
        padding: 2px 6px;
        border-radius: 4px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
    }

    .pitch-list>div>b {
        grid-area: number;
        width: 16px;
        height: 16px;
        font-size: 0.58rem;
    }

    .pitch-list>div>span {
        grid-area: text;
        min-width: 0;
    }

    .pitch-list small {
        grid-area: speed;
        text-align: right;
        font-size: 0.58rem;
        line-height: 1;
        font-weight: 700;
        color: #334155;
    }

    .pitch-list strong,
    .pitch-list em {
        font-size: 0.60rem;
    }

    .game-live-grid>.bases-box {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 8px 8px 4px;
        border-top: 1px dashed var(--line, #cbd5e1);
    }

    .bases-box .diamond {
        flex-shrink: 0;
    }

    .bases-box .runner-list {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .boxscore-teams {
        grid-template-columns: 1fr;
    }

    .boxscore-team+.boxscore-team {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 10px;
        padding-top: 14px;
    }

    .prediction-card div,
    .outcome-card div,
    .outcome-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .outcome-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .outcome-summary div:nth-child(3n) {
        border-right: 0;
    }

    .screener-scorecard,
    .screener-table-head {
        min-width: 0;
    }

    .screener-table-head,
    .screener-row,
    .screener-row.starter-k-row {
        grid-template-columns: minmax(0, 1fr) 76px minmax(122px, 0.9fr);
    }

    .screener-table-head.starter-k-head,
    .screener-table-head.hitter-hits-head,
    .screener-table-head.no-reach-list-head,
    .screener-row.starter-k-row.is-starter-k,
    .screener-row.starter-k-row.is-hitter-hits,
    .screener-row.no-reach-list-row {
        grid-template-columns: 76px minmax(0, 1fr) minmax(122px, 0.9fr);
    }

    .screener-table-head {
        font-size: 0.66rem;
        letter-spacing: 0.03em;
    }

    .screener-table-head span {
        min-width: 0;
        padding: 0 6px 7px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .screener-row>div {
        padding: 8px 7px;
    }

    .screener-row>div:nth-child(2) {
        padding-right: 6px;
        padding-left: 6px;
    }

    .starter-k-progress {
        padding: 0 13px;
    }
}













.no-reach-section {
    position: relative;
    z-index: 40;
    border-bottom: 1px solid var(--line);
}

.no-reach-section:has(.no-reach-node-tile:hover),
.no-reach-section:has(.no-reach-node-tile.is-selected) {
    z-index: 650;
}
.no-reach-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.no-reach-section-head strong {
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
}

.no-reach-section-head span {
    color: #475569;
    font-size: 0.68rem;
}

.no-reach-controls {
    align-items: center;
}

.no-reach-source-toggle {
    display: inline-flex;
    gap: 0;
    margin-right: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
}

.no-reach-source-toggle button {
    min-height: 28px;
    border: 0;
    border-right: 1px solid #cbd5e1;
    background: transparent;
}

.no-reach-source-toggle button:last-child {
    border-right: 0;
}

.no-reach-source-toggle button.is-active {
    background: #eff6ff;
    color: #1d4ed8;
}

.no-reach-tree {
    position: relative;
    display: grid;
    gap: 20px;
    padding: 16px 16px 24px 16px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.no-reach-tree::before {
    display: none;
}

.no-reach-node-group {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: min(100%, 340px);
}

.no-reach-time-label {
    position: static;
    z-index: 2;
    top: auto;
    left: auto;
    min-width: 0;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
    margin-bottom: 2px;
}

.no-reach-node-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--node-count), min(100%, 340px));
    justify-content: start;
    gap: 24px;
    width: 100%;
    max-width: min(100%, 340px);
    margin-top: 0;
}

.no-reach-node-group.is-stacked.has-overlap .no-reach-node-row {
    display: block;
    width: min(100%, 560px);
    max-width: 560px;
    min-height: calc(96px + (var(--node-count) - 1) * 38px);
}

.no-reach-node-group.is-stacked.has-overlap .no-reach-node-tile {
    position: absolute;
    top: calc(var(--stack-index) * 38px);
    left: 0;
    right: 0;
    width: min(100%, 560px);
    max-width: 560px;
    min-height: 94px;
    z-index: calc(20 + var(--stack-index));
}

.no-reach-node-group.is-stacked.has-overlap .no-reach-node-tile.is-selected {
    z-index: 700;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), 0 3px 12px rgba(15, 23, 42, 0.12);
}

.no-reach-section,
.no-reach-tree,
.no-reach-node-group {
    min-width: 0;
}

.no-reach-section,
.no-reach-tree {
    overflow: visible;
}

.no-reach-node-group.is-side-by-side {
    width: 100%;
    max-width: 100%;
}

.no-reach-node-group.is-side-by-side .no-reach-node-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.no-reach-node-group.is-side-by-side .no-reach-node-tile {
    flex: 0 0 min(560px, calc(100vw - 48px));
}

.no-reach-node-tile {
    position: relative;
    min-height: 94px;
    min-width: 0;
    width: min(100%, 560px);
    max-width: 560px;
    padding: 12px 13px;
    border: 1px solid #bbf7d0;
    border-radius: 7px;
    background: #ecfdf3;
    color: #020617;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.no-reach-node-tile.is-loss {
    border-color: #fecaca;
    background: #fff1f2;
}

.no-reach-node-tile.is-pending {
    border-color: #cbd5e1;
    background: #ffffff;
}

.no-reach-node-tile.is-selected {
    z-index: 700;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), 0 3px 12px rgba(15, 23, 42, 0.12);
}

.no-reach-node-tile:hover {
    z-index: 710;
    border-color: #86efac;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.12);
}

.no-reach-node-group.is-stacked.has-overlap .no-reach-node-tile:hover {
    z-index: 710;
}

.no-reach-node-tile.is-loss:hover {
    border-color: #fca5a5;
}

.no-reach-tile-summary {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.no-reach-tile-summary .screener-avatar {
    overflow: visible;
}

.no-reach-tile-summary .screener-avatar .player-photo {
    object-fit: contain;
}

.no-reach-tile-main,
.no-reach-tile-meta {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.no-reach-tile-main strong {
    overflow: hidden;
    color: #020617;
    font-size: 0.92rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-reach-tile-main span,
.no-reach-tile-main em,
.no-reach-tile-meta span,
.no-reach-tile-meta em {
    overflow: hidden;
    color: #334155;
    font-size: 0.68rem;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-reach-tile-main em {
    color: #0f172a;
    font-weight: 700;
}

.no-reach-tile-meta {
    justify-items: end;
    text-align: right;
}

.no-reach-node-tile b {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 1px 7px;
    border-radius: 4px;
    background: #22c55e;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.no-reach-node-tile b.is-hit,
.no-reach-node-tile b.is-reach {
    background: #ef4444;
}

.no-reach-node-tile b.is-pending {
    background: #64748b;
}



.no-reach-batter-inline-stats {
    display: grid;
    gap: 1px;
    margin-top: 3px;
}

.no-reach-batter-inline-stats span {
    overflow: hidden;
    color: #334155;
    font-size: 0.64rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-reach-tile-detail-lines {
    display: grid;
    gap: 2px;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.no-reach-tile-detail-lines p {
    overflow: hidden;
    margin: 0;
    color: #334155;
    font-size: 0.68rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 701px) {
    .no-reach-node-group.is-stacked {
        max-width: 100%;
    }

    .no-reach-node-group.is-stacked .no-reach-node-row {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
    }

    .no-reach-node-group.is-stacked .no-reach-node-tile {
        display: grid;
        grid-template-columns: minmax(430px, 0.68fr) minmax(240px, 0.32fr);
        align-items: start;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        min-height: 118px;
    }

    .no-reach-node-group.is-stacked.has-overlap .no-reach-node-row {
        width: 100%;
        max-width: 100%;
        min-height: calc(124px + (var(--node-count) - 1) * 38px);
    }

    .no-reach-node-group.is-stacked.has-overlap .no-reach-node-tile {
        width: 100%;
        max-width: 100%;
        min-height: 118px;
    }

    .no-reach-node-group.is-stacked .no-reach-tile-detail-lines {
        overflow: hidden;
        min-width: 0;
        margin-top: 0;
        padding-top: 0;
        padding-left: 12px;
        border-top: 0;
        border-left: 1px solid rgba(148, 163, 184, 0.35);
    }

    .no-reach-node-group.is-stacked .no-reach-batter-inline-stats span,
    .no-reach-node-group.is-stacked .no-reach-tile-detail-lines p {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }
}

.no-reach-hover-detail {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    z-index: 720;
    display: none;
    width: min(420px, calc(100vw - 32px));
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .no-reach-node-tile:hover .no-reach-hover-detail {
        display: grid;
        gap: 5px;
    }
}

.no-reach-node-tile.is-selected .no-reach-hover-detail {
    display: grid;
    gap: 5px;
}

.no-reach-hover-detail p {
    margin: 0 auto;
    color: #020617;
    font-size: 0.76rem;
    line-height: 1.2;
}

.no-reach-hover-detail strong {
    font-weight: 800;
}

.no-reach-scorebug {
    display: inline-block;
    width: fit-content;
    margin: 1px 0;
    padding: 2px 6px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 800;
}

@media (max-width: 900px) {
    .no-reach-node-row {
        grid-template-columns: minmax(260px, 340px);
    }
}

@media (max-width: 700px) {
    .no-reach-tree {
        padding: 12px 10px 20px 12px;
    }

    .no-reach-tree::before {
        display: none;
    }

    .no-reach-node-group {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .no-reach-time-label {
        position: static;
        left: auto;
        top: auto;
        min-width: 0;
        text-align: left;
        color: #475569;
        font-size: 0.72rem;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .no-reach-node-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 0;
        width: 100%;
        max-width: min(100%, 340px);
    }

    .no-reach-node-group.is-stacked.has-overlap .no-reach-node-row {
        width: min(100%, 340px);
        max-width: 340px;
    }

    .no-reach-node-tile {
        min-height: 0;
        width: min(100%, 340px);
        max-width: 340px;
        padding: 12px 13px;
    }

    .no-reach-hover-detail {
        right: 0;
        left: 0;
        width: auto;
        max-width: none;
        max-height: min(46vh, 360px);
        overflow: auto;
        overscroll-behavior: contain;
        z-index: 300;
        pointer-events: auto;
    }

    .no-reach-hover-detail p {
        font-size: 0.72rem;
    }
}

@media (max-width: 560px) {
    .access-user {
        max-width: 96px;
    }

    .access-logout {
        padding-inline: 5px;
    }
}

@media (max-width: 700px) {
    .top-strip {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        height: 48px;
        gap: 0;
        padding: 0 4px;
    }

    .top-brand-logo {
        width: 180px;
        margin-left: 0;
    }

    .league-menu {
        margin-left: 4px;
    }

    .league-menu summary {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }

    .top-actions {
        grid-column: 3;
        justify-self: stretch;
        justify-content: flex-end;
        gap: 4px;
        min-width: 0;
        padding-right: 0;
        overflow: hidden;
    }

    .access-user {
        flex: 1 1 auto;
        max-width: 76px;
        min-width: 0;
        font-size: 0.58rem;
    }

    .access-logout {
        flex: 0 0 auto;
        min-height: 24px;
        padding: 2px 4px;
        font-size: 0.58rem;
    }

    .helper-menu summary {
        width: 22px;
        height: 26px;
        font-size: 1rem;
    }

    .day-game-summary {
        padding-inline: 8px;
    }

    .scoreboard {
        grid-template-columns: minmax(64px, 1fr) minmax(160px, auto) minmax(64px, 1fr);
        gap: 2px;
        height: 130px;
        padding: 0;
    }

    .score-center {
        grid-template-columns: 45px minmax(66px, 82px) 45px;
        gap: 5px;
        min-width: 0;
    }

    .score-center>strong {
        font-size: 3.25rem;
    }

    .score-state {
        min-width: 0;
        gap: 5px;
    }

    .score-side {
        min-width: 0;
        height: 100%;
    }

    .score-team-block strong {
        max-width: 86px;
        font-size: 0.84rem;
    }

    .linescore-wrap {
        min-height: 80px;
        padding: 8px 8px 10px;
        overflow-x: auto;
    }

    .linescore-table {
        min-width: 0;
        width: 100%;
        table-layout: fixed;
    }

    .linescore-table th,
    .linescore-table td {
        height: 26px;
        padding: 2px 0;
        font-size: 0.78rem;
    }

    .linescore-table th {
        font-size: 0.56rem;
    }

    .linescore-table th:first-child,
    .linescore-table td:first-child {
        width: 112px;
        padding-left: 0;
    }

    .linescore-table th:not(:first-child),
    .linescore-table td:not(:first-child) {
        width: 20px;
    }

    .linescore-table th.linescore-blank,
    .linescore-table td.linescore-blank {
        width: 4px;
        padding: 0;
    }

    .linescore-table th.linescore-total,
    .linescore-table td.linescore-total {
        width: 25px;
    }

    .linescore-table th.linescore-odds-head,
    .linescore-table td.linescore-odds-cell {
        width: 44px;
    }

    .linescore-table td.linescore-odds-cell {
        font-size: 0.56rem;
    }

    .line-team {
        gap: 4px;
    }

    .line-team img {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }

    .line-team b {
        max-width: 78px;
        font-size: 0.86rem;
    }

    .tab-bar {
        overflow: hidden;
    }

    .tab-bar::before,
    .tab-bar::after {
        flex: 0 0 0;
        min-width: 0;
        border: 0;
        box-shadow: none;
    }

    .tab {
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        padding: 0 2px;
        overflow: hidden;
        font-size: 0.76rem;
        letter-spacing: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 380px) {
    .access-user {
        max-width: 58px;
    }

    .access-logout {
        max-width: 40px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .linescore-table th:first-child,
    .linescore-table td:first-child {
        width: 104px;
    }

    .linescore-table th:not(:first-child),
    .linescore-table td:not(:first-child) {
        width: 19px;
    }

    .linescore-table th.linescore-blank,
    .linescore-table td.linescore-blank {
        width: 4px;
        padding: 0;
    }

    .linescore-table th.linescore-total,
    .linescore-table td.linescore-total {
        width: 23px;
    }

    .linescore-table th.linescore-odds-head,
    .linescore-table td.linescore-odds-cell {
        width: 44px;
    }

    .tab {
        font-size: 0.68rem;
    }
}

@container (max-width: 92px) {
    .day-game-team strong {
        display: none;
    }
}

@media (max-width: 700px) {
    .day-game-team div {
        overflow: hidden;
    }

    .day-game-team em {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 720px) {

    .screener-filters.segmented-controls,
    .outcome-filters.segmented-controls {
        flex-wrap: wrap;
        overflow: visible;
    }

    .segmented-button,
    .screener-filters button,
    .outcome-filters button {
        min-width: 70px;
        padding-inline: 8px;
    }
}