.weo-shell {
    max-width: 1100px;
    margin: 0 auto;
    color: #f6f0e6;
}

.weo-hero {
    background: linear-gradient(135deg, #1a1717, #2a2020);
    border: 1px solid #7e1f28;
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.weo-mode-switch {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px;
    border: 1px solid rgba(216, 161, 90, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.weo-mode-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    color: #f8e2c3;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.weo-mode-link:hover,
.weo-mode-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.weo-mode-link-active {
    background: #c3202d;
    color: #ffffff;
}

.weo-kicker {
    margin: 0 0 8px;
    color: #d8a15a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.weo-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
}

.weo-copy {
    margin: 12px 0 0;
    color: #f4d8ba;
    font-size: 1rem;
    line-height: 1.6;
}

.weo-location-pill {
    display: inline-block;
    margin: 14px 0 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(216, 161, 90, 0.12);
    border: 1px solid rgba(216, 161, 90, 0.28);
    color: #f8e2c3;
    font-size: 0.95rem;
}

.weo-card,
.weo-choice-card {
    background: #231f1f;
    border: 1px solid #473737;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.weo-card {
    margin-top: 24px;
    padding: 28px 32px;
}

.weo-booked-league-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.weo-start-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.weo-start-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.weo-booked-league-card h2 {
    margin: 0;
    color: #ffffff;
}

.weo-booked-league-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.weo-booked-league-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 220px;
}

.weo-quick-picker {
    margin-top: 24px;
}

.weo-picker-label {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

.weo-picker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.weo-picker-row .weo-input {
    flex: 1 1 340px;
}

.weo-picker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.weo-form {
    display: block;
}

.weo-grid,
.weo-choice-grid {
    display: grid;
    gap: 20px;
}

.weo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weo-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
    align-items: start;
}

.weo-field label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

.weo-input {
    width: 100%;
    border: 1px solid #5a4545;
    border-radius: 10px;
    background: #141212;
    color: #ffffff;
    padding: 12px 14px;
}

.weo-input:focus {
    outline: none;
    border-color: #c3202d;
    box-shadow: 0 0 0 3px rgba(195, 32, 45, 0.22);
}

.weo-password-shell {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.weo-password-shell .weo-input {
    min-width: 0;
}

.weo-password-toggle {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    padding: 0 14px;
}

.weo-password-control {
    position: relative;
    display: flex;
    align-items: center;
}

.weo-password-control .weo-input {
    padding-right: 76px;
}

.weo-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: #2b2222;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    padding: 8px 12px;
    z-index: 2;
}

.weo-password-toggle:hover,
.weo-password-toggle:focus {
    background: #c3202d;
    outline: none;
}

.weo-readonly-context {
    min-height: 48px;
    background: #231d1d;
    border-color: #704d4d;
}

.weo-readonly-context strong,
.weo-readonly-context span {
    display: block;
}

.weo-readonly-context span {
    margin-top: 4px;
    color: #f0d4ad;
}

.weo-inline-link {
    color: #f8e2c3;
    font-weight: 700;
}

.weo-inline-link:hover,
.weo-inline-link:focus {
    color: #ffffff;
}

.weo-field-full {
    grid-column: 1 / -1;
}

.weo-actions {
    margin-top: 24px;
}

.weo-remember-device {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    color: #f6e6c4;
    font-size: 0.95rem;
    font-weight: 700;
}

.weo-remember-device input {
    width: 16px;
    height: 16px;
    accent-color: #d51f32;
}

.weo-button {
    display: inline-block;
    border: none;
    border-radius: 999px;
    background: #c3202d;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 22px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.weo-button:hover,
.weo-button:focus {
    background: #a91b26;
    color: #ffffff;
}

.weo-button-secondary {
    background: #3a2e2e;
}

.weo-button-secondary:hover,
.weo-button-secondary:focus {
    background: #524141;
}

.weo-choice-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.weo-choice-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
}

.weo-choice-card p {
    color: #f4d8ba;
    line-height: 1.6;
    margin: 0;
}

.weo-validation,
.weo-field-error {
    color: #ff8b93;
}

.weo-validation {
    margin-bottom: 20px;
}

.weo-code-line {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .weo-booked-league-card,
    .weo-start-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .weo-booked-league-actions,
    .weo-start-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .weo-picker-row {
        align-items: stretch;
    }

    .weo-grid,
    .weo-choice-grid {
        grid-template-columns: 1fr;
    }
}

/* Readability pass: larger form text and less cramped labels. */
.weo-kicker {
    font-size: 0.86rem;
    letter-spacing: 0;
}

.weo-hero h1 {
    line-height: 1.15;
}

.weo-copy,
.weo-choice-card p {
    font-size: 1rem;
    line-height: 1.65;
}

.weo-mode-link,
.weo-button,
.weo-field label,
.weo-picker-label {
    font-size: 1rem;
}

.weo-input {
    font-size: 1rem;
    line-height: 1.4;
}

/* The Season Never Ends: light, logo-led onboarding treatment. Scoped to the
   canonical tenant route so other white-label brands retain their own theme. */
body.tenant-brand-the-season-never-ends {
    background: #f7f5f2;
    color: #20202a;
    font-family: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
}

.tenant-brand-the-season-never-ends .weo-hero h1,
.tenant-brand-the-season-never-ends .weo-choice-card h2,
.tenant-brand-the-season-never-ends .weo-booked-league-card h2,
.tenant-brand-the-season-never-ends .weo-button,
.tenant-brand-the-season-never-ends .weo-mode-link {
    font-family: "Century Gothic", "Avenir Next", "Trebuchet MS", Arial, sans-serif;
    letter-spacing: -.02em;
}

body.tenant-brand-the-season-never-ends .site-main {
    background:
        radial-gradient(circle at 8% 5%, rgba(19, 123, 189, .10), transparent 28rem),
        radial-gradient(circle at 94% 18%, rgba(111, 42, 140, .09), transparent 25rem),
        #f7f5f2;
}

.tenant-brand-the-season-never-ends .weo-shell {
    color: #20202a;
}

.tenant-brand-the-season-never-ends .weo-hero {
    background: linear-gradient(135deg, #ffffff 0%, #fbf6ec 100%);
    border: 2px solid #a51d3d;
    box-shadow: 0 18px 45px rgba(39, 38, 49, .12);
}

.tenant-brand-the-season-never-ends .weo-mode-switch {
    border-color: rgba(111, 42, 140, .25);
    background: #f1edf5;
}

.tenant-brand-the-season-never-ends .weo-mode-link {
    color: #6f2a8c;
}

.tenant-brand-the-season-never-ends .weo-mode-link:hover,
.tenant-brand-the-season-never-ends .weo-mode-link:focus {
    color: #ffffff;
    background: #6f2a8c;
}

.tenant-brand-the-season-never-ends .weo-mode-link-active,
.tenant-brand-the-season-never-ends .weo-button {
    background: #a51d3d !important;
    color: #ffffff;
}

.tenant-brand-the-season-never-ends .weo-kicker {
    color: #6f2a8c;
}

.tenant-brand-the-season-never-ends .weo-hero h1,
.tenant-brand-the-season-never-ends .weo-booked-league-card h2,
.tenant-brand-the-season-never-ends .weo-choice-card h2,
.tenant-brand-the-season-never-ends .weo-picker-label,
.tenant-brand-the-season-never-ends .weo-field label {
    color: #20202a;
}

.tenant-brand-the-season-never-ends .weo-copy,
.tenant-brand-the-season-never-ends .weo-choice-card p,
.tenant-brand-the-season-never-ends .weo-remember-device {
    color: #3d3b46;
}

.tenant-brand-the-season-never-ends .weo-card,
.tenant-brand-the-season-never-ends .weo-choice-card {
    background: #ffffff;
    border-color: #d8d2dc;
    box-shadow: 0 16px 36px rgba(39, 38, 49, .10);
}

.tenant-brand-the-season-never-ends .weo-input {
    background: #ffffff !important;
    border-color: #8a8390;
    color: #20202a !important;
}

.tenant-brand-the-season-never-ends .weo-input:focus {
    border-color: #137bbd !important;
    box-shadow: 0 0 0 3px rgba(19, 123, 189, .18);
}

.tenant-brand-the-season-never-ends .weo-readonly-context {
    background: #f6f1e8;
    border-color: #d3b36b;
}

.tenant-brand-the-season-never-ends .weo-readonly-context span {
    color: #514b42;
}

.tenant-brand-the-season-never-ends .weo-password-toggle {
    background: #6f2a8c;
    border-color: #6f2a8c;
    color: #ffffff;
}

.tenant-brand-the-season-never-ends .weo-inline-link {
    color: #137bbd;
}

.tenant-brand-the-season-never-ends .weo-validation,
.tenant-brand-the-season-never-ends .weo-field-error {
    color: #9f1239;
}
