/* ACTIVE EDGE — fixed shared artwork, charcoal surfaces, lime actions.
   This layer intentionally replaces the earlier editorial palette. */
:root,html[data-sport]{color-scheme:light;--bg:#f4f6f3;--bg-2:#e9ede7;--card:#fff;--ink:#242b26;--ink-2:#455347;--ink-3:#526154;--line:#e0e5df;--line-2:#bcc6bd;--brand:#36521f;--brand-2:#294315;--brand-ink:#ffffff;--accent:#d5ef67;--accent-ink:#20251f;--brand-soft:#f0f6da;--brand-soft-2:#f5f8e9;--side:#252c27;--side-2:#303a32;--side-ink:#f2f6ef;--side-ink-2:#b6c1b7;--navy:#27372c;--navy-soft:#eef3eb;--teal:#3b5c30;--teal-soft:#eff5e7;--grey-soft:#f0f3ee;--grad:linear-gradient(#2d412b,#2d412b);--radius:6px;--radius-sm:4px;--shadow:0 2px 8px #24302404;--active-dark:#252c27}
html{scroll-padding-top:100px}body{font-family:var(--font);font-size:14px;background:var(--bg)}h1,h2,h3{font-family:var(--font)!important;letter-spacing:-.035em}a{color:#3d5c26}.btn,.lp-refreshed .lp-btn{border-radius:5px;min-height:44px;font-weight:700;box-shadow:none}.btn.primary,.lp-refreshed .lp-btn.solid{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);box-shadow:none}.btn.primary:hover,.lp-refreshed .lp-btn.solid:hover{background:#c6e44c;color:#20251f;border-color:#b8d63a}.btn:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #6c8c19;outline-offset:3px}.btn:not(.primary){color:var(--ink);background:var(--card)}input:focus,select:focus,textarea:focus{border-color:#718d30;box-shadow:0 0 0 3px #d5ef6755}.card,.sc-card,.so-card,.guide-card,.guide-shortcut{border-radius:6px!important;box-shadow:none!important}.brand b,.lp-brand b,.family-login-brand b,.help-brand{font-family:Arial,var(--font);font-size:25px;letter-spacing:-.06em;font-style:italic;font-weight:900}.brand .logo,.lp-brand .logo,.family-login-brand .logo{background:var(--side);color:var(--accent);border-radius:4px;box-shadow:none}.brand .logo svg,.lp-brand .logo svg,.family-login-brand .logo svg{stroke:var(--accent)}.editorial-kicker,.ui-eyebrow{color:#4b6032;font:700 10px/1.6 var(--font);letter-spacing:.18em}table.list thead th{background:#edf1ec;color:#536057;font-size:11px}table.list tbody td{border-bottom-color:var(--line)}.score-line .sc,.active-kid-summary dd{font-variant-numeric:tabular-nums}.chip[aria-pressed=true]{background:var(--brand-soft);border-color:#839b42;color:#33451e}.badge{border-radius:4px}.logo svg{flex:none}
/* Official team workspace */
body.app .side{background:var(--side);border-right:1px solid #364039;padding:24px 16px}body.app .side .brand{padding-bottom:20px;border-color:#ffffff16}body.app .side .brand b{font-size:25px}body.app .side .brand small{font-size:9px;color:#b6c1b7}body.app .org-pill,body.app .me-card{background:#ffffff03;border-color:#ffffff16;border-radius:4px}body.app .org-pill .dot{background:var(--accent)}body.app .mode-pill.fixed{border-color:#ffffff16;color:#e9f0e8;background:transparent}body.app .mode-pill .mi{color:var(--accent)}body.app .mode-pill small{color:#bdc9bb}body.app nav.tabs a{border-radius:4px;padding:12px 13px;color:#cbd5ca;font-size:13px}body.app nav.tabs a[aria-current=page]{background:#d5ef6712;color:#e5fa9a;border-left:3px solid var(--accent);padding-left:10px}body.app nav.tabs .nav-h{color:#a1b19f;letter-spacing:.12em}body.app .topbar{background:#fff;border-bottom:1px solid var(--line);padding-top:20px;padding-bottom:20px}body.app .topbar h1{font-size:21px}body.app .topbar .sport-chip{background:var(--grey-soft);color:#40543b}body.app .topbar p{max-width:44em;font-size:12px}body.app .wrap{max-width:1450px;padding:24px 32px 50px}body.app .wrap .card{background:var(--card);padding:22px;border-color:var(--line);border-radius:6px}.workspace-note{border:0;padding:0;margin-bottom:18px;color:#72806f;font-size:10px}.workspace-note span{font-family:var(--font);color:#4b6032}.desk-cover{grid-template-columns:1.1fr 1fr;gap:30px;border:0;background:var(--card);padding:26px;margin-bottom:14px;border-radius:6px}.desk-cover .editorial-kicker{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(30px,3vw,44px);line-height:1.1;letter-spacing:.015em;color:#232b25}.desk-cover h2{font-size:17px!important;margin:8px 0 12px;letter-spacing:0}.desk-cover p{font-size:12px;line-height:1.8;margin:0 0 18px}.desk-cover .btn{min-width:210px;justify-content:space-between;font-size:15px}.active-desk-photo{position:relative;align-self:stretch;min-height:230px;border-radius:5px;overflow:hidden;background:#252c27}.active-desk-photo img{display:block;position:absolute;width:100%;height:100%;object-fit:cover}.active-desk-photo figcaption,.active-family-photo figcaption,.active-image-label{position:absolute;right:10px;bottom:10px;background:#182019bb;color:#edf4eb;font-size:9px;padding:3px 7px;border-radius:3px;z-index:3}.desk-shortcuts{gap:12px;border:0;margin-bottom:24px}.desk-shortcuts a{background:var(--card);border:1px solid var(--line);border-radius:5px;margin:0;padding:18px 32px 18px 16px}.desk-shortcuts a:last-child{border:1px solid var(--line)}.desk-shortcuts span{font:700 9px var(--font);letter-spacing:.1em;color:#718067}.desk-shortcuts b{font-size:13px}.desk-shortcuts i{color:#6d8531;right:12px}.active-records h2{font-size:19px}.editorial-import summary{font-size:14px}.editorial-import summary small{color:#697463}body.app .demo{border-radius:4px;background:#eff4e6;color:#4c5c3e}
/* Family: static artwork, real child data, no portrait or team-photo registration. */
body.family-home .topbar{background:#252c27;border-color:#344137;color:#fff;padding:17px max(22px,calc((100vw - 1120px)/2));box-shadow:none}body.family-home .topbar .brand b{color:#f0f6ec!important;font-size:17px;font-style:normal;font-family:var(--font)}body.family-home .topbar .brand small{color:#bdccba!important}body.family-home .topbar .brand .logo{background:#384534}body.family-home .topbar .btn{color:#eaf2e5;background:transparent;border-color:#64705e;font-size:11px}body.family-home .wrap{max-width:1120px!important;padding:24px 24px 56px}body.family-home .card.family-welcome{display:block;position:relative;isolation:isolate;background:#252c27;border:0;border-radius:6px;padding:38px 32px;min-height:330px;overflow:hidden}.active-family-photo{position:absolute;inset:0;z-index:0;margin:0;pointer-events:none}.active-family-photo img{width:100%;height:100%;object-fit:cover;object-position:65% 50%}.active-family-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#1a251ff2 0%,#1c271fe0 35%,#1b261e70 65%,#1b261e18)}.active-family-photo figcaption{z-index:2}.family-cover-copy{position:relative;z-index:1;max-width:62%}.family-home .family-welcome .ui-eyebrow{color:#d5ef67;font-size:9px}.family-home .family-cover-title{font-family:var(--font);font-size:clamp(26px,3.4vw,38px);font-weight:800;line-height:1.5;letter-spacing:-.045em;color:#fff;margin:14px 0 18px}.family-home .family-cover-title::after{content:'';display:block;width:90px;height:4px;background:var(--accent);margin-top:18px}.family-home .family-welcome h2{font-size:13px;color:#f0f6ec}.family-home .family-welcome .lead,.family-home .family-welcome .muted,.family-home .family-welcome .family-caption{color:#d7e3d4;font-size:12px}.family-home .family-welcome .kid{background:#253321ad;color:#fff;border-color:#7e906c}.family-home .family-welcome .btn.primary{background:var(--accent);color:#20251f;border-color:var(--accent)}.family-home .family-welcome .btn:not(.primary){background:#1f2b21b3;color:#f2f7eb;border-color:#90a37d}.family-cover-actions{gap:8px;margin-top:16px}.family-cover-actions .btn{font-size:11px;padding:9px 12px}.family-home .pp-tabs{background:#fff;border:1px solid var(--line);padding:0;border-radius:5px;gap:0;margin:18px 0}.family-home .pp-tabs button{min-height:52px;border-radius:0;color:#536057;font-size:12px}.family-home .pp-tabs button[aria-selected=true]{color:#233021;background:#fff;box-shadow:inset 0 -4px var(--accent);font-weight:800}.family-home .card:not(.family-welcome){background:#fff;border-radius:6px!important;padding:24px;border-color:var(--line)}.family-home .row-btns .btn.primary{background:#eaf2d0;color:#293c1b;border-color:#b2c87b}.active-kid-highlights{display:grid;gap:12px;margin:20px 0}.active-kid-highlights:empty{display:none}.active-kid-summary{display:flex;gap:24px;align-items:center;flex-wrap:wrap;background:#f8faf5;padding:22px;border:1px solid var(--line);border-radius:5px}.active-kid-name{display:flex;gap:14px;align-items:center;flex:1 1 220px;min-width:0}.active-kid-name h3{margin:3px 0;font-size:19px;overflow-wrap:anywhere}.active-kid-name small{font-size:10px;color:#617254}.active-shirt{display:grid;place-items:center;flex:none;width:62px;height:64px;background:#293525;color:#e0f78a;border:2px solid #cde66b;border-radius:9px 9px 3px 3px;font:38px/1 Impact,'Arial Narrow',sans-serif}.active-kid-summary dl{margin:0;display:grid;grid-template-columns:repeat(3,minmax(60px,1fr));gap:24px;flex:1 1 300px}.active-kid-summary dl>div{text-align:center;border-left:1px solid #dce4d5;padding-left:12px}.active-kid-summary dt{font-size:11px;color:#607057}.active-kid-summary dd{margin:6px 0 0;color:#232b25;font:40px/1 Impact,'Arial Narrow',sans-serif;letter-spacing:.01em}.family-home .pp-links a{background:#f5f8ef;border-color:#e0e8d4;border-radius:5px}.family-home .pp-games td[data-label="スコア"]{font-weight:800;font-size:16px}
/* Public home and entry points */
.lp-refreshed .lp-nav{background:#252c27;border:0;box-shadow:none;padding-top:20px;padding-bottom:20px}.lp-refreshed .lp-brand,.lp-refreshed .lp-brand b{color:#f4f9f0}.lp-refreshed .lp-tag{color:#bccbb7;font-size:10px}.lp-refreshed .lp-links a{color:#dce6d7}.lp-refreshed .lp-links a[aria-current],.lp-refreshed .lp-links a:hover{color:#e1f790;border-bottom-color:#d5ef67}.lp-refreshed .lp-btn.ghost{background:transparent;color:#f4f9ef;border-color:#75836b}.lp-refreshed .lp-hero.lp-hero-stadium{position:relative;background:#252c27;color:#fff;border:0}.lp-refreshed .lp-hero-in{max-width:1370px;padding:58px 44px;gap:44px;grid-template-columns:1fr 1.04fr}.lp-refreshed .lp-hero .lp-eyebrow{font:700 10px var(--font);color:#d5ef67;letter-spacing:.24em;border:0;padding:0;margin-bottom:24px}.lp-refreshed .lp-hero h1{font-family:var(--font)!important;font-weight:900;font-size:clamp(34px,4vw,57px);line-height:1.45;letter-spacing:-.055em;color:#fff}.lp-refreshed .lp-hero h1 em{color:#d5ef67}.lp-refreshed .lp-hero-stadium .lp-lead{color:#d4dfcf;font-size:14px}.lp-refreshed .lp-hero .family-entry{color:#eef5e8;background:#35412e;border-color:#84956b}.lp-refreshed .lp-entry-note{color:#b2c0a9}.lp-refreshed .lp-sport-pills span{color:#c5d4ba;border-right:1px solid #526044;padding:3px 12px}.lp-refreshed .lp-sport-pills span:first-child{padding-left:0}.lp-refreshed .lp-sport-pills span:last-child{border:0}.lp-refreshed .lp-hero-visual{min-height:440px;border-radius:5px;background:linear-gradient(0deg,#17251ed4,transparent 75%),url('img/active-baseball.webp') 67% center/cover;box-shadow:none;transform:none}.lp-refreshed .lp-visual-label{color:#d5ef67;background:#263120bf;border:1px solid #8d9d734d;border-radius:3px;font-size:9px}.lp-refreshed .lp-visual-dot{background:#d5ef67}.lp-refreshed .lp-visual-caption b{font-family:var(--font);font-size:26px;font-weight:800}.lp-refreshed .lp-visual-caption small{color:#e4eddc}.lp-refreshed .lp-sec{max-width:1280px}.lp-refreshed .lp-head h2,.lp-refreshed .lp-feat h2{font-family:var(--font)!important;font-weight:800;font-size:28px}.lp-refreshed .lp-feat,.lp-refreshed .lp-news,.lp-refreshed .lp-plan,.lp-refreshed .lp-faq details,.lp-refreshed .lp-start-grid>div{background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:none}.lp-refreshed .lp-kicker{color:#597239;font-weight:800}.lp-refreshed .lp-f-ic{color:#394e2a;background:#eff5e3;border-radius:4px}.lp-refreshed .lp-price,.lp-refreshed .lp-signup{background:#252c27;color:#fff;border-radius:6px}.lp-refreshed .lp-signup p{color:#c4d2ba}.lp-refreshed .lp-plan-tag{background:#edf5d6;color:#3b5126;border-radius:4px}.lp-refreshed .lp-foot{background:#252c27;color:#c6d4bd}.lp-refreshed .lp-dlg{background:#fff;border-radius:6px}.lp-themed{--ac:#859d35!important}.lp-themed .vis-chip{background:#22301acc;color:#e5f2dc}.lp-themed .vis-txt{font-family:var(--font)}.lp-themed .vis-txt .vis-ja{font-size:27px}.active-image-label{top:12px;bottom:auto}.family-entry-page{background:#f5f7f2}.family-login-nav{padding-top:26px;padding-bottom:26px}.family-login-brand{color:#243021}.family-entry-page .auth{gap:58px}.family-entry-page .auth-hero h1{font-size:clamp(32px,4vw,49px);font-family:var(--font);font-weight:900}.family-entry-page .auth-hero h1 em{color:#4b672a;-webkit-text-fill-color:#4b672a}.family-entry-page .auth-card{background:#fff;border:1px solid var(--line);border-top:4px solid #d5ef67;border-radius:6px;box-shadow:none}.family-entry-page .auth-card h2{font-family:var(--font);font-size:25px;font-weight:800}.family-entry-page .auth-card .btn.primary{background:var(--accent);color:#20251f;border-color:var(--accent)}.family-sport-strip>span{background:#eaf0df;color:#465d30;border-radius:5px}.active-no-upload{font-size:11px;color:#5c6c50;padding-left:12px;border-left:3px solid #c5df60}.family-auth:not(.family-entry-page) .auth-hero{background:#eef4e6;color:#293525}.family-auth .auth-hero h1 em{-webkit-text-fill-color:#4b672a;color:#4b672a}.family-auth .auth-hero .brand{color:#293525}
/* Supporting screens inherit the same identity. */
.help-brand{color:#263022}.help-hero{border-top:3px solid #c9e363}.help-hero h1{font-family:var(--font)!important;font-weight:800}.guide-card,.guide-shortcut{border:1px solid var(--line);border-top:3px solid #d5ef67}.guide-symbol{color:#40572a;background:#eff5e3;border-radius:5px}.help-notes{background:#eef4e3;border-radius:6px}.so-head,.sc-head{border-bottom-color:#dce3d5}.sc-head h1{font-family:var(--font);font-weight:800}.sc-big.primary{background:#d5ef67;color:#20251f;border-color:#c3de5a}.sc-chips button[aria-pressed=true]{background:#eaf3d4;color:#314522;border-color:#8fa955}.so-zipbar{background:#f0f6e4}.gallery-editorial{--accent:#526e27}.gallery-editorial header h1{font-family:var(--font)}
@media(max-width:1100px){body.app .wrap{padding:20px 22px 50px}.desk-cover{gap:22px;padding:22px}.desk-cover .editorial-kicker{font-size:34px}.desk-cover .btn{min-width:185px}.active-desk-photo{min-height:225px}.lp-refreshed .lp-hero-in{padding:44px 30px;gap:30px}.lp-refreshed .lp-tag{display:none}}
@media(max-width:900px){body.app .side{padding:0}body.app nav.tabs a{padding:9px 3px;font-size:11px}body.app nav.tabs a[aria-current=page]{border-left:0;box-shadow:inset 0 3px var(--accent);padding-left:3px}body.app .topbar{padding:14px 18px}.desk-cover .editorial-kicker{font-size:38px}.lp-refreshed .lp-links{gap:14px}.family-cover-copy{max-width:75%}}
@media(max-width:720px){.lp-refreshed .lp-hero-in{grid-template-columns:1fr;padding:32px 22px;gap:26px}.lp-refreshed .lp-hero h1{font-size:40px}.lp-refreshed .lp-hero-visual{min-height:320px}.family-entry-page .auth{gap:30px}.family-entry-page .auth-hero h1{font-size:33px}body.family-home .wrap{padding:20px 16px 40px}body.family-home .topbar{padding:14px 18px}body.family-home .card.family-welcome{min-height:310px;padding:28px 24px}.family-home .family-cover-title{font-size:31px}.family-cover-copy{max-width:85%}.active-family-photo img{object-position:75% center}.active-family-photo::after{background:linear-gradient(90deg,#1a251ff2,#1b261eb3 65%,#1b261e66)}.family-home .card:not(.family-welcome){padding:19px}.active-kid-summary{padding:18px;gap:18px}.active-kid-summary dl{gap:14px;flex-basis:100%}.active-kid-summary dd{font-size:36px}.family-home .pp-tabs button{font-size:11px;padding:9px 3px}.family-home .topbar .brand{flex-basis:100%}}
@media(max-width:540px){body.app .wrap{padding:18px 14px 90px}.desk-cover{grid-template-columns:1fr;padding:20px;gap:22px}.desk-cover .editorial-kicker{font-size:39px}.desk-cover p br{display:none}.active-desk-photo{min-height:170px}.desk-shortcuts{grid-template-columns:1fr;gap:7px;margin-bottom:18px}.desk-shortcuts a{display:grid;grid-template-columns:90px 1fr;align-items:center;padding:15px 28px 15px 13px;gap:10px}.desk-shortcuts span{margin:0}.desk-shortcuts b{font-size:13px}.desk-shortcuts i{bottom:11px}.lp-refreshed .lp-nav{padding:15px 16px;gap:12px}.lp-refreshed .lp-brand b{font-size:23px}.lp-refreshed .lp-auth{gap:6px}.lp-refreshed .lp-auth .lp-btn{font-size:11px;padding:8px 10px}.lp-refreshed .lp-hero h1{font-size:35px}.lp-refreshed .lp-hero .lp-cta{flex-wrap:wrap}.lp-refreshed .lp-hero .lp-cta .lp-btn{flex:1;text-align:center;white-space:nowrap}.lp-refreshed .lp-hero-visual{min-height:290px}.lp-refreshed .lp-sport-pills span{font-size:10px;padding:3px 7px}.family-cover-copy{max-width:100%}.family-home .family-cover-title{font-size:29px}.family-home .pp-tabs button{font-size:10px}.active-kid-summary dd{font-size:34px}.active-kid-summary dl{gap:8px}.active-kid-summary dl>div{padding-left:8px}.active-shirt{width:53px;height:56px;font-size:33px}.active-kid-name h3{font-size:18px}.active-kid-summary{padding:16px}.family-cover-actions{flex-direction:row}.family-cover-actions .btn{font-size:10px;flex:1}.help-header,.help-wrap{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.active-recent-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:30px;margin-bottom:12px}.active-recent-heading h3{margin:0;font-size:17px}.active-recent-heading a{font-size:11px;color:#576d3d}.active-recent-match{display:flex;align-items:center;gap:18px;padding:15px 17px;width:100%;text-align:left;background:#f8faf5;border:1px solid var(--line);border-bottom:0;color:#273328;cursor:pointer}.active-recent-match:last-child{border-bottom:1px solid var(--line)}.active-recent-match:hover{background:#f0f5e4}.active-recent-match>span:first-child{flex:1;min-width:0}.active-recent-match small{display:block;font-size:10px;color:#67765d}.active-recent-match b{font-size:12px;font-weight:600;overflow-wrap:anywhere}.active-recent-match strong{font:25px/1 Impact,'Arial Narrow',sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}.active-share-shortcut{display:flex;flex-direction:column;gap:6px;padding:16px;background:#f1f5e9;border:1px solid #e1e8d4;border-radius:4px;margin:20px 0 0}.active-share-shortcut a{font-size:12px;font-weight:700;color:#415732}.active-share-shortcut small{font-size:10px;color:#6c795e}
/* Public home: all four supported sports have equal visual weight. */
.lp-refreshed .lp-hero-visual.lp-four-sports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0;background:none;border:0;box-shadow:none;border-radius:0;overflow:visible}
.lp-four-sports .lp-sport-frame{position:relative;aspect-ratio:1.18;margin:0;overflow:hidden;border:1px solid #62725550;border-radius:5px;background:#263026;min-width:0}
.lp-sport-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:75% center;position:absolute;inset:0}
.lp-sport-frame::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#17241bf2 0%,#17241b40 35%,transparent 65%);pointer-events:none}
.lp-sport-frame figcaption{position:absolute;bottom:16px;left:16px;right:10px;z-index:1;display:flex;align-items:center;gap:10px;color:#f4f8ef}
.lp-sport-cover-icon{display:grid;place-items:center;width:30px;height:30px;flex:none;color:#d5ef67}.lp-sport-cover-icon svg{width:27px;height:27px}.lp-sport-frame figcaption b{display:block;font-size:14px;font-weight:800;letter-spacing:0;line-height:1.5}.lp-sport-frame figcaption small{display:block;font-size:9px;letter-spacing:.14em;color:#d1dec7;margin-top:3px}
.lp-four-note{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin:3px 0 0;color:#c3d0b9;font-size:9px;letter-spacing:.09em}.lp-four-note small{font-size:9px;letter-spacing:0;color:#aebda6}.lp-refreshed .lp-brand .logo{background:transparent;border:1px solid #a5bc6c;border-radius:5px}.lp-refreshed .lp-brand .logo svg{stroke:#d5ef67}
@media(max-width:1100px){.lp-sport-frame figcaption{left:12px;bottom:12px;gap:7px}.lp-sport-frame figcaption b{font-size:12px}.lp-sport-cover-icon{width:24px;height:24px}.lp-sport-cover-icon svg{width:23px;height:23px}}
@media(max-width:720px){.lp-refreshed .lp-hero-visual.lp-four-sports{max-width:540px;width:100%;justify-self:center;gap:9px}.lp-four-sports .lp-sport-frame{aspect-ratio:1.25}.lp-sport-frame figcaption b{font-size:13px}}
@media(max-width:380px){.lp-sport-frame figcaption{left:8px;bottom:10px;gap:5px}.lp-sport-frame figcaption b{font-size:11px}.lp-sport-frame figcaption small{font-size:8px;letter-spacing:.07em}.lp-sport-cover-icon{width:21px;height:21px}.lp-sport-cover-icon svg{width:20px;height:20px}.lp-four-note{font-size:8px}}
/* Readability: lime is a surface/accent, never body text on a light surface.
   Supporting copy is opaque and at least 12px; dark surfaces get light links. */
body.lp.lp-refreshed{--lp-ink:#242b26;--lp-ink-2:#455347;--lp-line:#d6dfd2;background:#f4f6f3;color:#242b26}
.muted,.small.muted,.auth-note{color:var(--ink-3);opacity:1}
input::placeholder,textarea::placeholder,.family-entry-page .auth-card input::placeholder{color:#596756;opacity:1}
button:disabled,.btn:disabled{opacity:1!important;background:#e7ece2;color:#52604b;border-color:#b5c0ad;cursor:not-allowed}
.btn:not(.primary):hover{color:#294315;background:#edf3e3;border-color:#7c9566}
.lp-refreshed .lp-btn.solid:hover,.btn.primary:hover{color:#20251f;background:#c6e44c;border-color:#a5bf3b;filter:none}
.lp-refreshed .lp-btn.ghost:hover{color:#f6faef;background:#35452e;border-color:#c5d6af}
.lp-refreshed .lp-hero .family-entry:hover{color:#ffffff;background:#45563b;border-color:#c5d6af}
body.app .topbar p,.workspace-note,.desk-shortcuts span,.editorial-import summary small{color:#52614c;font-size:12px}
body.app nav.tabs .nav-h,body.app .side .brand small{color:#c7d5c0;font-size:11px}
body.app .side nav.tabs a .ic,body.app nav.tabs a[aria-current=page] .ic{color:inherit}
body.app .side .avatar{color:#f8fbed;background:#435339}
.lp-refreshed .lp-tag,.lp-refreshed .lp-entry-note,.lp-four-note,.lp-four-note small{color:#d6e3ca;font-size:11px}
.lp-refreshed .lp-eyebrow{font-size:11px}
.lp-refreshed .lp-kicker,.lp-start-grid>div>span,.family-login-badge,.family-login-features i,.family-login-assurance>span{color:#36521f}
.lp-refreshed .lp-news-h span,.lp-refreshed .lp-news-i .d,.lp-refreshed .lp-plan-note,.lp-refreshed .lp-howto-note{color:#52614c;font-size:12px}
.lp-refreshed .lp-news-i .t{color:#36521f;background:#eef5dd;font-size:11px}
.lp-refreshed .lp-plan ul,.lp-refreshed .lp-faq p,.lp-refreshed .lp-text{color:#455347;font-size:13px;line-height:1.85}
.lp-refreshed .lp-plan-note{font-size:12px}.lp-refreshed .lp-faq summary{font-size:14px}
.lp-refreshed .lp-signup,.lp-refreshed .lp-price{color:#ffffff;background:#252c27}
.lp-refreshed .lp-signup b,.lp-refreshed .lp-signup h2,.lp-refreshed .lp-price h2{color:#ffffff}
.lp-refreshed .lp-signup p,.lp-refreshed .lp-price p{color:#d9e4d0}
.lp-refreshed .lp-foot{color:#d9e4d0;font-size:12px}
.lp-refreshed .lp-foot a,.lp-refreshed .lp-foot a:visited{color:#e5fa9a;text-decoration:underline;text-underline-offset:3px}
.lp-refreshed .lp-foot a:hover{color:#ffffff}.lp-refreshed .lp-foot .credit{opacity:1}
.lp-sport-frame::after{background:linear-gradient(0deg,#17241b 0%,#17241be6 22%,#17241b60 50%,transparent 75%)}
.lp-sport-frame figcaption small{font-size:10px;color:#e5efdc}
.lp-refreshed .lp-hero-visual.lp-four-sports .lp-sport-frame figcaption{right:10px}
.active-desk-photo figcaption,.active-family-photo figcaption,.active-image-label{background:#1c281e;color:#f4faeb;font-size:11px;line-height:1.5}
.active-family-photo::after{background:linear-gradient(90deg,#18231bf7 0%,#18231bf0 45%,#18231b99 70%,#18231b40)}
.family-home .family-welcome .ui-eyebrow{color:#e5fa9a;font-size:11px}
.family-home .family-welcome .lead,.family-home .family-welcome .muted,.family-home .family-welcome .family-caption{color:#eef5e7;font-size:13px}
.family-home .family-welcome .kid{color:#ffffff;background:#283923;border-color:#94ab78}
.family-home .family-welcome .btn:not(.primary),.family-home .family-welcome .btn:not(.primary):hover{color:#ffffff;background:#30432b;border-color:#9db983}
body.family-home .topbar .btn:hover{background:#3d4d35;color:#ffffff;border-color:#c5d6af}
.family-cover-actions .btn{font-size:12px}
.family-home .pp-tabs button{font-size:13px;color:#43523d}
.active-kid-name small,.active-kid-summary dt,.active-recent-match small,.active-share-shortcut small{color:#506146;font-size:12px}
.active-share-shortcut a,.active-recent-heading a{color:#36521f;font-size:12px}
.active-recent-match b{font-size:13px}
.family-entry-page .auth-card .sub,.family-login-lead,.family-entry-page .auth-note,.family-login-assurance,.family-login-terms a,.family-login-back{color:#506146;font-size:12px}
.family-entry-page .auth-card input::placeholder{font-size:14px}
.family-login-features>span,.family-sport-strip b{font-size:12px}
.family-auth .auth-hero .tag,.family-auth .auth-hero .foot,.auth-hero .foot .credit{opacity:1}
.so-sub,.sc-sub,.sc-log,.sc-head .small,.help-notes ul,.guide-steps,.guide-shortcut p{color:#506146}
.scorer-page .sc-big.primary,.scorer-page .sc-chips button[aria-pressed=true]{background:#d5ef67;border-color:#b4cc4e;color:#20251f}
.seg input:checked+span{background:#36521f;color:#ffffff}
.st-table tfoot tr.sum th,.st-table tfoot tr.sum td{background:#e9efdf;color:#243021}
.gallery-editorial .bar,.gallery-editorial header{color:#243021}
@media(max-width:720px){.active-family-photo::after{background:#18231be6}.family-home .pp-tabs button{font-size:12px}.family-cover-actions .btn{font-size:12px}.lp-sport-frame figcaption small{font-size:10px}}
@media(max-width:380px){.family-home .pp-tabs button{font-size:11px}.lp-sport-frame figcaption b{font-size:11px}.lp-sport-frame figcaption small{font-size:9px}.lp-four-note,.lp-four-note small{font-size:10px}}
:root,html[data-sport]{--good:#21623b;--good-soft:#e6f3e8;--bad:#a82626;--bad-soft:#fbeaea;--warn:#795312;--warn-soft:#fff2d6;--series:#405f87}
.lp-themed button.linklike,.lp-themed button.linklike:hover{color:#36521f;text-decoration:underline;text-underline-offset:3px}
.family-auth .auth-hero .brand small,.family-auth .auth-hero .sport-txt small{color:#506146;opacity:1}
.family-auth .auth-hero .hero-chip{background:#e5eddb;color:#36521f;border-color:#9aac86}
.desk-shortcuts i{color:#465f25}
/* Clearly distinguish the optional, sysadmin-only test organizations. */
.sp-test-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 24px;background:#edf5cf;color:#2c401e;border-bottom:2px solid #8eaa4b;font-size:12px}.sp-test-banner>div{flex:1 1 300px}.sp-test-banner b{display:inline-block;margin-right:8px}.sp-test-banner small{display:block;font-size:11px;margin-top:4px;color:#475c36}.sp-test-banner form{margin:0}.sp-test-banner .btn{font-size:11px;min-height:38px;background:#fff;color:#2c401e;border-color:#9bab81}.sp-test-explanation{padding:20px;background:#eef4df;border:1px solid #c7d4af;border-radius:6px;margin-bottom:24px;font-size:13px;color:#304722}.sp-test-explanation p{margin:7px 0 0}.sp-test-card .sp-test-icon{color:#405e2a;margin-bottom:14px;display:block}.sp-test-icon svg{width:36px;height:36px}.sp-test-card form{margin-top:auto}.sp-test-card .row-btns{gap:8px;flex-wrap:wrap}.sp-test-card .btn{font-size:12px}.sp-test-restore{border-top:1px solid var(--line);padding-top:22px}.sp-test-restore p{font-size:12px}
.sp-test-switch{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.sp-test-switch label{display:flex;align-items:center;gap:6px;font-weight:700;color:#2c401e}.sp-test-switch select{min-height:38px;font-size:14px;padding:4px 8px;border:1px solid #9bab81;border-radius:4px;background:#fff;color:#2c401e;max-width:100%}
@media(max-width:540px){.sp-test-banner{padding:12px 16px;gap:8px}.sp-test-switch{width:100%}.sp-test-switch label{flex:1 1 140px}.sp-test-switch select{flex:1;font-size:16px}.sp-test-banner .btn{font-size:11px}.sp-test-card .row-btns .btn{width:100%}}
body.app .topbar{flex-wrap:wrap}.test-entry-link{white-space:nowrap}
/* Sport-specific jersey silhouettes. Numbers remain selectable SVG text. */
.active-uniform{display:block;flex:none;width:80px;height:77px;color:#e0f78a}.active-uniform svg{display:block;width:100%;height:100%;overflow:visible}.active-uniform .uniform-body{fill:#293525;stroke:#cde66b;stroke-width:2;stroke-linejoin:round}.active-uniform .uniform-seam{fill:none;stroke:#bdd675;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.active-uniform text{fill:#e0f78a;stroke:none;font-family:Impact,'Arial Narrow',sans-serif;font-weight:700;font-variant-numeric:tabular-nums}
/* Signup art must not stretch to the height of the long form.
   Give its image the native 3:2 ratio, and keep the caption in normal flow. */
#lp-signup.lp-signup-dlg{width:min(1000px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden}
#lp-signup .lp-dlg{grid-template-columns:minmax(0,4fr) minmax(0,6fr);align-items:start;min-height:0;max-height:none}
#lp-signup .signup-visual{display:block;position:sticky;top:0;align-self:start;width:100%;height:auto;min-height:0;overflow:hidden;background:#252c27}
#lp-signup .signup-visual::before,#lp-signup .signup-visual::after{display:none}
#lp-signup .signup-art-frame{position:relative;aspect-ratio:3/2;width:100%;overflow:hidden;background:#252c27;isolation:isolate}
#lp-signup .signup-art-frame .vis-img{position:absolute;inset:0;background-size:cover;background-repeat:no-repeat;background-position:center;transform:none;min-height:0}
#lp-signup .signup-visual .vis-txt{position:relative;left:auto;right:auto;bottom:auto;margin:0;padding:22px 24px 26px;background:#252c27;animation:none;color:#ffffff}
#lp-signup .signup-visual .vis-en{color:#e5fa9a;font-size:11px;opacity:1}
#lp-signup .signup-visual .vis-ja{font-size:24px;line-height:1.5;margin:6px 0 12px;overflow-wrap:anywhere}
#lp-signup .signup-visual .vis-catch{font-size:17px;line-height:1.7;text-shadow:none}
#lp-signup .signup-visual .vis-sub{display:block;color:#e1ebda;font-size:12px;line-height:1.8;opacity:1;margin-top:12px}
#lp-signup form{min-width:0;overflow:visible}
@media(max-width:720px){#lp-signup.lp-signup-dlg{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}#lp-signup .lp-dlg{grid-template-columns:minmax(0,1fr)}#lp-signup .signup-visual{display:none}.active-uniform{width:70px;height:67px}}
@media(max-height:540px) and (min-width:721px){#lp-signup.lp-signup-dlg{width:min(600px,calc(100vw - 32px))}#lp-signup .lp-dlg{grid-template-columns:minmax(0,1fr)}#lp-signup .signup-visual{display:none}}

/* Registered-sport accents: keep the neutral Active Edge shell and identify
   the current sport by its written name as well as its color. */
html[data-sport="baseball"]{--accent:#d5ef67;--brand:#36521f;--brand-2:#294315;--brand-soft:#f0f6da;--brand-soft-2:#f5f8e9}
html[data-sport="soccer"]{--accent:#99dfbb;--brand:#205c40;--brand-2:#194831;--brand-soft:#e7f4ed;--brand-soft-2:#f1f8f4}
html[data-sport="basketball"]{--accent:#f6bb82;--brand:#874324;--brand-2:#6c341c;--brand-soft:#fff0e3;--brand-soft-2:#fff6ee}
html[data-sport="volleyball"]{--accent:#cbbcf2;--brand:#514184;--brand-2:#403269;--brand-soft:#f1ecfc;--brand-soft-2:#f7f4fd}
html[data-sport="softball"]{--accent:#9fe3ef;--brand:#1d5866;--brand-2:#164652;--brand-soft:#e4f4f7;--brand-soft-2:#f0f8fa}
html[data-sport="futsal"]{--accent:#c9e98a;--brand:#3f5a1c;--brand-2:#314716;--brand-soft:#eef5df;--brand-soft-2:#f5f9ec}
html[data-sport="handball"]{--accent:#f0b8e0;--brand:#6d2a5f;--brand-2:#57214c;--brand-soft:#f8e9f4;--brand-soft-2:#fbf2f9}
html[data-sport="tabletennis"]{--accent:#f7b3bf;--brand:#8a2433;--brand-2:#6f1c29;--brand-soft:#fbe8eb;--brand-soft-2:#fdf2f4}
html[data-sport="badminton"]{--accent:#9be0d1;--brand:#1c5f55;--brand-2:#164c44;--brand-soft:#e3f4f0;--brand-soft-2:#eff8f6}
html[data-sport] .btn.primary:hover{background:var(--accent);border-color:var(--brand);color:var(--accent-ink)}
html[data-sport] .btn:focus-visible,html[data-sport] button:focus-visible,html[data-sport] a:focus-visible{outline-color:var(--brand)}
html[data-sport] input:focus,html[data-sport] select:focus,html[data-sport] textarea:focus{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
body.app .topbar{border-bottom:3px solid var(--accent)}
body.app .topbar .sport-chip{display:inline-flex;align-items:center;gap:7px;background:var(--brand-soft);color:var(--brand);border:1px solid var(--brand);white-space:nowrap}
body.app .topbar .sport-chip svg,.current-sport svg{width:20px;height:20px;flex:none}
body.app nav.tabs a[aria-current=page]{color:var(--accent);background:#ffffff09}
.current-sport{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:7px 10px;border:1px solid var(--accent);border-radius:4px;color:var(--accent);font-size:12px;line-height:1.5}
body.family-home .topbar{border-bottom:3px solid var(--accent);flex-wrap:wrap}
.family-home .family-welcome .ui-eyebrow{color:var(--accent)}
html[data-sport] .sc-big.primary,html[data-sport] .sc-chips button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--brand)}
html[data-sport] .seg input:checked+span{background:var(--brand);color:#fff}
html[data-sport] .chip[aria-pressed=true]{background:var(--brand-soft);color:var(--brand);border-color:var(--brand)}
html[data-sport] .active-uniform .uniform-body{stroke:var(--accent)}
html[data-sport] .active-uniform .uniform-seam{stroke:var(--accent)}
html[data-sport] .active-uniform text{fill:var(--accent)}
html[data-sport] .desk-shortcuts i,html[data-sport] .active-share-shortcut a,html[data-sport] .active-recent-heading a{color:var(--brand)}
.lp-sport-frame[data-cover-sport="baseball"] img{object-position:center}
@media(max-width:540px){.current-sport{font-size:11px;padding:5px 8px}}

/* Signup: a balanced square photograph, independent of the form height.
   Keep natural image proportions with cover, and the caption below it. */
#lp-signup .signup-visual{position:relative;top:auto;align-self:start}
#lp-signup .signup-art-frame{aspect-ratio:1/1;height:auto;max-height:400px}
#lp-signup .signup-art-frame .vis-img{background-position:center;background-size:cover;transform:none}
#lp-signup .signup-visual .vis-txt{padding:20px 24px 24px}
#lp-signup .signup-visual .vis-ja{font-size:22px;margin:5px 0 10px}
#lp-signup .signup-visual .vis-catch{font-size:16px;line-height:1.6}
#lp-signup .signup-visual .vis-sub{margin-top:10px}

/* Signup composition: complete equipment still-life, no portrait crop.
   Only the dark panel stretches with the form; the photograph never does. */
#lp-signup .signup-visual{display:flex;flex-direction:column;align-self:stretch;position:relative;height:auto;min-height:0;background:#252c27;border-right:1px solid #ffffff12}
#lp-signup .signup-art-frame{flex:none;width:100%;height:auto;aspect-ratio:3/2;max-height:none;overflow:hidden}
#lp-signup .signup-art-frame .vis-img{background-size:contain;background-position:center;background-color:#252c27;transform:none}
#lp-signup .signup-visual .vis-txt{padding:28px 28px 32px;border-top:3px solid #d5ef67}
#lp-signup .signup-visual .vis-en{letter-spacing:.2em}
#lp-signup .signup-visual .vis-ja{font-size:26px;line-height:1.4;margin:8px 0 20px}
#lp-signup .signup-visual .vis-catch{font-size:17px;line-height:1.8}
#lp-signup .signup-visual .vis-sub{font-size:12px;line-height:1.9;margin-top:14px;color:#d9e4d0}
@media(max-width:720px){#lp-signup .signup-visual{display:none}}
@media(max-height:540px) and (min-width:721px){#lp-signup .signup-visual{display:none}}

/* Login shares the public/signup equipment photography and Active Edge type. */
#lp-login .lp-vis-multi{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto 1fr;gap:2px;background:#252c27;align-content:start;min-height:0}
#lp-login .lp-vis-multi::before,#lp-login .lp-vis-multi::after{display:none}
#lp-login .vis-tile{aspect-ratio:3/2;min-height:0;background-position:center;background-size:contain;background-color:#252c27;animation:none;transform:none}
#lp-login .vis-tile::before{display:none}
#lp-login .vis-chip{background:#202820eb;border:1px solid #ffffff30;border-radius:4px;color:#f4f8ef;font-family:var(--font);font-size:11px;line-height:1.5}
#lp-login .lp-vis-multi .vis-txt{position:relative;grid-column:1/-1;align-self:stretch;left:auto;right:auto;bottom:auto;margin:0;padding:26px 28px 30px;background:#252c27;border-top:3px solid #d5ef67;animation:none;font-family:var(--font)}
#lp-login .vis-en{font-family:var(--font);font-size:11px;color:#e5fa9a;letter-spacing:.2em;opacity:1}
#lp-login .vis-ja{font-family:Arial,var(--font);font-style:italic;font-size:29px;font-weight:900;letter-spacing:-.06em;line-height:1.4;color:#fff;margin:8px 0 18px}
#lp-login .vis-catch{font-family:var(--font);font-size:17px;font-weight:700;line-height:1.8;color:#fff;text-shadow:none}
#lp-login .vis-sub{font-family:var(--font);font-size:12px;line-height:1.9;color:#d9e4d0;opacity:1;margin-top:14px}
#lp-login form,#lp-login input,#lp-login button{font-family:var(--font)}
#lp-login .lp-login-h h2{font-weight:800;letter-spacing:-.035em}
@media(max-width:720px){#lp-login .lp-vis-multi{display:none}}
@media(max-height:540px) and (min-width:721px){#lp-login .lp-vis-multi{display:none}}

/* Bulk consent: compact filters and a scrollable, explicit list of targets. */
#dlg-cbulk{max-height:calc(100dvh - 32px);overflow:auto}
#dlg-cbulk h4{font-size:14px;margin:22px 0 10px}
#dlg-cbulk .cb-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
#dlg-cbulk .cb-filters label{font-size:12px;font-weight:700}
#dlg-cbulk .cb-filters select{display:block;width:100%;margin-top:5px;min-height:44px}
#dlg-cbulk .cb-list{max-height:280px;overflow:auto;border:1px solid var(--line);border-radius:5px;padding:6px}
#dlg-cbulk .cb-row{display:flex;align-items:flex-start;gap:10px;padding:12px;border-bottom:1px solid var(--line);font-size:13px}
#dlg-cbulk .cb-row:last-child{border-bottom:0}
#dlg-cbulk input[type=checkbox]{width:18px;height:18px;flex:none;margin-top:3px;accent-color:var(--brand)}
#dlg-cbulk .cb-confirm{display:flex;gap:10px;align-items:flex-start;padding:14px;background:var(--brand-soft);font-size:13px;border-radius:5px}
#dlg-cbulk .dlg-foot{position:sticky;bottom:0;background:var(--card);border-top:1px solid var(--line);z-index:2}
@media(max-width:480px){#dlg-cbulk .cb-filters{gap:8px}#dlg-cbulk .dlg-foot{flex-wrap:wrap}#dlg-cbulk .dlg-foot .primary{flex:1}#dlg-cbulk .cb-list{max-height:220px}}

/* Keep photo registration feedback inside the active modal, without a timer. */
.fc-upload-notice{margin:12px 0;padding:13px 15px;border:1px solid #a9bdc6;border-radius:5px;background:#eef5f8;color:#244654;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}
.fc-upload-notice.err{background:#fff0ef;border-color:#d69b96;color:#8c2620}
dialog #toast{max-height:40dvh;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}

/* Public hero: 1200px of content plus 44px side padding aligns its copy
   with the header's 1200px content width on desktop. Existing mobile
   padding and the single-column layout remain responsive. */
.lp-refreshed .lp-hero-in{max-width:1288px}

/* Score tables: identical header/body alignment overrides legacy list rules.
   Keep recorded innings/periods only; overflow scrolls instead of squeezing. */
.score-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
table.score-table{width:100%;min-width:var(--score-min,400px);table-layout:fixed;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
table.score-table .score-team-col{width:32%}
table.list.pp-sb.score-table th,table.list.pp-sb.score-table td,table.sc-sb.score-table th,table.sc-sb.score-table td{text-align:center;vertical-align:middle;padding:12px 10px;line-height:1.5;border-bottom:1px solid var(--line);white-space:normal}
table.list.pp-sb.score-table th.score-team,table.sc-sb.score-table th.score-team{text-align:left;white-space:normal;max-width:none;overflow:visible;text-overflow:clip}
.score-team-name{display:block;overflow-wrap:anywhere;font-size:13px;letter-spacing:0}
.score-team-note{display:block;font-size:11px;font-weight:400;color:var(--ink-3);margin-top:4px}
table.score-table thead th{background:var(--bg-2);font-size:12px;font-weight:700}
table.score-table tbody td{font-size:15px}
table.score-table .score-total{background:var(--brand-soft);font-weight:800}
table.score-table tr.mine th,table.score-table tr.mine td{background:var(--brand-soft)}
table.list.pp-stats th,table.list.pp-stats td{text-align:center;padding-left:12px;padding-right:12px;vertical-align:middle;font-variant-numeric:tabular-nums}
table.list.pp-stats th:nth-child(2),table.list.pp-stats td:nth-child(2){text-align:left}
@media(max-width:540px){table.list.pp-sb.score-table th,table.list.pp-sb.score-table td,table.sc-sb.score-table th,table.sc-sb.score-table td{padding:10px 7px}.score-team-name{font-size:12px}.score-team-note{font-size:10px}}

/* Keep team names visible while swiping the score columns. */
table.score-table th.score-team{position:sticky;left:0;z-index:1;background:var(--card);border-right:1px solid var(--line)}
table.score-table thead th.score-team{z-index:2;background:var(--bg-2)}
table.score-table tr.mine th.score-team{background:var(--brand-soft)}
@media(max-width:540px){table.score-table .score-team-col{width:140px}}

/* Match lists: readable event/opponent hierarchy, shared across staff/family. */
.record-search{margin:16px 0}.record-search>label{display:block;font-weight:700;margin-bottom:7px}.record-search input[type=search]{flex:1;min-width:160px;width:auto;border:1px solid var(--line-2);border-radius:5px;background:var(--card);color:var(--ink);padding:10px 12px;font:inherit;min-height:44px}.record-search .row-btns{flex-wrap:wrap}.record-search p{margin:6px 0}.record-match{display:grid;gap:9px;min-width:210px;max-width:440px;padding:4px 0}.record-event,.record-opponent{display:flex;align-items:baseline;gap:9px;line-height:1.65}.record-event>span:last-child,.record-opponent>strong{min-width:0;word-break:normal;overflow-wrap:break-word}.record-event{font-size:13px;color:var(--ink-2)}.record-opponent strong{font-size:16px;color:var(--ink);font-weight:800}.record-label{flex:0 0 auto;font-size:10px;letter-spacing:.08em;color:var(--ink-2);border:1px solid var(--line);padding:1px 5px;border-radius:3px;white-space:nowrap}.sheet-list .c-match{min-width:280px}.family-home .record-match{min-width:190px}@media(max-width:540px){.record-opponent strong{font-size:15px}.family-home .record-match{max-width:100%}}

/* Paper-score import: three clear steps with one action per stage. */
.paper-import>summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;list-style:none;padding:4px 0}.paper-import>summary::-webkit-details-marker{display:none}.paper-import-title{font-size:19px;font-weight:800}.paper-import-title small{display:inline-block!important;margin-left:8px!important;font-size:11px!important;background:var(--brand-soft);color:var(--ink)!important;padding:3px 8px;border-radius:3px}.paper-import-route{font-size:12px;font-weight:400;color:var(--ink-2)}.paper-import-open{margin-left:auto;font-size:12px;color:var(--brand);white-space:nowrap}.paper-import-open::after{content:' ＋'}.paper-import[open]>.paper-import-open::after{content:' −'}.paper-import[open]>summary .paper-import-open{font-size:0}.paper-import[open]>summary .paper-import-open::after{content:'手順を閉じる −';font-size:12px}.paper-import-intro{line-height:1.9;margin:4px 0 20px}.paper-import .ai-steps{list-style:none;counter-reset:paper-step;padding:0;margin:0;gap:14px}.paper-import .ai-steps>li{counter-increment:paper-step;position:relative;padding:20px 20px 18px 64px;border:1px solid var(--line);border-radius:5px;background:var(--card)}.paper-import .ai-steps>li::before{content:counter(paper-step);position:absolute;left:18px;top:19px;display:grid;place-items:center;width:30px;height:30px;background:var(--brand);color:var(--brand-ink);border-radius:50%;font-weight:800}.paper-step-title{font-size:16px;line-height:1.7}.paper-import .ai-steps p{margin:7px 0 12px;line-height:1.8}.paper-import .paper-app-links{gap:8px}.paper-app-links .btn{font-size:12px;min-height:40px}.paper-send-guide{border-left:3px solid var(--brand);background:var(--brand-soft);padding:12px 14px;margin-top:14px}.paper-send-guide p{font-weight:700;margin:5px 0!important}.paper-copy-status:empty{display:none}.paper-copy-status{color:var(--brand);font-weight:700}.paper-confirm-note{color:var(--ink-2)}.paper-privacy{margin-top:16px}.paper-privacy>summary{font-size:12px;cursor:pointer;color:var(--ink-2)}@media(max-width:540px){.paper-import-title{font-size:17px}.paper-import-route{flex-basis:100%;order:3;font-size:11px}.paper-import .ai-steps>li{padding:18px 12px 14px 48px}.paper-import .ai-steps>li::before{left:10px;top:18px;width:26px;height:26px}.paper-import .grid{grid-template-columns:minmax(0,1fr)}.paper-import .btn{white-space:normal}.paper-import .paper-app-links .btn{padding:8px 10px}.paper-step-title{font-size:15px}}

/* 2026-10-30: equipment-focused dashboard images; protect the focal point in wide crops. */
body.app .active-desk-photo img{object-position:68% 62%}
body.family-home .active-family-photo img{object-position:70% 65%}

/* Public home/login now give all nine sports equal space. */
.lp-refreshed .lp-hero-visual.lp-nine-sports{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-self:center}
.lp-nine-sports .lp-sport-frame{aspect-ratio:1.36}
.lp-nine-sports .lp-sport-frame img{object-position:68% 60%}
.lp-nine-sports .lp-sport-frame figcaption{left:10px;right:8px;bottom:10px;gap:6px;align-items:center}
.lp-nine-sports .lp-sport-frame figcaption b{font-size:12px;line-height:1.4}
.lp-nine-sports .lp-sport-frame figcaption small{font-size:8px;letter-spacing:.08em;margin-top:2px}
.lp-nine-sports .lp-sport-cover-icon{width:22px;height:22px}
.lp-nine-sports .lp-sport-cover-icon svg{width:22px;height:22px}
#lp-login .lp-vis-multi{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,auto) 1fr;gap:3px}
#lp-login .vis-tile{aspect-ratio:1.3;background-size:cover;background-position:68% 60%}
#lp-login .vis-chip{left:6px;right:5px;top:auto;bottom:6px;display:flex;gap:4px;align-items:center;padding:3px 5px;font-size:10px;white-space:normal;line-height:1.4}
#lp-login .vis-chip svg{width:15px;height:15px;flex:none}
#lp-login .lp-vis-multi .vis-txt{padding:20px 24px}
#lp-login .vis-ja{font-size:26px;margin:5px 0 10px}
#lp-login .vis-catch{font-size:15px}
#lp-login .vis-sub{font-size:11px;margin-top:10px}
.family-sport-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.lp-nine-sports .lp-sport-frame figcaption b{font-size:11px}.lp-nine-sports .lp-sport-cover-icon{display:none}}
@media(max-width:720px){.lp-refreshed .lp-hero-visual.lp-nine-sports{max-width:600px;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.lp-nine-sports .lp-sport-frame{aspect-ratio:1.15}.lp-nine-sports .lp-sport-frame figcaption{left:7px;bottom:8px}.lp-nine-sports .lp-sport-frame figcaption small{display:none}.lp-nine-sports .lp-sport-frame figcaption b{font-size:11px}.lp-nine-sports .lp-four-note{font-size:10px}}

/* Supported sport labels: each item stays intact when the line wraps. */
.lp-refreshed .lp-sport-pills{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:22px;max-width:100%;padding:0}
.lp-refreshed .lp-sport-pills span,
.lp-refreshed .lp-sport-pills span:first-child,
.lp-refreshed .lp-sport-pills span:last-child{display:inline-block;flex:0 0 auto;white-space:nowrap;padding:6px 10px;border:1px solid #526044;border-radius:4px;background:#2c352d;color:#e2ecdb;font-size:12px;line-height:1.5;letter-spacing:0}
@media(max-width:540px){.lp-refreshed .lp-sport-pills{gap:7px;margin-top:18px}.lp-refreshed .lp-sport-pills span,.lp-refreshed .lp-sport-pills span:first-child,.lp-refreshed .lp-sport-pills span:last-child{padding:5px 9px;font-size:11px}}

/* ===== 2026-11-06 左のメニュー：たたむボタン（パソコンの幅だけ）・別ページ（scorer.php・sorter.php）にも同じメニュー ===== */
.side-fold{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:1px solid #ffffff16;border-radius:4px;color:#cbd5ca;font:inherit;font-size:12.5px;padding:9px 12px;cursor:pointer;text-align:left}
.side-fold:hover{background:#ffffff0d;color:#fff}
.side-fold:focus-visible{outline:2px solid #fff;outline-offset:2px}
.side-fold svg{width:18px;height:18px;flex:none;transition:transform .2s}
.me-card .acts form{display:flex;margin:0}
.me-card .acts form button{width:100%}
.me-card .acts a.side-act{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:1px solid #ffffff1f;border-radius:8px;color:var(--side-ink);text-decoration:none;white-space:nowrap;font-size:12.5px;line-height:1.3}
.me-card .acts a.side-act:hover{background:#ffffff0f;color:#fff}
.me-card .acts a.side-act svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
@media (min-width:901px){
  html.side-mini{--side-w:76px}
  html.side-mini body.app .side{padding:20px 10px;gap:14px;overflow-x:hidden}
  html.side-mini body.app .side .brand{justify-content:center;padding:4px 0 14px}
  html.side-mini body.app .side .brand>span:last-child,
  html.side-mini body.app .side .org-pill,
  html.side-mini body.app .side .mode-pill,
  html.side-mini body.app nav.tabs .nav-h,
  html.side-mini body.app nav.tabs a>span:not(.ic),
  html.side-mini body.app .side-fold span,
  html.side-mini body.app .me-card .who>span:last-child,
  html.side-mini body.app .me-card .acts span{display:none}
  html.side-mini body.app nav.tabs{gap:6px}
  html.side-mini body.app nav.tabs a{justify-content:center;padding:12px 0}
  html.side-mini body.app nav.tabs a[aria-current=page]{padding-left:0;border-left-width:3px}
  html.side-mini body.app .side-fold{justify-content:center;padding:9px 0}
  html.side-mini body.app .side-fold svg{transform:rotate(180deg)}
  html.side-mini body.app .me-card{padding:8px 4px;align-items:center}
  html.side-mini body.app .me-card .acts{align-self:stretch}
  html.side-mini body.app .me-card .acts button,html.side-mini body.app .me-card .acts a.side-act{justify-content:center;padding:7px 0}
}
@media (max-width:900px){.side-fold{display:none}}
/* 別ページは写真の背景を敷かず、いつもの地の色で（文字を読みやすく） */
body.app.sub-page{background:var(--bg)}
body.app.sub-page .main::before{display:none}
@media (max-width:900px){body.app.sub-page .main{padding-bottom:84px}}

/* ===== 2026-11-10 試験の機能（野球のテストチームだけ）：Google ドライブの保存先・一覧、試合ごとのフォルダ、名場面のコラージュ ===== */
.lab-badge{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.04em;color:#7a4b00;background:#fff1c9;border:1px solid #f0cf73;border-radius:999px;padding:1px 10px;vertical-align:middle}
.lab-card .lab-steps{margin:6px 0 14px;padding-left:1.4em;line-height:1.9}
.lab-rows{display:grid;gap:10px;margin:0 0 14px}
.lab-row{display:grid;grid-template-columns:90px minmax(0,1fr) minmax(0,1.2fr) minmax(0,2fr) auto;gap:8px 12px;align-items:end;padding:10px 0;border-bottom:1px solid var(--line)}
.lab-row label{display:flex;flex-direction:column;gap:3px;font-size:13px;font-weight:600;min-width:0}
.lab-row input{height:38px;padding:0 10px;font-size:14px;min-width:0}
.lab-no{font-size:14px;align-self:center}
.lab-view{margin:14px 0 0;display:grid;gap:6px}
.lab-view-head{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.lab-view-head small{color:var(--ink-3)}
.lab-view-head .btn{margin-left:auto}
.lab-frame{width:100%;height:440px;border:1px solid var(--line);border-radius:6px;background:var(--card)}
.lab-parent{border:1px dashed var(--line);border-radius:8px;padding:14px 16px;margin:14px 0 0}
.lab-parent h3{margin:0 0 6px;font-size:16px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media (max-width:900px){.lab-row{grid-template-columns:1fr 1fr}.lab-row .lab-url,.lab-no{grid-column:1/-1}.lab-frame{height:360px}}
@media (max-width:520px){.lab-row{grid-template-columns:1fr}.lab-view-head .btn{margin-left:0}}

/* 試験：写真一覧（2026-11-10） */
.pa-form{display:grid;grid-template-columns:180px minmax(0,1fr) minmax(0,1.3fr) auto;gap:10px 14px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:12px;margin:0 0 12px;background:var(--bg)}
.pa-form .pa-wide input{width:100%}
/* 写真一覧（試験）：表紙は最大4枚。サムネイルは Google から直接 */
.pa-cover{position:relative;display:grid;gap:2px;padding:0;background:#1f2b22;overflow:hidden}
.pa-cover.n2,.pa-cover.n4{grid-template-columns:1fr 1fr}
.pa-cover.n3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}
.pa-cover.n3 img:first-child{grid-row:1/3}
.pa-cover img{width:100%;height:100%;object-fit:cover;display:block;min-height:0;transition:transform .25s}
.pa-card:hover .pa-cover img{transform:scale(1.04)}
.pa-n{position:absolute;right:8px;bottom:8px;padding:2px 9px;border-radius:999px;background:rgba(0,0,0,.66);color:#fff;font-size:12px;font-weight:700}
.pa-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px;padding:12px;max-height:72vh;overflow:auto}
.pa-ph{padding:0;border:2px solid transparent;border-radius:6px;overflow:hidden;background:var(--bg);aspect-ratio:4/3;cursor:zoom-in}
.pa-ph img{width:100%;height:100%;object-fit:cover;display:block}
.pa-ph:hover,.pa-ph:focus-visible{border-color:var(--accent,#2f6f4f)}
.pa-ph.hit{border-color:#d08a00}
.pa-view{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:6px;padding:10px;background:#111}
.pa-view[hidden]{display:none}
.pa-view figure{margin:0;text-align:center}
.pa-view img{max-width:100%;max-height:68vh;object-fit:contain;display:block;margin:0 auto}
.pa-view figcaption{color:#ddd;font-size:13px;margin-top:6px}
.pa-view figcaption a{color:#9fd3ff}
.pa-nav{height:64px;border:0;border-radius:8px;background:rgba(255,255,255,.12);color:#fff;font-size:30px;cursor:pointer}
.pa-nav:hover{background:rgba(255,255,255,.24)}
.pa-back{position:absolute;top:10px;left:10px}
.lab-warn{margin:0 0 10px;padding:10px 12px;border-radius:8px;background:#fff6e0;color:#6b4a00;border:1px solid #f0d48a}
@media (max-width:600px){.pa-photos{grid-template-columns:repeat(3,1fr)}.pa-view{grid-template-columns:34px minmax(0,1fr) 34px}}
.dlg-album{width:min(1100px,96vw)}
.pa-view figcaption{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 14px}
.ppa-hold{font-size:12px;color:#ddd}.ppa-hold b{color:#ffd76a}
.pa-view img{-webkit-touch-callout:default;-webkit-user-select:auto;user-select:auto}
@media (max-width:640px){.ppa-hold{font-size:14px;line-height:1.6;color:#fff;background:rgba(255,255,255,.12);border-radius:8px;padding:8px 10px}}
.pp-game-cards{border-radius:4px;overflow:hidden}
/* 2026-11-11 保護者のページ：選手の成績の表は枠の中で縦にもスクロールし、項目の行（見出し）を上に固定する（下の選手でも何の数字か分かるように） */
.family-home .scroll:has(> table.pp-stats){max-height:min(65vh,560px);overflow:auto}
.family-home table.pp-stats thead th{position:sticky;top:0;z-index:2;background:#eef3e6;box-shadow:inset 0 -1px var(--line)}
.family-home table.pp-stats thead th:nth-child(2){left:0;z-index:3;background:#eef3e6}
/* 2026-11-11 保護者のページ：お子さんの成績カードの全項目・試合ごとの成績 */
.active-kid-summary .pp-kid-sec{flex:1 1 100%;display:flex;align-items:flex-start;gap:8px;min-width:0}
.pp-kid-all{flex:1;margin:0;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(74px,1fr))!important;gap:6px!important}
.active-kid-summary .pp-kid-all>div{border:1px solid #dce4d5!important;border-radius:4px;background:#fff;padding:6px 4px!important;text-align:center}
.active-kid-summary .pp-kid-all dt{font-size:11px}
.active-kid-summary .pp-kid-all dd{font:700 18px/1.2 var(--font)!important;margin:3px 0 0!important}
.pp-gs-k{flex:none;font-style:normal;font-size:11px;font-weight:800;color:#fff;background:#1f3f7a;border-radius:3px;padding:3px 7px;margin-top:4px}
.pp-gs-k.pitch{background:#a3262a}
.pp-gs{border:1px solid var(--line);border-bottom:0;background:#f8faf5;padding:10px 14px}
.pp-gs:last-child{border-bottom:1px solid var(--line)}
.pp-gs-head{display:flex;align-items:baseline;gap:10px;width:100%;padding:0 0 6px;border:0;background:none;cursor:pointer;text-align:left;color:#273328}
.pp-gs-head small{font-size:12px;color:#67765d}.pp-gs-head b{flex:1;font-size:13px;min-width:0;overflow-wrap:anywhere}
.pp-gs-score{font-size:12px;color:#506146}.pp-gs-head:hover b{text-decoration:underline}
.pp-gs-line{display:flex;align-items:flex-start;gap:8px;margin-top:4px}.pp-gs-line em{font-style:normal;font-size:12px;font-weight:700;margin-top:4px;white-space:nowrap}
.pp-chips{display:flex;flex-wrap:wrap;gap:4px}
.pp-chip{display:inline-flex;align-items:baseline;gap:4px;padding:3px 8px;border-radius:999px;background:#fff;border:1px solid #dce4d5;font-size:11px;color:#506146}
.pp-chip b{font-size:15px;color:#1f2a24}.pp-chip.z{opacity:.55}.pp-chip.z b{font-weight:500}
@media (max-width:640px){
  .dlg-album{width:100vw;max-width:100vw;margin:0;max-height:100dvh}
  .dlg-album .dlg-head{flex-wrap:wrap;gap:8px;padding:10px 12px}
  .dlg-album .dlg-head h3{flex:1 1 100%;font-size:15px;overflow-wrap:anywhere}
  .dlg-album .dlg-head .row-btns{flex-wrap:wrap;gap:6px}
  .dlg-album .pa-view{padding:6px;gap:4px}
  .dlg-album .pa-view img{max-height:62dvh}
  .dlg-album .pa-nav{height:48px;font-size:24px}
}
.pa-frame{padding:10px 14px 14px}
.pa-frame iframe{width:100%;height:min(70vh,640px);border:1px solid var(--line);border-radius:6px;background:var(--card)}
@media (max-width:900px){.pa-form{grid-template-columns:1fr}}

/* 写真の整理（試験のチーム・2026-11-10 夜）：流れは1行・保存先は名前とボタン・登録はたたむ */
.lab-stepper{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.lab-stepper button{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid var(--line);border-radius:999px;background:var(--bg);font:inherit;font-weight:700;font-size:14px;color:inherit;cursor:pointer}
.lab-stepper button:hover{border-color:#3d5a2f}
.lab-stepper button span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2f4a26;color:#fff;font-size:13px}
.lab-stepper i{font-style:normal;color:var(--muted,#888)}
.lab-stepper small{margin-left:auto;color:var(--muted,#777)}
.lab-dests{display:grid;gap:8px}
.lab-dest{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.lab-dest-name{display:flex;flex-direction:column;margin-right:auto}
.lab-dest-name small{color:var(--muted,#777)}
.lab-setup{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
.lab-setup summary{cursor:pointer;font-weight:700}
.lab-setup[open] summary{margin-bottom:10px}
.dr-more{position:relative;display:inline-block}
.dr-more summary{list-style:none}
.dr-more summary::-webkit-details-marker{display:none}
.dr-more[open]>div{position:absolute;z-index:5;top:calc(100% + 4px);left:0;display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--card);box-shadow:0 6px 18px rgba(0,0,0,.12);white-space:nowrap}
a.url{color:inherit}

/* 個人成績の表（2026-11-11：見出しは縦書き・並べ替えた列に色・カーソルの行と列に色・見出しと選手名を固定・印刷） */
.st-scroll{max-height:72vh;overflow:auto}
.st-table{border-collapse:separate;border-spacing:0;font-size:14px}
.st-table thead th{position:sticky;top:0;z-index:2;background:#f3f5f1;vertical-align:bottom;padding:8px 4px 6px;border-bottom:3px solid var(--brand);color:var(--ink-2);font-weight:700}
.st-table thead th .vt{display:inline-block;writing-mode:vertical-rl;text-orientation:upright;letter-spacing:.05em;line-height:1.1;min-height:2.4em}
.st-table thead th .arrow{display:block;font-size:10px;color:var(--brand);margin-top:2px}
.st-table thead th.st-rank,.st-table thead th.st-name{vertical-align:middle}
.st-table thead th.sortable,.st-table thead th.num{text-align:center}
.st-table th.sortable:hover{color:var(--brand)}
.st-table td,.st-table tbody th{border-bottom:1px solid var(--line);padding:7px 8px}
.st-table td.num{padding:7px 7px}
.st-table .st-rank{width:3em;text-align:center;font-weight:700;color:var(--ink-2)}
.st-table .st-name{position:sticky;left:0;z-index:1;background:var(--card);white-space:nowrap;min-width:9em}
.st-table thead .st-name{z-index:3;background:#f3f5f1}
.st-table tbody tr:nth-child(even) td.st-name{background:#f7f8f5}
.st-table .sorted{background:#e8ebe4!important;font-weight:700}
.st-table thead th.sorted{background:#dfe5d8!important;color:var(--brand)}
.st-table td.hr{background:#fff7d6!important}
.st-table td.st-name.hr{background:#ffe9a8!important}
.st-table td.st-name.hr b{color:#7a4a00}
.st-table td.hc{background:#eaf3ff!important}
.st-table td.hc.hr{background:#ffd98a!important;font-weight:800}
.st-table thead th.hc{background:var(--brand)!important;color:#fff!important}
.st-table thead th.hc .arrow{color:#fff}
.st-table tfoot td.hc{background:#dce9fb!important}
#st-print{display:none}
@media print{
  body.st-printing>*:not(#st-print){display:none!important}
  body.st-printing{background:#fff!important}
  body.st-printing #st-print{display:block}
  #st-print thead th{text-align:center!important}
  #st-print .stp-head{display:flex;flex-wrap:wrap;gap:4px 18px;align-items:baseline;margin:0 0 6px;font-size:10pt}
  #st-print .stp-head b{font-size:14pt}
  #st-print .stp-page{break-before:page;page-break-before:always}   /* 個人の印刷：投手の成績は2枚目から（2026-11-11） */
  #st-print .stp-page+.sec{margin-top:0}
  #st-print .stp-kind{margin:4px 0 8px;padding:6px 12px;font-size:15pt;font-weight:800;letter-spacing:.2em;color:#fff;border-radius:4px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #st-print .stp-kind.bat{background:#1f3f7a}#st-print .stp-kind.pitch{background:#a3262a}
  #st-print .stp-kind+.sec{margin-top:4px}
  #st-print table{width:99.5%;border-collapse:collapse;font-size:8.5pt;margin-right:1px}   /* 100% だと右端の線が紙の端で切れる */
  #st-print .scroll{overflow:visible!important;max-height:none!important}
  #st-print .sec{font-weight:700;font-size:11pt;margin:10px 0 4px;border-left:4px solid #555;padding-left:6px}
  #st-print .tiles{display:flex;flex-wrap:wrap;gap:6px}
  #st-print .tile{border:1px solid #999;border-radius:4px;padding:4px 8px;min-width:90px;background:#fff!important;color:#000!important}
  #st-print .tile b{font-size:14pt}
  #st-print .chart-box{break-inside:avoid}
  #st-print .chart-box svg{max-width:100%;height:auto;max-height:70mm}
  html:has(body.st-printing){background:#fff!important}
  #st-print .badge{border:0;background:none!important;color:#000!important;padding:0}
  #st-print th,#st-print td{border:1px solid #999;padding:2px 3px;position:static!important;background:#fff!important;color:#000!important}
  #st-print thead th{background:#eee!important}
  #st-print .sorted{background:#e6e6e6!important}
  #st-print .databar .track{display:none}
  #st-print tfoot td,#st-print tfoot th{font-weight:700;background:#f2f2f2!important}
}

/* 個人成績：選手名は押せる見た目に（2026-11-11：利用者「押すと個人成績が出るのが分からなかった」） */
.st-hint{display:flex;align-items:center;gap:6px;margin:4px 0 8px;padding:6px 12px;border-radius:8px;background:var(--brand-soft);color:var(--brand);font-size:13.5px}
.st-pl{display:inline-flex;align-items:center;gap:6px;padding:3px 6px;border:0;border-radius:6px;background:none;font:inherit;color:var(--brand);cursor:pointer;text-align:left}
.st-pl b{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.st-pl .no{color:var(--ink-3);font-size:12.5px}
.st-pl-go{padding:1px 8px;border:1px solid currentColor;border-radius:999px;font-size:11.5px;font-weight:700;white-space:nowrap;opacity:.85}
.st-pl:hover,.st-pl:focus-visible{background:var(--brand);color:#fff}
.st-pl:hover .no,.st-pl:focus-visible .no{color:#fff}
.st-pl:hover .st-pl-go{opacity:1}
.st-table td.st-name.hr .st-pl b{color:#7a4a00}
/* 2026-11-11：選手名にマウスを乗せたとき、行の黄色の茶色い文字が濃い緑の背景に重なって読めなかった → 押せる所は白い文字に */
.st-table td.st-name .st-pl:hover b,.st-table td.st-name .st-pl:focus-visible b,
.st-table td.st-name .st-pl:hover .no,.st-table td.st-name .st-pl:focus-visible .no,
.st-table td.st-name .st-pl:hover .st-pl-go,.st-table td.st-name .st-pl:focus-visible .st-pl-go{color:#fff!important}
.st-table td.st-name .st-pl:hover .st-pl-go{border-color:#fff;background:rgba(255,255,255,.15)}
.st-table td.st-name.hr .st-pl:not(:hover) b{color:#5a3600}

/* 個人成績：表示する項目を選ぶ（2026-11-11） */
.st-cols{position:relative}
.st-cols>summary{list-style:none}
.st-cols>summary::-webkit-details-marker{display:none}
.st-cols-box{position:absolute;left:0;top:calc(100% + 6px);z-index:20;width:min(460px,90vw);padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card);box-shadow:0 10px 30px rgba(0,0,0,.15)}
.st-cols-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px 10px;margin-bottom:10px;font-size:14px}
.st-cols-grid label{display:flex;align-items:center;gap:5px;white-space:nowrap}
@media (max-width:600px){.st-cols-grid{grid-template-columns:repeat(3,1fr)}}
/* 個人成績の画面：一覧と同じ項目の表（2026-11-11） */
.ps-switch{display:flex;gap:8px;margin:0 0 12px}.ps-switch .btn{min-width:130px}
.ps-kind+.ps-kind>.sec:first-child{margin-top:18px!important}
.ps-table{font-size:13.5px}
.ps-table th,.ps-table td{white-space:nowrap;padding:7px 8px}
.ps-table td:first-child,.ps-table th:first-child{text-align:left}
.ps-table .ps-total th{background:#eef2e9}
/* 2026-11-13 選手名の列が異様に広くなる（列が少ない競技で、全幅の表の余りが名前の列に回っていた）。
   表は全幅のまま、名前の列は名前の長さだけ（width:1%＋折り返さない）にし、余りは数字の列に均等に回す。数字は見出しの下の中央にそろえる */
.st-table .st-name{width:1%;min-width:0}
.st-table td.num,.st-table tfoot td{text-align:center}
table.list.pp-stats th:nth-child(2),table.list.pp-stats td:nth-child(2){width:1%;white-space:nowrap}
table.edit.bat:not(.rk) th.nm,table.edit.bat:not(.rk) td.nm{width:1%;white-space:nowrap}
table.edit.bat:not(.rk) td{text-align:center}
table.edit.bat:not(.rk) td.nm{text-align:left}
.sp-test-switch label{white-space:nowrap}
/* 2026-11-16 会場メモ（管理者の #venues・試合の確認・修正の会場欄・保護者のページ） */
.vn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,380px),1fr));gap:14px;margin-top:14px}
.vn-card{border:1px solid var(--line);border-radius:6px;background:var(--card,#fff);padding:16px 18px;min-width:0}
.vn-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}
.vn-head h3{margin:0 0 4px;font-size:16px}
.vn-head p{margin:0}
.vn-dl{margin:12px 0 0;display:grid;gap:8px}
.vn-f{margin:0}
.vn-f dt{font-size:12px;font-weight:700;color:var(--ink-2)}
.vn-f dd{margin:2px 0 0;white-space:pre-line;overflow-wrap:anywhere;font-size:13.5px;line-height:1.7}
.vn-f.warn{background:#fff7e0;border-left:3px solid #e0a100;padding:6px 10px;border-radius:3px}
.vn-upd{margin:12px 0 0;font-size:11px}
.vn-cands{margin-top:14px;padding:12px 14px;border:1px dashed var(--line);border-radius:6px}
.vn-cands .row-btns{margin-top:8px;flex-wrap:wrap;gap:6px}
.vn-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.vn-form .vn-wide{grid-column:1/-1}
.vn-form textarea{width:100%;resize:vertical}
@media(max-width:640px){.vn-form{grid-template-columns:1fr}}
.vn-inline{margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:var(--card,#fff)}
.vn-inline summary{cursor:pointer}
.vn-inline.none{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-style:dashed}
.vn-form input{width:100%}
/* 2026-11-16 用具の管理（管理者の #equipment・保護者のページ） */
.eq-views{margin:12px 0 4px;flex-wrap:wrap;gap:6px}
.eq-group{margin-top:18px}
.eq-group h3{font-size:15px;margin:0 0 8px;padding-bottom:6px;border-bottom:2px solid var(--line)}
.eq-group h3 .muted{font-size:12px;font-weight:400}
.eq-item{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:var(--card,#fff);margin-bottom:8px;transition:box-shadow .4s}
.eq-item.warn{border-left:4px solid #e0a100}
.eq-item.flash{box-shadow:0 0 0 3px #f5b30188}
.eq-main{min-width:0;flex:1}
.eq-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15px}
.eq-name .muted{font-size:12.5px}
.eq-ic{font-size:18px}
.eq-st{font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:999px;background:#fff1c2;color:#6b4b00}
.eq-st.repair,.eq-st.lost{background:#fde2e1;color:#9b1c1c}
.eq-meta{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px;margin-top:4px;color:var(--ink-2)}
.eq-note{font-size:12.5px;color:var(--ink-2);margin-top:4px;white-space:pre-line;overflow-wrap:anywhere}
.eq-log{margin-top:6px;font-size:12px}
.eq-log summary{cursor:pointer;color:var(--ink-3)}
.eq-log ul{margin:6px 0 0;padding-left:18px;line-height:1.8}
.eq-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.eq-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.eq-form .eq-wide{grid-column:1/-1}
.eq-form input,.eq-form select,.eq-form textarea{width:100%}
@media(max-width:640px){.eq-form{grid-template-columns:1fr}.eq-item{flex-direction:column}.eq-acts{width:100%;justify-content:stretch}.eq-acts .btn{flex:1}}

/* 会場メモ・用具管理：サイドバーと揃えた単色の線画。 */
.memo-icon{display:inline-block;width:18px;height:18px;flex:none;vertical-align:-3px;color:inherit}
.eq-ic{display:inline-flex;color:var(--ink-2);font-size:inherit}
.eq-ic .memo-icon{width:21px;height:21px}
.eq-meta>span{display:inline-flex;align-items:center;gap:5px}
.eq-meta .memo-icon{width:15px;height:15px;color:var(--ink-3)}
.eq-group h3{display:flex;align-items:center;gap:7px;border-bottom-width:1px}
.eq-group h3 .muted{margin-left:auto}
.vn-head h3{display:flex;align-items:center;gap:7px}
.vn-head h3 .memo-icon{color:var(--ink-3)}
.vn-f dt{display:flex;align-items:center;gap:6px}
.vn-f dt .memo-icon{width:16px;height:16px;color:var(--ink-3)}
.vn-dl{gap:12px}
.vn-f.warn{background:transparent;border-left:2px solid #c99a42;padding:2px 0 2px 10px;border-radius:0}
.vn-upd{padding-top:10px;border-top:1px solid var(--line)}
.eq-item.warn{border-left-width:2px}
.eq-upd{margin-top:6px;font-size:12px;color:var(--ink-3)}
.eq-place-btns{margin-top:6px;gap:6px}
/* 2026-11-16 用具：名前の隣に 保管場所・持っている人・担当・最終更新（利用者の依頼） */
.eq-name{column-gap:14px;row-gap:4px}
.eq-name .eq-m{font-size:13px;color:var(--ink-2);display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.eq-name .eq-upd{margin:0;font-size:12px;color:var(--ink-3);white-space:nowrap}

/* 用具の種類とアイコンを分けて選べる。 */
.eq-icon-picker{display:flex;align-items:center;gap:10px;min-width:0}
.eq-icon-picker>span{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid var(--line);border-radius:8px;color:var(--ink-2)}
.eq-icon-picker .memo-icon{width:24px;height:24px}
.eq-icon-picker select{flex:1;min-width:0}
/* 2026-11-16 公開のページ（このサイトについて・お問い合わせ・規約）のフッターと共通の見た目 */
.sp-pub-foot{max-width:820px;margin:0 auto;padding:18px 16px 40px;border-top:1px solid var(--line);color:var(--ink-3);font-size:12.5px;line-height:2}
.sp-pub-foot a{color:var(--ink-2)}
.pub{max-width:820px;margin:0 auto;padding:24px 16px 40px}
.pub h1{font-size:22px;margin:0 0 6px}
.pub h2{font-size:18px;margin:28px 0 8px;padding-bottom:6px;border-bottom:2px solid var(--line)}
.pub h3{font-size:15px;margin:18px 0 4px}
.pub p,.pub li{line-height:1.85}
.pub table{border-collapse:collapse;width:100%;font-size:14px}
.pub th,.pub td{border-bottom:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.pub th{width:11em;color:var(--ink-2);font-weight:700}
.pub-form{display:grid;gap:14px;max-width:560px}
.pub-form label{display:grid;gap:4px;font-weight:700;font-size:13.5px}
.pub-form input,.pub-form select,.pub-form textarea{width:100%;font-weight:400}
.pub-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.pub-ok{background:#eef6e6;border:1px solid #c7d9b5;border-radius:8px;padding:12px 14px}
.pub-err{background:var(--warn-soft,#fff1f0);color:var(--warn,#a61b1b);border-radius:8px;padding:10px 14px}
