﻿.christmas_menu {
    --christmas_bg: #eef1ec;
    --christmas_paper: #fbfcf9;
    --christmas_ink: #0f2a20;
    --christmas_muted: #5a6d63;
    --christmas_line: #cfd8d1;
    --christmas_pine: #0f3b2b;
    --christmas_pine_ink: #eaf3ec;
    --christmas_berry: #b3123a;
    --christmas_berry_ink: #fff;
    --christmas_gold: #a8822e;
    --christmas_bar: #dde5df;
    position: relative;
    background: var(--christmas_bg);
    color: var(--christmas_ink);
    font: 15px/1.55 "Segoe UI", system-ui, sans-serif;
    margin: -1.25rem;
    padding-bottom: 48px;
    min-height: calc(100vh - 50px);
    overflow: hidden;
}

.christmas_snow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
}

.christmas_menu > :not(.christmas_snow) {
    position: relative;
    z-index: 1;
}

.christmas_wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.christmas_hero {
    background: var(--christmas_pine);
    color: var(--christmas_pine_ink);
}

.christmas_hero .christmas_wrap {
    padding-top: 36px;
    padding-bottom: 40px;
    display: grid;
    gap: 14px;
}

.christmas_kicker,
.christmas_sub,
.christmas_letter,
.christmas_note,
.christmas_stepper,
.christmas_status,
.christmas_results_totals {
    font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
}

.christmas_kicker {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--christmas_gold);
}

.christmas_hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 0.9;
    margin: 0;
}

.christmas_hero h1 em {
    font-style: normal;
    color: var(--christmas_gold);
}

.christmas_hero p {
    max-width: 52ch;
    margin: 0;
    font-size: 16px;
    opacity: 0.85;
}

.christmas_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    padding-top: 36px;
}

.christmas_courses {
    display: grid;
    gap: 40px;
    min-width: 0;
}

.christmas_course_head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 14px;
    border-bottom: 2px solid var(--christmas_ink);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.christmas_course_no {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 0.8;
    color: var(--christmas_berry);
}

.christmas_course_head h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1;
    margin: 0;
}

.christmas_opts {
    display: grid;
    gap: 4px;
}

.christmas_opt {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    border-radius: 6px;
}

.christmas_opt:hover {
    background: var(--christmas_paper);
}

.christmas_opt_main {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 22px 28px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 4px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.christmas_opt_main:focus-visible,
.christmas_opt_photo:focus-visible {
    outline: 2px solid var(--christmas_berry);
    outline-offset: 2px;
}

.christmas_opt_photo {
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--christmas_line);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
}

.christmas_opt_photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.christmas_lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(8, 21, 15, 0.72);
}

.christmas_lightbox_card {
    margin: 0;
    max-width: min(420px, 92vw);
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: grid;
    gap: 12px;
    justify-items: center;
}

.christmas_lightbox_card img {
    width: min(360px, 80vw);
    height: min(360px, 80vw);
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--christmas_line);
}

.christmas_lightbox_card figcaption {
    text-align: center;
    font-weight: 700;
    line-height: 1.35;
}

.christmas_lightbox_close {
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    background: var(--christmas_pine);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.christmas_radio {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    border: 1.5px solid var(--christmas_muted);
    box-sizing: border-box;
}

.christmas_opt_mine .christmas_radio {
    border-color: var(--christmas_berry);
    background: var(--christmas_berry);
    box-shadow: inset 0 0 0 5px var(--christmas_berry_ink);
}

.christmas_letter {
    font-size: 18px;
    font-weight: 700;
    color: var(--christmas_gold);
    line-height: 1.2;
}

.christmas_name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}

.christmas_aside {
    position: sticky;
    top: 20px;
    align-self: start;
    display: grid;
    gap: 16px;
}

.christmas_guests {
    background: var(--christmas_paper);
    border: 1px solid var(--christmas_line);
    border-radius: 4px;
    padding: 16px 18px;
    display: grid;
    gap: 10px;
}

.christmas_guests label {
    font-weight: 700;
}

.christmas_guests dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.christmas_guests dt {
    font-size: 11px;
    font-weight: 500;
    color: var(--christmas_muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
}

.christmas_guests dd {
    margin: 2px 0 0;
    font-weight: 700;
    line-height: 1.35;
}

.christmas_empty {
    font-weight: 400;
    color: var(--christmas_muted);
}

.christmas_sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--christmas_muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 8px;
}

.christmas_guests .christmas_numeric,
.christmas_guests .e-numeric {
    max-width: 140px;
}

.christmas_note {
    font-size: 13px;
    font-weight: 700;
    color: var(--christmas_berry);
}

.christmas_party,
.christmas_status {
    font-size: 13px;
    color: var(--christmas_muted);
}

.christmas_status {
    color: var(--christmas_pine);
    font-weight: 700;
}

.christmas_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.christmas_link {
    color: var(--christmas_berry);
    font-weight: 700;
    text-decoration: none;
}

.christmas_link:hover {
    text-decoration: underline;
}

.christmas_results {
    display: grid;
    gap: 28px;
    max-width: 900px;
}

.christmas_results_section h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.christmas_results_table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.christmas_results_table th,
.christmas_results_table td {
    border: 1px solid var(--christmas_line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.christmas_results_table th {
    background: #f3f6f3;
    font-weight: 700;
}

.christmas_results_num {
    text-align: right !important;
    width: 6rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.christmas_results_photo {
    width: 52px;
}

.christmas_results_photo img {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--christmas_line);
}

.christmas_results_win td {
    background: #f7f1df;
    font-weight: 700;
}

.christmas_results_totals {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--christmas_line);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
}

.christmas_results_pending {
    padding: 16px;
    border: 1px solid var(--christmas_line);
    background: #fff;
}

.christmas_results_pending h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.christmas_results_pending ul {
    margin: 0;
    padding-left: 1.25rem;
}

.christmas_results_pending li {
    margin: 0.25rem 0;
}

@media (max-width: 860px) {
    .christmas_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .christmas_aside {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .christmas_menu {
        margin: -0.75rem;
    }
}
