:root{--bg:#f6f7f4;--paper:#fff;--ink:#20373b;--muted:#7d888b;--line:#e8ece8;--green:#217367;--green-dark:#185e54;--green-tint:#edf5f1;--navy:#172e34;--orange:#e7a56e;--shadow:0 3px 14px rgba(32,55,59,.025);--radius:13px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button{color:inherit}svg{vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}button,input,select,textarea{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #77a899;outline-offset:3px}abbr[title]{text-decoration:none;cursor:help}button{border:0;background:none}strong{font-weight:600}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:16px;top:-60px;padding:10px 18px;background:white;border-radius:6px;z-index:100}.skip-link:focus{top:12px}[hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:239px;background:var(--navy);color:#abbabd;padding:37px 22px 21px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:10px;align-items:center;color:#fff;margin:0 3px 35px;font-size:27px;letter-spacing:-1.1px;font-weight:650;line-height:1.05}.brand-mark{color:#e9c39e;display:grid;place-items:center;transform:rotate(-6deg)}.brand-subtitle{display:block;font-size:7.3px;letter-spacing:1.9px;color:#9badb0;font-weight:500;margin:8px 0 0 1px}.team-switcher{display:flex;align-items:center;gap:10px;border:1px solid #3b4d51;border-radius:8px;padding:13px 11px;margin-bottom:34px;min-width:0}.team-avatar{width:33px;height:35px;border-radius:7px;background:#334a4c;display:grid;place-items:center;flex-shrink:0;font-size:14px;color:#e1e9e7;font-weight:600}.eyebrow{font-size:9px;letter-spacing:1.45px;font-weight:650;line-height:1.6;color:var(--muted)}.team-switcher .eyebrow{display:block;color:#90a3a7;font-size:8px;letter-spacing:1.2px}.team-switcher>div{flex:1;min-width:0}.team-switcher strong{font-size:12px;color:#ebeeeb;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-top:2px}.team-edit{color:#849ca0!important;flex-shrink:0;width:21px!important;height:27px!important}.nav-caption{font-size:8px;letter-spacing:1.7px;margin:0 14px 12px;color:#7f979d;font-weight:600}.main-nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:13px;min-height:47px;padding:12px 15px;border-radius:6px;font-size:12px;font-weight:500;line-height:1.3;width:100%;text-align:left;transition:background .15s,color .15s}.nav-item svg{color:#849ba0;width:18px;height:18px}.nav-item:hover{background:#263e44;color:white}.nav-item.active{background:#2d484b;color:#fff}.nav-item.active svg{color:#a0c7b9}.nav-item.active:after{content:"";display:block;width:5px;height:5px;border-radius:50%;background:#a8cbb8;margin-left:auto}.sidebar-bottom{margin-top:auto}.sidebar-note{display:flex;gap:10px;padding:19px 10px 24px;font-size:10px;color:#a9b8b9;line-height:1.8}.sidebar-note strong{color:#81989d;font-weight:400;font-size:9px}.small-puck{width:11px;height:7px;border:1px solid #739290;background:#253f44;border-radius:50%;margin-top:6px;transform:rotate(-20deg)}.settings-link{font-size:11px;margin-bottom:13px}.local-status{border-top:1px solid #2e454a;padding:19px 14px 0;color:#7f969b;font-size:9px;display:flex;gap:7px;align-items:center}.local-status>span,.local-pill>span,.live-indicator>span{width:5px;height:5px;border-radius:50%;background:#8eb49c;display:inline-block;flex-shrink:0}.app-shell{margin-left:239px;min-height:100vh}.topbar{height:75px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 43px;background:#fff}.breadcrumb{font-size:10px;color:#899296;display:flex;gap:13px;align-items:center}.breadcrumb strong{color:#45575a;font-weight:500}.breadcrumb>span{color:#c3cacc}.topbar-meta{display:flex;gap:21px;align-items:center}.local-pill{font-size:8px;letter-spacing:1.15px;font-weight:600;color:#8c9894;display:flex;gap:7px;align-items:center}.profile-avatar{width:29px;height:29px;background:#f1e5d7;color:#a77653;border:3px solid #fff;box-shadow:0 0 0 1px #eee9e2;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:10px}.main-content{padding:37px 43px 0;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-kicker{font-size:8px;letter-spacing:1.65px;margin-bottom:8px;color:#8c9690}h1{font-size:32px;letter-spacing:-1.1px;font-weight:620;line-height:1.25}.heading-dot{color:#cf9b71}.page-heading p{font-size:11px;color:var(--muted);margin-top:9px}.page-heading .button{margin-top:12px}.button{height:39px;padding:0 17px;display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:6px;white-space:nowrap;font-size:10px;font-weight:600;line-height:1.2;transition:background .15s,box-shadow .15s;cursor:pointer}.button-primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 7px #1e695f0c}.button-primary:hover{background:var(--green-dark);border-color:var(--green-dark)}.button-secondary{background:#fff;border-color:#dfe6e1;color:#536563}.button-secondary:hover{background:#f4f6f3;border-color:#c7d4cc}.button-dashed{border:1px dashed #bbcec3;color:var(--green);background:#f8fbf8;width:100%;height:41px}.button-dashed:hover{background:#edf5f0;border-color:#83ad9d}.button-text{font-size:10px;color:#798b88;padding:6px 0;font-weight:500;white-space:nowrap}.button-text:hover{color:var(--green);text-decoration:underline}.icon-button{display:inline-flex;justify-content:center;align-items:center;width:30px;height:30px;color:#8d9a97;border-radius:5px;flex-shrink:0}.icon-button:hover{background:#ecf1ed;color:var(--green)}.text-link{font-size:10px;color:var(--green);font-weight:600;display:inline-flex;align-items:center;gap:6px}.text-link:hover{text-decoration:underline}.subtle{color:var(--muted)}.text-center{text-align:center!important}.text-right{text-align:right!important}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px 20px 16px;box-shadow:var(--shadow)}.stat-label{font-size:10px;color:#73807f;display:flex;align-items:center;justify-content:space-between;gap:5px;font-weight:500}.stat-icon{color:#8a9d9d;background:#f4f7f5;border-radius:7px;width:29px;height:29px;display:grid;place-items:center}.stat-icon.teal{color:#6b9b87;background:#f0f7f0}.stat-icon.orange{color:#c6956e;background:#fcf6ed}.stat-value{font-size:35px;line-height:1.25;font-weight:600;letter-spacing:-1.1px;margin-top:8px;font-variant-numeric:tabular-nums}.stat-foot{display:flex;gap:9px;align-items:center;margin-top:11px;font-size:9px;color:#73817e;white-space:nowrap}.stat-description{font-size:8px;margin-left:auto;color:#a1aaa6}.record-win{color:var(--green);font-weight:600}.stat-foot .text-link{font-size:9px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(275px,1fr);gap:23px;align-items:stretch}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;overflow:hidden}.card-header{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);min-height:89px}.card-header h2,h2{font-size:14px;font-weight:600;letter-spacing:-.2px}.card-header p{font-size:9px;color:#8d9692;margin-top:4px}.card-header .text-link{font-size:9px}.card-header-icon{color:#b59773;background:#faf5ed;display:grid;place-items:center;width:33px;height:33px;border-radius:8px}.muted-icon{color:#8b9c94}.table-scroll{overflow:auto;scrollbar-width:thin}.data-table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;white-space:nowrap}.data-table thead{background:#fcfdfb}.data-table th{font-size:8px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:#8d9893;padding:14px 18px;border-bottom:1px solid var(--line)}.data-table td{padding:18px;border-bottom:1px solid #eef1ec}.data-table th:first-child,.data-table td:first-child{padding-left:24px}.data-table th:last-child,.data-table td:last-child{padding-right:24px}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcf9}.opponent-link{display:flex;align-items:center;gap:10px}.opponent-link:hover strong{text-decoration:underline;color:var(--green)}.opponent-avatar{width:31px;height:32px;border:1px solid #e6ebe5;border-radius:7px;background:#f7f8f3;color:#8c9a85;display:grid;place-items:center;flex-shrink:0;font-size:11px;font-weight:600}.opponent-link strong{font-size:10px;display:block}.opponent-link small{display:block;font-size:8px;color:#99a19a;margin-top:2px;font-weight:400;max-width:130px;text-overflow:ellipsis;overflow:hidden}.date-cell{font-size:9px;color:#89938c;font-variant-numeric:tabular-nums}.score-cell{font-size:12px;font-weight:600;letter-spacing:1px}.score-cell span{color:#c2c9c1;margin:0 3px}.result-badge{border:1px solid transparent;padding:4px 8px;border-radius:5px;font-size:8px;line-height:1.3;font-weight:600;display:inline-block;white-space:nowrap}.result-w{background:#edf5ed;color:#60906f;border-color:#e4efe3}.result-l{background:#faf0ec;color:#b4816e;border-color:#f5e8e0}.result-t{background:#f3f1e7;color:#a49364;border-color:#efebdc}.empty-games{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px 20px 31px;text-align:center;min-height:322px}.empty-games h3,.empty-state h3,.empty-leaders h3{font-size:16px;font-weight:600;letter-spacing:-.3px}.empty-games p,.empty-state p,.empty-leaders p{font-size:10px;line-height:1.8;color:#8d9890;margin:9px 0 20px}.empty-games .button{font-size:9px;height:35px;padding:0 14px}.rink{width:210px;height:105px;border:2px solid #e3e9e1;border-radius:48px;position:relative;background:linear-gradient(125deg,#fbfcf8,#f7f9f5);margin:0 0 23px;transform:rotate(-7deg);box-shadow:0 8px 15px #24403204;overflow:hidden}.rink:before,.rink:after{position:absolute;content:"";height:27px;width:10px;border:1px solid #d8e6de;top:37px}.rink:before{left:0;border-radius:0 9px 9px 0}.rink:after{right:0;border-radius:9px 0 0 9px}.rink-line{position:absolute;height:100%;width:1px;top:0;background:#e2c8bf}.rink-left{left:31%}.rink-right{right:31%}.rink-blue{background:#d3e0e1}.rink-center{left:50%}.rink-circle{position:absolute;width:25px;height:25px;border:1px solid #e6d6cd;border-radius:50%}.center-circle{left:calc(50% - 15px);top:calc(50% - 15px);width:30px;height:30px;border-color:#dae3de}.center-circle:after{content:"";width:3px;height:3px;position:absolute;left:12px;top:12px;border-radius:50%;background:#c6d7cf}.circle-left-top{left:23px;top:15px}.circle-left-bottom{left:23px;bottom:15px}.circle-right-top{right:23px;top:15px}.circle-right-bottom{right:23px;bottom:15px}.rink-puck{position:absolute;width:13px;height:7px;border-radius:50%;left:113px;top:64px;background:#53786a;box-shadow:0 2px 0 #2b4a3f;transform:rotate(14deg)}.leader-labels{display:flex;justify-content:space-between;padding:17px 24px 3px;font-size:7px;letter-spacing:1px;color:#98a096}.leader-list{list-style:none;margin:0;padding:0 24px}.leader-list li{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #f0f2ed}.leader-list li:last-child{border-bottom:0}.leader-rank{font-size:9px;color:#a9b1a7;width:15px;font-weight:600}.first-place{color:#bf9768}.player-avatar{display:grid;place-items:center;width:31px;height:33px;border-radius:7px;color:#6d8c76;background:#edf3e9;font-size:11px;font-weight:600;flex-shrink:0}.avatar-1{background:#f3ede2;color:#ae956c}.avatar-2{background:#e9f0f1;color:#72939a}.leader-name{min-width:0;flex:1}.leader-name strong{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-name small{font-size:8px;color:#9aa296;display:flex;gap:5px;margin-top:3px}.leader-name small span{color:#c3c9be}.leader-points{font-size:17px;font-weight:600}.card-bottom-link{padding:16px 24px;display:flex;align-items:center;justify-content:space-between;color:var(--green);font-size:9px;border-top:1px solid var(--line)}.card-bottom-link:hover{background:#fafcf7}.empty-leaders{min-height:322px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px 15px;text-align:center}.empty-icon{width:64px;height:64px;background:#f4f6ef;border:1px solid #ecf0e6;border-radius:19px;color:#a1b49a;display:grid;place-items:center;margin-bottom:21px}.empty-leaders h3{font-size:14px}.empty-leaders .text-link{font-size:9px}.scoring-banner{margin-top:25px;border:1px solid #e4e9dc;border-radius:11px;display:flex;align-items:center;gap:19px;padding:23px 27px;background:#eff3e9}.scoring-symbol{width:45px;height:45px;border-radius:11px;background:#e5ecdc;color:#789378;display:grid;place-items:center;flex-shrink:0}.scoring-banner .eyebrow{font-size:7px;letter-spacing:1.35px;color:#8d9e83}.scoring-banner h3{font-size:12px;margin:3px 0 5px;font-weight:600}.scoring-banner p{font-size:9px;color:#909b87}.scoring-equation{display:flex;align-items:center;gap:11px;margin-left:auto;color:#9fae92;font-size:17px;flex-shrink:0;padding-left:15px}.scoring-equation>span{border:1px solid #dce5d4;border-radius:7px;background:#f7f9f2;width:32px;height:34px;display:grid;place-items:center;color:#7a9472;font-size:14px}.scoring-equation>strong{font-size:12px;letter-spacing:1px;color:#6c8467}.page-footer{padding:29px 0 23px;margin-top:23px;border-top:1px solid #e5eae0;display:flex;justify-content:space-between;gap:15px;font-size:8px;color:#a1ab9d}.footer-dot{color:#b7c0af;margin:0 4px}.record-strip{border:1px solid var(--line);border-radius:12px;background:#fff;padding:24px 28px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;margin-bottom:25px;box-shadow:var(--shadow)}.record-strip>div{border-left:1px solid var(--line);padding-left:29px}.record-strip>div:first-child{border:0;padding:0}.record-strip .eyebrow{font-size:8px;display:block;margin-bottom:8px}.record-strip strong{font-size:25px;font-weight:600;letter-spacing:-.5px;line-height:1.3}.record-strip strong span{font-size:10px;color:#93a08e;letter-spacing:0}.record-strip strong i{font-style:normal;font-size:15px;color:#c5cfc0;margin:0 8px}.count-badge{display:inline-flex;background:#f0f4ed;border:1px solid #e7ede2;min-width:23px;height:20px;justify-content:center;align-items:center;font-size:9px;font-weight:500;color:#839276;border-radius:5px;vertical-align:middle;margin-left:5px}.empty-state{padding:65px 25px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center}.empty-state .button{margin-top:2px}.roster-summary{display:flex;align-items:center;gap:13px;padding:17px 22px;background:#edf3eb;border:1px solid #e2ebdc;border-radius:9px;font-size:10px;margin-bottom:25px;color:#86947d;line-height:1.6}.roster-summary>strong{color:#5e7859;font-size:11px}.summary-icon{color:#809b76}.summary-divider{width:1px;height:20px;background:#d8e1d0;margin:0 5px}.roster-summary span strong{font-weight:500;color:#6c8163}.search-field{height:34px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:6px;padding:0 10px;color:#a2afa0}.search-field input{border:0;background:transparent;min-width:0;width:135px;font-size:9px;color:var(--ink);height:100%}.search-field input::placeholder{color:#a1aaa1}.search-field:focus-within{outline:2px solid #a9c7b7;outline-offset:2px}.search-field input:focus-visible{outline:0}.player-cell{display:flex;gap:11px;align-items:center}.player-cell strong{display:block;font-size:11px}.player-cell small{font-size:8px;color:#9da696;display:flex;gap:8px;align-items:center;margin-top:3px}.position-badge{display:inline-flex;align-items:center;justify-content:center;min-width:25px;font-size:8px;padding:3px 5px;border:1px solid #e7ece3;border-radius:4px;color:#84917e;background:#fafbf7}.points-column{background:#f6f9f2;color:#54724d!important}.data-table tbody td.points-column strong{font-size:14px}.roster-table td{font-size:10px}.row-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.table-note{font-size:8px;color:#a0a897;padding:14px 24px;background:#fcfdf9;border-top:1px solid var(--line);line-height:1.8}.table-note span{margin:0 6px;color:#c1c9b6}.help-note{margin-top:17px;display:flex;align-items:center;gap:7px;font-size:9px;color:#97a18e;line-height:1.8}.no-results{font-size:12px;color:var(--muted);padding:35px;text-align:center}.archived-badge{font-size:7px;padding:1px 5px;border:1px solid #e3e7de;border-radius:4px;color:#9b9f92;background:#f5f6f1}.archived-player .player-avatar{opacity:.55}.archived-player .player-cell strong{color:#899381}.modal{border:1px solid #e3e9df;border-radius:14px;padding:27px;width:min(440px,calc(100vw - 32px));box-shadow:0 25px 90px #132e342e;color:var(--ink);overflow:auto;max-height:calc(100vh - 50px)}.modal::backdrop{background:#152e3480;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:20px}.modal-header h2{font-size:22px;letter-spacing:-.6px;margin-top:4px}.modal-header .eyebrow{font-size:8px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:22px;border-top:1px solid var(--line);margin-top:23px}.field{display:block;font-size:10px;font-weight:500;color:#63756a;margin-bottom:18px;line-height:1.7}.field input,.field select,.field textarea{display:block;width:100%;border:1px solid #dfe6db;border-radius:6px;background:#fff;color:#3f5947;min-height:41px;padding:9px 11px;font-size:11px;font-weight:400;margin-top:7px;line-height:1.7}.field select{padding-right:28px}.field textarea{resize:vertical;min-height:85px}.field input::placeholder,.field textarea::placeholder{color:#b0baaa;font-size:10px}.field input:hover,.field select:hover,.field textarea:hover{border-color:#bbcdb2}.field input:focus,.field select:focus,.field textarea:focus{border-color:#82aa8d}.required{color:#b48c6c;margin-left:2px}.optional{font-size:8px;font-weight:400;color:#adb5a4;margin-left:4px}.field-hint{font-size:9px;color:#9ca791;line-height:1.7}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-row>.field{min-width:0}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:9px;color:#8e9e83;margin:0 0 20px}.back-link:hover{color:var(--green)}.game-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:25px;align-items:start}.form-main{min-width:0}.form-card{padding:24px;margin-bottom:22px}.section-heading{display:flex;align-items:center;gap:13px;margin-bottom:25px}.section-number{display:grid;place-items:center;background:#f1f5ea;border:1px solid #e8eedd;border-radius:7px;color:#8fa17c;width:30px;height:32px;flex-shrink:0;font-size:10px}.section-heading h2{font-size:14px}.section-heading p{font-size:9px;color:#99a48d;margin-top:4px}.section-heading .count-badge{margin-left:auto}.form-card>.field:last-child{margin-bottom:0}.participant-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.participant-option{display:flex;gap:9px;align-items:center;border:1px solid #e5ebde;border-radius:6px;padding:12px;cursor:pointer;transition:background .15s}.participant-option:hover{background:#f9fbf5}.participant-option:has(input:checked){border-color:#c2d6b7;background:#f6faf1}.participant-option input{accent-color:var(--green);width:14px;height:14px;flex-shrink:0;margin:0}.participant-details{min-width:0}.participant-details strong{font-size:10px;display:block;overflow-wrap:anywhere}.participant-details small{font-size:8px;color:#a3ae96;display:block;margin-top:2px}.participant-details small span{padding:0 3px}.select-all{margin-left:auto;font-size:8px;color:#7f9771}.goal-row{position:relative;display:flex;align-items:center;gap:13px;padding:17px 0;border-top:1px solid #edf1e5}.goal-row:first-child{padding-top:0;border-top:0}.goal-number{width:28px;text-align:center;flex-shrink:0}.goal-number span:first-child{display:block;font-size:16px;font-weight:500;color:#849c75;line-height:1.2}.goal-number span:last-child{font-size:6px;letter-spacing:1px;color:#adb9a0}.goal-selects{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;flex:1;min-width:0}.goal-selects .field{min-width:0;margin:0;font-size:8px}.goal-selects select{font-size:9px;padding:8px 20px 8px 8px;margin-top:5px;min-height:36px}.remove-goal{width:24px;height:24px;align-self:flex-end;margin-bottom:6px;color:#b4bcaa}.remove-goal:hover{background:#fcf0e9;color:#be856e}.no-goals{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:16px 0 25px;color:#a3b393}.no-goals p{font-size:9px;margin-top:11px;color:#9da88f}.goals-section>.field-hint{margin-top:12px;font-size:8px}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding:2px 0 3px}.form-aside{position:sticky;top:25px}.score-preview{text-align:center;padding:23px 17px}.score-preview>.eyebrow{font-size:8px;letter-spacing:1.6px;color:#8a9c7d}.preview-score{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:24px}.preview-score>div{width:86px;min-width:0;display:flex;flex-direction:column;align-items:center}.preview-team-avatar{width:32px;height:35px;border-radius:8px;display:grid;place-items:center;background:#e9f1e2;color:#789567;font-size:12px;font-weight:600;margin-bottom:9px}.preview-team-avatar.opponent{font-size:9px;background:#f3efe5;color:#b39d78}.preview-score strong{font-size:36px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-1px}.preview-team-name{font-size:9px;display:block;color:#8e9c81;line-height:1.5;overflow-wrap:anywhere;margin-top:6px}.preview-dash{font-size:22px;color:#c8d0bf;padding-bottom:2px}.score-preview>p{font-size:8px;line-height:1.7;color:#a4af97;margin-top:23px}.live-indicator{border-top:1px solid #e9efdf;margin:17px 0 0;padding:14px 0 0;display:flex;align-items:center;justify-content:center;gap:6px;font-size:8px;color:#87a075}.live-indicator>span{background:#91b282;width:4px;height:4px}.scoring-guide{padding:26px 13px 0}.guide-icon{color:#b99d75}.scoring-guide h3{font-size:12px;margin:11px 0 20px;font-weight:600}.scoring-guide>div{display:flex;justify-content:space-between;font-size:10px;margin:11px 0;color:#8c9b7c}.scoring-guide>div strong{font-size:9px;color:#718c60;background:#edf3e4;padding:2px 6px;border-radius:4px}.scoring-guide p{font-size:9px;color:#a0ac91;margin-top:19px;line-height:1.9}.validation-errors{border:1px solid #edcdbd;background:#fdf4ed;color:#a1684e;border-radius:8px;padding:17px 20px;font-size:11px;margin-bottom:25px}.validation-errors ul{margin:8px 0 0;padding-left:18px}.notice{display:flex;gap:15px;align-items:center;border:1px solid #ead8bc;background:#fbf5e9;padding:20px;border-radius:9px;margin-bottom:24px;color:#a68c64}.notice>div{flex:1}.notice strong{font-size:12px}.notice p{font-size:10px;margin-top:4px}.inline-dot{color:#bcc8b0;margin:0 6px}.game-scoreboard{padding:26px 30px 0;text-align:center}.game-scoreboard>.result-badge{font-size:8px;padding:5px 12px;text-transform:uppercase;letter-spacing:.7px}.scoreboard-teams{display:flex;justify-content:center;align-items:center;gap:35px;margin:25px 0 32px}.scoreboard-team{display:flex;align-items:center;flex-direction:column;width:200px;min-width:0}.large-team-avatar{width:53px;height:57px;display:grid;place-items:center;background:#edf4e6;color:#7d9b6a;font-size:22px;border:1px solid #e0eaca;border-radius:12px;margin-bottom:12px}.large-team-avatar.opponent{background:#f7efe1;color:#b29b74;border-color:#ede2d0}.scoreboard-team h2{font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.scoreboard-team .eyebrow{font-size:7px;letter-spacing:1.5px;color:#a8b29a;margin-top:4px}.scoreboard-score{display:flex;align-items:center;gap:24px;flex-shrink:0}.scoreboard-score strong{font-size:59px;font-weight:600;letter-spacing:-3px;line-height:1.2;font-variant-numeric:tabular-nums}.scoreboard-score>span{font-size:32px;color:#c6d1b9;font-weight:300}.scoreboard-footer{padding:14px 0;border-top:1px solid #e9efdf;display:flex;align-items:center;justify-content:center;gap:14px;font-size:8px;color:#a2af92}.scoreboard-footer>span{color:#c4cfb5}.detail-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:23px;margin-top:25px;align-items:start}.scoring-table td{font-size:10px}.scoring-table th,.scoring-table td{padding-left:12px;padding-right:12px}.goal-index{font-size:10px;color:#99ac87}.inline-point{display:inline-block;margin-left:7px;border-radius:4px;font-size:7px;padding:2px 4px;color:#8aa074;background:#f0f5e9;vertical-align:middle}.compact-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:35px;color:#a8b59b}.compact-empty h3{font-size:13px;margin-top:13px;font-weight:500;color:#8b9d7b}.compact-empty p{font-size:10px;margin-top:7px;color:#a7b298}.lineup-list{padding:0 23px}.lineup-player{display:flex;gap:9px;align-items:center;padding:13px 0;border-bottom:1px solid #f0f3e9}.lineup-player:last-child{border-bottom:0}.lineup-player strong{font-size:10px;min-width:0;overflow-wrap:anywhere}.lineup-player>span:last-child{font-size:8px;color:#9faa91;margin-left:auto;white-space:nowrap}.lineup-player>span:last-child span{margin:0 3px;color:#c6cfba}.lineup-player .player-avatar{width:27px;height:29px;font-size:9px}.game-notes{padding:25px;margin-top:24px}.game-notes>.eyebrow{font-size:7px}.game-notes h2{margin-top:5px}.game-notes p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;color:#8e9f80;line-height:1.9;margin-top:15px}.danger-zone{border-top:1px solid #e5ecda;margin-top:30px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.danger-zone p{font-size:9px;color:#a9b39b}.button-danger-quiet{font-size:9px;color:#b28d76;height:34px;padding:0 10px}.button-danger-quiet:hover{background:#f8ede5;color:#a57055}.flash-stack{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}.flash{display:flex;align-items:center;gap:10px;padding:13px 16px;border:1px solid #ccdec0;border-radius:7px;background:#edf5e7;color:#6d8f5f;font-size:10px}.flash>span{flex:1}.flash-error{background:#fcf2e9;border-color:#ecd4bf;color:#b08b68}.flash .icon-button{color:inherit;width:23px;height:23px}.error-page{padding:90px 30px;text-align:center}.error-code{font-size:80px;font-weight:600;color:#dbe5cf;letter-spacing:-5px;line-height:1.2}.error-page h1{margin-top:18px;font-size:30px}.error-page p{font-size:12px;color:#93a285;margin:18px 0 25px}
@media(min-width:1450px){.main-content{padding-left:55px;padding-right:55px}.topbar{padding-left:55px;padding-right:55px}.stat-card{padding:23px 25px}.stat-grid{gap:21px}.card-header h2,h2{font-size:15px}.page-heading{margin-bottom:35px}h1{font-size:36px}.page-heading p{font-size:12px}.dashboard-grid{gap:26px}.empty-games,.empty-leaders{min-height:360px}.rink{width:235px;height:117px}.rink-circle.circle-left-top,.rink-circle.circle-right-top{top:18px}.rink-circle.circle-left-bottom,.rink-circle.circle-right-bottom{bottom:18px}.rink:before,.rink:after{top:43px}.rink-puck{left:128px;top:73px}.scoring-banner{padding:27px 30px}}
@media(max-width:1200px){.sidebar{width:210px;padding-left:16px;padding-right:16px}.app-shell{margin-left:210px}.main-content{padding:30px 27px 0}.topbar{padding:0 27px}.brand{font-size:25px;gap:9px}.brand-subtitle{font-size:6.8px;letter-spacing:1.5px}.stat-card{padding:16px}.stat-grid{gap:12px}.stat-description{display:none}.stat-foot{gap:6px;font-size:8px}.dashboard-grid{gap:17px;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr)}.card-header{padding:21px}.data-table td{padding:16px 13px}.data-table th{padding:13px}.data-table th:first-child,.data-table td:first-child{padding-left:21px}.data-table th:last-child,.data-table td:last-child{padding-right:21px}.scoring-equation{gap:7px;padding-left:0}.scoring-equation>span{width:27px;height:29px}.scoring-banner{padding:22px 20px;gap:14px}.scoring-banner h3{font-size:11px}.scoring-banner p{font-size:8px}.game-form-grid{grid-template-columns:minmax(0,1fr) 215px;gap:20px}.form-card{padding:20px}.goal-selects{gap:6px}.goal-row{gap:8px}.goal-number{width:23px}.goal-selects select{font-size:8px;padding-left:6px}.goal-selects .field{font-size:7px}.remove-goal{width:18px}.preview-score{gap:4px}.preview-score>div{width:75px}.scoring-guide{padding-left:6px;padding-right:6px}.game-form-grid .form-row{gap:13px}}
@media(max-width:1000px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.stat-description{display:inline}.stat-foot{font-size:9px;gap:9px}.stat-card{padding:18px 21px}.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:22px}.leader-list{display:grid;grid-template-columns:1fr 1fr;column-gap:23px}.leader-list li{min-width:0}.leader-list li:last-child{border-bottom:1px solid #f0f2ed}.leader-labels{display:none}.leader-list{padding-top:5px;padding-bottom:8px}.empty-leaders{min-height:250px}.scoring-banner p{max-width:330px;font-size:9px}.scoring-equation{display:none}.record-strip{padding:22px;gap:15px;grid-template-columns:1.4fr 1fr 1fr 1fr}.record-strip>div{padding-left:18px}.record-strip strong{font-size:22px}.record-strip strong i{margin:0 3px;font-size:12px}.record-strip .eyebrow{font-size:7px;letter-spacing:1px}.roster-summary{flex-wrap:wrap;gap:8px 11px}.roster-summary>span:last-child{width:100%;padding-left:33px;font-size:9px;margin-top:-4px}.summary-divider{display:none}.game-form-grid{grid-template-columns:minmax(0,1fr)}.form-aside{position:static;display:grid;grid-template-columns:1fr 1fr;gap:20px;grid-row:1}.score-preview{padding:18px}.score-preview>.eyebrow{font-size:7px}.preview-score{margin-top:12px}.preview-team-avatar{display:none}.preview-score strong{font-size:29px}.preview-team-name{font-size:8px}.score-preview>p{margin-top:11px;font-size:7px}.live-indicator{margin-top:11px;padding-top:9px;font-size:7px}.scoring-guide{padding-top:10px}.scoring-guide h3{margin:5px 0 9px;font-size:11px}.guide-icon{display:none}.scoring-guide>div{margin:6px 0;font-size:9px}.scoring-guide p{font-size:8px;line-height:1.7;margin-top:10px}.form-card{padding:24px}.goal-selects select{font-size:9px;padding-left:9px}.goal-selects .field{font-size:8px}.goal-row{gap:13px}.goal-selects{gap:12px}.goal-number{width:27px}.remove-goal{width:24px}.detail-grid{grid-template-columns:1fr}.scoreboard-teams{gap:20px}.scoreboard-team{width:160px}.scoreboard-score{gap:18px}.scoreboard-score strong{font-size:48px}.lineup-list{display:grid;grid-template-columns:1fr 1fr;column-gap:23px;padding-bottom:7px}.lineup-player:last-child{border-bottom:1px solid #f0f3e9}.danger-zone{align-items:flex-start}.danger-zone p{line-height:1.8;max-width:300px}}
@media(max-width:740px){.sidebar{position:static;width:auto;height:auto;padding:18px 23px 0;display:block}.brand{margin:0;font-size:23px;width:max-content;gap:8px}.brand-mark svg{width:27px;height:27px}.brand-subtitle{font-size:6px;margin-top:5px;letter-spacing:1.8px}.team-switcher,.nav-caption,.sidebar-bottom{display:none}.main-nav{flex-direction:row;gap:5px;margin-top:19px}.nav-item{min-height:42px;padding:11px 13px;border-radius:5px 5px 0 0;justify-content:center;gap:8px;font-size:10px}.nav-item svg{width:15px;height:15px}.nav-item.active{background:#2a4449;position:relative}.nav-item.active:after{position:absolute;bottom:0;width:22px;height:2px;border-radius:1px;left:calc(50% - 11px);background:#b8d0bd}.app-shell{margin-left:0}.topbar{height:51px;padding:0 24px}.breadcrumb{font-size:8px;gap:10px}.topbar-meta{gap:14px}.local-pill{font-size:6px;letter-spacing:.8px}.local-pill>span{width:4px;height:4px}.profile-avatar{width:23px;height:23px;font-size:8px}.main-content{padding:26px 23px 0}.page-heading{margin-bottom:25px;gap:12px}h1{font-size:28px}.page-kicker{font-size:6px;letter-spacing:1.5px}.page-heading p{font-size:9px;line-height:1.7;max-width:230px}.page-heading .button{padding:0 12px;font-size:8px;height:35px;gap:5px;flex-shrink:0}.page-heading .button svg{width:15px;height:15px}.stat-grid{gap:12px;margin-bottom:22px}.stat-card{padding:14px 16px}.stat-label{font-size:9px}.stat-icon{width:25px;height:25px}.stat-icon svg{width:16px;height:16px}.stat-value{font-size:30px;margin-top:6px}.stat-foot{margin-top:7px;font-size:8px;gap:7px}.stat-description{display:none}.stat-foot .text-link{font-size:8px}.stat-foot .subtle{font-size:7px}.card-header{padding:19px 20px;min-height:77px}.card-header h2,h2{font-size:13px}.card-header p{font-size:8px}.card-header .text-link{font-size:8px;gap:4px}.empty-games{min-height:312px}.empty-games h3{font-size:15px}.rink{width:200px;height:100px}.empty-leaders{min-height:245px}.leader-list{padding-left:20px;padding-right:20px;grid-template-columns:1fr;gap:0}.leader-list li{padding:13px 0}.leader-list li:last-child{border-bottom:0}.leader-name strong{font-size:11px}.leader-labels{display:flex;padding:14px 20px 0;font-size:7px}.leader-points{font-size:16px}.leader-rank{width:16px}.player-avatar{width:30px;height:31px}.card-bottom-link{padding:15px 20px}.scoring-banner{margin-top:22px;padding:20px 17px;gap:13px;align-items:flex-start}.scoring-symbol{width:34px;height:37px;border-radius:8px}.scoring-symbol svg{width:24px;height:24px}.scoring-banner .eyebrow{font-size:6px;letter-spacing:1px}.scoring-banner h3{font-size:10px;line-height:1.6}.scoring-banner p{font-size:8px;line-height:1.7;max-width:245px}.page-footer{margin-top:25px;flex-direction:column;gap:5px;padding-top:20px;font-size:7px}.record-strip{grid-template-columns:1fr 1fr;gap:20px;padding:21px;margin-bottom:22px}.record-strip>div:nth-child(3){border-left:0;padding-left:0}.record-strip>div:nth-child(2){padding-left:24px}.record-strip>div:nth-child(4){padding-left:24px}.record-strip strong{font-size:24px}.record-strip .eyebrow{font-size:7px;margin-bottom:6px}.record-strip>div{padding-left:0}.record-strip strong i{margin:0 5px}.roster-summary{padding:15px 17px;margin-bottom:22px}.roster-summary>strong{font-size:10px}.roster-summary>span:last-child{font-size:8px;line-height:1.8}.search-field{height:30px;padding:0 8px;gap:6px}.search-field input{width:95px;font-size:8px}.search-field svg{width:13px;height:13px}.roster-table th,.roster-table td{padding-left:13px;padding-right:13px}.roster-table td{font-size:9px}.table-note{padding:12px 20px;font-size:7px}.table-note span{margin:0 4px}.help-note{font-size:8px;align-items:flex-start;line-height:1.9}.help-note svg{margin-top:2px;width:14px;height:14px}.modal{padding:23px}.modal-header{margin-bottom:23px}.modal-header h2{font-size:20px}.field{font-size:10px}.field input,.field select,.field textarea{font-size:12px}.modal .button{font-size:10px}.back-link{margin-bottom:18px;font-size:8px}.form-aside{gap:17px}.score-preview{padding:15px 11px}.preview-score{gap:2px}.preview-score>div{width:56px}.preview-score strong{font-size:27px}.preview-team-name{font-size:7px}.preview-dash{font-size:18px}.score-preview>p{font-size:6px}.scoring-guide{padding:5px 0}.scoring-guide h3{font-size:10px;margin-bottom:14px}.scoring-guide>div{font-size:8px}.scoring-guide>div strong{font-size:7px}.scoring-guide p{font-size:7px;line-height:1.8}.form-card{padding:20px;margin-bottom:20px}.section-heading{gap:10px;margin-bottom:22px}.section-heading h2{font-size:13px}.section-heading p{font-size:8px;line-height:1.7}.section-number{width:26px;height:29px;font-size:9px}.form-row{gap:12px}.form-row>.field{min-width:0}.field input[type=date]{min-width:0}.participant-grid{gap:8px}.participant-option{padding:10px 9px;gap:7px}.participant-details strong{font-size:9px}.participant-details small{font-size:7px}.participant-option input{width:12px;height:12px}.select-all{font-size:7px;white-space:nowrap}.goal-row{align-items:flex-start;padding:20px 0 16px;gap:10px}.goal-number{width:22px;padding-top:1px}.goal-number span:first-child{font-size:17px}.goal-selects{grid-template-columns:1fr 1fr;gap:9px 10px}.goal-selects .field:first-child{grid-column:1 / -1}.goal-selects .field{font-size:8px}.goal-selects select{font-size:10px;min-height:36px;padding-left:8px;padding-right:20px}.remove-goal{align-self:flex-start;margin:14px -5px 0 0;width:21px;height:24px}.goal-row:first-child .remove-goal{margin-top:14px}.goal-selects select{max-width:100%}.game-form-grid{gap:22px}.form-actions .button{font-size:10px}.notice{flex-wrap:wrap;gap:11px}.notice>div{flex-basis:calc(100% - 45px)}.notice .button{margin-left:33px;height:33px;font-size:9px}.validation-errors{font-size:10px}.game-scoreboard{padding:21px 16px 0}.scoreboard-teams{gap:10px;margin:23px 0 27px}.scoreboard-team{width:110px}.scoreboard-team h2{font-size:11px;line-height:1.7}.scoreboard-team .eyebrow{font-size:6px;letter-spacing:1px}.large-team-avatar{width:40px;height:44px;border-radius:10px;font-size:18px;margin-bottom:9px}.scoreboard-score{gap:13px}.scoreboard-score strong{font-size:37px;letter-spacing:-2px}.scoreboard-score>span{font-size:24px}.scoreboard-footer{font-size:6px;gap:8px;flex-wrap:wrap;line-height:1.8;padding:12px 0}.detail-grid{gap:20px;margin-top:22px}.lineup-list{grid-template-columns:1fr;padding-left:20px;padding-right:20px}.lineup-player:last-child{border-bottom:0}.lineup-player{padding:12px 0}.game-notes{padding:21px;margin-top:20px}.game-notes p{font-size:10px}.danger-zone{margin-top:25px;gap:5px;flex-direction:column}.danger-zone p{font-size:8px;max-width:none}.button-danger-quiet{padding-left:0}.error-page{padding:55px 5px}.error-page h1{font-size:25px}.error-code{font-size:70px}.error-page p{font-size:11px}.flash{padding:11px 12px;font-size:9px;gap:7px}.flash-stack{margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Keep everyday controls and statistics comfortable to read at every size. */
.nav-item,.settings-link{font-size:13px}
.team-switcher strong{font-size:13px}
.team-switcher .eyebrow,.nav-caption,.eyebrow,.page-kicker,.modal-header .eyebrow,.record-strip .eyebrow,.score-preview>.eyebrow,.game-notes>.eyebrow{font-size:9px}
.brand-subtitle{font-size:8px}
.sidebar-note,.sidebar-note strong{font-size:11px}
.local-status{font-size:10px}
.breadcrumb{font-size:12px;flex-wrap:wrap;gap:10px}
.local-pill{font-size:9px}
.profile-avatar{width:32px;height:32px;font-size:12px;flex-shrink:0}
.page-heading p{font-size:13px;line-height:1.7}
.button,.page-heading .button,.empty-games .button,.modal .button,.form-actions .button{font-size:12px;height:42px}
.button-text,.select-all,.button-danger-quiet{font-size:12px}
.button-text{min-height:34px}
.icon-button{width:34px;height:34px}
.team-edit{width:26px!important;height:32px!important}
.text-link,.card-header .text-link,.empty-leaders .text-link,.stat-foot .text-link{font-size:12px}
.stat-label{font-size:12px}
.stat-foot{font-size:11px;white-space:normal;flex-wrap:wrap;gap:5px 9px;line-height:1.65}
.stat-foot .subtle,.stat-description{font-size:11px;overflow-wrap:anywhere}
.card-header h2,h2{font-size:16px}
.card-header p{font-size:12px;line-height:1.65}
.data-table{font-size:13px}
.data-table th,.roster-table th,.scoring-table th{font-size:10px}
.data-table td,.roster-table td,.scoring-table td{font-size:13px}
.opponent-link strong,.player-cell strong,.leader-name strong,.lineup-player strong{font-size:13px}
.opponent-link small,.player-cell small,.leader-name small,.lineup-player>span:last-child{font-size:11px;line-height:1.6}
.opponent-link small{max-width:180px}
.date-cell{font-size:12px!important}
.score-cell{font-size:15px!important}
.result-badge,.game-scoreboard>.result-badge{font-size:11px;padding:5px 9px}
.empty-games p,.empty-state p,.empty-leaders p{font-size:12px;line-height:1.8}
.empty-games h3,.empty-state h3,.empty-leaders h3{font-size:16px}
.leader-labels{font-size:10px}
.leader-rank{font-size:11px;width:18px}
.leader-name small{flex-wrap:wrap;gap:2px 5px}
.card-bottom-link{font-size:12px;min-height:45px}
.scoring-banner .eyebrow{font-size:9px}
.scoring-banner h3{font-size:14px}
.scoring-banner p{font-size:12px;line-height:1.8;max-width:none}
.scoring-equation{display:none}
.page-footer{font-size:11px;line-height:1.8;flex-wrap:wrap}
.record-strip strong span{font-size:12px}
.count-badge{font-size:11px;min-width:25px;height:23px}
.roster-summary,.roster-summary>strong,.roster-summary>span:last-child{font-size:12px;line-height:1.8}
.search-field{height:38px}
.search-field input{font-size:12px}
.position-badge{font-size:11px;padding:3px 6px}
.data-table tbody td.points-column strong{font-size:15px}
.archived-badge{font-size:10px}
.table-note,.help-note,.field-hint,.goals-section>.field-hint{font-size:11px;line-height:1.8}
.table-note{white-space:normal}
.help-note{align-items:flex-start}
.help-note svg{margin-top:3px}
.field{font-size:12px;line-height:1.7}
.optional{font-size:11px}
.field input,.field select,.field textarea{font-size:14px;min-height:43px;line-height:1.6}
.field input::placeholder,.field textarea::placeholder{font-size:13px}
.form-card .field textarea{min-height:100px}
.back-link{font-size:12px;min-height:30px}
.section-number{font-size:12px}
.section-heading h2{font-size:16px}
.section-heading p{font-size:12px;line-height:1.7}
.participant-option{min-height:59px}
.participant-option input{width:16px;height:16px}
.participant-details strong{font-size:13px}
.participant-details small{font-size:11px;line-height:1.6}
.goal-number{width:28px}
.goal-number span:first-child{font-size:19px}
.goal-number span:last-child{font-size:9px}
.goal-selects .field{font-size:12px}
.goal-selects select{font-size:13px;min-height:41px;padding-left:9px}
.remove-goal{width:32px;height:32px;margin-bottom:5px}
.no-goals p{font-size:12px;line-height:1.8;text-align:center}
.form-aside{min-width:0}
.preview-team-name{font-size:12px;line-height:1.7;max-width:100%;overflow-wrap:anywhere}
.score-preview>p,.live-indicator{font-size:11px;line-height:1.8}
.scoring-guide h3{font-size:14px}
.scoring-guide>div{font-size:12px;gap:6px}
.scoring-guide>div strong{font-size:11px;white-space:nowrap}
.scoring-guide p{font-size:12px;line-height:1.9}
.validation-errors{font-size:13px}
.notice strong{font-size:14px}
.notice p{font-size:12px}
.scoreboard-team h2{font-size:16px}
.scoreboard-team .eyebrow{font-size:9px}
.scoreboard-footer{font-size:11px;line-height:1.8;flex-wrap:wrap}
.goal-index{font-size:12px}
.inline-point{font-size:10px}
.compact-empty h3{font-size:15px}
.compact-empty p{font-size:12px}
.game-notes p{font-size:13px}
.danger-zone p{font-size:11px;line-height:1.8}
.button-danger-quiet{height:40px}
.flash{font-size:13px;line-height:1.7}
.flash .icon-button{width:32px;height:32px}
.error-page p{font-size:14px}

@media(max-width:1000px){
  .form-aside{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .score-preview>.eyebrow{font-size:9px}
  .preview-team-name,.score-preview>p,.live-indicator{font-size:11px}
  .scoring-guide{min-width:0}
  .scoring-guide h3{font-size:13px}
  .scoring-guide>div{font-size:12px}
  .scoring-guide>div strong{font-size:11px}
  .scoring-guide p{font-size:11px}
}
@media(max-width:740px){
  .brand-subtitle{font-size:7px}
  .main-nav{gap:4px}
  .nav-item{font-size:13px;min-height:45px;padding-left:10px;padding-right:10px;gap:7px}
  .nav-item svg{width:17px;height:17px}
  .topbar{min-height:56px;height:auto;padding-top:10px;padding-bottom:10px;gap:10px}
  .breadcrumb{font-size:11px;gap:6px;line-height:1.7}
  .local-pill{font-size:8px;white-space:nowrap}
  .topbar-meta{gap:11px;flex-shrink:0}
  .profile-avatar{width:32px;height:32px;font-size:12px}
  .page-kicker{font-size:9px;letter-spacing:1.1px;line-height:1.8}
  .page-heading{align-items:flex-start}
  .page-heading p{font-size:12px;line-height:1.8;max-width:245px}
  .button,.page-heading .button,.empty-games .button,.modal .button,.form-actions .button,.notice .button{font-size:12px;height:42px;padding-left:13px;padding-right:13px}
  .page-heading .button{margin-top:25px}
  .page-heading .button svg{width:17px;height:17px}
  .icon-button{width:36px;height:36px}
  .stat-card{padding:16px 14px}
  .stat-label{font-size:12px;align-items:flex-start;line-height:1.6;gap:6px}
  .stat-icon{flex-shrink:0}
  .stat-value{font-size:33px;margin-top:9px}
  .stat-foot,.stat-foot .subtle,.stat-foot .text-link{font-size:11px}
  .stat-foot{row-gap:3px}
  .stat-foot .text-link{align-items:flex-start;line-height:1.8}
  .stat-foot .text-link svg{margin-top:3px}
  .card-header{padding:20px;align-items:flex-start}
  .card-header h2,h2{font-size:16px}
  .card-header p{font-size:12px;line-height:1.75}
  .card-header .text-link{font-size:11px;white-space:nowrap;min-height:27px}
  .card-header-icon,.muted-icon{flex-shrink:0}
  .empty-games p,.empty-state p,.empty-leaders p{font-size:12px}
  .empty-games h3,.empty-state h3,.empty-leaders h3{font-size:16px}
  .leader-labels{font-size:10px}
  .leader-name strong{font-size:13px}
  .leader-name small{font-size:11px}
  .leader-rank{font-size:11px}
  .card-bottom-link,.empty-leaders .text-link{font-size:12px;min-height:44px}
  .scoring-banner .eyebrow{font-size:9px;letter-spacing:.8px}
  .scoring-banner h3{font-size:13px;line-height:1.6}
  .scoring-banner p{font-size:11px;line-height:1.9;max-width:none}
  .page-footer{font-size:11px;gap:6px;line-height:1.8}
  .record-strip .eyebrow{font-size:9px;letter-spacing:.8px}
  .record-strip strong span{font-size:12px}
  .record-strip strong i{font-size:13px;margin-left:3px;margin-right:3px}
  .roster-summary,.roster-summary>strong,.roster-summary>span:last-child{font-size:12px;line-height:1.8}
  .search-field{height:42px;max-width:135px;flex-shrink:0}
  .search-field input{font-size:16px;width:88px}
  .search-field svg{width:16px;height:16px}
  .data-table th,.roster-table th,.scoring-table th{font-size:10px}
  .data-table td,.roster-table td,.scoring-table td{font-size:13px}
  .player-cell strong,.opponent-link strong,.lineup-player strong{font-size:13px}
  .player-cell small,.opponent-link small,.lineup-player>span:last-child{font-size:11px}
  .table-note,.help-note{font-size:11px;line-height:1.9}
  .help-note{gap:8px}
  .help-note svg{width:16px;height:16px;margin-top:4px}
  .field,.goal-selects .field{font-size:12px}
  .field input,.field select,.field textarea,.goal-selects select{font-size:16px;min-height:44px;line-height:1.5}
  .field input::placeholder,.field textarea::placeholder{font-size:14px}
  .field input[type=date]{width:100%;max-width:100%;min-width:0}
  .field-hint,.goals-section>.field-hint{font-size:11px;line-height:1.9}
  .optional{font-size:11px}
  .back-link{font-size:12px;min-height:32px}
  .section-heading{gap:10px;flex-wrap:wrap}
  .section-heading>div{flex:1;min-width:130px}
  .section-heading h2{font-size:16px}
  .section-heading p{font-size:12px;line-height:1.7}
  .section-number{font-size:11px}
  .select-all{font-size:11px;min-height:36px;margin-left:36px}
  .participant-option{min-height:66px;align-items:flex-start;padding:12px 10px;gap:8px}
  .participant-option input{width:16px;height:16px;margin-top:3px}
  .participant-details strong{font-size:13px;line-height:1.6}
  .participant-details small{font-size:11px;line-height:1.6}
  .goal-row{gap:8px}
  .goal-number{width:24px;padding-top:4px}
  .goal-number span:last-child{font-size:9px}
  .goal-selects{gap:12px 9px;min-width:0}
  .goal-selects select{padding-left:7px;padding-right:17px;max-width:100%;width:100%}
  .remove-goal{width:36px;height:36px;margin-left:0;margin-right:-9px;flex-shrink:0}
  .goal-row .remove-goal,.goal-row:first-child .remove-goal{margin-top:19px}
  .no-goals p{font-size:12px;line-height:1.8}
  .form-aside{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
  .score-preview{padding:16px 10px}
  .score-preview>.eyebrow{font-size:9px;letter-spacing:.8px}
  .preview-score{gap:3px}
  .preview-score>div{width:53px;min-width:0}
  .preview-team-name{font-size:11px;line-height:1.7;overflow-wrap:anywhere}
  .score-preview>p,.live-indicator{font-size:11px;line-height:1.8}
  .live-indicator{flex-wrap:wrap;gap:5px}
  .scoring-guide h3{font-size:13px;line-height:1.6}
  .scoring-guide>div{font-size:12px;align-items:center;gap:4px}
  .scoring-guide>div strong{font-size:11px;padding-left:4px;padding-right:4px}
  .scoring-guide p{font-size:11px;line-height:1.9}
  .validation-errors{font-size:12px}
  .notice strong{font-size:14px}
  .notice p{font-size:12px;line-height:1.8}
  .scoreboard-team h2{font-size:13px;line-height:1.7}
  .scoreboard-team .eyebrow{font-size:9px}
  .game-scoreboard>.result-badge{font-size:11px}
  .scoreboard-footer{font-size:11px;gap:7px;line-height:1.8;flex-wrap:wrap}
  .game-notes p{font-size:13px}
  .danger-zone p{font-size:11px;line-height:1.9}
  .button-danger-quiet{font-size:12px;min-height:42px}
  .flash{font-size:12px;line-height:1.8}
  .flash .icon-button{width:36px;height:36px}
  .error-page p{font-size:13px}
}

/* Goal events keep scoring and the recorded on-ice lineup together. */
.event-row{display:block;padding:23px 0;border-top:1px solid var(--line)}
.event-row:first-child{padding-top:0}
.event-row-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px;min-width:0}
.event-row-heading>strong{font-size:13px;line-height:1.7}
.event-row-heading .goal-number{width:38px;flex-shrink:0}
.event-row-heading .goal-number span:last-child{font-size:8px;letter-spacing:.7px}
.event-row .remove-goal{margin:0 0 0 auto;align-self:center;width:36px;height:36px}
.event-row .strength-field{max-width:340px;margin:0 0 18px}
.event-row .strength-field>.field-hint{display:block;margin-top:5px}
.event-row .goal-selects{margin-bottom:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.on-ice-details{border:1px solid #e1e9dc;border-radius:7px;background:#fafcf7}
.on-ice-details>summary{min-height:45px;display:flex;align-items:center;gap:8px;cursor:pointer;padding:10px 12px;font-size:12px;font-weight:500;line-height:1.7;list-style:none}
.on-ice-details>summary::-webkit-details-marker{display:none}
.on-ice-details>summary:before{content:"›";font-size:21px;color:#8da17f;line-height:1;transition:transform .15s}
.on-ice-details[open]>summary:before{transform:rotate(90deg)}
.on-ice-details>summary:focus-visible{outline:3px solid #77a899;outline-offset:3px}
.on-ice-count{margin-left:auto;font-size:11px;color:#839574;white-space:nowrap}
.on-ice-fieldset{margin:0;padding:0 13px 14px;border:0;min-width:0}
.on-ice-fieldset>.field-hint{margin:0 0 12px;font-size:11px;line-height:1.85}
.on-ice-fieldset>.field-hint:last-child{margin:11px 0 0}
.on-ice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:340px;overflow:auto;padding:3px;scrollbar-width:thin}
.on-ice-option{display:flex;align-items:flex-start;gap:8px;border:1px solid #e4ebde;padding:10px;border-radius:5px;background:#fff;cursor:pointer;min-height:57px;min-width:0}
.on-ice-option:has(input:checked){border-color:#b7cfa9;background:#eff5e9}
.on-ice-option input{width:16px;height:16px;margin:3px 0 0;accent-color:var(--green);flex-shrink:0}
.on-ice-option>span{min-width:0}
.on-ice-option strong{display:block;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.on-ice-option small{display:block;font-size:11px;color:#8c9c7e;line-height:1.6}
.on-ice-option.invalid-on-ice{background:#fcf1e8;border-color:#d4ac8c}
.invalid-on-ice>span:after{content:"Not in the game lineup";display:block;color:#b48765;font-size:11px;line-height:1.7}
.event-data-warning{font-size:11px;color:#b08d69;line-height:1.8;margin-top:10px;overflow-wrap:anywhere}
.event-row>[data-power-play-note]{margin-top:9px}
.goals-against-section .section-number{background:#f7efe6;border-color:#eee1cf;color:#b09b79}
.goals-against-section .event-row-heading>.goal-number{color:#b29d7d}
.stats-coverage{display:flex;align-items:flex-start;gap:12px;background:#f0f5eb;border:1px solid #e0e9d8;padding:17px 20px;border-radius:9px;margin-top:23px;color:#8b9c79}
.stats-coverage>svg{margin-top:3px;flex-shrink:0}
.stats-coverage strong{font-size:12px;color:#7b906b}
.stats-coverage p{font-size:12px;line-height:1.85;margin-top:4px;overflow-wrap:anywhere}
.stats-coverage.coverage-incomplete{background:#f9f3e9;border-color:#eadfc9;color:#a79578}
.coverage-incomplete strong{color:#9f8965}
.detail-main{min-width:0}
.scoring-events-card+.scoring-events-card{margin-top:23px}
.recap-event-list{padding:0 23px}
.recap-event{padding:21px 0;border-bottom:1px solid var(--line)}
.recap-event:last-child{border-bottom:0}
.recap-event-heading{display:flex;align-items:center;gap:11px;flex-wrap:wrap;font-size:13px;min-width:0}
.recap-event-heading>strong{font-size:13px;overflow-wrap:anywhere}
.recap-event-heading>.goal-index{min-width:16px}
.strength-badge{font-size:10px;padding:4px 8px;border:1px solid #e4eadd;border-radius:5px;color:#829570;background:#f3f7ed;line-height:1.5;margin-left:auto;white-space:nowrap}
.strength-pp{background:#f9f0df;color:#af9865;border-color:#eee1bd}
.strength-sh{background:#edf1f3;color:#7c96a0;border-color:#dde6ea}
.strength-unknown{background:#f4f2ee;color:#a59e8d;border-color:#e8e3d8}
.recap-assists{font-size:12px;color:#839574;margin:10px 0 0 28px;line-height:1.8;overflow-wrap:anywhere}
.recap-assists>span{font-size:11px;color:#a0ac93;margin-right:7px}
.recap-on-ice{margin-top:15px;padding-top:12px;border-top:1px dashed #e5ecdc}
.on-ice-label{display:block;font-size:11px;font-weight:500;color:#96a586;margin-bottom:8px}
.on-ice-chips{display:flex;flex-wrap:wrap;gap:7px}
.on-ice-chips>span{display:inline-block;border:1px solid #e4ecda;background:#fafcf6;border-radius:5px;padding:5px 8px;font-size:12px;color:#829671;line-height:1.6;overflow-wrap:anywhere;max-width:100%}
.on-ice-chips small{font-size:10px;color:#a8b39b;margin-left:3px}
.recap-on-ice .event-data-warning{margin:0}
.recap-event>.field-hint{margin-top:11px}
.lineup-player-name{min-width:0}
.lineup-player-name small{display:block;font-size:11px;color:#a2af94;line-height:1.7;margin-top:2px}
.lineup-list .lineup-plus-minus{font-size:13px;font-weight:600;color:#6b8b5e;flex-shrink:0}
.plus-minus-cell{font-variant-numeric:tabular-nums}
@media(max-width:740px){
  .event-row{padding-top:22px;padding-bottom:21px}
  .event-row-heading{gap:9px;margin-bottom:17px}
  .event-row-heading>strong{font-size:13px}
  .event-row .remove-goal{margin:0 0 0 auto}
  .event-row .strength-field{max-width:none;margin-bottom:17px}
  .event-row .goal-selects{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 9px}
  .event-row .goal-selects .field:first-child{grid-column:1/-1}
  .event-row .goal-selects select{font-size:16px;min-height:44px}
  .on-ice-details>summary{padding:11px 10px;min-height:47px;font-size:12px;gap:6px}
  .on-ice-count{font-size:11px}
  .on-ice-fieldset{padding-left:9px;padding-right:9px}
  .on-ice-grid{gap:7px;max-height:320px;padding:2px}
  .on-ice-option{padding:9px 7px;gap:6px;min-height:62px}
  .on-ice-option strong{font-size:13px}
  .on-ice-option small{font-size:11px}
  .stats-coverage{padding:16px;gap:9px;margin-top:21px}
  .stats-coverage p{font-size:11px;line-height:1.9}
  .stats-coverage strong{font-size:12px}
  .stats-coverage>svg{width:17px;height:17px}
  .recap-event-list{padding-left:20px;padding-right:20px}
  .recap-event-heading{gap:9px}
  .strength-badge{font-size:11px;white-space:normal;max-width:100%;margin-left:25px}
  .recap-assists{margin-left:25px}
  .on-ice-label{font-size:11px}
  .on-ice-chips>span{font-size:12px}
  .on-ice-chips small{font-size:11px}
  .scoring-events-card+.scoring-events-card{margin-top:20px}
}

.ap-badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d5e4e4;background:#edf4f3;color:#6e9591;border-radius:4px;font-size:10px;font-weight:600;line-height:1.4;letter-spacing:.3px;padding:1px 4px;margin-left:3px;vertical-align:middle;white-space:nowrap}
.checkbox-field{display:flex;align-items:flex-start;gap:10px;min-height:44px;cursor:pointer;line-height:1.8}
.checkbox-field>input{width:17px;height:17px;flex-shrink:0;accent-color:var(--green);margin:3px 0 0}
.checkbox-field>span{min-width:0}
.checkbox-field strong{display:block;font-size:13px;font-weight:500;color:#708568}
.checkbox-field small{display:block;font-size:11px;line-height:1.8;color:#9ba98f;margin-top:3px}
.empty-net-field{padding:13px;border:1px solid #e4ebde;border-radius:6px;background:#fcfdf9;margin:0 0 18px}
.empty-net-field+[data-empty-net-warning]{margin-top:-8px;margin-bottom:16px}
.empty-net-badge{display:inline-flex;font-size:11px;line-height:1.5;padding:3px 7px;border:1px solid #dbe4e1;background:#f1f5f3;color:#82958c;border-radius:4px;white-space:nowrap}
.roster-table th{padding-top:8px;padding-bottom:8px}
.sort-button{display:inline-flex;align-items:center;justify-content:inherit;gap:6px;min-height:36px;padding:5px 4px;margin-left:-4px;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;border-radius:4px;white-space:nowrap}
.sort-button:hover{color:var(--green);background:#eff4e9}
.sort-arrow{font-size:12px;opacity:.55;min-width:9px;line-height:1;letter-spacing:0}
.sort-arrow:before{content:attr(data-indicator)}
.roster-table th[aria-sort="ascending"],.roster-table th[aria-sort="descending"]{color:#5d7f51}
.roster-table th[aria-sort="ascending"] .sort-arrow,.roster-table th[aria-sort="descending"] .sort-arrow{opacity:1}
.sort-button abbr{cursor:inherit}
@media(max-width:740px){
  .checkbox-field{min-height:47px}
  .checkbox-field>input{width:18px;height:18px;margin-top:3px}
  .checkbox-field strong{font-size:13px}
  .checkbox-field small{font-size:11px;line-height:1.9}
  .ap-badge{font-size:10px;margin-left:2px}
  .sort-button{min-height:42px;gap:5px}
  .sort-arrow{font-size:13px}
}

.logo-avatar{display:inline-grid;place-items:center;position:relative;overflow:hidden;isolation:isolate;flex-shrink:0}
.logo-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:3px;border-radius:inherit}
.logo-avatar>[data-logo-fallback]{display:block;line-height:1.2}
.logo-avatar [hidden]{display:none!important}
.profile-logo{width:100%;height:100%;border-radius:inherit}
.profile-logo>img{padding:1px}
.settings-logo{width:60px;height:60px;display:grid;place-items:center;border:1px solid #e1e8da;border-radius:9px;background:#f6f9f1;color:#9bad8a;font-size:23px}
.current-logo{display:flex;align-items:center;gap:13px;margin:21px 0;font-size:12px;color:#96a686}
.field input[type=file]{font-size:12px;padding:9px;max-width:100%;min-height:43px;overflow:hidden}
.field input[type=file]::file-selector-button{border:1px solid #d9e4ce;border-radius:4px;background:#f0f6e7;color:#7d9469;font:inherit;padding:5px 9px;margin-right:10px;cursor:pointer}
.remove-logo-field{font-size:12px;min-height:35px;margin-top:-5px;align-items:center}
.remove-logo-field>input{margin-top:0}
.opponent-directory-name{display:flex;align-items:center;gap:13px}
.directory-avatar{width:43px;height:43px;background:#f6f8f1;border:1px solid #e3e9da;border-radius:8px;color:#95a684;font-size:15px}
.external-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#80996c;line-height:1.7}
.external-link:hover,.inline-rankings-link:hover{text-decoration:underline;color:var(--green)}
.external-link>svg,.inline-rankings-link>svg{transform:rotate(-35deg)}
.opponent-picker{display:flex;align-items:center;gap:18px;margin-bottom:17px;min-width:0}
.opponent-picker>.field{flex:1;min-width:0;margin:0}
.opponent-picker>.text-link{margin-top:24px;flex-shrink:0;font-size:11px}
.field input[readonly]{background:#f5f8ef;color:#8a9f76;cursor:default}
.period-settings{border:1px solid #e1e9d9;border-radius:8px;margin:2px 0 22px;padding:17px;min-width:0;background:#fcfdf9}
.period-settings>legend{padding:0 7px;font-size:13px;font-weight:500;color:#7f956d}
.period-settings>.field-hint{margin-bottom:17px}
.period-length-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;min-width:0}
.period-length-grid>.field{min-width:0;margin-bottom:17px}
.period-length-grid input,.overtime-settings input[type=text],.goal-timing-fields input{font-variant-numeric:tabular-nums}
.overtime-settings{border-top:1px solid #e9efdf;padding-top:16px;display:flex;align-items:center;gap:17px;min-width:0}
.overtime-settings>.checkbox-field{flex:1;min-width:0}
.overtime-settings>.field{width:100px;flex-shrink:0;margin:0}
.overtime-settings .checkbox-field small{font-size:11px}
.goal-timing-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-bottom:17px}
.goal-timing-fields>.field{min-width:0;margin:0}
.goal-timing-fields .field-hint{display:block;margin-top:5px}
.goal-timing-fields input,.goal-timing-fields select{width:100%;min-width:0}
.preview-team-avatar.logo-avatar{display:inline-grid}
.preview-rankings-link{font-size:11px;margin-top:18px;justify-content:center;gap:4px;flex-wrap:wrap}
.team-rankings-link{font-size:11px;margin-top:8px;line-height:1.8;justify-content:center;flex-wrap:wrap;gap:3px}
.game-opponent-cell{min-width:0}
.inline-rankings-link{display:flex;align-items:center;gap:4px;font-size:11px;margin-top:5px;color:#91a180;line-height:1.8}
.game-opponent-cell>.inline-rankings-link{margin-left:42px}
.game-type-badge{font-size:11px;color:#8b9d79;border-radius:4px;background:#f2f6e9;border:1px solid #e4ebd9;padding:4px 7px;display:inline-block;line-height:1.6}
.game-format-card{display:flex;flex-wrap:wrap;gap:17px 28px;align-items:flex-start;padding:20px 24px;margin-top:23px}
.game-format-card>div{flex:1;min-width:80px}
.game-format-card>div:first-child{flex:1.6;min-width:135px}
.game-format-card span{display:block;font-size:11px;color:#a0ad91;line-height:1.8}
.game-format-card strong{display:block;font-size:13px;color:#7b9469;margin-top:3px;line-height:1.7}
.goal-clock{display:flex;flex-wrap:wrap;gap:8px;margin:11px 0 0 28px;font-size:12px;color:#8d9f7c;line-height:1.8;font-variant-numeric:tabular-nums}
.goal-clock>span{color:#bcc8ac}
@media(max-width:1000px){
  .opponent-picker{align-items:flex-start;flex-wrap:wrap;gap:0 15px}
  .opponent-picker>.field{flex-basis:100%}
  .opponent-picker>.text-link{margin-top:8px;min-height:26px}
  .overtime-settings{flex-wrap:wrap;gap:14px}
  .overtime-settings>.checkbox-field{flex-basis:100%}
  .overtime-settings>.field{width:140px}
}
@media(max-width:740px){
  .main-nav{gap:3px}
  .main-nav .nav-item{flex:1;min-width:0;flex-direction:column;gap:5px;font-size:12px;padding:10px 5px 12px;min-height:61px;line-height:1.5}
  .main-nav .nav-item span{white-space:nowrap}
  .main-nav .nav-item svg{width:18px;height:18px}
  .directory-avatar{width:37px;height:39px}
  .opponent-directory-name{gap:10px}
  .settings-logo{width:55px;height:55px}
  .current-logo{font-size:12px}
  .field input[type=file]{font-size:16px;min-height:44px;padding:8px 6px}
  .field input[type=file]::file-selector-button{font-size:12px;padding:7px 8px;margin-right:7px}
  .period-settings{padding:14px 12px;margin-bottom:21px}
  .period-settings>legend{font-size:13px;padding:0 5px}
  .period-length-grid{gap:8px}
  .period-length-grid>.field{font-size:11px}
  .period-length-grid input{padding-left:8px;padding-right:5px;font-size:16px}
  .overtime-settings{padding-top:15px;gap:11px}
  .overtime-settings>.field{width:120px}
  .goal-timing-fields{gap:12px}
  .goal-timing-fields>.field{font-size:12px}
  .goal-timing-fields input,.goal-timing-fields select{font-size:16px;min-height:44px}
  .goal-timing-fields .optional{display:block;font-size:11px;margin:0}
  .preview-team-avatar.logo-avatar{display:inline-grid;width:30px;height:32px;font-size:11px;margin-bottom:7px}
  .preview-rankings-link{font-size:11px;line-height:1.8;margin-top:13px}
  .team-rankings-link{font-size:11px;gap:3px;line-height:1.8;margin-top:7px}
  .external-link{font-size:12px}
  .game-format-card{padding:17px 20px;gap:15px 20px;margin-top:21px}
  .game-format-card>div{min-width:65px}
  .game-format-card>div:first-child{flex-basis:100%}
  .game-format-card span{font-size:11px}
  .game-format-card strong{font-size:13px}
  .goal-clock{font-size:12px;margin-left:25px}
}
@media(max-width:360px){
  .main-nav .nav-item{font-size:11px}
  .period-length-grid{grid-template-columns:minmax(0,1fr)}
  .period-length-grid>.field{margin-bottom:12px}
}

.roster-filter-panel{padding:23px 24px;margin-bottom:24px;overflow:visible}
.filter-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.filter-panel-heading h2{font-size:16px}
.filter-panel-heading p{font-size:12px;line-height:1.8;color:#99a78e;margin-top:5px}
.filter-panel-icon{display:grid;place-items:center;width:35px;height:35px;background:#f1f6e9;color:#96aa84;border-radius:8px;flex-shrink:0}
.game-type-filters{border:0;padding:0;margin:0 0 21px;min-width:0}
.game-type-filters>legend{font-size:12px;font-weight:500;color:#81976e;line-height:1.8;margin-bottom:10px}
.filter-type-grid{display:flex;flex-wrap:wrap;gap:9px}
.filter-type-option{display:flex;align-items:center;gap:8px;padding:10px 11px;border:1px solid #e0e8d7;border-radius:6px;background:#fbfdf7;min-height:43px;font-size:12px;color:#94a383;cursor:pointer;line-height:1.7;min-width:0}
.filter-type-option:has(input:checked){border-color:#bfcea9;background:#f1f6e8;color:#7f976c}
.filter-type-option>input{width:16px;height:16px;margin:0;accent-color:var(--green);flex-shrink:0}
.filter-type-option>small{font-size:11px;color:#a0ad91;display:inline-flex;justify-content:center;align-items:center;min-width:19px;height:20px;padding:0 4px;background:#f6f9f0;border:1px solid #e3ead8;border-radius:4px;margin-left:3px}
.filter-games-details{border:1px solid #e0e8d5;border-radius:7px;background:#fcfdf9}
.filter-games-details>summary{display:flex;align-items:center;gap:11px;list-style:none;padding:13px 15px;cursor:pointer;font-size:13px;font-weight:500;min-height:48px;line-height:1.8}
.filter-games-details>summary::-webkit-details-marker{display:none}
.filter-games-details>summary:before{content:"›";font-size:21px;color:#9eb189;line-height:1;transition:transform .15s}
.filter-games-details[open]>summary:before{transform:rotate(90deg)}
.filter-games-details>summary:focus-visible{outline:3px solid #77a899;outline-offset:3px}
.filter-effective-count{font-size:12px;font-weight:400;color:#a0ac90;margin-left:auto;white-space:nowrap}
.filter-effective-count strong{font-weight:600;color:#7d9668;font-variant-numeric:tabular-nums}
.filter-game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e9efdf;padding:12px 15px}
.filter-game-toolbar>p{font-size:11px;color:#a3af94;line-height:1.8;max-width:390px}
.filter-game-toolbar>div{display:flex;align-items:center;gap:15px;flex-shrink:0}
.filter-game-toolbar .button-text{font-size:11px;min-height:34px;color:#86a06f}
.filter-game-list{max-height:300px;overflow:auto;scrollbar-width:thin;border-top:1px solid #edf1e5;border-radius:0 0 7px 7px;overscroll-behavior:contain}
.filter-game-row{display:flex;align-items:center;gap:11px;padding:12px 15px;border-bottom:1px solid #edf2e4;min-height:69px;cursor:pointer;background:#fff}
.filter-game-row:last-child{border-bottom:0}
.filter-game-row:hover{background:#f9fcf4}
.filter-game-row>input{width:17px;height:17px;margin:0;accent-color:var(--green);flex-shrink:0}
.filter-game-avatar{width:33px;height:35px;border:1px solid #e4ebd9;border-radius:6px;background:#f6f9f0;color:#9cb087;font-size:12px}
.filter-game-info{flex:1;min-width:0}
.filter-game-info>strong{display:block;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.filter-game-info>small{font-size:11px;color:#a6b296;line-height:1.8;display:flex;flex-wrap:wrap;gap:0 7px}
.filter-game-score{font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;color:#8ca477}
.filter-game-score>span{color:#bfccb0;margin:0 3px}
.filter-game-row.excluded-by-type{background:#f8faf4}
.excluded-by-type .filter-game-info>strong,.excluded-by-type .filter-game-avatar,.excluded-by-type .filter-game-score{opacity:.65}
.filter-type-excluded{font-size:11px;line-height:1.8;color:#b4a17b;display:block;margin-top:2px}
.filter-no-games{padding:18px 15px;border-top:1px solid #e9efdf;font-size:12px;line-height:1.8;color:#9baa8a}
.filter-no-games>.text-link{margin-left:7px}
.filter-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:19px;flex-wrap:wrap}
.filter-panel-actions>div{margin-right:auto;flex:1;min-width:200px}
.filter-apply-hint{font-size:11px;line-height:1.8;color:#a3af93}
.filter-pending{font-size:11px;line-height:1.8;color:#ac9a75;margin-top:3px}
.filter-reset{font-size:12px;min-height:42px}
.filter-empty-selection{font-size:12px;line-height:1.9;color:#ad9a72;background:#fcf7eb;border-bottom:1px solid #eee4c8;padding:16px 24px}
@media(max-width:1000px){
  .filter-game-toolbar{flex-wrap:wrap;gap:4px}
  .filter-game-toolbar>p{max-width:none;flex-basis:100%}
  .filter-game-toolbar>div{margin-left:auto}
}
@media(max-width:740px){
  .roster-filter-panel{padding:20px;margin-bottom:22px}
  .filter-panel-heading{gap:12px;margin-bottom:19px}
  .filter-panel-heading h2{font-size:16px}
  .filter-panel-heading p{font-size:12px;line-height:1.8}
  .game-type-filters>legend{font-size:13px}
  .filter-type-grid{gap:8px}
  .filter-type-option{padding:10px 9px;font-size:12px;min-height:44px;gap:7px}
  .filter-type-option>input{width:17px;height:17px}
  .filter-type-option>small{font-size:11px;margin-left:0}
  .filter-games-details>summary{gap:8px;padding:12px 11px;font-size:13px;flex-wrap:wrap}
  .filter-effective-count{font-size:11px;flex-basis:100%;margin-left:17px;white-space:normal}
  .filter-game-toolbar{padding:11px;gap:5px}
  .filter-game-toolbar>p{font-size:11px;line-height:1.9}
  .filter-game-toolbar>div{gap:15px}
  .filter-game-toolbar .button-text{font-size:12px;min-height:40px}
  .filter-game-row{padding:12px 11px;gap:8px;align-items:flex-start;min-height:76px}
  .filter-game-row>input{width:18px;height:18px;margin-top:5px}
  .filter-game-avatar{width:27px;height:30px;font-size:11px;margin-top:2px}
  .filter-game-info>strong{font-size:13px;line-height:1.7}
  .filter-game-info>small{font-size:11px;gap:0 5px;line-height:1.9}
  .filter-game-score{font-size:12px;margin-top:3px}
  .filter-game-score>span{margin:0 1px}
  .filter-panel-actions{gap:12px;margin-top:17px}
  .filter-panel-actions>div{flex-basis:100%;min-width:0}
  .filter-apply-hint,.filter-pending{font-size:11px;line-height:1.9}
  .filter-empty-selection{font-size:12px;padding:16px 20px}
  .filter-no-games{font-size:12px;padding:16px 11px}
  .filter-no-games>.text-link{margin-left:0;margin-top:6px}
}

.player-filter-section{border-top:1px solid #e6eddd;margin-top:22px;padding-top:21px}
.player-group-filters{margin:0 0 20px;padding:0;border:0;min-width:0}
.player-group-filters>legend{font-size:13px;font-weight:500;line-height:1.8;color:#81976e;margin-bottom:5px}
.player-group-filters>.field-hint{margin-bottom:13px;font-size:11px;line-height:1.9}
.filter-ap-option{margin-left:auto}
.filter-player-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:300px;overflow:auto;scrollbar-width:thin;border-top:1px solid #e8efdc;border-radius:0 0 7px 7px;overscroll-behavior:contain}
.filter-player-row{display:flex;align-items:center;gap:11px;padding:12px 15px;min-height:66px;border-bottom:1px solid #eaf0e0;background:#fff;cursor:pointer;min-width:0}
.filter-player-row:nth-child(odd){border-right:1px solid #eaf0e0}
.filter-player-row:hover{background:#f8fbf2}
.filter-player-row>input{width:17px;height:17px;margin:0;accent-color:var(--green);flex-shrink:0}
.filter-player-row>.player-avatar{width:31px;height:33px;flex-shrink:0}
.filter-player-info{min-width:0;flex:1}
.filter-player-info>strong{display:block;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.filter-player-info>small{display:flex;align-items:center;gap:3px 7px;flex-wrap:wrap;font-size:11px;color:#a0ae91;line-height:1.8}
.filter-player-info .archived-badge{font-size:10px;line-height:1.6}
.filter-player-row.excluded-by-player-filter{background:#f7f9f2}
.excluded-by-player-filter .filter-player-info>strong,.excluded-by-player-filter>.player-avatar{opacity:.65}
.filter-player-excluded{display:block;font-size:11px;line-height:1.8;color:#b19d76;margin-top:2px;overflow-wrap:anywhere}
.filter-empty-players p{max-width:470px}
#roster-filter-form{scroll-margin-top:24px}
@media(max-width:1000px){
  .filter-ap-option{margin-left:0}
  .filter-player-row{padding-left:12px;padding-right:12px;gap:9px}
}
@media(max-width:740px){
  .player-filter-section{padding-top:19px;margin-top:20px}
  .player-group-filters>legend{font-size:13px}
  .player-group-filters>.field-hint{font-size:11px;line-height:1.9}
  .filter-player-list{grid-template-columns:minmax(0,1fr)}
  .filter-player-row{padding:12px 11px;gap:10px;min-height:68px}
  .filter-player-row:nth-child(odd){border-right:0}
  .filter-player-row>input{width:18px;height:18px}
  .filter-player-info>strong{font-size:13px}
  .filter-player-info>small,.filter-player-excluded{font-size:11px}
  .filter-empty-players p{font-size:12px;line-height:1.9}
}

.game-type-unknown{--type-bg:#f0f2f3;--type-ink:#58656c;--type-border:#dce1e4}
.game-type-exhibition{--type-bg:#edf4fb;--type-ink:#426b8c;--type-border:#d1e1ef}
.game-type-tournament{--type-bg:#f3edf9;--type-ink:#73568e;--type-border:#e2d5ef}
.game-type-regular_season{--type-bg:#eff6e9;--type-ink:#577443;--type-border:#d8e7ca}
.game-type-playoff{--type-bg:#fcf0e4;--type-ink:#956039;--type-border:#efd9c1}
.game-type-badge{background:var(--type-bg,#f0f2f3);color:var(--type-ink,#58656c);border:1px solid var(--type-border,#dce1e4);font-size:11px;font-weight:500;line-height:1.6;display:inline-flex;align-items:center;white-space:normal;text-align:left;padding:3px 7px;border-radius:4px}
.game-type-option{background:#fff;border-color:var(--type-border);color:var(--type-ink)}
.game-type-option:has(input:checked){background:var(--type-bg);border-color:var(--type-border);color:var(--type-ink)}
.game-type-option>small{color:var(--type-ink);background:#ffffff80;border-color:var(--type-border)}
.filter-game-info>small .game-type-badge{font-size:11px;line-height:1.5;padding:1px 5px}
.recent-table .opponent-link small{max-width:none;white-space:normal;display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:4px;overflow:visible}
.recent-table .game-type-badge{font-size:11px;line-height:1.5;padding:1px 5px}
.game-venue-note{font-size:11px;color:#9ba98b}
.game-format-card .game-type-badge{display:inline-flex;font-size:12px;color:var(--type-ink);margin-top:5px}
.profile-details{display:flex;flex-wrap:wrap;gap:2px 11px;font-size:11px;line-height:1.8;color:#96a688;margin-top:5px;max-width:100%;overflow-wrap:anywhere}
.profile-field{min-width:0;overflow-wrap:anywhere}
.profile-field-label{font-size:10px;color:#adb89f;margin-right:3px}
.team-switcher .profile-details{font-size:10px;display:block;color:#9fb4a3;line-height:1.7;margin-top:5px}
.team-switcher .profile-field{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.team-switcher .profile-field-label{font-size:9px;color:#7f9990;margin-right:2px}
.team-profile-fields{margin-top:20px}
.settings-profile-link{font-size:12px;margin-top:-5px;margin-bottom:5px;min-height:32px}
.directory-profile-name{min-width:0}
.directory-profile-name>.profile-details{white-space:normal;margin-top:4px;max-width:320px;line-height:1.8}
.directory-profile-name>strong{font-size:13px}
.opponent-link .profile-details{display:flex;font-size:11px;line-height:1.8;white-space:normal;margin-top:4px;max-width:230px}
.scoreboard-team .profile-details{display:flex;align-items:center;justify-content:center;max-width:200px;font-size:11px;line-height:1.8;margin-top:7px;gap:1px 8px}
.scoreboard-team .profile-field-label{font-size:10px}
.preview-score .profile-details{display:block;font-size:11px;line-height:1.8;margin-top:5px;overflow-wrap:anywhere}
.preview-score .profile-field{display:block}
.preview-score .profile-field-label{font-size:10px;display:block;margin:0}
.preview-opponent-profile{font-size:11px;color:#96a587;line-height:1.8;overflow-wrap:anywhere;margin-top:15px}
.preview-opponent-profile:empty{display:none}
.player-group-filters .filter-type-grid{align-items:flex-end}
.filter-ap-mode{margin:0 0 0 auto;min-width:170px;max-width:235px;flex:1;font-size:12px}
.filter-ap-mode>select{font-size:14px;min-height:43px}
@media(max-width:1000px){
  .filter-ap-mode{flex-basis:100%;max-width:none;margin-left:0}
}
@media(max-width:740px){
  .game-type-badge{font-size:11px}
  .profile-details,.directory-profile-name>.profile-details,.opponent-link .profile-details{font-size:11px;line-height:1.9}
  .profile-field-label,.scoreboard-team .profile-field-label{font-size:10px}
  .scoreboard-team .profile-details{font-size:11px;max-width:110px;gap:2px 0;line-height:1.8}
  .scoreboard-team .profile-field{flex-basis:100%}
  .scoreboard-team .profile-field-label{display:block;margin:0;line-height:1.5}
  .preview-score .profile-details,.preview-opponent-profile{font-size:11px;line-height:1.9}
  .filter-ap-mode{font-size:13px;flex-basis:100%;min-width:0;max-width:none}
  .filter-ap-mode>select{font-size:16px;min-height:44px}
  .settings-profile-link{font-size:12px;line-height:1.8}
}

.player-profile-link{color:inherit;text-decoration-color:#c4d4b8;text-underline-offset:3px}
.player-profile-link:hover{color:var(--green);text-decoration:underline}
.roster-group-heading{padding:20px 24px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.roster-group-heading h3{font-size:14px;font-weight:600;line-height:1.7}
.roster-group-heading>p{font-size:11px;color:#9cad8d;line-height:1.8;text-align:right}
.roster-group-empty{font-size:12px;color:#a4b194;padding:5px 24px 23px;line-height:1.8}
.goalie-stats-section{border-top:1px solid #e7eedb}
.player-profile-identity{display:flex;align-items:center;gap:18px;min-width:0}
.player-profile-heading h1{overflow-wrap:anywhere}
.profile-player-avatar{width:65px;height:70px;font-size:27px;border:1px solid #dce8d1;border-radius:14px;background:#eaf2e0;color:#8da677;flex-shrink:0}
.player-profile-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#99aa88;line-height:1.8;margin-top:10px}
.player-profile-meta .ap-badge,.player-profile-meta .archived-badge{margin-left:0}
.profile-scope-note{font-size:12px;line-height:1.9;color:#9bad8b;margin-top:-8px;margin-bottom:23px}
.profile-goalie-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.profile-extra-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:22px 24px;gap:20px;margin-bottom:25px}
.profile-extra-stats>div{min-width:0}
.profile-extra-stats span{font-size:11px;color:#9caa8e;display:block;line-height:1.8}
.profile-extra-stats strong{font-size:23px;color:#7f9a69;display:block;line-height:1.5;font-weight:600;margin-top:6px;font-variant-numeric:tabular-nums}
.player-history-table td{font-variant-numeric:tabular-nums}
.player-history-table .opponent-link small{overflow:visible;max-width:none}
@media(max-width:1000px){
  .profile-goalie-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .roster-group-heading{align-items:flex-start;flex-wrap:wrap;gap:4px}
  .roster-group-heading>p{text-align:left}
}
@media(max-width:740px){
  .roster-group-heading{padding:19px 20px 15px}
  .roster-group-heading h3{font-size:15px}
  .roster-group-heading>p{font-size:11px;line-height:1.9;flex-basis:100%}
  .roster-group-empty{font-size:12px;padding-left:20px;padding-right:20px}
  .player-profile-identity{align-items:flex-start;gap:12px}
  .profile-player-avatar{width:47px;height:53px;font-size:22px;border-radius:10px;margin-top:4px}
  .player-profile-meta{font-size:12px;gap:7px;margin-top:9px}
  .profile-scope-note{font-size:12px;margin-top:-6px;margin-bottom:22px}
  .profile-stat-grid,.profile-goalie-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-extra-stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;gap:19px}
  .profile-extra-stats span{font-size:11px;line-height:1.8}
  .profile-extra-stats strong{font-size:23px;margin-top:4px}
}

.starting-goalie-field{margin-top:21px}
.goalie-on-duty-field{max-width:340px}
.recorder-score-counts{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:-7px 0 18px;font-size:12px;color:#98aa88;line-height:1.8}
.recorder-score-counts strong{font-size:17px;color:#7f9a6a;margin-right:4px;font-variant-numeric:tabular-nums}
.recorder-score-counts>span:last-child strong{color:#b09670}
.recorder-add-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.recorder-add-buttons .button{font-size:12px;min-height:42px}
.editor-lock-note{font-size:12px;color:#ab9975;line-height:1.8;margin:0 0 15px;padding:11px 13px;border:1px solid #eadfc3;border-radius:6px;background:#fcf8ed}
.goal-editor:empty{display:none}
.goal-editor{border:1px solid #cddfbd;border-radius:8px;background:#fbfdf7;padding:20px;margin:19px 0 22px;box-shadow:0 3px 12px #567a4b04}
.goal-editor>.event-row{padding:0;border:0}
.goal-editor .event-row-heading{padding-bottom:15px;border-bottom:1px solid #e4edd8;margin-bottom:20px}
.goal-editor .event-row-heading>strong{font-size:15px}
.goal-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid #e3ecd6;margin-top:19px}
.recorder-save-status{border-top:1px solid #e4edd7;font-size:11px;line-height:1.9;color:#9eb18c;padding-top:14px;margin-top:15px}
.timeline-empty{padding:28px 10px 22px}
.timeline-empty p{font-size:12px;line-height:1.8;max-width:380px}
.game-timeline{margin-top:14px;min-width:0}
.timeline-event{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:17px;align-items:start;padding:20px 0;border-bottom:1px solid #e9efdf;min-width:0}
.timeline-event:last-child{border-bottom:0}
.timeline-event:before{content:"";position:absolute;top:0;bottom:0;left:84px;border-left:1px solid #e2ebd6;pointer-events:none}
.timeline-event-clock{position:relative;font-size:11px;line-height:1.7;color:#a4b394;min-width:0;font-variant-numeric:tabular-nums}
.timeline-event-clock:after{content:"";width:7px;height:7px;border-radius:50%;background:#93ae7e;border:3px solid #fff;box-sizing:content-box;position:absolute;right:-15px;top:3px;z-index:1}
.timeline-event-against .timeline-event-clock:after{background:#c2a07c}
.timeline-event-change .timeline-event-clock:after{background:#8ea9b5}
.timeline-event-clock>strong{font-size:12px;display:block;font-weight:600;color:#91a780;line-height:1.7}
.timeline-event-clock>span{font-size:11px;display:block;overflow-wrap:anywhere}
.timeline-event-content{min-width:0;padding-left:2px}
.timeline-event-content h3{font-size:13px;font-weight:600;line-height:1.7;margin:0;color:#809b6d}
.timeline-event-content p{font-size:12px;line-height:1.8;color:#9aaa8c;margin:7px 0 0;overflow-wrap:anywhere}
.timeline-event-content .strength-badge{margin-left:0;font-size:11px}
.timeline-event-content .empty-net-badge{font-size:11px}
.timeline-event-content .event-data-warning{font-size:11px;color:#b29e76}
.timeline-event-content .on-ice-label{font-size:11px}
.timeline-event-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.timeline-event-actions .button-text{font-size:12px;min-height:36px;line-height:1.8}
.timeline-goal-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.timeline-event-content .recap-assists{margin-left:0}
.timeline-event-content .recap-goalie{font-size:12px;line-height:1.8}
.recap-goalie>span{font-size:11px;color:#a9b799;margin-right:6px}
.timeline-event-content .recap-on-ice{margin-top:13px}
.recap-starter{display:flex;align-items:center;gap:14px;padding:17px 23px;background:#fafcf6;border-bottom:1px solid #e9efdf;font-size:12px;line-height:1.8;flex-wrap:wrap}
.recap-starter>span{font-size:11px;color:#a1b18f}
.recap-starter>strong{font-size:12px;font-weight:500;color:#829e6e}
.recap-timeline{margin-top:0;padding:0 23px}
.recap-timeline>.timeline-event{grid-template-columns:76px minmax(0,1fr)}
.recap-timeline .timeline-event:before{left:84px}
.lineup-plus-minus>small{font-size:10px;font-weight:400;color:#9eaf8c}
@media(max-width:1000px){
  .recorder-add-buttons{gap:8px}
  .timeline-event{grid-template-columns:70px minmax(0,1fr);gap:15px}
  .timeline-event:before{left:77px}
  .timeline-event-clock:after{right:-14px}
  .timeline-event-actions{grid-column:2;justify-content:flex-end;margin-top:-8px}
}
@media(max-width:740px){
  .starting-goalie-field{margin-top:20px}
  .goalie-on-duty-field{max-width:none}
  .recorder-add-buttons{gap:8px}
  .recorder-add-buttons .button{font-size:12px;padding-left:11px;padding-right:11px;min-height:42px}
  .recorder-score-counts{gap:15px;font-size:12px}
  .recorder-score-counts strong{font-size:17px}
  .editor-lock-note{font-size:12px;line-height:1.9}
  .goal-editor{padding:16px 13px;margin-top:17px;margin-bottom:19px}
  .goal-editor .event-row-heading>strong{font-size:14px}
  .goal-editor-actions{gap:9px;flex-wrap:wrap}
  .goal-editor-actions .button{font-size:12px;min-height:42px}
  .game-timeline{margin-top:11px}
  .timeline-event,.recap-timeline>.timeline-event{grid-template-columns:55px minmax(0,1fr);gap:14px;padding:18px 0}
  .timeline-event:before,.recap-timeline .timeline-event:before{left:61px}
  .timeline-event-clock{font-size:11px;line-height:1.8}
  .timeline-event-clock:after{right:-13px;top:3px;width:6px;height:6px;border-width:3px}
  .timeline-event-clock>strong{font-size:12px}
  .timeline-event-clock>span{font-size:11px}
  .timeline-event-content h3{font-size:13px}
  .timeline-event-content p{font-size:12px;line-height:1.9}
  .timeline-event-actions{grid-column:2;gap:18px;margin-top:-7px;justify-content:flex-start}
  .timeline-event-actions .button-text{min-height:42px;font-size:12px}
  .timeline-goal-heading{gap:7px}
  .recap-starter{padding:16px 20px;gap:7px 12px}
  .recap-timeline{padding-left:20px;padding-right:20px}
  .recorder-save-status{font-size:11px;line-height:1.9}
}

.account-chip{display:flex;align-items:center;gap:9px;min-width:0;color:#849979}
.account-chip:hover .account-chip-name{text-decoration:underline;text-underline-offset:3px}
.account-avatar{display:inline-grid;place-items:center;width:32px;height:33px;border:1px solid #e4e8dc;border-radius:50%;background:#f3eee2;color:#ab956d;font-size:12px;font-weight:600;flex-shrink:0}
.account-chip-name{display:block;font-size:12px;font-weight:500;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5}
.role-label{display:block;font-size:10px;font-weight:400;color:#a8b39d;line-height:1.7}
.logout-form{display:inline-flex;align-items:center;margin:0}
.header-settings{display:none}
.logout-form .icon-button{width:34px;height:36px}
.role-badge{display:inline-flex;align-items:center;font-size:11px;line-height:1.6;padding:3px 8px;border-radius:4px;border:1px solid #dce6d3;background:#f0f6e9;color:#779363;white-space:nowrap}
.role-admin{background:#f7efe1;border-color:#ecdfc3;color:#ae9365}
.role-viewer{background:#eff4f5;border-color:#dce6e8;color:#87a0a6}
.account-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px;max-width:930px;align-items:start}
.account-card-content{padding:25px}
.account-form-actions{display:flex;justify-content:flex-end;padding-top:4px}
.account-summary-card{text-align:center;padding:30px 23px}
.account-summary-avatar{width:56px;height:58px;font-size:21px;margin-bottom:15px}
.account-summary-card>h2{font-size:18px;line-height:1.6;overflow-wrap:anywhere;margin-bottom:8px}
.account-summary-card>p{font-size:12px;color:#a3b192;line-height:1.9;margin-top:19px}
.account-summary-card>.text-link{font-size:12px;justify-content:center;margin-top:20px}
.account-table-name{display:flex;align-items:center;gap:10px;min-width:0}
.account-table-name strong{font-size:13px}
.you-badge{font-size:10px;color:#a3af96;background:#f5f8ef;border:1px solid #e4ebda;border-radius:4px;padding:2px 6px}
.users-table .button{font-size:12px;height:36px}
.user-manage-modal{width:min(475px,calc(100vw - 32px))}
.password-reset-section{border-top:1px solid #e7eedb;padding-top:24px;margin-top:27px}
.password-reset-section>h3{font-size:14px;line-height:1.7;font-weight:600}
.password-reset-section>p{font-size:11px;color:#a4b295;line-height:1.9;margin:7px 0 19px}
.public-auth-page{background:#f6f7f2;min-height:100vh}
.public-auth-layout{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(430px,1.1fr);min-height:100vh;min-height:100svh}
.auth-brand-panel{display:flex;flex-direction:column;justify-content:space-between;padding:52px 58px 33px;background:#172e34;color:#a7babb;position:relative;overflow:hidden}
.auth-brand{font-size:29px;margin:0;width:max-content}
.auth-brand .brand-subtitle{font-size:8px;letter-spacing:1.8px}
.auth-brand-story{margin:65px 0 60px;position:relative}
.auth-brand-story>.eyebrow{color:#8ea7a4;font-size:10px;letter-spacing:1.8px}
.auth-brand-story h1{font-size:57px;font-weight:550;line-height:1.13;letter-spacing:-2px;color:#eff3ea;margin-top:19px}
.auth-brand-story>p{font-size:13px;line-height:1.9;color:#8fa5a4;margin-top:21px}
.auth-rink-graphic{margin-top:45px;height:130px;opacity:.22;transform-origin:left center;transform:scale(1.25)}
.auth-rink-graphic .rink{background:#1e3c42;border-color:#91a9a3;box-shadow:none;margin:0 0 0 8px}
.auth-rink-graphic .rink-line{background:#a0aaa3}
.auth-rink-graphic .rink-circle{border-color:#94a79b}
.auth-rink-graphic .rink-puck{background:#e5c39c;box-shadow:0 2px 0 #b39d7b}
.auth-brand-footer{font-size:11px;color:#6f8b8f;line-height:1.8}
.auth-content-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:55px 42px 30px;min-width:0}
.auth-content-card{width:100%;max-width:370px;margin:auto 0;padding-top:25px;padding-bottom:25px}
.auth-content-card>.eyebrow{font-size:9px;letter-spacing:1.7px;color:#99aa8c}
.auth-content-card>h1{font-size:34px;letter-spacing:-1.2px;line-height:1.3;margin-top:10px}
.auth-intro{font-size:13px;line-height:1.9;color:#a0ae92;margin:13px 0 30px}
.login-form .field{font-size:12px;margin-bottom:21px}
.login-form .field input{font-size:16px;min-height:47px;background:#fff;padding:11px 13px;letter-spacing:.1px}
.auth-submit{display:flex;width:100%;height:46px;font-size:13px;justify-content:space-between;margin-top:28px;padding-left:17px;padding-right:17px}
.auth-submit>span{font-size:18px;font-weight:400}
.auth-contact-note{font-size:11px;color:#a4b295;line-height:1.9;margin-top:26px;text-align:center}
.auth-content-footer{font-size:11px;color:#b2bba7;line-height:1.8;text-align:center;margin-top:45px}
.auth-setup-note{border:1px solid #e1e9d6;background:#f0f5e8;border-radius:9px;padding:20px;margin-top:26px;color:#8c9f7b}
.auth-setup-note>strong{font-size:14px;font-weight:500}
.auth-setup-note>p{font-size:12px;line-height:1.9;margin-top:9px;color:#9eaf8d}
.auth-content-card .flash{font-size:12px;line-height:1.8;margin-bottom:18px}
.auth-content-card .validation-errors{font-size:12px;line-height:1.8}
@media(max-width:1000px){
  .auth-brand-panel{padding-left:37px;padding-right:35px}
  .auth-brand-story h1{font-size:49px}
  .auth-content-panel{padding-left:35px;padding-right:35px}
  .account-page-grid{grid-template-columns:minmax(0,1fr) 225px;gap:20px}
  .account-summary-card{padding:26px 17px}
}
@media(max-width:740px){
  .topbar .breadcrumb{min-width:0;flex:1;line-height:1.8}
  .topbar-meta{gap:12px;flex-shrink:0}
  .topbar-meta .local-pill{display:none}
  .account-chip{gap:7px}
  .account-avatar{width:30px;height:31px;font-size:12px}
  .account-chip-name{font-size:11px;max-width:82px;line-height:1.5}
  .role-label{font-size:10px}
  .logout-form .icon-button{width:32px;height:36px}
  .header-settings{display:inline-flex;width:32px;height:36px}
  .main-nav .nav-item{font-size:11px;padding-left:3px;padding-right:3px}
  .account-page-grid{grid-template-columns:minmax(0,1fr);gap:22px}
  .account-summary-card{grid-row:1;padding:23px 20px}
  .account-summary-card>p{margin-top:12px;font-size:12px}
  .account-summary-card>.text-link{margin-top:12px}
  .account-card-content{padding:21px 20px}
  .account-summary-avatar{width:45px;height:47px;font-size:18px;margin-bottom:10px}
  .users-table .button{height:42px}
  .public-auth-layout{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
  .auth-brand-panel{padding:27px 26px 28px;min-height:99px;flex-shrink:0}
  .auth-brand{font-size:26px}
  .auth-brand .brand-subtitle{font-size:7px}
  .auth-brand-story,.auth-brand-footer{display:none}
  .auth-content-panel{flex:1;padding:39px 27px 25px}
  .auth-content-card{max-width:370px;padding-top:0;padding-bottom:0}
  .auth-content-card>h1{font-size:32px;margin-top:10px}
  .auth-content-card>.eyebrow{font-size:9px;line-height:1.9}
  .auth-intro{font-size:13px;line-height:1.9;margin-top:12px;margin-bottom:29px}
  .login-form .field{font-size:13px}
  .login-form .field input{font-size:16px;min-height:47px}
  .auth-submit{height:46px;font-size:13px}
  .auth-contact-note{font-size:11px;margin-top:25px}
  .auth-content-footer{font-size:11px;margin-top:38px}
  .auth-setup-note{padding:19px}
  .auth-setup-note>p{font-size:12px;line-height:1.9}
}
@media(max-width:360px){
  .main-nav .nav-item{font-size:10px}
  .account-chip-name{max-width:65px}
  .topbar-meta{gap:7px}
}

.brand-text{display:block;min-width:0}
.brand-wordmark{display:block;font-size:22px;font-weight:650;line-height:1.1;letter-spacing:-.9px;white-space:nowrap}
.brand-points{color:#e9c39e}
.brand .brand-subtitle{font-size:9px;line-height:1.5;letter-spacing:1px;text-transform:none;margin-top:6px;margin-left:1px;white-space:nowrap}
.sidebar>.brand{gap:8px;max-width:100%}
.sidebar>.brand .brand-mark{flex-shrink:0}
.auth-brand .brand-wordmark{font-size:29px;letter-spacing:-1.15px}
.auth-brand .brand-subtitle{font-size:10px;letter-spacing:1.2px;margin-top:7px}
@media(max-width:1200px) and (min-width:741px){
  .sidebar>.brand{gap:7px;margin-left:1px;margin-right:1px}
  .sidebar>.brand .brand-wordmark{font-size:20px;letter-spacing:-.85px}
  .sidebar>.brand .brand-mark svg{width:26px;height:27px}
  .sidebar>.brand .brand-subtitle{font-size:9px;letter-spacing:.7px}
}
@media(max-width:740px){
  .sidebar>.brand .brand-wordmark{font-size:25px;letter-spacing:-1px}
  .sidebar>.brand .brand-subtitle{font-size:9px;letter-spacing:1px;margin-top:5px}
  .auth-brand .brand-wordmark{font-size:26px;letter-spacing:-1px}
  .auth-brand .brand-subtitle{font-size:9px;letter-spacing:1px;margin-top:6px}
}

/* Team workspaces and shared player identities. */
.table-scroll{position:relative}
.player-team-history{margin-bottom:25px}
.sidebar{overflow-y:auto;scrollbar-width:thin}
.sidebar>.brand,.active-team-context,.nav-caption,.main-nav,.sidebar-bottom{flex-shrink:0}
.sidebar>.brand{margin-bottom:26px}
.active-team-context{margin-bottom:25px;min-width:0}
.active-team-context .team-switcher{margin-bottom:9px;padding:13px 10px;align-items:flex-start;position:relative}
.active-team-context .team-avatar{width:32px;height:34px;margin-top:3px}
.active-team-context .team-switcher strong{font-size:13px;white-space:normal;overflow-wrap:anywhere;line-height:1.5;padding-right:13px}
.active-team-context .team-edit{position:absolute;right:5px;top:6px;width:27px!important;height:30px!important}
.team-metadata{display:flex;flex-wrap:wrap;gap:3px 7px;font-size:11px;color:#89978e;line-height:1.65;margin-top:4px}
.team-metadata>span{overflow-wrap:anywhere}
.team-metadata>span+span:before{content:'·';margin-right:7px;color:#a7b1a8}
.active-team-context .team-metadata{color:#a7bbb9;font-size:11px;margin-top:6px}
.active-team-context .team-metadata>span+span:before{color:#708e8c}
.active-team-context .profile-details{margin-top:7px;line-height:1.6}
.team-switch-form{display:flex;align-items:center;gap:5px;background:#203a40;border:1px solid #3b5154;border-radius:6px;padding:3px 4px 3px 9px;min-width:0}
.team-switch-form select{font:inherit;font-size:12px;color:#e0ebe5;background:#203a40;border:0;min-width:0;width:100%;height:35px;cursor:pointer;padding-right:2px}
.team-switch-form option{background:#203a40;color:#e0ebe5}
.team-switch-form .icon-button{width:32px;height:34px;color:#bfd1c3}
.team-switch-form .icon-button:hover{background:#36524f;color:#fff}
.role-badge.role-editor{background:#edf1fa;color:#6a7fa3;border-color:#dce5f3}
.page-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.page-heading-actions .button{margin-top:0}
.account-team-assignments{border:1px solid #e0e7dc;padding:17px;border-radius:8px;margin:22px 0}
.account-team-assignments>legend{font-size:13px;font-weight:600;padding:0 7px;color:#516958}
.account-team-assignments>.field-hint{margin-top:0;margin-bottom:15px}
.assignment-team-list{max-height:220px;overflow:auto;scrollbar-width:thin;border-bottom:1px solid var(--line);margin-bottom:17px;padding-bottom:7px}
.assignment-team-option{padding:9px 0!important;margin:0!important;align-items:flex-start}
.assignment-team-option strong{font-size:13px}
.assignment-team-option small{display:block;font-size:11px;color:#929e8b;margin-top:4px;line-height:1.7}
.assignment-team-option input{margin-top:4px}
.account-team-assignments>.field{margin-bottom:0}
.account-teams-cell{min-width:165px;max-width:260px;white-space:normal;line-height:1.7}
.account-teams-cell>span{display:block;margin:4px 0}
.account-teams-cell small{display:inline-block;font-size:10px;color:#78916d;background:#f0f5ec;border-radius:3px;padding:1px 5px;margin-left:7px}
.team-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:23px}
.team-directory-card{border:1px solid #e1e8dc;border-radius:9px;min-width:0;padding:21px;display:flex;flex-direction:column;gap:17px}
.team-directory-card.is-current-team{border-color:#a9c6b5;background:#fbfdf8}
.team-directory-identity{display:flex;align-items:flex-start;gap:12px}
.team-directory-identity>.logo-avatar{margin-top:3px;flex-shrink:0;width:45px;height:46px}
.team-directory-identity>div{min-width:0}
.team-directory-identity h3{font-size:16px;line-height:1.5;color:#456250;overflow-wrap:anywhere;font-weight:600}
.team-directory-identity .profile-details{font-size:11px;margin-top:9px}
.team-directory-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto;min-height:25px}
.current-team-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#5a8a65;background:#edf5e9;border:1px solid #dfeada;border-radius:4px;padding:4px 7px}
.team-directory-meta .external-link{font-size:11px}
.team-directory-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e9eee5;padding-top:15px;gap:9px}
.team-directory-actions .button{height:40px;font-size:12px;padding:0 13px}
.team-requests-section,.player-team-history{margin-top:25px}
.request-review-form{display:flex;gap:8px}
.request-review-form .button{height:38px;font-size:12px;padding:0 12px}
.requests-empty{padding:26px;display:flex;justify-content:center;align-items:center;gap:10px;color:#8a9c7c;font-size:13px;line-height:1.8}
.request-status{display:inline-flex;border:1px solid transparent;border-radius:4px;padding:4px 8px;font-size:11px;line-height:1.4;white-space:nowrap}
.request-pending{color:#a38a52;background:#faf5e7;border-color:#efe7ca}
.request-approved{color:#648c60;background:#eef5e9;border-color:#dfead8}
.request-rejected{color:#aa8170;background:#fcf0e9;border-color:#f0e1d5}
.roster-requests-card{margin-bottom:23px}
.roster-request-list{list-style:none;padding:0 24px;margin:0}
.roster-request-list li{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid #eef2e8;font-size:13px}
.roster-request-list li:first-child{border-top:0}
.global-profile-note{background:#f3f6ee;border:1px solid #e6ecdd;border-radius:6px;padding:12px;margin-bottom:21px!important}
.request-explainer{font-size:12px;line-height:1.8;color:#8c9d7f;background:#f4f7ef;border-radius:6px;padding:12px 14px;margin-top:19px}
.dialog-empty-state{font-size:13px;line-height:1.9;color:#8b9a7e;padding:5px 0 10px}
.table-cell-detail{display:block;font-size:11px;color:#99a48f;margin-top:4px}
.profile-career-extra{grid-template-columns:repeat(5,minmax(0,1fr))}
.team-career-name{min-width:180px;white-space:normal}
.team-career-name>strong{display:block;font-size:13px;line-height:1.6}
.team-career-name .team-metadata{font-size:11px;margin-top:3px;max-width:265px}
.career-roster-meta{display:flex;align-items:center;gap:8px;font-size:12px}
.player-team-stats-table .position-badge{font-size:11px}
.profile-scope-note strong{color:#627953;font-weight:600}
@media(min-width:741px) and (max-height:900px){.sidebar-note{display:none}.sidebar-bottom{padding-top:20px}.active-team-context{margin-bottom:18px}.sidebar>.brand{margin-bottom:21px}.main-nav{gap:3px}.main-nav .nav-item{min-height:43px}}
@media(max-width:1100px) and (min-width:741px){.team-directory-grid{grid-template-columns:minmax(0,1fr)}.profile-career-extra{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){
 .sidebar{overflow:visible;padding-bottom:0}
 .sidebar>.brand{margin-bottom:0}
 .active-team-context{display:block;margin-top:20px;margin-bottom:4px}
 .active-team-context .team-switcher{display:flex;margin:0;border-color:#385155;padding:12px;gap:11px;align-items:center;border-radius:7px}
 .active-team-context .team-switcher strong{font-size:13px;padding-right:22px}
 .active-team-context .team-avatar{width:35px;height:36px;margin-top:0}
 .active-team-context .team-switcher .eyebrow{font-size:8px}
 .active-team-context .team-metadata{font-size:11px;gap:1px 7px;margin-top:3px}
 .active-team-context .profile-details{display:none}
 .active-team-context .team-edit{width:32px!important;height:36px!important;top:6px;right:6px}
 .team-switch-form{margin-top:7px;padding-left:12px}
 .team-switch-form select{font-size:16px;height:39px}
 .team-switch-form .icon-button{height:38px;width:36px}
 .main-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;gap:4px}
 .role-admin .main-nav,.role-editor .main-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
 .main-nav .nav-item{width:100%;min-width:0;border-radius:5px 5px 0 0;min-height:42px;font-size:12px;gap:7px;padding:10px 3px}
 .role-admin .main-nav .nav-item:nth-child(-n+3),.role-editor .main-nav .nav-item:nth-child(-n+3){border-radius:5px}
 .main-nav .nav-item svg{width:16px;height:16px;flex-shrink:0}
 .page-heading:has(.page-heading-actions){align-items:flex-start;flex-direction:column}
 .page-heading-actions{width:100%;justify-content:flex-start;gap:9px}
 .page-heading-actions .button{font-size:12px;height:42px;padding:0 13px;margin-top:5px}
 .account-team-assignments{padding:13px;margin:22px 0}
 .account-team-assignments legend{font-size:13px}
 .assignment-team-list{max-height:220px}
 .assignment-team-option strong{font-size:13px}
 .assignment-team-option small{font-size:11px}
 .team-directory-grid{grid-template-columns:minmax(0,1fr);padding:18px;gap:16px}
 .team-directory-card{padding:17px;gap:15px}
 .team-directory-identity h3{font-size:16px}
 .team-directory-identity .profile-details{font-size:11px}
 .team-directory-actions .button{height:42px;font-size:12px}
 .team-requests-section .card-header,.roster-requests-card .card-header{align-items:flex-start;flex-wrap:wrap}
 .request-review-form .button{height:42px}
 .roster-request-list{padding:0 20px}
 .request-explainer,.dialog-empty-state{font-size:12px}
 .requests-empty{font-size:12px;padding:23px 20px}
 .profile-career-extra{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profile-career-extra>div:last-child{grid-column:1/-1}
 .profile-career-extra>div{padding:16px 14px}
 .global-player-fields input,.global-player-fields select,.account-team-assignments select{font-size:16px;min-width:0;width:100%}
 .global-player-fields{align-items:flex-start}
 .player-profile-meta{gap:7px 12px;line-height:1.7}
 .player-profile-meta>span{font-size:12px}
}

.existing-player-picker{margin-bottom:17px}
.existing-player-picker>.field{margin-bottom:13px}
.existing-picker-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:11px;color:#8d9d7f;line-height:1.7;margin-bottom:10px}
.existing-player-selection{color:#63835b;text-align:right;max-width:65%;overflow-wrap:anywhere}
.existing-player-results{border:1px solid #e0e8d8;border-radius:7px;padding:0;max-height:285px;overflow-y:auto;scrollbar-width:thin;min-width:0}
.existing-player-option{display:flex;align-items:center;gap:11px;padding:13px 12px;border-bottom:1px solid #edf1e6;cursor:pointer;min-width:0;transition:background .15s}
.existing-player-option:last-child{border-bottom:0}
.existing-player-option:hover{background:#f8faf4}
.existing-player-option:focus-within{outline:2px solid #8caf96;outline-offset:-2px}
.existing-player-option.is-selected{background:#edf5e8}
.existing-player-option>input{width:16px;height:16px;flex-shrink:0;accent-color:#668f70}
.existing-player-identity{min-width:0;flex:1}
.existing-player-identity>strong{display:block;font-size:13px;font-weight:600;color:#5f7952;line-height:1.6;overflow-wrap:anywhere}
.existing-player-identity>small{display:flex;flex-wrap:wrap;gap:3px 6px;font-size:11px;line-height:1.7;color:#8fa07f;margin-top:3px}
.existing-player-identity>small>span{color:#bcc7af}
.existing-player-check{color:#6a976c;opacity:0;display:flex;flex-shrink:0}
.existing-player-option.is-selected .existing-player-check{opacity:1}
.existing-player-no-results{font-size:12px;line-height:1.8;padding:20px 15px;border:1px solid #e5eadf;border-radius:7px;background:#f8faf4;color:#91a17e;text-align:center;margin-top:10px}
.team-card-manage{display:flex;align-items:center;gap:3px}
.icon-button-danger{color:#b58d79}
.icon-button-danger:hover{background:#fbefe7;color:#a16c57}
.deleted-teams-section{margin-top:25px}
.deleted-team-list{padding:0 24px}
.deleted-team-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 0;border-bottom:1px solid #edf1e6}
.deleted-team-row:last-child{border-bottom:0}
.deleted-team-row>div{min-width:0}
.deleted-team-row h3{font-size:15px;font-weight:600;line-height:1.6;color:#708363;overflow-wrap:anywhere}
.restore-window{font-size:11px;color:#ab9674;line-height:1.8;margin-top:8px}
.deletion-explanation{background:#fcf5ed;border:1px solid #f0e1ce;padding:15px 17px;border-radius:7px;margin-bottom:22px;color:#aa8b68;font-size:13px;line-height:1.85}
.deletion-explanation>p+p{margin-top:10px}
.deletion-explanation strong{font-weight:650;color:#a67f59}
.button-danger{background:#ac7662;border-color:#ac7662;color:#fff}
.button-danger:hover{background:#996551;border-color:#996551}
@media(max-width:740px){
 .existing-player-picker>.field input{font-size:16px}
 .existing-picker-summary{font-size:11px;gap:8px}
 .existing-player-results{max-height:260px}
 .existing-player-option{gap:9px;padding:13px 10px}
 .existing-player-option>.player-avatar{width:29px;height:32px}
 .existing-player-identity>strong{font-size:13px}
 .existing-player-identity>small{font-size:11px}
 .existing-player-option>input{width:17px;height:17px}
 .existing-player-check svg{width:14px}
 .deleted-team-list{padding:0 20px}
 .deleted-team-row{align-items:flex-start;flex-direction:column;gap:14px;padding:20px 0}
 .deleted-team-row .button{height:42px;font-size:12px}
 .deleted-team-row h3{font-size:15px}
 .deletion-explanation{font-size:12px;padding:14px}
 .team-card-manage .icon-button{width:36px;height:36px}
}

.deletion-modal .modal-header h2{overflow-wrap:anywhere;line-height:1.4}
.deletion-modal .modal-actions{flex-wrap:wrap}
@media(max-width:740px){.deletion-modal .modal-actions .button{min-height:42px}.player-profile-heading>[data-delete-player]{margin-top:3px}}

.unassigned-directory-link{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:-9px 0 25px;padding:13px 16px;border:1px solid #e3eadb;border-radius:7px;background:#f5f8ef}
.unassigned-directory-link>p{font-size:11px;color:#96a483;line-height:1.8}
.profile-page-links{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.profile-page-links .back-link{margin-bottom:0}
.profile-maintenance{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;border-top:1px solid #e0e8d6;padding-top:23px;margin-top:26px}
.profile-maintenance>div{max-width:680px;min-width:0}
.profile-maintenance h2{font-size:14px;color:#829371}
.profile-maintenance p{font-size:12px;color:#94a181;line-height:1.9;margin-top:8px}
.profile-maintenance>.button{flex-shrink:0;font-size:12px;min-height:40px}
.profile-deletion-blockers{list-style:none;padding:0;margin:13px 0 0;border:1px solid #e6ebdf;border-radius:6px;overflow:hidden}
.profile-deletion-blockers li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 12px;border-bottom:1px solid #e9eee2;font-size:12px;line-height:1.7}
.profile-deletion-blockers li:last-child{border-bottom:0}
.profile-deletion-blockers strong{font-weight:500;color:#80926b;overflow-wrap:anywhere}
.profile-deletion-blockers li>span{font-size:11px;color:#a29375;text-align:right}
.unassigned-search-form{display:flex;align-items:flex-end;gap:12px;padding:21px 24px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.unassigned-search-form>.field{flex:1;min-width:170px;max-width:430px;margin-bottom:0;font-size:12px}
.unassigned-search-form>.button{height:42px;font-size:12px}
.unassigned-search-form>.text-link{min-height:42px}
.unassigned-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px}
.unassigned-profile-actions>.button{font-size:12px;min-height:40px;padding:0 10px}
.unassigned-players-table .player-cell>strong{font-size:13px}
.unassigned-players-table{min-width:640px}
@media(max-width:740px){
 .unassigned-directory-link{margin-top:-7px;padding:12px 14px;gap:4px 12px}
 .unassigned-directory-link .text-link{font-size:12px;min-height:28px}
 .profile-page-links{gap:12px;margin-bottom:20px}
 .profile-page-links>.text-link{font-size:11px}
 .profile-maintenance{flex-direction:column;gap:14px;margin-top:24px;padding-top:20px}
 .profile-maintenance p{font-size:12px}
 .profile-maintenance>.button{height:42px;font-size:12px}
 .profile-deletion-blockers li{font-size:12px;padding:10px 11px;align-items:flex-start}
 .profile-deletion-blockers li>span{font-size:11px;max-width:50%}
 .unassigned-search-form{padding:19px 20px;gap:11px}
 .unassigned-search-form>.field{flex-basis:100%;max-width:none}
 .unassigned-search-form input{font-size:16px}
 .unassigned-profile-actions>.button{height:42px}
}

.selection-button{width:100%;justify-content:space-between;text-align:left;min-height:44px;white-space:normal;gap:12px}
.search-picker-modal{width:min(600px,calc(100% - 32px))}
.search-picker-results{max-height:50vh;overflow-y:auto;border:1px solid var(--line);border-radius:7px}
.search-picker-option{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;width:100%;padding:15px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;cursor:pointer;overflow-wrap:anywhere}
.search-picker-option:last-child{border-bottom:0}
.search-picker-option:hover,.search-picker-option:focus-visible{background:#edf5e8;outline:2px solid #8caf96;outline-offset:-2px}
.search-picker-option strong{font-size:14px;color:#5f7952}
.search-picker-option small{font-size:12px;line-height:1.7;color:#7f916f;white-space:pre-line}
.on-ice-number-entry{display:flex;gap:12px;align-items:flex-start;margin:16px 0 5px;flex-wrap:wrap}
.on-ice-number-entry>.field{flex:1;min-width:170px;margin-bottom:0}
.on-ice-number-entry>.button{margin-top:23px;min-height:42px}
.rink-tags{display:flex;gap:7px;flex-wrap:wrap}
.location-address,.location-notes{font-size:13px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere;color:#7f916f}
.game-location-card{padding:22px 25px;margin-bottom:20px}
.game-location-card h2{font-size:17px;line-height:1.6;margin:8px 0}
.game-location-card p{font-size:13px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:740px){.main-nav,.role-admin .main-nav,.role-editor .main-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.main-nav .nav-item{border-radius:5px}.on-ice-number-entry>.field input,.search-picker-modal input{font-size:16px}.on-ice-number-entry>.button{margin-top:0}.game-location-card{padding:18px 20px}}

.arena-map{width:100%;min-width:0;margin:14px 0;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.arena-map iframe{width:100%;height:185px;border:1px solid var(--line);border-radius:8px;background:#f2f5ee}
.arena-map .directions-button{font-size:12px;min-height:38px}
.game-location-card .arena-map{max-width:650px}
.game-location-card .arena-map iframe{height:230px}
.livebarn-editor{border:1px solid var(--line);border-radius:8px;padding:16px;margin:22px 0}
.livebarn-editor legend{font-size:13px;color:#6c8360;padding:0 6px}
.livebarn-link-row{display:flex;align-items:center;gap:9px;margin:14px 0}
.livebarn-link-row>.field{flex:1;min-width:0;margin:0}
.livebarn-link-row>.icon-button{margin-top:19px;flex-shrink:0}
.livebarn-link-row input{width:100%;min-width:0}
.livebarn-editor>.button{font-size:12px;min-height:38px}
.result-s{background:#edf3fa;color:#577999;border:1px solid #d6e3ef}
.upcoming-games-card,.game-livebarn-card{margin:22px 0}
.upcoming-game-list{padding:0 24px}
.upcoming-game{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 0;border-bottom:1px solid var(--line)}
.upcoming-game:last-child{border-bottom:0}
.upcoming-game>div{min-width:0}
.upcoming-game h3{font-size:16px;line-height:1.6;margin:8px 0;color:#637f55;overflow-wrap:anywhere}
.upcoming-game p{font-size:12px;line-height:1.8;color:#839674;overflow-wrap:anywhere}
.upcoming-game>.button{flex-shrink:0;font-size:12px}
.scheduled-game-summary,.game-livebarn-card{padding:24px}
.scheduled-game-summary h2{font-size:22px;line-height:1.6;margin:14px 0}
.scheduled-game-summary p{font-size:13px;line-height:1.8;color:#839674;margin-top:8px}
.livebarn-video-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}
.livebarn-video-links .button{font-size:13px;min-height:42px}
@media(max-width:740px){.arena-map iframe{height:180px}.game-location-card .arena-map iframe{height:200px}.upcoming-game{align-items:flex-start;flex-direction:column;gap:14px}.upcoming-game-list{padding:0 20px}.livebarn-link-row input{font-size:16px}.scheduled-game-summary,.game-livebarn-card{padding:20px}}
.is-scheduled .game-form-grid{grid-template-columns:minmax(0,1fr);max-width:850px}
.scheduled-game-summary{margin-bottom:22px}
