:root { --forest:#0d4b3b; --forest-deep:#073c30; --mint:#dff5e9; --coral:#ff705a; --ink:#19352d; --muted:#667a73; --line:#dce7e2; --paper:#f4f8f6; --white:#fff; }
* { box-sizing:border-box; } body { margin:0; min-height:100vh; color:var(--ink); background:radial-gradient(circle at 10% 10%,#e6f8ef 0,transparent 27%),linear-gradient(145deg,#f8fbf9,#eef5f2); font-family:Montserrat,Arial,sans-serif; }
.topbar { height:82px; display:flex; align-items:center; justify-content:space-between; padding:0 max(24px,calc((100vw - 1080px)/2)); border-bottom:1px solid rgba(13,75,59,.1); background:rgba(255,255,255,.84); backdrop-filter:blur(12px); }.brand { display:flex; align-items:center; gap:12px; color:var(--forest); text-decoration:none; }.brand span:last-child { display:grid; }.brand strong { font:800 14px Manrope,sans-serif; letter-spacing:.12em; }.brand small { font-size:8px; letter-spacing:.22em; }.brand-mark { width:35px; height:35px; position:relative; display:block; }.brand-mark i { position:absolute; width:8px; height:8px; border-radius:50%; background:var(--coral); }.brand-mark i:nth-child(1){left:3px;top:3px}.brand-mark i:nth-child(2){right:3px;top:10px;background:#f4cb68}.brand-mark i:nth-child(3){left:10px;bottom:2px;background:#8fdab6}.secure { color:var(--forest); font-size:9px; font-weight:800; letter-spacing:.1em; }
main { width:min(1080px,calc(100% - 32px)); margin:38px auto 70px; }.loading-card,.lookup-card,.error-card { min-height:430px; display:grid; place-items:center; align-content:center; text-align:center; padding:44px; border:1px solid var(--line); border-radius:24px; background:white; box-shadow:0 18px 55px rgba(13,75,59,.08); }.loading-card h1,.lookup-card h1,.error-card h1 { margin:18px 0 8px; font:800 28px Manrope,sans-serif; }.loading-card p,.lookup-card p,.error-card p { margin:0; max-width:560px; color:var(--muted); line-height:1.6; font-size:13px; }.spinner { width:38px; height:38px; border:4px solid var(--mint); border-top-color:var(--forest); border-radius:50%; animation:spin .9s linear infinite; }@keyframes spin{to{transform:rotate(360deg)}}
.lookup-form { width:min(520px,100%); display:flex; gap:10px; margin-top:24px; }.lookup-form input { flex:1; }.test-notice { display:flex; align-items:center; gap:12px; margin-bottom:14px; padding:12px 15px; border:1px solid #efd48e; border-radius:12px; color:#6f571d; background:#fff8e2; font-size:10px; }.test-notice strong { padding:5px 8px; border-radius:7px; color:#624c12; background:#f1cf68; font-size:8px; letter-spacing:.09em; }.portal-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(350px,.85fr); gap:22px; }.hero,.panel { border:1px solid var(--line); border-radius:22px; background:white; box-shadow:0 16px 45px rgba(13,75,59,.07); }.hero { padding:34px; background:linear-gradient(145deg,var(--forest-deep),var(--forest)); color:white; }.kicker { display:block; margin-bottom:12px; color:#aee5ca; font-size:9px; font-weight:800; letter-spacing:.17em; }.hero h1 { margin:0 0 10px; font:800 34px/1.12 Manrope,sans-serif; }.hero .lead { margin:0; color:#dcece6; font-size:13px; line-height:1.6; }.event-meta { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:28px; }.event-meta article { padding:15px; border:1px solid rgba(255,255,255,.15); border-radius:13px; background:rgba(255,255,255,.07); }.event-meta span { display:block; color:#abd5c6; font-size:8px; font-weight:800; letter-spacing:.1em; }.event-meta strong { display:block; margin-top:6px; font:700 12px Manrope,sans-serif; }.window { margin-top:14px; padding:16px; border-radius:13px; background:rgba(255,255,255,.1); }.window strong,.window small { display:block; }.window small { margin-top:5px; color:#cde2da; font-size:9px; line-height:1.5; }
.competition-tags { display:flex; gap:7px; flex-wrap:wrap; margin-top:14px; }.competition-tags span { padding:6px 9px; border:1px solid rgba(255,255,255,.12); border-radius:999px; color:#e5f3ed; background:rgba(255,255,255,.09); font-size:8px; font-weight:700; line-height:1.35; }
.panel { padding:28px; }.panel h2 { margin:0 0 8px; font:800 21px Manrope,sans-serif; }.panel > p { margin:0 0 22px; color:var(--muted); font-size:11px; line-height:1.55; }.form { display:grid; gap:14px; }.field { display:grid; gap:6px; }.field label { color:#50665e; font-size:9px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; } input,select { width:100%; min-height:46px; padding:0 13px; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:white; font:600 12px Montserrat,sans-serif; outline:none; }input:focus,select:focus{border-color:#75b99d;box-shadow:0 0 0 3px rgba(117,185,157,.15)}.two { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.button { min-height:46px; padding:0 18px; border:0; border-radius:11px; font:800 11px Montserrat,sans-serif; cursor:pointer; }.button.primary { color:white; background:var(--coral); box-shadow:0 8px 20px rgba(255,112,90,.22); }.button.secondary { color:var(--forest); background:var(--mint); }.button:disabled { opacity:.48; cursor:not-allowed; }.notice { padding:12px 14px; border-radius:10px; color:#745526; background:#fff4d7; font-size:10px; line-height:1.5; }.notice.error{color:#813c35;background:#ffe7e2}.status-card { padding:18px; border:1px solid var(--line); border-radius:14px; background:#f8fbf9; }.status-badge { display:inline-flex; padding:5px 8px; border-radius:999px; color:#6c5429; background:#fff0c7; font-size:8px; font-weight:800; letter-spacing:.08em; }.status-badge.accepted{color:#18543e;background:#dff3e8}.status-badge.waitlist{color:#77435f;background:#f5e5ee}.status-badge.withdrawn,.status-badge.rejected{color:#6f5c5c;background:#eee8e8}.status-card h3 { margin:12px 0 5px; font:700 17px Manrope,sans-serif; }.status-card p { margin:0 0 16px; color:var(--muted); font-size:10px; line-height:1.55; }.steps { display:flex; gap:7px; margin-bottom:20px; }.steps span { height:5px; flex:1; border-radius:99px; background:#e6eeea; }.steps span.done { background:var(--forest); }.steps span.active { background:var(--coral); }.fineprint { margin-top:14px; color:#819089; font-size:8px; line-height:1.6; }.toast { position:fixed; right:22px; bottom:22px; max-width:360px; padding:13px 16px; border-radius:11px; color:white; background:var(--forest); box-shadow:0 12px 30px rgba(0,0,0,.18); font-size:11px; opacity:0; transform:translateY(10px); pointer-events:none; transition:.2s; }.toast.show{opacity:1;transform:none}footer{width:min(1080px,calc(100% - 32px));margin:0 auto 24px;display:flex;justify-content:space-between;color:#70827b;font-size:9px;}
.button.compact{min-height:34px;padding:0 12px;font-size:9px}.player-matches{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.match-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.match-section-head span{display:block;color:var(--coral);font-size:8px;font-weight:800;letter-spacing:.1em}.match-section-head h3{margin:4px 0 0;font:800 16px Manrope,sans-serif}.match-empty{padding:16px;border-radius:12px;color:var(--muted);background:var(--paper);font-size:10px;line-height:1.55}.match-list{display:grid;gap:10px}.match-card{padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff}.match-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.match-card-head small{color:var(--muted);font-size:8px}.match-state{padding:4px 7px;border-radius:999px;color:#435a52;background:#e9f0ed;font-size:7px;font-weight:800;letter-spacing:.07em}.match-state.playing{color:#fff;background:var(--coral)}.match-state.called{color:#1d5845;background:#d9f2e6}.match-state.delayed,.match-state.result_pending{color:#72511d;background:#fff0c6}.match-state.completed{color:#fff;background:var(--forest)}.match-card h4{margin:11px 0 5px;font:700 13px Manrope,sans-serif}.match-card>p{margin:0;color:var(--muted);font-size:9px}.match-score{display:block;margin-top:10px;font:800 13px Manrope,sans-serif}.match-note{display:block;margin-top:4px;color:#8b651f;font-size:8px}.match-actions{margin-top:12px}.score-form{display:grid;gap:9px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--line)}.score-form>p{margin:0 0 3px;color:var(--muted);font-size:9px;line-height:1.5}.score-form>div:not(.score-buttons){display:grid;grid-template-columns:1fr 72px 1fr;align-items:center;gap:8px}.score-form>div span{text-align:center;color:var(--muted);font-size:8px}.score-form input{min-height:38px;text-align:center}.score-form label{display:grid;gap:5px;color:var(--muted);font-size:8px}.score-buttons{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:780px){.topbar{height:68px;padding:0 18px}.secure{display:none}main{margin-top:20px}.portal-grid{grid-template-columns:1fr}.hero{padding:25px}.hero h1{font-size:27px}.panel{padding:22px}.event-meta,.two{grid-template-columns:1fr}.lookup-form{display:grid}}
.role-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}.role-option{display:grid;gap:4px;padding:14px;border:1px solid var(--line);border-radius:12px;text-align:left;color:var(--ink);background:#fff;cursor:pointer}.role-option strong{font:800 11px Manrope,sans-serif}.role-option small{color:var(--muted);font-size:8px;line-height:1.4}.role-option.active{border-color:var(--coral);background:#fff3ef;box-shadow:0 0 0 2px rgba(255,112,90,.1)}.pin-ready{display:grid;gap:4px;padding:13px 14px;border-radius:11px;color:#18543e;background:#dff3e8}.pin-ready strong{font-size:10px}.pin-ready small{font-size:8px;line-height:1.45}@media(max-width:520px){.role-choice{grid-template-columns:1fr}}
.embed-view { min-height:0; background:transparent; }
.embed-view .topbar, .embed-view footer, .embed-view .toast { display:none; }
.embed-view main { width:100%; margin:0; }
.embed-card { min-height:310px; display:grid; grid-template-rows:auto 1fr auto; overflow:hidden; color:white; text-decoration:none; border:1px solid rgba(255,255,255,.16); border-radius:20px; background:radial-gradient(circle at 92% 8%,rgba(143,218,182,.24),transparent 32%),linear-gradient(145deg,var(--forest-deep),var(--forest)); box-shadow:0 16px 40px rgba(7,60,48,.18); transition:transform .18s ease,box-shadow .18s ease; }
.embed-card:hover { transform:translateY(-2px); box-shadow:0 20px 46px rgba(7,60,48,.24); }
.embed-card:focus-visible { outline:3px solid var(--coral); outline-offset:-3px; }
.embed-brand { display:flex; align-items:center; gap:10px; padding:18px 22px 10px; }
.embed-brand > span:nth-child(2) { display:grid; }
.embed-brand > span:nth-child(2) strong { font:800 12px Manrope,sans-serif; letter-spacing:.12em; }
.embed-brand > span:nth-child(2) small { color:#bcd9ce; font-size:7px; letter-spacing:.2em; }
.embed-brand .brand-mark { width:29px; height:29px; }
.embed-brand .brand-mark i { width:7px; height:7px; }
.embed-brand b { margin-left:auto; padding:6px 9px; border-radius:999px; color:#174b3c; background:#dff5e9; font-size:8px; }
.embed-content { padding:8px 22px 18px; }
.embed-content .kicker { margin-bottom:8px; font-size:8px; }
.embed-content h1 { margin:0; max-width:620px; font:800 clamp(24px,5vw,38px)/1.08 Manrope,sans-serif; }
.embed-meta { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:20px; }
.embed-meta > span { min-width:0; padding:10px 11px; border:1px solid rgba(255,255,255,.13); border-radius:11px; background:rgba(255,255,255,.07); }
.embed-meta small, .embed-meta strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.embed-meta small { color:#a9d3c4; font-size:7px; font-weight:800; letter-spacing:.08em; }
.embed-meta strong { margin-top:5px; font:700 10px Manrope,sans-serif; }
.embed-competitions { display:flex; gap:6px; flex-wrap:wrap; margin-top:11px; }
.embed-competitions span { padding:5px 8px; border-radius:999px; color:#dcece6; background:rgba(255,255,255,.1); font-size:7px; font-weight:700; }
.embed-action { display:flex; align-items:center; justify-content:space-between; padding:13px 22px; color:#fff; background:var(--coral); font-size:10px; font-weight:800; }
.embed-action b { font-size:16px; }
.embed-error { min-height:180px; display:flex; align-items:center; justify-content:center; gap:13px; padding:24px; border:1px solid var(--line); border-radius:18px; color:var(--ink); background:white; }
.embed-error strong, .embed-error small { display:block; }
.embed-error small { margin-top:5px; color:var(--muted); font-size:9px; }
@media(max-width:560px){.embed-card{min-height:360px}.embed-meta{grid-template-columns:1fr 1fr}.embed-content h1{font-size:26px}.embed-brand{padding-inline:17px}.embed-content,.embed-action{padding-inline:17px}}

/* Player home */
main:has(.player-layout) { width:min(1180px,calc(100% - 32px)); margin-top:28px; }
.player-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:30px; align-items:start; }
.player-nav { position:sticky; top:102px; display:grid; gap:6px; padding:10px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.9); box-shadow:0 14px 35px rgba(13,75,59,.06); }
.player-nav a { position:relative; display:grid; grid-template-columns:26px 1fr auto; align-items:center; gap:8px; min-height:48px; padding:0 12px; border-radius:11px; color:#526860; text-decoration:none; font-size:10px; }
.player-nav a > span { font:700 18px Manrope,sans-serif; text-align:center; }
.player-nav a strong { font-weight:700; }
.player-nav a b { display:grid; place-items:center; min-width:19px; height:19px; padding:0 5px; border-radius:99px; color:#fff; background:var(--coral); font-size:8px; }
.player-nav a:hover { background:var(--paper); }
.player-nav a.active { color:var(--forest); background:var(--mint); }
.player-nav a.active::before { content:""; position:absolute; left:-10px; width:3px; height:25px; border-radius:9px; background:var(--coral); }
.player-content { min-width:0; }
.page-heading { margin:4px 0 24px; }
.page-heading > span,.eyebrow,.section-head span { display:block; color:var(--coral); font-size:8px; font-weight:800; letter-spacing:.14em; }
.page-heading h1 { margin:7px 0 5px; font:800 clamp(28px,4vw,42px)/1.08 Manrope,sans-serif; letter-spacing:-.035em; }
.page-heading p { max-width:720px; margin:0; color:var(--muted); font-size:11px; line-height:1.6; }
.dashboard-grid,.today-grid,.match-page-grid,.profile-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr); gap:18px; align-items:start; }
.focus-card,.list-panel,.tournament-pass,.next-match-card,.profile-card,.calendar-toolbar,.calendar-list { border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 14px 35px rgba(13,75,59,.055); }
.focus-card { min-height:340px; padding:40px; background:linear-gradient(145deg,var(--forest-deep),var(--forest)); color:#fff; }
.focus-card h2 { max-width:500px; margin:12px 0 10px; font:800 30px/1.12 Manrope,sans-serif; }
.focus-card p { max-width:560px; margin:0 0 22px; color:#d9ebe4; font-size:11px; line-height:1.7; }
.list-panel { padding:24px; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.section-head h2 { margin:5px 0 0; font:800 19px Manrope,sans-serif; }
.empty-copy { margin:0; color:var(--muted); font-size:10px; line-height:1.6; }
.compact-events { display:grid; gap:9px; }
.compact-events a { display:grid; gap:4px; padding:13px; border-radius:11px; color:var(--ink); background:var(--paper); text-decoration:none; }
.compact-events strong { font:700 11px Manrope,sans-serif; }
.compact-events span { color:var(--muted); font-size:8px; }
.today-grid > div { display:grid; gap:14px; }
.tournament-pass { position:relative; overflow:hidden; padding:29px; color:#fff; background:radial-gradient(circle at 90% 8%,rgba(143,218,182,.25),transparent 34%),linear-gradient(145deg,var(--forest-deep),var(--forest)); }
.tournament-pass h2 { max-width:620px; margin:8px 48px 6px 0; font:800 29px/1.12 Manrope,sans-serif; }
.tournament-pass p { margin:0; color:#cce2da; font-size:10px; }
.tournament-pass .favorite-button { position:absolute; top:20px; right:20px; }
.favorite-button { width:38px; height:38px; padding:0; border:1px solid var(--line); border-radius:10px; color:#a6b2ad; background:#fff; cursor:pointer; font-size:18px; }
.favorite-button.active { color:#815f12; border-color:#efd17a; background:#fff3c9; }
.favorite-button.registered { opacity:1; cursor:default; }
.tournament-pass .favorite-button { border-color:rgba(255,255,255,.18); color:#fff; background:rgba(255,255,255,.1); }
.tournament-pass .favorite-button.active { color:#ffdf76; background:rgba(255,255,255,.16); }
.tournament-pass .competition-tags span { color:#e5f3ed; background:rgba(255,255,255,.09); }
.next-match-card { padding:24px; }
.next-match-card h3 { margin:11px 0 8px; font:800 22px Manrope,sans-serif; }
.next-match-card > p { margin:0 0 16px; color:var(--muted); font-size:10px; line-height:1.6; }
.next-match-meta { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:14px 0; }
.next-match-meta strong { padding:12px; border-radius:10px; color:var(--forest); background:var(--mint); font:800 12px Manrope,sans-serif; }
.action-panel { position:sticky; top:102px; }
.calendar-toolbar { display:flex; align-items:end; justify-content:space-between; gap:18px; padding:18px 20px; }
.calendar-mode-switch { display:inline-flex; gap:4px; margin:0 0 12px; padding:4px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.calendar-mode-switch button { min-height:38px; padding:0 16px; border:0; border-radius:8px; color:var(--muted); background:transparent; font:800 9px Montserrat,sans-serif; cursor:pointer; }
.calendar-mode-switch button.active { color:var(--forest); background:var(--mint); }
.calendar-base-filter { display:flex; flex:1; flex-wrap:wrap; align-items:end; gap:10px; }
.calendar-base-filter label { min-width:165px; }
.calendar-archive-note { flex-basis:100%; margin:0; color:var(--muted); font-size:9px; }
.calendar-toolbar label { display:grid; gap:6px; min-width:220px; color:var(--muted); font-size:8px; font-weight:800; text-transform:uppercase; }
.calendar-toolbar select { min-height:40px; }
.week-controls { display:flex; align-items:center; gap:14px; }
.week-controls button { width:38px; height:38px; border:1px solid var(--line); border-radius:10px; color:var(--forest); background:var(--paper); cursor:pointer; }
.week-controls strong { min-width:120px; text-align:center; font:700 11px Manrope,sans-serif; }
.week-strip { display:grid; grid-template-columns:repeat(7,1fr); gap:8px; margin:12px 0 18px; }
.calendar-day { position:relative; display:grid; place-items:center; min-height:74px; padding:10px; border:1px solid var(--line); border-radius:13px; color:#71847d; background:rgba(255,255,255,.75); }
.calendar-day span { font-size:8px; font-weight:700; text-transform:uppercase; }
.calendar-day strong { margin-top:4px; font:800 18px Manrope,sans-serif; }
.calendar-day b { position:absolute; top:6px; right:6px; display:grid; place-items:center; width:18px; height:18px; border-radius:50%; color:#fff; background:var(--coral); font-size:7px; }
.calendar-day.has-events { color:var(--forest); border-color:#99cdb8; background:var(--mint); }
.calendar-list { padding:24px; }
.tournament-list { display:grid; gap:11px; }
.tournament-card { display:grid; grid-template-columns:60px minmax(0,1fr) auto; gap:16px; align-items:center; padding:16px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.tournament-card.registered { border-color:var(--success); box-shadow:inset 3px 0 var(--success); }
.date-tile { display:grid; place-items:center; min-height:62px; border-radius:12px; color:#fff; background:var(--forest); }
.date-tile span { font-size:7px; font-weight:800; text-transform:uppercase; }
.date-tile strong { font:800 22px Manrope,sans-serif; }
.tournament-card-copy h3 { margin:5px 0; font:800 15px Manrope,sans-serif; }
.tournament-card-status { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.calendar-status { display:inline-flex; flex:0 0 auto; padding:5px 8px; border-radius:999px; font-size:7px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.calendar-status.registration_open { color:#18543e; background:#dff3e8; }
.calendar-status.registration_scheduled { color:#6c5429; background:#fff0c7; }
.calendar-status.registration_closed { color:#745526; background:#f4ead2; }
.calendar-status.ended { color:#6f5c5c; background:#eee8e8; }
.tournament-card-copy > p { margin:0; color:var(--muted); font-size:9px; }
.registration-badge { display:inline-flex; align-items:center; width:max-content; margin:2px 0 5px; padding:5px 8px; border:1px solid var(--success); border-radius:999px; color:var(--success); background:color-mix(in srgb,var(--success) 15%,var(--surface)); font-size:8px; font-weight:900; letter-spacing:.03em; }
.tournament-card .competition-tags { margin-top:8px; }
.tournament-card .competition-tags span { color:var(--forest); border-color:var(--line); background:var(--paper); }
.card-actions { display:grid; grid-template-columns:38px auto; gap:8px; align-items:center; }
.card-actions .button { display:grid; place-items:center; text-decoration:none; white-space:nowrap; }
.empty-state { display:grid; place-items:center; min-height:190px; padding:30px; border:1px dashed #bfd0c9; border-radius:14px; text-align:center; background:var(--paper); }
.empty-state strong { font:800 15px Manrope,sans-serif; }
.empty-state p { margin:7px 0 0; color:var(--muted); font-size:9px; }
.context-pill { display:inline-flex; margin:-12px 0 16px; padding:7px 10px; border-radius:999px; color:var(--forest); background:var(--mint); font-size:8px; font-weight:800; }
.match-page-grid { grid-template-columns:1fr 1fr; }
.notice-panel { max-width:760px; }
.notice-list { display:grid; gap:10px; }
.notice-item { display:grid; grid-template-columns:38px 1fr; gap:13px; padding:15px; border-radius:12px; background:var(--paper); }
.notice-item > span { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; color:#fff; background:var(--forest); font-weight:800; }
.notice-item.urgent > span { background:var(--coral); }
.notice-item.warning > span { color:#6d5313; background:#f4d978; }
.notice-item strong { font:800 12px Manrope,sans-serif; }
.notice-item p { margin:4px 0 0; color:var(--muted); font-size:9px; line-height:1.5; }
.text-button { margin-top:7px; padding:0; border:0; color:var(--forest); background:transparent; font-size:8px; font-weight:800; cursor:pointer; }
.profile-grid { grid-template-columns:1fr 1fr; }
.profile-card { grid-column:1/-1; display:grid; grid-template-columns:64px 1fr auto; gap:16px; align-items:center; padding:24px; }
.avatar { display:grid; place-items:center; width:64px; height:64px; border-radius:20px; color:#fff; background:var(--forest); font:800 20px Manrope,sans-serif; }
.profile-card h2 { margin:5px 0 3px; font:800 20px Manrope,sans-serif; }
.profile-card p { margin:0; color:var(--muted); font-size:9px; }
.feature-list { display:grid; gap:11px; margin:0; padding:0; list-style:none; }
.feature-list li { position:relative; padding-left:22px; font-size:10px; line-height:1.45; }
.feature-list li::before { content:"✓"; position:absolute; left:0; color:var(--coral); font-weight:800; }
.feature-list.muted li::before { content:"○"; color:#84968f; }
.profile-login { max-width:560px; }
.guest-profile-grid .profile-login { max-width:none; }
.player-plus-card { display:grid; align-content:start; gap:18px; border-color:var(--gold-dark); background:linear-gradient(145deg,color-mix(in srgb,var(--gold) 12%,var(--surface)),var(--surface)); }
.player-plus-card-head { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.player-plus-card-head span { color:var(--gold); font-size:8px; font-weight:900; letter-spacing:.14em; }
.player-plus-card-head h2 { margin:5px 0 0; font-size:19px; }
.player-plus-card-head>strong { display:grid; justify-items:end; color:var(--gold); font-size:24px; white-space:nowrap; }
.player-plus-card-head small { margin-top:3px; color:var(--muted); font-size:8px; font-weight:700; }
.player-plus-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:26px; align-items:center; padding:30px; border:1px solid var(--gold-dark); border-radius:6px; color:var(--text); background:radial-gradient(circle at 88% 8%,rgba(223,190,120,.18),transparent 23rem),var(--surface); box-shadow:var(--shadow); }
.player-plus-hero h2 { margin:4px 0 7px; color:var(--gold); font-size:30px; }
.player-plus-hero p { max-width:620px; margin:0; color:var(--muted); font-size:11px; line-height:1.6; }
.plus-state { display:grid; gap:5px; max-width:230px; padding:14px 16px; border:1px solid var(--line); border-radius:4px; background:var(--deep); }
.plus-state strong { color:var(--gold); font-size:9px; letter-spacing:.1em; }
.plus-state small { color:var(--muted); font-size:8px; line-height:1.5; }
.history-preview-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:16px 0; }
.history-stat-card { min-height:180px; padding:22px; border:1px solid var(--line); border-radius:5px; background:var(--surface); box-shadow:var(--shadow); }
.history-stat-card>span { color:var(--gold); font-size:8px; font-weight:900; letter-spacing:.12em; }
.history-stat-card h3 { margin:22px 0 9px; font-size:21px; }
.history-stat-card p { margin:16px 0 0; color:var(--muted); font-size:9px; line-height:1.55; }
.form-strip { display:flex; flex-wrap:wrap; gap:7px; margin-top:25px; }
.form-strip span { display:grid; place-items:center; width:31px; height:31px; border-radius:50%; color:#fff; font-size:10px; font-weight:900; }
.form-strip .win { background:var(--success); }
.form-strip .loss { background:var(--danger); }
.stat-pair { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:20px; }
.stat-pair strong { display:grid; gap:8px; padding:13px; border:1px solid var(--line); border-radius:4px; color:var(--muted); font-size:9px; }
.stat-pair b { color:var(--text); font-size:24px; }
.history-scope { margin-top:0; }
.history-feature-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
.history-boundary { display:grid; gap:5px; margin:22px 0 16px; padding:15px; border-left:3px solid var(--success); background:color-mix(in srgb,var(--success) 12%,var(--deep)); }
.history-boundary strong { color:var(--success); font-size:10px; }
.history-boundary span { color:var(--muted); font-size:9px; line-height:1.5; }
.player-plus-hero.active { border-color:var(--success); }
.player-plus-hero.active .plus-state { border-color:var(--success); }
.player-plus-hero.active .plus-state strong { color:var(--success); }
.player-plus-payment { display:grid; gap:9px; margin-top:22px; padding:18px; border:1px solid var(--gold-dark); border-radius:6px; background:color-mix(in srgb,var(--gold) 7%,var(--surface)); }
.player-plus-payment>span { color:var(--gold); font-size:8px; font-weight:900; letter-spacing:.14em; }
.player-plus-payment>strong { color:var(--text); font-size:20px; letter-spacing:.08em; overflow-wrap:anywhere; }
.player-plus-payment>p { margin:0; color:var(--muted); font-size:10px; line-height:1.55; }
.player-plus-payment>small { color:var(--warning); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.empty-inline { align-self:center; color:var(--muted); font-size:9px; }
.plus-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:14px; }
.plus-data-list { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.plus-data-list li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 14px; padding:12px 0; border-bottom:1px solid var(--line); }
.plus-data-list li:last-child { border-bottom:0; }
.plus-data-list strong { font-size:10px; }
.plus-data-list span { grid-column:1; color:var(--muted); font-size:8px; }
.plus-data-list b { grid-column:2; grid-row:1/3; align-self:center; color:var(--gold); font-size:9px; text-align:right; }
.plus-data-list .empty-row { display:block; color:var(--muted); font-size:9px; }
.plus-history { margin-top:0; }
.plus-match-list { display:grid; gap:8px; }
.plus-match { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:16px; align-items:center; padding:13px 15px; border:1px solid var(--line); border-left:3px solid var(--danger); border-radius:4px; background:var(--deep); }
.plus-match.win { border-left-color:var(--success); }
.plus-match div { display:grid; gap:3px; }
.plus-match div>span,.plus-match small { color:var(--muted); font-size:8px; }
.plus-match strong { font-size:11px; }
.plus-match>b { color:var(--danger); font-size:8px; letter-spacing:.08em; }
.plus-match.win>b { color:var(--success); }
.plus-match em { color:var(--text); font-size:9px; font-style:normal; white-space:nowrap; }

@media(max-width:920px){
  main:has(.player-layout){margin-bottom:110px}.player-layout{display:block}.player-nav{position:fixed;z-index:20;left:12px;right:12px;bottom:10px;top:auto;grid-template-columns:repeat(5,1fr);gap:2px;padding:7px;border-radius:18px;box-shadow:0 12px 35px rgba(0,0,0,.18)}.player-nav a{display:grid;grid-template-columns:1fr;gap:2px;place-items:center;min-height:53px;padding:5px 2px;text-align:center}.player-nav a>span{font-size:16px}.player-nav a strong{font-size:7px}.player-nav a b{position:absolute;top:2px;right:calc(50% - 18px)}.player-nav a.active::before{left:25%;right:25%;top:-7px;width:auto;height:3px}.action-panel{position:static}.today-grid,.dashboard-grid{grid-template-columns:1fr}.match-page-grid{grid-template-columns:1fr}.profile-grid{grid-template-columns:1fr}.profile-card{grid-column:auto}
}
@media(max-width:640px){
  main:has(.player-layout){width:min(100% - 22px,1180px);margin-top:18px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:29px}.calendar-toolbar{align-items:stretch;flex-direction:column}.calendar-toolbar label{min-width:0}.calendar-base-filter{display:grid;grid-template-columns:1fr 1fr}.calendar-mode-switch{display:grid;grid-template-columns:1fr 1fr}.week-controls{justify-content:space-between}.week-strip{gap:4px}.calendar-day{min-height:61px;padding:7px}.calendar-day strong{font-size:15px}.tournament-card{grid-template-columns:48px 1fr}.date-tile{min-height:55px}.tournament-card-status{align-items:flex-start;flex-direction:column}.card-actions{grid-column:1/-1;grid-template-columns:38px 1fr}.profile-card{grid-template-columns:54px 1fr}.profile-card .button{grid-column:1/-1}.avatar{width:54px;height:54px}.tournament-pass,.next-match-card,.list-panel,.calendar-list{padding:20px}.tournament-pass h2{font-size:24px}.topbar{padding-inline:14px}.brand strong{font-size:12px}
}
@media(max-width:640px){.player-plus-hero{grid-template-columns:1fr;padding:22px}.plus-state{max-width:none}.history-preview-grid{grid-template-columns:1fr}.history-feature-list{grid-template-columns:1fr}.player-plus-card-head{display:grid}.player-plus-card-head>strong{justify-items:start}}
@media(max-width:760px){.plus-detail-grid{grid-template-columns:1fr}.plus-match{grid-template-columns:1fr auto}.plus-match em{grid-column:1/-1}.plus-data-list li{grid-template-columns:minmax(0,1fr) auto}}

/* APODOT facade ---------------------------------------------------------- */
:root {
  color-scheme:dark;
  --bg:#343638;
  --surface:#3e4143;
  --surface-raised:#46494b;
  --deep:#2b2d2f;
  --gold:#dfbe78;
  --gold-dark:#b59453;
  --text:#f5f3ed;
  --muted:#c6c7c3;
  --line:#62625c;
  --shadow:0 16px 38px rgba(17,18,18,.22);
  --danger:#d57568;
  --success:#78a58e;
  --warning:#d7b45d;
  --font:Arial,Helvetica,sans-serif;
  --forest:var(--gold);
  --forest-deep:var(--deep);
  --mint:rgba(223,190,120,.13);
  --coral:var(--gold);
  --ink:var(--text);
  --paper:var(--deep);
  --white:var(--surface);
}
html[data-theme="light"] {
  color-scheme:light;
  --bg:#f7f4ed;
  --surface:#fcfaf5;
  --surface-raised:#eee9df;
  --deep:#e7e1d5;
  --gold:#806022;
  --gold-dark:#694c18;
  --text:#282c2e;
  --muted:#565950;
  --line:#c8bfae;
  --shadow:0 14px 34px rgba(57,49,38,.09);
  --danger:#9d483e;
  --success:#35654e;
  --warning:#84651d;
}
html { scroll-behavior:smooth; }
body {
  color:var(--text);
  background:
    radial-gradient(circle at 82% -10%,rgba(223,190,120,.1),transparent 30rem),
    linear-gradient(145deg,var(--bg),var(--deep));
  background-attachment:fixed;
  font-family:var(--font);
  transition:background-color .2s ease,color .2s ease;
}
button,input,select { font-family:var(--font); }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid var(--gold);
  outline-offset:3px;
}
.topbar {
  height:92px;
  padding:0 max(24px,calc((100vw - 1180px)/2));
  border-color:var(--line);
  background:color-mix(in srgb,var(--bg) 91%,transparent);
  box-shadow:0 8px 24px rgba(14,15,15,.08);
}
.brand { gap:13px; color:var(--text); }
.brand-emblem { display:block; width:46px; height:46px; object-fit:contain; }
.brand-copy { display:grid; gap:4px; }
.brand-wordmark { display:block; width:142px; height:auto; }
.brand-copy small,.embed-brand small { color:var(--gold); font-size:8px; letter-spacing:.2em; }
.topbar-actions { display:flex; align-items:center; gap:22px; }
.secure { color:var(--muted); letter-spacing:.14em; }
.theme-toggle {
  min-height:40px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--text);
  background:transparent;
  font-size:11px;
  cursor:pointer;
}
.theme-toggle:hover { color:var(--gold); border-color:var(--gold); }
main { margin-top:34px; }
footer { color:var(--muted); border-top:1px solid var(--line); padding-top:20px; }
.loading-card,.lookup-card,.error-card,
.hero,.panel,.status-card,.match-card,.role-option,.embed-error,
.player-nav,.focus-card,.list-panel,.tournament-pass,.next-match-card,.profile-card,
.calendar-toolbar,.calendar-list,.tournament-card {
  color:var(--text);
  border-color:var(--line);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.loading-card,.lookup-card,.error-card,.hero,.panel { border-radius:6px; }
.focus-card,.list-panel,.tournament-pass,.next-match-card,.profile-card,
.calendar-toolbar,.calendar-list,.tournament-card,.match-card,.status-card { border-radius:5px; }
.loading-card p,.lookup-card p,.error-card p,.panel>p,.status-card p,
.match-card>p,.score-form>p,.score-form label,.fineprint { color:var(--muted); }
.spinner { border-color:var(--line); border-top-color:var(--gold); }
.hero,.focus-card,.tournament-pass,.embed-card {
  color:#f5f3ed;
  border-color:#756d5c;
  background:
    radial-gradient(circle at 90% 8%,rgba(223,190,120,.2),transparent 31%),
    linear-gradient(145deg,#292b2d,#3c3e3f);
}
.hero .lead,.focus-card p,.tournament-pass p,.window small { color:#d5d3cc; }
.kicker,.eyebrow,.page-heading>span,.section-head span,.match-section-head span { color:var(--gold); }
.event-meta article,.window,.competition-tags span,.embed-meta>span {
  border-color:rgba(223,190,120,.3);
  border-radius:3px;
  background:rgba(255,255,255,.045);
}
.event-meta span,.embed-meta small { color:#ddc58f; }
.competition-tags span,.embed-competitions span { color:#ece5d7; }
input,select {
  color:var(--text);
  border-color:var(--line);
  border-radius:3px;
  background:var(--deep);
}
input:focus,select:focus { border-color:var(--gold); box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 20%,transparent); }
.field label,.calendar-toolbar label { color:var(--muted); }
.button { border-radius:3px; transition:background-color .16s ease,border-color .16s ease,transform .16s ease; }
.button:hover:not(:disabled) { transform:translateY(-1px); }
.button.primary {
  color:#282a2b;
  border:1px solid var(--gold);
  background:#dfbe78;
  box-shadow:none;
}
.button.primary:hover:not(:disabled) { background:#ecd299; }
.button.secondary {
  color:var(--gold);
  border:1px solid var(--gold-dark);
  background:transparent;
}
.test-notice,.notice {
  color:var(--text);
  border:1px solid color-mix(in srgb,var(--warning) 52%,var(--line));
  border-radius:3px;
  background:color-mix(in srgb,var(--warning) 14%,var(--surface));
}
.test-notice strong { color:#282a2b; border-radius:2px; background:#dfbe78; }
.notice.error { color:var(--text); background:color-mix(in srgb,var(--danger) 18%,var(--surface)); }
.status-badge,.match-state,.context-pill { border-radius:999px; }
.status-badge { color:var(--warning); background:color-mix(in srgb,var(--warning) 15%,var(--surface)); }
.status-badge.accepted,.match-state.called { color:var(--success); background:color-mix(in srgb,var(--success) 15%,var(--surface)); }
.status-badge.waitlist { color:#c89ab3; background:rgba(200,154,179,.13); }
.status-badge.withdrawn,.status-badge.rejected { color:var(--muted); background:var(--deep); }
.steps span { background:var(--deep); }
.steps span.done { background:var(--gold-dark); }
.steps span.active { background:var(--gold); }
.toast { color:#282a2b; border-radius:3px; background:#dfbe78; }
.role-option { border-radius:4px; }
.role-option.active { border-color:var(--gold); background:color-mix(in srgb,var(--gold) 12%,var(--surface)); box-shadow:0 0 0 2px color-mix(in srgb,var(--gold) 12%,transparent); }
.pin-ready { color:var(--success); border-radius:3px; background:color-mix(in srgb,var(--success) 15%,var(--surface)); }
.match-empty,.notice-item,.compact-events a,.empty-state {
  color:var(--text);
  border-radius:4px;
  background:var(--deep);
}
.match-card { background:var(--surface-raised); }
.match-state { color:var(--muted); background:var(--deep); }
.match-state.playing { color:#282a2b; background:#dfbe78; }
.match-state.delayed,.match-state.result_pending { color:var(--warning); background:color-mix(in srgb,var(--warning) 14%,var(--surface)); }
.match-state.completed { color:var(--text); background:color-mix(in srgb,var(--success) 34%,var(--deep)); }
.match-note { color:var(--warning); }
.score-form { border-color:var(--line); }
.player-nav {
  top:112px;
  border-radius:5px;
  background:color-mix(in srgb,var(--surface) 94%,transparent);
  backdrop-filter:blur(14px);
}
.player-nav a { color:var(--muted); border-radius:3px; }
.player-nav a:hover { color:var(--text); background:var(--deep); }
.player-nav a.active { color:var(--gold); background:color-mix(in srgb,var(--gold) 12%,var(--surface)); }
.player-nav a.active::before,.player-nav a b,.calendar-day b { background:var(--gold); }
.player-nav a b,.calendar-day b { color:#282a2b; }
.page-heading h1 { font-weight:500; letter-spacing:-.025em; }
.page-heading p,.empty-copy,.next-match-card>p,.tournament-card-copy>p,
.empty-state p,.notice-item p,.profile-card p,.compact-events span { color:var(--muted); }
.focus-card h2,.tournament-pass h2 { font-weight:500; }
.compact-events a { border:1px solid transparent; }
.compact-events a:hover { border-color:var(--gold-dark); }
.favorite-button {
  color:var(--muted);
  border-color:var(--line);
  border-radius:3px;
  background:var(--deep);
}
.favorite-button.active { color:var(--gold); border-color:var(--gold); background:color-mix(in srgb,var(--gold) 12%,var(--surface)); }
.registration-badge { color:var(--success); border-color:var(--success); background:color-mix(in srgb,var(--success) 15%,var(--surface)); }
.favorite-button.registered,.tournament-pass .favorite-button.registered { color:var(--success); border-color:var(--success); background:color-mix(in srgb,var(--success) 18%,var(--surface)); }
.tournament-pass .favorite-button { border-color:rgba(223,190,120,.4); color:#f5f3ed; background:rgba(0,0,0,.16); }
.tournament-pass .favorite-button.active { color:#dfbe78; background:rgba(223,190,120,.12); }
.tournament-pass-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.tournament-pass-meta span { display:inline-flex; align-items:center; gap:6px; padding:7px 10px; color:#f5f3ed; border:1px solid rgba(223,190,120,.4); border-radius:999px; background:rgba(0,0,0,.16); font-size:9px; font-weight:800; }
.next-match-meta strong { color:var(--gold); border:1px solid var(--line); border-radius:3px; background:var(--deep); }
.calendar-toolbar,.calendar-list { background:var(--surface); }
.calendar-mode-switch { border-radius:5px; }
.calendar-mode-switch button { border-radius:3px; color:var(--muted); font-family:var(--font); }
.calendar-mode-switch button.active { color:#282a2b; background:var(--gold); }
.calendar-status { border:1px solid currentColor; border-radius:999px; background:transparent; }
.calendar-status.registration_open { color:var(--success); background:color-mix(in srgb,var(--success) 13%,var(--surface)); }
.calendar-status.registration_scheduled { color:var(--gold); background:color-mix(in srgb,var(--gold) 11%,var(--surface)); }
.calendar-status.registration_closed { color:var(--warning); background:color-mix(in srgb,var(--warning) 11%,var(--surface)); }
.calendar-status.ended { color:var(--muted); background:var(--deep); }
.week-controls button {
  color:var(--gold);
  border-color:var(--line);
  border-radius:3px;
  background:var(--deep);
}
.week-controls button:hover { border-color:var(--gold); }
.calendar-day {
  color:var(--muted);
  border-color:var(--line);
  border-radius:3px;
  background:color-mix(in srgb,var(--surface) 84%,transparent);
}
.calendar-day.has-events { color:var(--text); border-color:var(--gold-dark); background:color-mix(in srgb,var(--gold) 13%,var(--surface)); }
.date-tile { color:#282a2b; border-radius:3px; background:#dfbe78; }
.tournament-card .competition-tags span { color:var(--gold); border-color:var(--line); background:var(--deep); }
.empty-state { border-color:var(--line); }
.context-pill { color:var(--gold); background:color-mix(in srgb,var(--gold) 13%,var(--surface)); }
.notice-item>span { color:#282a2b; background:#dfbe78; }
.notice-item.urgent>span { color:#fff; background:var(--danger); }
.notice-item.warning>span { color:#282a2b; background:#d7b45d; }
.text-button { color:var(--gold); }
.avatar { color:#282a2b; border-radius:3px; background:#dfbe78; }
.feature-list li::before { color:var(--gold); }
.feature-list.muted li::before { color:var(--muted); }
.embed-view { background:transparent; }
.embed-card { border-radius:5px; box-shadow:var(--shadow); }
.embed-card:focus-visible { outline-color:var(--gold); }
.embed-brand .brand-emblem { width:34px; height:34px; }
.embed-brand .brand-wordmark { width:112px; }
.embed-brand b { color:#282a2b; border-radius:999px; background:#dfbe78; }
.embed-content h1 { font-weight:500; }
.embed-action { color:#282a2b; background:#dfbe78; }
.embed-error { border-radius:5px; }
.embed-error .brand-emblem { width:40px; height:40px; }
.location-details { display:inline-block; position:relative; }
.location-details summary { color:var(--gold); font-weight:800; cursor:pointer; list-style:none; }
.location-details summary::-webkit-details-marker { display:none; }
.location-details summary::after { content:" ⓘ"; font-size:.8em; }
.location-details>div { display:grid; gap:5px; min-width:260px; margin-top:8px; padding:12px; border:1px solid var(--line); border-radius:4px; color:var(--text); background:var(--deep); box-shadow:var(--shadow); }
.location-details>div a { color:var(--gold); }
.calendar-location { margin:5px 0; }
.participant-roster { margin-top:22px; padding:0 22px; border:1px solid var(--line); border-radius:5px; color:var(--text); background:var(--surface); box-shadow:var(--shadow); }
.participant-roster summary { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:20px 0; cursor:pointer; list-style:none; }
.participant-roster summary::-webkit-details-marker { display:none; }
.participant-roster summary::after { content:"⌄"; color:var(--gold); font-size:20px; transition:transform .16s ease; }
.participant-roster[open] summary::after { transform:rotate(180deg); }
.participant-roster summary>div { flex:1; }
.participant-roster summary h2 { margin:4px 0 0; font-size:18px; font-weight:600; }
.participant-roster summary>strong { color:var(--gold); font-size:10px; white-space:nowrap; }
.participant-roster>p { margin:0 0 20px; color:var(--muted); }
.participant-roster ol { display:grid; gap:0; margin:0; padding:0 0 18px; list-style:none; }
.participant-roster li { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:12px 0; border-top:1px solid var(--line); }
.participant-roster li>div:first-child { display:grid; gap:4px; }
.participant-roster li strong { font-size:11px; }
.participant-roster li span,.participant-ranking small { color:var(--muted); font-size:8px; }
.participant-ranking { display:grid; justify-items:end; gap:3px; text-align:right; }
.participant-ranking b { color:var(--gold); font-size:11px; }
.tournament-information { margin-top:22px; padding:22px; border:1px solid var(--line); border-radius:5px; background:var(--surface); }
.info-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.info-grid article { display:grid; align-content:start; gap:6px; min-height:96px; padding:14px; border:1px solid var(--line); border-radius:4px; background:var(--deep); }
.info-grid small { color:var(--gold); font-size:10px; font-weight:900; letter-spacing:.09em; }
.info-grid a { color:var(--text); }
.info-grid span { color:var(--muted); }
.competition-info-list { display:grid; gap:6px; margin:14px 0 0; padding:0; list-style:none; }
.competition-info-list li { display:flex; justify-content:space-between; gap:16px; padding:10px 12px; border-bottom:1px solid var(--line); }
.competition-info-list li span { color:var(--muted); }
html[data-theme="light"] .brand-emblem,html[data-theme="light"] .brand-wordmark { filter:brightness(.65); }
@media(max-width:920px) {
  .player-nav { top:auto; bottom:10px; background:color-mix(in srgb,var(--surface) 96%,transparent); border-radius:5px; }
  .player-nav a.active::before { background:var(--gold); }
}
@media(max-width:780px) {
  .topbar { height:72px; }
  .brand-emblem { width:38px; height:38px; }
  .brand-wordmark { width:116px; }
  .brand-copy small { font-size:7px; }
  .info-grid { grid-template-columns:1fr; }
}
@media(max-width:520px) {
  .topbar-actions { gap:8px; }
  .theme-toggle { min-width:40px; padding:0 9px; font-size:0; }
  .theme-toggle::first-letter { font-size:15px; }
  .brand-wordmark { width:104px; }
  .participant-roster summary { align-items:flex-start; }
  .participant-roster summary>strong { white-space:normal; }
  .participant-roster li { align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition-duration:.01ms!important; animation-duration:.01ms!important; animation-iteration-count:1!important; }
}
