@font-face {
    font-family: 'GhostScribe';
    src: url('../fonts/GhostScribe-Regular.woff2') format('woff2'),
         url('../fonts/GhostScribe-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --iron: #07080c;
    --moon: #e8eef8;
    --mist: #c5d0e0;
    --bone: #d8d4c8;
    --night: #05060a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; touch-action: manipulation; }
html, body {
    margin: 0;
    padding: 0;
    background: var(--night);
    color: var(--bone);
    font-family: 'Cinzel', Georgia, serif;
    min-height: 100%;
}
body.xvii-app {
    min-height: 100svh;
    overflow-x: hidden;
    position: relative;
}

.xvii-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.xvii-bg-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    filter: saturate(0.85) brightness(0.45);
}
.xvii-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 20%, transparent 10%, rgba(5, 6, 10, 0.45) 55%, rgba(5, 6, 10, 0.88) 100%),
        linear-gradient(to top, rgba(5, 6, 10, 0.94) 0%, rgba(5, 6, 10, 0.55) 40%, transparent 70%);
}
.xvii-grain {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.xvii-nav, .xvii-header, .xvii-main, .xvii-foot {
    position: relative;
    z-index: 2;
}

.xvii-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.2rem;
    background: rgba(5, 6, 10, 0.72);
    border-bottom: 1px solid rgba(197, 208, 224, 0.12);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
}
.xvii-nav-brand {
    font-family: 'GhostScribe', 'Cinzel Decorative', serif;
    color: var(--moon);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.15rem;
}
.xvii-nav-brand span {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    margin-left: 0.35rem;
    letter-spacing: 0.16em;
}
.xvii-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.4rem;
}
.xvii-nav a {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mist);
    text-decoration: none;
}
.xvii-nav a:hover, .xvii-nav a:focus-visible { color: #fff; }
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--moon);
}

.xvii-header {
    text-align: center;
    padding: 2.4rem 1.25rem 0.5rem;
}
.xvii-header .flourish,
.gate-panel .flourish {
    width: min(240px, 55vw);
    height: 14px;
    margin: 0 auto 1rem;
    display: block;
    color: var(--mist);
    opacity: 0.7;
}
.xvii-kicker {
    margin: 0 0 0.4rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--mist);
}
.xvii-header h1,
.gate-panel h1 {
    margin: 0;
    font-family: 'GhostScribe', 'Cinzel Decorative', serif;
    font-weight: 400;
    font-size: clamp(2.1rem, 6vw, 3.4rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--moon);
    line-height: 1;
}
.xvii-sub, .xvii-lede {
    margin: 0.7rem auto 0;
    max-width: 34rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--mist);
}
.xvii-fine {
    margin: 0.85rem 0 0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.82rem;
    color: rgba(197, 208, 224, 0.7);
    text-align: center;
}
.xvii-fine a { color: var(--moon); text-decoration: none; border-bottom: 1px solid rgba(232, 238, 248, 0.35); }
.xvii-error {
    color: #ffb4b4;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.xvii-main {
    width: min(1100px, calc(100% - 2rem));
    margin: 1.2rem auto 2.5rem;
}
.results-page .xvii-main { width: min(1400px, calc(100% - 2rem)); }

.xvii-panel {
    background: rgba(8, 10, 16, 0.78);
    border: 1px solid rgba(197, 208, 224, 0.14);
    padding: 1.5rem 1.35rem 1.7rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(6px);
}
.xvii-panel h2 {
    margin: 0 0 1rem;
    font-family: 'GhostScribe', 'Cinzel Decorative', serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--moon);
    text-align: center;
}

.xvii-form { display: grid; gap: 1rem; max-width: 520px; margin: 0 auto; }
.field span,
.xvii-form label > span,
.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mist);
}
.field input, .field select,
.xvii-form input[type="text"],
.xvii-form input[type="email"],
.xvii-form input[type="password"],
.form-group input {
    width: 100%;
    padding: 0.75rem 0.85rem;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1rem;
    color: var(--moon);
    background: rgba(8, 10, 16, 0.85);
    border: 1px solid rgba(197, 208, 224, 0.22);
    border-radius: 0;
}
.field input:focus, .xvii-form input:focus, .form-group input:focus {
    outline: none;
    border-color: rgba(232, 238, 248, 0.7);
}
.help-text {
    margin: 0.35rem 0 0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: rgba(197, 208, 224, 0.65);
}

