:root {
    --ink: #12100e;
    --ink-mid: #1a1714;
    --ink-soft: #221e1a;
    --ink-muted: #3a332b;
    --felt: #1b4d3e;
    --felt-d: #143a2f;
    --chalk: #f3efe6;
    --chalk-dim: #c4b8a4;
    --chalk-ghost: #8a7f6d;
    --gold: #e2b657;
    --rose: #ef476f;
    --ok: #3fa66b;
    --surface-1: rgba(26, 23, 20, 0.92);
    --surface-3: rgba(58, 51, 43, 0.6);
    --glow-gold: 0 0 24px rgba(226, 182, 87, 0.25);
    --r-sm: 12px;
    --r-md: 14px;
    --r-lg: 14px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --font: 'Fredoka', 'Nunito', system-ui, sans-serif
}

*,
*::before,
*::after {
    margin: 0;
    box-sizing: border-box
}

[hidden] {
    display: none !important
}

html {
    -webkit-text-size-adjust: 100%
}

button,
input {
    font: inherit;
    color: inherit
}

.menu-body {
    background-color: var(--ink);
    color: var(--chalk);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent
}

.menu-body * {
    padding: 0
}

.menu-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 999
}

.menu-body ::-webkit-scrollbar {
    width: 6px
}

.menu-body ::-webkit-scrollbar-track {
    background: var(--ink-soft)
}

.menu-body ::-webkit-scrollbar-thumb {
    background: var(--ink-muted);
    border-radius: 3px
}

.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none
}

.blob-1,
.blob-2,
.blob-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: drift 25s ease-in-out infinite
}

.blob-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(226, 182, 87, 0.07) 0%, transparent 70%);
    top: -20%;
    left: -15%;
    animation-duration: 28s
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(27, 77, 62, 0.25) 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation-duration: 22s;
    animation-delay: -8s
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 71, 111, 0.05) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-duration: 35s;
    animation-delay: -15s
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    25% {
        transform: translate(40px, -60px) scale(1.08)
    }

    50% {
        transform: translate(-30px, 40px) scale(0.94)
    }

    75% {
        transform: translate(60px, 20px) scale(1.05)
    }
}

.home-button {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--chalk);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    opacity: 0.6;
    transition: all 0.35s var(--ease-out-expo);
    z-index: 2000;
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.home-button:hover {
    opacity: 1;
    transform: translateX(-5px)
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px
}

.menu-body h1,
.menu-body h2,
.menu-body h3 {
    font-family: var(--font);
    line-height: 1.15;
    font-weight: 700
}

.menu-body h1 {
    font-size: clamp(2rem, 5vw, 3.5rem)
}

.menu-body h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem)
}

.menu-body h3 {
    font-size: 1.3rem
}

.subtitle {
    color: var(--chalk-dim);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.01em
}

.gq-option-label,
.opt-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--chalk-dim)
}

.gq-option-label {
    margin-top: 20px
}

.header {
    text-align: center;
    padding: 60px 0 40px
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px
}

.logo-icon {
    filter: drop-shadow(0 0 12px rgba(226, 182, 87, 0.4));
    animation: bob 3s ease-in-out infinite
}

@keyframes bob {

    0%,
    100% {
        transform: rotate(-5deg) scale(1)
    }

    50% {
        transform: rotate(5deg) scale(1.05)
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 28px;
    border-radius: var(--r-sm);
    font-family: var(--font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.2s var(--ease-spring), filter 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    white-space: nowrap
}

.btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.08)
}

.btn:active {
    transform: translateY(0) scale(0.97)
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.4)
}

.btn-primary {
    background: var(--gold);
    box-shadow: 0 6px 20px rgba(226, 182, 87, 0.3), var(--glow-gold)
}

.btn-secondary {
    background: var(--felt);
    color: var(--chalk);
    border: 1.5px solid rgba(226, 182, 87, 0.28)
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--chalk-ghost);
    color: var(--chalk-dim);
    font-size: 13px
}

