:root {
    --cream: #eef3fb;
    --steel: #5f7190;
    --orange: #d86d38;
    --bg: #151b26;
    --panel: #1c2430;
    --panel-2: #161e2a;
    --cell: rgba(20, 28, 40, 0.82);
    --ink: #f4f7fb;
    --muted: rgba(238, 243, 251, 0.62);
    --line: rgba(232, 237, 245, 0.08);
    --line-strong: rgba(232, 237, 245, 0.14);
    --danger: #c95662;
    --danger-deep: #321720;
    --shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
    --soft-glow: 0 0 14px rgba(216, 109, 56, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 58% 0%, rgba(82, 95, 120, 0.28), transparent 28%),
        linear-gradient(180deg, #1c2430 0%, #151b26 48%, #101620 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.page-shell {
    width: min(1500px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 16px 0 36px;
}

.hero-strip,
.roster-board,
.auth-panel,
.form-panel {
    border: 1px solid rgba(232, 237, 245, 0.08);
    background:
        linear-gradient(145deg, rgba(74, 87, 112, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(25, 34, 48, 0.9), rgba(18, 26, 38, 0.94));
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.topbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
    align-items: center;
    gap: 18px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 100%);
    min-height: 56px;
    padding: 0 20px;
    border: 1px solid rgba(232, 237, 245, 0.08);
    border-radius: 12px;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(30, 39, 54, 0.94), rgba(21, 29, 42, 0.96)),
        #161e2a;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-mark {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border: 1px solid rgba(232, 216, 201, 0.12);
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.24);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.clock-strip {
    display: grid;
    grid-template-columns: repeat(3, 88px);
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(232, 237, 245, 0.08);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(30, 39, 54, 0.94), rgba(21, 29, 42, 0.96)),
        #161e2a;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.clock-pill {
    display: grid;
    align-content: center;
    gap: 3px;
    min-height: 56px;
    padding: 0 18px;
    border-right: 1px solid rgba(232, 237, 245, 0.06);
    background: transparent;
}

.clock-pill span {
    color: rgba(232, 237, 245, 0.5);
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
}

.clock-pill strong {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
}

.clock-pill-active {
    background: rgba(244, 247, 251, 0.96);
}

.clock-pill-active span {
    color: rgba(23, 30, 42, 0.58);
}

.clock-pill-active strong {
    color: #151b26;
}

.clock-pill:last-child {
    border-right: 0;
}

.topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.topbar-actions form {
    margin: 0;
}

.user-chip,
.status-pill,
.status-dot,
.unavailable-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid rgba(232, 237, 245, 0.08);
    border-radius: 12px;
    color: var(--muted);
    background:
        linear-gradient(180deg, rgba(30, 39, 54, 0.94), rgba(21, 29, 42, 0.96)),
        #161e2a;
    font-size: 0.9rem;
    font-weight: 800;
}

.status-dot {
    min-height: 24px;
    padding: 3px 9px;
    color: var(--orange);
    border-color: rgba(243, 112, 30, 0.34);
    background: rgba(243, 112, 30, 0.08);
}

.status-dot.muted {
    color: var(--muted);
    border-color: var(--line);
    background: rgba(75, 96, 127, 0.16);
}

.player-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.player-role {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    max-width: 120px;
    padding: 3px 9px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid rgba(232, 216, 201, 0.12);
    border-radius: 999px;
    background: rgba(75, 96, 127, 0.16);
}

.unavailable-badge {
    min-height: 24px;
    color: #ffd8d8;
    border-color: rgba(224, 71, 79, 0.48);
    background: rgba(224, 71, 79, 0.18);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 900;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0) scale(0.98);
}

.button-primary {
    color: #141b27;
    background: var(--orange);
    box-shadow: 0 8px 18px rgba(243, 112, 30, 0.16);
}

.button-primary:hover {
    box-shadow: 0 10px 22px rgba(243, 112, 30, 0.2);
}

.button-icon {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: #160b05;
    font-size: 1.2rem;
    font-weight: 900;
}

.button-ghost {
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(30, 39, 54, 0.94), rgba(21, 29, 42, 0.96)),
        #161e2a;
    border: 1px solid rgba(216, 109, 56, 0.62);
}

.button-danger {
    color: #fff;
    background: var(--danger);
    box-shadow: 0 8px 18px rgba(224, 71, 79, 0.14);
}

