@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');
:root{--bg:#06121c;--ink:#f2f6f8;--muted:#a5b7c4;--cyan:#3dc6ee;--line:#263a48}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid var(--cyan);outline-offset:5px}header{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:23px 5%;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;font-size:12px;font-weight:700;letter-spacing:1.3px;line-height:1.3}.brand small{font-size:10px;color:var(--muted);letter-spacing:3px}.mark{font:800 31px 'Barlow Condensed',Arial}.mark span{color:var(--cyan)}nav{display:flex;gap:27px;font-size:13px}nav a:hover,footer a:hover{color:var(--cyan)}.tiny{font-size:9px;color:var(--cyan)}.wrap{max-width:1230px;margin:auto;padding-left:35px;padding-right:35px}.hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:20px;padding-top:76px;padding-bottom:70px}.eyebrow{font-size:11px;letter-spacing:2.7px;font-weight:700;color:var(--cyan);margin:0 0 24px}h1,h2{font-family:'Barlow Condensed',Impact,Arial,sans-serif;text-transform:uppercase;font-weight:700;line-height:1.03;letter-spacing:-.7px;margin:0}h1{font-size:clamp(52px,5.7vw,84px)}h2{font-size:clamp(39px,4vw,58px)}em{font-style:normal;color:var(--cyan)}h3{font-size:20px;line-height:1.3}.intro{font-size:17px;color:var(--muted);max-width:490px;margin:25px 0}.actions{display:flex;gap:23px;align-items:center;flex-wrap:wrap}.button{display:inline-block;background:var(--cyan);color:#06121c;padding:14px 22px;font-size:13px;font-weight:700}.button:hover{background:#83e0f8}.button.small{padding:10px 17px}.textlink{font-size:13px;font-weight:600}.subtle{font-size:12px;color:var(--muted);margin-top:23px}.hero-art img{width:100%;display:block}.art-caption{display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px}.strip{border-block:1px solid var(--line);display:flex;justify-content:center;gap:40px;padding:20px;font-size:11px;letter-spacing:2px}.strip b{color:var(--cyan)}.section{padding-top:90px;padding-bottom:90px}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:50px;margin-bottom:46px}.section-head>p{max-width:375px;color:var(--muted);font-size:15px}.workflow{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.workflow article{border-top:1px solid var(--line);padding-top:25px}.number{font:600 30px 'Barlow Condensed';color:var(--cyan)}article p{color:var(--muted);font-size:14px}.role-note{margin-top:43px;border-left:3px solid var(--cyan);padding:14px 25px;background:#0d202e}.role-note p{margin:6px 0 0;color:var(--muted);font-size:14px}.analytics{background:#0a1b28;border-block:1px solid var(--line)}.analytics-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:65px}.demo{background:#f0f5f8;color:#102d40;border-radius:5px;padding:27px;box-shadow:0 20px 70px #0004}.demo-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.demo-top h3{margin:5px 0 22px}.demo small{font-size:9px;letter-spacing:1px}.pill{font-size:9px;background:#d8e8ee;padding:5px 8px;white-space:nowrap}.tabs{display:flex;border-bottom:1px solid #bccfd9;margin-bottom:24px}.tabs button{border:0;background:transparent;padding:11px 12px;color:#496275;font-weight:600;cursor:pointer;font-size:11px}.tabs button[aria-selected=true]{color:#006f96;border-bottom:3px solid #008dbd}.demo-note{font-size:10px;color:#607889;margin-top:23px}.rink{position:relative;height:220px;border:3px solid #adc3cf;border-radius:90px;background:linear-gradient(90deg,transparent 30%,#438cb677 30%,#438cb677 31%,transparent 31%,transparent 69%,#438cb677 69%,#438cb677 70%,transparent 70%),linear-gradient(90deg,transparent 49.6%,#e6818177 49.6%,#e6818177 50.4%,transparent 50.4%)}.rink:after{content:'';position:absolute;left:calc(50% - 35px);top:calc(50% - 35px);height:70px;width:70px;border:2px solid #e6818177;border-radius:50%}.shot{position:absolute;width:11px;height:11px;background:#008ebd;border-radius:50%;z-index:1}.shot.danger{background:#f0783b}.legend{display:flex;gap:20px;font-size:11px;margin-top:15px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{padding:25px;background:#deebf1}.stat strong{display:block;font:700 40px 'Barlow Condensed';color:#087da3}.stat span{font-size:11px}.barrow{margin:20px 0}.barrow span{font-size:12px;display:flex;justify-content:space-between}.bar{height:13px;background:#d5e2e9;margin-top:7px}.bar i{display:block;height:100%;background:#048fbb}.analytics-copy article:first-child h3{margin-top:0}.analytics-copy article{margin-bottom:26px}.live-teaser{display:grid;grid-template-columns:1fr 1fr;gap:90px}.live-card{border:1px solid var(--line);padding:35px;background:linear-gradient(130deg,#0d293c,#071723)}.live-label{font-size:11px;letter-spacing:2px;display:flex;gap:10px;align-items:center}.live-label>span:last-child{margin-left:auto;font-size:9px;color:var(--muted)}.dot{height:7px;width:7px;border-radius:50%;background:var(--cyan)}.live-card h3{font-size:27px}.live-card p,.live-card small{color:var(--muted);font-size:13px}.live-placeholder{border-block:1px solid var(--line);padding:30px 0;margin:25px 0;color:var(--muted);font-size:13px}.download{background:#102d40;padding:75px 0}.download p{color:#bed0dc;max-width:520px}.download .actions{margin-top:30px}.store{border:1px solid #658194;padding:14px 24px;min-width:235px}.store small{display:block;font-size:9px;letter-spacing:1px}.store strong{font-size:17px}.store:hover{border-color:var(--cyan)}.unavailable{opacity:.65}.route{min-height:65vh;padding-top:80px;padding-bottom:90px;max-width:850px}.route h1{font-size:64px}.route p{color:var(--muted)}.route li{margin:13px 0;color:var(--muted)}.route .button{margin-top:20px}.route .notice{border-left:3px solid var(--cyan);padding:20px;background:#102d40}footer{padding-top:38px;padding-bottom:30px;display:flex;align-items:center;gap:30px;justify-content:space-between}footer a{font-size:12px;margin-left:20px}footer p{font-size:10px;color:var(--muted)}[hidden]{display:none!important}@media(max-width:800px){header{flex-wrap:wrap;gap:20px}nav{order:3;width:100%;justify-content:space-between;gap:12px;font-size:11px}.wrap{padding-left:24px;padding-right:24px}.hero{grid-template-columns:1fr;padding-top:45px;padding-bottom:40px}.hero-art{max-width:500px;margin:auto}.strip{gap:15px;font-size:8px;letter-spacing:1px;flex-wrap:wrap}.section{padding-top:55px;padding-bottom:55px}.section-head{display:block;margin-bottom:30px}.workflow{grid-template-columns:1fr;gap:18px}.analytics-layout,.live-teaser{grid-template-columns:1fr;gap:35px}.demo{padding:20px}.demo-top{align-items:flex-start}.demo-top h3{font-size:16px}footer{flex-wrap:wrap}footer a{margin-left:0;margin-right:20px}.route h1{font-size:48px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.brand-logo{display:block;width:150px;height:auto}header{padding-top:12px;padding-bottom:12px}footer .brand-logo{width:160px}@media(max-width:800px){.brand-logo{width:125px}footer .brand-logo{width:145px}}


.brand-symbol{display:block;width:80px;flex:0 0 80px}.brand-symbol img{display:block;width:100%;height:auto}header{padding-top:20px;padding-bottom:20px}@media(max-width:800px){.brand-symbol{width:65px;flex-basis:65px}}
/* SEM Live spectator view */
.viewer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.viewer-private{font-size:11px;border:1px solid #c5d8d0;border-radius:30px;padding:8px 12px;color:#526d66}.viewer-scoreboard{background:#102e31;border-radius:22px;padding:32px;text-align:center;color:#eff8f5;margin:18px 0 24px}.viewer-scoreboard p,.viewer-scoreboard small{color:#bfd9d2}.viewer-phase{font-size:12px;font-weight:700;letter-spacing:2px}.viewer-score{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;gap:16px}.viewer-score h2{font-family:inherit;font-size:clamp(18px,3vw,30px);line-height:1.2;margin:8px 0 14px}.viewer-score strong{font-size:clamp(64px,10vw,100px);font-weight:500;line-height:1}.viewer-score small{text-transform:uppercase;letter-spacing:2px}.score-divider{font-size:30px;color:#729b90}.viewer-connection{font-size:13px;margin-top:25px!important}.viewer-connection.paused{color:#ffd796}.viewer-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.viewer-panel{background:#fff;border:1px solid #d7e4dc;border-radius:16px;padding:24px;margin-bottom:20px;min-width:0}.viewer-panel h3{font-size:20px;margin:0 0 18px}.viewer-table-wrap{overflow-x:auto}.viewer-table{width:100%;border-collapse:collapse;font-size:13px}.viewer-table th,.viewer-table td{padding:12px 8px;border-bottom:1px solid #e5eee9;text-align:center}.viewer-table th:first-child{text-align:left;font-weight:500}.viewer-table thead th{font-size:11px;color:#496b60}.viewer-rink{width:100%;display:block}.viewer-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:12px}.viewer-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}.viewer-panel small,.viewer-footnote{color:#62766c;font-size:12px;line-height:1.6}.live-link-form{display:grid;gap:14px;max-width:620px;margin:28px 0}.live-link-form label{font-size:13px;font-weight:600}.live-link-form input{padding:16px;background:white;border:1px solid #acbeb2;border-radius:8px;font:inherit;width:100%;box-sizing:border-box}.live-link-form .button{justify-self:start}.live-link-form [role=alert]{color:#a43e25;font-size:13px}.shootout-panel p{font-size:14px}.viewer-footnote{max-width:800px}@media(max-width:720px){.viewer-grid{grid-template-columns:1fr}.viewer-scoreboard{padding:24px 14px}.viewer-heading{align-items:flex-start}.viewer-private{font-size:10px}.viewer-panel{padding:18px 14px}.viewer-score{gap:8px}}

.viewer-dev-banner{padding:14px 18px;border:1px solid #c05425;border-radius:12px;background:#fff2e6;color:#673413;font-size:14px;margin:0 0 20px;}

.team-game-list{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.team-game-card{display:grid;gap:8px;text-align:left;padding:16px;border:1px solid #b8c8c0;border-radius:12px;background:#fff;color:#102e31;cursor:pointer;min-width:200px}.team-game-card.selected{border:2px solid #188b79;background:#edf6f4}.team-game-card span{font-size:13px}

/* Explicit surfaces/text fix inherited white-on-white and native form colours. */
:root{--live-panel:#102633;--live-text:#edf5f8;--live-muted:#b5cbd5;--live-border:#3c5967;--live-selected:#183e47}
.viewer-panel{background:var(--live-panel);color:var(--live-text);border-color:var(--live-border);color-scheme:dark}
.viewer-panel h3,.viewer-table th,.viewer-table td,.viewer-legend{color:var(--live-text)}
.viewer-table thead th,.viewer-panel small{color:var(--live-muted)}
.viewer-table th,.viewer-table td{border-color:var(--live-border)}
.viewer-footnote,.viewer-private{color:var(--muted)}
.team-game-card{background:var(--live-panel);color:var(--live-text);border-color:var(--live-border);color-scheme:dark}
.team-game-card.selected{background:var(--live-selected);border-color:#3dc6ee}
.live-link-form input{background:var(--live-panel);color:var(--live-text);border-color:var(--live-border);color-scheme:dark}
.live-link-form input::placeholder{color:var(--live-muted);opacity:1}
.live-link-form [role=alert]{color:#ffb9a8}
@media(prefers-color-scheme:light){:root{--live-panel:#ffffff;--live-text:#102e31;--live-muted:#435b65;--live-border:#becfd5;--live-selected:#e8f4f2}.viewer-panel,.team-game-card,.live-link-form input{color-scheme:light}}
.live-effects{position:fixed;inset:0;z-index:1000;pointer-events:none;overflow:hidden;contain:layout paint}
.live-effect{position:absolute;inset:0;pointer-events:none}
.live-confetti,.live-raindrop{position:absolute;top:-8vh;display:block;animation:sem-particle-fall 2.7s var(--delay) ease-in both;will-change:transform}
.live-confetti{width:9px;height:16px;border-radius:2px}
.live-raindrop{width:3px;height:32px;background:linear-gradient(transparent,#92d0ff);animation-duration:1.4s;animation-timing-function:linear;animation-iteration-count:2;--spin:0deg!important}
@keyframes sem-particle-fall{to{transform:translateY(116vh) rotate(var(--spin))}}
.live-goal-notice{position:absolute;top:8%;left:50%;transform:translateX(-50%);padding:10px 22px;border-radius:999px;background:#06121ce6;color:#edf5f8;font-weight:800;letter-spacing:2px;border:1px solid #a5b7c4}
.live-period-change{position:absolute;top:30%;left:50%;transform:translateX(-50%);width:min(90vw,680px);text-align:center;border:2px solid #3dc6ee;background:#06121cf0;color:#3dc6ee;border-radius:18px;padding:25px;font:800 clamp(36px,7vw,72px)/1.1 'Barlow Condensed',Arial;box-shadow:0 0 70px #3dc6ee44}
.live-effect-result{display:flex;align-items:center;justify-content:center;background:#06121cbf}
.live-result{font:800 clamp(80px,20vw,240px)/1 'Barlow Condensed',Arial;letter-spacing:4px;text-shadow:0 5px 40px #000;animation:sem-result-enter .28s ease-out}
.live-result-win{color:#36df8b}.live-result-tie{color:#ffe169}.live-result-loss{color:#ff6a71}
@keyframes sem-result-enter{from{transform:scale(.85);opacity:0}to{transform:scale(1);opacity:1}}
.live-effects-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-reduced-motion:reduce){.live-confetti,.live-raindrop{display:none}.live-result{animation:none}}

/* Team branding occupies space only when a valid logo loads. */
.viewer-team-name{display:flex;align-items:center;gap:.65rem;min-width:0}.viewer-team-name span{overflow-wrap:anywhere}.viewer-team-logo{width:56px;height:56px;object-fit:contain;flex:0 0 auto}.viewer-team-logo[hidden]{display:none}.upcoming-game{margin-top:1.5rem}.viewer-score .viewer-team-name{justify-content:center;font-size:clamp(1rem,3vw,1.8rem)}@media(max-width:600px){.viewer-team-logo{width:40px;height:40px}.viewer-team-name{gap:.4rem}}

/* Compact shot-map filters inherit explicit live-view colours in either theme. */
 .viewer-map-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.65rem;margin:1rem 0 .75rem}.viewer-map-field{min-width:0;color:var(--live-muted);font-size:.75rem;font-weight:600}.viewer-map-field:last-child{grid-column:1/-1}.viewer-map-field>span{display:block;margin-bottom:.3rem}.viewer-map-dropdown{position:relative;color:var(--live-text);font-size:.8rem;line-height:1.35}.viewer-map-dropdown summary{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:44px;padding:.5rem .65rem;border:1px solid var(--live-border);border-radius:9px;background:var(--live-panel);cursor:pointer;list-style:none;box-sizing:border-box}.viewer-map-dropdown summary::-webkit-details-marker{display:none}.viewer-map-dropdown summary:after{content:'⌄';flex-shrink:0}.viewer-map-dropdown summary span{min-width:0;white-space:normal;overflow-wrap:anywhere}.viewer-map-dropdown summary:focus-visible{outline:2px solid #3dc6ee;outline-offset:2px}.viewer-map-options{position:absolute;top:100%;left:0;right:0;z-index:10;max-height:260px;overflow-y:auto;padding:.25rem;background:var(--live-panel);border:1px solid var(--live-border);border-radius:9px;box-shadow:0 8px 20px #0004}.viewer-map-options label{display:flex;align-items:center;gap:.5rem;min-height:44px;padding:.4rem;cursor:pointer;box-sizing:border-box}.viewer-map-options label:has(input:checked){background:var(--live-selected)}.viewer-map-options span{white-space:normal;overflow-wrap:anywhere;min-width:0}.viewer-map-options input{flex:0 0 auto;accent-color:#188b79}.viewer-map-count{font-size:.85rem;color:var(--live-text);overflow-wrap:anywhere}.viewer-map-empty{font-size:.85rem;color:var(--live-muted)}

.team-history{margin-top:1.5rem}.team-history h2,.historical-result h2{font-size:clamp(24px,4vw,36px)}.team-history .viewer-map-field{max-width:760px}.history-group-title{font-size:.75rem;font-weight:800;color:var(--live-muted);margin:.75rem .5rem .25rem}.history-final-score{font-family:'Barlow Condensed',Arial;font-size:clamp(44px,8vw,72px);font-weight:800;line-height:1.2;margin:1rem 0}.historical-result{margin-top:1.5rem}

.team-game-card .team-live-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.15rem .5rem;border-radius:999px;background:#b91c1c;color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.06em;line-height:1.5}.team-live-badge::before{content:"";width:6px;height:6px;background:currentColor;border-radius:50%}

.viewer-stats-filter{max-width:340px;margin:1rem 0}.viewer-stats-filter .viewer-map-options{z-index:12}

/* Recorded-action cues: fixed layout, bounded motion, no flashing or page scroll. */
.viewer-action-strip{display:flex;align-items:flex-start;gap:.8rem;min-height:112px;padding:1rem 1.25rem;margin:1rem 0 1.5rem;border:1px solid var(--live-border);border-left:4px solid #188b79;border-radius:14px;background:var(--live-panel);color:var(--live-text)}.action-strip-dot{flex:0 0 9px;width:9px;height:9px;margin-top:.4rem;border-radius:50%;background:#32bc9e}.viewer-action-strip p{margin:0;overflow-wrap:anywhere}.viewer-action-strip .action-strip-label{font-size:.65rem;font-weight:800;letter-spacing:.14em;color:var(--live-muted);margin-bottom:.3rem}.viewer-action-strip [data-action-text]{font-size:1rem;font-weight:700;line-height:1.5}.viewer-action-strip [data-action-detail]{font-size:.75rem;color:var(--live-muted);margin-top:.25rem}.viewer-table td{position:relative}.stat-just-updated{box-shadow:inset 0 0 0 2px #32bc9e;background:#188b7924!important;transition:background-color .2s}.stat-increment{position:absolute;right:.25rem;bottom:calc(100% - .2rem);z-index:2;padding:.15rem .4rem;border-radius:7px;background:#116459;color:#fff;font-size:.65rem;font-weight:800;white-space:nowrap;pointer-events:none;animation:sem-stat-rise 1.6s ease-out both}.stat-increment-against{background:#9b4b1e}.shot-arrival-ring{pointer-events:none;transform-box:fill-box;transform-origin:center;animation:sem-shot-arrival 1.15s cubic-bezier(.16,.8,.3,1) both;vector-effect:non-scaling-stroke}@keyframes sem-shot-arrival{0%{transform:translateY(-10px) scale(4.5);opacity:.85}55%{transform:translateY(0) scale(1);opacity:1}100%{transform:scale(1.8);opacity:0}}@keyframes sem-stat-rise{0%{transform:translateY(4px);opacity:0}15%,65%{opacity:1}100%{transform:translateY(-7px);opacity:0}}@media(prefers-reduced-motion:reduce){.shot-arrival-ring{display:none}.stat-increment{animation:none}.stat-just-updated{transition:none}}
/* Compact score occupies no extra flow space and appears only after the main score leaves view. */
.viewer-compact-score{position:sticky;top:0;height:0;z-index:40}
.viewer-compact-bar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:16px;padding:10px 16px;border:1px solid var(--live-border);border-top:0;border-radius:0 0 12px 12px;background:var(--live-panel);color:var(--live-text);box-shadow:0 6px 18px #0003}
.viewer-compact-phase{flex:none;font-size:10px;font-weight:800;letter-spacing:.6px;max-width:150px;line-height:1.3}
.viewer-compact-teams{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
.viewer-compact-team{display:flex;gap:10px;align-items:center;justify-content:space-between;min-width:0;flex:1;font-size:13px;font-weight:700;line-height:1.3}
.viewer-compact-team>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.viewer-compact-team strong{font-size:24px;flex:none;line-height:1.2;font-variant-numeric:tabular-nums}
.viewer-compact-divider{color:var(--live-muted)}
@media(max-width:600px){.viewer-compact-bar{display:block;padding:8px 12px}.viewer-compact-phase{display:block;max-width:none;font-size:9px;margin-bottom:4px}.viewer-compact-team{font-size:11px;gap:6px}.viewer-compact-teams{gap:8px}.viewer-compact-team strong{font-size:21px}}
/* Team-password reveal control: accessible on touch and keyboard. */
.viewer-password-field{position:relative;width:100%}
.live-link-form .viewer-password-field input{width:100%;padding-right:56px}
.viewer-password-toggle{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border:0;border-radius:6px;background:transparent;color:var(--live-text,#edf5f8);cursor:pointer}
.viewer-password-toggle:hover{background:var(--live-selected,#183b47)}
.viewer-password-toggle .password-eye-slash{display:none}
.viewer-password-toggle[aria-pressed="true"] .password-eye-slash{display:block}
#team-password::-ms-reveal{display:none}
