@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#102747;--ink:#183550;--muted:#71818b;--blue:#b7e6fb;--line:#e4ebef;--bg:#f5f8fa;--accent:#247b9e}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #3297c1;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3{font-family:'Manrope',system-ui,sans-serif;margin-top:0}h2{font-size:20px;font-weight:800}h3{font-size:16px;font-weight:750}p{line-height:1.65}button svg,a svg{flex-shrink:0}.shell{min-height:100vh}aside{position:fixed;inset:0 auto 0 0;width:236px;background:var(--navy);color:#adbfcb;padding:34px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;color:#e5f5fc;padding:0 7px}.brand span{font:600 15px/1.4 'Manrope',sans-serif;letter-spacing:3px}.brand b{font-size:19px;letter-spacing:2px}.crest{width:51px;height:61px;display:grid;place-items:center;background:#c1e6f7;color:#173e52;clip-path:polygon(0 0,100% 0,100% 73%,50% 100%,0 73%)}.side-label{font-size:10px;letter-spacing:2px;color:#7593a6;margin:51px 14px 18px}aside nav{display:flex;flex-direction:column;gap:8px}aside nav button{display:flex;align-items:center;gap:14px;border:0;color:#a5b9c7;background:none;text-align:left;padding:14px;border-radius:9px}aside nav button.active{background:#264758;color:#d9f3ff}.nav-dot{margin-left:auto;width:5px;height:5px;border-radius:50%;background:#c1e6f7}.side-bottom{margin-top:auto;border-top:1px solid #2e4858;padding:24px 8px 0;display:flex;gap:12px;color:#c6d7e2}.side-bottom b{font-size:12px}.side-bottom small{display:block;margin-top:4px;color:#829fac;font-size:10px}.main{margin-left:236px}header{height:83px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 45px}.breadcrumb{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px}.breadcrumb b{color:var(--ink);font-weight:500}.head-actions{display:flex;align-items:center;gap:22px}.season{font-size:10px;letter-spacing:1.4px;color:#84919b}.refresh,.icon-button{border:0;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:7px}.refresh:hover,.icon-button:hover{background:#edf3f7}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#deeff7;color:#315a70;font-size:11px;font-weight:800;flex-shrink:0}main{max-width:1350px;margin:auto;padding:39px 45px 24px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:31px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#6b8797;margin-bottom:10px}h1{font-size:32px;letter-spacing:-1.2px;font-weight:800;margin:0 0 8px}.pagehead p{color:var(--muted);margin:0;font-size:13px}.team-switch{background:#eaf0f4;border:1px solid #e2e9ee;padding:4px;border-radius:10px;display:flex;flex-shrink:0}.team-switch button{border:0;border-radius:7px;padding:10px 14px;background:none;color:#7a8a96;font-weight:700;font-size:12px}.team-switch button.chosen{background:white;color:var(--ink);box-shadow:0 2px 4px #1937470d}.team-switch span{font-weight:400;margin-left:3px}.hero{position:relative;background:#102747;color:#e7f6ff;border-radius:15px;min-height:280px;padding:32px 36px;display:flex;align-items:center;overflow:hidden}.hero::after{content:'';position:absolute;width:420px;height:420px;border-radius:50%;background:#204b62;right:-30px;top:-70px;opacity:.38}.hero-content{z-index:1;position:relative}.hero-tag{color:#b3d8e9;font-size:9px;letter-spacing:1.6px;margin-bottom:18px;display:flex;gap:8px;align-items:center}.hero-tag span{width:5px;height:5px;background:#bde7fa;border-radius:50%}.hero h2{font-size:33px;letter-spacing:-.9px;line-height:1.2;margin-bottom:14px}.hero p{color:#adc5d2;font-size:12px;line-height:1.75;margin-bottom:22px}.light,.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:7px;font-size:12px;font-weight:700;padding:12px 16px}.light{background:var(--blue);color:#173d50}.primary{background:var(--navy);color:white}.primary:hover{background:#25536b}.secondary{background:#edf4f7;color:var(--ink)}.rink-art{position:absolute;right:38px;top:47px;width:340px;z-index:1;transform:rotate(-13deg);opacity:.7}.rink-art>span{display:block;text-align:center;font-size:9px;letter-spacing:4px;color:#6c9bb3;margin-top:19px}.rink{height:181px;width:100%;border:2px solid #91b7ca;border-radius:65px;position:relative;background:linear-gradient(130deg,#61859c11,#acd9ea0a);overflow:hidden}.blue-line,.red-line{position:absolute;top:0;height:100%;width:2px;background:#5c9cc0}.blue-line.a{left:33%}.blue-line.b{right:33%}.red-line{left:50%;background:#aa8790}.circle{position:absolute;width:49px;height:49px;border:1px solid #aa8790;border-radius:50%}.circle.center{width:62px;height:62px;top:59px;left:calc(50% - 31px);border-color:#91b7ca}.c1{left:38px;top:23px}.c2{left:38px;bottom:23px}.c3{right:38px;top:23px}.c4{right:38px;bottom:23px}.rink-wolf{position:absolute;left:calc(50% - 32px);top:58px;color:#a9d7ee;opacity:.6}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:22px 0 32px}.stats button{background:white;border:1px solid var(--line);border-radius:11px;padding:21px 19px;display:flex;align-items:center;text-align:left;gap:15px}.stat-icon{width:41px;height:41px;background:#eef6fa;color:#50839d;border-radius:10px;display:grid;place-items:center}.stat-icon svg{width:19px}.stats b{font:800 24px 'Manrope',sans-serif;display:block}.stats span{display:block;color:var(--muted);font-size:11px;margin-top:4px}.stats button>svg{margin-left:auto;color:#a5b4be}.home-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:27px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.sectionhead h2{font-size:17px;margin:0;letter-spacing:-.4px}.textlink{display:inline-flex;align-items:center;gap:5px;background:none;border:0;padding:0;color:#427b96;font-size:11px;font-weight:600}.mini-label{font-size:9px;letter-spacing:1.3px;color:#8b9ca7}.event{width:100%;border:1px solid var(--line);background:white;border-radius:11px;display:flex;align-items:center;gap:18px;padding:20px;margin-bottom:12px;color:var(--ink);text-align:left;transition:border-color .15s}.event:hover{border-color:#9dbdce}.datebox{width:47px;min-width:47px;text-align:center;border-right:1px solid var(--line);padding-right:12px}.datebox span{font-size:10px;text-transform:uppercase;color:#7b929f;display:block}.datebox b{font:800 25px 'Manrope',sans-serif}.eventbody h3{margin:6px 0;font-size:14px}.eventbody p{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:var(--muted);font-size:10px;margin:0}.pill{display:inline-block;border-radius:4px;background:#e9f4fa;color:#4f7e96;font-size:8px;padding:4px 6px;letter-spacing:.65px;text-transform:uppercase;font-weight:700}.pill.game{background:#edf1e4;color:#6c8652}.pill.tournament{background:#f3ebf6;color:#8a6796}.eventright{margin-left:auto;display:flex;align-items:center;gap:8px;color:#8699a5}.eventright span{font-size:9px;white-space:nowrap}.empty{min-height:215px;background:#fff;border:1px dashed #d4e0e7;border-radius:11px;padding:30px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7f97a5}.empty h3{margin:17px 0 5px;color:var(--ink)}.empty p{font-size:12px;max-width:300px;margin:5px 0 18px;color:var(--muted)}.note{padding:25px;background:#eef4f7;border:1px solid #e1ebf0;border-radius:11px}.note h3{margin:17px 0 10px;font-size:17px}.note>p{font-size:12px;color:#607987;margin-bottom:24px}.author{display:flex;align-items:center;gap:10px;border-top:1px solid #dbe6ed;padding-top:17px}.author b{font-size:11px}.author small{display:block;font-size:9px;color:#8498a5;margin-top:3px}.install-strip{margin-top:28px;border:1px solid var(--line);border-radius:10px;padding:19px 23px;display:flex;align-items:center;justify-content:space-between;background:#fff}.install-strip>div{display:flex;align-items:center;gap:15px;color:#567e92}.install-strip b{font-size:12px;color:var(--ink);display:block}.install-strip small{font-size:10px;color:var(--muted);display:block;margin-top:4px}footer{display:flex;align-items:center;gap:7px;color:#8b9ca7;font-size:8px;letter-spacing:1px;margin-top:42px;padding-top:20px;border-top:1px solid var(--line)}footer span{margin-left:auto;font-size:9px;letter-spacing:0}.bottom-nav,.mobile-brand{display:none}.card{background:white;border:1px solid var(--line);padding:25px;border-radius:12px}.players{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.player{display:flex;gap:18px;align-items:center;padding:20px}.jersey{width:52px;height:56px;background:#d9effb;color:#386c86;display:grid;place-items:center;font:800 23px 'Manrope',sans-serif;clip-path:polygon(15% 0,35% 0,50% 10%,65% 0,85% 0,100% 25%,87% 38%,85% 100%,15% 100%,13% 38%,0 25%)}.player h3{margin:0 0 5px}.player p{font-size:11px;color:var(--muted);margin:0}.player button{margin-left:auto}.footnote{font-size:11px;color:var(--muted);line-height:1.7}.info{font-size:12px;color:var(--muted);margin-bottom:20px}.count{font-size:11px;border-radius:20px;background:#e4eef4;padding:4px 8px;margin-left:6px;color:#67889c}.post{margin-bottom:18px}.post p{color:#607987}.post small{color:#899aa5;font-size:11px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid h2{margin-top:16px}.settings-grid h3{margin-top:24px;font-size:14px}.settings-grid p{color:#657e8c;font-size:12px}.settings-grid small{color:var(--muted)}.blue{color:#5295b5}.invite{display:flex;align-items:center;justify-content:space-between;background:#f1f7fa;padding:12px 14px;border-radius:7px;margin-top:12px}.invite code{letter-spacing:2px;font-size:16px}.overlay{position:fixed;inset:0;background:#071f32aa;backdrop-filter:blur(4px);z-index:40;display:flex;align-items:center;justify-content:center;padding:22px}.dialog{background:white;border-radius:15px;padding:28px;max-height:90dvh;overflow:auto;width:520px;box-shadow:0 20px 80px #09202e33}.dialog>h2{margin-top:20px}.dialog>p{color:#648091;font-size:13px}.dialog>h3{margin-top:28px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;margin-bottom:17px}input,select,textarea{min-width:0;width:100%;padding:12px;border-radius:7px;border:1px solid #ccdbe4;background:#fbfdfe;color:var(--ink);font-size:14px}textarea{resize:vertical;min-height:94px}input:focus,textarea:focus,select:focus{outline:2px solid #9ecce0}.formrow{display:flex;gap:15px}.formrow label{flex:1;min-width:0}.form-actions{display:flex;justify-content:flex-end;gap:15px;margin-top:20px}.danger{background:transparent;color:#b36161;border:0;display:flex;align-items:center;gap:7px;margin-right:auto;font-size:11px}.error{padding:12px 16px;border:1px solid #f1cdca;background:#fff0ef;color:#a44641;border-radius:8px;font-size:12px;margin-bottom:15px}.error a{font-weight:bold;margin-left:10px;text-decoration:underline}.toast{position:fixed;bottom:28px;right:30px;background:#153749;color:#e5f5fc;padding:14px 20px;border-radius:9px;z-index:70;display:flex;align-items:center;gap:10px;font-size:12px;box-shadow:0 6px 20px #17334525}.attendance{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.attendance b{font-size:12px}.rsvp{display:flex;gap:5px}.rsvp button{display:flex;align-items:center;gap:4px;background:#f3f6f8;border:1px solid #e3eaf0;padding:9px 10px;border-radius:6px;color:#71818b;font-size:10px}.rsvp button.selected{border-color:#84aabd;color:#224c62;background:#d8eef8}.rsvp button.selected.no{background:#fbe7e5;border-color:#e1b1ae;color:#a8615c}.rsvp button.selected.maybe{background:#fff0d8;border-color:#e2c691;color:#987536}
@media(min-width:1500px){main{padding-top:50px}.hero{min-height:310px}.rink-art{right:70px;width:390px}.rink{height:195px}.hero h2{font-size:39px}}
@media(max-width:1150px){aside{width:205px;padding-left:16px;padding-right:16px}.main{margin-left:205px}main{padding:32px 27px}header{padding:0 27px}.rink-art{width:255px;right:23px;top:65px;opacity:.4}.rink{height:160px}.home-grid{grid-template-columns:1fr}.stats button{padding:18px 13px;gap:10px}.stats button>svg{display:none}.stats span{font-size:10px}.hero-content{max-width:60%}.settings-grid{grid-template-columns:1fr}}
@media(max-width:760px){aside{display:none}.main{margin:0}header{height:65px;padding:0 21px}.breadcrumb,.season{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font:800 11px 'Manrope',sans-serif;letter-spacing:1.5px}.mobile-brand svg{color:#4a8caf}.head-actions{gap:12px}.avatar{width:30px;height:30px;font-size:9px}main{padding:26px 20px 110px}.pagehead{display:block;margin-bottom:23px}.eyebrow{font-size:8px;letter-spacing:1.4px}h1{font-size:27px}.pagehead p{font-size:12px}.team-switch{margin-top:20px;display:inline-flex;padding:3px}.team-switch button{padding:9px 17px}.hero{min-height:278px;padding:28px 24px;border-radius:12px}.hero h2{font-size:29px}.hero-content{max-width:90%}.hero p{font-size:11px}.rink-art{right:-145px;top:80px;opacity:.18;width:320px}.hero::after{right:-190px}.stats{gap:8px;margin:15px 0 28px}.stats button{display:block;text-align:center;padding:17px 5px}.stat-icon{margin:0 auto 9px;width:32px;height:32px;border-radius:8px}.stat-icon svg{width:16px}.stats b{font-size:21px}.stats span{font-size:9px;line-height:1.35;padding:0 2px}.home-grid{gap:27px}.sectionhead h2{font-size:16px}.sectionhead .primary{padding:10px;font-size:11px}.event{padding:17px 13px;gap:12px}.eventbody p{font-size:9px}.eventbody h3{font-size:13px}.eventright span{display:none}.datebox{min-width:41px;width:41px}.eventright{gap:0}.note{padding:23px}.install-strip{padding:18px 15px;gap:8px}.install-strip b{font-size:11px}.install-strip small{font-size:9px}.install-strip svg{width:20px}.install-strip>div{gap:10px}.install-strip>.textlink{white-space:nowrap}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:flex;justify-content:space-around;background:#fffffff5;border-top:1px solid var(--line);padding:11px 8px calc(10px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.bottom-nav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:5px;color:#8596a1;font-size:9px;padding:4px 12px}.bottom-nav button.active{color:#247ba2}.players{grid-template-columns:1fr}.card{padding:21px}.player{padding:18px}.settings-grid{gap:16px}.overlay{padding:12px;align-items:flex-end}.dialog{width:100%;max-height:90dvh;padding:23px;border-radius:15px 15px 8px 8px}.rsvp button{font-size:9px;padding:9px 7px;gap:2px}.toast{bottom:100px;right:20px;left:20px;justify-content:center}footer{margin-top:30px;font-size:7px}footer span{font-size:8px}.empty{padding:25px;min-height:205px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Arctic Wolves crest and brand colors */
.brand{gap:10px;padding:0}.brand-logo{width:74px;height:74px;object-fit:contain;flex-shrink:0}.brand span{font-size:11px;letter-spacing:2px}.brand b{font-size:15px}.hero-content{max-width:58%}.hero-logo{position:relative;z-index:1;margin-left:auto;width:285px;flex-shrink:0}.hero-logo img{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 15px #0004)}.mobile-brand img{width:45px;height:45px;object-fit:contain}aside nav button.active{background:#21486b;color:#d9f3ff}.bottom-nav button.active{color:#216b90}
@media(max-width:1150px) and (min-width:761px){.hero-logo{width:210px}.hero h2{font-size:29px}.brand-logo{width:65px}}
@media(max-width:760px){.hero{flex-direction:column;align-items:flex-start;gap:24px}.hero-content{max-width:100%}.hero-logo{width:180px;margin:0 auto}.hero h2{font-size:29px}.mobile-brand{letter-spacing:1px}.mobile-brand img{width:44px;height:44px}}

.website-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;margin-top:30px;background:white;border:1px solid var(--line);border-radius:11px}.website-strip b{font-size:13px}.website-strip p{margin:4px 0 0;color:var(--muted);font-size:12px}.website-strip a{white-space:nowrap}@media(max-width:760px){.website-strip{align-items:flex-start;flex-direction:column;padding:18px}.website-strip a{width:100%;justify-content:center}}
.auth-shell{min-height:100dvh;padding:30px 20px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at top,#d4effc,#f5f8fa 65%)}.auth-card{width:100%;max-width:440px;background:white;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 12px 45px #10274712}.auth-logo{display:block;width:180px;height:auto;margin:0 auto 24px}.auth-card h1{font-size:27px}.auth-card>p{color:var(--muted);font-size:13px}.auth-card form{margin:20px 0}.auth-card form>.primary{width:100%}.auth-links{display:flex;justify-content:space-between;gap:12px;margin-bottom:24px}.auth-card>.textlink{margin:12px 0}.player-photo{width:58px;height:58px;object-fit:cover;border-radius:10px}.photo-preview{width:100px;height:100px;object-fit:cover;border-radius:10px;display:block;margin-bottom:8px}.invite{flex-wrap:wrap}

/* Rectangular portraits preserve the complete uploaded photo. */
.player-portrait{width:72px;height:90px;flex-shrink:0;display:grid;place-items:center;background:#d9effb;border-radius:8px;overflow:hidden;color:#386c86;font:800 23px 'Manrope',sans-serif}.player-portrait .player-photo{width:100%;height:100%;object-fit:contain;border-radius:0}.photo-preview{width:120px;height:150px;object-fit:contain;background:#eaf2f7;border-radius:8px}.player-details{min-width:0;flex:1}.parent-contact{margin-top:10px;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}.parent-contact a{font-size:11px;color:#247b9e;text-decoration:underline}.player>.icon-button{flex-shrink:0;align-self:flex-start}.parent-contact p{margin:0}

.refresh.is-refreshing svg{animation:refresh-spin .8s linear infinite}@keyframes refresh-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.refresh.is-refreshing svg{animation:none}}