.btn-outline:hover {
    border-color: var(--chalk);
    color: var(--chalk)
}

.menu-body input[type="text"] {
    background: var(--ink-soft);
    border: 1.5px solid var(--ink-muted);
    border-radius: var(--r-sm);
    color: var(--chalk);
    font-family: var(--font);
    font-size: 14px;
    padding: 13px 18px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    width: 100%
}

.menu-body input[type="text"]::placeholder {
    color: var(--chalk-ghost)
}

.menu-body input[type="text"]:focus {
    border-color: var(--gold);
    background: var(--ink-mid);
    box-shadow: 0 0 0 3px rgba(226, 182, 87, 0.12)
}

.main-menu {
    max-width: 900px !important;
    padding-top: 0;
    text-align: center
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 6, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: auto;
    z-index: 200;
    animation: fadeIn 0.3s ease
}

#profileOverlay {
    z-index: 300
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.popup {
    background: linear-gradient(145deg, var(--ink-mid) 0%, var(--ink) 100%);
    border: 1px solid var(--ink-muted);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(243, 239, 230, 0.03);
    padding: 32px 28px;
    border-radius: var(--r-lg);
    text-align: center;
    max-width: 560px;
    width: 100%;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: popIn 0.4s var(--ease-spring);
    position: relative
}

@keyframes popIn {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1
    }
}

.popup>* {
    flex-shrink: 0
}

.popup h2 {
    color: var(--chalk)
}

.popup p {
    color: var(--chalk-dim);
    font-size: 0.95rem
}

.popup .btn {
    width: 100%
}

@keyframes fadeInUp {
    from {
        transform: translateY(24px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.animate-up {
    animation: fadeInUp 0.5s var(--ease-out-expo) both
}

.animate-up-2 {
    animation: fadeInUp 0.5s var(--ease-out-expo) 0.1s both
}

.gs-menu {
    max-width: 1000px !important
}

.gs-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px
}

.gs-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 32px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--ink-muted);
    background: var(--ink-soft);
    color: var(--chalk-dim);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease-spring);
    font-family: var(--font)
}

.gs-tab:hover {
    border-color: var(--chalk-ghost);
    color: var(--chalk)
}

.gs-tab.active {
    border-color: var(--gold);
    background: rgba(226, 182, 87, 0.1);
    color: var(--gold);
    box-shadow: 0 0 16px rgba(226, 182, 87, 0.15)
}

.gs-options {
    background: var(--surface-1);
    border: 1px solid var(--ink-muted);
    border-radius: var(--r-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
    animation: fadeInUp 0.4s var(--ease-out-expo) both
}

.gs-start-btn {
    align-self: center;
    padding: 14px 40px;
    font-size: 15px;
    gap: 10px;
    margin-top: 12px
}

.gs-name-row {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.gs-name-input {
    width: 100%;
    max-width: 280px;
    min-height: 44px
}

.gs-multi-card {
    background: linear-gradient(145deg, rgba(34, 30, 26, 0.5), rgba(18, 16, 14, 0.7));
    border: 1.5px solid var(--ink-muted);
    border-radius: var(--r-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    text-align: center
}

.gs-multi-icon {
    font-size: 2.4rem;
    background: var(--ink-soft);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    border: 1px solid rgba(226, 182, 87, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
    margin: 0 auto 4px
}

.gs-multi-card h3 {
    font-size: 1.4rem;
    color: var(--chalk);
    margin: 0
}

.gs-multi-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--chalk-ghost);
    margin: -8px 0 0
}

.gs-join-row {
    display: flex;
    gap: 12px;
    margin-top: 8px
}

.gs-room-input {
    flex: 1;
    min-height: 48px;
    text-transform: uppercase;
    text-align: center;
    font-size: 20px !important;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold) !important;
    background: var(--ink) !important;
    border: 2px solid var(--ink-muted) !important;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.5)
}

.gs-status {
    font-size: 13px;
    color: var(--rose);
    min-height: 18px;
    margin: 0;
    text-align: center
}

