:root {
    --pm-bg: #07080c;
    --pm-panel: #0e1018;
    --pm-panel-2: #141822;
    --pm-line: rgba(255, 255, 255, 0.07);
    --pm-line-strong: rgba(255, 255, 255, 0.13);
    --pm-text: #f0f2f8;
    --pm-muted: #888fa0;
    --pm-soft: #c8d0dd;
    --pm-accent: #4582f0;
    --pm-accent-soft: rgba(69, 130, 240, 0.1);
    --pm-accent-border: rgba(69, 130, 240, 0.28);
    --pm-green: #4ade80;
    --pm-teal: #2dd4bf;
    --pm-amber: #fbbf24;
    --pm-red: #fb7185;
}

.pm-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -10%, rgba(69, 130, 240, 0.075), transparent 34rem),
        var(--pm-bg);
    color: var(--pm-text);
    font-family: "DM Sans", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pm-page {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 72px;
}

.pm-header {
    display: block;
    margin-bottom: 24px;
    padding: 24px 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--pm-line);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(15, 21, 34, 0.98), rgba(10, 14, 24, 0.98));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.pm-header::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, var(--pm-accent), transparent 48%);
    content: "";
    opacity: 0.08;
    pointer-events: none;
}

.pm-header > * {
    position: relative;
    z-index: 1;
}

.pm-header h1 {
    margin: 0;
    color: #fff;
    font-family: "Syne", "Outfit", sans-serif;
    font-size: clamp(2.25rem, 3.8vw, 3.3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.pm-header p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--pm-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.pm-panel {
    border: 1px solid var(--pm-line);
    background: rgba(14, 16, 24, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.pm-status span,
.pm-status small,
.pm-panel__head p,
.pm-date-control span,
.pm-player span,
.pm-matchup span {
    color: var(--pm-muted);
}

.pm-status strong {
    font-size: 0.76rem;
    font-weight: 600;
}

.pm-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: var(--pm-muted);
    font-size: 0.76rem;
}

.pm-status__dot {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--pm-accent);
    box-shadow: 0 0 8px rgba(69, 130, 240, 0.6);
}

.pm-status__separator {
    opacity: 0.55;
}

.pm-panel {
    overflow: hidden;
    border-radius: 14px;
}

.pm-panel--ranked {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.pm-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 24px 10px;
}

.pm-panel__intro {
    min-width: 0;
}

.pm-panel__head h2 {
    margin: 0;
    font-family: "Syne", "Outfit", sans-serif;
    font-size: 1.45rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.pm-panel__head p {
    margin: 5px 0 0;
    font-size: 0.84rem;
}

.pm-panel__actions {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    color: var(--pm-muted);
    font-weight: 800;
}

.pm-date-control {
    position: relative;
    display: grid;
    gap: 0;
}

.pm-date-today {
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--pm-accent);
    font: 700 0.72rem/1 "DM Sans", sans-serif;
    cursor: pointer;
}

.pm-date-today[hidden] {
    display: none;
}

.pm-date-today:hover,
.pm-date-today:focus-visible {
    background: var(--pm-accent-soft);
    color: #91b7ff;
}

.pm-date-nav {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(150px, 1fr) 34px;
    width: 220px;
    min-height: 40px;
    border: 1px solid var(--pm-line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
}

.pm-date-nav button {
    border: 0;
    background: transparent;
    color: var(--pm-text);
    cursor: pointer;
}

.pm-date-step {
    font: 600 1.45rem/1 "DM Sans", sans-serif;
}

.pm-date-step:first-child {
    border-right: 1px solid var(--pm-line);
}

.pm-date-step:nth-of-type(3) {
    border-left: 1px solid var(--pm-line);
}

.pm-date-step:hover,
.pm-date-step:focus-visible,
.pm-date-display:hover,
.pm-date-display:focus-visible {
    background: var(--pm-accent-soft);
}

.pm-date-step:disabled {
    cursor: default;
    color: rgba(145, 163, 180, 0.38);
    background: transparent;
}

.pm-date-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    font: 700 0.88rem/1 "DM Sans", sans-serif;
}

.pm-date-display svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--pm-muted);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.pm-date-nav input {
    position: absolute;
    right: 38px;
    bottom: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
    color: var(--pm-text);
    color-scheme: dark;
}

.pm-calendar {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    width: 286px;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid var(--pm-line-strong);
    border-radius: 12px;
    background: #10131c;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
}

.pm-calendar[hidden] {
    display: none;
}

.pm-calendar__head {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    margin-bottom: 10px;
}

.pm-calendar__head strong {
    color: var(--pm-text);
    font-size: 0.95rem;
    text-align: center;
}

.pm-calendar__head button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--pm-soft);
    font: 600 1.35rem/1 "DM Sans", sans-serif;
    cursor: pointer;
}

.pm-calendar__head button:hover,
.pm-calendar__head button:focus-visible {
    border-color: var(--pm-line-strong);
    background: rgba(255, 255, 255, 0.05);
}

.pm-calendar__head button:disabled {
    cursor: default;
    opacity: 0.3;
}

.pm-calendar__weekdays,
.pm-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.pm-calendar__weekdays {
    margin-bottom: 4px;
}

.pm-calendar__weekdays span {
    color: var(--pm-muted);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 26px;
    text-align: center;
    text-transform: uppercase;
}

.pm-calendar__grid button,
.pm-calendar__grid > span {
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    place-items: center;
    box-sizing: border-box;
}

.pm-calendar__grid button {
    padding: 0;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--pm-soft);
    font: 700 0.82rem/1 "DM Sans", sans-serif;
    cursor: pointer;
}

.pm-calendar__grid button:hover,
.pm-calendar__grid button:focus-visible {
    border-color: var(--pm-accent-border);
    background: var(--pm-accent-soft);
}

.pm-calendar__grid button.is-today {
    border-color: rgba(69, 130, 240, 0.5);
    color: #82adff;
}

.pm-calendar__grid button.is-selected {
    border-color: var(--pm-accent);
    background: rgba(69, 130, 240, 0.18);
    color: #edf4ff;
}

