:root {
    --pp-red: #d50a0a;
    --pp-red-dark: #d50a0a;
    --pp-navy: #013369;
    --pp-navy-soft: #013369;
    --pp-blue: #013369;
    --pp-gold: #f4b942;
    --pp-bg: #f3f6fa;
    --pp-surface: #ffffff;
    --pp-surface-alt: #eef2f7;
    --pp-border: #d7dee8;
    --pp-text: #172033;
    --pp-muted: #667085;
    --pp-success: #157347;
    --pp-danger: #b42318;
    --pp-shadow: 0 10px 30px rgba(7, 26, 51, 0.1);
    --pp-radius: 12px;
    --pp-content: 1180px;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--pp-bg);
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--pp-bg) !important;
    color: var(--pp-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: var(--pp-blue);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--pp-red);
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    color: var(--pp-navy);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

h3 {
    font-size: 1.2rem;
}

.site-main,
.page-container {
    width: min(calc(100% - 32px), var(--pp-content));
    margin: 0 auto;
    padding: 28px 0 48px;
}

.site-header {
    position: relative;
    z-index: 20;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 42%),
        var(--pp-red);
    box-shadow: 0 4px 18px rgba(7, 26, 51, 0.22);
}

.site-header__top {
    width: min(calc(100% - 32px), var(--pp-content));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.site-brand:hover {
    color: #fff;
}

.site-brand__mark {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.2));
}

.site-brand__name {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.45rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.045em;
    line-height: 0.95;
    text-transform: uppercase;
}