.gs-waiting-popup {
    max-width: 560px
}

.gs-room-code-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--ink-soft);
    border: 1px solid var(--ink-muted);
    border-radius: var(--r-md);
    width: 100%
}

.gs-room-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--chalk-ghost)
}

.gs-room-code {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-shadow: var(--glow-gold)
}

.gs-copy-btn {
    width: auto !important;
    min-height: 44px;
    padding: 6px 18px
}

.gs-waiting-hint {
    font-size: 13px;
    color: var(--chalk-dim);
    text-align: center
}

.gs-leave-btn {
    color: var(--rose) !important;
    border-color: var(--rose) !important
}

.wc-rules {
    background: var(--ink-soft);
    border: 1px solid var(--ink-muted);
    border-radius: var(--r-md);
    padding: 24px 28px;
    text-align: left
}

.wc-rules h3 {
    color: var(--chalk);
    margin: 0 0 12px
}

.wc-rules ol {
    margin: 0;
    padding-left: 1.3em;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--chalk-dim);
    font-size: 14px;
    line-height: 1.5
}

.menu-body .wc-rules ol {
    padding-left: 1.3em
}

.wc-rules strong {
    color: var(--gold);
    font-weight: 600
}

.pub-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    line-height: 1
}

.pub-section {
    width: 100%
}

.pub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.pub-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--chalk-dim)
}

.pub-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    background: rgba(226, 182, 87, 0.14);
    padding: 2px 8px;
    border-radius: 999px
}

.pub-box {
    min-height: 200px;
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    border-radius: var(--r-md);
    border: 1px solid rgba(243, 239, 230, 0.1);
    background: rgba(0, 0, 0, 0.26)
}

.pub-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%
}

.pub-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--chalk-dim);
    gap: 4px;
    padding: 12px
}

.pub-empty i {
    font-size: 26px;
    font-style: normal;
    color: var(--gold)
}

.pub-empty p {
    font-size: 14px;
    font-weight: 700;
    margin: 0 !important
}

.pub-empty small {
    font-size: 12px;
    opacity: 0.75
}

.pub-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(243, 239, 230, 0.1);
    background: rgba(243, 239, 230, 0.05);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s
}

.pub-card:hover {
    background: rgba(226, 182, 87, 0.14);
    border-color: var(--gold)
}

.pub-card-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0
}

.pub-host-name {
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px
}

.pub-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--chalk-dim)
}

.pub-code {
    font-family: monospace;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 700
}

.pub-card-join {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0
}

.pub-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px
}

.pub-nav-btn {
    min-height: 44px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(243, 239, 230, 0.14);
    background: rgba(243, 239, 230, 0.06);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: inherit;
    cursor: pointer
}

.pub-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed
}

.pub-page {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--chalk-dim)
}

.pub-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    font-size: 15px;
    cursor: pointer
}

.pub-check input {
    width: 22px;
    height: 22px;
    accent-color: var(--gold)
}

.gs-subtabs {
    display: flex;
    gap: 10px;
    justify-content: center
}

.gs-subtab {
    flex: 1;
    max-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--ink-muted);
    background: var(--ink-soft);
    color: var(--chalk-dim);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s var(--ease-spring)
}

.gs-subtab:hover {
    border-color: var(--chalk-ghost);
    color: var(--chalk)
}

.gs-subtab.active {
    border-color: var(--gold);
    background: rgba(226, 182, 87, 0.12);
    color: var(--gold);
    box-shadow: 0 0 14px rgba(226, 182, 87, 0.15)
}

.pub-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--chalk-dim);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 4px 0
}

.pub-divider::before,
.pub-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ink-muted)
}

.ct-teams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%
}

.ct-col {
    background: var(--ink-soft);
    border: 1.5px solid var(--ink-muted);
    border-radius: var(--r-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 140px;
    transition: border-color 0.2s
}

.ct-col.ok {
    border-color: var(--gold)
}

.ct-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--chalk-dim)
}