.pm-calendar__grid button:disabled {
    cursor: default;
    color: rgba(145, 163, 180, 0.27);
    background: transparent;
}

.pm-calendar__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--pm-line);
}

.pm-calendar__footer[hidden] {
    display: none;
}

.pm-table-tabs {
    display: flex;
    gap: 2px;
    width: fit-content;
    margin: 0;
    padding: 3px;
    border: 1px solid var(--pm-line);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
}

.pm-table-tabs button {
    min-width: 104px;
    min-height: 34px;
    padding: 0 18px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--pm-muted);
    font: 600 0.78rem/1 "DM Sans", sans-serif;
    cursor: pointer;
}

.pm-table-tabs button:hover,
.pm-table-tabs button:focus-visible {
    background: rgba(255, 255, 255, 0.035);
    color: var(--pm-text);
}

.pm-table-tabs button.is-active {
    background: rgba(69, 130, 240, 0.14);
    color: #91b7ff;
    box-shadow: inset 0 0 0 1px rgba(69, 130, 240, 0.24);
}

.pm-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pm-table-filters {
    display: grid;
    grid-template-columns: auto minmax(220px, 360px) minmax(220px, 300px) 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 24px 18px;
    border-bottom: 1px solid var(--pm-line);
    background: transparent;
}

.pm-player-search,
.pm-game-filter {
    position: relative;
    display: flex;
    min-width: 0;
}

.pm-player-search svg,
.pm-game-filter svg {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: var(--pm-muted);
    stroke-linecap: round;
    stroke-width: 1.7;
    transform: translateY(-50%);
    pointer-events: none;
}

.pm-player-search input,
.pm-game-filter__trigger {
    width: 100%;
    height: 40px;
    min-height: 38px;
    box-sizing: border-box;
    border: 1px solid var(--pm-line-strong);
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, 0.03);
    color: var(--pm-text);
    font: 500 0.8rem/1 "DM Sans", sans-serif;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pm-player-search input {
    padding: 0 12px 0 36px;
}

.pm-game-filter__trigger {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 38px 0 36px;
    text-align: left;
    cursor: pointer;
    line-height: normal;
}

.pm-game-filter__trigger > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-game-filter__trigger > i {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--pm-muted);
    border-bottom: 1.5px solid var(--pm-muted);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.15s ease;
}

.pm-game-filter__trigger[aria-expanded="true"] > i {
    transform: translateY(-25%) rotate(225deg);
}

.pm-player-search input::placeholder {
    color: rgba(136, 143, 160, 0.72);
}

.pm-player-search input:focus,
.pm-game-filter__trigger:focus-visible,
.pm-game-filter__trigger[aria-expanded="true"] {
    border-color: rgba(69, 130, 240, 0.5);
    background: rgba(69, 130, 240, 0.055);
    box-shadow: 0 0 0 3px rgba(69, 130, 240, 0.08);
}

.pm-game-filter__menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    z-index: 45;
    width: min(390px, calc(100vw - 32px));
    max-height: 360px;
    padding: 6px;
    overflow-y: auto;
    box-sizing: border-box;
    border: 1px solid var(--pm-line-strong);
    border-radius: 12px;
    background: #10131c;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.48);
}

.pm-game-filter__menu[hidden] {
    display: none;
}

.pm-game-filter__menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--pm-text);
    font-family: "DM Sans", sans-serif;
    text-align: left;
    cursor: pointer;
}

.pm-game-filter__menu button:hover,
.pm-game-filter__menu button:focus-visible {
    border-color: rgba(69, 130, 240, 0.2);
    outline: none;
    background: rgba(69, 130, 240, 0.08);
}

.pm-game-filter__menu button[aria-selected="true"] {
    border-color: rgba(69, 130, 240, 0.32);
    background: rgba(69, 130, 240, 0.12);
}

.pm-game-filter__menu button:disabled {
    cursor: default;
    opacity: 0.46;
}

.pm-game-filter__menu button > span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.pm-game-filter__menu strong {
    overflow: hidden;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-game-filter__menu small {
    color: var(--pm-muted);
    font-size: 0.7rem;
}

.pm-game-filter__menu em {
    flex: 0 0 auto;
    color: var(--pm-muted);
    font-size: 0.67rem;
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
}

.pm-game-filter__menu em.is-scored {
    color: #86aef9;
}

.pm-filter-count {
    justify-self: end;
    color: var(--pm-muted);
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

.pm-filter-clear {
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--pm-accent);
    font: 600 0.76rem/1 "DM Sans", sans-serif;
    cursor: pointer;
}

.pm-filter-clear:hover,
.pm-filter-clear:focus-visible {
    color: #91b7ff;
}

.pm-mobile-sort {
    display: none;
}

.pm-filter-controls {
    display: contents;
}

.pm-market-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 54px;
    padding: 8px 24px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--pm-line);
}

.pm-market-controls[hidden],
.pm-market-selector[hidden],
.pm-mobile-market-selector[hidden],
.pm-sportsbook-selector[hidden],
.pm-market-status[hidden] {
    display: none;
}

.pm-mobile-market-selector {
    display: none;
}

.pm-props-mode {
    display: flex;
    flex: 0 0 auto;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--pm-line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
}

.pm-sportsbook-selector {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    margin-left: -8px;
}

.pm-sportsbook-selector__trigger {
    position: relative;
    min-width: 142px;
    min-height: 38px;
    padding: 0 38px 0 14px;
    border: 1px solid var(--pm-line-strong);
    border-radius: 8px;
    outline: 0;
    background: rgba(255, 255, 255, 0.025);
    color: var(--pm-text);
    font: 650 0.74rem/1 "DM Sans", sans-serif;
    text-align: left;
    cursor: pointer;
}

.pm-sportsbook-selector__trigger i {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--pm-muted);
    border-bottom: 2px solid var(--pm-muted);
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.15s ease;
}

.pm-sportsbook-selector__trigger[aria-expanded="true"] i {
    transform: translateY(-25%) rotate(225deg);
}