.site-brand__season {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-account {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.site-account__welcome {
    text-align: right;
    line-height: 1.2;
}

.site-account__identity {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 7px;
}

.site-account__settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.site-account__settings:hover,
.site-account__settings:focus-visible {
    background: #fff;
    color: #17375e;
    outline: none;
}

.site-account__eyebrow {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-account__name {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.site-header__bar {
    background: var(--pp-navy);
}

.site-header__bar-inner {
    width: min(calc(100% - 32px), var(--pp-content));
    min-height: 58px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
}

.primary-nav {
    min-width: 0;
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: thin;
}

.primary-nav__link {
    position: relative;
    min-height: 58px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-decoration: none;
    text-transform: uppercase;
}

.primary-nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.primary-nav__link.is-active {
    color: #fff;
}

.primary-nav__link.is-active::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--pp-red);
}

.login-form,
.logout-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.login-form input {
    width: 116px;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.login-form input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.button,
button,
input[type="submit"],
input[type="reset"] {
    min-height: 40px;
    padding: 9px 16px;
    border: 0;
    border-radius: 7px;
    background: var(--pp-red);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 120ms ease, background 120ms ease,
        box-shadow 120ms ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background: var(--pp-red-dark);
    color: #fff;
    box-shadow: 0 5px 14px rgba(200, 16, 46, 0.24);
    transform: translateY(-1px);
}

.button--nav,
.login-form button,
.logout-form button {
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: transparent;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.button--nav:hover,
.login-form button:hover,
.logout-form button:hover {
    background: #fff;
    color: var(--pp-navy);
}

.card {
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    background: var(--pp-surface);
    box-shadow: var(--pp-shadow);
    overflow: hidden;
}

.card__header {
    padding: 13px 18px;
    background: var(--pp-navy);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.card__body {
    padding: 20px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.table-scroll {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    background: var(--pp-surface);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pp-surface);
}

.data-table th,
.data-table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--pp-border);
    text-align: left;
    white-space: nowrap;
}

.data-table th {
    background: var(--pp-navy);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.data-table tbody tr:nth-child(even) {
    background: var(--pp-surface-alt);
}

.data-table tbody tr:hover {
    background: #fff5f6;
}

input,
select,
textarea {
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #b9c4d2;
    border-radius: 7px;
    background: #fff;
    color: var(--pp-text);
    font: inherit;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(23, 105, 170, 0.3);
    outline-offset: 2px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 6px;
}

.form-field label,
label.form-field {
    color: var(--pp-navy);
    font-weight: 800;
}

.notice {
    padding: 13px 16px;
    border-left: 5px solid var(--pp-blue);
    border-radius: 8px;
    background: #eaf4fc;
}

.notice--success {
    border-color: var(--pp-success);
    background: #eaf7f0;
}

.notice--danger {
    border-color: var(--pp-danger);
    background: #fff0ef;
}

/* Homepage */
.home-hero {
    position: relative;
    isolation: isolate;
    margin-bottom: 28px;
    padding: clamp(30px, 6vw, 64px);
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 18%, rgba(244, 185, 66, 0.24), transparent 24%),
        linear-gradient(125deg, var(--pp-navy), var(--pp-navy-soft));
    box-shadow: var(--pp-shadow);
    color: #fff;
}

.home-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -80px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border: 38px solid rgba(255, 255, 255, 0.055);
    border-radius: 50%;
}

.home-hero__eyebrow {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--pp-gold);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
}

.home-hero__summary {
    max-width: 660px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.section-heading {
    margin: 0 0 14px;
}

.home-actions {
    margin-bottom: 28px;
}

.home-dashboard-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.home-dashboard-card .card__body {
    min-height: 220px;
    padding: 26px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.home-dashboard-card__label {
    color: var(--pp-red);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-dashboard-card h2 {
    margin: 0 0 8px;
}

.home-dashboard-card__label + h2 {
    margin-top: 12px;
}

.home-dashboard-card p {
    margin: 0;
    color: var(--pp-muted);
}

.home-dashboard-card__actions {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-dashboard-card__actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-panel h2 {
    margin-top: 0;
}

.home-panel p:last-child {
    margin-bottom: 0;
}

.home-link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-link-list li + li {
    margin-top: 10px;
}

/* Submit picks */
.page-intro {
    margin-bottom: 24px;
}

.page-intro__eyebrow {
    margin: 0 0 6px;
    color: var(--pp-red);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-intro h1 {
    margin: 0;
}

.page-intro > p:last-child {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--pp-muted);
    font-size: 1.05rem;
}

.week-select-form {
    max-width: 960px;
}

.week-section + .week-section {
    margin-top: 20px;
}

.week-selector {
    display: grid;
    grid-template-columns: repeat(6, minmax(92px, 1fr));
    gap: 10px;
}

.week-selector--playoffs {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.week-option {
    position: relative;
    min-height: 116px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pp-border);
    border-radius: 10px;
    background: var(--pp-surface);
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease,
        box-shadow 120ms ease, transform 120ms ease;
}

.week-option:hover {
    border-color: rgba(200, 16, 46, 0.5);
    transform: translateY(-1px);
}

.week-option:has(input:checked) {
    border-color: var(--pp-red);
    background: #fff4f5;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.week-option:focus-within {
    outline: 3px solid rgba(23, 105, 170, 0.3);
    outline-offset: 2px;
}

.week-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.week-option__content {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
}

.login-form__remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.72rem;
    line-height: 1.15;
    cursor: pointer;
}

.login-form__password-group {
    width: 100px;
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.login-form .login-form__remember input {
    width: 16px;
    min-height: 16px;
    margin: 0;
    accent-color: var(--pp-red);
}

.login-form__remember span {
    min-width: 0;
}

.week-option__week {
    color: var(--pp-navy);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.scores-intro__active-period {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.live-status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--pp-gold);
    color: var(--pp-navy);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.period-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 7px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.period-status--in-progress {
    border-color: #9a6b00;
    background: #ffd84d;
    color: #332300;
}

.period-status--completed {
    border-color: #176b38;
    background: #2e9d57;
    color: #ffffff;
}

.period-status--season-completed {
    border-color: #9a6b00;
    background: var(--pp-gold);
    color: var(--pp-navy);
}

.week-option__date {
    color: var(--pp-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-transform: uppercase;
}

.week-option__event,
.week-option__status:not(:empty) {
    color: var(--pp-muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
}

.week-option--playoff:has(input:checked) {
    border-color: var(--pp-gold);
    background: #fff9e9;
    box-shadow: 0 0 0 3px rgba(244, 185, 66, 0.18);
}

.form-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-actions form {
    margin: 0;
}

.button--muted,
button.button--muted {
    border: 1px solid var(--pp-border);
    background: var(--pp-surface);
    color: var(--pp-navy);
}

.button--muted:hover,
button.button--muted:hover {
    background: var(--pp-surface-alt);
    color: var(--pp-navy);
    box-shadow: none;
}

.pick-page-intro {
    padding-right: 160px;
    background: linear-gradient(90deg, transparent, rgba(244, 185, 66, 0.08));
}

.admin-pick-user {
    max-width: 520px;
    margin-bottom: 22px;
}

.pick-slate {
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    background: var(--pp-surface);
    box-shadow: 0 6px 20px rgba(7, 26, 51, 0.07);
}

.pick-slate__header {
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--pp-navy);
    color: #fff;
}

.pick-slate__header span {
    font-weight: 800;
}

.pick-slate__kickoff {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.pick-slate__lock {
    flex: 0 0 auto;
    font-size: 0.88em;
    line-height: 1;
}

.pick-slate__header strong {
    color: var(--pp-gold);
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: none;
}

.pick-games {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pick-game {
    min-width: 0;
    margin: 0;
    padding: 18px;
    border: 0;
    border-right: 1px solid var(--pp-border);
    border-bottom: 1px solid var(--pp-border);
}

.pick-game:nth-child(even) {
    border-right: 0;
}

.pick-game legend {
    width: 100%;
    padding: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--pp-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pick-game__status {
    padding: 3px 7px;
    border-radius: 999px;
    background: #eceff3;
    color: var(--pp-muted);
}

.team-choice-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
}

.pick-game__entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 14px;
    align-items: stretch;
}

.team-choice {
    position: relative;
    display: block;
    cursor: pointer;
}

.team-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.team-choice__content {
    position: relative;
    min-height: 58px;
    padding: 11px 18px 11px 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 2px solid var(--pp-border);
    border-radius: 9px;
    background: var(--pp-surface);
    text-align: left;
    transition: border-color 120ms ease, background 120ms ease,
        box-shadow 120ms ease;
}

.team-choice__content--accent::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 9px;
    width: 5px;
    height: 34px;
    border-radius: 3px;
    background: var(--team-color);
    transform: translateY(-50%);
}

.team-choice:hover .team-choice__content {
    border-color: rgba(23, 105, 170, 0.46);
}

.team-choice input:checked + .team-choice__content {
    border-color: var(--pp-red);
    background: #fff4f5;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.team-choice input:focus-visible + .team-choice__content {
    outline: 3px solid rgba(23, 105, 170, 0.3);
    outline-offset: 2px;
}

.team-choice__content strong {
    color: var(--pp-navy);
    font-size: 1rem;
}

.team-choice__record {
    flex: 0 0 auto;
    color: var(--pp-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.margin-field {
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-left: 1px solid var(--pp-border);
    color: var(--pp-navy);
    font-weight: 800;
    text-align: center;
}

.margin-field input {
    width: 76px;
    text-align: center;
}

.margin-field small {
    color: var(--pp-muted);
    font-weight: 600;
}

.pick-game.is-locked {
    background: var(--pp-surface-alt);
}

.locked-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    color: var(--pp-navy);
    font-weight: 800;
    text-align: center;
}

.locked-matchup strong {
    color: var(--pp-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.locked-pick {
    margin: 14px 0 0;
    color: var(--pp-muted);
    text-align: center;
}

.locked-pick strong {
    color: var(--pp-navy);
}

.pick-form-actions {
    position: sticky;
    z-index: 10;
    bottom: 12px;
    margin-top: 22px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(7, 26, 51, 0.16);
    backdrop-filter: blur(8px);
}

.pick-form-actions p {
    margin: 0;
    color: var(--pp-muted);
}

.pick-form-actions > div {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

/* View personal picks */
.page-intro--view-picks .page-intro__eyebrow {
    font-size: 1.05rem;
    letter-spacing: 0.07em;
}

.page-intro--view-picks h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.view-picks-table-wrap {
    box-shadow: 0 6px 20px rgba(7, 26, 51, 0.07);
}

.view-picks-table {
    min-width: 600px;
}

.view-picks-table thead th {
    font-size: 0.82rem;
    font-weight: 900;
}

.view-picks-table th:first-child,
.view-picks-table td:first-child {
    width: 90px;
    text-align: center;
}

.view-picks-table th:last-child,
.view-picks-table td:last-child {
    width: 240px;
}

.view-picks-table__game {
    color: var(--pp-navy);
    font-weight: 900;
}

.view-picks-table__matchup {
    display: grid;
    gap: 7px;
    color: var(--pp-navy);
    font-weight: 800;
}

.view-picks-team {
    position: relative;
    min-height: 28px;
    padding-left: 14px;
    display: flex;
    align-items: center;
}

.view-picks-team::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: var(--team-color);
    transform: translateY(-50%);
}

.view-picks-table__selection {
    border-left: 4px solid var(--team-color);
    background: #fff9f9;
}

.view-picks-table__selection strong {
    color: var(--pp-navy);
}

.view-picks-table__selection span {
    margin-left: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #ffe5e8;
    color: var(--pp-red);
    font-size: 0.82rem;
    font-weight: 900;
}

/* Pick confirmation */
.confirm-review-notice {
    margin-bottom: 22px;
    border-color: var(--pp-red);
    background: #fff0f2;
}

.confirm-review-notice strong {
    color: var(--pp-red-dark);
}

.confirm-success {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
}

.confirm-success strong {
    color: var(--pp-success);
}

.confirmation-picks-table th:last-child,
.confirmation-picks-table td:last-child {
    width: 260px;
}

.confirm-actions {
    margin-top: 26px;
}

/* Score pages */
.season-select-form {
    max-width: 760px;
}

.season-select-card + .season-select-card {
    margin-top: 18px;
}

.season-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 160px));
    justify-content: center;
    gap: 12px;
}

.season-option {
    position: relative;
    min-height: 100px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pp-border);
    border-radius: 10px;
    background: var(--pp-surface);
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease,
        box-shadow 120ms ease, transform 120ms ease;
}

.season-option:hover {
    border-color: rgba(200, 16, 46, 0.5);
    transform: translateY(-1px);
}

.season-option:has(input:checked) {
    border-color: var(--pp-red);
    background: #fff4f5;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.season-option:focus-within {
    outline: 3px solid rgba(23, 105, 170, 0.3);
    outline-offset: 2px;
}

.season-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.season-option__year {
    color: var(--pp-navy);
    font-size: 1.5rem;
    font-weight: 900;
}

.season-option__status {
    min-height: 20px;
    margin-top: 10px;
    padding: 3px 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #176b38;
    border-radius: 999px;
    background: #2e9d57;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.season-option--history {
    min-height: 82px;
}

.season-selector--current {
    grid-template-columns: minmax(130px, 160px);
}

.score-metrics {
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.score-metrics--season {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.score-metrics--weekly {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.score-metric {
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--pp-border);
    border-radius: 10px;
    background: var(--pp-surface);
    box-shadow: 0 5px 16px rgba(7, 26, 51, 0.06);
}

.score-metric span {
    display: block;
    color: var(--pp-muted);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.score-metric strong {
    margin-top: 5px;
    display: block;
    overflow: hidden;
    color: var(--pp-navy);
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-metric--primary {
    border-color: var(--pp-navy);
    background: var(--pp-navy);
}

.score-metric--primary span {
    color: rgba(255, 255, 255, 0.72);
}

.score-metric--primary strong {
    color: #fff;
}

.score-metric--in-progress {
    border-color: #d6a800;
    background: #fff8df;
}

.score-metric--in-progress strong {
    color: #8a6500;
}

.score-metric--completed {
    border-color: var(--pp-success);
    background: #effaf4;
}

.score-metric--completed strong {
    color: var(--pp-success);
}

.score-metric--remaining {
    border-color: #8fa8bd;
    background: #edf3f7;
}

.score-metric--remaining strong {
    color: #36556f;
}

.score-metric--total {
    border-color: var(--pp-navy);
}

.season-leaderboard {
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(7, 26, 51, 0.07);
}

.season-leaderboard .table-scroll {
    border: 0;
    border-radius: 0;
}

.season-leaderboard-table {
    width: 100%;
    min-width: 680px;
}

.season-leaderboard-table th,
.season-leaderboard-table td {
    text-align: center;
    white-space: nowrap;
}

.season-leaderboard-table__rank {
    width: 72px;
    font-weight: 900;
}

.season-leaderboard-table__player {
    min-width: 180px;
    text-align: left !important;
}

.season-leaderboard-table tbody th.season-leaderboard-table__player,
.player-season-summary-table tbody th {
    background: var(--pp-surface);
    color: var(--pp-navy);
    font-size: 1rem;
    letter-spacing: normal;
    text-transform: none;
}

.season-leaderboard-table__player-name {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    vertical-align: middle;
}

.season-leaderboard-table__mascot {
    width: 32px;
    height: 32px;
    margin-left: 7px;
    object-fit: contain;
    vertical-align: middle;
}

.season-leaderboard-table tbody tr:nth-child(even)
    th.season-leaderboard-table__player,
.player-season-summary-table tbody tr:nth-child(even) th {
    background: var(--pp-surface-alt);
}

.season-leaderboard-table tbody tr:hover
    th.season-leaderboard-table__player,
.player-season-summary-table tbody tr:hover th {
    background: #fff5f6;
}

.season-leaderboard-table tbody tr.season-leaderboard-table__leader
    th.season-leaderboard-table__player {
    background: #fff8df;
}

.season-leaderboard-table__player a {
    color: var(--pp-navy);
    font-weight: 900;
    text-underline-offset: 3px;
}

.season-leaderboard-table__player a:visited {
    color: var(--pp-navy);
}

.season-leaderboard-table__score {
    color: var(--pp-navy);
    font-size: 1.05rem;
    font-weight: 900;
}

.season-leaderboard-table__leader {
    background: #fff8df !important;
}

.season-score-wrap,
.score-breakdown-wrap {
    box-shadow: 0 6px 20px rgba(7, 26, 51, 0.07);
}

.season-score-table {
    width: max-content;
    min-width: 100%;
}

.season-score-table th,
.season-score-table td {
    text-align: center;
}

.season-score-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.season-score-table thead a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.45);
}

.season-score-table__player {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 145px;
    text-align: left !important;
    background: var(--pp-surface);
    box-shadow: 1px 0 0 var(--pp-border);
}

.season-score-table thead .season-score-table__player {
    z-index: 3;
    background: var(--pp-navy);
}

.season-score-table tbody tr:nth-child(even) .season-score-table__player {
    background: var(--pp-surface-alt);
}

.season-score-table tbody tr.season-leader,
.season-score-table tbody tr.season-leader .season-score-table__player {
    background: #fff8df;
}

.leader-badge {
    margin-left: 6px;
    padding: 3px 6px;
    border-radius: 999px;
    background: var(--pp-gold);
    color: var(--pp-navy);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.season-week-score {
    min-width: 84px;
}

.score-chip {
    min-width: 54px;
    padding: 5px 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--pp-blue);
    font-weight: 800;
    text-decoration: none;
}

.score-chip:hover {
    background: #eaf4fc;
}

.score-chip.is-week-winner {
    background: #fff0f2;
    color: var(--pp-red);
    box-shadow: inset 0 0 0 1px rgba(200, 16, 46, 0.2);
}

.season-total,
.stat-best {
    color: var(--pp-red-dark);
    font-weight: 900;
}

.score-breakdown-table {
    min-width: 760px;
}

.score-breakdown-table__game {
    width: 80px;
    color: var(--pp-navy);
    font-weight: 900;
    text-align: center !important;
}

.score-breakdown-table__matchup {
    min-width: 220px;
    color: var(--pp-navy);
    font-weight: 800;
}

.score-breakdown-matchup {
    position: relative;
    display: grid;
    gap: 7px;
}

.score-breakdown-team {
    position: relative;
    min-height: 28px;
    padding-left: 14px;
    display: flex;
    align-items: center;
}

.score-breakdown-team::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: var(--team-color);
    transform: translateY(-50%);
}

.score-value {
    width: 100px;
    color: var(--pp-navy);
    font-weight: 900;
    text-align: center !important;
}

.score-value--positive {
    color: var(--pp-success);
    background: #effaf4;
}

.score-value--negative {
    color: var(--pp-danger);
    background: #fff0ef;
}

.score-value--positive a,
.score-value--positive strong {
    color: var(--pp-success) !important;
}

.score-value--negative a,
.score-value--negative strong {
    color: var(--pp-danger) !important;
}

.score-value--projected,
.score-value--projected a,
.score-value--projected strong {
    color: #8a6500 !important;
    font-style: italic;
}

.score-value--projected {
    background: #fff8df;
}

.score-empty {
    color: var(--pp-muted);
    font-style: italic;
}

.score-breakdown-table__result .live-status-badge {
    white-space: nowrap;
    margin-left: 8px;
}

.score-page-actions {
    margin-top: 26px;
}

/* Spreadsheet-style season scoring grid. */
.score-grid-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.score-grid-table th,
.score-grid-table td {
    min-width: 64px;
    padding: 10px 12px;
    text-align: center;
    color: var(--pp-navy);
}

.score-grid-table thead th {
    background: var(--pp-navy);
    color: #fff;
}

.score-grid-table thead tr:nth-child(2) th {
    padding-top: 7px;
    padding-bottom: 7px;
    background: #1d3557;
    font-size: 0.72rem;
}

.score-grid-table__week {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 132px !important;
    background: #f7f9fc;
    box-shadow: 1px 0 0 var(--pp-border);
    text-align: left !important;
}

.score-grid-table thead .score-grid-table__week {
    z-index: 4;
    background: var(--pp-navy);
    color: #fff;
}

.score-grid-table tbody tr:nth-child(odd) {
    background: var(--pp-surface);
}

.score-grid-table tbody tr:nth-child(even) {
    background: var(--pp-surface-alt);
}

.score-grid-table__player,
.score-grid-table__group-end {
    border-right: 2px solid #bdc9d8 !important;
}

.score-grid-table__player {
    background: var(--pp-navy);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

.score-grid-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 54px;
    padding: 4px 7px;
    border-radius: 5px;
    color: var(--pp-blue);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: rgba(0, 83, 155, 0.35);
    text-underline-offset: 2px;
}

.score-grid-score:hover {
    background: #dcecff;
}

.score-grid-table tfoot .score-grid-table__season-total th,
.score-grid-table tfoot .score-grid-table__season-total td {
    background: var(--pp-navy);
    color: #fff;
    font-weight: 900;
}

.score-grid-table__total {
    color: #fff !important;
}

.score-grid-table--compact th,
.score-grid-table--compact td {
    min-width: 54px;
    padding: 8px 9px;
    font-size: 0.78rem;
}

.score-grid-table--compact .score-grid-table__week {
    min-width: 112px !important;
}

.score-grid-table--compact .score-grid-table__player {
    font-size: 0.82rem;
}

.score-grid-score__trophy {
    font-size: 0.8rem;
    line-height: 1;
    text-decoration: none;
}

.score-grid-score.score-value--projected {
    background: transparent;
}

/* Players x competition-period score history. */
.score-grid-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    white-space: nowrap;
}

.score-grid-table__player {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 1%;
    min-width: 8rem !important;
    max-width: min(18rem, 42vw);
    padding-right: 14px !important;
    padding-left: 14px !important;
    overflow: hidden;
    text-align: left !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 1px 0 0 var(--pp-border);
}

.score-grid-table tbody .score-grid-table__player {
    background: inherit;
    color: var(--pp-navy);
}

.score-grid-table__player-name {
    vertical-align: middle;
}

.score-grid-table__mascot {
    width: 24px;
    height: 24px;
    margin-left: 6px;
    object-fit: contain;
    vertical-align: middle;
}

.score-grid-table tbody tr.score-grid-table__leader,
.score-grid-table tbody tr.score-grid-table__leader .score-grid-table__player,
.score-grid-table tbody tr.score-grid-table__leader .score-grid-table__total {
    background: #fff8df;
}

.score-grid-table tbody tr:nth-child(even) .score-grid-table__player {
    background: inherit;
}

.score-grid-table tbody tr:hover .score-grid-table__player {
    background: inherit;
}

.score-grid-table thead .score-grid-table__player {
    z-index: 5;
    text-align: center !important;
    text-transform: uppercase;
}

.score-grid-table__period {
    min-width: 58px;
    font-variant-numeric: tabular-nums;
}

.score-grid-table__period.is-active-period {
    box-shadow: inset 0 -4px 0 var(--pp-gold);
}

.score-grid-table__live {
    display: block;
    margin-top: 2px;
    color: var(--pp-gold);
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.score-grid-table__score,
.score-grid-table__total {
    font-variant-numeric: tabular-nums;
    text-align: center !important;
}

.score-grid-table tbody .score-grid-table__total {
    border-left: 2px solid #bdc9d8;
    background: inherit;
    color: var(--pp-navy) !important;
    font-weight: 900;
}

.score-grid-table__missing {
    color: var(--pp-muted);
}

.season-stats-wrap {
    box-shadow: 0 6px 20px rgba(7, 26, 51, 0.07);
}

.season-stats-table {
    width: max-content;
    min-width: 100%;
}

.season-stats-table th,
.season-stats-table td {
    min-width: 92px;
    text-align: center;
    color: var(--pp-navy);
}

.season-stats-table thead th {
    color: #fff;
    white-space: nowrap;
}

.season-stats-table__player {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 135px !important;
    text-align: left !important;
    background: #fff;
    box-shadow: 1px 0 0 var(--pp-border);
}

.season-stats-table tbody th.season-stats-table__player {
    background: #fff;
    color: var(--pp-navy);
    font-size: 1rem;
}

.season-stats-table thead .season-stats-table__player {
    z-index: 4;
    background: var(--pp-navy);
    color: #fff;
}

.season-stats-table tbody tr:nth-child(even) th.season-stats-table__player {
    background: var(--pp-surface-alt);
    color: var(--pp-navy);
}

.season-stats-table tbody tr:hover th.season-stats-table__player {
    background: #fff7dc;
    color: var(--pp-navy);
}

.season-stats-table td.stat-highlight--best {
    background: #8bcf57;
    color: #102a13;
    font-weight: 900;
}

.season-stats-table td.stat-highlight--worst {
    background: #ef6b73;
    color: #4d0710;
    font-weight: 900;
}

.stats-key {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.stats-key span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.stats-key i {
    width: 14px;
    height: 14px;
    display: inline-block;
    border-radius: 3px;
}

.stats-key__best {
    background: #8bcf57;
}

.stats-key__worst {
    background: #ef6b73;
}

/* What's New */
.whats-new-intro,
.about-intro {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.whats-new-summary {
    margin-bottom: 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.whats-new-summary article {
    padding: 18px 20px;
    border: 1px solid var(--pp-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(7, 26, 51, 0.06);
}

.whats-new-summary span {
    display: block;
    color: var(--pp-text-muted);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.whats-new-summary strong {
    margin-top: 5px;
    display: block;
    color: var(--pp-navy);
    font-size: clamp(1.2rem, 3vw, 1.75rem);
}

.update-timeline {
    position: relative;
    display: grid;
    gap: 20px;
}

.update-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 179px;
    width: 2px;
    background: var(--pp-border);
}

.update-entry {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

.update-entry__marker {
    position: absolute;
    top: 24px;
    left: 173px;
    z-index: 2;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--pp-blue);
    box-shadow: 0 0 0 2px var(--pp-border);
}

.update-entry__date {
    padding-top: 20px;
    display: grid;
    justify-items: end;
    gap: 7px;
    text-align: right;
}

.update-entry__date time {
    color: var(--pp-text-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.update-entry__date span {
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--pp-red);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.update-entry__card .card__body {
    padding: 21px 24px;
}

.update-entry__card h2 {
    margin: 0 0 10px;
    color: var(--pp-navy);
    font-size: 1.25rem;
}

.season-leaderboard-table__score a,
.player-season-summary-table tbody a {
    color: var(--pp-navy);
    font-weight: 900;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.season-leaderboard-table__score a:visited,
.player-season-summary-table tbody a:visited {
    color: var(--pp-navy);
}

.season-leaderboard-table__score a:hover,
.player-season-summary-table tbody a:hover {
    color: var(--pp-red-dark);
}

.player-season-summary-table__total {
    background: var(--pp-navy);
}

.player-season-summary-table__total th,
.player-season-summary-table__total td {
    color: #fff;
    font-weight: 900;
}

.update-entry__card p {
    margin: 0 0 10px;
    color: var(--pp-text-muted);
    line-height: 1.5;
}

.update-entry__card ul {
    margin: 0;
    padding-left: 19px;
    color: var(--pp-text-muted);
}

.update-entry__card li {
    margin: 5px 0;
    line-height: 1.5;
}

.update-entry--featured .update-entry__marker {
    background: var(--pp-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.2);
}

.update-entry--featured .update-entry__card {
    border-color: rgba(200, 16, 46, 0.35);
    box-shadow: 0 10px 28px rgba(7, 26, 51, 0.12);
}

.whats-new-footer-card {
    margin-top: 38px;
    padding: clamp(24px, 4vw, 38px);
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    border-radius: var(--pp-radius);
    background: var(--pp-navy);
    box-shadow: var(--pp-shadow);
}

.whats-new-footer-card h2 {
    margin: 5px 0 9px;
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.whats-new-footer-card p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.whats-new-footer-card .button {
    flex: 0 0 auto;
}

/* About */
.about-history {
    margin-bottom: 42px;
    border-left: 6px solid var(--pp-red);
}

.about-history .card__body {
    padding: clamp(24px, 4vw, 38px);
}

.about-history h2,
.about-section-heading h2,
.scoring-example h2,
.about-finish h2 {
    margin: 5px 0 12px;
    color: var(--pp-navy);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.about-history p {
    max-width: 900px;
    line-height: 1.7;
}

.about-section {
    margin: 42px 0;
}

.about-section-label {
    color: var(--pp-red);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-section-heading {
    max-width: 790px;
    margin-bottom: 20px;
}

.about-section-heading p,
.scoring-example__intro p,
.about-finish p {
    color: var(--pp-text-muted);
    line-height: 1.65;
}

.about-rule-card {
    height: 100%;
}

.about-rule-card .card__body {
    height: 100%;
    padding: 24px;
}

.about-rule-card__icon {
    width: 38px;
    height: 38px;
    display: block;
    fill: none;
    stroke: var(--pp-red);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-rule-card h3 {
    margin: 17px 0 8px;
    color: var(--pp-navy);
}

.about-rule-card p {
    margin-bottom: 0;
    color: var(--pp-text-muted);
    line-height: 1.55;
}

.scoring-example {
    margin: 42px 0;
}

.scoring-example .card__body {
    padding: clamp(20px, 3vw, 30px);
}

.scoring-example__intro {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 24px;
    align-items: end;
}

.scoring-example__intro p {
    margin: 0;
}

.scoring-example-table__score {
    color: var(--pp-success-dark, #176b3a);
    font-weight: 900;
}

.scoring-example-table__score.is-negative {
    color: var(--pp-red-dark);
}

.playoff-points {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    background: #fff;
    box-shadow: var(--pp-shadow);
    overflow: hidden;
}

.playoff-points article {
    padding: 22px 14px;
    display: grid;
    justify-items: center;
    border-right: 1px solid var(--pp-border);
    text-align: center;
}

.playoff-points article:last-child {
    border-right: 0;
}

.playoff-points span {
    min-height: 34px;
    color: var(--pp-text-muted);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.playoff-points strong {
    color: var(--pp-navy);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.playoff-points small {
    color: var(--pp-text-muted);
}

.playoff-points__final {
    background: var(--pp-navy);
}

.playoff-points__final span,
.playoff-points__final strong,
.playoff-points__final small {
    color: #fff;
}

.about-finish {
    margin-top: 42px;
    padding: clamp(24px, 4vw, 38px);
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    border-radius: var(--pp-radius);
    background: var(--pp-navy);
    box-shadow: var(--pp-shadow);
}

.about-finish h2,
.about-finish p {
    color: #fff;
}

.about-finish p {
    max-width: 760px;
    margin-bottom: 0;
}

.about-finish .button {
    flex: 0 0 auto;
}

/* Registration */
.registration-intro {
    max-width: 760px;
}

.registration-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.75fr);
    gap: 20px;
    align-items: start;
}

.registration-card .card__body,
.registration-help .card__body {
    padding: clamp(20px, 3vw, 28px);
}

.registration-form-grid {
    gap: 20px;
}

.registration-form-grid .form-field {
    align-self: start;
    align-content: start;
}

.registration-userid-field {
    grid-column: 1 / -1;
}

.registration-form-grid input {
    width: 100%;
    height: 44px;
    min-height: 44px;
    box-sizing: border-box;
}

.registration-password-field {
    position: relative;
    display: block;
}

.registration-form-grid .registration-password-field input {
    padding-right: 48px;
}

.registration-password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 6px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--pp-muted);
    transform: translateY(-50%);
}

.registration-password-toggle:hover,
.registration-password-toggle:focus-visible {
    background: #edf1f5;
    color: var(--pp-navy);
    box-shadow: none;
    transform: translateY(-50%);
}

.registration-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.registration-password-toggle[aria-pressed="true"] .login-password-toggle__show {
    display: none;
}

.registration-password-toggle[aria-pressed="true"] .login-password-toggle__hide {
    display: block;
}

.registration-form-grid .form-field span {
    color: var(--pp-navy);
    font-weight: 900;
}

.registration-form-grid .form-field small {
    color: var(--pp-text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
}

.registration-actions {
    margin-top: 26px;
}

.registration-steps {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 22px;
    list-style: none;
    counter-reset: registration-step;
}

.registration-steps li {
    position: relative;
    min-height: 42px;
    padding-left: 52px;
    display: grid;
    gap: 3px;
    counter-increment: registration-step;
}

.registration-steps li::before {
    content: counter(registration-step);
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pp-red);
    color: #fff;
    font-weight: 900;
}

.registration-steps strong {
    color: var(--pp-navy);
}

.registration-steps span {
    color: var(--pp-text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.registration-help__link {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--pp-border);
}

.registration-success-notice,
.registration-summary {
    max-width: 760px;
}

.registration-success-notice {
    margin-bottom: 18px;
}

.account-summary-list {
    margin: 0;
    display: grid;
}

.account-summary-list div {
    padding: 13px 0;
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 18px;
    border-bottom: 1px solid var(--pp-border);
}

.account-summary-list div:first-child {
    padding-top: 0;
}

.account-summary-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.account-summary-list dt {
    color: var(--pp-text-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.account-summary-list dd {
    margin: 0;
    color: var(--pp-navy);
    font-weight: 800;
    overflow-wrap: anywhere;
}

/* Administration */
.admin-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.admin-heading {
    margin-top: 0;
    color: var(--pp-navy);
}

.admin-card {
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    background: var(--pp-surface);
    box-shadow: var(--pp-shadow);
}

.admin-card h2 {
    margin-top: 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.admin-container label {
    display: grid;
    gap: 5px;
    color: var(--pp-navy);
    font-weight: 800;
}

.admin-container button:not(.danger-button) {
    background: var(--pp-navy);
}

.admin-container button:not(.danger-button):hover {
    background: var(--pp-navy-soft);
    box-shadow: 0 5px 14px rgba(7, 26, 51, 0.24);
}

.admin-container .danger-button {
    background: var(--pp-danger);
}

.admin-container .danger-button:hover {
    background: #8f1d16;
}

.admin-container .message,
.admin-container .error {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 8px;
}

.admin-container .message {
    border: 1px solid #a6d8af;
    background: #e9f7ec;
    color: var(--pp-success);
}

.admin-container .error {
    border: 1px solid #e7a5a5;
    background: #fdeaea;
    color: var(--pp-danger);
}

.user-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--pp-border);
    border-radius: 8px;
}

.admin-container table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pp-surface);
}

.admin-container th,
.admin-container td {
    padding: 10px;
    border-bottom: 1px solid var(--pp-border);
    text-align: left;
}

.admin-container th {
    background: var(--pp-navy);
    color: #fff;
}

.admin-container .inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.admin-container .inline-form label {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}

.admin-flag {
    color: var(--pp-danger);
    font-weight: 800;
}

.admin-intro {
    max-width: 820px;
}

.admin-notice {
    margin-bottom: 18px;
}

.admin-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-section {
    margin: 42px 0;
}

.admin-section__heading {
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
}

.admin-section__heading h2 {
    margin: 5px 0 0;
    color: var(--pp-navy);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.admin-section__heading p {
    max-width: 520px;
    margin: 0;
    color: var(--pp-text-muted);
    line-height: 1.55;
}

.admin-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.admin-quick-actions--configuration {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
}

.admin-action-card {
    height: 100%;
}

.admin-action-card .card__body {
    height: 100%;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.admin-action-card .card__body > span:first-child {
    color: var(--pp-red);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.admin-action-card h3 {
    margin: 10px 0 8px;
    color: var(--pp-navy);
}

.admin-action-card p {
    margin: 0 0 20px;
    flex: 1 1 auto;
    color: var(--pp-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.admin-action-card form {
    margin-top: auto;
}

.admin-action-card__status {
    margin-top: auto;
    padding: 7px 10px;
    border-radius: 6px;
    background: var(--pp-surface-alt);
    color: var(--pp-navy) !important;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-tool-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: start;
}

.admin-tool-card .card__body {
    padding: 24px;
}

.admin-tool-card__description {
    margin: 0 0 19px;
    color: var(--pp-text-muted);
    line-height: 1.5;
}

.admin-form-grid {
    display: grid;
    gap: 15px;
}

.admin-create-user-grid {
    gap: 15px;
}

.admin-tool-card input,
.admin-tool-card select {
    width: 100%;
    box-sizing: border-box;
}

.admin-form-actions {
    margin-top: 20px;
}

.admin-players-card {
    margin-top: 42px;
}

.admin-players-card > .card__body {
    padding: 22px;
}

.admin-players-heading {
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.admin-players-heading h2 {
    margin: 0 0 4px;
    color: var(--pp-navy);
}

.admin-players-heading p {
    margin: 0;
    color: var(--pp-text-muted);
}

.admin-players-heading > span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--pp-surface-alt);
    color: var(--pp-navy);
    font-size: 0.75rem;
    font-weight: 900;
    white-space: nowrap;
}

.admin-user-table {
    width: max-content !important;
    min-width: 100%;
}

.admin-user-table th,
.admin-user-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.admin-user-table tbody th.admin-user-table__userid {
    background: #fff;
    color: var(--pp-navy);
    font-size: 0.88rem;
    letter-spacing: 0;
    text-transform: none;
}

.admin-user-table tbody tr:nth-child(even) th.admin-user-table__userid {
    background: var(--pp-surface-alt);
}

.admin-role-badge {
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff0f2;
    color: var(--pp-red-dark);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-role-badge--player {
    background: #eaf4fc;
    color: var(--pp-blue);
}

.admin-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.admin-user-actions select {
    min-height: 36px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.admin-container .button--small {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.76rem;
}

.site-footer {
    margin-top: 48px;
    padding: 28px 16px;
    background: var(--pp-navy);
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.site-footer a {
    color: #fff;
}

/* Weekly picks comparison table */
.weekly-picks-metrics {
    grid-template-columns: 1.35fr repeat(2, minmax(0, 1fr));
}

.weekly-picks-wrap {
    box-shadow: 0 6px 20px rgba(7, 26, 51, 0.07);
}

.weekly-picks-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.weekly-picks-table th,
.weekly-picks-table td {
    padding: 12px 14px;
    text-align: center;
    white-space: nowrap;
}

.weekly-picks-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
}

.weekly-picks-table thead a {
    color: #fff;
    font: inherit;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 3px;
}

.weekly-picks-table__game {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 72px;
    min-width: 72px;
    background: #fff;
    color: var(--pp-navy);
    font-weight: 900;
}

.weekly-picks-table__matchup {
    position: sticky;
    left: 72px;
    z-index: 2;
    min-width: 220px;
    background: #fff;
    color: var(--pp-navy);
    box-shadow: 1px 0 0 var(--pp-border);
    text-align: left !important;
}

.weekly-picks-table tbody th.weekly-picks-table__matchup {
    background: #fff;
    color: var(--pp-navy);
    font-size: 1rem;
}

.weekly-picks-table thead .weekly-picks-table__game,
.weekly-picks-table thead .weekly-picks-table__matchup {
    z-index: 5;
    background: var(--pp-navy);
    color: #fff;
}

.weekly-picks-table tbody tr:nth-child(even) .weekly-picks-table__game,
.weekly-picks-table tbody tr:nth-child(even) .weekly-picks-table__matchup {
    background: var(--pp-surface-alt);
}

.weekly-picks-table tbody tr:hover .weekly-picks-table__game,
.weekly-picks-table tbody tr:hover .weekly-picks-table__matchup {
    background: #fff7dc;
}

.weekly-picks-table__matchup span {
    display: block;
}

.weekly-picks-table__matchup span + span {
    margin-top: 5px;
}

.weekly-picks-table__player {
    min-width: 128px;
}

.weekly-field-pick {
    display: inline-flex;
    gap: 5px;
    align-items: baseline;
    justify-content: center;
    min-width: 94px;
    padding: 6px 9px;
    border-radius: 6px;
    background: #edf4fb;
    color: var(--pp-navy);
}
/* Team colors in weekly player-pick comparison */
.weekly-picks-table__matchup .view-picks-team {
    position: relative;
    min-height: 28px;
    padding-left: 14px;
    display: flex;
    align-items: center;
}

.weekly-picks-table__matchup .view-picks-team::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background-color: var(--team-color, #667085);
    transform: translateY(-50%);
}

.weekly-field-pick {
    position: relative;
    padding-left: 17px;
    border-left: 4px solid var(--team-color, #667085);
    background:
        linear-gradient(
            90deg,
            color-mix(
                in srgb,
                var(--team-color, #667085) 12%,
                #ffffff
            ),
            #edf4fb 65%
        );
}

.weekly-field-pick strong {
    font-weight: 900;
}

.weekly-field-pick small {
    color: var(--pp-blue);
    font-size: 0.8rem;
    font-weight: 800;
}

@media (max-width: 900px) {
    .site-header__top {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .site-header__bar-inner {
        padding: 0 0 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .primary-nav {
        width: 100%;
    }

    .logout-form {
        padding: 0 8px;
    }

    .grid--3 {
        grid-template-columns: 1fr 1fr;
    }

    .week-selector {
        grid-template-columns: repeat(4, minmax(82px, 1fr));
    }

    .week-selector--playoffs {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }

    .pick-games {
        grid-template-columns: 1fr;
    }

    .score-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .score-metrics--season {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .registration-layout {
        grid-template-columns: 1fr;
    }

    .whats-new-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-tool-grid {
        grid-template-columns: 1fr;
    }

    .playoff-points {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .playoff-points article:nth-child(3) {
        border-right: 0;
    }

    .playoff-points article:nth-child(-n + 3) {
        border-bottom: 1px solid var(--pp-border);
    }

    .scoring-example__intro {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .pick-game,
    .pick-game:nth-child(even) {
        border-right: 0;
    }
}

@media (max-width: 620px) {
    .site-header__top {
        align-items: center;
    }

    .site-brand__mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .site-brand__season,
    .site-account__eyebrow {
        display: none;
    }

    .site-account__welcome {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .primary-nav__link {
        min-height: 50px;
        padding: 0 12px;
        font-size: 0.76rem;
    }

    .login-form {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr auto;
    }

    .login-form input {
        width: 100%;
        min-width: 0;
    }

    .grid--2,
    .grid--3,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .week-selector {
        grid-template-columns: repeat(3, minmax(76px, 1fr));
    }

    .week-selector--playoffs {
        grid-template-columns: 1fr 1fr;
    }

    .pick-page-intro {
        padding-right: 0;
    }

    .team-choice-grid {
        grid-template-columns: 1fr;
    }

    .pick-game__entry {
        grid-template-columns: 1fr;
    }

    .margin-field {
        padding-top: 14px;
        flex-direction: row;
        border-top: 1px solid var(--pp-border);
        border-left: 0;
    }

    .pick-form-actions {
        position: static;
        align-items: stretch;
        flex-direction: column;
    }

    .pick-form-actions > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .score-metrics,
    .score-metrics--season {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-summary-list div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .whats-new-summary {
        grid-template-columns: 1fr;
    }

    .admin-quick-actions {
        grid-template-columns: 1fr;
    }

    .admin-section__heading,
    .admin-players-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .update-timeline {
        padding-left: 22px;
    }

    .update-timeline::before {
        left: 6px;
    }

    .update-entry {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .update-entry__marker {
        top: 8px;
        left: -22px;
    }

    .update-entry__date {
        padding-top: 0;
        justify-items: start;
        text-align: left;
    }

    .whats-new-footer-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .playoff-points {
        grid-template-columns: 1fr;
    }

    .playoff-points article,
    .playoff-points article:nth-child(3) {
        border-right: 0;
        border-bottom: 1px solid var(--pp-border);
    }

    .playoff-points article:last-child {
        border-bottom: 0;
    }

    .about-finish {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* 2026 broadcast-style visual system */
:root {
    --pp-red: #d50a0a;
    --pp-red-dark: #d50a0a;
    --pp-navy: #013369;
    --pp-navy-soft: #013369;
    --pp-blue: #013369;
    --pp-bg: #e9edf2;
    --pp-surface-alt: #f3f4f6;
    --pp-border: #d8dde5;
    --pp-text: #161b25;
    --pp-muted: #5d6572;
    --pp-shadow: 0 3px 10px rgba(6, 26, 56, 0.16);
    --pp-radius: 6px;
    --pp-content: 1180px;
}

body {
    background:
        linear-gradient(180deg, #dfe4ea 0, #f5f6f8 220px) !important;
    color: var(--pp-text);
    font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
.site-brand__name,
.primary-nav__link,
.button,
button,
.card__header,
.data-table th {
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-stretch: condensed;
}

h1,
h2,
h3 {
    color: var(--pp-navy);
    font-weight: 900;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

a {
    color: #123c80;
    font-weight: 700;
}

.site-header {
    border-bottom: 4px solid var(--pp-red);
    background: var(--pp-navy);
    box-shadow: 0 3px 12px rgba(4, 17, 37, 0.35);
}

.site-header__kicker {
    min-height: 30px;
    display: flex;
    align-items: center;
    background: #d50a0a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.site-header__kicker-inner {
    width: min(calc(100% - 40px), var(--pp-content));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header__kicker-season {
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.site-header__kicker-season::before {
    content: "â–£";
    margin-right: 8px;
}

.site-header__top {
    width: min(calc(100% - 24px), 1500px);
    min-height: 108px;
    display: grid;
    grid-template-columns: 530px minmax(530px, 1fr) 206px;
    gap: 10px;
}

.site-brand {
    align-self: stretch;
    gap: 10px;
}

/* Compact homepage overview cards. */
.home-overview {
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.9fr)
        minmax(240px, 0.8fr);
    gap: 10px;
    align-items: stretch;
}

.home-overview > .card {
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-overview .home-compact-card__header {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid var(--pp-border);
    background: var(--pp-navy);
    color: #fff;
    font-size: 1.02rem;
}

.missing-picks-period {
    margin-bottom: 18px;
}

.missing-picks-period .card__body p {
    margin: 0;
    color: var(--pp-text-muted);
}

.missing-picks-metrics,
.missing-picks-card {
    margin-bottom: 18px;
}

.missing-picks-table th,
.missing-picks-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.missing-picks-status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.missing-picks-status--none {
    background: #fff0f2;
    color: var(--pp-red-dark);
}

.missing-picks-status--partial {
    background: #fff4cf;
    color: #755200;
}

.sms-enrollment-card { margin-bottom: 18px; }
.sms-enrollment-table th,
.sms-enrollment-table td { white-space: nowrap; vertical-align: middle; }
.sms-enrollment-status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sms-enrollment-status--enrolled { background: #e7f5ec; color: #176b3a; }
.sms-enrollment-status--available { background: #e8f1fb; color: #173f73; }
.sms-enrollment-status--not_provided { background: #edf0f4; color: #3f4e61; }
.sms-enrollment-status--pending { background: #fff4cf; color: #755200; }
.sms-enrollment-status--opted_out,
.sms-enrollment-status--blocked { background: #fff0f2; color: var(--pp-red-dark); }

.home-leaderboard__heading {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.home-leaderboard__population {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.home-leaderboard__live {
    flex: 0 0 auto;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.home-compact-card__header > span:first-child {
    font-size: 1.15rem;
}

#how-to-heading {
    color: #fff;
}

.home-upcoming .home-compact-card__header {
    border-bottom-color: rgba(255, 255, 255, 0.16);
    background: var(--pp-navy);
    color: #fff;
}

.home-overview .home-leaderboard__table {
    min-width: 430px;
}

.home-overview .home-leaderboard__table th,
.home-overview .home-leaderboard__table td {
    padding: 9px 10px;
    font-size: 0.9rem;
}

.home-overview .home-leaderboard__table thead th {
    border-bottom-color: #c2c9d3;
    background: #d5dae2;
    color: var(--pp-text);
    font-size: 0.95rem;
}

.home-overview .home-leaderboard__table tbody th,
.home-overview .home-leaderboard__table tbody td {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.home-overview .home-leaderboard__footer,
.home-compact-card__footer {
    margin-top: auto;
    min-height: 46px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--pp-border);
    background: #fff;
}

.home-compact-card__footer a,
.home-compact-card__footer .link-button {
    color: var(--pp-blue);
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
}

.link-button {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    text-transform: none;
}

.link-button:hover {
    color: var(--pp-red);
    background: transparent;
    box-shadow: none;
}

.home-how-to .card__body {
    flex: 1;
}

.home-how-to__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: how-to-step;
}

.home-how-to__steps li {
    position: relative;
    min-height: 42px;
    padding-left: 42px;
    counter-increment: how-to-step;
}

.home-how-to__steps li + li {
    margin-top: 14px;
}

.home-how-to__steps li::before {
    content: counter(how-to-step);
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pp-navy);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
}

.home-how-to__steps strong,
.home-how-to__steps span {
    display: block;
}

.home-how-to__steps strong {
    color: var(--pp-red);
    font-size: 0.86rem;
}

.home-how-to__steps span {
    margin-top: 2px;
    color: var(--pp-text);
    font-size: 0.78rem;
    line-height: 1.4;
}

.home-upcoming .card__body {
    flex: 1;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.home-upcoming__week {
    padding: 10px 6px;
    border: 1px solid var(--pp-border);
    border-radius: 6px;
    background: var(--pp-surface-alt);
    text-align: center;
}

.home-upcoming__week span,
.home-upcoming__week strong,
.home-upcoming__details span,
.home-upcoming__details strong,
.home-upcoming__details time {
    display: block;
}

.home-upcoming__week span,
.home-upcoming__details span {
    color: var(--pp-muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-upcoming__week strong {
    margin-top: 2px;
    color: var(--pp-navy);
    font-size: 2rem;
    line-height: 1;
}

.home-upcoming__details strong {
    margin-top: 5px;
    color: var(--pp-navy);
    font-size: 0.9rem;
    line-height: 1.3;
}

.home-upcoming__details time {
    margin-top: 7px;
    color: var(--pp-red);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.35;
}

.home-upcoming__empty {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--pp-muted);
}

.week-schedule {
    display: grid;
    gap: 14px;
}

.schedule-day {
    overflow: hidden;
}

.schedule-day > .card__header {
    border-bottom: 0;
    background: #fff;
    color: var(--pp-red);
}

.schedule-day .table-scroll {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.schedule-table {
    min-width: 560px;
}

.schedule-table__game {
    width: 76px;
    color: var(--pp-muted);
    font-size: 1rem;
    font-weight: 900;
    text-align: center !important;
}

.schedule-table__matchup {
    color: var(--pp-navy);
    font-size: 1rem;
}

.schedule-matchup-grid {
    display: grid;
    grid-template-columns: minmax(112px, 145px);
    gap: 7px;
    align-items: center;
    justify-content: start;
}

.schedule-team {
    position: relative;
    width: 145px;
    min-width: 112px;
    padding-left: 11px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    vertical-align: middle;
}

.schedule-team::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 1.35em;
    border-radius: 2px;
    background: var(--team-color);
    transform: translateY(-50%);
}

.schedule-team small {
    flex: 0 0 auto;
    color: var(--pp-muted);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

.schedule-table__time {
    width: 150px;
    color: var(--pp-navy);
    font-size: 1rem;
    font-weight: 900;
    white-space: nowrap;
}

.schedule-page-actions form {
    margin: 0;
}

@media (max-width: 1100px) {
    .home-overview {
        grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.8fr);
    }

    .home-upcoming {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .home-overview {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-upcoming {
        grid-column: auto;
    }
}

.site-header__tagline {
    width: 178px;
    flex: 0 0 178px;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    gap: 7px;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.15;
}

.site-header__tagline-row {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.site-header__tagline-row svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-brand__mark {
    width: 88px;
    height: 96px;
    flex: 0 0 88px;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.24));
}

.site-brand__name {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    white-space: nowrap;
}

.site-brand__accent {
    color: var(--pp-red);
}

.site-brand__season {
    position: relative;
    width: max-content;
    margin: 9px auto 0;
    color: #fff;
    font-size: 0.94rem;
    letter-spacing: 0.08em;
}

.site-brand__season::before,
.site-brand__season::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 28px;
    height: 3px;
    background: var(--pp-red);
}

.site-brand__season::before {
    right: calc(100% + 9px);
}

.site-brand__season::after {
    left: calc(100% + 9px);
}

.site-header__bar {
    min-width: 0;
    padding-left: 12px;
    background: transparent;
}

.site-header__bar-inner {
    width: 100%;
    min-height: 108px;
    justify-content: center;
}

.primary-nav {
    width: 100%;
    justify-content: center;
    overflow: visible;
}

.primary-nav__link {
    min-width: 75px;
    min-height: 108px;
    padding: 16px 10px 13px;
    flex: 1 1 84px;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: -0.015em;
    line-height: 1;
    white-space: nowrap;
}

.primary-nav__icon {
    --primary-nav-icon-scale-y: 1;
    display: block;
    width: 32px;
    height: 32px;
    overflow: visible;
    object-fit: contain;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(1px 1.5px 1px rgba(0, 0, 0, 0.34));
    transform: scaleY(var(--primary-nav-icon-scale-y));
    transition: filter 140ms ease, transform 140ms ease;
}

.primary-nav__icon--scores {
    --primary-nav-icon-scale-y: 1.16;
}

.primary-nav__icon .nav-icon__legacy-detail {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.primary-nav__link:hover .primary-nav__icon,
.primary-nav__link:focus-visible .primary-nav__icon {
    filter: drop-shadow(1px 2px 1.5px rgba(0, 0, 0, 0.42)) brightness(1.06);
    transform: translateY(-1px) scaleY(var(--primary-nav-icon-scale-y));
}

.primary-nav__link:hover {
    background: rgba(255, 255, 255, 0.045);
}

.primary-nav__link.is-active {
    color: var(--pp-navy);
    background: #8fb3d9;
    border-radius: 4px 4px 0 0;
    box-shadow: inset 0 0 0 1px rgba(10, 47, 102, 0.14);
}

.primary-nav__link.is-active span {
    color: var(--pp-navy);
}

.primary-nav__link.is-active .primary-nav__icon {
    filter: drop-shadow(1px 1.5px 1px rgba(0, 0, 0, 0.28)) brightness(1.04);
}

@media (forced-colors: active) {
    .primary-nav__icon {
        filter: none;
    }

    .primary-nav__icon [fill]:not([fill="none"]) {
        fill: CanvasText;
    }

    img.primary-nav__icon {
        forced-color-adjust: none;
    }

    .primary-nav__icon [stroke]:not([stroke="none"]) {
        stroke: Canvas;
    }

    .primary-nav__icon .nav-icon__legacy-detail {
        fill: none;
        stroke: CanvasText;
    }

    .primary-nav__link:hover .primary-nav__icon,
    .primary-nav__link:focus-visible .primary-nav__icon,
    .primary-nav__link.is-active .primary-nav__icon {
        filter: none;
    }
}

.primary-nav__link.is-active::after {
    display: none;
}

.site-account {
    min-width: 128px;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.site-account__identity {
    width: 100%;
    align-items: center;
    justify-content: center;
}

.site-account__welcome {
    text-align: center;
}

.site-account__eyebrow {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.site-account__name {
    margin-top: 2px;
    font-size: 1.15rem;
}

.logout-form,
.site-account .logout-form {
    width: 100%;
}

.button--nav,
.login-form button,
.logout-form button {
    min-height: 34px;
    border: 0;
    border-radius: 4px;
    background: var(--pp-red);
    color: #fff;
    font-weight: 900;
}

.logout-form button {
    width: 100%;
}

.login-form {
    display: grid;
    grid-template-columns: 100px 100px;
    gap: 6px;
}

.login-form input {
    width: 100px;
    min-height: 34px;
    padding-right: 9px;
    padding-left: 9px;
    border-radius: 3px;
    font-size: 0.9rem;
}

.login-password-field {
    position: relative;
    display: block;
    width: 100px;
}

.login-form .login-password-field input {
    padding-right: 32px;
}

.login-form button {
    grid-column: 1 / -1;
}

.login-form__forgot {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.74rem;
    text-align: center;
    text-decoration: underline;
}

.login-form__forgot:hover,
.login-form__forgot:focus-visible {
    color: #fff;
}

.password-reset-card {
    max-width: 640px;
    margin: 0 auto;
}

.login-form .login-password-toggle {
    position: absolute;
    top: 50%;
    right: 3px;
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 5px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    transform: translateY(-50%);
}

.login-form .login-password-toggle:hover,
.login-form .login-password-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: none;
    transform: translateY(-50%);
}

.login-password-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.login-password-toggle__hide,
.login-password-toggle[aria-pressed="true"] .login-password-toggle__show {
    display: none;
}

.login-password-toggle[aria-pressed="true"] .login-password-toggle__hide {
    display: block;
}

.site-main {
    width: min(calc(100% - 24px), var(--pp-content));
    margin: 10px auto 0;
    padding: 8px 8px 34px;
    border: 1px solid #d3d8df;
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    background: #f7f8fa;
    box-shadow: 0 2px 12px rgba(6, 26, 56, 0.1);
}

.page-intro {
    margin: 0 0 14px;
    padding: 18px 22px;
    border: 1px solid var(--pp-border);
    border-left: 5px solid var(--pp-red);
    border-radius: var(--pp-radius);
    background: #fff;
    box-shadow: 0 2px 6px rgba(6, 26, 56, 0.08);
}

.page-intro__eyebrow {
    color: var(--pp-red);
    font-size: 0.78rem;
    letter-spacing: 0.09em;
}

.page-intro h1 {
    font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.submit-picks-landing-intro .page-intro__eyebrow,
.view-picks-landing-intro .page-intro__eyebrow,
.scores-intro .page-intro__eyebrow,
.whats-new-intro .page-intro__eyebrow,
.about-intro .page-intro__eyebrow,
.page-intro--view-picks .page-intro__eyebrow {
    font-size: 1rem;
}

.pick-page-intro .page-intro__eyebrow {
    font-size: 1.05rem;
}

.pick-page-intro h1 {
    font-size: clamp(1.45rem, 3vw, 1.95rem);
}

.view-picks-landing-intro h1,
.page-intro--view-picks h1 {
    font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.home-hero {
    min-height: 270px;
    margin-bottom: 10px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid #263b58;
    border-radius: var(--pp-radius);
    background:
        linear-gradient(90deg, rgba(2, 14, 32, 0.35), transparent 72%),
        url("../images/pigskin-pix-hero.jpg") center / cover no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.home-hero::after {
    display: none;
}

.home-hero__eyebrow {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--pp-red);
}

.home-hero h1 {
    max-width: 640px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.home-hero h1::after {
    content: "";
    width: 52px;
    height: 4px;
    margin-top: 12px;
    display: block;
    background: var(--pp-red);
}

.home-hero__summary {
    max-width: 520px;
    margin-top: 14px;
    color: #fff;
    font-size: 1rem;
    text-shadow: 0 1px 3px #000;
}

.home-hero__actions {
    margin-top: 22px;
}

.home-hero__button {
    min-height: 44px;
    padding-inline: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.home-hero__button span {
    font-size: 1.15rem;
}

.card,
.table-scroll {
    border-radius: var(--pp-radius);
    box-shadow: var(--pp-shadow);
}

.card__header {
    padding: 11px 16px;
    background: var(--pp-navy);
    font-size: 0.88rem;
}

.card__body {
    padding: 17px;
}

.home-actions {
    margin-bottom: 10px;
}

.home-dashboard-card,
.home-dashboard-card .card__body {
    min-height: 184px;
}

.home-dashboard-card .card__body {
    padding: 20px;
}

.grid {
    gap: 10px;
}

.button,
button,
input[type="submit"],
input[type="reset"] {
    border-radius: 4px;
    background: var(--pp-red);
    font-weight: 900;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.button--muted,
button.button--muted {
    border-color: #cbd1da;
    background: #fff;
    color: var(--pp-navy);
}

.data-table th,
.data-table td {
    padding: 9px 12px;
}

.data-table th {
    background: var(--pp-navy);
    font-size: 0.72rem;
}

.data-table tbody tr:nth-child(even) {
    background: #f2f3f5;
}

input,
select,
textarea {
    border-radius: 4px;
}

.notice {
    border-radius: 4px;
}

.home-leaderboard {
    margin-bottom: 10px;
}

.home-leaderboard__header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--pp-border);
    background: #fff;
    color: var(--pp-navy);
    font-size: 1rem;
}

.home-leaderboard__header svg {
    width: 24px;
    height: 24px;
    fill: var(--pp-navy);
    stroke: var(--pp-navy);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-leaderboard__table-wrap {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-leaderboard__table {
    min-width: 620px;
}

.home-leaderboard__table th,
.home-leaderboard__table td {
    text-align: center;
}

.home-leaderboard__table tbody th {
    background: transparent;
    color: var(--pp-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
}

.home-leaderboard__rank,
.home-leaderboard__score {
    font-weight: 600;
}

.home-leaderboard__table tbody tr:first-child .home-leaderboard__rank {
    color: var(--pp-red);
}

.home-leaderboard__footer {
    padding: 13px 16px;
    border-top: 1px solid var(--pp-border);
    background: #fff;
}

.home-leaderboard__footer a {
    font-size: 0.78rem;
    text-decoration: none;
}

.home-leaderboard__footer p {
    margin: 0;
    color: var(--pp-blue);
    font-size: 0.84rem;
    font-weight: 900;
}

.home-leaderboard__footer p a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
}

.home-leaderboard__empty {
    margin: 0;
    color: var(--pp-muted);
}

.score-grid-table thead .score-grid-table__player {
    background: var(--pp-navy);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

.site-footer {
    margin-top: 0;
    padding: 0;
    border-top: 4px solid var(--pp-red);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 45%),
        var(--pp-navy);
    color: #fff;
    text-align: left;
}

.site-footer__inner {
    width: min(calc(100% - 40px), var(--pp-content));
    min-height: 92px;
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.site-footer__copyright {
    margin: 0 0 0 28px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    line-height: 1.55;
    text-align: right;
}

.site-footer__contact {
    margin-left: auto;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(213, 34, 42, 0.65);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 500;
    text-decoration: none;
}

.site-footer__contact:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__contact-icon {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    border-radius: 50%;
    background: var(--pp-red);
}

.site-footer__contact-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1320px) {
    .site-header__top {
        grid-template-columns: 250px 1fr;
        gap: 4px 12px;
    }

    .site-header__tagline {
        display: none;
    }

    .site-account,
    .login-form {
        position: absolute;
        top: 38px;
        right: max(20px, calc((100vw - var(--pp-content)) / 2));
    }

    .site-header__bar {
        min-width: 0;
        padding-left: 0;
        padding-right: 210px;
    }

    .primary-nav__link {
        min-width: 68px;
    }
}

@media (max-width: 760px) {
        .site-account__welcome,
        .site-brand__season {
            display: none;
        }

        .site-header__kicker {
            display: none;
        }

    .site-header__top {
        width: 100%;
        min-height: 0;
        display: flex;
        align-items: stretch;
        flex-direction: column;
    }

    .site-brand {
        order: 1;
        min-height: 78px;
        padding: 7px 16px;
    }

    .site-brand__mark {
        width: 62px;
        height: 64px;
        flex-basis: 62px;
    }

    .site-brand__name {
        font-size: 1.75rem;
    }

    .site-account,
    .login-form {
        position: static;
        top: auto;
        right: auto;
        order: 2;
        width: 100%;
        margin: 0;
        padding: 0 14px 12px;
    }

    .site-account {
        min-width: 88px;
    }

    .login-form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .login-form input {
        width: 100%;
        min-width: 0;
    }

    .login-password-field {
        width: 100%;
    }

    .login-form__password-group {
        width: 100%;
    }

    .site-header__bar-inner,
    .primary-nav__link {
        min-height: 68px;
    }

    .site-header__bar {
        order: 3;
        width: 100%;
        padding-right: 0;
    }

    .primary-nav {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .primary-nav__link {
        min-width: 82px;
        padding: 9px 7px 10px;
        gap: 5px;
    }

    .primary-nav__icon {
        width: 27px;
        height: 27px;
    }

    .site-main {
        width: calc(100% - 12px);
        margin-top: 6px;
        padding: 6px 6px 24px;
    }

    .home-hero {
        min-height: 300px;
        background-position: 62% center;
    }

    .home-hero::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: rgba(2, 14, 32, 0.42);
    }

    .site-footer__inner {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .site-footer__copyright {
        margin-left: 0;
        text-align: center;
    }

    .site-footer__contact {
        margin-left: 0;
        padding: 0;
        border-right: 0;
    }
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 0.76rem;
}

.site-footer__legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto 32px;
}

.legal-document h2 {
    margin-top: 28px;
}

.legal-document h2:first-child {
    margin-top: 0;
}

/* ENH-014: authenticated player account dropdown */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-account {
    position: relative;
    min-width: 0;
    align-items: stretch;
}

.site-account__trigger {
    min-height: 42px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: none;
}

.site-account__trigger:hover,
.site-account__trigger:focus-visible,
.site-account__trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: none;
    transform: none;
}

.site-account__user-icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.site-account__disclosure {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 150ms ease;
}

.site-account__trigger[aria-expanded="true"] .site-account__disclosure {
    transform: rotate(180deg);
}

.site-account__menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 7px);
    right: 0;
    width: min(260px, calc(100vw - 24px));
    padding: 7px;
    border: 1px solid #c9d0da;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(2, 14, 32, 0.24);
    color: var(--pp-text);
}

.site-account__menu[hidden] {
    display: none;
}

.site-account__menu-link,
.site-account__menu-action {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--pp-navy);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    text-transform: none;
}

.site-account__menu-link:hover,
.site-account__menu-link:focus-visible,
.site-account__menu-action:hover,
.site-account__menu-action:focus-visible {
    background: #eef2f7;
    color: var(--pp-navy);
    box-shadow: none;
    transform: none;
}

.site-account__menu-section {
    margin-top: 6px;
    padding-top: 7px;
    border-top: 1px solid #d7dce4;
}

.site-account__menu .forget-device-form,
.site-account__menu .logout-form {
    width: 100%;
    margin: 0;
    display: block;
}

.site-account__logout {
    margin-top: 6px !important;
    padding-top: 7px;
    border-top: 1px solid #d7dce4;
}

.site-account__menu-action--logout {
    color: var(--pp-red);
}

.site-account__menu-action--logout:hover,
.site-account__menu-action--logout:focus-visible {
    color: var(--pp-red-dark);
}

@media (max-width: 760px) {
    .site-account {
        align-items: flex-end;
    }

    .site-account__trigger {
        width: auto;
        min-width: 150px;
    }

    .site-account__menu {
        top: calc(100% - 3px);
        right: 14px;
    }
}

/* ENH-013: homepage hero and dedicated sign-in card */
.home-auth-composition {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
    align-items: stretch;
    gap: 12px;
    margin-bottom: 10px;
}

.home-auth-composition--authenticated {
    grid-template-columns: minmax(0, 1fr);
}

.home-auth-composition .home-hero {
    min-width: 0;
    min-height: 420px;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(2, 14, 32, 0.8), rgba(2, 14, 32, 0.15) 70%),
        url("../images/pigskin-pix-sign-in-hero.jpg");
    background-position: 70% center;
}

.home-auth-composition .home-hero h1 {
    position: relative;
    top: -14px;
}

.home-sign-in {
    min-width: 0;
    margin: 0;
    display: flex;
}

.home-sign-in__body {
    width: 100%;
    padding: clamp(24px, 3vw, 38px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-sign-in h2 {
    margin: 0;
    color: var(--pp-navy);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.home-sign-in__body > p {
    margin: 8px 0 22px;
    color: var(--pp-muted);
}

.home-sign-in__body > .home-sign-in__aside {
    margin: -12px 0 20px;
    color: #737d8b;
    font-size: 0.76rem;
    font-style: italic;
}

.home-sign-in__guidance-group,
.home-sign-in__guidance-group span {
    display: block;
}

.home-sign-in__guidance-group + .home-sign-in__guidance-group {
    margin-top: 14px;
}

.login-form--card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.login-form--card > label:not(.login-form__remember) {
    color: var(--pp-navy);
    font-weight: 800;
}

.login-form--card input,
.login-form--card .login-password-field {
    width: 100%;
    min-width: 0;
}

.login-form--card input {
    min-height: 44px;
    border: 1px solid #aeb8c6;
    background: #fff;
    color: var(--pp-text);
}

.login-form--card .login-password-field input {
    padding-right: 44px;
}

.login-form--card .login-password-toggle {
    color: var(--pp-navy);
}

.login-form--card .login-form__remember {
    width: 100%;
    margin: 6px 0 8px;
    color: var(--pp-text);
}

.login-form--card .login-form__remember input {
    width: 18px;
    min-height: 18px;
}

.login-form--card > button {
    width: 100%;
    min-height: 44px;
}

.login-form--card .login-form__forgot {
    color: var(--pp-link);
    font-size: 0.86rem;
}

.forget-device-form {
    width: 100%;
}

.forget-device-form button {
    width: 100%;
    min-height: 30px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
    font-size: 0.68rem;
}

@media (max-width: 900px) {
    .home-auth-composition {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-auth-composition .home-hero {
        min-height: clamp(320px, 62vw, 440px);
        background-position: 72% center;
    }

    .home-sign-in__body {
        padding: 26px 22px;
    }
}

@media (max-width: 760px) {
    .site-header__top .site-account {
        padding-bottom: 8px;
    }

    .home-auth-composition .home-hero {
        min-height: 340px;
    }
}

.site-account__menu .forget-device-form .site-account__menu-action {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 0;
    background: transparent;
    color: var(--pp-navy);
    font-size: 0.86rem;
    text-align: left;
}

.site-account__menu .forget-device-form .site-account__menu-action:hover,
.site-account__menu .forget-device-form .site-account__menu-action:focus-visible {
    background: #eef2f7;
    color: var(--pp-navy);
}

.notification-preferences-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.notification-choice,
.notification-consent-choice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid #cfd7e2;
    border-radius: 6px;
    background: #fff;
}

.notification-choice input,
.notification-consent-choice input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.notification-choice span,
.notification-choice small {
    display: block;
}

.notification-choice small {
    margin-top: 3px;
    color: #4d5969;
}

.notification-choice--disabled {
    background: #f2f4f7;
    color: #667080;
}

.notification-opt-out-note,
.notification-disclosure {
    color: #4d5969;
    font-size: 0.9rem;
}

.notification-state-heading {
    margin: 14px 0 6px;
    color: var(--pp-navy);
    font-size: 1.12rem;
}

.notification-action-form {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid #d9dfe7;
}

.us-mobile-input {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.us-mobile-input > span {
    font-weight: 800;
    color: var(--pp-navy);
}

@media (max-width: 760px) {
    .notification-preferences-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}
