/* Mobile scouting surfaces, shared by phone and tablet. */
.hub-theme-control select{height:40px;min-width:112px;border:1px solid #ffffff45;background:transparent;color:inherit;border-radius:10px;padding:0 12px;font:inherit}.hub-theme-control option{background:var(--panel);color:var(--ink)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.hub-phone-agenda{display:grid;gap:12px}.hub-phone-agenda .hub-period-day{min-height:0;border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--panel)}
.hub-phone-agenda h3{margin:0 0 8px}.hub-phone-agenda h3 .btn{border:0;background:transparent;padding:0;text-align:left;font-weight:600}
.hub-events-month .evt{background:var(--panel-2);color:var(--ink);white-space:normal;text-align:left;min-width:0;width:100%}.hub-day-dots{display:flex;flex-wrap:wrap;gap:3px;margin:6px 0}.hub-day-dots i{width:6px;height:6px;border-radius:50%}.hub-activity-count{float:right;color:var(--ink-3);font-size:11px}
.help-layout{height:calc(100dvh - 240px);min-height:260px;grid-template-columns:220px minmax(0,1fr);align-items:stretch;overflow:hidden}.help-nav,.help-content{height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:24px}.help-nav{position:static}.help-content{scroll-behavior:smooth}#helpContents{display:none}.help-nav a{min-height:36px;display:flex;align-items:center;cursor:pointer}
.hub-tutorial-mask{position:fixed;inset:0;z-index:30000;background:#061d1580;display:flex;align-items:center;justify-content:center;padding:16px}.hub-tutorial{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:18px;width:460px;max-width:100%;max-height:85dvh;overflow:auto;padding:24px;box-shadow:0 20px 80px #0004}.hub-tutorial h2{margin:10px 0;font-size:25px}.hub-tutorial p{line-height:1.6}.hub-tutorial small{color:var(--ink-3)}.hub-tutorial-actions{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 10px}.hub-tutorial button{min-height:44px}
@media(max-width:1024px) and (orientation:portrait){.help-layout{grid-template-columns:minmax(0,1fr);position:relative}#helpContents{display:inline-flex}.help-nav{display:none;position:absolute;inset:0 auto 0 0;width:min(340px,95%);background:var(--panel);z-index:20;padding:14px;border:1px solid var(--line);box-shadow:12px 0 30px #0002}.help-nav.is-open{display:block}}
@media(max-width:600px){
 body{font-size:14px}main,#view{min-width:0}.hub-calendar-controls{padding:10px!important}.hub-calendar-top{gap:6px!important;flex-wrap:wrap}.hub-calendar-top h2{font-size:21px;flex:1;min-width:140px}.hub-calendar-top .grow{display:none}.hub-calendar-top .hub-view-select{flex-basis:100%;display:flex;align-items:center;justify-content:space-between}.hub-view-select select{flex:1;max-width:240px}.hub-calendar-filters{gap:6px!important}.hub-filter-menu{max-width:100%}.hub-filter-menu summary{font-size:12px;padding:8px!important}.hub-filter-options{max-width:calc(100vw - 32px)}
 .hub-calendar-legend{gap:7px;font-size:11px;padding:8px 0}.hub-calendar-legend span{white-space:nowrap}.hub-agenda-main{padding:10px;min-width:0}.hub-agenda-main strong{font-size:17px;white-space:normal;overflow-wrap:anywhere}.hub-agenda-item{gap:4px}.hub-agenda-item>.btn{font-size:12px;padding:8px;min-height:44px}.hub-period-day h3{font-size:15px}
 .eventlist,.eventlist tbody{display:block;width:100%}.eventlist thead{display:none}.eventlist tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto;padding:12px!important;gap:5px 8px;border-bottom:1px solid var(--line);height:auto!important}.eventlist td{display:block!important;border:0!important;padding:0!important;width:auto!important;max-width:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.eventlist .c-dot{display:none!important}.eventlist .c-opp{grid-column:1/-1;grid-row:1;font-size:18px;line-height:1.3;overflow-wrap:anywhere;font-weight:650}.eventlist .c-date{grid-row:2;grid-column:1/-1;font-size:12px}.eventlist .c-venue{grid-column:1/-1;font-size:12px}.eventlist .c-cat,.eventlist .c-flags,.eventlist .c-comp{font-size:11px}.eventlist .c-flags{grid-column:1/-1}
 .hub-events-month{grid-template-columns:repeat(7,minmax(0,1fr))!important}.hub-events-month .day{min-height:70px!important;padding:5px!important;cursor:pointer}.hub-events-month .n{font-size:17px}.hub-events-month .hub-day-previews{display:none}.hub-events-month .hd{font-size:11px;padding:6px 0}.hub-day-dots{max-height:22px;overflow:hidden}
 #dayMask{align-items:flex-end;padding:0}#dayMask>.pmodal{width:100%;max-height:88dvh!important;border-radius:18px 18px 0 0;margin:0!important;padding-bottom:env(safe-area-inset-bottom)}#dayMask .bar-top{padding:16px!important}#dayMask .bar-top .n{font-size:23px}#dayMask .body{padding:14px}#dayMask .fx{display:flex;flex-wrap:wrap;gap:8px}#dayMask .who{flex:1;min-width:170px}#dayMask .fx>.btn{margin-left:auto;min-height:44px}
 .help-search{gap:8px}.help-search input{min-width:0;width:100%;flex-basis:100%}.help-layout{height:calc(100dvh - 300px);grid-template-columns:1fr;position:relative}#helpContents{display:inline-flex}.help-nav{display:none;position:absolute;inset:0;width:100%;background:var(--panel);z-index:20;padding:12px}.help-nav.is-open{display:block}.help-entry{padding:14px}.help-entry h3{font-size:21px}
 .hub-tutorial-mask{align-items:flex-end;padding:8px}.hub-tutorial{padding:20px;border-radius:18px;padding-bottom:max(20px,env(safe-area-inset-bottom))}
 input,select,textarea{font-size:16px!important}button,.btn{min-height:40px}.hub-theme-control select{min-width:96px;font-size:13px!important}.bar-top{padding:16px!important}.pmodal .n{overflow-wrap:anywhere}#nbMask input,#nbMask select{width:100%;min-width:0}.help-search .btn{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.help-content{scroll-behavior:auto}}
.hub-calendar-filter-group>summary{display:none}.hub-calendar-filter-group{border:0;padding:0}
@media(max-width:600px){
.hub-calendar-filter-group>summary{display:block;cursor:pointer;border:1px solid var(--line);border-radius:9px;min-height:40px;padding:10px;font-size:12px}.hub-calendar-filter-group[open]>summary{margin-bottom:8px}.hub-calendar-filter-group>summary:after{content:' ▾'}
.hub-phone-agenda .hub-agenda-item{display:flex;align-items:center;padding:5px}.hub-phone-agenda .hub-agenda-main{flex:1}.hub-phone-agenda .hub-agenda-item>.btn{margin:0;flex:none}
.hero-body{display:grid!important;grid-template-columns:1fr 1fr}.hero-body .fld{width:auto!important;min-width:0!important;padding:10px!important}.hero-body .who{grid-column:1/-1;grid-row:1}.hero-body .where{border-left:1px solid var(--line)}.hero-body .lab{display:none}.hero-body .big{font-size:20px}.hero-body .when .big{font-size:14px}.hero-body .sub{font-size:11px}.hero-top{padding:8px!important}.hero-row{gap:6px}.weekbox{padding:6px!important;min-height:34px!important}.weekbox .val{font-size:18px!important}
}
.help-search #tutorialTopic{width:210px;flex:0 1 210px;min-height:44px}.help-search input{min-width:160px}#dayMask [data-id],#dayMask [data-eid]{cursor:pointer}
@media(max-width:600px){.help-search #tutorialTopic{flex:1;min-width:0;width:150px}.hub-events-month .day{min-height:65px!important}.hub-calendar-top h2{font-size:19px}}
.tutorial-hint{display:block;margin-top:14px;line-height:1.5}.tutorial-guide-target{outline:2px solid var(--green);outline-offset:-2px}
@media(max-width:600px){.hub-going-next .mrow{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:12px!important}.hub-going-next .mname{display:block!important;grid-column:1/-1;grid-row:1;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:18px;line-height:1.35;min-width:0;max-width:none;font-weight:650}.hub-going-next .mdate{grid-column:1/-1;white-space:normal;font-size:12px}.hub-going-next .mplace{display:block!important;grid-column:1/-1;white-space:normal;font-size:12px}.hub-going-next .mcat,.hub-going-next .mwhen{display:block!important;white-space:normal;font-size:11px}.hub-going-next .dot{display:none}.hub-going-next .mrow{border-left:3px solid var(--line)}header .icon-btn{font-size:11px;padding:6px 8px!important}#tutorialBtn{min-height:40px}}
@media(max-width:600px){.top-actions{width:auto;min-width:0;gap:2px!important;flex-wrap:nowrap;margin-left:auto}.top-actions #profBtn{max-width:76px;min-width:0;overflow:hidden}}

/* In-gym event roster: keep the current event and a note action within thumb reach. */
.te-prow-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.te-player-name{color:inherit;text-decoration:none}
.te-player-name:hover,.te-player-name:focus-visible{color:var(--green);text-decoration:underline}
@media(max-width:600px){
 #eMask{padding:0!important;overflow:hidden}
 #eMask .pmodal.ev{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;display:flex;flex-direction:column;overflow:hidden}
 #eMask .pmodal.ev .gd-head{flex:none;padding:16px 54px 12px 16px!important}
 #eMask .pmodal.ev .gd-head .n{font-size:23px;line-height:1.15}
 #eMask .pmodal.ev .gd-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px 12px calc(24px + env(safe-area-inset-bottom))!important}
 #eMask .ev-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
 #eMask .ev-actions #eQuick{order:-1;flex:1 1 100%;min-height:48px;justify-content:center;background:var(--green);border-color:var(--green);color:#fff;font-weight:700}
 #eMask .ev-actions .btn:not(#eQuick){flex:1;min-height:44px;justify-content:center}
 #eMask .gd-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;position:sticky;top:0;z-index:5;background:var(--panel);padding:6px 0;border-bottom:1px solid var(--line)}
 #eMask .gd-tabs::-webkit-scrollbar{display:none}
 #eMask .gd-tabs button{flex:none;min-height:44px;padding:8px 12px}
 #eMask .ev-teams{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #eMask .ev-team{min-height:100px!important;padding:10px 6px!important}
 #eMask .ev-team .clogo{width:36px!important;height:36px!important}
 #eMask .te-panel{padding:10px;margin-top:10px}
 #eMask .te-panel-h{flex-wrap:wrap;gap:5px 8px}
 #eMask .te-panel-h .muted{flex-basis:calc(100% - 44px);font-size:12px}
 #eMask .te-players{grid-template-columns:minmax(0,1fr);gap:8px}
 #eMask .te-prow{display:grid;grid-template-columns:40px minmax(0,1fr);gap:4px 10px;padding:10px;min-width:0}
 #eMask .te-prow .grow{overflow:visible}
 #eMask .te-prow .grow b{white-space:normal;line-height:1.3;font-size:15px}
 #eMask .te-prow-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:5px}
 #eMask .te-prow-actions .btn{min-height:44px;justify-content:center;font-size:13px;padding:8px!important;text-align:center}
 #eMask .te-prow-actions .pill{align-self:center;justify-self:center}
 #eMask .poi-form-grid{grid-template-columns:1fr}
 #eMask .poi-span{grid-column:auto}
 #eMask .poi-form-f{position:sticky;bottom:0;background:var(--green-soft);padding:8px 0 calc(8px + env(safe-area-inset-bottom));z-index:3}
 #eMask .poi-form-f .btn{min-height:44px;flex:1;justify-content:center}
}