.ct-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    border: 1px solid var(--ink-muted);
    background: var(--surface-3);
    color: var(--chalk);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    overflow: hidden
}

.ct-chip span {
    color: var(--gold);
    font-size: 20px;
    line-height: 1
}

.ct-chip.me {
    border-color: var(--gold)
}

.ct-chip:disabled {
    cursor: default
}

.ct-mini {
    flex: none;
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: var(--r-sm);
    border: 1px solid var(--ink-muted);
    background: transparent;
    color: var(--chalk-dim);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer
}

.seat-board {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%
}

.seat-cols {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.seat-cols.ct-teams {
    display: grid
}

.seat-row {
    display: flex;
    align-items: center;
    gap: 6px
}

.sdot {
    flex: none;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 50%;
    border: 2px solid rgba(243, 239, 230, 0.6);
    vertical-align: middle
}

.seat-txt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.order-line {
    font-size: 13px;
    color: var(--chalk-dim);
    text-align: center
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    width: 100%
}

.mode-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 44px;
    padding: 12px;
    border-radius: var(--r-md);
    border: 2px solid rgba(226, 182, 87, 0.28);
    background: var(--felt);
    color: var(--chalk);
    text-align: left;
    cursor: pointer
}

.mode-card.sel {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(226, 182, 87, 0.25)
}

.mode-card.locked {
    cursor: default
}

.mode-card[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none
}

.mode-card svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round
}

.mode-card svg .f {
    fill: var(--gold);
    stroke: none
}

.mode-card b {
    font-size: 16px
}

.mode-card small {
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--chalk-dim)
}

.mode-card em {
    font-style: normal;
    font-size: 12.5px;
    color: var(--gold)
}

.soon-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700
}

.prof-box {
    max-height: 260px;
    overflow-y: auto;
    padding: 6px 8px;
    border-radius: var(--r-md);
    border: 1px solid rgba(243, 239, 230, 0.1);
    background: rgba(0, 0, 0, 0.26);
    text-align: left
}

.prof-box h4 {
    margin: 10px 0 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold)
}

.prof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px
}

.prof {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: 52px;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--ink-muted);
    background: var(--surface-3);
    color: var(--chalk);
    text-align: left;
    cursor: pointer
}

.prof small {
    color: var(--chalk-dim);
    font-size: 12.5px
}

.prof.sel {
    border-color: var(--gold);
    background: rgba(226, 182, 87, 0.12)
}

.prof:disabled {
    opacity: 0.4;
    cursor: default
}

@media (max-width: 640px) {
    .popup {
        padding: 24px 16px
    }

    .gs-menu {
        padding: 20px
    }

    .gs-options {
        padding: 20px;
        gap: 20px
    }

    .gs-multi-card {
        padding: 24px;
        gap: 16px
    }

    .gs-multi-icon {
        width: 44px;
        height: 44px;
        font-size: 1.6rem
    }

    .header {
        padding: 48px 0 28px
    }

    .wc-rules {
        padding: 20px
    }

    .gs-tab {
        padding: 12px 18px;
        font-size: 14px
    }
}

@media (max-width: 380px) {
    .ct-teams {
        grid-template-columns: 1fr
    }
}

@media (orientation: landscape) and (max-height: 520px) {
    .header {
        padding: 40px 0 16px
    }

    .gs-tabs {
        margin-bottom: 16px
    }
}

.popup {
    overflow-x: hidden
}

.seat-board {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px
}

.seat-cols {
    width: max-content;
    min-width: 100%
}

.seat-cols.ct-teams {
    grid-template-columns: repeat(2, minmax(max-content, 1fr))
}

.seat-row {
    min-width: max-content
}

.seat-row .ct-chip {
    flex: 1 0 auto
}

.order-line {
    position: sticky;
    left: 0
}

@media (max-width: 380px) {
    .seat-cols.ct-teams {
        grid-template-columns: minmax(max-content, 1fr)
    }
}