.button-wide {
    width: 100%;
}

.messages {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.message,
.form-alert {
    padding: 12px 14px;
    border: 1px solid rgba(75, 96, 127, 0.46);
    border-radius: 12px;
    color: var(--cream);
    background: rgba(75, 96, 127, 0.18);
}

.message-error,
.form-alert {
    color: #ffd8d8;
    background: rgba(224, 71, 79, 0.14);
    border-color: rgba(224, 71, 79, 0.32);
}

.hero-strip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 180px;
    margin: 18px 0;
    padding: 34px 38px;
    border-color: rgba(243, 112, 30, 0.58);
    border-radius: 12px;
    overflow: hidden;
}

.hero-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 14, 23, 0.98) 0%, rgba(10, 16, 26, 0.8) 32%, rgba(8, 13, 22, 0.3) 60%, rgba(8, 13, 22, 0.84) 100%),
        url("/static/img/Header.png") center center / auto 126% no-repeat;
}

.hero-strip::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    background:
        linear-gradient(180deg, rgba(232, 216, 201, 0.04), transparent 48%),
        linear-gradient(90deg, transparent 0%, rgba(243, 112, 30, 0.18) 100%);
}

.hero-copy,
.hero-strip .button,
.hero-strip .status-pill {
    position: relative;
    z-index: 1;
}

.hero-copy {
    display: grid;
    gap: 8px;
}

.section-kicker {
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--ink);
    font-size: 3rem;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.animated-border {
    position: relative;
    isolation: isolate;
}

.animated-border::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    border: 1px solid rgba(243, 112, 30, 0.22);
    box-shadow:
        0 0 0 1px rgba(232, 216, 201, 0.04),
        0 0 18px rgba(243, 112, 30, 0.08),
        0 0 38px rgba(243, 112, 30, 0.05);
    animation: border-breathe 5.8s ease-in-out infinite;
}

@keyframes border-breathe {
    0%,
    100% {
        opacity: 0.72;
        box-shadow:
            0 0 0 1px rgba(232, 216, 201, 0.04),
            0 0 16px rgba(243, 112, 30, 0.07),
            0 0 32px rgba(243, 112, 30, 0.04);
    }
    50% {
        opacity: 1;
        box-shadow:
            0 0 0 1px rgba(232, 216, 201, 0.06),
            0 0 22px rgba(243, 112, 30, 0.12),
            0 0 46px rgba(243, 112, 30, 0.08);
    }
}

.roster-board {
    padding: 18px;
    border-radius: 12px;
    overflow-x: auto;
}

.roster-grid {
    display: grid;
    grid-template-columns: 194px repeat(7, minmax(150px, 1fr));
    min-width: 1240px;
    border: 1px solid rgba(232, 216, 201, 0.09);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(6, 10, 17, 0.24);
}

.roster-head,
.player-cell,
.day-panel {
    border-right: 1px solid rgba(232, 216, 201, 0.08);
    border-bottom: 1px solid rgba(232, 216, 201, 0.08);
}

.roster-head:nth-child(8n),
.day-panel:nth-child(8n) {
    border-right: 0;
}

.roster-head {
    display: grid;
    align-content: center;
    min-height: 82px;
    padding: 14px 18px;
    background: rgba(11, 17, 27, 0.5);
}

.player-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 900;
    text-transform: uppercase;
}

.head-icon {
    position: relative;
    width: 20px;
    height: 16px;
}

.head-icon::before,
.head-icon::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--orange);
}

.head-icon::before {
    left: 7px;
    top: 0;
    width: 8px;
    height: 8px;
    box-shadow: -7px 3px 0 -1px var(--orange), 7px 3px 0 -1px var(--orange);
}

.head-icon::after {
    left: 2px;
    bottom: 0;
    width: 16px;
    height: 8px;
    border-radius: 8px 8px 2px 2px;
}

.day-head {
    justify-items: center;
    text-align: center;
}

.day-head strong {
    color: var(--ink);
    font-size: 0.88rem;
}

.day-head span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
}

.player-cell {
    min-height: 76px;
    padding: 0;
    background: rgba(8, 13, 22, 0.46);
}

.player-card {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    min-width: 0;
    padding: 13px 18px;
}

