@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#e9eeea;background:#101312;font-synthesis:none;--lime:#d7f77b;--muted:#88918b;--line:#2c332f;--panel:#191e1b}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--lime);outline-offset:4px}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}button[hidden],[hidden]{display:none!important}.muted{color:var(--muted)}.lime{color:var(--lime)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#969f98}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;padding:34px 23px 0;background:#151917;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:700;letter-spacing:-1px}.brand-icon{display:grid;place-items:center;background:var(--lime);color:#171d13;border-radius:8px;width:34px;height:36px;font-style:italic;font-size:26px}.brand-dot{color:var(--lime);margin-left:-9px}.workspace{margin:42px 0 32px;display:flex;align-items:center;gap:10px;font-size:12px}.workspace-icon{display:grid;place-items:center;width:36px;height:38px;background:#222923;border-radius:7px;font-size:21px;color:var(--lime)}small{display:block}.workspace small{font-size:9px;color:var(--muted);margin-top:6px}.nav-label{font-size:9px;letter-spacing:1.8px;color:#66726a;margin-bottom:13px;padding-left:10px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;padding:14px 12px;border-radius:7px;margin-bottom:6px;color:#9da69f;font-size:12px;text-align:left}.nav-item>span{font-size:18px;width:22px}.nav-item.active{color:var(--lime);background:#2b3423}.nav-item.active i{width:5px;height:5px;border-radius:50%;background:var(--lime);margin-left:auto}.sidebar-bottom{margin-top:auto}.system-state{display:flex;gap:8px;align-items:center;font-size:10px;color:#a8b1ab;border-top:1px solid var(--line);padding:23px 0}.status-dot{display:inline-block;width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--lime);box-shadow:0 0 8px #d7f77b24}.user{display:flex;align-items:center;gap:10px;padding:20px 0;border-top:1px solid var(--line);font-size:11px}.avatar{display:grid;place-items:center;width:33px;height:33px;background:#30392d;color:#d9e4d5;border-radius:50%;font-size:13px}.user small{color:var(--muted);font-size:9px;margin-top:4px}.user form{margin-left:auto}.logout{background:none;border:0;color:#8e9891;font-size:20px}.app-shell{margin-left:242px}.topbar{height:73px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:11px}.breadcrumb{color:#7a857d}.slash{margin:0 15px;color:#4a564e}.topbar-right{font-size:9px;letter-spacing:1.8px;color:#89938b;display:flex;align-items:center;gap:10px}.tiny-ball{font-size:20px}.main{max-width:1550px;padding:35px 38px 20px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:16px}.page-heading h1{font-size:34px;letter-spacing:-1.4px;line-height:1.2;margin-top:8px;font-weight:600}.page-heading p{font-size:12px;color:#8c978f;margin-top:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #384038;border-radius:6px;background:#202621;min-height:40px;padding:10px 15px;font-size:11px;font-weight:600;transition:background .15s}.button:hover{background:#30382e}.button.primary{background:var(--lime);color:#22291b;border-color:var(--lime)}.button.primary:hover{background:#e5ffab}.text-button{border:0;background:none;font-size:10px;font-weight:600;padding:5px 0}.control-banner{background:#1e281d;border:1px solid #33462c;border-radius:7px;padding:13px 17px;display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;font-size:11px;gap:15px}.control-banner b{font-weight:500;margin:0 12px 0 7px;color:#d9e9c3}.control-banner #control-detail{color:#8e9e85;font-size:10px}.control-banner .text-button{color:var(--lime);white-space:nowrap}.live-grid{display:grid;grid-template-columns:minmax(420px,1.35fr) minmax(310px,1fr);gap:22px}.match-column,.preview-column{display:flex;flex-direction:column;gap:20px}.card{background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 23px;gap:10px}.card-heading h2{font-size:13px;font-weight:600;letter-spacing:-.1px}.pill{border:1px solid #3a423c;border-radius:5px;font-size:8px;letter-spacing:1px;padding:5px 8px;color:#a6b1a9}.fixture{display:flex;gap:9px;justify-content:center;color:#86938a;font-size:10px;margin-top:0}.score-controls{display:grid;grid-template-columns:1fr 25px 1fr;align-items:center;padding:22px 26px 25px}.team-control{text-align:center}.small-emblem{height:40px;width:40px;margin:0 auto 14px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);border-radius:4px}.netherlands{background:linear-gradient(#df3929 0 33.333%,#fdfaf0 33.333% 66.666%,#2484cd 66.666%)}.germany{background:linear-gradient(#222323 0 33.333%,#e74434 33.333% 66.666%,#f6cd48 66.666%)}.team-control h3{font-size:14px;font-weight:500;max-width:200px;overflow-wrap:anywhere;margin:auto}.team-caption{font-size:8px;letter-spacing:2px;color:#7d8b81;display:block;margin-top:7px}.score-number{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:94px;line-height:1.2;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:7px 0 17px}.versus{color:#536055;font-size:30px;font-weight:400;padding-top:25px}.score-buttons{display:flex;gap:7px;justify-content:center}.score-buttons .minus{font-size:22px;width:41px;min-height:44px;padding:0;color:#a7b0a8}.score-buttons .goal{background:#293221;border-color:#465335;color:var(--lime);font-size:19px;padding:7px 15px;min-height:44px}.score-buttons .goal span{font-size:11px}.card-note{border-top:1px solid var(--line);padding:12px;text-align:center;font-size:9px;color:#748279;background:#171c19}.card-note span{margin-right:7px}.clock-row{display:flex;justify-content:space-between;align-items:center;padding:0 23px 24px;gap:10px}.operator-clock{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:66px;font-weight:600;letter-spacing:1px;line-height:1.1;font-variant-numeric:tabular-nums}.clock-caption{font-size:9px;color:#8d9b90;display:block;margin-top:9px}.clock-toggle{min-height:43px;min-width:165px}.clock-divider{height:1px;background:var(--line);margin:0 23px}.added-row{display:flex;justify-content:space-between;padding:20px 23px;align-items:center;gap:10px}.added-row label{font-size:11px;margin:0}.added-row small{font-size:9px;color:#78867c;margin-top:6px;font-weight:400}.stepper{display:flex;align-items:center;border:1px solid #39433a;border-radius:6px;height:34px}.stepper button{background:none;border:0;width:30px;font-size:17px;color:#a1afa3}.stepper span{min-width:55px;text-align:center;font-size:10px}.stepper b{font-weight:500}.phase-actions{display:flex;gap:10px;padding:0 23px 21px;flex-wrap:wrap}.phase-actions .button{font-size:10px;min-height:34px;flex:1}.live-tag{font-size:8px;letter-spacing:1px;color:var(--lime);display:flex;align-items:center;gap:6px}.preview-wrap{margin:0 18px;background:#080a09;border:1px solid #333a33;border-radius:5px;overflow:hidden;aspect-ratio:16/9;position:relative}.preview-footer{padding:15px 20px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#7e8b82}.preview-footer button{font-size:9px;color:#aeb8ae}.flow-card .card-heading{padding-bottom:15px}.flow-card .card-heading>span{font-size:11px}.timeline{list-style:none;margin:0;padding:0 25px 20px}.timeline li{display:flex;gap:14px;position:relative;padding:0 0 24px;font-size:11px;color:#91a095}.timeline li:last-child{padding-bottom:0}.timeline li:not(:last-child):before{content:'';position:absolute;left:5px;top:12px;bottom:1px;width:1px;background:#344037}.timeline i{display:block;width:11px;height:11px;border-radius:50%;border:2px solid #536054;margin-top:2px;z-index:1;background:var(--panel)}.timeline small{font-size:9px;margin-top:7px;color:#687b6d}.timeline li.current{color:#e5eccd}.timeline li.current i{background:var(--lime);border-color:var(--lime);box-shadow:0 0 0 4px #d7f77b14}.timeline li.current small{color:#a4b58c}.tip{display:flex;gap:11px;font-size:10px;color:#7e8b82;line-height:1.8;padding:0 8px}.tip>span{color:#b2bdab;font-size:17px}.tip b{display:block;color:#a4b19d;font-weight:500;font-size:10px}.workspace-footer{display:flex;justify-content:space-between;margin-top:20px;padding-bottom:10px;font-size:9px;color:#7c8b7e;align-items:center}.save-dot{font-size:7px;color:var(--lime);margin-right:5px}.workspace-footer button{font-size:10px;color:#9eaaa0}.settings-card{padding:0 25px 25px}.settings-card .card-heading{padding-left:0;padding-right:0}.settings-card>p{font-size:12px;line-height:1.8;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .checkbox{grid-column:1/-1}label{display:block;font-size:11px;font-weight:500;margin-bottom:16px;color:#aab6ab}input,select{display:block;width:100%;background:#101713;color:#ecf2e9;border:1px solid #39443a;border-radius:6px;min-height:42px;padding:10px 12px;margin-top:9px;outline:none}input:focus,select:focus{border-color:#9dc455}.checkbox{display:flex;align-items:center;gap:10px}.checkbox input{width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--lime)}.info-text{font-size:11px!important;line-height:1.8;color:#8b9b8a;margin:18px 0}.form-actions{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}.design-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}.profile-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px}.profile-row select{margin:0;flex:1 0 100%;min-width:0}.layout-group{border:0;border-top:1px solid var(--line);margin:20px 0;padding:20px 0 0}.layout-group legend{font-size:12px;padding-right:12px;color:#d2ddcc}.layout-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.layout-inputs label{font-size:10px;margin:0}.layout-inputs input,.layout-inputs select{padding:8px;min-width:0}.upload-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:17px}.upload-row input{font-size:10px;max-width:250px}.link-row{border:1px solid var(--line);background:#121814;border-radius:6px;padding:16px;margin:14px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.link-row a{font-size:11px;color:var(--lime)}.link-row code{font-size:10px;color:#8f9e8e;word-break:break-all;width:100%}.link-row button{margin-left:auto}.penalty-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:15px 23px}.penalty-row>span{font-size:22px;margin-right:10px}#penalty-controls h3{font-size:13px;margin:0 23px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;max-width:600px;padding:16px 24px;background:#e1f0ce;color:#172311;border-radius:7px;box-shadow:0 10px 50px #0008;font-size:13px}dialog{background:#1c241d;color:#e8eee5;border:1px solid #46573e;border-radius:12px;width:440px;max-width:90vw;padding:28px}dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}dialog h2{font-size:22px;margin-bottom:14px}dialog p{font-size:13px;line-height:1.8;color:#a4b69f}dialog label{margin-top:20px}.board-viewport{width:100%;height:100%;position:relative;overflow:hidden;background:#000}.board-canvas{position:absolute;left:50%;top:50%;width:1920px;height:1080px;transform-origin:center center;background:#fb4016;overflow:hidden;color:white;font-family:Arial,sans-serif}.board-background{position:absolute;inset:0;background-repeat:no-repeat;z-index:1}.board-stripes{position:absolute;inset:0;background:linear-gradient(100deg,#e93412 0%,#fa3a12 22%,#ff6914 22%,#ffad21 43%,#ff7919 43%,#ff5716 66%,#f43715 66%,#ed3719 82%,#ff691b 82%)}.board-canvas.has-background .board-stripes{display:none}.screen-clock,.screen-score,.screen-team{position:absolute;transform:translate(-50%,-50%);z-index:2}.screen-clock{font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}.screen-score{display:grid;grid-template-columns:1.2em .52em 1.2em;width:3.2em;text-align:center;align-items:center;gap:.14em;font-size:220px;font-weight:900;white-space:nowrap;letter-spacing:0;font-variant-numeric:tabular-nums}.screen-score i{font-style:normal;font-weight:700}.screen-team{text-align:center}.team-emblem{width:100%;height:100%;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);outline:4px solid white}.screen-team img{width:100%;height:100%;display:none}.screen-team>span{white-space:nowrap;position:absolute;left:50%;transform:translateX(-50%);top:115%;font-size:36px;font-weight:700;letter-spacing:4px}.screen-added{position:absolute;left:50%;top:71%;transform:translateX(-50%);font-size:50px;font-weight:bold;z-index:2}.screen-phase{position:absolute;left:50%;top:85%;transform:translateX(-50%);font-size:30px;letter-spacing:8px;font-weight:bold;z-index:2;white-space:nowrap}.screen-penalties{position:absolute;left:50%;top:71%;transform:translateX(-50%);font-size:48px;z-index:2;white-space:nowrap}.display-page{height:100vh;width:100vw;overflow:hidden;background:#000}.display-page>.board-viewport{width:100vw;height:100vh}.preview-wrap:fullscreen{margin:0;border:0;border-radius:0;width:100vw;height:100vh}.login-page{height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-art{padding:45px 50px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 70%,#324831,#17251d 60%,#15201b)}.login-art .brand{position:relative;z-index:1}.login-copy{position:relative;z-index:1;margin-top:20vh}.login-copy h1{font-size:clamp(35px,4vw,64px);letter-spacing:-2px;line-height:1.12;margin:22px 0}.login-copy p{color:#9fae9d;line-height:1.8;font-size:15px}.login-foot{position:absolute;bottom:40px;left:50px;font-size:9px;letter-spacing:2px;color:#96a58a}.pitch-lines{position:absolute;width:850px;height:480px;border:1px solid #8ab27820;transform:rotate(-30deg);bottom:-230px;left:30px}.pitch-lines:before{content:'';position:absolute;width:230px;height:230px;border-radius:50%;border:1px solid #8ab27820;left:300px;top:120px}.pitch-lines:after{content:'';position:absolute;height:100%;left:50%;border-left:1px solid #8ab27820}.login-panel{display:flex;align-items:center;justify-content:center;position:relative;padding:35px}.login-form{max-width:360px;width:100%}.login-form h2{font-size:29px;letter-spacing:-1px;margin:14px 0}.login-form>.muted{font-size:13px;margin-bottom:32px}.login-form label{margin-bottom:22px}.login-form input{height:48px}.full{width:100%;justify-content:space-between;min-height:46px}.login-help{text-align:center;color:#6c7c6f;font-size:10px;margin-top:24px}.login-footer{position:absolute;bottom:40px;font-size:10px;color:#677b6d}.error{color:#ff9d83;font-size:12px;margin-bottom:15px}@media(min-width:1500px){.main{padding-top:45px}.score-controls{padding-top:28px;padding-bottom:28px}.score-number{font-size:115px}.preview-wrap{aspect-ratio:16/9}.timeline li{padding-bottom:30px}}@media(max-width:1150px){.sidebar{width:210px;padding-left:16px;padding-right:16px}.app-shell{margin-left:210px}.main{padding:27px 24px}.topbar{padding:0 24px}.live-grid{grid-template-columns:1.2fr 1fr;gap:15px}.score-controls{padding:20px 14px}.score-buttons .goal{padding:7px 11px}.control-banner #control-detail{display:none}.card-heading{padding:18px}.clock-row{padding:0 18px 20px}.clock-toggle{min-width:135px;font-size:10px}.operator-clock{font-size:58px}.added-row small{max-width:140px}.page-heading h1{font-size:30px}}@media(max-width:950px){.sidebar{width:180px}.brand{font-size:21px}.workspace{font-size:10px}.workspace small{display:none}.nav-item{font-size:10px;padding:12px 7px}.app-shell{margin-left:180px}.live-grid{grid-template-columns:1fr}.preview-column{display:grid;grid-template-columns:1fr 1fr;align-items:start}.preview-column .tip{grid-column:1/-1}.design-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading>.button{font-size:10px}.score-number{font-size:105px}.topbar-right{display:none}.login-art{padding:35px}.login-copy h1{font-size:40px}}@media(max-width:650px){.sidebar{position:relative;width:auto;padding:17px 18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:22px}.sidebar .workspace,.sidebar .nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:20px;gap:4px}.nav-item{font-size:9px;justify-content:center;gap:5px;padding:10px 6px;margin:0}.nav-item>span{font-size:15px;width:auto}.nav-item.active i{display:none}.app-shell{margin:0}.topbar{height:45px;padding:0 20px;font-size:10px}.main{padding:23px 16px}.page-heading{flex-direction:column;gap:16px}.page-heading h1{font-size:31px}.page-heading p{font-size:11px}.eyebrow{font-size:9px}.control-banner{padding:12px;font-size:10px}.control-banner b{margin-right:4px}.control-banner .text-button{font-size:9px}.preview-column{display:flex}.clock-row{padding:0 18px 20px}.operator-clock{font-size:64px}.form-grid{grid-template-columns:1fr;gap:0}.layout-inputs{grid-template-columns:repeat(2,1fr)}.login-page{display:block}.login-art{display:none}.login-panel{min-height:100vh}.settings-card{padding:0 18px 20px}.score-number{font-size:100px}.live-grid{gap:18px}.card{border-radius:8px}}

