:root{color-scheme:light;--ink:#14251f;--muted:#54655d;--paper:#f3f6f2;--line:#dce5de;--nav:#0d211d;--accent:#d9f77d;--dark:#17392b;--panel:#fff;font-family:"Aptos","Segoe UI",system-ui,sans-serif;font-size:16px}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink)}
a{color:inherit}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #679e16;outline-offset:3px}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.60}
svg{display:block;width:19px;height:19px;flex:none}
.shell{min-height:100vh;display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;margin:0;font-size:1.03rem;font-weight:850;letter-spacing:.075em;line-height:1.15;white-space:nowrap}
.brand-mark{display:block;width:52px;height:52px;object-fit:contain;flex:none}
.brand small{display:block;font-size:.63rem;margin-top:5px;letter-spacing:.24em;color:#a9beaf}
.date-chip{display:flex;align-items:center;gap:8px;text-transform:capitalize;color:#c4d3cb;font-size:.86rem;white-space:nowrap}
.date-chip svg{width:16px;height:16px}
main,footer{width:min(100%,1390px);margin-inline:auto;padding-inline:clamp(18px,4vw,55px)}
main{padding-block:31px 28px}
footer{margin-top:auto;padding-block:9px 20px;font-size:.78rem;color:var(--muted)}
footer span{margin-inline:5px}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(2rem,4vw,3.15rem);line-height:1.04;letter-spacing:-.058em;font-weight:850}
h2{font-size:1.13rem;letter-spacing:-.02em;font-weight:780}
h3{font-size:1rem}
p{line-height:1.55}
.hero{background:linear-gradient(115deg,#132d25,#22493a);color:#fff;border-radius:16px;position:relative;overflow:hidden;padding:31px clamp(23px,4vw,44px) 32px;isolation:isolate}
.hero-copy{position:relative;z-index:1;max-width:640px}
.eyebrow{font-size:.73rem;letter-spacing:.16em;font-weight:800;text-transform:uppercase;color:#d9f77d;display:flex;align-items:center;gap:8px;margin-bottom:13px}
.eyebrow::before{content:"";width:15px;height:2px;background:currentColor}
.hero p{color:#d9e8df;margin-top:11px;max-width:410px}
.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hero .actions{margin-top:23px}
.court{position:absolute;right:-42px;top:-49px;width:420px;height:278px;border:2px solid #b6e9b34a;border-radius:15px;transform:rotate(-14deg);opacity:.85;pointer-events:none}
.court::before{content:"";position:absolute;inset:0 auto 0 50%;border-left:2px solid #b6e9b34a}
.court::after{content:"";position:absolute;width:72px;height:72px;border:2px solid #b6e9b34a;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}
.court i,.court b{position:absolute;height:157px;width:99px;top:58px;border:2px solid #b6e9b34a}.court i{left:-2px;border-radius:0 90px 90px 0}.court b{right:-2px;border-radius:90px 0 0 90px}
.btn{border:1px solid transparent;border-radius:8px;min-height:40px;display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:8px 13px;background:var(--dark);color:white;text-decoration:none;font-size:.88rem;font-weight:750;line-height:1.15;text-align:center}
.btn:hover{filter:brightness(.94)}
.btn svg{width:17px;height:17px}
.btn.lime{background:var(--accent);color:#152a20}
.btn.soft{background:#e9f0ea;color:#204130}
.btn.outline{background:#fff;border-color:var(--line);color:#213b30}
.hero .btn.outline{background:#162e27be;color:#fff;border-color:#8bac9a7d}
.btn.slim{min-height:33px;padding:6px 9px;font-size:.82rem}
.link{background:none;border:0;color:#2b5a3c;font-size:.88rem;font-weight:750;padding:7px 0;text-align:left;text-decoration:none}
.link:hover{text-decoration:underline}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-block:17px}
.metric{display:flex;flex-direction:column;min-width:0;gap:9px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 16px}
.metric-head{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:.87rem;font-weight:680;color:#41584d}
.icon-box{display:grid;place-items:center;width:33px;height:33px;background:#e8f1e8;color:#315d42;border-radius:8px;flex:none}
.icon-box.gold{background:#faf0dc;color:#84591c}
.metric strong{font-size:clamp(1.23rem,2.5vw,1.92rem);line-height:1.1;letter-spacing:-.05em;overflow-wrap:anywhere}
.metric small{color:var(--muted);font-size:.76rem}
.two-col{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:16px}
.panel{background:#fff;border:1px solid var(--line);border-radius:13px;min-width:0}
.panel-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap}
.panel-head{padding:17px 18px;border-bottom:1px solid #e7ede8}
.panel-head p,.section-head p{color:var(--muted);margin-top:3px}
.panel-head p{font-size:.85rem}
.section-head{margin-bottom:21px}
.section-head h1{font-size:clamp(1.95rem,4vw,2.75rem)}
.empty{min-height:178px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:23px;gap:8px}
.empty p{font-size:.88rem;color:var(--muted);max-width:325px}
.table-scroll{overflow:auto}
table{width:100%;border-collapse:collapse;font-size:.9rem}
th,td{padding:13px 15px;border-bottom:1px solid #edf1ee;text-align:left;vertical-align:middle}
th{font-size:.78rem;color:#52645c;background:#f8faf8;white-space:nowrap}
tr:last-child td{border-bottom:0}
td small{display:block;color:var(--muted);margin-top:3px}
td .actions{justify-content:flex-end}
.badge{border-radius:6px;padding:5px 8px;white-space:nowrap;display:inline-block;font-size:.79rem;font-weight:720;background:#e9f1e9;color:#28583a}
.badge.amber{background:#fff0d6;color:#775019}
.badge.red{background:#fae8e5;color:#8c3d38}
.badge.neutral{background:#edf1ef;color:#4d5f55}
.summary{padding:15px 18px;display:grid;gap:8px}
.summary-row{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:.9rem;border-bottom:1px solid #edf1ee;padding:8px 0}
.summary-row:last-child{border:0}
.space{margin-top:16px}
.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:13px 16px;border-bottom:1px solid var(--line)}
label{display:grid;gap:6px;font-weight:670;font-size:.87rem}
input,select{min-height:42px;border:1px solid #cddad1;border-radius:7px;padding:8px 10px;background:#fff;color:var(--ink);min-width:0;width:100%}
select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23325142' stroke-width='2'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
input[type=checkbox]{width:18px;min-height:18px;accent-color:#315e42;margin:0}
.check-label{display:flex;align-items:center;gap:8px;min-height:42px}
.status-picker{min-width:135px}
.notice{border-radius:9px;padding:12px 14px;background:#e9f1ea;color:#2f4d3b;font-size:.89rem;margin-bottom:12px}
.error{color:#8a2e28}
dialog{border:0;border-radius:15px;padding:0;width:min(540px,calc(100% - 24px));color:var(--ink);max-height:calc(100% - 32px);box-shadow:0 18px 70px #10281c52}
dialog::backdrop{background:#0b211bb3}
.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:17px 21px;border-bottom:1px solid var(--line)}
.close{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:8px;background:#eff3ef;color:var(--ink)}
.form-content,.detail{padding:17px 21px;display:grid;gap:13px}
.form-content .actions{justify-content:flex-end;margin-top:4px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-content p,.detail p{font-size:.89rem;color:var(--muted)}
.detail .actions{margin-top:8px}
.receipt{border:1px solid var(--line);border-radius:9px;padding:14px}
.receipt dl{margin:7px 0 0}
.receipt dl div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:8px 0;font-size:.89rem}
.receipt dd{margin:0;font-weight:750;text-align:right;overflow-wrap:anywhere}
.receipt dl div:last-child{border:0}
#toast:not(:empty){position:fixed;z-index:9;bottom:17px;right:16px;background:#17392b;color:white;border-radius:9px;padding:11px 16px;max-width:calc(100% - 32px);box-shadow:0 6px 18px #10291c26}
@media(max-width:1040px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.court{right:-100px}}
@media(max-width:750px){.brand-mark{width:43px;height:43px}.two-col{grid-template-columns:1fr}.hero{padding-block:25px}.court{opacity:.38}main{padding-top:19px}}
@media(max-width:400px){.metric{padding:11px}.metric-head{font-size:.80rem}.icon-box{width:27px;height:27px}.form-grid{grid-template-columns:1fr}}
@media print{body{background:white}.shell,#toast,.dialog-head,.detail .actions,.detail>p{display:none!important}dialog{position:static;max-height:none;width:100%;box-shadow:none;margin:0;border:0}dialog::backdrop{background:none}.detail{padding:0}.receipt{border:0;width:100%;color:#000}.receipt dl div{padding:13px 0}}

.family-access-list{padding:0;list-style:none;margin:6px 0 0}
.family-access-list li{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:7px 0;border-bottom:1px solid var(--line);font-size:.88rem}
.family-access-list li span{overflow-wrap:anywhere}
.family-access-list li button{flex:none}
.family-access-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}
.family-access-form label{flex:1;min-width:min(100%,243px)}
.family-page{display:flex;min-height:100vh;flex-direction:column}
.family-wrap{width:min(100%,1130px);padding-inline:clamp(18px,4vw,40px);margin-inline:auto}
.family-top{background:var(--nav);color:#fff}
.family-top-content{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:76px}
.family-top .brand{margin:0}
.family-signout{font-size:.88rem;font-weight:650;color:#e1eee5;text-underline-offset:4px}
.family-content{margin-top:18px}
.family-athlete-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 0}
.family-athlete-head h2{font-size:clamp(1.28rem,3vw,1.7rem)}
.family-athlete-head p{color:var(--muted)}
.family-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.family-table-empty{padding:18px;color:var(--muted);font-size:.91rem}
.family-page #family-receipt dd{word-break:break-word}
@media(max-width:750px){.family-top-content{min-height:61px}}
@media(max-width:420px){.family-metric-grid{gap:7px}.family-metric-grid .metric{padding:9px}.family-metric-grid .metric-head{min-height:2.45em}.family-top .brand{font-size:.92rem}}
@media print{.family-page>.family-top,.family-page>main,.family-page>footer{display:none!important}}

.ticket-hero h2{font-size:clamp(1.65rem,4vw,2.7rem)}
.ticket-event .filters label{min-width:min(100%,245px)}
.ticket-price-strip{display:flex;flex-wrap:wrap;gap:8px 22px;padding:12px 16px;color:var(--muted);font-size:.88rem}
.ticket-price-strip strong{color:var(--ink);margin-left:3px}
.ticket-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end}
.ticket-total{display:flex;justify-content:space-between;align-items:center;background:#e9f1ea;padding:10px 12px;border-radius:8px}
.ticket-total strong,.ticket-total span{color:var(--dark);font-weight:800}
.ticket-code{display:block;font-size:clamp(1.15rem,4vw,1.6rem);font-family:ui-monospace,monospace;letter-spacing:.035em;margin:6px 0;overflow-wrap:anywhere}
.ticket-arrivals{border-bottom:1px solid var(--line);background:#f8faf8}

.admin-header{position:sticky;top:0;z-index:6;background:var(--nav);color:#eef6f0}
.admin-header-inner{width:min(100%,1390px);min-height:72px;margin-inline:auto;padding-inline:clamp(18px,4vw,55px);display:flex;align-items:center;justify-content:space-between;gap:12px}
.admin-header-tools{display:flex;align-items:center;gap:22px}
.portal-menu{position:relative}
.portal-menu summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 13px;color:#14291c;background:var(--accent);font-size:.93rem;font-weight:780;border:1px solid transparent;border-radius:8px;list-style:none;cursor:pointer}
.portal-menu summary::-webkit-details-marker{display:none}
.portal-menu summary:focus-visible{outline:3px solid #e8ffad;outline-offset:3px}
.menu-bars{width:16px;height:12px;display:block;border-block:2px solid currentColor;position:relative}
.menu-bars::after{content:"";width:100%;height:2px;position:absolute;top:3px;left:0;background:currentColor}
.portal-menu summary::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);margin:-3px 1px 0 4px}
.portal-menu[open] summary::after{transform:rotate(225deg);margin-top:4px}
.portal-menu nav{position:absolute;right:0;top:calc(100% + 9px);width:min(245px,calc(100vw - 36px));max-height:calc(100dvh - 87px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 32px #132b2450;padding:6px;color:var(--ink)}
.portal-menu nav a{display:flex;align-items:center;min-height:44px;padding:7px 11px;text-decoration:none;border-radius:7px;font-size:.94rem;font-weight:650}
.portal-menu nav a:hover,.portal-menu nav a:focus-visible{background:#edf5e7}
.portal-menu nav a[aria-current=page]{background:#d9f77d;color:var(--nav);font-weight:800}
@media(max-width:650px){.admin-header-inner{min-height:62px}.admin-header-tools .date-chip{display:none}}
@media(max-width:375px){.admin-header .brand{gap:8px;font-size:.89rem}.admin-header .brand small{font-size:.54rem}.portal-menu summary{padding-inline:9px}}

.desk-main{width:min(100%,1100px)}
.desk-main .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.desk-share-row{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.desk-share-row label{flex:1 1 100%}
.desk-share-row input{font-size:.85rem}
@media(max-width:460px){.desk-main .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.desk-page{
  --ink:#10243d;
  --muted:#4b6074;
  --paper:#edf2f6;
  --line:#d3dfe7;
  --nav:#10243d;
  --dark:#17603e;
  --accent:#a3e0b0;
}
.desk-page .admin-header{border-bottom:3px solid #459c68}
.desk-page .brand small,.desk-page .date-chip{color:#cedde9}
.desk-main .ticket-event{overflow:hidden}
.desk-main .ticket-event .panel-head{background:var(--nav);color:white;padding:clamp(18px,3vw,30px)}
.desk-main .ticket-event h2{font-size:clamp(1.35rem,3.5vw,2.15rem);overflow-wrap:anywhere}
.desk-main .ticket-event .panel-head p{color:#d6e3ef;font-size:.94rem}
.desk-main .ticket-event .filters{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  gap:10px;
  padding:14px;
}
.desk-main .ticket-event .btn{
  justify-content:flex-start;
  text-align:left;
  min-height:64px;
  padding:12px 14px;
  font-size:1rem;
}
.desk-main .ticket-event .btn.outline{background:#f0f5f8;color:var(--nav)}
.desk-main .metric-head{color:var(--muted)}
.desk-details{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px;align-items:start}
.desk-details > .panel{margin:0}
.desk-details > .panel:last-child:nth-child(3){grid-column:1 / -1}
.desk-details .ticket-arrivals{border-bottom:0}
.desk-main #ticket-search{min-height:46px;scroll-margin-top:90px}
.desk-details .filters label{width:100%}
@media(max-width:760px){
  .desk-main .ticket-event .filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .desk-details{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:380px){
  .desk-main .ticket-event .btn{padding-inline:9px}
  .desk-page .date-chip svg{display:none}
}

.desk-sale-fields{display:grid;gap:6px}
.sale-event{overflow-wrap:anywhere}
.sale-tier{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px solid var(--line)}
.sale-tier small{display:block;color:var(--muted);font-size:.88rem}
.sale-stepper{display:grid;grid-template-columns:44px 2ch 44px;align-items:center;gap:7px;text-align:center;font-weight:750;font-variant-numeric:tabular-nums}
.sale-stepper .btn{padding:0;min-height:44px;font-size:1.35rem}
.sale-payments{border:0;margin:8px 0 0;padding:0;min-width:0}
.sale-payments legend{padding:0;margin-bottom:6px;font-weight:750}
.sale-payments > div{display:flex;gap:6px;flex-wrap:wrap}
.sale-method{position:relative;cursor:pointer}
.sale-method input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0}
.sale-method span{display:grid;place-items:center;min-height:44px;padding:5px 10px;border:1px solid var(--line);border-radius:8px}
.sale-method input:checked + span{background:var(--dark);border-color:var(--dark);color:white}
.sale-method input:focus-visible + span{outline:3px solid #679e16;outline-offset:2px}
.sale-buyer{font-size:.9rem;margin-top:7px}
.sale-buyer summary{cursor:pointer;padding:8px 0}
.form-content:has(.desk-sale-fields){gap:9px}
.form-content:has(.desk-sale-fields) .form-error:empty{display:none}
.form-content:has(.desk-sale-fields) .actions .btn{min-height:44px}
[data-guest-fields][hidden],[data-roster-field][hidden]{display:none}

[data-two-guests][hidden]{display:none}

.admin-header,.family-top{background:#10243d;border-bottom:3px solid #459c68}
.brand small,.date-chip{color:#cedde9}
.hero{background:linear-gradient(112deg,#10243d,#16483a)}
.hero::after{content:"";position:absolute;inset:0 4% 0 auto;width:26%;background:url('/club-logo.webp') center / contain no-repeat;opacity:.78;pointer-events:none}
.hero-copy{max-width:min(640px,71%)}
.receipt-brand{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.receipt-brand img{object-fit:contain;flex:none}
@media(max-width:560px){
  .hero::after{width:36%;opacity:.18}
  .hero-copy{max-width:100%}
}

.canteen-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:10px;padding:14px}
.canteen-product{display:grid;align-content:start;gap:5px}
.canteen-product > .btn{display:grid;justify-items:start;text-align:left;min-height:65px;overflow-wrap:anywhere}
.canteen-product small{color:var(--muted);font-size:.875rem}
.canteen-quantity{display:flex;align-items:center;gap:10px;font-weight:750}
.canteen-quantity .btn{min-width:44px;min-height:44px}

.inventory-subheading{margin:12px 16px}

.inventory-model-photos{display:grid;grid-template-columns:repeat(2,minmax(0,160px));gap:12px;padding:14px 16px}
.inventory-model-photos figure{margin:0}
.inventory-model-photos img{display:block;width:100%;height:auto;border-radius:8px}
.inventory-model-photos figcaption{margin-top:4px;color:var(--muted);font-size:.875rem}
#clock-sessions{display:grid;gap:12px}
#clock-sessions .panel{padding:16px}
#clock-sessions .btn{margin-top:10px;display:block}
#clock-login[hidden]{display:none}
#clock-tools[hidden]{display:none}
#clock-tools{display:flex;flex-wrap:wrap;gap:14px;margin-block:12px}
#clock-tools form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
#clock-sessions form{display:grid;gap:8px;margin-top:14px}
#clock-sessions form button{justify-self:start}

.header-menu-link{background:#eff6f0;color:#162a20;min-height:44px;white-space:nowrap}
.header-menu-link:hover{background:#d9f77d;color:#14291c}
.header-menu-link[hidden],#coach-menu [hidden],.coach-home [hidden]{display:none}
.admin-header-tools:has(.header-menu-link){gap:8px}
.coach-home,.coach-home section{scroll-margin-top:86px}
.coach-home #ponches{margin-top:24px}
.coach-commitment{padding:12px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.coach-commitment p{margin-top:4px}
@media(max-width:390px){
  .admin-header-tools .header-menu-link{padding-inline:8px;font-size:.82rem}
  .admin-header-tools:has(.header-menu-link) .menu-bars{display:none}
}
@media(max-width:520px){
  .family-top-content:has(.header-menu-link){flex-wrap:wrap;padding-block:8px}
}

.portal-access{max-width:560px}
.portal-access form{display:grid;gap:14px;margin-bottom:16px}
.portal-access [hidden]{display:none}
.portal-access .btn{justify-self:start}
.portal-access #access-help{margin-top:16px}
.portal-access #access-status:not(:empty){margin-top:12px;font-weight:650}

.family-audience{display:grid;gap:6px;max-height:300px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:8px}
.family-audience legend{font-weight:700;padding-inline:4px}
.family-audience .check-label{padding:4px;min-height:38px}
.family-audience small{color:var(--muted)}

.team-roster-list{display:grid;gap:8px}
.team-roster{padding:12px;border:1px solid var(--line);border-radius:9px}
.team-roster summary{cursor:pointer;font-weight:650}
.team-roster summary small{display:block;margin:5px 0 0 16px;color:var(--muted);font-weight:400}
.team-members{list-style:none;margin:10px 0;padding:0}
.team-members li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;border-top:1px solid var(--line)}

.family-share label{display:block;font-weight:650;margin-bottom:.5rem}
.family-share input{flex:1 1 18rem;min-width:0}
.family-share [role="status"]:empty{display:none}

.training-attendance{display:grid;gap:.75rem;margin-top:1rem}
.training-attendance h3,.training-attendance p{margin:0}
.training-attendance [role="status"]:empty{display:none}
.training-attendance .btn{justify-self:start}
.training-attendance-roster{display:grid;gap:.5rem}
.training-attendance-roster label{display:grid;grid-template-columns:minmax(0,1fr) minmax(9rem,12rem);align-items:center;gap:.5rem}

.jersey-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(2rem,1fr));gap:.25rem;margin:.65rem 0}
.jersey-grid button{width:100%;aspect-ratio:1;min-height:2rem;padding:0;border:1px solid #8da5a0;border-radius:.35rem;background:#fff;color:#14342a;font:inherit;cursor:pointer}
.jersey-grid button[aria-pressed=true]{background:#17694c;color:white;border-color:#17694c}
.jersey-grid button:disabled{opacity:.45;cursor:default}
.goal-dorsals{display:flex;flex-wrap:wrap;gap:.4rem;margin:.65rem 0}
.goal-dorsals:empty{display:none}
.goal-dorsals .btn{min-width:3rem;min-height:3rem;padding:.3rem .55rem;font-size:1.15rem;font-weight:800;font-variant-numeric:tabular-nums}

.scoreboard-desk .desk-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.5rem,2vw,1rem)}
.scoreboard-desk .desk-team{min-width:0;padding:clamp(.55rem,2vw,1.1rem);border:1px solid #b8d1ca;border-top:4px solid #17694c;border-radius:.75rem;background:#f3f9f6}
.scoreboard-desk .desk-away{border-top-color:#2d6f9f;background:#f0f7fd}
.scoreboard-desk .desk-team h2{font-size:clamp(1.05rem,2.5vw,1.55rem);overflow-wrap:anywhere;margin:0}
.scoreboard-desk .desk-team output{display:block;font-size:clamp(1.2rem,3vw,1.9rem);font-weight:800;font-variant-numeric:tabular-nums}
.scoreboard-desk .desk-team p{margin:.1rem 0 .45rem}
.scoreboard-desk .desk-team .actions{margin-top:.45rem}
.scoreboard-desk .desk-team .btn{min-height:44px}
.scoreboard-desk .desk-live-controls{padding:.65rem .75rem;margin:.5rem 0 .9rem;background:#f1f7f5;border:1px solid #bdd3cb;border-radius:.65rem}
.scoreboard-desk .desk-live-controls p{margin:0 0 .45rem}
.scoreboard-desk #clock{font-weight:800;font-size:clamp(1rem,2.5vw,1.5rem);font-variant-numeric:tabular-nums}
.scoreboard-desk #exclusions:empty,.scoreboard-desk #closed-quarters:empty{display:none}
.scoreboard-desk #exclusions{color:#7c301b}
.scoreboard-desk .desk-clock-actions,.scoreboard-desk .desk-match-actions{gap:.4rem;flex-wrap:wrap}
.scoreboard-desk .desk-clock-actions .btn,.scoreboard-desk .desk-match-actions .btn{min-height:44px}
.scoreboard-desk #notice:not(:empty){padding:.5rem;background:#eaf5ef;border-radius:.4rem}
.scoreboard-desk .goal-dorsals .btn{flex:none;min-width:44px;min-height:44px;touch-action:manipulation}
#scoreboard-corrections{max-height:calc(100dvh - 1.2rem);overflow:auto}
#scoreboard-corrections input,#scoreboard-corrections select,.scoreboard-desk input,.scoreboard-desk select{font-size:1rem;min-height:44px;max-width:100%}
@media(max-width:1000px){
  .scoreboard-desk .desk-live-controls{position:sticky;top:env(safe-area-inset-top,0px);z-index:3}
  .scoreboard-desk #discipline{scroll-margin-top:11rem}
}
@media(max-width:600px){
  .scoreboard-desk .panel{padding:.7rem}
  .scoreboard-desk .desk-match-bar>label{width:100%}
  .scoreboard-desk .goal-dorsals{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:.3rem}
  .scoreboard-desk .goal-dorsals:empty{display:none}
  .scoreboard-desk .goal-dorsals .btn{justify-content:center}
  .scoreboard-desk .desk-clock-actions .btn,.scoreboard-desk .desk-team .actions .btn{flex:1 1 auto;justify-content:center}
  .scoreboard-desk .form-content{padding:.75rem 0}
  #scoreboard-corrections .form-content{padding:.65rem .75rem}
}

.access-identity {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: .25rem .75rem;
  padding: .55rem .85rem;
  color: #fff;
  background: #19364a;
  border-block-start: 1px solid #ffffff40;
  font-size: .9rem;
  overflow-wrap: anywhere;
}
.access-identity span { color: #d8efb5; }