.player-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid rgba(232, 216, 201, 0.16);
    border-radius: 50%;
    object-fit: cover;
    background: var(--panel-2);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.avatar-fallback {
    display: grid;
    place-items: center;
    color: var(--cream);
    font-size: 1.22rem;
    font-weight: 900;
    background:
        linear-gradient(135deg, rgba(243, 112, 30, 0.74), rgba(75, 96, 127, 0.72)),
        var(--panel-2);
}

.player-meta {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.player-meta h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.day-panel {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 10px 9px;
    background: var(--cell);
}

.day-panel.is-unavailable {
    background:
        linear-gradient(145deg, rgba(224, 71, 79, 0.3), rgba(42, 17, 23, 0.88)),
        var(--danger-deep);
}

.mobile-day {
    display: none;
}

.slot-stack {
    display: grid;
    gap: 8px;
    width: 100%;
}

.slot-card {
    width: 100%;
    min-height: 60px;
    padding: 10px 12px;
    border: 1px solid rgba(243, 112, 30, 0.38);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(243, 112, 30, 0.16), rgba(243, 112, 30, 0.04)),
        rgba(21, 16, 12, 0.7);
    box-shadow: var(--soft-glow);
}

.unavailable-card {
    border-color: rgba(224, 71, 79, 0.58);
    background:
        linear-gradient(145deg, rgba(224, 71, 79, 0.24), rgba(42, 17, 23, 0.72)),
        rgba(42, 17, 23, 0.7);
}

.slot-time {
    color: #ffad69;
    font-size: 0.88rem;
    font-weight: 800;
}

.slot-card p {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.slot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    font-size: 0.76rem;
    font-weight: 900;
}

.slot-actions a {
    color: #ff9b4d;
}

.slot-actions .danger-link {
    color: #ffd8d8;
}

.empty-add {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 54px;
    color: rgba(232, 216, 201, 0.34);
    font-size: 2rem;
    font-weight: 300;
    transition: color 160ms ease, transform 160ms ease;
}

.empty-add:not(.is-muted):hover {
    color: var(--orange);
    transform: scale(1.08);
}

.mini-add {
    position: absolute;
    right: 9px;
    bottom: 7px;
    color: rgba(232, 216, 201, 0.5);
    font-size: 0.74rem;
    font-weight: 900;
}

.roster-footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 18px 6px;
    color: rgba(232, 216, 201, 0.35);
    font-size: 0.82rem;
}

.auth-layout,
.form-layout {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 150px);
    padding: 32px 0;
}

.auth-layout-login {
    padding: 20px 0 36px;
}

.auth-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 460px);
    gap: 18px;
    width: min(100%, 1120px);
}

.auth-login-hero {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border: 1px solid rgba(232, 237, 245, 0.08);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(74, 87, 112, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(25, 34, 48, 0.9), rgba(18, 26, 38, 0.94));
    box-shadow: var(--shadow);
}

.auth-login-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 28, 40, 0.94) 0%, rgba(20, 28, 40, 0.68) 38%, rgba(20, 28, 40, 0.22) 68%, rgba(20, 28, 40, 0.78) 100%),
        url("/static/img/Header.png") center center / cover no-repeat;
}

.auth-login-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0.06), transparent 44%),
        linear-gradient(90deg, transparent 0%, rgba(216, 109, 56, 0.16) 100%);
}

.auth-login-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    gap: 10px;
    height: 100%;
    padding: 34px;
}

.auth-login-hero-content p {
    max-width: 440px;
    margin: 0;
    color: rgba(238, 243, 251, 0.68);
    font-size: 0.98rem;
    line-height: 1.55;
}

.auth-panel,
.form-panel {
    width: min(100%, 520px);
    padding: 28px;
    border-radius: 12px;
}

.auth-panel-login {
    width: 100%;
    align-self: stretch;
    padding: 28px;
}

.auth-panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-panel-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    border: 1px solid rgba(232, 237, 245, 0.1);
    background: rgba(12, 18, 28, 0.5);
    object-fit: contain;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.auth-panel-copy {
    display: grid;
    gap: 4px;
}

.auth-panel-copy h2 {
    font-size: 1.25rem;
    font-weight: 900;
}

.form-panel {
    width: min(100%, 720px);
}

.form-stack,
.form-panel {
    display: grid;
    gap: 16px;
}

.form-stack {
    margin-top: 22px;
}

.auth-panel-login .button-primary {
    color: #141b27;
    background: #f4f7fb;
    box-shadow: 0 8px 18px rgba(244, 247, 251, 0.12);
}