.xvii-btn, .xvii-btn-ghost {
    display: inline-block;
    padding: 0.85rem 1.3rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: 0;
    cursor: pointer;
}
.xvii-btn {
    color: var(--night);
    background: var(--moon);
}
.xvii-btn:hover, .xvii-btn:focus-visible { background: #fff; }
.xvii-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.xvii-btn-ghost {
    color: var(--moon);
    background: transparent;
    border: 1px solid rgba(232, 238, 248, 0.45);
}
.xvii-btn-ghost:hover { background: rgba(8, 10, 16, 0.7); color: #fff; border-color: #fff; }

.page-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin: 1.5rem 0 0.5rem;
}
.custom-file-upload {
    display: block;
    padding: 0.85rem 1rem;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--moon);
    border: 1px solid rgba(232, 238, 248, 0.4);
    cursor: pointer;
}
input[type="file"] { display: none; }
#photo-output {
    display: none;
    width: 100%;
    max-width: 420px;
    margin: 0.8rem auto 0;
    border: 1px solid rgba(232, 238, 248, 0.3);
}
.person-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.person-row input { flex: 1; }
.linkish {
    background: none;
    border: 0;
    color: var(--moon);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}
.remove-person {
    background: rgba(8, 10, 16, 0.85);
    border: 1px solid rgba(197, 208, 224, 0.22);
    color: var(--mist);
    padding: 0 0.75rem;
    cursor: pointer;
}

.time-lock-message { text-align: center; }
.time-lock-message h2 {
    font-family: 'GhostScribe', serif;
    color: var(--moon);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.time-lock-message p { font-family: 'Roboto', sans-serif; color: var(--mist); }

.podium-bar {
    position: sticky;
    top: 52px;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    padding: 0.55rem;
    margin: 0 0 1rem;
    background: rgba(5, 6, 10, 0.94);
    border: 1px solid rgba(197, 208, 224, 0.16);
    backdrop-filter: blur(8px);
}
.podium-slot {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 52px;
    padding: 0.3rem 0.4rem;
    border: 1px dashed rgba(197, 208, 224, 0.28);
    background: rgba(8, 10, 16, 0.55);
    cursor: default;
}
.podium-slot.is-filled {
    border-style: solid;
    cursor: pointer;
}
.podium-rank {
    flex: 0 0 auto;
    width: 1.4rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--moon);
    text-align: center;
}
.podium-empty {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(197, 208, 224, 0.55);
}
.podium-slot.is-filled .podium-empty { display: none; }
.podium-body { display: none; align-items: center; gap: 0.4rem; min-width: 0; flex: 1; }
.podium-slot.is-filled .podium-body { display: flex; }
.podium-body img { width: 40px; height: 40px; object-fit: cover; flex: 0 0 auto; }
.podium-body span {
    font-family: 'GhostScribe', serif;
    text-transform: uppercase;
    color: var(--moon);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#dz-1.is-filled { border-color: #d4af37; }
#dz-2.is-filled { border-color: #c0c7d1; }
#dz-3.is-filled { border-color: #b08d57; }

#contestant-pool {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.contestant-card {
    background: rgba(8, 10, 16, 0.9);
    border: 1px solid rgba(197, 208, 224, 0.2);
    text-align: center;
    overflow: hidden;
}
.contestant-card.ranked-1 { border-color: #d4af37; }
.contestant-card.ranked-2 { border-color: #c0c7d1; }
.contestant-card.ranked-3 { border-color: #b08d57; }
.card-photo { position: relative; }
.contestant-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.rank-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 0.4rem;
    padding: 2.2rem 0.55rem 0.55rem;
    background: linear-gradient(to top, rgba(5, 6, 10, 0.92) 40%, transparent);
}
.rank-pick {
    flex: 1;
    height: 48px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--moon);
    background: rgba(8, 10, 16, 0.72);
    border: 1px solid rgba(232, 238, 248, 0.4);
    cursor: pointer;
}
.rank-pick.is-on[data-rank="1"] { background: #d4af37; color: #1a1408; border-color: #fff; }
.rank-pick.is-on[data-rank="2"] { background: #c0c7d1; color: #1a1c20; border-color: #fff; }
.rank-pick.is-on[data-rank="3"] { background: #b08d57; color: #1a1408; border-color: #fff; }
.card-info { padding: 0.7rem 0.6rem 0.85rem; }
.card-costume {
    font-family: 'GhostScribe', serif;
    text-transform: uppercase;
    color: var(--moon);
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}
.card-name {
    font-family: 'Roboto', sans-serif;
    font-size: 0.82rem;
    color: var(--mist);
    margin: 0.25rem 0 0;
}

.modal-hidden { display: none; }
#modal-backdrop, .modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(5, 6, 10, 0.9);
    z-index: 100;
}
#selection-modal, .confirmation-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 92vw);
    background: #0b0d12;
    border: 1px solid rgba(232, 238, 248, 0.28);
    z-index: 101;
    text-align: center;
    padding: 1.4rem;
}
#modal-image { max-width: 100%; max-height: 240px; object-fit: cover; margin-bottom: 0.8rem; }
#modal-costume-name, .confirmation-modal h3 {
    font-family: 'GhostScribe', serif;
    color: var(--moon);
    font-size: 2rem;
    margin: 0;
    text-transform: uppercase;
}
#modal-entrant-name { font-family: 'Oswald', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.modal-buttons, .modal-actions { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 1rem; }
#selection-modal button, .confirmation-modal button {
    width: 100%;
    padding: 0.8rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    background: var(--moon);
    color: var(--night);
    border: 0;
}
#selection-modal button:disabled { opacity: 0.4; cursor: not-allowed; }
#modal-cancel,
.confirmation-modal button.xvii-btn-ghost {
    background: transparent;
    color: var(--moon);
    border: 1px solid rgba(232, 238, 248, 0.35);
}

