:root {
    color-scheme: light;
    --bg: #eef4f7;
    --surface: #ffffff;
    --surface-alt: #f4f8fb;
    --line: #d6e2e8;
    --text: #152033;
    --muted: #627084;
    --primary: #0f7b6c;
    --primary-dark: #0b5d52;
    --primary-soft: #dff5ef;
    --accent: #d89614;
    --danger: #c24141;
    --card-radius: 24px;
    --card-radius-sm: 18px;
    --shadow: 0 22px 60px rgba(19, 40, 72, 0.09);
    --shadow-soft: 0 10px 30px rgba(19, 40, 72, 0.06);
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 0;
    background:
        radial-gradient(circle at top left, rgba(15, 123, 108, 0.1), transparent 28%),
        radial-gradient(circle at top right, rgba(216, 150, 20, 0.1), transparent 22%),
        linear-gradient(180deg, #f6fbfd 0%, var(--bg) 55%, #eaf1f5 100%);
    color: var(--text);
}

body.login-page .shell {
    grid-template-columns: minmax(280px, 320px);
}

body.login-page .sidebar > :not(#sessionCard) {
    display: none;
}

body.login-page .main {
    display: none;
}

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

.shell {
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    min-width: 0;
}

.sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%),
        linear-gradient(160deg, #122238 0%, #17314b 100%);
    color: #f8fbff;
    padding: 28px 24px;
    display: grid;
    gap: 20px;
    align-content: start;
    position: relative;
    overflow: hidden;
}

.sidebar .card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f8fbff;
    box-shadow: none;
    backdrop-filter: blur(14px);
}

.sidebar .card input,
.sidebar .card select,
.sidebar .card textarea {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fbff;
    border-color: rgba(255, 255, 255, 0.18);
}

.sidebar .card button,
.sidebar .card .ghost-link {
    color: #fff;
}

.main,
.public-shell {
    padding: 28px;
}

.topbar,
.public-header,
.card-head,
.toolbar,
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.toolbar {
    flex-wrap: wrap;
}

.card,
.metrics article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
}

.card {
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.card.compact {
    padding: 18px;
}

.grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
    min-width: 0;
}

.grid.two {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.card {
    max-width: 100%;
}

.metrics article {
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.96)),
        var(--surface);
    border-color: rgba(15, 123, 108, 0.12);
    position: relative;
    overflow: hidden;
}

.card::before,
.metrics article::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #2aa593, var(--accent));
    opacity: 0.9;
}

.eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.sidebar .eyebrow,
.sidebar .muted,
.sidebar h1,
.sidebar h2,
.sidebar label,
.sidebar .hint,
.sidebar .ghost-link {
    color: #f8fbff;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
}

.muted,
.hint {
    color: var(--muted);
}

.hint {
    font-size: 13px;
}

.selection-note {
    margin: 0;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.home-panel {
    margin-bottom: 20px;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-card {
    width: 100%;
    min-height: 140px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(15, 123, 108, 0.2);
    background:
        linear-gradient(180deg, rgba(235, 250, 244, 0.98), rgba(221, 244, 236, 0.96)),
        var(--surface);
    color: var(--text);
    text-align: left;
    display: grid;
    align-content: start;
    gap: 8px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-card:hover,
.home-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 123, 108, 0.14);
    border-color: rgba(15, 123, 108, 0.34);
}

.home-card strong {
    font-size: 20px;
    line-height: 1.15;
}

.home-card span {
    color: var(--muted);
}

.home-card-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}

.home-card-link {
    justify-content: start;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
    background: var(--surface-alt);
}

.photo-preview {
    margin-top: 10px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #fafdff 0%, var(--surface-alt) 100%);
    padding: 10px;
}

.photo-preview img {
    width: 100%;
    max-width: 240px;
    max-height: 180px;
    border-radius: 10px;
    object-fit: cover;
}

.file-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.session-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
    display: block;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.status-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 10px;
}