.auth-panel-login .button-primary:hover {
    box-shadow: 0 10px 22px rgba(244, 247, 251, 0.18);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    color: var(--ink);
    background: rgba(8, 13, 22, 0.58);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-password-field {
    position: relative;
    display: block;
}

.auth-password-field input {
    padding-right: 52px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    color: rgba(238, 243, 251, 0.68);
    background: rgba(238, 243, 251, 0.05);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    color: #f4f7fb;
    background: rgba(255, 117, 38, 0.18);
    box-shadow: 0 0 0 1px rgba(255, 117, 38, 0.24);
    outline: none;
}

.auth-password-icon {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.auth-password-icon-eye-off,
.auth-password-toggle.is-visible .auth-password-icon-eye {
    display: none;
}

.auth-password-toggle.is-visible .auth-password-icon-eye-off {
    display: block;
}

select,
textarea {
    color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--orange);
    background: rgba(8, 13, 22, 0.76);
    box-shadow: 0 0 0 4px rgba(243, 112, 30, 0.16);
}

input::placeholder {
    color: rgba(232, 216, 201, 0.42);
}

select option {
    color: #121821;
}

.is-hidden {
    display: none;
}

.errorlist {
    margin: 0;
    padding: 0;
    color: #ffd8d8;
    list-style: none;
    font-size: 0.86rem;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.confirm-text {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .topbar {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .clock-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
    }

    .topbar-actions {
        justify-content: space-between;
    }

    .auth-login-shell {
        grid-template-columns: 1fr;
    }

    .auth-login-hero {
        min-height: 260px;
    }
}

@media (min-width: 1101px) {
    .page-shell {
        --page-gutter: clamp(20px, 2vw, 40px);
        width: min(calc(100% - (var(--page-gutter) * 2)), 1840px);
    }

    .topbar {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: clamp(12px, 1.2vw, 18px);
    }

    .brand,
    .topbar-actions {
        min-width: 0;
    }

    .brand span,
    .user-chip {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-chip {
        max-width: 220px;
    }

    .hero-strip,
    .roster-board,
    .auth-login-shell {
        max-width: 100%;
    }
}

@media (min-width: 1280px) {
    .roster-board {
        overflow-x: hidden;
    }

    .roster-grid {
        grid-template-columns: minmax(170px, 194px) repeat(7, minmax(0, 1fr));
        min-width: 0;
    }

    .auth-login-shell {
        width: min(100%, 1180px);
        grid-template-columns: minmax(0, 1.12fr) minmax(360px, 440px);
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 20px, 760px);
        padding-top: 10px;
    }

    .clock-strip {
        grid-template-columns: 1fr;
    }

    .clock-pill {
        border-right: 0;
        border-bottom: 1px solid rgba(232, 237, 245, 0.06);
        padding: 12px 18px;
    }

    .clock-pill:last-child {
        border-bottom: 0;
    }

    .hero-strip {
        align-items: stretch;
        flex-direction: column;
        min-height: 0;
        padding: 22px;
    }

    .hero-strip::after {
        left: auto;
        right: -140px;
        opacity: 0.35;
    }

    h1 {
        font-size: 2.2rem;
    }

    .roster-board {
        padding: 12px;
    }

    .auth-layout-login {
        padding-top: 8px;
    }

    .auth-login-hero {
        min-height: 220px;
    }

    .auth-login-hero-content,
    .auth-panel-login {
        padding: 22px;
    }

    .roster-grid {
        display: block;
        min-width: 0;
        border: 0;
        background: transparent;
    }

    .roster-head {
        display: none;
    }

    .player-cell,
    .day-panel {
        border: 1px solid rgba(232, 216, 201, 0.09);
    }

    .player-cell {
        margin-top: 14px;
        border-radius: 12px 12px 0 0;
    }

    .day-panel {
        min-height: 90px;
        border-top: 0;
    }

    .day-panel:last-child {
        border-radius: 0 0 12px 12px;
    }

    .mobile-day {
        display: grid;
        gap: 2px;
        min-width: 98px;
        color: var(--ink);
        font-size: 0.86rem;
    }

    .mobile-day span {
        color: var(--muted);
        font-size: 0.78rem;
    }

    .slot-stack {
        flex: 1;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .roster-footer {
        flex-direction: column;
    }
}