.pm-sportsbook-selector__trigger:hover,
.pm-sportsbook-selector__trigger:focus-visible,
.pm-sportsbook-selector__trigger[aria-expanded="true"] {
    border-color: var(--pm-accent-border);
    background: rgba(69, 130, 240, 0.055);
    box-shadow: 0 0 0 3px var(--pm-accent-soft);
}

.pm-sportsbook-selector__menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    z-index: 50;
    display: grid;
    width: 172px;
    padding: 6px;
    box-sizing: border-box;
    border: 1px solid var(--pm-line-strong);
    border-radius: 10px;
    background: #10131c;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
}

.pm-sportsbook-selector__menu[hidden] {
    display: none;
}

.pm-sportsbook-selector__menu button {
    position: relative;
    min-height: 38px;
    padding: 0 30px 0 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--pm-muted);
    font: 650 0.74rem/1 "DM Sans", sans-serif;
    text-align: left;
    cursor: pointer;
}

.pm-sportsbook-selector__menu button:hover,
.pm-sportsbook-selector__menu button:focus-visible {
    border-color: rgba(69, 130, 240, 0.2);
    outline: 0;
    background: rgba(69, 130, 240, 0.08);
    color: var(--pm-text);
}

.pm-sportsbook-selector__menu button[aria-selected="true"] {
    background: rgba(69, 130, 240, 0.12);
    color: #91b7ff;
}

.pm-sportsbook-selector__menu button[aria-selected="true"]::after {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 7px;
    height: 4px;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    content: "";
    transform: translateY(-65%) rotate(-45deg);
}

.pm-props-mode button,
.pm-market-selector button {
    border: 0;
    background: transparent;
    color: var(--pm-muted);
    font: 650 0.74rem/1 "DM Sans", sans-serif;
    cursor: pointer;
}

.pm-props-mode button {
    min-width: 72px;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 6px;
}

.pm-props-mode button:hover,
.pm-props-mode button:focus-visible,
.pm-market-selector button:hover,
.pm-market-selector button:focus-visible {
    color: var(--pm-text);
}

.pm-props-mode button.is-active {
    background: rgba(69, 130, 240, 0.14);
    color: #91b7ff;
    box-shadow: inset 0 0 0 1px rgba(69, 130, 240, 0.26);
}

.pm-market-selector {
    display: flex;
    align-self: stretch;
    gap: 22px;
    min-width: 0;
}

.pm-market-selector button {
    position: relative;
    min-height: 38px;
    padding: 0 2px;
    white-space: nowrap;
}

.pm-market-selector button.is-active {
    color: var(--pm-text);
}

.pm-market-selector button.is-active::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--pm-accent);
    content: "";
}

.pm-market-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    margin: 0;
    color: inherit;
    font: inherit;
    white-space: nowrap;
}

.pm-market-status::before {
    color: var(--pm-muted);
    content: "·";
    opacity: 0.55;
}

.pm-mobile-filter-toggle {
    display: none;
}

.pm-table {
    --pm-identity-columns: 72px minmax(190px, 1.05fr) minmax(210px, 1.05fr);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--pm-line-strong) transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.pm-table::-webkit-scrollbar {
    height: 7px;
}

.pm-table::-webkit-scrollbar-track {
    background: transparent;
}

.pm-table::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--pm-line-strong);
}

.pm-table-head,
.pm-row {
    display: grid;
    gap: 16px;
    align-items: center;
}

.pm-table-head--overall,
.pm-row--overall {
    grid-template-columns: var(--pm-identity-columns) repeat(5, minmax(118px, 0.72fr));
}

.pm-table-head--props,
.pm-row--props {
    grid-template-columns: var(--pm-identity-columns) repeat(7, minmax(120px, 0.8fr));
}

.pm-table-head--market,
.pm-row--market {
    grid-template-columns: minmax(210px, 1.1fr) minmax(225px, 1.15fr) repeat(4, minmax(125px, 0.72fr)) 48px;
}

.pm-table-head--market-one-sided,
.pm-row--market-one-sided {
    grid-template-columns: minmax(235px, 1.2fr) minmax(250px, 1.2fr) repeat(3, minmax(145px, 0.72fr)) 48px;
}