.status-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #9ca3af;
}

.dot.online {
    background: #1fb36b;
}

.dot.sync {
    background: var(--accent);
}

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

.form-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.form-grid .full,
.form-actions {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

input,
select,
textarea,
button,
.ghost-link {
    border-radius: 16px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    color: var(--text);
    padding: 13px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

button,
.ghost-link {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 12px 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(15, 123, 108, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

button.secondary {
    background: linear-gradient(180deg, #fafdff 0%, var(--surface-alt) 100%);
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

button:hover,
.ghost-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(15, 123, 108, 0.22);
}

button.secondary:hover {
    box-shadow: 0 12px 24px rgba(19, 40, 72, 0.1);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
.ghost-link:focus-visible {
    outline: none;
    border-color: rgba(15, 123, 108, 0.45);
    box-shadow: 0 0 0 4px rgba(15, 123, 108, 0.12);
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.table-wrap {
    overflow: auto;
    border-radius: 20px;
    border: 1px solid rgba(15, 123, 108, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(19, 32, 52, 0.72);
    z-index: 1000;
    padding: 18px;
}

.modal-window {
    width: min(100%, 980px);
    max-height: min(100%, 90vh);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-window .table-wrap {
    max-height: calc(70vh - 130px);
}

.modal-window table {
    width: 100%;
}

.modal-window th,
.modal-window td {
    padding: 10px 8px;
}

.modal-window tbody tr:hover {
    background: rgba(15, 123, 108, 0.06);
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

#existingParticipantsTable input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

body.modal-open {
    overflow: hidden;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

th {
    font-size: 13px;
    color: var(--muted);
    background: rgba(244, 248, 251, 0.92);
}

.badge {
    background: #fff7e6;
    color: #946200;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #132034;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(10px);
    transition: 0.2s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.public-page {
    background: linear-gradient(180deg, #e6f5f1 0%, #f3f7fb 100%);
}

.public-header {
    margin-bottom: 18px;
}

@media (max-width: 1080px) {
    .shell {
        grid-template-columns: 1fr;
    }

    .sidebar,
    .main,
    .public-shell {
        padding: 18px;
    }

    .topbar,
    .card-head,
    .toolbar,
    .form-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .topbar {
        padding: 18px;
        margin-bottom: 18px;
        border: 1px solid rgba(15, 123, 108, 0.1);
        border-radius: var(--card-radius);
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-soft);
    }

    .toolbar {
        gap: 10px;
    }

    .toolbar select,
    .toolbar button,
    .form-actions button,
    .form-actions .secondary {
        width: 100%;
    }

    .metrics,
    .grid.two,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid,
    .metrics {
        gap: 14px;
    }

    .card {
        padding: 18px;
    }

    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        width: 100%;
        min-width: 600px;
    }

    th,
    td {
        white-space: normal;
        padding: 8px 6px;
    }

    .status-list {
        display: grid;
        gap: 10px;
    }

    .file-actions {
        grid-template-columns: 1fr;
    }

    input,
    select,
    textarea,
    button,
    .ghost-link {
        min-height: 48px;
        font-size: 16px;
    }
}

@media (max-width: 680px) {
    .sidebar {
        padding: 16px 14px 22px;
    }

    .main,
    .public-shell {
        padding: 14px;
    }

    .card {
        padding: 16px;
        border-radius: 22px;
    }

    .card-head {
        gap: 8px;
    }

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

    .home-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metrics article {
        padding: 18px;
    }

    .metrics article h3 {
        font-size: 1.7rem;
        margin-bottom: 6px;
    }

    input,
    select,
    textarea,
    button,
    .ghost-link {
        font-size: 16px;
        min-height: 50px;
        padding: 12px 16px;
    }

    th,
    td {
        padding: 10px 8px;
        font-size: 14px;
    }

    .session-avatar {
        width: 56px;
        height: 56px;
    }

    .eyebrow {
        font-size: 11px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .grid,
    .metrics {
        gap: 12px;
    }

    .table-wrap {
        border-radius: 18px;
    }

    .toolbar,
    .form-actions,
    .file-actions {
        gap: 12px;
    }

    .card-head .badge {
        align-self: flex-start;
    }

    .photo-preview img {
        max-width: 100%;
        max-height: 220px;
    }

    .home-card {
        min-height: 126px;
        padding: 16px;
    }

    .home-card strong {
        font-size: 18px;
    }
}

body.login-page .main {
    display: none;
}

body.login-page .shell {
    grid-template-columns: 1fr;
    place-items: center;
    padding: 24px 0;
}

body.login-page .sidebar {
    width: min(100%, 460px);
    min-height: auto;
    padding-bottom: 48px;
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(9, 24, 44, 0.22);
}

body.login-page #sessionCard {
    width: 100%;
    margin: 0 auto;
}

body.login-page #sessionCard h2 {
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 10px;
    text-align: center;
}

body.login-page #sessionCard .stack {
    gap: 14px;
}

body.login-page #sessionCard button[type="submit"] {
    min-height: 56px;
    font-size: 17px;
}

body.login-page #sessionContent {
    display: grid;
    gap: 10px;
}

.app-footer {
    padding: 12px 16px 20px;
    text-align: center;
    font-size: 12px;
    color: #5f6f79;
}

.mobile-landing {
    min-height: 100vh;
}

.mobile-app-page {
    background:
        radial-gradient(circle at top center, rgba(189, 217, 31, 0.14), transparent 24%),
        linear-gradient(180deg, #132711 0%, #081109 55%, #040804 100%);
    color: #eff8d8;
}

.mobile-app-shell {
    width: min(100%, 820px);
    margin: 0 auto;
    padding: 20px 18px 118px;
    display: grid;
    gap: 18px;
}

.mobile-topbar {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 12px;
}

.mobile-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(204, 255, 0, 0.22);
    background: rgba(3, 10, 4, 0.72);
    color: #fff;
    display: grid;
    place-items: center;
    padding: 0;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.mobile-icon-btn svg,
.mobile-live-meta svg,
.mobile-watch-btn svg,
.mobile-menu-icon svg,
.mobile-nav-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-badge {
    justify-self: center;
    padding: 10px 16px;
    border-radius: 999px;
    color: #dfff67;
    text-decoration: none;
    border: 1px solid rgba(204, 255, 0, 0.24);
    background: rgba(4, 12, 5, 0.72);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-icon-btn.has-count {
    position: relative;
}

.mobile-icon-btn.has-count span {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #d0ff2f;
    color: #142400;
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.mobile-brand-hero {
    min-height: 280px;
    padding: 26px 22px 22px;
    border-radius: 32px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.96) 0%, rgba(220, 255, 232, 0.92) 26%, rgba(120, 199, 92, 0.9) 58%, rgba(19, 84, 39, 0.98) 100%);
    border: 1px solid rgba(221, 255, 86, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.mobile-brand-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 34%),
        radial-gradient(circle at bottom, rgba(15, 79, 34, 0.18), transparent 56%);
    pointer-events: none;
}

.mobile-brand-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-hero-logo {
    display: block;
    width: min(100%, 420px);
    height: auto;
    margin: 0;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.mobile-brand-copy .eyebrow {
    color: #dfff67;
}

.mobile-brand-copy h1 {
    margin-bottom: 8px;
    color: #fff9de;
    font-size: clamp(28px, 7vw, 54px);
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
}

.mobile-signup-card {
    padding: 20px 18px;
    border-radius: 28px;
    display: grid;
    gap: 16px;
    background:
        linear-gradient(140deg, rgba(221, 255, 97, 0.14), rgba(8, 24, 8, 0.98)),
        #081109;
    border: 1px solid rgba(223, 255, 103, 0.22);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
}

.mobile-signup-copy h2 {
    margin-bottom: 8px;
    color: #fff8d8;
    font-size: 28px;
    line-height: 1.02;
    text-transform: uppercase;
}

.mobile-signup-copy p:last-child {
    margin-bottom: 0;
    color: rgba(244, 249, 235, 0.8);
    font-size: 15px;
}

.mobile-signup-actions {
    display: grid;
    gap: 10px;
}

.mobile-primary-cta,
.mobile-secondary-cta {
    min-height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.mobile-primary-cta {
    background: linear-gradient(180deg, #d8f240 0%, #97c21d 100%);
    color: #102000;
    box-shadow: 0 18px 28px rgba(134, 173, 19, 0.28);
}

.mobile-secondary-cta {
    background: rgba(5, 13, 5, 0.72);
    border: 1px solid rgba(223, 255, 103, 0.18);
    color: #eff8d8;
}

.mobile-registration-modal {
    width: min(100%, 720px);
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.mobile-slogan {
    margin: 0;
    color: #f5f3e9;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 18ch;
    text-transform: uppercase;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.mobile-live-card {
    padding: 16px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(13, 23, 10, 0.96), rgba(8, 15, 8, 0.98));
    border: 1px solid rgba(190, 233, 54, 0.2);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.mobile-live-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.mobile-live-head strong {
    color: #dfff67;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mobile-live-pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ed3636, #c21e1e);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(193, 24, 24, 0.35);
}

.mobile-media-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 280px;
    border: 1px solid rgba(218, 255, 87, 0.18);
    background: #0a1207;
}

.mobile-media {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: block;
    object-fit: cover;
}

.mobile-media-fallback {
    background-position: center;
    background-size: cover;
}

.mobile-media-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px;
    display: grid;
    gap: 14px;
    background: linear-gradient(180deg, rgba(4, 8, 3, 0), rgba(4, 8, 3, 0.88) 64%);
}

.mobile-live-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.mobile-live-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-live-meta svg {
    width: 18px;
    height: 18px;
}

.mobile-watch-btn {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d8f240 0%, #91bb17 100%);
    color: #132000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 18px 28px rgba(134, 173, 19, 0.35);
}

.mobile-watch-btn svg {
    fill: currentColor;
    stroke: none;
    width: 18px;
    height: 18px;
}

.mobile-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.mobile-slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(232, 255, 140, 0.32);
}

.mobile-slider-dots span.active {
    width: 20px;
    background: #dfff67;
}

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

.mobile-menu-card {
    min-height: 184px;
    padding: 20px 18px;
    border-radius: 26px;
    display: grid;
    align-content: start;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    background:
        linear-gradient(180deg, rgba(10, 25, 9, 0.96), rgba(5, 14, 5, 0.98)),
        #081109;
    border: 1px solid rgba(193, 241, 58, 0.16);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.mobile-menu-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #dfff67;
    background: radial-gradient(circle at center, rgba(208, 255, 47, 0.16), rgba(208, 255, 47, 0.02));
}

.mobile-menu-icon svg {
    width: 34px;
    height: 34px;
}

.mobile-menu-card strong {
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
}

.mobile-menu-card span:last-child {
    color: rgba(244, 249, 235, 0.78);
    font-size: 14px;
    line-height: 1.3;
    text-transform: uppercase;
}

.mobile-food-banner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px;
    padding: 16px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(70, 35, 8, 0.95), rgba(31, 15, 3, 0.98));
    border: 1px solid rgba(216, 150, 20, 0.22);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.mobile-food-copy {
    display: grid;
    align-content: start;
    gap: 10px;
}

.mobile-food-copy .eyebrow {
    color: #f5cd65;
}

.mobile-food-copy h2 {
    margin-bottom: 0;
    color: #fff1c0;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
}

.mobile-check-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: grid;
    gap: 8px;
    color: #fff7dd;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.mobile-check-list li::before {
    content: "✓";
    color: #dfff67;
    margin-right: 10px;
}

.mobile-food-visual {
    min-height: 180px;
    border-radius: 22px;
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 -40px 60px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 820px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 10px;
    border-radius: 24px;
    background: rgba(4, 10, 4, 0.94);
    border: 1px solid rgba(209, 255, 48, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
    z-index: 20;
}

.mobile-nav-item {
    min-height: 70px;
    padding: 8px 6px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    gap: 6px;
    color: rgba(241, 246, 230, 0.82);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobile-nav-icon {
    color: currentColor;
}

.mobile-nav-icon svg {
    width: 22px;
    height: 22px;
}

.mobile-nav-item.is-active {
    color: #dfff67;
    background: linear-gradient(180deg, rgba(189, 230, 32, 0.14), rgba(189, 230, 32, 0.04));
    box-shadow: inset 0 0 0 1px rgba(223, 255, 103, 0.16);
}

.mobile-app-page .app-footer {
    padding-bottom: 112px;
    color: rgba(240, 245, 225, 0.6);
}

@media (max-width: 480px) {
    body.login-page .shell {
        padding: 16px 0;
    }

    .sidebar,
    .main,
    .public-shell {
        padding: 12px;
    }

    body.login-page .sidebar {
        width: calc(100% - 24px);
        margin: 0 auto;
        border-radius: 24px;
        padding: 18px 16px 28px;
    }

    body.login-page #sessionCard {
        padding: 18px;
    }

    body.login-page #sessionCard h2 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .card {
        padding: 14px;
        border-radius: 20px;
    }

    .topbar {
        padding: 14px;
        border-radius: 20px;
    }

    input,
    select,
    textarea,
    button,
    .ghost-link {
        font-size: 16px;
        min-height: 50px;
        padding: 14px 18px;
    }

    .form-grid {
        gap: 10px;
    }

    .stack {
        gap: 10px;
    }

    .table-wrap {
        font-size: 13px;
        margin-top: 6px;
    }

    th,
    td {
        padding: 8px 6px;
    }

    .modal-overlay {
        padding: 12px;
    }

    .modal-window {
        max-height: min(100%, 95vh);
    }

    .photo-preview {
        min-height: 90px;
    }

    .badge {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .photo-preview img {
        max-width: 200px;
        max-height: 150px;
    }

    .mobile-app-shell {
        padding: 16px 12px 112px;
        gap: 14px;
    }

    .mobile-brand-hero {
        min-height: 240px;
        padding: 22px 18px 18px;
        border-radius: 26px;
    }

    .mobile-brand-copy {
        max-width: 100%;
    }

    .mobile-hero-logo {
        width: min(100%, 300px);
    }

    .mobile-signup-card {
        padding: 16px 14px;
        border-radius: 22px;
    }

    .mobile-signup-copy h2 {
        font-size: 24px;
    }

    .mobile-slogan {
        font-size: 16px;
    }

    .mobile-live-card,
    .mobile-food-banner {
        padding: 14px;
        border-radius: 22px;
    }

    .mobile-media-frame,
    .mobile-media {
        min-height: 220px;
    }

    .mobile-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .mobile-menu-card {
        min-height: 158px;
        padding: 16px 14px;
        border-radius: 20px;
    }

    .mobile-menu-icon {
        width: 48px;
        height: 48px;
    }

    .mobile-menu-icon svg {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-card strong {
        font-size: 17px;
    }

    .mobile-menu-card span:last-child {
        font-size: 12px;
    }

    .mobile-food-banner {
        grid-template-columns: 1fr;
    }

    .mobile-food-copy h2 {
        font-size: 24px;
    }

    .mobile-food-visual {
        min-height: 150px;
    }

    .mobile-bottom-nav {
        width: calc(100% - 16px);
        bottom: 8px;
        gap: 4px;
        padding: 10px 6px;
        border-radius: 18px;
    }

    .mobile-nav-item {
        min-height: 62px;
        font-size: 10px;
    }
}