@media(max-width:650px){.preview-column{align-items:stretch}.preview-column>.card{width:100%}}
.account-page{min-height:100vh;display:grid;place-items:center;padding:40px 20px}.account-card{width:440px;max-width:100%;padding:35px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.account-card .brand{margin-bottom:40px}.account-card h1{font-size:29px;letter-spacing:-1px;margin:15px 0}.account-card>.muted{font-size:12px;line-height:1.8;margin-bottom:26px}.account-card .account-terms{font-size:12px;line-height:1.8;margin:24px 0}.account-terms a{text-decoration:underline;text-underline-offset:3px}.account-back{display:block;font-size:11px;color:var(--lime);text-align:center;margin-top:23px}.success-message{background:#2b3823;color:#d7f77b;border:1px solid #536637;padding:13px;font-size:12px;line-height:1.7;border-radius:6px;margin:18px 0}.registration-row{display:flex;gap:14px;align-items:center;border-top:1px solid var(--line);padding:19px 0;flex-wrap:wrap}.registration-row>div{margin-right:auto}.registration-row strong{font-size:13px}.registration-row small{font-size:11px;color:var(--muted);margin-top:7px}.login-help a{color:var(--lime)}@media(max-width:650px){.sidebar nav{flex-wrap:wrap}.nav-item{width:auto;flex:1 0 28%}.registration-row .pill{font-size:7px}.account-card{padding:25px}}

.match-hub{max-width:1500px;margin:auto}.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:24px}.match-hub>.card,.hub-grid{margin-bottom:28px}.hub-notice{padding:20px}.match-hub details{margin-top:24px}.match-hub summary{cursor:pointer;margin-bottom:20px}.match-hub textarea{width:100%;border:1px solid #dce1dc;border-radius:8px;padding:12px;font:inherit}.screen-entry{margin:20px 0;padding:16px;border:1px solid #e4e8e2;border-radius:10px}.match-hub label{display:flex;flex-direction:column;gap:8px}.match-hub hr{border:0;border-top:1px solid #e4e8e2;margin:20px 0}

.legal-page{max-width:900px;margin:auto}.legal-page p{line-height:1.7}.legal-page h2{margin-top:28px}.legal-footer{padding:18px 24px;display:flex;gap:20px;flex-wrap:wrap;justify-content:center;font-size:12px;position:relative;z-index:1}.legal-footer a{color:inherit;opacity:.7}.login-page .legal-footer{position:fixed;bottom:0;right:0;width:50%}@media(max-width:800px){.login-page .legal-footer{position:static;width:100%}}

.presence-members{padding:0 23px 8px}.presence-member{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.presence-member strong{font-weight:600;overflow-wrap:anywhere;min-width:0}.presence-member span{color:var(--muted);font-size:11px;text-align:right}.presence-member.is-controlling span{color:var(--lime)}.presence-card .info-text{padding:0 23px 18px}.presence-card{grid-column:1/-1}
.brand-mark{display:block;width:36px;height:36px;flex-shrink:0}.login-panel .mobile-brand{display:none}@media(max-width:650px){.login-panel .mobile-brand{display:flex;margin-bottom:32px}}

#passkey-login{margin-top:12px}#passkey-status:empty{display:none}#passkey-register{margin-top:24px}

.two-factor-qr{display:block;width:280px;max-width:100%;height:auto;margin:0 auto 20px;background:#fff}

.hub-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.account-menu{position:relative}.account-menu summary{list-style:none;gap:12px;cursor:pointer}.account-menu summary::-webkit-details-marker{display:none}.account-menu-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:20;min-width:210px;padding:8px;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px #0006}.account-menu-name{display:block;padding:10px 12px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.account-menu-panel a,.account-menu-panel button{display:block;width:100%;padding:12px;text-align:left;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer;text-decoration:none}.account-menu-panel a:hover,.account-menu-panel button:hover{background:#ffffff0a}.account-menu-panel form{border-top:1px solid var(--line);margin-top:4px;padding-top:4px}@media(max-width:650px){.hub-header-actions{width:100%;justify-content:space-between}}

/* Compact, scrollable overviews keep large match lists easy to scan. */
.match-hub>.matches-overview,.match-hub>.invitations-overview{margin-bottom:28px}.matches-toolbar{display:flex;align-items:end;gap:16px;padding:20px;flex-wrap:wrap}.matches-toolbar label{margin:0;min-width:180px}.matches-toolbar .matches-search{flex:1;min-width:240px}.matches-toolbar input,.matches-toolbar select{width:100%}.matches-toolbar p{font-size:12px;padding-bottom:12px}.matches-table-scroll{overflow-x:auto}.matches-table-scroll:focus-visible{outline:2px solid var(--lime);outline-offset:-2px}.matches-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;line-height:1.5}.matches-caption{text-align:left;padding:12px 20px;color:var(--muted);font-size:11px;border-top:1px solid var(--line)}.matches-table thead{background:#141916}.matches-table th,.matches-table td{padding:14px 18px;border-top:1px solid var(--line);vertical-align:middle}.matches-table thead th{font-size:10px;color:#a6b1a9;font-weight:600;white-space:nowrap;letter-spacing:.5px}.matches-table tbody th{font-weight:600;min-width:160px;max-width:280px;overflow-wrap:anywhere}.matches-table tbody>tr:hover{background:#ffffff03}.match-name:hover{color:var(--lime)}.match-teams{min-width:150px;max-width:240px;overflow-wrap:anywhere}.match-teams span{display:block}.match-score{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.match-phase{display:inline-block;font-size:10px;letter-spacing:0;white-space:nowrap}.match-phase[data-phase=playing],.match-phase[data-phase=penalties]{color:var(--lime);background:#293221;border-color:#465335}.match-phase[data-phase=paused],.match-phase[data-phase=halftime]{color:#f3cb83;border-color:#675335}.match-venue{min-width:150px;max-width:230px;overflow-wrap:anywhere}.matches-table small{font-size:11px;font-weight:400;margin-top:4px}.match-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}.match-actions form{margin:0}.match-management>td{background:#141916}.match-hub .match-management details{margin:0}.match-hub .match-management summary{font-size:12px;margin:0}.match-management details[open] summary{margin-bottom:18px}.match-management-forms{display:grid;grid-template-columns:minmax(180px,1fr) minmax(300px,2fr);gap:28px;max-width:950px;white-space:normal}.match-management-forms>hr{display:none}.matches-empty{padding:24px 20px;color:var(--muted);font-size:13px}.matches-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.invitation-heading{padding:20px}.invitation-heading h2{font-size:18px;margin-bottom:8px}.invitation-heading p{font-size:12px;line-height:1.6}.invitation-date{white-space:nowrap;font-variant-numeric:tabular-nums}.invitations-table td:nth-child(2){min-width:140px;max-width:230px;overflow-wrap:anywhere}.match-hub .account-menu{margin:0}.match-hub .account-menu summary{margin:0}@media(max-width:650px){.matches-toolbar{padding:16px;gap:12px}.matches-toolbar .matches-search{min-width:100%}.matches-toolbar label{flex:1;min-width:0}.matches-toolbar p{padding:0 0 12px}.matches-table th,.matches-table td{padding:12px}.matches-pagination{padding:12px}.match-management-forms{grid-template-columns:1fr}}

/* Keep the selected design controls and their preview together. */
.design-grid{align-items:start}.design-preview-column{position:sticky;top:20px;min-width:0}.layout-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.layout-tab{font:inherit;font-size:12px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:transparent;color:inherit;cursor:pointer}.layout-tab[aria-selected=true]{background:var(--lime);border-color:var(--lime);color:#152016;font-weight:700}.layout-tab:focus-visible{outline:2px solid var(--lime);outline-offset:3px}.layout-group[hidden]{display:none}.layout-group>.info-text{margin:0 0 18px;line-height:1.6}.logo-position-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 12px}.design-selection{margin:0;padding:0 22px 8px;color:var(--lime);font-size:12px}.design-preview[data-selected-part=background] .board-canvas{outline:12px solid #d4f77b;outline-offset:-12px}.design-preview[data-selected-part=home] .screen-team.home,.design-preview[data-selected-part=away] .screen-team.away,.design-preview[data-selected-part=score] .screen-score,.design-preview[data-selected-part=clock] .screen-clock{outline:8px dashed #d4f77b;outline-offset:14px}.design-preview-column .preview-wrap{max-height:65vh}
@media(max-width:950px){.design-preview-column{grid-row:1;top:0;z-index:5;background:var(--panel);border-bottom:1px solid var(--line);padding-bottom:8px}.design-preview-column .preview-wrap{height:clamp(100px,25vh,240px);aspect-ratio:auto;margin:0 12px}.design-preview-column>.info-text{display:none}.design-preview-column .card-heading{padding:10px 14px}.design-selection{padding:0 14px 8px}.design-grid{gap:16px}}

.stadiums-table{min-width:720px}.stadiums-table td{overflow-wrap:anywhere}.stadium-screen-list{list-style:none;padding:0;margin:0;min-width:140px}.stadium-screen-list li+li{margin-top:10px}.stadium-screen-list small{white-space:nowrap}.stadium-notes{max-width:320px;white-space:pre-line}.stadiums-table td:last-child{width:1%;white-space:nowrap}.stadium-edit-row>td{background:#141916}.match-hub .stadium-edit-row details{margin:0}.match-hub .stadium-edit-row summary{margin:0;font-size:12px}.stadium-edit-row details[open]>summary{margin-bottom:20px}.stadium-edit-row .stadium-form{max-width:950px;white-space:normal}.match-hub .stadium-add{padding:20px;margin:0 0 28px}.match-hub .stadium-add>summary{margin:0;color:var(--lime);font-size:13px;font-weight:600}.match-hub .stadium-add[open]>summary{margin-bottom:20px}.stadium-add .stadium-form{max-width:950px}.stadiums-overview .screen-entry,.stadium-add .screen-entry{grid-template-columns:minmax(160px,2fr) repeat(2,minmax(120px,1fr)) auto;align-items:end;gap:16px;border-color:var(--line);margin:16px 0}.stadiums-overview .screen-entry label,.stadium-add .screen-entry label{margin:0}.stadiums-overview .remove-screen,.stadium-add .remove-screen{min-height:40px}.stadiums-overview textarea,.stadium-add textarea{background:#101712;border-color:var(--line);color:inherit}.stadiums-overview textarea:focus-visible,.stadium-add textarea:focus-visible{outline:2px solid var(--lime);outline-offset:4px}@media(max-width:650px){.stadiums-overview .screen-entry,.stadium-add .screen-entry{grid-template-columns:1fr 1fr}.stadiums-overview .screen-entry>label:first-child,.stadium-add .screen-entry>label:first-child{grid-column:1/-1}.stadiums-overview .remove-screen,.stadium-add .remove-screen{grid-column:1/-1;text-align:left}}
.club-list{display:grid;gap:12px;margin-top:20px}.club-choice{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px;border:1px solid var(--line);border-radius:8px}.club-choice small{display:block;margin-top:6px;font-size:12px;overflow-wrap:anywhere}.club-choice strong{overflow-wrap:anywhere}.club-member-form{display:flex;align-items:center;gap:10px}.club-member-form select{min-width:165px}.club-choice>div{min-width:0}.club-choice>form{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:650px){.club-choice{align-items:stretch;flex-direction:column}.club-member-form{flex-wrap:wrap}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.clubs-hub>.settings-card{padding:24px}.clubs-hub .settings-card>h2{margin-bottom:14px}.clubs-hub .settings-card>p{font-size:13px;line-height:1.7;margin-bottom:20px}.clubs-hub h3{margin-top:28px;font-size:16px}.clubs-hub .club-member-form select{width:auto}.clubs-hub .club-members small{display:block}@media(max-width:650px){.clubs-hub>.settings-card{padding:18px}.club-members,.club-members tbody,.club-members tr,.club-members th,.club-members td{display:block;min-width:0;max-width:none;width:100%}.club-members thead{display:none}.club-members tr{padding:12px 0;border-top:1px solid var(--line)}.club-members th,.club-members td{padding:6px 0;border:0}.club-members .club-member-form select{flex:1;min-width:0}}

.billing-hub .billing-summary{display:flex;gap:2rem;justify-content:space-between;flex-wrap:wrap}.billing-usage{display:flex;gap:2rem;flex-wrap:wrap}.billing-usage strong{display:block;font-size:1.8rem}.billing-usage small{display:block;max-width:160px}.billing-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1rem}.billing-form{display:grid;gap:1rem;margin-top:1rem}.billing-hub .billing-check{display:flex;align-items:flex-start;gap:.6rem;line-height:1.5}.billing-hub .billing-check input{width:auto;margin-top:.35rem;flex-shrink:0}.billing-editor{padding:1rem 0;border-top:1px solid #ffffff20}.billing-editor summary{cursor:pointer;font-weight:600}.billing-features{padding-left:1.3rem;line-height:1.9}.billing-hub textarea{min-height:80px;width:100%}.billing-form .button{justify-self:start}.billing-hub details>summary{padding:.5rem 0}.billing-hub .settings-card{margin-bottom:1rem}
.billing-hub .settings-card{padding:24px}.billing-hub .billing-check{flex-direction:row}.billing-hub .billing-check input{height:16px;width:16px;min-height:0;accent-color:var(--lime)}.billing-summary{margin-bottom:18px}.billing-hub textarea{font:inherit;color:inherit;background:#101511;border:1px solid var(--line);border-radius:6px;padding:12px}@media(max-width:650px){.billing-hub .settings-card{padding:18px}}
/* Public website */
.skip-link{position:absolute;top:-70px;left:20px;padding:14px;background:var(--lime);color:#101312;z-index:100}.skip-link:focus{top:12px}.public-page{background:#101312}.public-header{max-width:1264px;padding:27px 32px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line)}.public-header nav{display:flex;align-items:center;gap:28px;font-size:12px}.public-header .button{font-size:12px}.public-main{max-width:1264px;margin:auto;padding:0 32px}.public-main .eyebrow,.public-legal .eyebrow{display:block;line-height:1.8}.public-main .lime,.public-legal .lime{color:var(--lime)}.landing-hero{display:grid;grid-template-columns:1.06fr 1fr;align-items:center;gap:52px;padding:96px 0 92px}.hero-copy h1,.pricing-section h1{font-size:clamp(42px,4.7vw,68px);line-height:1.03;letter-spacing:-3px;margin:24px 0}.hero-copy h1 span,.pricing-section h1 span{color:var(--lime)}.hero-copy>p{font-size:16px;line-height:1.8;max-width:480px;color:#a5afa8}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0 15px}.public-main .button{min-height:47px;font-size:12px;padding:13px 18px}.hero-copy .hero-note{font-size:10px;line-height:1.8;color:#99a29a}.hero-screen-wrap{border:1px solid #3c493a;border-radius:12px;background:#171d18;box-shadow:0 26px 70px #0004;transform:rotate(-2deg)}.landing-screen-top,.landing-screen-caption{display:flex;align-items:center;gap:8px;padding:18px 21px;font-size:8px;letter-spacing:1.4px;color:#a5b39f}.landing-screen-top>span:last-child{margin-left:auto;color:#9aa995;font-size:7px}.landing-screen-dot{width:6px;height:6px;background:var(--lime);border-radius:50%}.hero-screen{position:relative;isolation:isolate;text-align:center;overflow:hidden;background:radial-gradient(ellipse at center,#314d2e 0,#14251a 80%);padding:25px 24px 20px;border-block:1px solid #354a32}.pitch-line{position:absolute;inset:16px;border:1px solid #d7f77b1a;z-index:-1}.pitch-line:before{content:'';position:absolute;left:50%;height:100%;border-left:1px solid #d7f77b1a}.pitch-line:after{content:'';position:absolute;inset:20% 32%;border:1px solid #d7f77b1a;border-radius:50%}.landing-screen-period{font-size:8px;letter-spacing:2.5px;color:#c5d4be}.landing-screen-score{display:flex;align-items:center;justify-content:space-evenly;gap:18px;padding:23px 0 10px}.landing-screen-score>div{display:flex;flex-direction:column;align-items:center;gap:12px;font-size:11px;font-weight:700;letter-spacing:2px}.team-shield{display:grid;place-items:center;width:43px;height:49px;clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);background:var(--lime);color:#20331b;font-size:20px}.team-shield.away{background:#eeeae0;color:#293b29}.landing-screen-score>strong{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:84px;font-weight:700;white-space:nowrap;line-height:1}.landing-screen-score i{font-style:normal;font-size:36px;color:#839879;vertical-align:12px}.landing-screen-clock{font-family:'Barlow Condensed','Arial Narrow',sans-serif;color:var(--lime);font-size:48px;font-weight:600;letter-spacing:3px;margin:8px 0 25px}.landing-screen-sponsor{font-size:7px;letter-spacing:2px;color:#92aa8a;border-top:1px solid #d7f77b20;padding-top:16px}.landing-screen-caption{justify-content:space-between;letter-spacing:0;font-size:9px;padding:16px 20px}.landing-section{padding:74px 0;border-top:1px solid var(--line);scroll-margin-top:20px}.section-intro h2,.how-section h2,.faq-section h2{font-size:38px;line-height:1.15;letter-spacing:-1.5px;margin:17px 0}.section-intro>p{font-size:14px;line-height:1.8;color:#a5afa8}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;margin-top:45px}.feature-number{font-size:9px;letter-spacing:1.8px;color:var(--lime)}.feature-grid h3{font-size:20px;letter-spacing:-.5px;margin:21px 0 13px}.feature-grid p,.how-steps p{font-size:13px;line-height:1.9;color:#a5afa8}.how-section,.faq-section{display:grid;grid-template-columns:1fr 1.1fr;gap:70px}.how-steps{margin:0;padding:0;counter-reset:steps;list-style:none}.how-steps li{counter-increment:steps;position:relative;padding:0 0 27px 47px}.how-steps li:before{content:'0' counter(steps);position:absolute;left:0;top:1px;color:var(--lime);font-size:12px}.how-steps strong{display:block;font-size:17px;margin-bottom:9px}.pricing-section .section-intro{text-align:center}.public-plans{max-width:920px;margin:38px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.public-plan{border:1px solid #3b433a;border-radius:12px;padding:32px;background:#191e1b;display:flex;flex-direction:column}.public-plan.plan-pro{border-color:#b0cc66;background:linear-gradient(150deg,#263020,#191e1b 70%)}.public-plan>.eyebrow{font-size:8px;letter-spacing:1.5px;color:#adba9e}.public-plan h2{font-size:31px;margin:15px 0 10px;letter-spacing:-1px}.public-plan>p{font-size:13px;line-height:1.7;color:#abb5ab}.public-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:29px 0 9px}.public-price strong{font-size:42px;letter-spacing:-1.8px;line-height:1.2}.public-price span{font-size:12px;color:#9ca893}.public-plan>.annual-price{font-size:12px;padding-bottom:25px;border-bottom:1px solid #384130}.public-plan ul{list-style:none;padding:0;margin:24px 0 30px;font-size:12px;line-height:1.9;flex:1}.public-plan li{position:relative;padding-left:23px;margin:8px 0}.public-plan li:before{content:'✓';position:absolute;left:0;color:var(--lime)}.pricing-note{max-width:870px;margin:26px auto 0;font-size:11px;line-height:1.9;color:#a1aba2;text-align:center}.pricing-note p+p{margin-top:10px}.pricing-note a,.faq-section a,.public-company a{text-decoration:underline;text-underline-offset:3px}.faq-section details{padding:21px 0;border-bottom:1px solid var(--line);font-size:13px}.faq-section details:first-child{padding-top:0}.faq-section summary{font-weight:600;cursor:pointer;line-height:1.6}.faq-section details p{font-size:12px;color:#a5afa8;line-height:1.9;margin-top:15px}.landing-cta{text-align:center;background:var(--lime);border-radius:12px;padding:52px 24px;color:#152013;margin:0 0 62px}.landing-cta .eyebrow{color:#465d2e}.landing-cta h2{font-size:48px;letter-spacing:-2px;margin:14px 0 10px}.landing-cta p{font-size:14px}.landing-cta .button{margin-top:26px;background:#172016;color:#eff7e3}.public-company{text-align:center;font-size:11px;color:#a2aca4;line-height:1.9;padding:0 0 15px}.public-company strong{font-size:12px;color:#dbe3da}.public-company p{margin-top:7px}.public-page .legal-footer{flex-wrap:wrap;padding:24px 22px 32px;font-size:10px}.public-legal{max-width:860px;margin:0 auto;padding:60px 32px}.public-legal h1{font-size:42px;letter-spacing:-1.5px;margin:18px 0 14px}.public-legal p,.public-legal li,.public-legal address{font-size:14px;line-height:1.9;color:#b3bcb5}.public-legal p,.public-legal address{margin:14px 0}.public-legal address{font-style:normal}.public-legal h2{font-size:21px;line-height:1.5;margin:33px 0 14px}.public-legal a:not(.button){text-decoration:underline;text-underline-offset:3px;color:#e1edcf}.public-legal li{margin:10px 0}.public-legal .legal-back{margin-top:42px}.public-legal>.muted{font-size:11px}
@media(max-width:900px){.public-header nav{gap:17px}.landing-hero{gap:30px;padding:65px 0}.hero-copy h1{font-size:48px;letter-spacing:-2px}.landing-screen-score>strong{font-size:65px}.landing-screen-score{gap:8px}.landing-screen-score>div{font-size:9px}.landing-screen-caption{font-size:8px}.feature-grid{gap:25px}.how-section,.faq-section{gap:35px}.section-intro h2,.how-section h2,.faq-section h2{font-size:33px}}
@media(max-width:680px){.public-header{padding:20px;flex-wrap:wrap;gap:20px}.public-header .brand{font-size:24px}.public-header nav{width:100%;justify-content:space-between;gap:9px;font-size:10px}.public-header .button{font-size:10px;padding:8px 11px}.public-main{padding:0 22px}.landing-hero{grid-template-columns:1fr;padding:49px 0 54px;gap:42px}.hero-copy h1{font-size:48px;letter-spacing:-2.4px}.hero-copy>p{font-size:14px}.hero-copy .eyebrow{font-size:9px}.hero-actions{gap:8px}.public-main .hero-actions .button{font-size:11px;padding:12px}.hero-screen-wrap{transform:none}.landing-screen-score>strong{font-size:84px}.landing-screen-caption{font-size:9px}.feature-grid,.how-section,.faq-section,.public-plans{grid-template-columns:1fr;gap:30px}.landing-section{padding:48px 0}.feature-grid{margin-top:30px;gap:32px}.feature-grid h3{margin:13px 0 9px}.public-plan{padding:27px}.pricing-section h1{font-size:43px;letter-spacing:-2px}.public-plans{margin-top:28px;gap:18px}.landing-cta{padding:38px 20px;margin-bottom:40px}.landing-cta h2{font-size:40px}.landing-cta p{font-size:12px}.public-legal{padding:40px 22px}.public-legal h1{font-size:34px}.public-legal p,.public-legal li{font-size:13px}.public-company{font-size:10px}.pricing-note{text-align:left}}
@media print{.public-header,.public-page .legal-footer,.skip-link,.legal-back{display:none!important}.public-page{background:white;color:black}.public-legal{max-width:none;padding:0}.public-legal p,.public-legal li,.public-legal address,.public-legal a:not(.button),.public-legal .eyebrow{color:black}.public-legal h2{break-after:avoid}.public-legal li{break-inside:avoid}}
/* Match statistics controls and visitor display */
.statistics-controls-heading,.statistics-control-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,1fr) minmax(0,1fr);gap:12px;align-items:center;text-align:center;padding:16px 0;border-bottom:1px solid var(--line)}
.statistics-controls-heading strong{overflow-wrap:anywhere}.statistics-control-row .stepper{justify-self:center}.statistics-control-row .stepper b{min-width:34px;text-align:center;font-variant-numeric:tabular-nums}

.statistics-viewport{width:100%;height:100dvh;container-type:size}
.statistics-screen{width:100%;height:100%;display:flex;flex-direction:column;gap:2cqh;padding:4cqh 6cqw;background:radial-gradient(ellipse at top,#243b29,#101812 75%);background-repeat:no-repeat;color:var(--statistics-text,#f5f7ef);font-size:2.6cqh}
.statistics-screen header,.statistics-screen footer{display:flex;align-items:center;justify-content:space-between;gap:2cqw}.statistics-screen header,.statistics-screen .eyebrow{color:var(--statistics-accent,#d7f77b)}.statistics-screen .eyebrow{font-size:inherit;letter-spacing:.18em}.statistics-screen [data-clock]{font-variant-numeric:tabular-nums}.statistics-fixture{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:4cqw;text-align:center;padding:2cqh 0}.statistics-fixture strong{font-size:4cqh;overflow-wrap:anywhere;line-height:1.15}.statistics-fixture b{font-size:8cqh;white-space:nowrap;font-variant-numeric:tabular-nums}
.statistics-comparison{flex:1;display:grid;grid-template-rows:repeat(6,1fr);min-height:0}.statistics-comparison-row{display:grid;grid-template-columns:1fr 2fr 1fr;align-content:center;gap:.7cqh;text-align:center}.statistics-comparison-row strong{font-size:1.4em;font-variant-numeric:tabular-nums}.statistics-bar{grid-column:1/-1;height:.65cqh;background:var(--statistics-text,#f5f7ef);border-radius:8px;overflow:hidden}.statistics-bar i{display:block;height:100%;background:var(--statistics-accent,#d7f77b);transition:width .25s}.statistics-bar.is-empty{opacity:.25}.statistics-screen footer{font-size:.65em;color:inherit;opacity:.8}
.statistics-design-preview{aspect-ratio:16/9;width:100%}.statistics-design-preview .statistics-viewport{height:100%}.statistics-design-fields{border:1px solid var(--line);border-radius:8px;padding:18px;margin:24px 0}.statistics-design-fields legend{padding:0 8px;font-size:13px}.statistics-design-fields input[type=color]{width:100%;padding:4px;height:40px}.statistics-design-fields .info-text{padding:0;margin:12px 0}.statistics-design-preview .statistics-screen header{line-height:1.2}
@media(max-width:600px){.statistics-control-row,.statistics-controls-heading{gap:4px;font-size:11px}.statistics-control-row .stepper button{width:30px;min-width:30px}.statistics-control-row .stepper b{min-width:24px}.statistics-screen header{flex-wrap:wrap}.statistics-screen footer{flex-wrap:wrap}}

/* Server reachability, also visible on fullscreen scoreboards. */
.connection-led{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#e9b949;box-shadow:0 0 5px #e9b94980;vertical-align:middle}
.connection-led[data-status="online"]{background:#46d369;box-shadow:0 0 6px #46d36999}
.connection-led[data-status="offline"]{background:#f06464;box-shadow:0 0 5px #f0646480}
.board-viewport,.statistics-viewport{position:relative}
.board-viewport>.connection-led,.statistics-viewport>.connection-led{position:absolute;right:10px;bottom:10px;z-index:5}
.connection-led[data-status="local"]{background:#ffb547;box-shadow:0 0 6px #ffb54799}
.emergency-panel{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border:1px solid #8a6834;border-radius:8px;padding:14px 18px;margin:0 0 20px;background:#251f15}
.emergency-panel>div{flex:1;min-width:220px}.emergency-panel strong{font-size:12px;color:#ffcf87}.emergency-panel p{font-size:12px;color:#b9b3a8;margin:6px 0 0;line-height:1.5}

.impersonation-banner{position:sticky;top:0;z-index:30;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;background:#293221;color:#e1f0ce;border-bottom:1px solid #536637;font-size:13px;line-height:1.5}.impersonation-banner form{flex-shrink:0}.has-impersonation .sidebar{top:82px}@media(max-width:650px){.impersonation-banner{position:relative;flex-direction:column;align-items:stretch;padding:14px 18px}.impersonation-banner .button{width:100%}.has-impersonation .sidebar{top:0}}
.display-tools{position:fixed;top:16px;right:16px;z-index:20;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:calc(100vw - 32px);padding:10px;border-radius:8px;background:#101312e8}.display-tools [aria-pressed="true"]{border-color:var(--lime);color:var(--lime)}#display-tools-status{max-width:320px;font-size:12px;color:#c8d2c5}:fullscreen .display-tools{display:none}
.design-screen-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.screen-pair-page{min-height:85vh;display:grid;place-items:center;padding:24px}.screen-pair-page>.card{max-width:620px;width:100%;padding:40px;text-align:center}.screen-pair-page h1{margin:20px 0}.screen-pair-page p{line-height:1.7;color:var(--muted);margin:18px 0}.screen-pair-page .button{margin:8px 4px}#screen-pair-code{display:block;white-space:nowrap;font-family:ui-monospace,monospace;font-size:clamp(32px,12vw,88px);line-height:1.3;letter-spacing:.12em;padding-left:.12em;color:var(--lime);font-variant-numeric:tabular-nums}#approve-screen-form{border:1px solid var(--line);border-radius:8px;padding:18px;margin:20px 0}
/* Compact match controls for use during play. */
.operator-view-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.operator-focus-connection{display:none}
.operator-focus .sidebar,.operator-focus .topbar,.operator-focus .preview-column,.operator-focus .legal-footer,.operator-focus .page-heading .eyebrow,.operator-focus #page-description,.operator-focus #open-screen,.operator-focus .workspace-footer,.operator-focus .card-note,.operator-focus .clock-card>.info-text,.operator-focus .emergency-panel:not([data-needed="true"]){display:none}
.operator-focus .app-shell{margin-left:0}.operator-focus .main{max-width:1400px;padding:20px 24px}.operator-focus .page-heading{margin-bottom:16px;flex-direction:row;align-items:center}.operator-focus .page-heading h1{font-size:24px;margin:0}.operator-focus .operator-focus-connection{display:inline-flex}.operator-focus .live-grid{display:block}.operator-focus .match-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.operator-focus .control-banner{margin-bottom:16px}.operator-focus .score-buttons .button{min-height:52px}.operator-focus #operator-focus-toggle{min-height:44px}
@media(max-width:850px){.operator-focus .main{padding:16px}.operator-focus .match-column{grid-template-columns:minmax(0,1fr)}.operator-focus .page-heading{flex-wrap:wrap;gap:12px}.operator-focus .score-number{font-size:82px}.operator-focus .score-controls{padding:16px}.operator-focus .small-emblem{margin-bottom:8px}}
.match-settings-summary{padding:14px 18px;margin-bottom:20px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.match-settings-summary-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.match-settings-summary-heading button{color:var(--lime)}.match-settings-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin:12px 0}.match-settings-summary dt{font-size:10px;color:var(--muted);margin-bottom:5px}.match-settings-summary dd{margin:0;font-size:12px;line-height:1.5}.match-settings-summary p{font-size:11px;color:var(--muted);line-height:1.5}@media(max-width:650px){.match-settings-summary dl{grid-template-columns:1fr}.match-settings-summary-heading{flex-wrap:wrap}}
.operator-fullscreen{display:none}.operator-focus .operator-fullscreen{display:inline-flex;min-height:44px}
.display-page.cursor-idle,.display-page.cursor-idle *{cursor:none!important}
.topbar-right.connection-status{display:flex;max-width:60%;font-size:11px;letter-spacing:0;line-height:1.4;text-align:right}.topbar:has(.connection-status){gap:16px;height:auto;min-height:73px;padding-top:12px;padding-bottom:12px}@media(max-width:650px){.topbar:has(.connection-status){min-height:45px}.topbar-right.connection-status{font-size:10px}}
.clock-card>.info-text{margin-left:23px;margin-right:23px}
.estimated-end{display:flex;align-items:baseline;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;margin:0 23px 20px;padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:#121814;font-size:12px}.estimated-end strong{color:var(--lime);font-size:18px;font-variant-numeric:tabular-nums}.estimated-end small{flex-basis:100%;font-size:10px;color:var(--muted);line-height:1.5}
.button.reset-match-button{border-color:#755343;color:#ffc5a7;min-height:44px}.button.reset-match-button:hover{background:#392a23}
.button.match-delete-button{border-color:#755343;color:#ffc5a7}.button.match-delete-button:hover{background:#392a23}.match-delete-card{max-width:760px}.match-delete-card>p{line-height:1.7}.match-delete-card .checkbox{margin-top:24px;line-height:1.6}
.added-time-form{display:flex;align-items:center;gap:8px;flex-shrink:0}.added-time-form input{width:72px;min-height:40px;margin:0;padding:8px 10px;text-align:center}.added-time-form>span{font-size:11px;color:var(--muted)}.added-time-form .button{min-height:40px}.added-row{flex-wrap:wrap}.added-row>label{flex:1;min-width:160px}
.admin-nav{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:var(--panel);border:1px solid var(--line);border-radius:10px;margin-bottom:28px}.admin-nav a{padding:11px 16px;border-radius:6px;font-size:13px;color:#aeb8b0}.admin-nav a:hover{background:#293127}.admin-nav a[aria-current=page]{background:var(--lime);color:#172014;font-weight:700}.admin-header{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:24px}.admin-header>.hub-header-actions{margin-left:auto}.admin-hub .page-heading h1{font-size:30px}.admin-hub>.card{margin-bottom:24px}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.admin-metric{padding:22px;display:flex;flex-direction:column;gap:14px}.admin-metric span{color:var(--muted);font-size:12px}.admin-metric strong{font-size:34px;color:var(--lime)}.admin-metric:hover{border-color:#74834f}.admin-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.admin-detail-grid>.card{min-width:0}.admin-hub h2{font-size:18px}.admin-back{display:flex;gap:16px;align-items:center;margin:0 0 24px}.admin-club-role{padding:12px 0;border-bottom:1px solid var(--line);line-height:1.7;font-size:13px}.admin-club-role small{color:var(--muted)}.admin-warning{color:#f3cb83;font-size:12px;line-height:1.6}.admin-event-details{max-width:360px;overflow-wrap:anywhere}.admin-hub .matches-toolbar .button{margin-bottom:0}.admin-hub .settings-card>h2{margin-bottom:16px}.admin-hub .checkbox{align-items:center;flex-direction:row;justify-content:flex-start}.admin-hub .checkbox input{width:auto}.admin-club-context{border-left:3px solid var(--lime);padding:14px 18px;background:var(--panel);margin-bottom:24px;font-size:13px;line-height:1.7}.admin-hub details summary{font-size:13px;cursor:pointer}.admin-hub .info-text{line-height:1.8}
@media(max-width:750px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-detail-grid{grid-template-columns:1fr}.admin-header>.hub-header-actions{margin-left:0;width:100%}.admin-nav{gap:4px}.admin-nav a{padding:10px;font-size:12px}.admin-metric{padding:16px}}

/* Keep uploaded font weights intact and the score separator within its own slot. */
.board-canvas.has-custom-font :is(.screen-score,.screen-clock,.screen-phase,.screen-added,.screen-penalties,.screen-team span){font-weight:400;font-synthesis:none}
.board-canvas .screen-score i{font-family:Arial,sans-serif;font-size:.65em;font-weight:400;line-height:1;justify-self:center;letter-spacing:0}

.added-time-display{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.2}.uefa-added [data-stoppage-clock],[data-uefa-added] [data-stoppage-clock]{background:#000;color:#fff;padding:.1em .4em}.uefa-added [data-announced-added],[data-uefa-added] [data-uefa-announced]{background:#a8b2c2;color:#fff;padding:.1em .35em}.operator-added-time{font-size:22px;margin-top:8px}

.penalty-dots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.25em}.screen-penalty-dots{position:absolute;transform:translateX(-50%);z-index:2}.penalty-dot{display:flex;align-items:center;justify-content:center;aspect-ratio:1;border:2px solid #e5eaf0;border-radius:50%;color:#fff;background:#000;font-family:Arial,sans-serif;font-weight:700;line-height:1}.penalty-dot.is-scored{background:#008852}.penalty-dot.is-missed{background:#cc2434}.penalty-team-controls{flex:1;min-width:190px}.penalty-team-controls>strong{display:block;margin-bottom:10px}.operator-penalty-dots{max-width:200px;font-size:22px;margin-bottom:12px}.penalty-team-controls .button{margin:0 4px 6px 0}

.team-logo-frame{width:100%;height:100%;overflow:hidden}.team-logo-frame img,.team-logo-frame .team-emblem{transform-origin:50% 50%}

.local-simulation{margin:0 23px 22px;padding:16px;border:1px dashed #718044;border-radius:7px}.local-simulation>summary{font-size:12px;color:var(--lime);cursor:pointer;font-weight:700}.local-simulation>summary:focus-visible{outline:2px solid var(--lime);outline-offset:4px}.local-simulation .phase-actions{padding:0}.local-simulation .info-text{margin:10px 0}

.design-preview[data-selected-part=penalties] :is(.screen-penalties,.screen-penalty-dots){outline:4px dashed #d4f77b;outline-offset:8px}

.match-preset{margin:22px 0;padding:18px;border:1px solid var(--line);border-radius:8px;background:#141a16}.match-preset label{margin:0}.match-preset .info-text{margin:10px 0}.match-preset a{color:var(--lime)}