.pm-table-head {
    min-height: 48px;
    padding: 0 24px;
    border-bottom: 1px solid var(--pm-line);
    color: var(--pm-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pm-table-head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
}

.pm-table-head button small {
    width: 10px;
    color: var(--pm-accent);
    font-size: 0.9rem;
}

.pm-table-head button span {
    white-space: nowrap;
}

.pm-table-head button:hover,
.pm-table-head button:focus-visible,
.pm-table-head button.is-active {
    color: var(--pm-text);
}

.pm-row {
    min-height: 72px;
    padding: 10px 24px;
    border-bottom: 1px solid var(--pm-line);
}

.pm-row:last-of-type {
    border-bottom: 0;
}

.pm-row:hover {
    background: rgba(69, 130, 240, 0.025);
}

.pm-rank {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.pm-col-rank {
    text-align: center;
}

.pm-player,
.pm-matchup,
.pm-value {
    min-width: 0;
}

.pm-player strong,
.pm-matchup strong {
    display: block;
    overflow: hidden;
    color: var(--pm-text);
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-player strong {
    font-family: "Outfit", "DM Sans", sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
}

.pm-row-expand {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 7px;
    background: rgba(148, 163, 184, 0.055);
    color: var(--pm-muted);
    cursor: pointer;
}

.pm-row-action {
    display: grid;
    place-items: center;
}

.pm-row-expand:hover,
.pm-row-expand:focus-visible,
.pm-row-expand[aria-expanded="true"] {
    border-color: rgba(87, 146, 255, 0.45);
    background: rgba(69, 130, 240, 0.11);
    color: #9bbdff;
}

.pm-row-expand i {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
}

.pm-row-expand[aria-expanded="true"] i {
    transform: translateY(2px) rotate(225deg);
}

.pm-matchup strong {
    font-size: 0.92rem;
}

.pm-game-time {
    color: var(--pm-muted);
    font: inherit;
    font-weight: 700;
}

.pm-player span,
.pm-matchup span {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    font-size: 0.78rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-value {
    text-align: center;
}

.pm-value span {
    display: none;
}

.pm-value strong {
    display: inline-grid;
    min-width: 44px;
    height: 32px;
    padding: 0 8px;
    place-items: center;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 1rem;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.pm-row--props .pm-value strong {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    height: 34px;
    overflow: hidden;
    border-color: rgba(148, 163, 184, 0.12);
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.055);
    color: var(--pm-text);
    font-size: 0.92rem;
}

.pm-row--props .pm-value strong::after {
    position: absolute;
    right: auto;
    bottom: 0;
    left: 0;
    width: var(--pm-probability, 0%);
    height: 3px;
    border-radius: 0 3px 3px 0;
    background: rgba(69, 130, 240, 0.72);
    content: "";
}

.pm-row--props .pm-value strong b,
.pm-row--props .pm-value strong small {
    position: relative;
    z-index: 1;
}

.pm-row--props .pm-value strong b {
    font: inherit;
}

.pm-row--props .pm-value strong small {
    margin-left: 1px;
    color: rgba(203, 213, 225, 0.78);
    font-size: 0.76em;
    font-weight: 800;
}

.pm-row--props .pm-value[data-active-sort="true"] strong {
    border-color: rgba(69, 130, 240, 0.52);
    background: rgba(69, 130, 240, 0.1);
    box-shadow: 0 0 0 2px rgba(69, 130, 240, 0.045);
}

.pm-row--props .pm-value[data-active-sort="true"] strong::after {
    background: #5792ff;
}

.pm-value.is-strong strong {
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.14);
}

.pm-value.is-good strong {
    border-color: rgba(45, 212, 191, 0.29);
    background: rgba(45, 212, 191, 0.13);
}

.pm-value.is-neutral strong {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.13);
}

.pm-value.is-caution strong {
    border-color: rgba(251, 113, 133, 0.3);
    background: rgba(251, 113, 133, 0.13);
}

.pm-value.is-muted strong {
    border-color: rgba(145, 163, 180, 0.22);
    background: rgba(145, 163, 180, 0.09);
}

.is-strong { color: var(--pm-green); }
.is-good { color: var(--pm-teal); }
.is-neutral { color: var(--pm-amber); }
.is-caution { color: var(--pm-red); }
.is-muted { color: var(--pm-muted); }
.is-probability { color: #f4f8fb; }

.pm-row--overall .pm-value strong {
    color: var(--pm-text);
}

.pm-market-value {
    min-width: 0;
    text-align: center;
}

.pm-market-value > span {
    display: none;
}

.pm-market-value strong {
    color: var(--pm-text);
    font-size: 0.88rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pm-market-value strong b {
    font: inherit;
}

.pm-market-value strong small {
    margin-left: 1px;
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.76em;
    font-weight: 800;
}

.pm-market-value--model strong,
.pm-market-value--market strong,
.pm-market-value--implied strong {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    height: 34px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.055);
}

.pm-market-value--model strong::after {
    position: absolute;
    right: auto;
    bottom: 0;
    left: 0;
    width: var(--pm-probability, 0%);
    height: 3px;
    border-radius: 0 3px 3px 0;
    background: #5792ff;
    content: "";
}

.pm-market-value--model strong b,
.pm-market-value--model strong small {
    position: relative;
    z-index: 1;
}

.pm-market-value--odds strong {
    color: var(--pm-soft);
}

.pm-market-value--difference.is-positive strong {
    color: var(--pm-green);
}

.pm-market-value--difference.is-negative strong {
    color: var(--pm-red);
}

.pm-market-value--difference.is-unavailable strong {
    color: var(--pm-muted);
}

.pm-market-value[data-active-sort="true"] strong {
    text-decoration-thickness: 1px;
}

.pm-sportsbook-comparison {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 4px 0 6px;
    padding: 16px;
    border: 1px solid rgba(87, 146, 255, 0.2);
    border-radius: 10px;
    background: rgba(7, 10, 18, 0.72);
}

.pm-sportsbook-comparison__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.pm-sportsbook-comparison__head > div {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.pm-sportsbook-comparison__head strong {
    color: var(--pm-text);
    font-family: "Outfit", "DM Sans", sans-serif;
    font-size: 0.92rem;
}

.pm-sportsbook-comparison__head span,
.pm-sportsbook-comparison__head > small {
    color: var(--pm-muted);
    font-size: 0.72rem;
}

.pm-book-list {
    overflow: hidden;
    border: 1px solid var(--pm-line);
    border-radius: 8px;
}

.pm-book-row {
    display: grid;
    min-height: 48px;
    grid-template-columns: minmax(150px, 1.2fr) repeat(3, minmax(135px, 0.8fr));
    align-items: center;
    border-bottom: 1px solid var(--pm-line);
}

.pm-book-row:last-child {
    border-bottom: 0;
}

.pm-book-row.is-best {
    background: rgba(69, 130, 240, 0.055);
}

.pm-book-row > div {
    min-width: 0;
    padding: 8px 14px;
    border-right: 1px solid var(--pm-line);
    text-align: center;
}

.pm-book-row > div:last-child {
    border-right: 0;
}

.pm-book-row span {
    display: block;
    margin-bottom: 2px;
    color: var(--pm-muted);
    font-size: 0.62rem;
    font-weight: 700;
}

.pm-book-row strong {
    color: var(--pm-text);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pm-book-name {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left !important;
}

.pm-book-name small {
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(69, 130, 240, 0.14);
    color: #9bbdff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.pm-book-difference.is-positive strong { color: var(--pm-green); }
.pm-book-difference.is-negative strong { color: var(--pm-red); }
.pm-book-difference.is-unavailable strong { color: var(--pm-muted); }

.pm-pagination {
    position: static;
    inset: auto;
    z-index: auto;
    width: auto;
    height: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-top: 1px solid var(--pm-line);
    background: rgba(7, 8, 12, 0.42);
    color: var(--pm-muted);
    font-weight: 800;
}

.pm-pagination div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-pagination button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--pm-line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--pm-text);
    font: inherit;
    cursor: pointer;
}

.pm-pagination button:hover,
.pm-pagination button:focus-visible {
    border-color: var(--pm-accent);
    background: var(--pm-accent-soft);
}

.pm-pagination button:disabled {
    cursor: default;
    opacity: 0.4;
}

.pm-empty {
    padding: 64px 20px;
    text-align: center;
}

.pm-empty h3 {
    margin: 0;
    font-family: "Syne", "Outfit", sans-serif;
    font-size: 1.4rem;
}

.pm-empty p {
    margin: 8px 0 0;
    color: var(--pm-muted);
}

.pm-loading {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 70px 20px;
}

.pm-loading span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pm-accent);
    animation: pm-pulse 0.9s infinite alternate;
}

.pm-loading span:nth-child(2) { animation-delay: 0.16s; }
.pm-loading span:nth-child(3) { animation-delay: 0.32s; }

@keyframes pm-pulse {
    to { opacity: 0.25; transform: translateY(-4px); }
}

@media (min-width: 701px) and (max-width: 1300px) {
    .pm-market-controls {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px 14px;
        min-height: 0;
        padding-block: 10px 12px;
    }

    .pm-props-mode {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .pm-sportsbook-selector {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        margin-left: 0;
    }

    .pm-market-selector {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-wrap: wrap;
        align-self: auto;
        gap: 4px 18px;
        width: 100%;
    }

    .pm-market-selector button {
        min-height: 34px;
    }

    .pm-market-selector button.is-active::after {
        bottom: -4px;
    }

}

@media (max-width: 1100px) {
    .pm-table-filters {
        grid-template-columns: auto minmax(180px, 1fr) minmax(180px, 1fr) auto;
    }

    .pm-table-head,
    .pm-row,
    .pm-pagination,
    .pm-empty,
    .pm-loading {
        min-width: 1020px;
    }
}

@media (max-width: 700px) {
    .pm-page {
        width: min(100% - 20px, 720px);
        margin-top: 26px;
        margin-bottom: 48px;
        padding: 0;
        border: 1px solid var(--pm-line);
        border-radius: 14px;
        background: rgba(14, 16, 24, 0.92);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
    }

    .pm-header {
        margin: 0;
        padding: 22px 20px 20px;
        border: 0;
        border-radius: 14px 14px 0 0;
        background: transparent;
        box-shadow: none;
    }

    .pm-header h1 {
        font-size: clamp(2rem, 9vw, 2.75rem);
    }

    .pm-header p {
        margin-top: 9px;
        font-size: 0.9rem;
    }

    .pm-status {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 13px;
        padding: 0;
    }

    .pm-status strong {
        font-size: 0.74rem;
    }

    .pm-status small {
        font-size: 0.72rem;
    }

    .pm-panel {
        border: 0;
        border-top: 1px solid var(--pm-line);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .pm-panel__head {
        align-items: flex-end;
        padding: 16px 12px;
    }

    .pm-panel__head h2 {
        color: var(--pm-soft);
        font-family: "DM Sans", sans-serif;
        font-size: 1.08rem;
        font-weight: 600;
        letter-spacing: -0.015em;
    }

    .pm-panel__head p {
        max-width: 240px;
        font-size: 0.8rem;
    }

    .pm-panel__actions {
        display: grid;
        justify-items: end;
        gap: 5px;
        font-size: 0.76rem;
    }

    .pm-date-nav {
        grid-template-columns: 34px minmax(108px, 1fr) 34px;
        min-height: 38px;
    }

    .pm-calendar {
        width: min(286px, calc(100vw - 24px));
    }

    .pm-table-tabs {
        grid-column: 1;
        width: 100%;
        margin: 0;
        padding: 3px;
    }

    .pm-table-tabs button {
        flex: 1;
        min-width: 0;
        min-height: 38px;
    }

    .pm-table {
        overflow: visible;
    }

    .pm-table-filters {
        grid-template-columns: minmax(0, 1fr);
        padding: 10px 12px;
    }

    .pm-filter-count {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .pm-market-controls {
        display: grid;
        grid-template-columns: minmax(98px, 1.05fr) repeat(2, minmax(0, 1fr));
        gap: 8px 6px;
        min-height: 0;
        padding: 10px 12px 12px;
    }

    .pm-props-mode {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        box-sizing: border-box;
    }

    .pm-props-mode button {
        flex: 1;
        min-width: 0;
        padding-inline: 5px;
    }

    .pm-sportsbook-selector {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: 100%;
        margin-left: 0;
    }

    .pm-sportsbook-selector__trigger {
        width: 100%;
        min-width: 0;
        padding: 0 28px 0 9px;
        font-size: 0.68rem;
    }

    .pm-sportsbook-selector__trigger span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pm-sportsbook-selector__trigger i {
        right: 9px;
    }

    .pm-mobile-market-selector {
        position: relative;
        grid-column: 3;
        grid-row: 1;
        display: flex;
        min-width: 0;
    }

    .pm-mobile-market-selector select {
        width: 100%;
        min-width: 0;
        min-height: 38px;
        padding: 0 24px 0 8px;
        border: 1px solid var(--pm-line-strong);
        border-radius: 8px;
        outline: 0;
        appearance: none;
        background: rgba(255, 255, 255, 0.025);
        color: var(--pm-text);
        color-scheme: dark;
        font: 650 0.68rem/1 "DM Sans", sans-serif;
        text-overflow: ellipsis;
        cursor: pointer;
    }

    .pm-mobile-market-selector i {
        position: absolute;
        top: 50%;
        right: 9px;
        width: 7px;
        height: 7px;
        border-right: 2px solid var(--pm-muted);
        border-bottom: 2px solid var(--pm-muted);
        pointer-events: none;
        transform: translateY(-70%) rotate(45deg);
    }

    .pm-mobile-market-selector select:focus {
        border-color: var(--pm-accent-border);
        background: rgba(69, 130, 240, 0.055);
        box-shadow: 0 0 0 3px var(--pm-accent-soft);
    }

    .pm-market-selector {
        display: none;
    }

    .pm-mobile-filter-toggle {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        min-height: 44px;
        padding: 7px 12px;
        border: 1px solid var(--pm-line-strong);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.025);
        color: var(--pm-text);
        font-family: "DM Sans", sans-serif;
        text-align: left;
        cursor: pointer;
    }

    .pm-mobile-filter-toggle > span {
        font-size: 0.8rem;
        font-weight: 650;
    }

    .pm-mobile-filter-toggle > small {
        grid-column: 1;
        display: block;
        overflow: hidden;
        margin-top: 3px;
        color: var(--pm-muted);
        font-size: 0.67rem;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pm-mobile-filter-toggle > i {
        grid-column: 2;
        grid-row: 1 / 3;
        width: 8px;
        height: 8px;
        margin-right: 3px;
        border-right: 1.5px solid var(--pm-muted);
        border-bottom: 1.5px solid var(--pm-muted);
        transform: translateY(-2px) rotate(45deg);
        transition: transform 0.15s ease;
    }

    .pm-mobile-filter-toggle[aria-expanded="true"] > i {
        transform: translateY(2px) rotate(225deg);
    }

    .pm-mobile-filter-toggle.has-active-filters > span::before {
        display: inline-block;
        width: 6px;
        height: 6px;
        margin-right: 7px;
        border-radius: 50%;
        background: var(--pm-accent);
        content: "";
        box-shadow: 0 0 7px rgba(69, 130, 240, 0.45);
    }

    .pm-filter-controls {
        display: none;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--pm-line);
    }

    .pm-filter-controls.is-open {
        display: grid;
    }

    .pm-filter-controls .pm-filter-clear {
        grid-column: 2;
        justify-self: end;
    }

    .pm-mobile-sort {
        grid-column: 1 / 3;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        padding-top: 10px;
        border-top: 1px solid var(--pm-line);
    }

    .pm-mobile-sort > span {
        color: var(--pm-muted);
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .pm-mobile-sort select,
    .pm-mobile-sort button {
        min-width: 0;
        height: 36px;
        box-sizing: border-box;
        border: 1px solid var(--pm-line-strong);
        border-radius: 7px;
        outline: none;
        background: rgba(255, 255, 255, 0.03);
        color: var(--pm-text);
        font: 600 0.72rem/1 "DM Sans", sans-serif;
    }

    .pm-mobile-sort select {
        width: 100%;
        padding: 0 28px 0 10px;
        color-scheme: dark;
        cursor: pointer;
    }

    .pm-mobile-sort button {
        padding: 0 10px;
        white-space: nowrap;
        cursor: pointer;
    }

    .pm-mobile-sort select:focus,
    .pm-mobile-sort button:focus-visible {
        border-color: rgba(69, 130, 240, 0.5);
        box-shadow: 0 0 0 3px rgba(69, 130, 240, 0.08);
    }

    .pm-table {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .pm-table-head,
    .pm-row {
        display: grid;
        min-height: 0;
        gap: 0;
        padding: 0;
    }

    .pm-table-head--overall,
    .pm-row--overall {
        min-width: 850px;
        grid-template-columns: 42px 168px 170px repeat(5, 94px);
    }

    .pm-table-head--props,
    .pm-row--props {
        min-width: 1080px;
        grid-template-columns: 42px 168px 170px repeat(7, 100px);
    }

    .pm-table-head--market,
    .pm-row--market {
        min-width: 878px;
        grid-template-columns: 178px 180px repeat(4, 118px) 48px;
    }

    .pm-table-head--market-one-sided,
    .pm-row--market-one-sided {
        min-width: 768px;
        grid-template-columns: 178px 180px repeat(3, 120px) 48px;
    }

    .pm-table-head {
        min-height: 46px;
        background: #0e1018;
        font-size: 0.62rem;
        letter-spacing: 0.055em;
    }

    .pm-table-head > span,
    .pm-table-head > button {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        padding: 0 8px;
        box-sizing: border-box;
        border-right: 1px solid var(--pm-line);
    }

    .pm-table-head > button {
        width: 100%;
        min-height: 46px;
        border-top: 0;
        border-bottom: 0;
        border-left: 0;
    }

    .pm-table-head > button.is-active {
        background: rgba(69, 130, 240, 0.09);
        color: #9bbdff;
    }

    .pm-table-head button small {
        width: auto;
        min-width: 8px;
    }

    .pm-row {
        min-height: 62px;
        border-bottom: 1px solid var(--pm-line);
        background: transparent;
        box-shadow: none;
    }

    .pm-row.is-expanded {
        padding-bottom: 0;
    }

    .pm-sportsbook-comparison {
        margin: 0;
        padding: 12px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .pm-sportsbook-comparison__head {
        align-items: flex-start;
    }

    .pm-book-row {
        grid-template-columns: 150px repeat(3, 135px);
    }

    .pm-row:hover {
        background: transparent;
    }

    .pm-rank,
    .pm-player,
    .pm-matchup,
    .pm-value,
    .pm-market-value {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        margin: 0;
        padding: 9px 8px;
        box-sizing: border-box;
        border-top: 0;
        border-right: 1px solid var(--pm-line);
    }

    .pm-row-action {
        min-width: 0;
        border-right: 0;
    }

    .pm-rank {
        align-items: center;
        padding: 0;
    }

    .pm-player strong {
        font-size: 0.88rem;
    }

    .pm-player span,
    .pm-matchup span {
        display: block;
        overflow: hidden;
        margin-top: 3px;
        font-size: 0.67rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pm-matchup strong {
        font-size: 0.76rem;
    }

    .pm-value,
    .pm-market-value {
        align-items: center;
        text-align: center;
    }

    .pm-value span,
    .pm-market-value > span {
        display: none;
    }

    .pm-value strong,
    .pm-row--overall .pm-value strong {
        min-width: 40px;
        height: 28px;
        padding: 0 6px;
        border-radius: 6px;
        font-size: 0.84rem;
    }

    .pm-row--props .pm-value strong {
        width: auto;
        min-width: 62px;
        height: 30px;
        padding: 0 7px;
        overflow: hidden;
        font-size: 0.82rem;
    }

    .pm-row--props .pm-value strong::after {
        height: 2px;
    }

    .pm-value[data-active-sort="true"],
    .pm-market-value[data-active-sort="true"] {
        background: rgba(69, 130, 240, 0.055);
    }

    .pm-market-value strong {
        font-size: 0.78rem;
    }

    .pm-table-head .pm-col-rank,
    .pm-row .pm-rank {
        position: sticky;
        left: 0;
        z-index: 3;
        background: #0e1018;
    }

    .pm-table-head .pm-col-player,
    .pm-row--overall .pm-player,
    .pm-row--props .pm-player {
        position: sticky;
        left: 42px;
        z-index: 3;
        background: #0e1018;
        box-shadow: 8px 0 12px -12px rgba(0, 0, 0, 0.95);
    }

    .pm-table-head--market .pm-col-player,
    .pm-row--market .pm-player {
        position: sticky;
        left: 0;
        z-index: 3;
        background: #0e1018;
        box-shadow: 8px 0 12px -12px rgba(0, 0, 0, 0.95);
    }

    .pm-table-head .pm-col-rank,
    .pm-table-head .pm-col-player {
        z-index: 4;
    }

    .pm-pagination,
    .pm-empty,
    .pm-loading {
        min-width: 0;
    }

    .pm-pagination {
        padding: 14px 12px;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .pm-page {
        width: calc(100% - 20px);
    }

    .pm-header {
        padding: 20px 12px 18px;
    }

    .pm-panel__head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .pm-panel__head p {
        display: none;
    }

    .pm-table-tabs {
        grid-column: 1;
    }

    .pm-filter-controls {
        grid-template-columns: 1fr;
    }

    .pm-filter-controls .pm-player-search,
    .pm-filter-controls .pm-game-filter,
    .pm-filter-controls .pm-mobile-sort {
        grid-column: 1;
    }

    .pm-filter-count {
        grid-column: 1;
        grid-row: auto;
    }

    .pm-filter-controls .pm-filter-clear {
        grid-column: 1;
        grid-row: auto;
        justify-self: end;
    }

    .pm-date-nav {
        grid-template-columns: 32px minmax(100px, 1fr) 32px;
        width: 174px;
    }

    .pm-pagination > span {
        display: none;
    }

    .pm-pagination {
        justify-content: center;
    }
}

/* Vynta light theme */
html[data-theme="light"] {
    --pm-bg: #f4f7ff;
    --pm-panel: #ffffff;
    --pm-panel-2: #edf3ff;
    --pm-line: rgba(15, 23, 42, 0.09);
    --pm-line-strong: rgba(15, 23, 42, 0.16);
    --pm-text: #0f172a;
    --pm-muted: #64748b;
    --pm-soft: #334155;
    --pm-accent: #2563eb;
    --pm-accent-soft: rgba(37, 99, 235, 0.08);
    --pm-accent-border: rgba(37, 99, 235, 0.24);
    --pm-green: #16a34a;
    --pm-teal: #0f9f95;
    --pm-amber: #d97706;
    --pm-red: #dc2626;
}

html[data-theme="light"] .pm-body {
    background:
        radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.1), transparent 34rem),
        var(--pm-bg);
}

html[data-theme="light"] .pm-header {
    border-color: rgba(15, 23, 42, 0.1);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.98));
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] .pm-header::before {
    opacity: 0.06;
}

html[data-theme="light"] .pm-header h1,
html[data-theme="light"] .pm-panel__head h2,
html[data-theme="light"] .pm-player strong,
html[data-theme="light"] .pm-matchup strong {
    color: var(--pm-text);
}

html[data-theme="light"] .pm-status__dot {
    box-shadow: 0 0 7px rgba(37, 99, 235, 0.4);
}

html[data-theme="light"] .pm-panel {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] .pm-date-nav,
html[data-theme="light"] .pm-player-search input,
html[data-theme="light"] .pm-game-filter__trigger,
html[data-theme="light"] .pm-pagination button {
    background: rgba(15, 23, 42, 0.025);
}

html[data-theme="light"] .pm-date-nav button,
html[data-theme="light"] .pm-date-display,
html[data-theme="light"] .pm-player-search input,
html[data-theme="light"] .pm-game-filter__trigger,
html[data-theme="light"] .pm-sportsbook-selector__trigger,
html[data-theme="light"] .pm-pagination button {
    color: var(--pm-text);
}

html[data-theme="light"] .pm-sportsbook-selector__trigger {
    background: rgba(15, 23, 42, 0.025);
}

html[data-theme="light"] .pm-mobile-market-selector select {
    background: rgba(15, 23, 42, 0.025);
    color: var(--pm-text);
    color-scheme: light;
}

html[data-theme="light"] .pm-sportsbook-selector__menu {
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .pm-date-step:hover,
html[data-theme="light"] .pm-date-step:focus-visible,
html[data-theme="light"] .pm-date-display:hover,
html[data-theme="light"] .pm-date-display:focus-visible {
    background: rgba(37, 99, 235, 0.07);
}

html[data-theme="light"] .pm-calendar,
html[data-theme="light"] .pm-game-filter__menu {
    border-color: rgba(15, 23, 42, 0.14);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .pm-calendar__head strong,
html[data-theme="light"] .pm-calendar__head button,
html[data-theme="light"] .pm-calendar__grid button,
html[data-theme="light"] .pm-game-filter__menu button {
    color: var(--pm-text);
}

html[data-theme="light"] .pm-calendar__grid button:disabled {
    color: rgba(100, 116, 139, 0.34);
}

html[data-theme="light"] .pm-table-tabs {
    border-color: rgba(15, 23, 42, 0.09);
    background: rgba(15, 23, 42, 0.035);
}

html[data-theme="light"] .pm-table-tabs button:hover,
html[data-theme="light"] .pm-table-tabs button:focus-visible {
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .pm-table-tabs button.is-active {
    background: rgba(37, 99, 235, 0.11);
    color: #1d4ed8;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.23);
}

html[data-theme="light"] .pm-table-filters {
    background: transparent;
}

html[data-theme="light"] .pm-props-mode,
html[data-theme="light"] .pm-market-selector button {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.025);
}

html[data-theme="light"] .pm-props-mode button.is-active,
html[data-theme="light"] .pm-market-selector button.is-active {
    background: rgba(37, 99, 235, 0.09);
    color: #1d4ed8;
}

html[data-theme="light"] .pm-player-search input::placeholder {
    color: rgba(71, 85, 105, 0.62);
}

html[data-theme="light"] .pm-player-search input:focus,
html[data-theme="light"] .pm-game-filter__trigger:focus-visible,
html[data-theme="light"] .pm-game-filter__trigger[aria-expanded="true"] {
    background: rgba(37, 99, 235, 0.045);
}

html[data-theme="light"] .pm-game-filter__menu button:hover,
html[data-theme="light"] .pm-game-filter__menu button:focus-visible,
html[data-theme="light"] .pm-game-filter__menu button[aria-selected="true"] {
    background: rgba(37, 99, 235, 0.07);
}

html[data-theme="light"] .pm-table-head {
    color: #64748b;
}

html[data-theme="light"] .pm-table-head button:hover,
html[data-theme="light"] .pm-table-head button:focus-visible,
html[data-theme="light"] .pm-table-head button.is-active {
    color: #0f172a;
}

html[data-theme="light"] .pm-row:hover {
    background: rgba(37, 99, 235, 0.025);
}

html[data-theme="light"] .pm-rank {
    color: rgba(15, 23, 42, 0.46);
}

html[data-theme="light"] .pm-value strong,
html[data-theme="light"] .pm-row--overall .pm-value strong {
    color: #0f172a;
}

html[data-theme="light"] .pm-row--props .pm-value strong {
    border-color: rgba(100, 116, 139, 0.18);
    background: rgba(100, 116, 139, 0.07);
    color: #0f172a;
}

html[data-theme="light"] .pm-row--props .pm-value strong small {
    color: rgba(71, 85, 105, 0.78);
}

html[data-theme="light"] .pm-row--props .pm-value[data-active-sort="true"] strong {
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.08);
}

html[data-theme="light"] .pm-market-value strong {
    color: #0f172a;
}

html[data-theme="light"] .pm-market-value--model strong,
html[data-theme="light"] .pm-market-value--market strong,
html[data-theme="light"] .pm-market-value--implied strong {
    border-color: rgba(100, 116, 139, 0.18);
    background: rgba(100, 116, 139, 0.07);
}

html[data-theme="light"] .pm-market-value--difference.is-positive strong {
    color: #15803d;
}

html[data-theme="light"] .pm-market-value--difference.is-negative strong {
    color: #e11d48;
}

html[data-theme="light"] .pm-row-expand {
    border-color: rgba(100, 116, 139, 0.2);
    background: rgba(100, 116, 139, 0.06);
    color: #64748b;
}

html[data-theme="light"] .pm-sportsbook-comparison {
    border-color: rgba(37, 99, 235, 0.18);
    background: rgba(248, 250, 252, 0.78);
}

html[data-theme="light"] .pm-book-row.is-best {
    background: rgba(37, 99, 235, 0.045);
}

html[data-theme="light"] .pm-book-name small {
    background: rgba(37, 99, 235, 0.09);
    color: #2563eb;
}

html[data-theme="light"] .pm-book-difference.is-positive strong { color: #15803d; }
html[data-theme="light"] .pm-book-difference.is-negative strong { color: #e11d48; }

html[data-theme="light"] .pm-value.is-strong strong {
    border-color: rgba(22, 163, 74, 0.32);
    background: rgba(22, 163, 74, 0.12);
}

html[data-theme="light"] .pm-value.is-good strong {
    border-color: rgba(15, 159, 149, 0.3);
    background: rgba(15, 159, 149, 0.11);
}

html[data-theme="light"] .pm-value.is-neutral strong {
    border-color: rgba(217, 119, 6, 0.3);
    background: rgba(217, 119, 6, 0.11);
}

html[data-theme="light"] .pm-value.is-caution strong {
    border-color: rgba(220, 38, 38, 0.28);
    background: rgba(220, 38, 38, 0.1);
}

html[data-theme="light"] .pm-value.is-muted strong {
    border-color: rgba(100, 116, 139, 0.2);
    background: rgba(100, 116, 139, 0.07);
}

html[data-theme="light"] .pm-pagination {
    background: rgba(241, 245, 249, 0.76);
}

@media (max-width: 700px) {
    html[data-theme="light"] .pm-page {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
    }

    html[data-theme="light"] .pm-header {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    html[data-theme="light"] .pm-panel {
        border: 0;
        border-top: 1px solid rgba(15, 23, 42, 0.1);
        background: transparent;
        box-shadow: none;
    }

    html[data-theme="light"] .pm-panel__head h2 {
        color: var(--pm-soft);
    }

    html[data-theme="light"] .pm-row:hover {
        background: transparent;
    }

    html[data-theme="light"] .pm-value[data-active-sort="true"],
    html[data-theme="light"] .pm-market-value[data-active-sort="true"] {
        background: rgba(37, 99, 235, 0.04);
    }

    html[data-theme="light"] .pm-table-head,
    html[data-theme="light"] .pm-table-head .pm-col-rank,
    html[data-theme="light"] .pm-table-head .pm-col-player,
    html[data-theme="light"] .pm-row .pm-rank,
    html[data-theme="light"] .pm-row--overall .pm-player,
    html[data-theme="light"] .pm-row--props .pm-player,
    html[data-theme="light"] .pm-row--market .pm-player {
        background: #fff;
    }

    html[data-theme="light"] .pm-table-head > button.is-active {
        background: rgba(37, 99, 235, 0.07);
        color: #1d4ed8;
    }

    html[data-theme="light"] .pm-mobile-sort select,
    html[data-theme="light"] .pm-mobile-sort button,
    html[data-theme="light"] .pm-mobile-filter-toggle {
        background: rgba(15, 23, 42, 0.025);
        color: #0f172a;
        color-scheme: light;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pm-loading span {
        animation: none;
    }
}
