:root{color-scheme:dark;--bg:#11120f;--sidebar:#151612;--surface:#191a16;--surface2:#1e201a;--line:#2b2d26;--text:#f2f3eb;--muted:#929489;--lime:#d8f47a;--lime-ink:#252a18}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font:14px/1.5 "Segoe UI",Arial,sans-serif}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;padding:24px 16px 17px;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:4}.brand{display:flex;gap:11px;align-items:center;color:inherit;text-decoration:none;padding:0 7px 32px}.brand-icon{height:39px;width:39px;display:grid;place-items:center;border-radius:11px;background:#26291e;font-size:21px}.brand b{display:block;font-size:18px;letter-spacing:-.7px;line-height:1.05}.brand b span{color:var(--lime)}.brand small{display:block;margin-top:5px;color:#818378;font-size:9px;letter-spacing:1.5px}.server-label,.kicker{font-size:9px;font-weight:700;letter-spacing:1.35px;color:#8a8d7f}.server-label{padding:0 8px 9px}.server-card{height:43px;border:1px solid var(--line);background:var(--surface);border-radius:7px;display:flex;align-items:center;padding:0 9px;gap:9px;font-size:11px;margin-bottom:27px}.server-avatar{height:25px;width:25px;border-radius:6px;background:var(--lime);color:var(--lime-ink);display:grid;place-items:center;font-size:9px;font-weight:800}.down{margin-left:auto;color:#888b7d}.nav-link{height:39px;display:flex;align-items:center;gap:11px;padding:0 10px;margin:3px 0;border-radius:6px;color:#aeb0a4;text-decoration:none;font-size:12px}.nav-link>span{font-size:17px;width:17px;text-align:center}.nav-link.active{background:#292c20;color:var(--lime)}.nav-link i{font-style:normal;margin-left:auto;font-size:10px;color:#929489}.sidebar-footer{margin-top:auto;border-top:1px solid var(--line);padding:13px 7px 0;color:#929489;font-size:10px}.profile{display:flex;align-items:center;gap:9px;min-width:0}.profile img,.profile-fallback{height:30px;width:30px;min-width:30px;border-radius:50%;object-fit:cover}.profile-fallback{display:grid;place-items:center;background:var(--lime);color:var(--lime-ink);font-size:9px;font-weight:800}.profile b,.profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile b{color:var(--text);font-size:11px}.profile small{font-size:9px;color:var(--muted)}.logout-button{margin:10px 0 0;padding:0;border:0;background:transparent;color:var(--muted);font:inherit;font-size:10px;cursor:pointer}.logout-button:hover{color:var(--lime)}.status-dot,.local i{width:6px;height:6px;border-radius:50%;background:#a5d989}.status-dot{box-shadow:0 0 8px #a5d98960}main{margin-left:232px;min-height:100vh}.topbar{height:58px;padding:0 34px;border-bottom:1px solid var(--line);display:flex;align-items:center;color:#929489;font-size:11px}.topbar em{font-style:normal;color:#5f6158;padding:0 10px}.topbar b{color:#d6d8cc;font-weight:500}.topbar button{display:none}.local{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:10px;color:#aeb0a4;border:1px solid var(--line);padding:5px 9px;border-radius:20px}.page{max-width:1040px;margin:0 auto;padding:54px 46px 35px}.home-intro{padding:23px 0 64px}.kicker{margin:0 0 11px}.home-intro h1,.page-heading h1{font-size:clamp(38px,5vw,55px);line-height:1.06;letter-spacing:-2px;margin:0;font-weight:650}.home-intro h1 span{color:var(--lime)}.muted{color:var(--muted);font-size:13px;margin:12px 0 21px}.button{min-height:37px;border-radius:6px;border:1px solid transparent;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:11px;font:600 11px "Segoe UI",Arial,sans-serif;text-decoration:none;cursor:pointer}.button.primary{background:var(--lime);color:var(--lime-ink)}.button.primary:hover{background:#e2f99a}.button.secondary{background:transparent;border-color:#414339;color:#dadbd1}.home-section{border-top:1px solid var(--line);padding-top:23px}.section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:15px}.section-title .kicker{margin-bottom:5px}.section-title h2{font-size:20px;letter-spacing:-.5px;margin:0;font-weight:600}.text-button{border:0;background:transparent;color:var(--lime);font:inherit;font-size:11px;cursor:pointer;padding:5px 0}.empty-state{min-height:205px;border:1px dashed #37392f;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}.empty-icon{color:#b4c276;font-size:25px}.empty-state h2{font-size:14px;margin:8px 0 0;font-weight:600}.empty-state p{color:var(--muted);font-size:11px;margin:4px 0 12px}.empty-state .button{min-height:32px}.page-heading{margin-bottom:29px}.row-heading{display:flex;justify-content:space-between;align-items:end}.page-heading .kicker{margin-bottom:9px}.page-heading h1{font-size:38px;letter-spacing:-1.2px}.page-heading .muted{margin:7px 0 0}.row-heading>.button{margin-bottom:3px}.event-list{display:grid;gap:9px}.event-card{min-height:92px;padding:14px 15px;background:var(--surface);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:15px}.date-tile{width:43px;min-width:43px;height:48px;background:#25281d;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center}.date-tile strong{color:var(--lime);font-size:18px;line-height:1.1}.date-tile span{text-transform:uppercase;font-size:8px;color:#a6a997}.event-info{min-width:0;flex:1}.event-meta{color:#b7b9ae;font-size:10px}.event-info h3{font-size:13px;margin:2px 0 0;font-weight:600}.game-name{font-size:10px;color:#929489;margin-top:2px}.event-info p{color:#929489;font-size:10px;margin:6px 0 0;white-space:pre-wrap}.card-actions{display:flex;gap:5px}.icon-button{background:transparent;border:1px solid #34362e;border-radius:5px;color:#c4c6b9;padding:6px 8px;font-size:9px;cursor:pointer;white-space:nowrap}.icon-button:hover{border-color:var(--lime);color:var(--lime)}.icon-button.delete:hover{border-color:#db8484;color:#f3a2a2}.page-error{color:#f3a2a2;font-size:12px;margin:0 0 16px;padding:10px 12px;border:1px solid #6a3e3e;border-radius:6px;background:#2a1919}.vote-summary{display:flex;flex-wrap:wrap;gap:12px;margin-top:9px;color:#b9bdac;font-size:10px}.vote-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.vote-button{border:1px solid #3b3e32;background:#22241c;color:#d3d5c8;border-radius:5px;padding:6px 9px;font:600 10px "Segoe UI",Arial,sans-serif;cursor:pointer}.vote-button:hover,.vote-button.selected{border-color:var(--lime);color:var(--lime);background:#292c20}.vote-button:disabled{opacity:.55;cursor:wait}.voter-details{margin-top:8px;color:#b9bdac;font-size:10px}.voter-details summary{cursor:pointer}.voter-details ul{margin:6px 0;padding-left:18px}.login-body{min-height:100vh}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(440px,100%);padding:34px;background:var(--surface);border:1px solid var(--line);border-radius:12px;text-align:center}.login-card .brand-icon{margin:0 auto 24px}.login-card .kicker{margin-bottom:10px}.login-card h1{font-size:30px;letter-spacing:-1px;margin:0}.login-card .muted{margin-bottom:23px}.login-button{width:100%;min-height:44px;font-size:12px}.login-footnote{color:var(--muted);font-size:10px;margin:15px 0 0}.page-error{color:#f3a2a2;font-size:12px;margin:0 0 16px;padding:10px 12px;border:1px solid #6a3e3e;border-radius:6px;background:#2a1919}.data-note{text-align:right;margin-top:14px;color:#73766a;font-size:9px}.page>.empty-state{min-height:245px}.page>.empty-state .button{margin-top:5px}dialog{width:min(490px,calc(100% - 28px));padding:0;border:1px solid #3a3d31;border-radius:10px;background:#191a16;color:var(--text);box-shadow:0 22px 80px #000a}dialog::backdrop{background:#080907bb;backdrop-filter:blur(3px)}#event-form{padding:22px}.dialog-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.dialog-top small{color:#929489;letter-spacing:1.2px;font-weight:700;font-size:9px}.dialog-top h2{margin:4px 0 0;font-size:22px;letter-spacing:-.5px}.close{border:0;background:transparent;color:#9c9e93;font-size:24px;cursor:pointer;line-height:1}.dialog-top~label,.form-row label{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;font-size:10px;color:#c6c8bc;font-weight:600}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.optional{color:#777a6e;font-weight:400}.dialog-top~label input,.form-row input,.dialog-top~label textarea{font:400 12px "Segoe UI",Arial,sans-serif;color:var(--text);width:100%;border:1px solid #383a32;background:#11120f;border-radius:5px;padding:10px;outline:none}.dialog-top~label input:focus,.form-row input:focus,.dialog-top~label textarea:focus{border-color:#aabf62}.dialog-top~label textarea{resize:vertical}.form-error{min-height:15px;color:#f3a2a2;font-size:10px;margin:0}.dialog-actions{display:flex;justify-content:end;gap:8px;margin-top:10px}.dialog-actions .button{font-size:11px}.mobile-menu-open{overflow:hidden}@media(max-width:760px){.sidebar{width:216px;transform:translateX(-100%);transition:transform .18s;box-shadow:14px 0 35px #0008}.sidebar.open{transform:translateX(0)}main{margin-left:0}.topbar{height:54px;padding:0 16px}.topbar button{display:block;border:0;background:none;color:var(--text);font-size:17px;padding:5px 10px 5px 0}.page{padding:38px 18px 25px}.home-intro{padding:18px 0 45px}.home-intro h1{font-size:42px}.row-heading{align-items:start;gap:14px}.row-heading>.button{margin-top:4px;white-space:nowrap;padding:0 9px}.event-card{align-items:flex-start;gap:10px;padding:12px}.card-actions{flex-direction:column}.icon-button{padding:5px 7px}.local{font-size:0;padding:7px}.local i{width:7px;height:7px}}@media(max-width:420px){.page-heading h1{font-size:33px}.row-heading{flex-direction:column}.row-heading>.button{margin:0}.event-info h3{font-size:12px}.form-row{grid-template-columns:1fr;gap:0}}
.brand-icon{object-fit:cover;overflow:hidden}
.page-success{color:#d8f47a;font-size:12px;margin:0 0 16px;padding:10px 12px;border:1px solid #4c5c31;border-radius:6px;background:#22281a}
.message-preference{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:0 0 22px;border:1px solid var(--line);border-radius:8px;background:var(--surface);cursor:pointer}
.message-preference input{width:19px;height:19px;flex:0 0 auto;accent-color:var(--lime)}
.message-checkmark{display:none}
.message-preference strong,.message-preference small{display:block}
.message-preference strong{font-size:12px;color:var(--text)}
.message-preference small{font-size:10px;color:var(--muted);margin-top:3px}
.calendar-weeks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:30px}
.calendar-week{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:9px;overflow:hidden}
.calendar-week-heading{padding:15px 15px 11px;min-height:94px}
.calendar-week-heading .kicker{margin:0 0 5px;color:var(--lime)}
.calendar-week-heading h2{font-size:15px;margin:0;font-weight:600}
.week-status{font-size:10px;color:var(--muted);margin:6px 0 0}
.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:0 10px 12px}
.calendar-day{min-width:0;min-height:152px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;background:var(--surface2);border:1px solid #2c2e27;border-radius:7px;text-align:center}
.calendar-day.selected{border-color:#58633a;background:#24291d}
.calendar-day.ready{box-shadow:inset 0 0 0 1px var(--lime)}
.calendar-day-date{display:flex;flex-direction:column;align-items:center;line-height:1.15}
.calendar-day-date span,.calendar-day-date small{font-size:9px;color:var(--muted);text-transform:capitalize}
.calendar-day-date strong{font-size:21px;color:var(--text);margin:4px 0 2px}
.calendar-day-events{width:100%;min-height:18px}
.calendar-event-chip{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;color:var(--lime)}
.calendar-count{margin-top:auto;display:flex;align-items:baseline;gap:2px;white-space:nowrap}
.calendar-count b{font-size:12px;color:var(--lime)}
.calendar-count span{font-size:8px;color:var(--muted)}
.calendar-plan-button{width:100%;border:1px solid #414339;border-radius:5px;padding:6px 2px;background:#191a16;color:#d5d7ca;font:600 9px "Segoe UI",Arial,sans-serif;cursor:pointer}
.calendar-plan-button:hover,.calendar-plan-button.selected{border-color:var(--lime);color:var(--lime)}
.calendar-plan-button:disabled{opacity:.6;cursor:wait}
.calendar-past{font-size:9px;color:#777a70}
.calendar-planners{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:8px}
.calendar-event-section{margin-top:8px}
.calendar-event-section>.section-title{margin-bottom:13px}
.member-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.member-card{display:flex;align-items:center;gap:11px;min-width:0;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px}
.member-card img,.member-avatar-fallback{width:38px;height:38px;flex:0 0 auto;border-radius:50%;object-fit:cover}
.member-avatar-fallback{display:grid;place-items:center;background:#292c20;color:var(--lime);font-size:10px;font-weight:700}
.member-card strong,.member-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-card strong{font-size:11px}
.member-card small{font-size:9px;color:var(--muted);margin-top:3px}
@media(max-width:1050px){.calendar-weeks{grid-template-columns:1fr}.calendar-day{min-height:145px}}
@media(max-width:760px){.calendar-days{gap:4px;padding:0 8px 10px}.calendar-day{min-height:135px;padding:7px 2px}.calendar-day-date strong{font-size:18px}.calendar-plan-button{font-size:8px;padding:6px 1px}.page-heading .muted{max-width:100%}}
.server-avatar{object-fit:cover}
.nav-sub-link { margin-left: 1rem; opacity: .86; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 38%, #27291f 0, var(--bg) 52%); }
.login-card { width: min(100%, 420px); padding: 42px 38px; border: 1px solid var(--line); border-radius: 18px; background: #171813; box-shadow: 0 24px 80px #0006; text-align: center; }
.login-brand-icon { display: block; width: 92px; height: 92px; margin: 0 auto 25px; border: 1px solid #ffffff1c; border-radius: 22px; object-fit: cover; }
.login-card h1 { margin: 0 0 24px; font-size: clamp(30px, 8vw, 38px); letter-spacing: -1px; }
.login-card .login-button { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.catalog-game { overflow: hidden; border: 1px solid var(--line, #30312c); border-radius: 14px; background: var(--surface, #191a16); }
.catalog-game > a { display: block; color: inherit; text-decoration: none; }
.catalog-game img { display: block; width: 100%; aspect-ratio: 460 / 215; object-fit: cover; background: #222; }
.catalog-game > a > span { display: grid; gap: .3rem; padding: .85rem 1rem; }
.catalog-game small, .game-import-form small { color: var(--muted, #a5a69e); }
.catalog-game > button { margin: 0 .85rem .85rem; }
.game-import-form { max-width: 700px; display: grid; gap: .6rem; margin: 1.5rem 0; }
.game-import-form > div { display: flex; gap: .75rem; }
.game-import-form input { min-width: 0; flex: 1; }
.calendar-intro { margin-top: 1rem; }
@media (max-width: 600px) { .game-import-form > div { align-items: stretch; flex-direction: column; } }
.game-voting-toggle { display: flex; flex-direction: row; align-items: center; gap: .65rem; padding: .65rem 0; color: var(--text); }
.game-voting-toggle input, .game-poll-options input { accent-color: var(--lime); }
.event-game-poll { display: grid; gap: .6rem; margin: 1rem 0; padding: .8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface2); }
.event-game-poll > strong { display: flex; flex-wrap: wrap; gap: .4rem; align-items: baseline; font-size: 11px; }
.event-game-poll > strong small, .game-poll-options small { color: var(--muted); font-weight: 400; }
.game-poll-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: .35rem; }
.game-poll-options label { display: flex; align-items: center; gap: .45rem; padding: .4rem; border-radius: 5px; background: #ffffff08; font-size: 10px; }
.game-poll-options label span { display: flex; justify-content: space-between; gap: .5rem; width: 100%; }
.game-vote-submit { justify-self: start; min-height: 31px; font-size: 10px; }
.discord-event-link { display: inline-block; margin: .35rem 0; color: var(--lime); font-size: 10px; }
.event-attendees { margin: .55rem 0; color: var(--muted); font-size: 10px; }
.game-poll-toggle { justify-self: start; padding: .35rem 0; border: 0; background: none; color: var(--lime); font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.game-poll-panel { display: grid; gap: .6rem; }
.game-poll-panel > strong { font-size: 10px; }
.home-event-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.home-event-card h3 { margin: 0; font-size: 14px; }
.home-event-card p { margin: .35rem 0; color: var(--muted); font-size: 11px; }
.home-event-card small { color: var(--muted); font-size: 10px; }
.calendar-tabs { display: flex; gap: 8px; margin: 18px 0 15px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.calendar-tabs button { padding: 8px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.calendar-tabs button.active, .calendar-tabs button:hover { border-color: var(--line); background: var(--surface); color: var(--lime); }
.go-events-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 64px; margin: 8px 0 28px; padding: 0 20px; border: 1px solid #59633c; border-radius: 10px; background: linear-gradient(100deg, #292e20, #1b1d17); color: var(--lime); font: 650 16px "Segoe UI", Arial, sans-serif; cursor: pointer; }
.go-events-button span { font-size: 25px; }
.calendar-count { align-items: center; gap: 4px; }
.calendar-count span { font-size: 9px; }
.calendar-plan-button.selected { min-height: 42px; border-radius: 10px; background: #2b321d; font-size: 27px; line-height: 1; }
.availability-check { display: block; font-size: 30px; font-weight: 700; }
.game-vote-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.game-vote-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.game-vote-card.selected { border-color: var(--lime); box-shadow: 0 0 0 1px #d8f47a55; }
.game-vote-card > a { display: block; color: var(--text); text-decoration: none; }
.game-vote-card > a img { display: block; width: 100%; aspect-ratio: 460 / 215; object-fit: cover; background: #222; }
.game-vote-card > a strong { display: block; overflow: hidden; padding: 7px 8px 3px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.game-vote-card > label { display: flex; align-items: center; gap: 6px; padding: 6px 8px 9px; color: var(--muted); font-size: 9px; cursor: pointer; }
.game-vote-card input { accent-color: var(--lime); }
.login-body main.login-page { width: 100%; margin-left: 0; }
.nav-link .nav-icon-games { position: relative; display: block; width: 15px; height: 15px; flex: 0 0 15px; border: 1.5px solid currentColor; border-radius: 3px; background: radial-gradient(circle, currentColor 1.1px, transparent 1.4px) 2px 2px / 6px 6px, radial-gradient(circle, currentColor 1.1px, transparent 1.4px) 7px 7px / 6px 6px; background-repeat: no-repeat; }
.game-import-row { display: flex; gap: .75rem; }
.game-player-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.game-import-form > .game-player-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game-player-range label, .game-filter label { display: grid; gap: .35rem; color: var(--muted); font-size: 10px; }
.game-player-range input, .game-filter select { min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--text); font: inherit; }
.game-filter { display: flex; align-items: center; gap: .7rem; margin: 1rem 0; }
.game-filter label { display: flex; align-items: center; }
.game-filter select { min-width: 180px; }
.game-player-tag { display: inline; margin-left: .45rem; color: var(--lime); white-space: nowrap; }
.catalog-game small .game-player-tag { display: inline; padding: 0; }
.game-vote-player-range { display: block; padding: 0 8px 4px; color: var(--lime); font-size: 9px; }
.game-category-editor { display: grid; grid-template-columns: 1fr 1fr auto; gap: .45rem; align-items: end; padding: 0 .85rem .75rem; }
.game-category-editor label { display: grid; gap: .25rem; color: var(--muted); font-size: 9px; }
.game-category-editor input { width: 100%; min-width: 0; padding: 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); color: var(--text); }
.game-category-editor button { min-height: 30px; }
:root { --bg: #090b19; --sidebar: #101126; --surface: #171a31; --surface2: #202342; --line: #343858; --text: #f7f7ff; --muted: #a9acc9; --lime: #83e4ff; --lime-ink: #101427; --cyber-purple: #c5a8ff; --cyber-blue: #76dfff; }
body { background: radial-gradient(ellipse at 75% -5%, #30306270, transparent 42%), radial-gradient(ellipse at 35% 75%, #122e4d55, transparent 45%), var(--bg); color: var(--text); }
.sidebar { background: linear-gradient(180deg, #151630 0%, #101126 58%, #111326 100%); border-right-color: #373958; box-shadow: 12px 0 44px #05061255; }
.brand-icon { background: linear-gradient(145deg, #292c57, #18384b); box-shadow: 0 0 20px #7c9fff21; }
.brand b span { color: var(--cyber-purple); }
.server-card { background: #1a1c38; border-color: #383b61; }
.server-avatar { background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-purple)); color: #12152a; }
.nav-link { height: 44px; margin: 5px 0; border: 1px solid transparent; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.nav-link:hover { background: #252746; color: #fff; transform: translateX(2px); }
.nav-link.active { color: var(--cyber-blue); background: linear-gradient(100deg, #253350, #302650); border-color: #5f6790; box-shadow: inset 3px 0 var(--cyber-blue), 0 0 22px #77dfff12; }
.topbar { position: relative; z-index: 2; height: auto; min-height: 72px; gap: 16px; padding: 12px 30px; color: #c4c8e3; background: #101226d9; border-bottom-color: #383b5d; backdrop-filter: blur(16px); }
.topbar-title { display: flex; align-items: center; gap: 9px; white-space: nowrap; color: #c4c8e3; font-size: 12px; }
.topbar-title b { color: #fff; font-size: 14px; font-weight: 650; }
.topbar-title em { color: #777da8; padding: 0; }
.events-subnav { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto; }
.events-subnav[hidden] { display: none !important; }
.events-subnav a { min-width: 112px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #45496f; border-radius: 10px; background: linear-gradient(145deg, #1b1d39, #171a30); color: #d9dcf3; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .2px; transition: transform .18s, border-color .18s, box-shadow .18s; }
.events-subnav a:hover { transform: translateY(-1px); border-color: var(--cyber-purple); box-shadow: 0 0 22px #c5a8ff20; }
.events-subnav a.active { border-color: #8b9fe4; color: #fff; background: linear-gradient(120deg, #31506c, #513c70); box-shadow: 0 0 24px #83e4ff20, inset 0 0 18px #c5a8ff14; }
.local { border-color: #43476a; background: #171a30; color: #d7d9ee; }
.local i { background: var(--cyber-blue); box-shadow: 0 0 10px #76dfffaa; }
.page { max-width: 1160px; }
.kicker, .server-label { color: #aeb5e2; }
.home-intro h1 span { color: var(--cyber-purple); text-shadow: 0 0 24px #c5a8ff35; }
.home-intro h1, .page-heading h1, .section-title h2 { color: #fff; }
.button.primary { background: linear-gradient(115deg, #83e4ff, #bfa7ff); color: #101427; box-shadow: 0 8px 24px #83e4ff1b; }
.button.primary:hover { background: linear-gradient(115deg, #a6efff, #d5c4ff); box-shadow: 0 9px 28px #bfa7ff38; }
.button.secondary { border-color: #596087; background: #202340; color: #f2f1ff; }
.button.secondary:hover { border-color: var(--cyber-blue); color: #fff; }
.event-card, .home-event-card, .calendar-week, .catalog-game, .member-card { background: linear-gradient(145deg, #1b1e39, #15182d); border-color: #383d61; box-shadow: 0 12px 32px #05071335; }
.event-card:hover, .catalog-game:hover { border-color: #717bb2; box-shadow: 0 16px 38px #05071355, 0 0 20px #83e4ff0c; }
.date-tile { background: linear-gradient(160deg, #263956, #382d58); }
.date-tile strong { color: var(--cyber-blue); }
.vote-button { background: #202340; border-color: #474b70; color: #e5e6f8; }
.vote-button:hover, .vote-button.selected { border-color: var(--cyber-blue); background: linear-gradient(120deg, #24465b, #383052); color: #fff; box-shadow: 0 0 16px #83e4ff20; }
.calendar-week-heading .kicker, .calendar-day.selected .calendar-day-date strong { color: var(--cyber-blue); }
.calendar-day { background: #13162b; border-color: #323653; }
.calendar-day.selected { border-color: #8e8ccc; background: linear-gradient(180deg, #272848, #191a32); }
.calendar-plan-button { background: #20223e; border-color: #45496c; color: #eeeefe; }
.calendar-plan-button:hover, .calendar-plan-button.selected { border-color: var(--cyber-blue); color: var(--cyber-blue); background: #25394b; }
.calendar-plan-button.selected { background: linear-gradient(135deg, #244862, #463c66); }
.go-events-button { border-color: #6d7ca9; background: linear-gradient(105deg, #1d4962, #4b3d70 72%, #30244f); color: #fff; box-shadow: 0 12px 36px #8c8bff18; }
.game-import-form { padding: 18px; border: 1px solid #42476e; border-radius: 13px; background: linear-gradient(140deg, #1b1e3a, #15182c); box-shadow: 0 12px 34px #05071335; }
.game-import-form input, .game-import-form select, .game-category-editor select, .game-filter select { min-height: 38px; padding: 8px 10px; border: 1px solid #474c73; border-radius: 7px; background: #11142a; color: #f7f7ff; font: inherit; }
.game-category-field { display: grid; gap: 6px; color: #e8e8fb; font-size: 11px; font-weight: 650; }
.game-category-editor { grid-template-columns: minmax(0, 1fr) auto; }
.game-category-editor select { width: 100%; }
.game-category-editor button { align-self: end; }
.game-player-tag { color: var(--cyber-blue); }
.game-history, .game-vote-history { display: block; margin-top: 5px; color: #b8bce0 !important; font-size: 9px; }
.game-vote-card { background: linear-gradient(150deg, #1d203c, #15182c); border-color: #3a3f64; box-shadow: 0 8px 24px #05071340; }
.game-vote-card.selected { border-color: var(--cyber-blue); box-shadow: 0 0 0 1px #83e4ff66, 0 0 22px #83e4ff1b; }
.game-vote-player-range { color: var(--cyber-purple); }
.event-game-poll { background: linear-gradient(140deg, #1c1f3a, #15182c); border-color: #3a3f64; }
.game-poll-toggle, .text-button, .discord-event-link { color: var(--cyber-blue); }
.empty-state { border-color: #505477; background: #16192d88; }
.page-error { border-color: #835b78; background: #311d35; }
.page-success { color: var(--cyber-blue); border-color: #4a718b; background: #182d3b; }
.sidebar-footer { border-top-color: #383b5d; }
.profile-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.profile-button:hover, .profile-button:focus-visible { border-color: #555b83; background: #20223d; outline: none; }
.profile-settings-cue { color: var(--cyber-purple); font-size: 15px; }
.logout-button:hover { color: var(--cyber-blue); }
.settings-dialog { width: min(500px, calc(100% - 28px)); padding: 22px; border: 1px solid #666b9a; background: radial-gradient(ellipse at 95% 0, #453c6755, transparent 45%), #15172d; box-shadow: 0 24px 90px #03040ccf, 0 0 42px #a88bff18; }
.settings-dialog .dialog-top { margin-bottom: 15px; }
.settings-dialog .message-preference { margin: 0; border-color: #454a70; background: #1c1f39; }
.settings-dialog .message-preference input { accent-color: var(--cyber-blue); }
.settings-dialog .form-error { margin-top: 10px; }
dialog { border-color: #555b88; background: #171a31; color: #f7f7ff; }
dialog::backdrop { background: #050612cf; backdrop-filter: blur(7px); }
.login-card { border-color: #555b88; background: linear-gradient(145deg, #202342, #15172d); box-shadow: 0 24px 90px #03040ccc, 0 0 44px #a88bff1c; }
.login-card .brand-icon { box-shadow: 0 0 28px #83e4ff25; }
.login-card .kicker { color: var(--cyber-purple); }
.login-body main.login-page { min-height: 100vh; }
@media (max-width: 760px) {
  .topbar { min-height: 62px; height: auto; flex-wrap: wrap; gap: 9px; padding: 10px 16px; }
  .topbar-title { flex: 1 1 auto; }
  .events-subnav { order: 5; width: 100%; gap: 6px; }
  .events-subnav a { flex: 1 1 0; min-width: 0; min-height: 40px; padding: 0 7px; font-size: 11px; }
  .local { margin-left: 0; }
  .game-category-editor { grid-template-columns: minmax(0, 1fr) auto; }
}
.nav-link:focus-visible, .button:focus-visible, .vote-button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (max-width: 600px) { .game-import-row { align-items: stretch; flex-direction: column; } .game-filter { align-items: stretch; flex-direction: column; } .game-filter select { width: 100%; } }