.board-shell.has-qr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.4rem;
    align-items: start;
}
.board-meta {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: var(--mist);
    margin: 0 0 1.1rem;
}
.leaderboard-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.1rem;
}
.mosaic-tile {
    position: relative;
    aspect-ratio: 1 / 1.12;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border: 1px solid rgba(197, 208, 224, 0.2);
    animation: fadeInTile 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(16px);
}
@keyframes fadeInTile { to { opacity: 1; transform: translateY(0); } }
.tile-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(5, 6, 10, 0.95) 18%, transparent);
}
.tile-costume-name {
    font-family: 'GhostScribe', serif;
    text-transform: uppercase;
    font-size: 1.55rem;
    color: var(--moon);
    margin: 0;
}
.tile-entrant-name { font-family: 'Roboto', sans-serif; font-size: 0.85rem; color: var(--mist); margin: 0.15rem 0 0; }
.rank-badge {
    position: absolute;
    top: 10px; left: 10px;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Oswald', sans-serif;
    background: rgba(5, 6, 10, 0.8);
    border: 1px solid var(--mist);
    color: var(--moon);
}
.tile-score {
    position: absolute;
    top: 10px; right: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    text-align: right;
}
.tile-score span { display: block; font-size: 0.7rem; color: var(--mist); }
.mosaic-tile.rank-gold { border-color: #d4af37; }
.mosaic-tile.rank-gold .rank-badge { background: #d4af37; color: #1a1408; border-color: #fff; }
.mosaic-tile.rank-silver { border-color: #c0c7d1; }
.mosaic-tile.rank-silver .rank-badge { background: #c0c7d1; color: #1a1c20; }
.mosaic-tile.rank-bronze { border-color: #b08d57; }
.mosaic-tile.rank-bronze .rank-badge { background: #b08d57; color: #1a1408; }

.vote-qr {
    background: rgba(8, 10, 16, 0.88);
    border: 1px solid rgba(232, 238, 248, 0.28);
    padding: 1.2rem 1rem 1.35rem;
    text-align: center;
    position: sticky;
    top: 4.5rem;
}
.vote-qr h2 { margin-bottom: 0.4rem; }
.vote-qr img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0.8rem auto;
    background: #fff;
    padding: 12px;
}
.vote-qr-url {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--moon);
    word-break: break-all;
}
.vote-qr-help { font-family: 'Roboto', sans-serif; color: var(--mist); font-size: 0.9rem; }

.vote-layout { display: flex; flex-direction: column; padding-bottom: 5.5rem; }
.vote-layout #submission-section { order: 30; }

#submission-section {
    text-align: center;
    position: sticky;
    bottom: 0;
    z-index: 40;
    margin: 0;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(5, 6, 10, 0.94);
    border-top: 1px solid rgba(232, 238, 248, 0.2);
}
#submit-vote-btn { min-width: 240px; width: min(520px, 100%); font-size: 1rem; padding: 1rem 1.5rem; }
#device-status { font-family: 'Roboto', sans-serif; font-size: 0.85rem; color: var(--mist); }
#device-status.error { color: #ffb4b4; }

.xvii-foot {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(197, 208, 224, 0.45);
}
.gate-main { display: flex; align-items: center; justify-content: center; min-height: 80svh; }
.gate-panel { width: min(420px, 100%); text-align: center; }

body.tv-mode .xvii-nav,
body.tv-mode .xvii-foot,
body.tv-mode .page-navigation,
body.kiosk-mode .xvii-nav,
body.kiosk-mode .xvii-foot { display: none !important; }
body.tv-mode .xvii-header { padding-top: 1.2rem; }
body.tv-mode .vote-qr { top: 0.6rem; }
body.tv-mode .xvii-main { width: calc(100% - 2rem); }

body.kiosk-mode .podium-bar { top: 0; }
body.kiosk-mode .contestant-card img { height: 320px; }
body.kiosk-mode .rank-pick { height: 56px; font-size: 1.5rem; }
.kiosk-wait {
    text-align: center;
    padding: 2rem 1rem;
}
.kiosk-wait .count {
    font-family: 'Cinzel Decorative', serif;
    font-size: 4rem;
    color: var(--moon);
    margin: 0.4rem 0;
}

@media (max-width: 900px) {
    .board-shell.has-qr { grid-template-columns: 1fr; }
    .vote-qr { position: static; }
}
@media (max-width: 800px) {
    .menu-toggle { display: flex; }
    #main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0.8rem 0 1rem;
        background: rgba(5, 6, 10, 0.96);
        border-bottom: 1px solid rgba(197, 208, 224, 0.12);
    }
    #main-menu.is-open { display: flex; }
    #main-menu li { margin: 0.55rem 0; }
    .podium-bar {
        top: 48px;
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 0.45rem;
    }
    .podium-slot { min-height: 58px; }
    .podium-body img { width: 52px; height: 52px; }
    .podium-body span {
        font-size: 1.05rem;
        white-space: normal;
        line-height: 1.15;
    }
    #contestant-pool { grid-template-columns: 1fr; }
    .contestant-card img {
        height: auto;
        aspect-ratio: 3 / 4;
        max-height: 78svh;
    }
    #submission-section h2 { display: none; }
    #device-status { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mosaic-tile { animation: none; opacity: 1; transform: none; }
}

/* ---- Host: contest schedule ---- */
.sched-phase { display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1.1rem; margin: 0.5rem 0 1rem;
    border: 1px solid rgba(232,238,248,0.3); background: rgba(5,6,10,0.65); font-family: 'Oswald', sans-serif;
    letter-spacing: 0.12em; text-transform: uppercase; font-size: 1.05rem; color: var(--moon); }
.sched-dot { width: 14px; height: 14px; border-radius: 50%; background: #7a7f8a; flex: none; }
.phase-entry .sched-dot, .phase-voting .sched-dot { background: #5fe08a; box-shadow: 0 0 12px #5fe08a; animation: schedPulse 1.6s ease-in-out infinite; }
.phase-between .sched-dot { background: #f0b14a; }
.phase-results .sched-dot { background: #e2524a; }
@keyframes schedPulse { 50% { opacity: 0.45; } }
.sched-times { list-style: none; padding: 0; margin: 0 0 0.5rem; display: grid; gap: 0.45rem; }
.sched-times li { padding: 0.7rem 0.9rem; background: rgba(8,10,16,0.55); border-left: 3px solid rgba(232,238,248,0.25); color: var(--mist); }
.sched-times li.is-now { border-left-color: #5fe08a; color: #fff; }
.sched-times li span { display: inline-block; min-width: 4.5rem; font-family: 'Oswald', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); }
.sched-note { color: #f0b14a; }
.sched-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin: 1.2rem 0; }
.sched-quick form { margin: 0; }
.sched-big { width: 100%; min-height: 64px; padding: 0.9rem; border: 1px solid rgba(232,238,248,0.4); background: rgba(8,10,16,0.7);
    color: var(--moon); font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: 0.12em;
    text-transform: uppercase; cursor: pointer; border-radius: 12px; transition: transform .08s, background .15s; }
.sched-big:active { transform: scale(0.97); }
.sched-big.open_entry, .sched-big.open_voting { border-color: #5fe08a; color: #c9f7d8; }
.sched-big.close_entry, .sched-big.close_voting { border-color: #e2524a; color: #f8cfcb; }
.sched-big:hover, .sched-big:focus-visible { background: rgba(232,238,248,0.12); }
.sched-form fieldset { border: 1px solid rgba(232,238,248,0.22); border-radius: 12px; padding: 0.9rem 1rem 1rem; margin: 0 0 1rem; display: grid; gap: 0.8rem; }
.sched-form legend { padding: 0 0.4rem; font-family: 'Oswald', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); }
.sched-field { display: grid; gap: 0.35rem; }
.sched-field span { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
.sched-field input[type="datetime-local"] { width: 100%; min-height: 56px; padding: 0.7rem 0.9rem; font-size: 1.1rem; color: #fff;
    background: rgba(5,6,10,0.8); border: 1px solid rgba(232,238,248,0.35); border-radius: 10px; color-scheme: dark; -webkit-appearance: none; appearance: none; }
.sched-field input[type="datetime-local"]:focus { outline: none; border-color: var(--moon); box-shadow: 0 0 0 3px rgba(232,238,248,0.18); }
.sched-save { width: 100%; min-height: 60px; font-size: 1rem; border-radius: 12px; }
@media (max-width: 420px) { .sched-quick { grid-template-columns: 1fr; } }
/* ---- Host: photobooth moderation ---- */
.booth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.8rem; }
.booth-tile { margin: 0; display: grid; gap: 0.4rem; }
.booth-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid rgba(232,238,248,0.25); }
.booth-tile.is-hidden img { opacity: 0.35; filter: grayscale(1); }
.booth-tile .sched-big { min-height: 48px; font-size: 0.9rem; }
