:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0b2f44;background:#f6efe3;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f6efe3}button,input,select{font:inherit}button{cursor:pointer}.screen,.identity-screen{min-height:100vh;display:grid;place-items:center;padding:20px}.center{text-align:center}.app-shell{min-height:100vh;padding-bottom:84px}.content{width:min(100%,920px);margin:0 auto;padding:12px 14px 28px}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:8px;padding:10px 12px;background:#f6efe3f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(11,47,68,.12)}.identity-pill,.admin-form,.secondary-button,.primary-button,.action-link,.back-link{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;text-decoration:none;border:0}.identity-pill{flex:1;justify-content:flex-start;padding:0 12px;color:#fff;background:#0b2f44}.admin-form{flex-wrap:wrap;padding:3px 4px 3px 9px;background:#fff;border:1px solid rgba(11,47,68,.14)}.admin-form input{width:clamp(92px,16vw,150px);border:0;outline:0}.admin-form button,.draft button,.segmented button{min-height:36px;border:0;border-radius:7px;padding:0 10px;color:#0b2f44;background:#ffd166;font-weight:800}.tiny-error{color:#b91c1c;font-size:.78rem;position:absolute;top:56px;right:12px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(auto-fit,minmax(58px,1fr));padding:7px max(8px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right));background:#0b2f44;box-shadow:0 -8px 24px #0b2f4438}.bottom-nav a{min-height:58px;display:grid;place-items:center;gap:2px;color:#ffffffb8;text-decoration:none;font-weight:800;font-size:.78rem;border-radius:8px}.bottom-nav a.active{color:#0b2f44;background:#ffd166}.page-stack{display:grid;gap:14px}.hero-band,.detail-head{padding:20px;border-radius:8px;color:#fff;background:linear-gradient(135deg,#0b2f44,#0e7490)}.hero-band h1,.detail-head h1,.section-title h1,.section-title h2{margin:4px 0;letter-spacing:0}.hero-band p,.detail-head p{margin:6px 0 0}.eyebrow{margin:0;text-transform:uppercase;font-weight:900;font-size:.78rem;color:#ffd166}.section-title{display:flex;justify-content:space-between;align-items:end;gap:12px}.section-title span{color:#60717c;font-weight:700}.card,.identity-card{padding:16px;border-radius:8px;background:#ffffffeb;border:1px solid rgba(11,47,68,.1);box-shadow:0 10px 24px #0b2f4414}.identity-card{width:min(100%,440px)}.identity-card h1{margin-top:6px}.participant-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.participant-choice{min-height:64px;display:flex;align-items:center;gap:10px;padding:10px;border:1px solid rgba(11,47,68,.12);border-radius:8px;background:#fff;color:#0b2f44;font-weight:900}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--avatar, #0e7490)}.game-card{display:grid;grid-template-columns:1fr;gap:12px}.game-card h2{margin:4px 0}.game-card p{margin:0 0 8px;color:#43545f}.game-card small{color:#667985;font-weight:800}.status{width:max-content;margin:0;padding:4px 8px;border-radius:999px;font-size:.72rem;font-weight:900;background:#e2e8f0}.status.active{color:#052e16;background:#bbf7d0}.status.completed{color:#17324d;background:#bfdbfe}.status.upcoming{color:#713f12;background:#fde68a}.action-link,.primary-button{width:100%;padding:0 14px;color:#0b2f44;background:#ffd166;font-weight:900}.secondary-button{width:100%;margin-top:14px;padding:0 14px;color:#0b2f44;background:#fff;font-weight:900}.secondary-button:disabled,.primary-button:disabled,button:disabled{opacity:.55;cursor:not-allowed}.back-link{justify-content:flex-start;color:#0b2f44;font-weight:900}.standings{display:grid;gap:8px}.standing-row{min-height:58px;display:grid;grid-template-columns:44px 1fr auto 64px;align-items:center;gap:8px;width:100%;border:1px solid rgba(11,47,68,.1);border-radius:8px;background:#fff;color:#0b2f44;text-align:left;padding:0 12px}.standings.compact .standing-row{grid-template-columns:44px 1fr auto}.rank{font-weight:900;color:#0e7490}.name{font-weight:900}.gap{color:#667985;text-align:right}.standing-row.me{outline:3px solid #ffd166}.feed{display:grid;gap:8px}.feed-item{padding:12px;border-left:5px solid #14b8a6;border-radius:8px;background:#fff}.feed-item strong{font-size:.76rem;color:#60717c}.feed-item p{margin:3px 0 0}.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.segmented button{background:#fff;border:1px solid rgba(11,47,68,.12)}.segmented .selected{background:#0b2f44;color:#fff}.game-detail-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px;border-radius:8px;background:#ffffffb3;border:1px solid rgba(11,47,68,.1)}.game-detail-tabs button{min-height:46px;border:0;border-radius:7px;color:#0b2f44;background:transparent;font-weight:900}.game-detail-tabs .selected{color:#fff;background:#0b2f44}.game-rules{display:grid;gap:14px}.game-rules h2{margin:0}.rules-sections{display:grid;gap:12px}.rules-section{display:grid;gap:8px;padding-top:12px;border-top:1px solid rgba(11,47,68,.1)}.rules-section:first-child{padding-top:0;border-top:0}.rules-section h3{margin:0;color:#0e7490;font-size:.88rem;text-transform:uppercase}.rules-section p,.rules-section ul{margin:0}.rules-section ul{display:grid;gap:7px;padding-left:20px;color:#43545f}.rules-section li{line-height:1.45}.draft-rounds{display:grid;gap:10px;margin-top:12px}.draft{display:grid;gap:6px;padding:12px;border-radius:8px;background:#f8fafc}.draft p{margin:0}.match-card{display:grid;gap:12px}.score-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}label{display:grid;gap:6px;font-weight:900}input{min-height:44px;width:100%;padding:0 10px;border-radius:8px;border:1px solid rgba(11,47,68,.18);background:#fff;color:#0b2f44}select{min-height:40px;padding:0 10px;border-radius:8px;border:1px solid rgba(11,47,68,.18);background:#fff;color:#0b2f44;font-weight:800}.input-card{display:grid;gap:12px}.individual-row{display:grid;grid-template-columns:1fr minmax(96px,180px);align-items:center;gap:10px}.throws{display:grid;grid-template-columns:repeat(3,1fr) 44px;align-items:center;gap:6px}.throws span{font-weight:900;text-align:right}.stats-grid{display:grid;gap:10px}.stat-card span{color:#60717c;font-weight:800}.stat-card strong{display:block;margin-top:6px;font-size:1.35rem}.stat-card p{margin:4px 0 0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;align-items:end;background:#0b2f4461}.modal{max-height:88vh;overflow:auto;padding:20px;border-radius:8px 8px 0 0;background:#fff}.close{float:right}.icon-button{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:8px;background:#eef2f7}.profile-total{font-size:1.1rem;font-weight:900}.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.profile-grid span{padding:10px;border-radius:8px;background:#f1f5f9;font-weight:800}.plain-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.plain-list li{display:flex;justify-content:space-between;gap:8px}.participant-admin-form{display:grid;gap:12px}.participant-admin-list{display:grid;gap:10px}.participant-admin-row{min-height:72px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid rgba(11,47,68,.1);border-radius:8px;background:#fff}.participant-admin-main{min-width:0;display:grid;gap:2px}.participant-admin-main strong{overflow-wrap:anywhere;font-size:1.02rem}.participant-admin-main small{color:#166534;font-weight:900}.participant-admin-actions{display:flex;gap:8px}.icon-button.danger{color:#991b1b;background:#fee2e2}.delete-dialog h2{margin:4px 0 10px}.delete-dialog p{margin:0 0 14px;color:#43545f}.danger-dialog{border-top:5px solid #dc2626}.danger-heading{display:flex;align-items:center;gap:10px;color:#991b1b}.danger-heading h2{margin:0 0 10px}.impact-list{display:grid;gap:8px;margin:0 0 16px;padding:0;list-style:none}.impact-list li{padding:10px 12px;border-radius:8px;color:#7f1d1d;background:#fee2e2;font-weight:900}.dialog-actions{display:grid;grid-template-columns:1fr;gap:10px}.dialog-actions .secondary-button{margin-top:0}.danger-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:0 14px;border:0;border-radius:8px;color:#fff;background:#dc2626;font-weight:900}.boochie-overview{display:grid;gap:12px}.boochie-overview h2{margin:4px 0 0}.boochie-status-control{display:grid;gap:8px}.boochie-status-control span{color:#60717c;font-weight:900}.boochie-actions{display:grid;gap:10px}.boochie-actions .notice{margin:0;padding:0}.boochie-groups{display:grid;gap:12px}.boochie-group{display:grid;gap:14px}.boochie-group-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.boochie-group-head h2{margin:0 0 2px}.boochie-group-head span,.boochie-group-head small{color:#60717c;font-weight:900}.boochie-player-list{display:grid;gap:10px}.boochie-player{display:grid;gap:10px;padding:12px;border-radius:8px;background:#f8fafc}.boochie-player-score{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.boochie-player-score strong{min-width:0;overflow-wrap:anywhere}.boochie-player-score span{min-width:54px;min-height:46px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#0b2f44;font-size:1.45rem;font-weight:900}.boochie-player-score small{grid-column:1 / -1;color:#166534;font-weight:900}.boochie-score-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.boochie-score-actions button{min-height:46px;border:0;border-radius:8px;color:#0b2f44;background:#fff;font-weight:900}.boochie-score-actions .direct-win-button{grid-column:1 / -1;color:#0b2f44;background:#dbeafe}.boochie-confirm-dialog p{margin:0 0 14px;color:#43545f}.boochie-confirm-title{display:flex;align-items:center;gap:10px}.boochie-confirm-title h2{margin:0 0 10px}.boochie-final-scores{display:grid;gap:8px;margin-bottom:16px}.boochie-final-scores span{padding:10px 12px;border-radius:8px;background:#f1f5f9;font-weight:900}.kanjam-admin-bar,.kanjam-matches{display:grid;gap:12px}.kanjam-match{display:grid;gap:14px}.kanjam-match-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.kanjam-match-head h2{margin:0 0 2px}.kanjam-match-head span,.kanjam-match-head small{color:#60717c;font-weight:900}.kanjam-team-grid{display:grid;gap:12px}.kanjam-team-card{display:grid;gap:12px;padding:14px;border-radius:8px;background:#f8fafc}.kanjam-team-card strong{min-width:0;overflow-wrap:anywhere}.kanjam-score{min-height:76px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#0b2f44;font-size:2.6rem;font-weight:900}.kanjam-score-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.kanjam-score-actions button,.kanjam-instant-button{min-height:48px;border:0;border-radius:8px;color:#0b2f44;background:#fff;font-weight:900}.kanjam-instant-button{background:#dbeafe}.kanjam-dialog h2{margin:0 0 10px}.kanjam-dialog p{margin:0 0 14px;color:#43545f}.kanjam-summary-title{display:flex;align-items:center;gap:10px}.kanjam-summary{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin-bottom:14px}.kanjam-summary span,.kanjam-summary strong{padding:10px 12px;border-radius:8px;background:#f1f5f9;font-weight:900}.kanjam-summary strong{min-width:56px;text-align:center;color:#fff;background:#0b2f44}.spikeball-admin-bar,.spikeball-matches{display:grid;gap:12px}.spikeball-match{display:grid;gap:14px}.spikeball-match-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.spikeball-match-head h2{margin:0 0 2px}.spikeball-match-head span,.spikeball-match-head small{color:#60717c;font-weight:900}.spikeball-team-grid{display:grid;gap:10px}.versus-label{display:grid;place-items:center;color:#60717c;font-size:.78rem;font-weight:900;text-transform:uppercase}.spikeball-team-card{display:grid;gap:12px;padding:14px;border-radius:8px;background:#f8fafc}.spikeball-team-card strong{min-width:0;overflow-wrap:anywhere}.spikeball-score{min-height:82px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#0b2f44;font-size:2.8rem;font-weight:900}.spikeball-score-actions{display:grid;grid-template-columns:minmax(72px,.75fr) 1fr;gap:8px}.spikeball-score-actions button{min-height:50px;border:0;border-radius:8px;color:#0b2f44;background:#fff;font-weight:900}.spikeball-score-actions button:last-child{background:#ffd166}.spikeball-dialog h2{margin:0 0 10px}.spikeball-dialog p{margin:0 0 14px;color:#43545f}.spikeball-summary-title{display:flex;align-items:center;gap:10px}.spikeball-summary{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin-bottom:14px}.spikeball-summary span,.spikeball-summary strong{padding:10px 12px;border-radius:8px;background:#f1f5f9;font-weight:900}.spikeball-summary strong{min-width:56px;text-align:center;color:#fff;background:#0b2f44}.notice,.empty,.success,.form-error,.error-box{padding:12px;border-radius:8px;background:#fff}.notice{color:#60717c}.success{color:#166534;border:1px solid #86efac}.form-error,.error-box{color:#991b1b;border:1px solid #fecaca}@media (min-width: 720px){.app-shell{padding-bottom:0}.content{padding:22px}.bottom-nav{left:50%;right:auto;bottom:18px;width:min(520px,calc(100% - 32px));transform:translate(-50%);border-radius:8px}.game-card{grid-template-columns:1fr 220px;align-items:center}.stats-grid{grid-template-columns:repeat(3,1fr)}.boochie-overview{grid-template-columns:1fr 220px;align-items:center}.boochie-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.kanjam-admin-bar{grid-template-columns:1fr 220px;align-items:end}.kanjam-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spikeball-admin-bar{grid-template-columns:1fr 220px;align-items:end}.spikeball-team-grid{grid-template-columns:1fr auto 1fr;align-items:stretch}.modal{width:min(520px,100%);justify-self:center;border-radius:8px;margin-bottom:24px}.dialog-actions{grid-template-columns:1fr 1fr}}
