/* LAN Hub — local Bootstrap foundation, original theme. No build step. */
:root {
    --hub-bg: #101217;
    --hub-sidebar: #0c0e12;
    --hub-surface: #191c23;
    --hub-surface-raised: #20242d;
    --hub-field: #111419;
    --hub-border: #2c303a;
    --hub-muted: #9ca2b1;
    --hub-text: #f0f1f4;
    --hub-accent: #c5f467;
    --hub-accent-soft: #c5f46712;
    --hub-violet: #b59bf5;
    --hub-blue: #8ac7ed;
    --hub-radius: 12px;
    --bs-body-bg: var(--hub-bg);
    --bs-body-color: var(--hub-text);
    --bs-secondary-color: var(--hub-muted);
    --bs-border-color: var(--hub-border);
    --bs-font-sans-serif: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --bs-link-color: var(--hub-accent);
    --bs-link-hover-color: #d9ff98;
    --bs-emphasis-color: var(--hub-text);
    --bs-body-font-size: .9375rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--hub-bg); color: var(--hub-text); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--hub-accent); }
button, input, textarea, select { font: inherit; }
button { touch-action: manipulation; }
::selection { background: var(--hub-accent); color: #12160d; }
:focus-visible { outline: 3px solid var(--hub-accent); outline-offset: 4px; }
h1, h2, h3, h4 { font-weight: 750; letter-spacing: -.04em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
h3 { font-size: 1.25rem; }
p { line-height: 1.65; }
.icon { display: inline-block; flex: 0 0 auto; vertical-align: -.2em; }
.text-accent, .heading-dot { color: var(--hub-accent); }
.muted { color: var(--hub-muted); }
.surface { background: var(--hub-surface); border: 1px solid var(--hub-border); border-radius: var(--hub-radius); }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--hub-muted); font-size: .66rem; font-weight: 750; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; background: var(--hub-accent); border-radius: 50%; box-shadow: 0 0 10px #c5f42535; }
.tiny-square { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; background: var(--hub-accent); }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 18px; background: var(--hub-accent); color: #101217; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
/* App frame */
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; width: 230px; padding: 33px 20px 0; background: var(--hub-sidebar); border-right: 1px solid #252830; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.28rem; font-weight: 850; letter-spacing: -.06em; white-space: nowrap; color: #f6f7fa; }
.brand:hover { color: #fff; }
.brand-slashes { color: var(--hub-accent); padding: 0 2px; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 11px); grid-template-rows: repeat(2, 11px); gap: 3px; transform: rotate(-4deg); }
.brand-mark span { background: var(--hub-accent); }
.brand-mark span:last-child { opacity: .4; }
.sidebar-caption { display: flex; align-items: center; justify-content: space-between; margin-top: 37px; padding: 0 11px; font-size: .6rem; letter-spacing: .17em; font-weight: 700; color: #6f7785; }
.sidebar-caption .status-dot { width: 5px; height: 5px; box-shadow: none; }
.sidebar-nav { display: grid; gap: 6px; margin-top: 14px; }
.sidebar-nav .nav-link { display: flex; align-items: center; gap: 11px; min-height: 45px; padding: 0 12px; border-radius: 7px; color: #a0a5b1; font-size: .82rem; font-weight: 550; border: 1px solid transparent; }
.sidebar-nav .nav-link:hover { background: #ffffff05; color: #f6f7fa; }
.sidebar-nav .nav-link.active { background: #c5f4670d; color: var(--hub-accent); border-color: #c5f46720; }
.nav-key { margin-left: auto; color: #59616f; font-size: .65rem; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.active .nav-key { color: #809952; }
.nav-external { width: 13px; height: 13px; margin-left: auto; opacity: .65; }
.sidebar-bottom { margin-top: auto; }
.sidebar-note { display: flex; align-items: center; gap: 12px; padding: 27px 10px; }
.note-pixel { display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 250; color: #4d5543; }
.sidebar-note p { margin: 0; color: #6d7481; font-size: .7rem; line-height: 1.6; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 19px 0 22px; border-top: 1px solid #252830; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; background: #2c2639; color: #c8b1f9; border: 1px solid #b59bf526; border-radius: 8px; font-size: .69rem; font-weight: 750; letter-spacing: .01em; }
.sidebar-user-info { display: grid; gap: 2px; min-width: 0; }
.sidebar-user-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; font-weight: 600; }
.sidebar-user-info span { color: #6f7785; font-size: .62rem; }
.sidebar-user form { margin-left: auto; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 5px; border: 0; background: transparent; color: var(--hub-muted); border-radius: 5px; }
.icon-button:hover { background: #ffffff08; color: var(--hub-text); }
.icon-button .icon { width: 17px; height: 17px; }
.main-column { width: calc(100% - 230px); margin-left: 230px; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; border-bottom: 1px solid #252830; padding: 0 38px; }
.breadcrumb-line { display: flex; align-items: center; gap: 13px; min-width: 0; font-size: .61rem; letter-spacing: .12em; }
.breadcrumb-line > span:not(.tiny-square) { color: #717987; }
.breadcrumb-line strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .72rem; letter-spacing: .01em; font-weight: 550; }
.breadcrumb-separator { opacity: .5; }
.topbar-caption { color: #656c78; font-size: .55rem; font-weight: 650; letter-spacing: .15em; white-space: nowrap; }
.main-content { max-width: 1490px; padding: 35px 38px 0; margin: 0 auto; }
.page-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 65px; padding: 22px 0; border-top: 1px solid #272b34; font-size: .65rem; color: #727a87; }
.page-footer > span:first-child { font-size: .72rem; font-weight: 800; letter-spacing: -.02em; color: #a2a8b3; }
/* Buttons and fields */
.btn { --bs-btn-padding-x: 18px; --bs-btn-padding-y: 11px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 43px; border-radius: 6px; font-size: .8rem; font-weight: 700; line-height: 1.3; box-shadow: none; }
.btn .icon { width: 17px; height: 17px; }
.btn-primary { --bs-btn-color: #18200d; --bs-btn-bg: var(--hub-accent); --bs-btn-border-color: var(--hub-accent); --bs-btn-hover-color: #18200d; --bs-btn-hover-bg: #d4ff84; --bs-btn-hover-border-color: #d4ff84; --bs-btn-active-color: #18200d; --bs-btn-active-bg: #b7e05e; --bs-btn-active-border-color: #b7e05e; --bs-btn-disabled-color: #86916e; --bs-btn-disabled-bg: #333b26; --bs-btn-disabled-border-color: #404833; --bs-btn-disabled-opacity: 1; }
.btn-secondary { --bs-btn-color: #e2e5ed; --bs-btn-bg: #242832; --bs-btn-border-color: #373d49; --bs-btn-hover-color: #f4f6fc; --bs-btn-hover-bg: #2f3440; --bs-btn-hover-border-color: #566070; --bs-btn-active-color: #f4f6fc; --bs-btn-active-bg: #2f3440; --bs-btn-active-border-color: #566070; }
.btn-danger { --bs-btn-color: #f8c4c6; --bs-btn-bg: #4e242c; --bs-btn-border-color: #713843; --bs-btn-hover-color: white; --bs-btn-hover-bg: #6d2e3a; --bs-btn-hover-border-color: #8a4451; }
.btn-sm { --bs-btn-padding-x: 13px; --bs-btn-padding-y: 8px; min-height: 36px; font-size: .73rem; }
.btn:focus-visible { outline: 3px solid var(--hub-accent); outline-offset: 4px; box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; color: #acb2c0; }
.text-link .icon { width: 14px; height: 14px; }
.text-button { padding: 0; border: none; background: transparent; color: var(--hub-muted); font-size: .7rem; text-underline-offset: 4px; }
.text-button:hover { color: var(--hub-text); text-decoration: underline; }
.form-label { display: block; margin-bottom: 8px; color: #cbd0da; font-size: .73rem; font-weight: 600; }
.form-control, .form-select { min-height: 43px; padding: 11px 12px; background-color: var(--hub-field); border-color: #343945; border-radius: 6px; color: #eff0f4; font-size: .8rem; box-shadow: none; }
.form-select { padding-right: 30px; }
.form-control::placeholder { color: #68717f; opacity: 1; }
.form-control:focus, .form-select:focus { background-color: var(--hub-field); color: #f6f7fa; border-color: #99b957; box-shadow: 0 0 0 3px #c5f46710; }
.form-control:disabled, .form-select:disabled { background-color: #1a1d23; color: #737a88; opacity: .75; }
textarea.form-control { resize: vertical; min-height: 88px; }
.stack-form { display: grid; gap: 19px; }
.stack-form fieldset { margin: 0; padding: 0; border: none; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-two-col > div { min-width: 0; }
.form-text { margin-top: 6px; color: #8992a1; font-size: .64rem; line-height: 1.6; }
.required-mark { color: var(--hub-accent); }
.optional-label { color: #78818f; font-weight: 400; font-size: .62rem; }
.cancel-link { color: var(--hub-muted); text-align: center; font-size: .75rem; }
.app-alert { display: flex; align-items: flex-start; gap: 11px; padding: 14px 18px; margin-bottom: 25px; border-radius: 8px; font-size: .83rem; line-height: 1.6; }
.app-alert .icon { margin-top: 2px; }
.alert-success { --bs-alert-color: #d0eeb0; --bs-alert-bg: #273323; --bs-alert-border-color: #435738; }
.alert-danger { --bs-alert-color: #f4b9bf; --bs-alert-bg: #3b232b; --bs-alert-border-color: #6b3944; }
.alert-info { --bs-alert-color: #b5d6f3; --bs-alert-bg: #1e2d3b; --bs-alert-border-color: #354b60; }
.alert-warning { --bs-alert-color: #ead5a7; --bs-alert-bg: #342d22; --bs-alert-border-color: #605139; }
/* Lobby */
.lobby-hero { position: relative; overflow: hidden; min-height: 315px; padding: 36px 40px; border: 1px solid #3a4231; border-radius: var(--hub-radius); background: linear-gradient(115deg, #20261d 0, #1a201a 47%, #171c1b 100%); }
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.lobby-hero .eyebrow { color: #b7c5a6; font-size: .62rem; }
.lobby-hero h1 { margin: 18px 0 15px; font-size: clamp(2.25rem, 3.75vw, 3.6rem); line-height: 1.04; letter-spacing: -.055em; }
.lobby-hero h1 > span { color: var(--hub-accent); }
.lobby-hero p { color: #a8b1a7; font-size: .83rem; line-height: 1.8; margin: 0 0 23px; }
.lobby-hero .btn { font-size: .74rem; padding: 11px 15px; }
.hero-art { position: absolute; inset: 0 0 0 54%; pointer-events: none; opacity: .9; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(#c5f4670a 1px, transparent 1px), linear-gradient(90deg,#c5f4670a 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg,transparent,#000); }
.hero-orbit { position: absolute; left: 50%; top: 48%; width: 280px; height: 280px; border: 1px solid #c5f46718; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-two { width: 360px; height: 360px; }
.hero-controller { position: absolute; top: 24%; left: 27%; width: 210px; height: 135px; transform: rotate(-16deg); color: #c5f467; filter: drop-shadow(0 20px 40px #00000070); }
.hero-controller .icon { width: 100%; height: 100%; stroke-width: .8; fill: #c5f4670a; }
.hero-label { position: absolute; left: 27%; top: 67%; font-size: .48rem; letter-spacing: .28em; font-weight: 700; color: #9aa88c; transform: rotate(-3deg); }
.hero-label span { display: block; margin-top: 5px; font-size: 1.1rem; letter-spacing: .05em; color: #c5f467; }
.hero-cross { position: absolute; top: 15%; right: 14%; font-family: ui-monospace, monospace; font-size: 2rem; color: #c5f46770; }
.lobby-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 41px; }
.stat-item { display: flex; align-items: center; gap: 14px; min-height: 91px; padding: 20px; border: 1px solid var(--hub-border); border-radius: 9px; background: #181b21; }
.stat-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; color: #b9d88a; background: #c5f4670c; border: 1px solid #c5f4670c; }
.stat-icon.violet { background: #b59bf50c; border-color: #b59bf50c; color: #b59bf5; }
.stat-icon.blue { background: #8ac7ed0c; border-color: #8ac7ed0c; color: #8ac7ed; }
.stat-item > div { display: flex; flex-direction: column; gap: 2px; }
.stat-item strong { font-size: 1.5rem; letter-spacing: -.05em; line-height: 1.1; }
.stat-item > div > span { color: var(--hub-muted); font-size: .67rem; }
.stat-index { margin-left: auto; align-self: flex-start; font-size: .6rem; color: #4f5866; font-family: ui-monospace, monospace; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.section-heading h1, .section-heading h2 { margin: 6px 0 0; }
.section-heading .eyebrow { font-size: .59rem; }
.section-description { margin: 10px 0 0; color: var(--hub-muted); font-size: .82rem; }
.session-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.session-card { overflow: hidden; background: #181b22; border: 1px solid var(--hub-border); border-radius: var(--hub-radius); padding: 22px 23px 0; transition: border-color .2s, transform .2s; }
.session-card:hover { border-color: #536345; transform: translateY(-2px); }
.session-card.is-attending { border-top-color: #a0c457; }
.session-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 25px; }
.session-index { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: #78818f; font-size: .59rem; letter-spacing: .11em; }
.state-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #3a404b; border-radius: 4px; color: #a8afbb; background: #252932; font-size: .58rem; font-weight: 600; white-space: nowrap; }
.state-chip .icon { width: 11px; height: 11px; }
.state-chip.confirmed { color: #c5e99c; border-color: #c5f46726; background: #c5f46709; }
.session-title-link { display: block; margin-bottom: 10px; }
.session-title-link h3 { font-size: 1.5rem; letter-spacing: -.045em; overflow-wrap: anywhere; }
.session-date { display: flex; align-items: center; gap: 8px; font-size: .77rem; color: #aeb5c2; }
.session-date .icon { width: 15px; height: 15px; color: #737d8c; }
.session-counts { display: flex; gap: 22px; margin-top: 23px; }
.session-counts > span { display: flex; align-items: center; gap: 6px; font-size: .68rem; color: #8c95a5; }
.session-counts .icon { width: 16px; height: 16px; }
.session-counts strong { color: #c8ced9; font-weight: 600; margin-left: 2px; }
.session-links { display: flex; align-items: center; gap: 10px; margin: 22px 0; }
.session-links a { display: flex; align-items: center; gap: 7px; flex: 1; padding: 10px 11px; color: #c4cbd6; border: 1px solid #303641; border-radius: 5px; background: #20242d; font-size: .71rem; }
.session-links a:hover { border-color: #738755; color: var(--hub-accent); }
.session-links .icon { width: 15px; height: 15px; }
.session-links .icon:last-child { margin-left: auto; width: 13px; height: 13px; }
.session-open { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 -23px; padding: 15px 23px; background: #ffffff02; border-top: 1px solid var(--hub-border); font-size: .73rem; color: #b8c0cc; }
.session-open > span { color: var(--hub-accent); }
.session-open .icon { width: 16px; height: 16px; }
/* Session views */
.back-link { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 25px; color: #8d97a7; font-size: .71rem; }
.back-link .icon { width: 15px; height: 15px; }
.event-heading { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-bottom: 30px; }
.event-heading h1 { margin: 12px 0 15px; font-size: clamp(1.9rem, 3vw, 3rem); overflow-wrap: anywhere; }
.event-meta { display: flex; flex-wrap: wrap; gap: 22px; }
.event-meta > span { display: inline-flex; align-items: center; gap: 7px; color: #a4adbb; font-size: .74rem; }
.event-meta .icon { width: 16px; height: 16px; color: #798495; }
.attendance-control { text-align: center; flex: 0 0 auto; }
.attendance-control small { display: block; margin-top: 8px; color: #7e8898; font-size: .63rem; }
.attendance-badge { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #c5f46735; border-radius: 6px; color: var(--hub-accent); background: #c5f4670a; padding: 11px 16px; font-size: .8rem; font-weight: 650; margin-bottom: 8px; }
.attendance-badge .icon { width: 17px; height: 17px; }
.event-tabs { display: flex; gap: 28px; border-bottom: 1px solid #323742; margin-bottom: 33px; }
.event-tab { display: flex; align-items: center; gap: 8px; padding: 15px 2px; border-bottom: 2px solid transparent; color: #8c96a5; font-size: .8rem; font-weight: 600; margin-bottom: -1px; }
.event-tab .icon { width: 17px; height: 17px; }
.event-tab.active { color: var(--hub-accent); border-bottom-color: var(--hub-accent); }
.tab-count { min-width: 18px; padding: 1px 5px; border-radius: 4px; background: #2d333d; color: #b2bdca; font-size: .61rem; text-align: center; }
.active .tab-count { background: #c5f46715; color: #b8d98c; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-card { display: block; position: relative; padding: 27px; background: linear-gradient(145deg,#20271e,#191e1e); border: 1px solid #34412f; border-radius: var(--hub-radius); transition: border-color .2s; }
.feature-card:hover { border-color: #79994e; color: inherit; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; background: #c5f46712; color: var(--hub-accent); border-radius: 10px; margin-bottom: 25px; }
.feature-icon .icon { width: 29px; height: 29px; }
.feature-card .eyebrow { font-size: .59rem; color: #9caa8b; }
.feature-card h3 { margin: 10px 0 12px; font-size: 1.65rem; }
.feature-card p { max-width: 420px; margin: 0 0 26px; color: #a6b09e; font-size: .8rem; }
.feature-card-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px solid #c5f46715; font-size: .71rem; }
.feature-card-footer > span:first-child { color: #8fa17b; }
.feature-card-footer > span:last-child { display: flex; align-items: center; gap: 6px; color: var(--hub-accent); font-weight: 600; }
.feature-card-footer .icon { width: 15px; height: 15px; }
.planning-feature { background: linear-gradient(145deg,#242032,#1c1b24); border-color: #3f344f; }
.planning-feature:hover { border-color: #8674a6; }
.planning-feature .feature-icon { color: var(--hub-violet); background: #b59bf512; }
.planning-feature .eyebrow { color: #a69bb9; }
.planning-feature p { color: #aaa1ba; }
.planning-feature .feature-card-footer { border-color: #b59bf51a; }
.planning-feature .feature-card-footer > span:first-child { color: #9e8db5; }
.planning-feature .feature-card-footer > span:last-child { color: #c3aaf8; }
.overview-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; align-items: start; }
.crew-panel { padding: 24px; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.section-top h2 { font-size: 1.17rem; margin: 0; letter-spacing: -.025em; }
.count-pill { min-width: 23px; display: inline-grid; place-items: center; padding: 3px 7px; color: #b2bac6; background: #282d37; border-radius: 4px; font-size: .68rem; }
.crew-panel > .muted { font-size: .79rem; }
.crew-list { display: grid; gap: 15px; }
.crew-person { display: flex; align-items: center; gap: 10px; font-size: .78rem; }
.avatar-small { width: 29px; height: 29px; font-size: .58rem; border-radius: 6px; }
.you-label { font-size: .52rem; font-weight: 700; letter-spacing: .08em; color: #b0c394; background: #c5f4670c; padding: 2px 5px; border-radius: 3px; }
.crew-check { margin-left: auto; color: #a0bd78; }
.crew-check .icon { width: 15px; height: 15px; }
.how-to-panel { padding: 25px; }
.how-to-panel h2 { font-size: 1.15rem; margin: 10px 0 22px; }
.how-to-panel .eyebrow { font-size: .57rem; }
.how-to-item { display: flex; align-items: flex-start; gap: 13px; margin-top: 17px; }
.how-to-item > span { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; border: 1px solid #394133; border-radius: 5px; color: #b6ca9c; font-size: .6rem; }
.how-to-item p { color: #929dab; font-size: .74rem; margin: 0; }
.how-to-item strong { display: block; font-weight: 600; font-size: .77rem; color: #d7dce5; margin-bottom: 3px; }
/* Games */
.vote-banner { display: flex; align-items: center; gap: 15px; padding: 17px 22px; margin-bottom: 26px; background: #c5f46708; border: 1px solid #c5f46725; border-radius: 8px; }
.vote-banner-icon { display: grid; place-items: center; width: 38px; height: 38px; background: #c5f46712; border-radius: 7px; color: var(--hub-accent); }
.vote-banner-copy { flex: 1; }
.vote-banner-copy strong { display: block; color: #d7e8c0; font-size: .79rem; margin-bottom: 4px; font-weight: 650; }
.vote-banner-copy > span { display: block; color: #99a18f; font-size: .68rem; line-height: 1.6; }
.vote-budget { display: grid; text-align: right; padding-left: 20px; flex: 0 0 auto; }
.vote-budget > strong { color: var(--hub-accent); font-size: 1.65rem; font-weight: 750; line-height: 1.2; letter-spacing: -.04em; }
.vote-budget > strong > span { color: #879a6f; font-size: 1rem; font-weight: 500; }
.vote-budget > span { color: #9da88f; font-size: .59rem; }
.vote-banner.awaiting { border-color: #b59bf52b; background: #b59bf508; }
.awaiting .vote-banner-icon { background: #b59bf512; color: var(--hub-violet); }
.awaiting .vote-banner-copy strong { color: #d3c5ee; }
.awaiting .vote-banner-copy > span { color: #a199af; }
.content-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 27px; align-items: start; }
.content-with-aside > * { min-width: 0; }
.list-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 16px; font-size: .72rem; color: #a4adbb; }
.list-heading strong { color: #ecedf2; font-weight: 650; }
.sort-label { color: #757f8f; font-size: .64rem; }
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.game-card { --game-color: #bda5e8; --game-background: #302b40; overflow: hidden; background: #191d24; border: 1px solid #303641; border-radius: 10px; }
.game-tone-1 { --game-color: #9fc8df; --game-background: #263a46; }
.game-tone-2 { --game-color: #d0cb8e; --game-background: #3b3b28; }
.game-tone-3 { --game-color: #d5a7a2; --game-background: #3d2d30; }
.game-card.has-vote { border-color: #a0c45770; }
.game-cover { position: relative; overflow: hidden; height: 130px; background: radial-gradient(ellipse at 90% 20%,var(--game-background),#151922); border-bottom: 1px solid #ffffff0a; }
.game-cover-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px); background-size: 21px 21px; mask-image: linear-gradient(90deg,transparent,black); }
.game-monogram { position: absolute; right: 13px; bottom: -13px; font-size: 6.7rem; line-height: 1; font-weight: 850; letter-spacing: -.085em; color: var(--game-color); opacity: .33; transform: rotate(-8deg); }
.game-rank { position: absolute; z-index: 1; top: 13px; left: 14px; font-size: .6rem; letter-spacing: .04em; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--game-color); }
.game-score { display: inline-flex; align-items: center; gap: 5px; position: absolute; left: 14px; bottom: 13px; z-index: 1; padding: 6px 8px; border: 1px solid #ffffff1a; background: #101217c9; border-radius: 4px; backdrop-filter: blur(4px); }
.game-score > .icon { width: 13px; height: 13px; color: var(--game-color); }
.game-score > strong { font-size: .74rem; line-height: 1; }
.game-score > span { font-size: .57rem; color: #a5a9b6; }
.game-selected { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; color: #d2eeb2; background: #22301feb; border: 1px solid #a2be7860; font-size: .5rem; font-weight: 750; letter-spacing: .05em; padding: 4px 6px; border-radius: 3px; }
.game-selected .icon { width: 11px; height: 11px; }
.game-body { padding: 17px 17px 13px; }
.game-title-row { min-height: 47px; }
.game-title-row h3 { font-size: 1.07rem; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 9px; overflow-wrap: anywhere; }
.game-details { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 22px; margin-bottom: 7px; }
.price { font-size: .79rem; font-weight: 700; color: #d8eac1; }
.price-unknown { font-weight: 500; color: #8d97a7; font-size: .7rem; }
.store-name { padding: 2px 6px; background: #2b3039; border-radius: 3px; color: #a6b0bf; font-size: .56rem; max-width: 100%; overflow-wrap: anywhere; }
.shop-link { display: inline-flex; align-items: center; gap: 5px; color: #a5bdbf; font-size: .64rem; }
.shop-link .icon { width: 11px; height: 11px; }
.empty-shop { color: #687482; }
.game-submitter { color: #7d899a; font-size: .59rem; margin: 12px 0 17px; overflow-wrap: anywhere; }
.game-submitter strong { color: #a8b4c3; font-weight: 500; }
.ownership-form { padding-top: 13px; border-top: 1px solid #303743; }
.ownership-form legend { float: none; margin-bottom: 8px; font-size: .64rem; font-weight: 600; color: #a7b3c1; }
.ownership-options { display: flex; align-items: stretch; gap: 3px; padding: 3px; border: 1px solid #313945; background: #11171e; border-radius: 5px; }
.ownership-option { flex: 1 1 auto; background: transparent; border: 1px solid transparent; border-radius: 3px; min-height: 30px; padding: 4px 2px; color: #8e9aad; font-size: .55rem; font-weight: 550; line-height: 1.3; }
.ownership-option:hover { color: #e0e8ee; background: #ffffff08; }
.ownership-option.selected { background: #a3be781a; border-color: #a3be7838; color: #c8e5a7; }
.ownership-summary { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: 10px 0 15px; min-height: 14px; font-size: .53rem; color: #8f9aab; }
.ownership-summary > span { display: inline-flex; align-items: center; gap: 4px; }
.ownership-dot { width: 4px; height: 4px; background: #a9cc7a; border-radius: 50%; }
.vote-button { width: 100%; min-height: 38px; border: 1px solid #414d3b; background: #c5f4670a; color: #c2d6a8; padding: 8px 5px; font-size: .65rem; gap: 5px; }
.vote-button:hover { color: #d4f3b0; background: #c5f4671a; border-color: #859f63; }
.vote-button .icon { width: 14px; height: 14px; }
.vote-button.voted { border-color: #c5f4676e; background: #c5f46719; color: #c5f467; }
.vote-button:disabled { border-color: #363e49; background: #242b34; color: #7e899a; opacity: .85; }
.item-actions { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; }
.item-actions > a, .delete-detail summary { display: inline-flex; align-items: center; gap: 5px; color: #8794a6; font-size: .59rem; }
.item-actions > a:hover { color: #c8d5e3; }
.item-actions .icon { width: 12px; height: 12px; }
.delete-detail summary { list-style: none; cursor: pointer; }
.delete-detail summary::-webkit-details-marker { display: none; }
.delete-detail summary:hover { color: #e6a6ac; }
.delete-detail[open] summary { color: #e6a6ac; }
.delete-confirm { position: absolute; z-index: 10; right: 0; top: 24px; width: min(260px, 100%); padding: 13px; background: #30232b; border: 1px solid #6b3944; border-radius: 6px; box-shadow: 0 10px 30px #0005; }
.game-card:has(.delete-detail[open]) { overflow: visible; }
.delete-confirm p { margin: 0 0 10px; color: #e3c4ca; font-size: .68rem; }
.delete-confirm .btn { min-height: 31px; font-size: .65rem; }
.form-panel { padding: 23px; scroll-margin-top: 24px; }
.sticky-panel { position: sticky; top: 24px; }
.form-panel-icon { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 19px; color: var(--hub-accent); background: #c5f4670e; border: 1px solid #c5f46720; border-radius: 7px; }
.form-panel-icon .icon { width: 20px; height: 20px; }
.form-panel-icon.violet { color: var(--hub-violet); background: #b59bf50e; border-color: #b59bf520; }
.form-panel .eyebrow { font-size: .55rem; }
.form-panel h3 { margin: 8px 0 10px; font-size: 1.25rem; }
.form-intro { font-size: .72rem; margin-bottom: 23px; }
.form-panel .btn { font-size: .72rem; }
.form-panel .form-label { font-size: .67rem; }
.form-panel .form-control, .form-panel .form-select { font-size: .72rem; }
.form-panel .form-select { padding-left: 9px; }
.section-footnote { margin: 19px 0 0; color: #7a8798; font-size: .63rem; }
/* Planning */
.notice-banner { display: flex; align-items: center; gap: 13px; padding: 17px 20px; margin-bottom: 26px; background: #b59bf508; border: 1px solid #b59bf525; border-radius: 8px; }
.notice-banner > .icon { color: #b59bf5; }
.notice-banner p { font-size: .72rem; color: #aaa2ba; margin: 0; flex: 1; }
.notice-banner p strong { color: #d5c5ef; }
.notice-banner form { flex-shrink: 0; }
.planning-categories { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 25px; }
.category-stat { display: flex; flex-direction: column; align-items: flex-start; padding: 13px 12px; border: 1px solid var(--hub-border); background: #181d25; border-radius: 7px; }
.category-stat > .icon { width: 19px; height: 19px; margin-bottom: 10px; color: #b4a4cb; }
.category-stat > span { font-size: .58rem; color: #98a3b2; }
.category-stat > strong { font-size: 1.25rem; color: #dee3ed; margin-top: 2px; font-weight: 700; }
.bring-list { display: grid; gap: 12px; }
.bring-card { position: relative; display: flex; align-items: flex-start; gap: 14px; background: #191e26; border: 1px solid #303845; border-radius: 9px; padding: 19px; }
.bring-icon { display: grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; border-radius: 8px; background: #b59bf50d; color: #b3a0d4; }
.bring-icon .icon { width: 21px; height: 21px; }
.category-food { background: #d6b88a0d; color: #d6b88a; }
.category-drinks { background: #8ac7ed0d; color: #8ac7ed; }
.category-equipment { background: #c5f4670d; color: #b4cd8e; }
.bring-content { min-width: 0; flex: 1; }
.bring-category { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #8290a2; font-size: .54rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 5px; }
.bring-content h3 { font-size: 1rem; letter-spacing: -.02em; margin: 0 0 10px; overflow-wrap: anywhere; }
.bring-person { display: flex; align-items: center; gap: 6px; color: #98a6b7; font-size: .62rem; }
.avatar-tiny { width: 20px; height: 20px; border-radius: 4px; font-size: .44rem; }
.bring-note { margin: 10px 0 0; color: #9aa8b8; font-size: .69rem; overflow-wrap: anywhere; }
.bring-right { display: flex; align-items: flex-end; flex-direction: column; gap: 10px; max-width: 35%; }
.quantity-badge { padding: 5px 9px; color: #cad5c0; background: #c5f4670c; border: 1px solid #c5f46718; border-radius: 4px; font-size: .66rem; font-weight: 600; overflow-wrap: anywhere; }
.bring-right .item-actions { margin-top: 4px; gap: 13px; }
.bring-right .item-actions .icon { width: 14px; height: 14px; }
.bring-right .delete-confirm { top: 25px; min-width: 220px; }
.is-paused { border-style: dashed; background: #171b22; }
.is-paused .bring-icon, .is-paused .bring-content, .is-paused .quantity-badge { opacity: .6; }
.paused-label { display: inline-block; color: #c4af89; font-size: .48rem; background: #92784b1a; border: 1px solid #92784b35; padding: 2px 4px; border-radius: 3px; }
.planning-crew { margin-top: 25px; }
.planning-crew .crew-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 30px; }
/* Empty, account and errors */
.empty-state { padding: 48px 25px; text-align: center; }
.empty-icon { display: inline-grid; place-items: center; width: 66px; height: 66px; margin-bottom: 22px; border: 1px solid #4a533b; border-radius: 13px; color: #a9c583; background: #c5f46707; transform: rotate(-4deg); }
.empty-icon .icon { width: 29px; height: 29px; transform: rotate(4deg); }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 12px; }
.empty-state p { max-width: 420px; margin: 0 auto 22px; color: #8d9bad; font-size: .78rem; }
.empty-state p:last-child { margin-bottom: 0; }
.empty-state .btn { font-size: .74rem; }
.empty-state.compact { padding: 30px 20px; }
.account-heading { margin-bottom: 30px; }
.account-grid { display: grid; grid-template-columns: minmax(230px, .75fr) 1.25fr; align-items: start; gap: 24px; max-width: 930px; }
.profile-card { padding: 36px 25px 26px; text-align: center; }
.avatar-large { width: 74px; height: 74px; font-size: 1.3rem; border-radius: 15px; margin-bottom: 20px; }
.profile-card h2 { font-size: 1.4rem; overflow-wrap: anywhere; }
.profile-email { font-size: .74rem; margin: 10px 0 18px; overflow-wrap: anywhere; }
.profile-card .state-chip { font-size: .63rem; padding: 6px 9px; }
.profile-note { padding-top: 24px; margin-top: 27px; border-top: 1px solid #303742; color: #8c99ab; font-size: .71rem; line-height: 1.8; }
.password-panel { padding: 30px; }
.password-panel h2 { font-size: 1.35rem; }
.password-panel > p { font-size: .78rem; margin: 12px 0 25px; }
.error-content { max-width: 650px; padding: 70px 20px; margin: auto; text-align: center; }
.error-content .eyebrow { justify-content: center; margin: 18px 0; }
.error-code { color: #34422a; font-size: 7.8rem; line-height: 1; font-weight: 800; letter-spacing: -.1em; }
.error-code > span { color: var(--hub-accent); }
.error-content h1 { font-size: 2.2rem; }
.error-content p { margin: 20px 0 30px; color: var(--hub-muted); }
.error-page .guest-main { min-height: 100vh; display: grid; place-items: center; }
/* Login */
.login-page { background: #101217; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: 1.12fr 1fr; }
.login-story { position: relative; overflow: hidden; padding: 42px 55px 30px; display: flex; flex-direction: column; background: linear-gradient(150deg,#1e281d,#131914 80%); border-right: 1px solid #34402b; }
.login-story::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#c5f46706 1px,transparent 1px),linear-gradient(90deg,#c5f46706 1px,transparent 1px); background-size: 38px 38px; }
.login-story > * { position: relative; z-index: 1; }
.login-story .brand { font-size: 1.5rem; }
.login-story-body { margin: auto 0; padding-top: 66px; }
.login-story-body .eyebrow { color: #a4b292; font-size: .6rem; }
.login-story h1 { font-size: clamp(2.4rem, 4vw, 4.3rem); letter-spacing: -.06em; margin: 22px 0 23px; line-height: 1.08; }
.login-story h1 > span { color: var(--hub-accent); }
.login-story-body > p { color: #9dab96; font-size: .84rem; line-height: 1.9; }
.login-art { position: relative; height: 190px; width: 320px; margin: 20px 0 30px 20px; }
.art-orbit { position: absolute; left: 50%; top: 50%; width: 260px; height: 170px; border: 1px solid #c5f46720; border-radius: 50%; transform: translate(-50%, -50%) rotate(-15deg); }
.art-controller { position: absolute; width: 185px; height: 145px; top: 20px; left: 65px; color: var(--hub-accent); transform: rotate(-16deg); filter: drop-shadow(0 15px 20px #0008); }
.art-controller .icon { width: 100%; height: 100%; stroke-width: 1.1; fill: #17220e; }
.art-square { position: absolute; background: #b59bf5; opacity: .75; }
.square-one { width: 14px; height: 14px; left: 20px; top: 70px; transform: rotate(-15deg); }
.square-two { width: 8px; height: 8px; right: 22px; bottom: 39px; background: var(--hub-accent); }
.art-cross { position: absolute; right: 25px; top: 13px; color: #c5f46777; font-size: 2rem; font-weight: 200; }
.art-tag { position: absolute; bottom: 5px; left: 95px; color: #7f9965; letter-spacing: .18em; font-size: .51rem; font-family: ui-monospace, monospace; }
.login-story-footer { display: flex; align-items: center; gap: 10px; color: #77876d; font-size: .52rem; font-weight: 650; letter-spacing: .14em; }
.login-story-footer .tiny-square { width: 4px; height: 4px; opacity: .6; }
.login-form-side { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 50px 40px 30px; }
.login-form-card { width: 100%; max-width: 350px; margin: auto 0; }
.login-icon { display: inline-grid; place-items: center; width: 45px; height: 45px; margin-bottom: 30px; border: 1px solid #3d4534; border-radius: 9px; color: var(--hub-accent); background: #c5f46708; }
.login-icon .icon { width: 23px; height: 23px; }
.login-form-card > .eyebrow { font-size: .6rem; }
.login-form-card h2 { font-size: 2.1rem; letter-spacing: -.05em; margin: 11px 0 14px; }
.login-form-card > .muted { font-size: .81rem; margin-bottom: 30px; }
.login-form-card .form-control { min-height: 47px; }
.btn-login { justify-content: space-between; margin-top: 4px; min-height: 46px; }
.login-help { display: flex; align-items: flex-start; gap: 9px; margin-top: 27px; padding-top: 22px; border-top: 1px solid #2b313b; }
.login-help .icon { width: 16px; height: 16px; margin-top: 3px; color: #899a75; }
.login-help p { font-size: .69rem; line-height: 1.8; color: #8c98a8; margin: 0; }
.login-form-footer { text-align: center; margin-top: 45px; color: #687485; font-size: .6rem; }
.login-page .app-alert { position: fixed; z-index: 50; right: 30px; top: 20px; width: min(420px,calc(100% - 40px)); box-shadow: 0 8px 30px #0005; }
/* Responsive */
@media (min-width: 1700px) { .main-content { padding-top: 43px; } .lobby-hero { min-height: 350px; padding-top: 43px; } .content-with-aside { grid-template-columns: minmax(0,1fr) 350px; gap: 30px; } .game-cover { height: 160px; } .game-title-row h3 { font-size: 1.25rem; } .game-body { padding: 20px; } .ownership-option { font-size: .65rem; } .ownership-summary { font-size: .61rem; } }
@media (max-width: 1350px) { .sidebar { width: 210px; padding-left: 16px; padding-right: 16px; } .main-column { margin-left: 210px; width: calc(100% - 210px); } .main-content { padding-left: 28px; padding-right: 28px; } .topbar { padding-left: 28px; padding-right: 28px; } .content-with-aside { grid-template-columns: minmax(0,1fr) 290px; gap: 20px; } .games-grid { gap: 13px; } .game-body { padding: 14px 12px 12px; } .ownership-option { font-size: .51rem; } .form-panel { padding: 20px; } .form-two-col { gap: 8px; } .hero-controller { left: 19%; } .hero-label { left: 22%; } }
@media (max-width: 1199px) { .games-grid { grid-template-columns: minmax(0,1fr); } .game-card { display: grid; grid-template-columns: 100px minmax(0,1fr); } .game-cover { height: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid #ffffff0a; } .game-monogram { font-size: 4.3rem; right: -7px; bottom: 35%; } .game-score { left: 8px; right: 8px; bottom: 15px; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 6px 4px; } .game-score > span { width: 100%; text-align: center; } .game-selected { top: 38px; left: 8px; right: auto; font-size: .43rem; padding: 3px; } .game-body { padding: 15px; } .game-title-row { min-height: 0; } .game-title-row h3 { font-size: 1.1rem; } .game-submitter { margin: 10px 0 13px; } .ownership-option { font-size: .56rem; } .category-stat { padding: 11px 9px; } .category-stat > span { font-size: .5rem; } .bring-card { gap: 11px; padding: 15px; } .bring-icon { width: 34px; height: 34px; } .bring-icon .icon { width: 18px; height: 18px; } .quantity-badge { padding: 4px 6px; font-size: .59rem; } .planning-crew .crew-list { grid-template-columns: 1fr; } .lobby-hero { padding: 30px; } .hero-art { left: 55%; opacity: .6; } .hero-controller { left: 5%; width: 170px; } .hero-label { left: 10%; } .stat-item { padding: 17px 14px; gap: 10px; } .stat-index { display: none; } .stat-icon { width: 35px; height: 35px; } .session-card { padding-left: 19px; padding-right: 19px; } .session-card-top { flex-wrap: wrap; gap: 8px; margin-bottom: 20px; } .session-open { margin-left: -19px; margin-right: -19px; padding-left: 19px; padding-right: 19px; } .feature-card { padding: 22px; } .feature-card h3 { font-size: 1.4rem; } .login-story { padding-left: 38px; padding-right: 38px; } }
@media (max-width: 991px) {
    .app-shell { display: block; }
    .sidebar { position: relative; width: 100%; inset: auto; padding: 19px 25px 0; border-right: 0; border-bottom: 1px solid #303641; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0; }
    .sidebar > .brand { margin-right: auto; font-size: 1.25rem; }
    .sidebar-caption, .sidebar-note, .sidebar-user-info, .nav-key, .nav-external { display: none; }
    .sidebar-bottom { margin: 0 0 0 20px; order: 1; }
    .sidebar-user { padding: 0; border-top: 0; gap: 8px; }
    .sidebar-user .avatar { width: 29px; height: 29px; font-size: .57rem; }
    .sidebar-nav { display: flex; align-items: center; gap: 19px; width: 100%; order: 2; margin-top: 17px; }
    .sidebar-nav .nav-link { min-height: 41px; padding: 0 1px; border-radius: 0; border: 0; border-bottom: 2px solid transparent; font-size: .72rem; gap: 7px; margin-bottom: -1px; }
    .sidebar-nav .nav-link .icon { width: 16px; height: 16px; }
    .sidebar-nav .nav-link.active { border-bottom-color: var(--hub-accent); background: transparent; }
    .main-column { width: 100%; margin: 0; }
    .topbar { height: 55px; padding: 0 25px; }
    .main-content { padding: 25px 25px 0; }
    .content-with-aside { grid-template-columns: minmax(0,1fr) 280px; gap: 20px; }
    .hero-art { left: 58%; opacity: .8; }
    .hero-controller { left: 12%; }
    .hero-label { left: 12%; }
    .lobby-hero h1 { font-size: 2.8rem; }
    .lobby-stats { margin-bottom: 34px; }
    .event-heading h1 { font-size: 2.3rem; }
    .event-tabs { margin-bottom: 27px; }
    .section-heading h2 { font-size: 1.65rem; }
    .section-description { font-size: .75rem; }
    .login-story { padding-left: 30px; padding-right: 30px; }
    .login-form-side { padding: 40px 30px 25px; }
    .login-story h1 { font-size: 2.8rem; }
    .login-art { width: 260px; margin-left: 0; }
    .art-controller { left: 40px; }
}
@media (max-width: 767px) {
    .main-content { padding-left: 19px; padding-right: 19px; }
    .topbar { padding-left: 19px; padding-right: 19px; }
    .topbar-caption { display: none; }
    .sidebar { padding-left: 19px; padding-right: 19px; }
    .lobby-hero { min-height: 290px; padding: 27px; }
    .lobby-hero h1 { font-size: 2.55rem; }
    .hero-art { left: 58%; opacity: .28; }
    .hero-controller { left: -10px; top: 38%; }
    .hero-label { display: none; }
    .hero-content { max-width: 90%; }
    .hero-content p { max-width: 310px; font-size: .77rem; }
    .lobby-stats { gap: 10px; }
    .stat-item { padding: 15px 10px; min-height: 78px; gap: 9px; }
    .stat-icon { display: none; }
    .stat-item strong { font-size: 1.45rem; }
    .stat-item > div > span { font-size: .58rem; }
    .section-heading { gap: 16px; }
    .section-heading > .text-link { max-width: 110px; font-size: .65rem; }
    .section-heading .eyebrow { font-size: .55rem; }
    .section-heading h2 { font-size: 1.5rem; }
    .session-grid { gap: 14px; }
    .session-title-link h3 { font-size: 1.3rem; }
    .session-links { flex-direction: column; gap: 8px; }
    .session-links a { width: 100%; }
    .session-date { font-size: .65rem; }
    .session-counts { gap: 10px; flex-wrap: wrap; }
    .session-counts > span { font-size: .62rem; }
    .content-with-aside { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .game-card { display: block; }
    .game-cover { min-height: 0; height: 120px; border-right: 0; }
    .game-monogram { font-size: 6rem; right: 9px; bottom: -10px; }
    .game-score { right: auto; left: 13px; bottom: 12px; flex-wrap: nowrap; padding: 5px 7px; }
    .game-score > span { width: auto; }
    .game-selected { top: 12px; right: 11px; left: auto; font-size: .46rem; padding: 4px; }
    .game-body { padding: 15px; }
    .game-title-row { min-height: 47px; }
    .form-panel { margin-top: 10px; padding: 25px; }
    .form-panel .form-control, .form-panel .form-select { font-size: .84rem; }
    .form-panel .form-label { font-size: .76rem; }
    .form-panel .btn { font-size: .79rem; }
    .form-panel .eyebrow { font-size: .6rem; }
    .form-intro { font-size: .78rem; }
    .form-two-col { gap: 14px; }
    .form-panel h3 { font-size: 1.45rem; }
    .sticky-panel { position: static; }
    .vote-banner { padding: 15px; gap: 10px; flex-wrap: wrap; }
    .vote-banner-icon { width: 31px; height: 31px; }
    .vote-banner-copy strong { font-size: .74rem; }
    .vote-banner-copy > span { font-size: .63rem; }
    .vote-budget { padding-left: 8px; }
    .vote-banner.awaiting form { margin-left: 41px; }
    .event-heading { gap: 15px; align-items: flex-start; }
    .event-heading h1 { font-size: 2rem; }
    .event-heading .eyebrow { font-size: .55rem; }
    .attendance-control { margin-top: 25px; }
    .attendance-control .btn { font-size: .68rem; padding: 9px 11px; gap: 5px; min-height: 37px; }
    .attendance-control .btn .icon { width: 14px; height: 14px; }
    .attendance-control small { font-size: .55rem; }
    .attendance-badge { padding: 9px 11px; gap: 5px; font-size: .7rem; }
    .attendance-control .text-button { font-size: .6rem; }
    .event-meta { gap: 10px; }
    .event-meta > span { font-size: .64rem; }
    .overview-grid { gap: 15px; }
    .feature-card { padding: 20px; }
    .feature-card p { font-size: .73rem; }
    .feature-card h3 { font-size: 1.35rem; }
    .feature-card-footer { gap: 12px; flex-direction: column; font-size: .65rem; }
    .overview-bottom { gap: 15px; }
    .crew-panel, .how-to-panel { padding: 20px; }
    .crew-person { font-size: .7rem; }
    .planning-categories { gap: 12px; }
    .category-stat { flex-direction: row; align-items: center; gap: 7px; padding: 12px; flex-wrap: wrap; }
    .category-stat > .icon { margin-bottom: 0; width: 16px; height: 16px; }
    .category-stat > span { font-size: .56rem; }
    .category-stat > strong { display: block; width: 100%; margin: 4px 0 0; }
    .notice-banner { flex-wrap: wrap; align-items: flex-start; padding: 15px; }
    .notice-banner p { font-size: .68rem; }
    .notice-banner form { margin-left: 33px; }
    .planning-crew .crew-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .account-grid { grid-template-columns: 1fr; }
    .profile-card { padding: 28px 23px; }
    .profile-note { margin-top: 20px; padding-top: 18px; }
    .password-panel { padding: 26px; }
    .login-layout { grid-template-columns: 1fr; }
    .login-story { min-height: 0; padding: 25px 28px 30px; border-right: 0; border-bottom: 1px solid #34402b; }
    .login-story .brand { font-size: 1.3rem; }
    .login-story-body { padding-top: 39px; max-width: 400px; }
    .login-story h1 { font-size: 2.8rem; margin: 15px 0 0; }
    .login-story-body > p { margin: 17px 0 0; font-size: .75rem; max-width: 350px; }
    .login-story-footer, .login-art { display: none; }
    .login-form-side { padding: 35px 28px 27px; }
    .login-form-card { max-width: 100%; }
    .login-icon { display: none; }
    .login-form-card h2 { font-size: 1.8rem; }
    .login-form-card > .muted { margin-bottom: 25px; }
    .login-form-card .stack-form { gap: 20px; }
    .login-form-footer { margin-top: 30px; }
    .login-page .app-alert { right: 15px; top: 15px; width: calc(100% - 30px); }
}
@media (max-width: 479px) {
    .sidebar { padding-top: 16px; }
    .sidebar-nav { gap: 18px; }
    .sidebar-nav .nav-link { font-size: .65rem; gap: 5px; }
    .sidebar-nav .nav-link .icon { width: 15px; height: 15px; }
    .sidebar > .brand { font-size: 1.15rem; }
    .main-content { padding: 20px 16px 0; }
    .topbar { height: 48px; padding: 0 17px; }
    .breadcrumb-line { gap: 10px; font-size: .55rem; }
    .breadcrumb-line strong { font-size: .65rem; }
    .lobby-hero { padding: 24px 22px; min-height: 290px; }
    .lobby-hero h1 { font-size: 2.35rem; margin-top: 16px; }
    .lobby-hero .eyebrow { font-size: .51rem; }
    .lobby-hero p { font-size: .74rem; margin-bottom: 20px; }
    .lobby-hero .btn { font-size: .68rem; padding: 10px 12px; }
    .hero-art { display: none; }
    .hero-content { max-width: 100%; }
    .lobby-stats { gap: 8px; margin-top: 13px; margin-bottom: 30px; }
    .stat-item { padding: 13px 11px; }
    .stat-item > div > span { font-size: .52rem; }
    .section-heading { flex-wrap: wrap; gap: 12px; margin-bottom: 19px; }
    .section-heading > .text-link { max-width: none; }
    .section-heading .btn { font-size: .68rem; min-height: 35px; padding: 8px 11px; }
    .session-grid { grid-template-columns: 1fr; }
    .session-card { padding: 21px 21px 0; }
    .session-card-top { margin-bottom: 24px; }
    .session-title-link h3 { font-size: 1.5rem; }
    .session-date { font-size: .75rem; }
    .session-links { flex-direction: row; }
    .session-open { margin-left: -21px; margin-right: -21px; padding-left: 21px; padding-right: 21px; }
    .session-counts { gap: 22px; }
    .session-counts > span { font-size: .68rem; }
    .state-chip { font-size: .58rem; }
    .event-heading { flex-wrap: wrap; margin-bottom: 22px; gap: 18px; }
    .event-heading h1 { font-size: 2rem; }
    .attendance-control { margin: 0; display: flex; align-items: center; gap: 12px; text-align: left; }
    .attendance-control small { margin: 0; font-size: .59rem; }
    .attendance-badge { margin-bottom: 0; }
    .attendance-control .text-button { font-size: .63rem; }
    .event-tabs { gap: 25px; margin-bottom: 25px; }
    .event-tab { font-size: .72rem; gap: 6px; padding-top: 12px; padding-bottom: 12px; }
    .event-tab .icon { width: 16px; height: 16px; }
    .overview-grid, .overview-bottom { grid-template-columns: 1fr; }
    .feature-card { padding: 24px; }
    .feature-card h3 { font-size: 1.55rem; }
    .feature-card p { font-size: .8rem; }
    .feature-card-footer { flex-direction: row; }
    .feature-icon { width: 44px; height: 44px; margin-bottom: 21px; }
    .how-to-panel, .crew-panel { padding: 23px; }
    .games-grid { grid-template-columns: 1fr; gap: 18px; }
    .game-cover { height: 125px; }
    .game-monogram { font-size: 7rem; right: 24px; }
    .game-body { padding: 20px; }
    .game-title-row { min-height: 0; }
    .game-title-row h3 { font-size: 1.3rem; margin-bottom: 12px; }
    .price { font-size: .85rem; }
    .store-name { font-size: .64rem; }
    .shop-link { font-size: .71rem; }
    .game-submitter { font-size: .66rem; margin: 13px 0 17px; }
    .ownership-form legend { font-size: .72rem; }
    .ownership-option { font-size: .66rem; padding: 6px; min-height: 34px; }
    .ownership-summary { font-size: .6rem; margin-top: 13px; margin-bottom: 16px; }
    .vote-button { font-size: .74rem; min-height: 40px; }
    .item-actions > a, .delete-detail summary { font-size: .66rem; }
    .game-score { left: 18px; bottom: 15px; }
    .game-score > span { font-size: .63rem; }
    .game-score > strong { font-size: .85rem; }
    .game-rank { left: 18px; font-size: .65rem; }
    .game-selected { font-size: .52rem; right: 15px; }
    .vote-banner { padding: 15px 13px; gap: 10px; }
    .vote-banner-icon { display: none; }
    .vote-banner-copy strong { font-size: .71rem; }
    .vote-banner-copy > span { max-width: 225px; font-size: .62rem; }
    .vote-budget { padding-left: 0; }
    .vote-budget > strong { font-size: 1.45rem; }
    .vote-budget > strong > span { font-size: .8rem; }
    .vote-budget > span { font-size: .52rem; }
    .vote-banner.awaiting form { margin-left: 0; }
    .planning-categories { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .category-stat { flex-wrap: nowrap; gap: 7px; }
    .category-stat > span { font-size: .6rem; }
    .category-stat > strong { width: auto; margin: 0 0 0 auto; font-size: 1rem; }
    .bring-card { padding: 15px 13px; gap: 10px; }
    .bring-icon { width: 30px; height: 30px; border-radius: 6px; }
    .bring-icon .icon { width: 17px; height: 17px; }
    .bring-content h3 { font-size: .94rem; }
    .bring-person { font-size: .58rem; gap: 5px; }
    .bring-category { font-size: .49rem; }
    .bring-note { font-size: .63rem; }
    .bring-right { max-width: 28%; }
    .quantity-badge { font-size: .58rem; }
    .planning-crew .crew-list { grid-template-columns: 1fr; }
    .form-panel { padding: 23px; }
    .form-panel .form-two-col { grid-template-columns: 1fr; gap: 17px; }
    .form-panel .form-text { font-size: .64rem; }
    .page-footer { margin-top: 45px; font-size: .58rem; }
    .password-panel { padding: 23px; }
    .password-panel h2 { font-size: 1.25rem; }
    .error-code { font-size: 6rem; }
    .error-content h1 { font-size: 1.8rem; }
    .error-content p { font-size: .8rem; }
    .login-story h1 { font-size: 2.45rem; }
    .login-story { padding-left: 25px; padding-right: 25px; }
    .login-story-body { padding-top: 32px; }
    .login-story-body > p { font-size: .72rem; }
    .login-form-side { padding-left: 25px; padding-right: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .sidebar, .topbar, .page-footer, .attendance-control, .content-with-aside > aside, .item-actions, .ownership-form, .vote-button { display: none !important; } .main-column { width: 100%; margin: 0; } .main-content { padding: 0; } body { color: #000; background: white; } .surface, .game-card, .bring-card { break-inside: avoid; } }
