:root{--ink:#203c33;--green:#204d3e;--paper:#f6f4ed;--line:#dedfd3;--gold:#c29135;--muted:#728176;--white:#fffef9;font-family:"Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:6px;font-weight:700;padding:13px 21px;transition:background .15s,transform .15s;touch-action:manipulation}button:hover{filter:brightness(1.09)}button:active{transform:translateY(1px)}button:disabled{opacity:.3;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.primary{background:var(--green);color:#fff}.quiet{background:transparent;color:var(--green);border:1px solid var(--line);padding:9px 14px}.masthead{max-width:1400px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:26px 5%;border-bottom:1px solid var(--line);gap:16px}.brand{color:var(--ink);text-decoration:none;font-size:23px;font-weight:900;letter-spacing:.08em}.brand small{display:block;font-size:9px;letter-spacing:.28em;margin-top:5px}.masthead>div{display:flex;align-items:center;gap:20px}#save-status{font-size:11px;color:var(--muted)}main{max-width:1250px;margin:auto;padding:35px 32px 65px}h1,h2,h3,p{margin-top:0}h2{font-size:28px;letter-spacing:.03em;line-height:1.5;margin-bottom:12px}h3{font-size:17px}p{line-height:1.85;color:#617266;font-size:14px}small{font-size:11px;font-weight:400}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;color:var(--gold);margin-bottom:13px}.season-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.season-header h1{font-family:Georgia,serif;font-size:60px;line-height:1;margin:0 0 12px}.season-header h1 span{font-family:Meiryo,sans-serif;font-size:20px;padding-left:13px}.season-header p{margin-bottom:8px}.season-badges{display:flex;gap:8px;flex-wrap:wrap}.season-badges span{border:1px solid var(--line);padding:10px 13px;font-size:12px;border-radius:5px}.steps{display:grid;grid-template-columns:repeat(6,1fr);margin:28px 0 32px;border-block:1px solid var(--line)}.steps span{padding:18px 8px;color:#929b91;font-size:12px;white-space:nowrap}.steps b{font-size:10px;margin-right:9px}.steps .active{border-bottom:3px solid var(--green);color:var(--green);font-weight:bold}.steps .passed{color:#536e5e}.hero{background:var(--green);color:#f9f7eb;padding:55px;display:grid;grid-template-columns:1.2fr 1fr;gap:20px;border-radius:9px;overflow:hidden}.hero h2{font-size:42px;line-height:1.5;letter-spacing:.1em}.hero p{color:#c5d4c7}.hero .eyebrow{color:#e0bd70}.hero .primary{background:#e8c470;color:#253d2d;margin-top:10px}.hero small{display:block;color:#c5d4c7;margin-top:15px}.diamond{position:relative;min-height:300px;display:grid;place-items:center;background:repeating-radial-gradient(circle at center,#ffffff09 0 1px,transparent 1px 36px)}.diamond i{width:180px;height:180px;border:1px solid #e8c47088;transform:rotate(45deg);background:linear-gradient(135deg,transparent,#ffffff0a)}.diamond i:before,.diamond i:after{content:'';position:absolute;width:12px;height:12px;background:#f7f1dc;top:-6px;left:-6px}.diamond i:after{top:auto;bottom:-6px;left:auto;right:-6px}.diamond b{position:absolute;letter-spacing:.4em;font-family:serif;font-size:26px}.diamond span{position:absolute;bottom:10px;font-size:10px;letter-spacing:.2em;color:#ccd4b8}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:35px 0}.guide-grid article{border-top:1px solid var(--line);padding-top:18px}.guide-grid b{color:var(--gold);font:24px Georgia}.guide-grid h3{margin:10px 0}.panel{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:30px;margin-bottom:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.section-heading h2{margin:0}.section-heading>span{color:var(--muted);font-size:12px}.tag{display:inline-block;font-size:10px;background:#edf0e6;color:#516848;padding:5px 9px;border-radius:3px;white-space:nowrap}.muted{color:#8b968a}.exam-progress{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}.exam-progress span{font-size:12px;padding:8px 12px;background:#f1f2eb;border-radius:4px}.exam-progress .current{background:#e1e9d9;color:var(--green);font-weight:bold}.pitch-trial{text-align:center;background:#f4f5ed;padding:28px 20px;border-radius:6px}.pitch-icon{font-size:45px;margin-bottom:10px}.pitch-trial h3{font-size:25px}.choices{display:flex;justify-content:center;gap:18px;margin:25px auto}.choices fieldset{padding:12px;border:1px solid #cfd9c9;border-radius:5px;display:flex;gap:12px}.choices legend{font-size:11px;color:var(--muted)}.choices label{display:flex;align-items:center;gap:5px;font-size:14px;cursor:pointer;min-height:32px}.choices input{accent-color:var(--green);width:16px;height:16px}.pitch-results{display:flex;gap:16px;justify-content:center;margin-top:20px;flex-wrap:wrap}.pitch-results>span{font-size:14px}.pitch-results small{display:block;font-size:10px;color:var(--muted);margin-top:5px}canvas{display:block;width:100%;aspect-ratio:900/310;border-radius:6px;touch-action:manipulation}.game-control{display:block;width:100%;margin-top:15px;min-height:60px;font-size:18px}.hint{font-size:11px;color:var(--muted);margin-top:13px;margin-bottom:0}.exam-summary{padding:0 20px}.exam-summary p{font-size:12px}.scout-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.scout-card{border:1px solid var(--line);padding:25px 20px;border-top:3px solid var(--gold);border-radius:5px}.scout-card h3{font-size:25px;margin-top:18px}.scout-card small{display:block;text-align:center;margin-top:12px;color:var(--muted)}.scout-card button{width:100%}.scout-comments{min-height:155px;padding:16px 0}.scout-comments p{font-size:12px}.position{font-size:12px;color:var(--ink);font-weight:700}.position span{font-weight:400;color:var(--muted);margin-left:14px}.player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0}.player-card{padding:21px;background:var(--white);border:1px solid var(--line);border-radius:6px}.player-heading{display:flex;gap:9px;align-items:center;margin-bottom:14px;flex-wrap:wrap}.player-heading h3{margin:0;flex:1;font-size:18px}.grade{font-size:10px;color:var(--muted);border:1px solid var(--line);padding:4px}.abilities{display:flex;gap:12px;align-items:center;margin-bottom:15px}.abilities>span{display:flex;flex-direction:column;font-size:9px;text-align:center;gap:5px;color:var(--muted)}.rank{display:inline-block;font:800 20px Georgia,serif;padding:2px 4px;text-align:center;min-width:22px}.rS{color:#bc8226}.rA{color:#c76d42}.rB{color:#527b42}.rC{color:#39828a}.rD{color:#4c77a3}.rE{color:#7a73a0}.rF{color:#88938a}.rG{color:#9c9b91}.abilities strong{font-size:17px;color:var(--ink)}.abilities .ball-type strong{font-size:12px;padding-top:4px}.trait{display:inline-block;background:#edf1e6;border-radius:3px;color:#4e6847;font-size:10px;padding:4px 8px;white-space:nowrap}.trait-note{display:block;color:var(--muted);margin-top:7px;font-size:9px}.starter{display:flex;align-items:center;gap:20px;background:#edf1e7;padding:15px;border-radius:5px;margin-bottom:20px;font-weight:700;font-size:13px}.starter select{padding:10px;border:1px solid #ced8c8;background:var(--white);border-radius:4px;max-width:100%;flex:1;color:var(--ink)}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px;text-align:left}th{background:#eef1e7;color:var(--muted);font-size:10px;padding:12px 14px;font-weight:500}td{padding:13px 14px;border-bottom:1px solid #e9eade}td small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.lineup-table .abilities{margin:0;gap:12px}.lineup-table .rank{font-size:17px}.order-num{font:22px Georgia!important;color:var(--gold)}.move-buttons{display:flex;gap:4px}.move-buttons button{padding:8px 12px}.roster summary,#records>summary{padding:20px 0;cursor:pointer;font-size:17px;font-weight:bold;list-style-position:inside}.roster summary span,#records>summary span{font-size:11px;color:var(--muted);font-weight:normal;margin-left:15px}.result-title{font-size:36px}.result-metrics{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);padding:22px 0;margin:25px 0}.result-metrics>span{font-size:11px;color:var(--muted);text-align:center;border-right:1px solid var(--line)}.result-metrics>span:last-child{border:0}.result-metrics b{display:block;font:35px Georgia;color:var(--ink);margin-top:8px}.result-metrics small{font-size:12px}.score-strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:12px;margin-bottom:28px}.score-strip>div{min-width:106px;background:#f3f4ed;padding:13px;text-align:center;border-radius:4px}.score-strip small{font-size:10px;display:block;color:var(--muted)}.score-strip b{display:block;font:22px Georgia;margin:8px 0}.score-strip b span{color:#9ca697}.score-strip .win{font-size:9px;color:#497357;letter-spacing:.15em}.score-strip .lose{font-size:9px;color:#a97d5f;letter-spacing:.15em}.panel>h3{margin-top:30px}.stat-strong{font-weight:bold}.growth-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.growth-grid article{background:#f3f5ee;padding:17px;border-radius:4px}.growth-grid h3{font-size:15px}.growth-grid h3 small{float:right;color:var(--muted)}.growth-grid p{font-size:12px;margin-bottom:6px}.growth-grid>article>small{color:var(--muted);font-size:10px}.awakening{background:#f8edcc;border:1px solid #e3c47d;padding:25px;margin:22px 0}.awakening h3{font-size:24px}.section-action{margin-top:25px;text-align:right}.notice{background:#f7eccf;padding:16px;border-radius:5px;color:#79622e}.clear-screen{text-align:center;padding:55px 20px;background:var(--green);color:#fff8e2;border-radius:7px;margin-bottom:28px}.clear-star{font-size:80px;color:#e8c470}.clear-screen h2{font-size:30px}.clear-screen h2>span{display:block;font:100px Georgia;margin:20px 0;color:#e8c470}.clear-screen h2 small{font-size:24px}.clear-screen p{color:#c6d5c4}.clear-screen .primary{background:#e8c470;color:var(--ink)}#records{border-top:1px solid var(--line);margin-top:28px}.history-item{background:var(--white);padding:16px;margin-bottom:10px;border:1px solid var(--line);border-radius:5px}.history-item>summary{font-size:13px;cursor:pointer}.history-item>summary b{margin-left:20px}.history-item h3{margin-top:25px}footer{max-width:1186px;margin:0 auto;padding:22px 0;border-top:1px solid var(--line);color:var(--muted);font-size:10px;display:flex;justify-content:space-between}footer span{font-size:9px}@media(max-width:900px){.hero{padding:35px}.hero h2{font-size:34px}.player-grid,.growth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scout-grid{gap:10px}.scout-card{padding:20px 15px}.scout-comments{min-height:190px}.season-badges{max-width:280px;justify-content:flex-end}.choices{gap:8px}.steps span{font-size:11px}.steps b{margin-right:4px}}@media(max-width:620px){main{padding:24px 16px 40px}.masthead{padding:18px 16px}.brand{font-size:16px}.brand small{font-size:7px}.masthead>div{gap:8px;flex-direction:column;align-items:flex-end}.masthead .quiet{font-size:10px;padding:6px 9px}#save-status{font-size:9px}.season-header{align-items:flex-start}.season-header h1{font-size:47px}.season-header h1 span{font-size:16px}.season-header p:not(.eyebrow){font-size:10px}.season-badges{flex-direction:column;gap:5px}.season-badges span{font-size:9px;padding:5px 7px}.steps{margin:22px 0;overflow-x:auto;grid-template-columns:repeat(6,minmax(79px,1fr))}.steps span{padding:13px 5px;font-size:10px}.steps b{display:block;margin-bottom:5px}.hero{display:block;padding:30px 24px}.hero h2{font-size:32px}.hero p{font-size:12px}.diamond{display:none}.guide-grid{grid-template-columns:1fr;gap:13px}.guide-grid article{display:grid;grid-template-columns:35px 1fr;gap:5px}.guide-grid p{grid-column:2}.guide-grid h3{margin:0}.panel{padding:20px 15px}.section-heading{align-items:flex-start;flex-direction:column;gap:12px}.section-heading>.primary{width:100%}h2{font-size:23px}.choices{flex-direction:column;margin:20px auto;max-width:260px;gap:5px}.choices fieldset{justify-content:center;padding:8px}.choices label{min-width:85px}.pitch-trial{padding:20px 10px}.pitch-trial h3{font-size:22px}.pitch-trial p{font-size:12px}.pitch-results{flex-direction:column;gap:10px}.scout-grid{grid-template-columns:1fr}.scout-comments{min-height:0;padding:10px 0}.scout-card h3{margin-top:12px;margin-bottom:14px}.player-grid{grid-template-columns:1fr;gap:10px}.player-card{padding:18px}.abilities{justify-content:space-between;max-width:330px}.starter{flex-direction:column;align-items:stretch;gap:10px}.starter select{width:100%;font-size:11px}td,th{padding:11px 9px}.lineup-table .abilities{gap:8px}.roster summary span{display:block;font-size:10px;margin-top:8px}.growth-grid{grid-template-columns:1fr}.result-metrics b{font-size:28px}.result-title{font-size:29px}.clear-screen h2{font-size:25px}footer{margin:0 16px;gap:10px;line-height:1.8}canvas{aspect-ratio:900/370}.history-item>summary{line-height:2}.history-item>summary b{display:block;margin-left:15px}.game-control{min-height:65px}}
/* タイトル画面のみ：ゲーム名を主役にし、説明文は自然に折り返す。 */
.hero h2{font-size:clamp(36px,5vw,64px);font-weight:900;letter-spacing:.06em}
#app:has(.hero) .season-header h1{font-size:32px}
.hero .title-description{font-size:16px;line-height:1.9;overflow-wrap:anywhere}
@media(max-width:620px){.hero .title-description{font-size:14px}}
.batter-note{max-width:500px;margin:18px auto 0;padding:12px 16px;background:var(--white);border-left:3px solid var(--gold);text-align:left;border-radius:4px}
.batter-note strong{display:block;font-size:11px;color:var(--gold);margin-bottom:5px}
.batter-note p{margin:0;font-size:15px;color:var(--ink);font-weight:700}
.batter-note ul{margin:0;padding-left:1.2em;color:var(--ink);font-size:15px;font-weight:700;line-height:1.7}
.batter-note li+li{margin-top:3px}
@media(max-width:620px){.batter-note ul{font-size:13px;line-height:1.65}.pitch-exam .batter-note{padding:8px 10px}}
@media(max-width:620px){#app:has(.pitch-exam) .season-header .eyebrow{display:none}#app:has(.pitch-exam) .season-header h1{font-size:32px}.pitch-exam .exam-progress{margin-bottom:8px}}
@media(max-width:620px){
 .pitch-exam .section-heading{margin-bottom:12px;gap:4px}
 .pitch-exam .section-heading .tag,.pitch-exam .section-heading .eyebrow,.pitch-exam .pitch-icon,.pitch-trial h3{display:none}
 .pitch-exam .exam-progress{gap:4px;margin-bottom:12px}
 .pitch-exam .exam-progress span{font-size:10px;padding:6px 8px}
 .pitch-trial{padding:14px 10px}
 .pitch-trial .eyebrow{margin-bottom:6px}
 .pitch-trial h3{font-size:19px;margin-bottom:8px}
 .pitch-trial>p:not(.eyebrow){margin-bottom:4px}
 .batter-note{margin-top:6px;padding:10px 12px}
 .batter-note p{font-size:14px}
 .pitch-exam .batter-note strong{margin-bottom:2px}
 .pitch-exam .batter-note ul{font-size:12px;line-height:1.35}
 .pitch-exam .batter-note li+li{margin-top:1px}
 .pitch-trial .choices{margin:3px auto;gap:3px}
 .pitch-trial .choices fieldset{padding:4px 8px}
 .pitch-trial .choices label{min-height:36px}
 .pitch-trial>[data-action="pitch"]{width:100%;min-height:48px}
 #app:has(.pitch-exam){padding-top:16px}
 .pitch-exam .section-heading{margin-bottom:8px}
}
.game-scores{display:grid;gap:8px;margin:16px 0 24px;min-width:0}
.game-score{min-width:0;border:1px solid #d6ded8;border-radius:8px;padding:10px 12px}
.game-score>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;font-size:14px}
.game-score>summary b{white-space:nowrap}
.game-score>summary small{display:block;margin-top:3px;font-size:10px;color:#587269}
.game-score .table-wrap{margin-top:10px;max-width:100%}
.inning-table{font-variant-numeric:tabular-nums}
.inning-table th,.inning-table td{padding:8px 10px;text-align:center;white-space:nowrap}
.inning-table .score-total{font-weight:700;background:#fafaf6}
.inning-score{min-width:28px;min-height:28px;padding:3px 7px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--ink);font:700 12px inherit;line-height:1;box-shadow:none}
.inning-score:hover,.inning-score:focus-visible{background:#eef1e7;color:var(--green);filter:none}
.inning-score.is-selected{border-color:#9db09a;background:#e3eadc;color:var(--green)}
.inning-log{margin:8px 0 2px;padding:10px 12px;border-top:2px solid #d5dfce;background:#f7f8f3;border-radius:0 0 5px 5px;min-width:0}
.inning-log[hidden]{display:none}
.inning-log h4{margin:0 0 7px;font-size:13px;color:var(--green)}
.inning-play{display:grid;grid-template-columns:4.5em minmax(0,1fr);gap:8px;padding:5px 0;border-top:1px solid #e5e8df;font-size:11px;line-height:1.55}
.inning-play:first-of-type{border-top:0}
.inning-play>span:first-child{color:var(--muted);white-space:nowrap}
.inning-play>span:last-child{min-width:0;overflow-wrap:anywhere}
.inning-play small{color:var(--muted);font-size:10px}
.inning-log-empty{margin:0;color:var(--muted);font-size:11px}
@media(max-width:620px){.inning-table th,.inning-table td{padding:6px 5px}.inning-score{min-width:25px;min-height:27px;padding:3px}.inning-log{padding:9px 8px}.inning-play{grid-template-columns:4em minmax(0,1fr);gap:5px;font-size:10px}.inning-play small{font-size:9px}}
.growth-grid p.rank-up{color:var(--green);font-weight:700;border-left:2px solid var(--gold);padding-left:7px}
.growth-grid p.rank-up small{font-weight:700;color:var(--green)}
.lineup-controls{display:grid;gap:8px;width:190px;margin-top:10px;white-space:normal}
.lineup-controls label{display:grid;gap:4px;font-size:10px;color:var(--muted)}
.lineup-controls select{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:4px;background:var(--white);color:var(--ink);font-size:12px;padding:7px}
.exam-results dl{max-width:480px;margin:24px 0}
.exam-results dl>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0;gap:15px}
.exam-results dd{margin:0;font-weight:700}
.exam-results .exam-total{font-size:20px;color:var(--green)}
/* 春夏のオーダー一覧。世界・宇宙や選手カードには影響させない。 */
main:has(.order-editor) .season-header h1{font-size:36px}
main:has(.order-editor) .season-header p:not(.eyebrow){display:none}
main:has(.order-editor) .steps{margin:16px 0}
.order-editor{padding:22px}
.order-editor .section-heading{margin-bottom:14px}
.order-editor .eyebrow{margin-bottom:4px}
.order-editor h2{font-size:24px}
.order-editor .order-starter{padding:8px 12px;margin-bottom:16px;max-width:660px}
.order-tactics{display:flex;align-items:center;gap:28px;padding:16px 18px;margin:0 0 20px;border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:6px;background:var(--paper)}
.tactics-heading{flex-shrink:0}.order-tactics h3{margin:0;font-size:17px}.order-tactics .eyebrow{font-size:9px;margin-bottom:6px}
.tactics-options{display:grid;gap:8px;width:100%;max-width:430px;min-width:0}.tactics-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:center}.tactics-row>span{font-size:12px;font-weight:700;color:var(--ink)}
.tactics-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0}.tactics-buttons button{min-width:0;min-height:44px;padding:8px 5px;font-size:12px;border:1px solid var(--line);background:var(--white);color:var(--green)}.tactics-buttons button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--white);box-shadow:inset 0 -3px 0 var(--gold)}
@media(max-width:760px){.order-tactics{display:block;padding:13px 10px;margin-bottom:16px}.tactics-heading{margin-bottom:12px}.tactics-options{max-width:none;gap:12px}.tactics-row{grid-template-columns:1fr;gap:5px}.tactics-buttons button{font-size:12px}}
.order-starter select{padding:7px;font-size:12px;min-height:38px}
.order-columns{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:20px;align-items:start}
.order-columns section,.order-columns aside{min-width:0}
.order-columns h3{font-size:15px;margin:0 0 10px}
.order-columns h3 small{color:var(--muted);margin-left:7px}
.order-row,.order-column-labels{display:grid;grid-template-columns:minmax(140px,1.1fr) minmax(180px,1.3fr) 95px 108px;gap:7px;align-items:center}
.order-column-labels{font-size:9px;color:var(--muted);padding:0 0 8px}
.order-row{min-height:52px;border-top:1px solid #e8eadf}
.order-toggle{display:grid;grid-template-columns:18px 26px minmax(0,1fr);gap:5px;align-items:center;padding:5px 0;border-radius:3px;background:none;color:var(--ink);text-align:left;min-width:0;font-size:12px;cursor:default}
.order-toggle:hover{filter:none}
.order-number{font:16px Georgia;color:var(--gold);text-align:center}
.position-icon{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:5px;font-size:12px;font-weight:800}
.pos-pitch{background:#efdce3;color:#825368}.pos-catch{background:#dce7f1;color:#466681}.pos-in{background:#f2e9c1;color:#78632e}.pos-out{background:#dfeadd;color:#426947}
.position-icon{position:relative}
.position-icon.fit-out{outline:1px dashed currentColor;outline-offset:1px}
.position-icon .fit-mark{position:absolute;right:-5px;top:-5px;font-size:9px;font-weight:800;line-height:12px;min-width:12px;border:1px solid currentColor;border-radius:3px;background:var(--white);color:var(--ink);text-align:center}
.order-defense-preview{grid-column:1/-1;font-size:10px;color:var(--green);background:#f7efdb;padding:5px 7px;line-height:1.6;border-radius:4px}
.order-name{min-width:0;white-space:nowrap}.order-name small{margin-left:5px;color:var(--muted);font-size:9px}
.order-detail{display:contents}
.order-abilities{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;align-items:center;text-align:center}
.order-abilities>span{display:flex;align-items:center;flex-direction:column;min-width:0}
.order-abilities small{font-size:8px;white-space:nowrap;color:var(--muted);line-height:1.25}
.order-abilities .rank{font-size:18px;padding:0;line-height:1.2;min-width:0}
.order-abilities.is-pitcher{grid-template-columns:1.2fr 1fr 1fr 1.4fr 1fr}
.order-abilities b{font-size:14px}.order-abilities b small{font-size:8px;margin-left:1px}
.order-abilities .pitch-name{font-size:7px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.order-trait{font-size:10px;color:var(--green);line-height:1.5;overflow-wrap:anywhere}
.order-actions{display:flex;gap:3px;align-items:center;flex-wrap:wrap}
.order-action{border:1px solid var(--line);background:#f3f5ed;color:var(--green);font-size:10px;padding:5px 6px;min-height:28px;white-space:nowrap}
.order-moves{display:flex;gap:3px}.order-moves button{padding:4px 7px}
.order-fit,.order-chevron,.order-mobile-speed,.order-mobile-pick,.order-tabs,.order-mobile-summary,.order-trait-description{display:none}
.order-bench{background:#f4f5ef;border-radius:6px;padding:12px}
.order-bench .order-row{grid-template-columns:minmax(0,1fr) 90px;padding:7px 0;gap:5px}
.order-bench .order-toggle{grid-column:1;grid-row:1;grid-template-columns:26px minmax(0,1fr)}
.order-bench .order-number{display:none}
.order-bench .order-name small{font-size:9px}
.order-bench .order-abilities{grid-column:1;grid-row:2}
.order-bench .order-trait{grid-column:2;grid-row:1}.order-bench .order-actions{grid-column:2;grid-row:2;justify-content:flex-end}
.order-prompt{display:flex;gap:12px;align-items:center;justify-content:space-between;background:#f7edcf;border-radius:5px;padding:10px 12px;margin:12px 0;font-size:12px;line-height:1.6}
.order-row.is-source{background:#f8efda;border-radius:5px}
@media(min-width:1100px){.order-starters .order-actions{display:grid;grid-template-columns:1fr 1fr}.order-starters .order-moves{grid-column:1/-1;justify-content:center}.order-starters .order-action{min-height:23px;padding:2px 6px}}
@media(min-width:761px) and (max-width:1099px){.order-columns{grid-template-columns:1fr}.order-bench{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.order-bench h3{grid-column:1/-1}}
@media(max-width:760px){
 .order-editor{padding:15px 10px}.order-editor .section-heading{flex-direction:column;align-items:stretch;gap:10px}.order-editor .section-heading>.primary{width:100%;font-size:13px;padding:10px}.order-editor h2{font-size:21px}
 .order-editor .order-starter{display:grid;grid-template-columns:1fr;gap:5px;font-size:11px;margin-bottom:10px}.order-starter select{width:100%;min-width:0;min-height:40px;font-size:11px}
 .order-tabs{display:flex;gap:5px;margin:10px 0}.order-tabs button{flex:1;min-width:0;padding:10px 5px;font-size:12px;background:#e9ece2;color:var(--green)}.order-tabs button[aria-pressed=true]{background:var(--green);color:white}
 .order-columns{display:block}.order-columns h3,.order-column-labels{display:none}.order-editor[data-tab=starters] .order-bench,.order-editor[data-tab=bench] .order-starters{display:none}
 .order-bench{padding:0;background:none}.order-row,.order-bench .order-row{display:block;position:relative;padding:0;min-height:44px}
 .order-toggle,.order-bench .order-toggle{display:grid;grid-template-columns:18px 25px minmax(0,1fr) auto 16px;gap:5px;width:100%;min-height:44px;padding:6px 0;cursor:pointer;font-size:12px}
 .order-bench .order-number{display:block}.order-name small{font-size:9px;display:inline;margin-left:4px}.order-bench .order-name small{display:block;margin-left:0}.order-chevron{display:block;color:var(--muted)}.order-mobile-speed{display:block;font-size:9px;color:var(--muted);white-space:nowrap}
 .order-detail{display:none}.is-expanded .order-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:10px 8px 14px;background:#f3f5ed;border-radius:5px;margin-bottom:5px}
 .order-abilities,.order-bench .order-abilities{grid-column:1}.order-abilities .rank{font-size:22px}.order-abilities small{font-size:10px}.order-abilities .pitch-name{font-size:9px}.order-abilities b{font-size:17px}
 .order-trait,.order-bench .order-trait{grid-column:1;grid-row:auto;font-size:12px}.order-actions,.order-bench .order-actions{display:flex;grid-column:1;grid-row:auto;justify-content:flex-start;gap:6px}.order-action{min-height:40px;padding:8px 10px;font-size:12px}.order-moves button{min-width:40px}.order-fit{display:block;grid-column:1;color:var(--muted);font-size:10px}
 .order-mobile-pick{display:block;padding-bottom:7px}.order-mobile-pick button{width:100%;background:#e6edde}.order-prompt{font-size:11px;gap:8px;align-items:flex-start}.order-prompt .order-action{padding:8px 5px;font-size:10px}
 .order-starters .order-toggle,.order-bench .order-toggle{grid-template-columns:18px 25px minmax(0,1fr) 16px;padding:5px 0;gap:3px 5px}
 .order-starters .order-mobile-speed,.order-bench .order-mobile-speed{display:none}
 .order-bench .order-name small{display:inline;margin-left:4px;font-size:9px}
 .order-mobile-summary{grid-column:2/-1;display:flex;align-items:center;gap:8px;min-width:0;text-align:left;font-weight:400;line-height:20px}
 .order-compact-stats{display:flex;align-items:center;gap:7px;flex-shrink:0;font-size:10px;color:var(--muted)}
 .order-compact-stats>span{display:inline-flex;align-items:center;white-space:nowrap}
 .order-compact-stats .rank{font-size:16px;min-width:0;padding:0 1px;line-height:20px}
 .order-compact-stats small{font-size:8px;margin-left:1px}
 .order-compact-trait{min-width:0;font-size:9px;line-height:17px;background:#edf1e6;color:var(--green);border-radius:3px;padding:0 4px;white-space:nowrap}
 .order-detail .order-abilities{display:none}
 .order-defense-preview{display:block;margin:0 0 6px}
 .order-trait-description{display:block;grid-column:1;font-size:11px;color:var(--muted);line-height:1.6}
}
@media(max-width:360px){.order-compact-trait{display:none}}
.order-starters .order-row{position:relative;padding-left:22px}
.order-drag-handle{position:absolute;left:0;top:8px;width:20px;min-height:36px;padding:0;background:transparent;color:var(--muted);font-size:19px;cursor:grab;touch-action:pan-y;-webkit-touch-callout:none;user-select:none}
.order-own-positions{display:inline-block;font-size:9px;color:var(--muted);margin-left:3px;white-space:nowrap}
.order-dragging{box-shadow:0 4px 12px #204d3e26;background:#f5efd9;transform:translateY(-2px);z-index:1;border-radius:4px}
.order-dragging .order-drag-handle{color:var(--green);background:#e0e8d7;cursor:grabbing}
.order-insert-before{box-shadow:0 -3px 0 var(--gold)}
.order-insert-after{box-shadow:0 3px 0 var(--gold)}
.order-sorting{user-select:none;cursor:grabbing}
.order-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:760px){.order-starters .order-row{padding-left:22px}.order-starters .order-toggle{column-gap:4px}.order-name small{margin-left:3px}.order-own-positions{margin-left:2px}.order-drag-handle{top:9px}}
/* 守備交換はアイコン、選手交代は常時表示ボタン。 */
button.position-icon{padding:0;border:0;cursor:grab;touch-action:pan-y;-webkit-touch-callout:none;user-select:none;transition:none}
.defense-source{box-shadow:0 3px 9px #204d3e44;outline:2px solid var(--green);outline-offset:2px;transform:translateY(-2px)}
.defense-eligible{box-shadow:0 0 0 1px #789783}
.defense-target{outline:3px solid var(--gold);outline-offset:3px;box-shadow:0 0 0 6px #e9c56a33}
.defense-drag-feedback{position:fixed;z-index:20;max-width:min(300px,calc(100vw - 16px));padding:8px 10px;border:1px solid var(--gold);border-radius:5px;background:#fff9e9;color:var(--green);font-size:11px;line-height:1.6;box-shadow:0 3px 10px #204d3e22;pointer-events:none}
.defense-drag-feedback[hidden]{display:none}
.order-toggle{cursor:default}
.order-starters .order-actions{display:flex;justify-content:flex-end}
@media(max-width:760px){
 .order-toggle,.order-starters .order-toggle,.order-bench .order-toggle{grid-template-columns:18px 25px minmax(0,1fr);padding-right:43px}
 .order-detail{display:contents}
 .order-detail .order-trait{display:none}
 .order-actions,.order-bench .order-actions,.order-starters .order-actions{position:absolute;top:5px;right:0;display:flex;justify-content:flex-end}
 .order-actions .order-action{font-size:10px;min-height:30px;padding:5px 6px}
 .order-mobile-summary{margin-right:-43px;flex-wrap:wrap;gap:0 7px;padding-bottom:1px}
 .order-compact-trait{display:inline-block;white-space:normal;overflow-wrap:anywhere;max-width:100%}
 .order-compact-stats{gap:6px}
 .order-name{white-space:normal;line-height:1.5}
}
.policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.policy-grid button{border:1px solid var(--line);background:#f3f5ed;color:var(--green);padding:18px;text-align:left}.policy-grid strong,.policy-grid small{display:block}.policy-grid strong{font-size:16px}.policy-grid small{margin-top:7px;color:var(--muted);line-height:1.5}@media(max-width:620px){.policy-grid{grid-template-columns:1fr}.policy-grid button{padding:15px}}
.captain-badge{display:inline-block;padding:3px 7px;border:1px solid #b68a3b;border-radius:3px;background:#fbf2d9;color:#76571f;font-size:9px;font-weight:800;line-height:1.2;white-space:nowrap}
.order-name .captain-badge{margin-left:5px;vertical-align:1px}
.retiring-captain{display:flex;align-items:center;gap:9px;padding:10px 12px;background:#f7efdb;border-left:3px solid var(--gold);border-radius:4px}
.captain-selection{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
.captain-candidates{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:16px 0}
.captain-choice{display:block;min-width:0;padding:0;border:2px solid transparent;border-radius:7px;background:transparent;color:var(--ink);text-align:left;box-shadow:none}
.captain-choice:hover{filter:none;border-color:#c8d4c2}.captain-choice.is-selected{border-color:var(--gold);background:#fffaf0}
.captain-choice .player-card{height:100%;padding:14px 12px}.captain-choice .player-heading h3{font-size:14px}.captain-choice .abilities{gap:4px;justify-content:space-between}.captain-choice .rank{font-size:16px}.captain-choice .trait-note{display:none}
.captain-inheritance{display:grid;gap:5px;padding:14px 16px;background:#edf3e9;border-radius:5px;color:var(--green);font-size:12px}.captain-inheritance b{font-size:16px}.captain-inheritance strong{font-size:14px}
.scout-bonus{display:flex;align-items:center;gap:12px;margin-top:18px;padding:11px 14px;border-left:3px solid var(--gold);border-radius:4px;background:#f7efdb;color:var(--green);font-size:12px}.scout-bonus b{white-space:nowrap}.scout-bonus span{color:var(--muted)}
@media(max-width:620px){.scout-bonus{display:grid;gap:3px;padding:10px 12px;font-size:11px}}
@media(max-width:900px){.captain-candidates{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.captain-candidates{grid-template-columns:1fr;gap:7px}.captain-choice .player-card{padding:12px}.captain-choice .player-heading{margin-bottom:7px}.captain-choice .position{margin:5px 0}.captain-choice .abilities{margin-bottom:8px}.captain-selection{margin-top:22px;padding-top:18px}}
.awakening-comment{margin:14px 0 0;padding:12px 15px;border-left:3px solid var(--gold);background:#fffaf0;color:var(--ink);font-size:14px;line-height:1.9;overflow-wrap:anywhere;word-break:normal}
@media(max-width:620px){.awakening{padding:19px 16px}.awakening-comment{padding:10px 12px;font-size:13px;line-height:1.8}}
.school-form label{position:absolute;z-index:1;width:min(250px,82%);text-align:center}.school-form label>span:first-child{display:block;color:#e8c470;font-size:11px;font-weight:800;letter-spacing:.16em;margin-bottom:9px}.school-input{display:flex;align-items:center;gap:7px}.school-input input,.rename-recruit input{min-width:0;width:100%;border:1px solid #c9cdbf;border-radius:5px;background:#fffef9;color:var(--ink);padding:12px 13px}.school-input b{position:static;font:700 15px Meiryo,sans-serif;letter-spacing:0;white-space:nowrap}.school-form label small{margin-top:8px}.school-form em{position:absolute;bottom:10px;font-size:10px;font-style:normal;letter-spacing:.2em;color:#ccd4b8}.special-scout{display:inline-block;margin-bottom:9px;border:1px solid var(--gold);border-radius:3px;padding:4px 7px;color:#806220;font-size:9px;font-weight:900;letter-spacing:.12em}.special-scout.space{color:#536848;border-color:#819777}.scout-reveal{max-width:760px;margin-inline:auto}.reveal-card{max-width:430px;margin:24px auto}.rename-recruit{max-width:430px;margin:24px auto 0;padding-top:20px;border-top:1px solid var(--line)}.rename-recruit>label{display:block;margin-bottom:9px;font-size:13px;font-weight:800}.rename-recruit>div{display:flex;gap:8px}.rename-recruit small{display:block;margin-top:8px;color:var(--muted)}.clear-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.clear-screen .quiet{border-color:#ffffff55;color:#fff}
.clear-result-card{max-width:980px;margin-inline:auto;padding:46px 48px;text-align:left}.clear-heading{text-align:center;border-bottom:1px solid #ffffff2b;padding-bottom:25px}.clear-heading .clear-star{font-size:44px;line-height:1}.clear-heading h2{font:700 44px Georgia,serif;letter-spacing:.12em;margin:8px 0}.clear-heading h2 small{font:700 18px Meiryo,sans-serif;letter-spacing:.08em}.clear-years{margin:10px 0 0;color:#d8e0d1}.clear-years strong{display:block;font:82px Georgia,serif;color:#e8c470;line-height:1.05}.clear-years small{font:700 18px Meiryo,sans-serif;margin-left:7px}.champion-lineup{padding-top:20px}.result-diamond{position:relative;width:min(720px,100%);height:340px;margin:0 auto 20px;border:1px solid #ffffff1f;background:radial-gradient(circle at 50% 75%,#ffffff0d,transparent 55%);overflow:hidden}.result-diamond>i{position:absolute;width:30%;aspect-ratio:1;left:35%;top:32%;border:1px solid #e8c47070;transform:rotate(45deg)}.result-diamond>i:after{content:'';position:absolute;inset:31%;border:1px solid #ffffff25}.result-player{position:absolute;transform:translate(-50%,-50%);min-width:100px;text-align:center;padding:6px 9px;background:#204d3ee8;border-top:1px solid #e8c47075}.result-player small{display:block;color:#bfcdbf;font-size:9px;letter-spacing:.12em}.result-player b{display:block;color:#fff8e2;font-size:13px;white-space:nowrap;margin-top:3px}.result-player em{display:inline-grid;place-items:center;width:17px;height:17px;border:1px solid var(--gold);border-radius:50%;color:#e8c470;font:700 9px Georgia;font-style:normal}.pos-中堅手{left:50%;top:10%}.pos-左翼手{left:18%;top:24%}.pos-右翼手{left:82%;top:24%}.pos-遊撃手{left:35%;top:44%}.pos-二塁手{left:65%;top:44%}.pos-三塁手{left:19%;top:66%}.pos-投手{left:50%;top:63%}.pos-一塁手{left:81%;top:66%}.pos-捕手{left:50%;top:88%}.clear-records{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid #ffffff2b;margin:8px 0 28px}.clear-records>section{padding:28px 30px}.clear-records>section+section{border-left:1px solid #ffffff2b}.clear-records h3{font-size:20px;margin-bottom:15px}.clear-records ul{list-style:none;padding:0;margin:0}.clear-records li{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid #ffffff18;font-size:13px}.clear-records li span{color:#c6d5c4}.clear-records li b{color:#fff8e2}.season-total{display:flex;align-items:baseline;justify-content:flex-end;gap:10px;color:#e8c470!important;font-weight:700;margin:15px 0 0}.season-total small{font-size:11px}.season-total strong{font:700 22px Georgia,serif}.share-status{min-height:22px;text-align:center;color:#e8c470!important;margin:12px 0 0}.clear-result-card+.panel{margin-top:28px}.annual-player-stats>section{margin-top:26px}.annual-player-stats>section>.eyebrow{margin-bottom:9px}.annual-table-wrap{max-width:100%;overflow:hidden}.annual-table-wrap table{width:100%;table-layout:fixed}.annual-table-wrap th:first-child,.annual-table-wrap td:first-child{width:28%;text-align:left;overflow-wrap:anywhere}.annual-table-wrap th,.annual-table-wrap td{padding:9px 7px;text-align:right}.annual-mobile-only{display:none}
@media(max-width:620px){.clear-result-card{padding:30px 14px}.clear-heading h2{font-size:31px}.clear-years strong{font-size:62px}.champion-lineup{padding-top:16px}.result-diamond{height:245px;margin-bottom:16px}.result-diamond>i{width:36%;left:32%;top:34%}.result-player{min-width:76px;padding:4px}.result-player b{font-size:10px;max-width:92px;overflow:hidden;text-overflow:ellipsis}.pos-中堅手{top:8%}.pos-左翼手{left:18%;top:21%}.pos-右翼手{left:82%;top:21%}.pos-遊撃手{left:32%;top:41%}.pos-二塁手{left:68%;top:41%}.pos-三塁手{left:16%;top:64%}.pos-一塁手{left:84%;top:64%}.pos-投手{top:61%}.pos-捕手{top:89%}.clear-records{grid-template-columns:1fr}.clear-records>section{padding:24px 8px}.clear-records>section+section{border-left:0;border-top:1px solid #ffffff2b}.clear-actions{display:grid}.clear-actions button{width:100%}.annual-player-stats{padding-inline:12px}.annual-player-stats h2{font-size:22px}.annual-table-wrap th,.annual-table-wrap td{padding:8px 3px;font-size:10px}.annual-table-wrap th:first-child,.annual-table-wrap td:first-child{width:34%;}.annual-wide{display:none}.annual-mobile-only{display:table-cell}}
@media(max-width:620px){.hero .diamond{display:grid;min-height:235px;margin-top:20px}.diamond i{width:145px;height:145px}.school-form label{width:min(260px,94%)}.rename-recruit>div{flex-direction:column}.rename-recruit button{width:100%}}
.camp-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.camp-heading h2{margin-bottom:0}.camp-intro{margin:16px 0 20px}.camp-rounds{display:grid;gap:12px;min-width:0}.camp-round{min-width:0;border:1px solid var(--line);border-radius:6px;padding:14px 16px;background:var(--paper)}.camp-round h3{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:16px}.camp-number{font:22px Georgia;color:var(--gold)}.camp-round .camp-select{padding:0;margin:0;background:none;min-width:0}.camp-select select{width:100%;min-width:0;max-width:100%;font-size:12px;min-height:44px;text-overflow:ellipsis}.camp-selected-stats{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:8px;font-size:11px;color:var(--muted)}.camp-target-stat{font-weight:700;color:var(--green)}.camp-action{text-align:center;margin-top:20px}.camp-action button{min-height:46px;max-width:100%}.camp-outcome{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:20px}.camp-roulette{position:relative;width:100px;height:100px;margin:12px 0 3px}.camp-pointer{position:absolute;top:-16px;left:calc(50% - 10px);z-index:1;color:var(--green);font-size:20px}.camp-wheel{position:relative;width:100%;height:100%;border:3px solid var(--green);border-radius:50%;background:conic-gradient(from -45deg,#ece9d9 0deg 90deg,#dce4d3 90deg 180deg,#ead29f 180deg 270deg,#dca66d 270deg 360deg);transform:rotate(var(--camp-stop))}.camp-wheel span{position:absolute;left:calc(50% - 16px);top:calc(50% - 9px);width:32px;text-align:center;font:bold 15px Georgia;color:var(--green);transform:rotate(calc(var(--slot)*90deg)) translateY(-31px) rotate(calc(var(--slot)*-90deg - var(--camp-stop)))}.camp-result{min-width:0}.camp-player-name{font-weight:700;color:var(--ink);margin:0 0 3px;overflow-wrap:anywhere}.camp-gain{font:bold 30px Georgia;color:var(--green)}.camp-result.is-jackpot .camp-gain{color:#a36822}.camp-jackpot{display:inline-block;margin-left:8px;color:#926021;font-size:12px;font-weight:700}.camp-values{margin:4px 0;line-height:1.5;font-size:12px}.camp-rank-up{font-weight:700;color:#87631f;font-size:11px;margin:3px 0}.camp-cap{font-size:11px;margin:3px 0;color:var(--muted)}.is-spinning .camp-wheel{animation:camp-spin 1s cubic-bezier(.12,.65,.18,1) both}.is-spinning .camp-result{visibility:hidden}@keyframes camp-spin{from{transform:rotate(0deg)}to{transform:rotate(var(--camp-stop))}}
@media(max-width:620px){.camp-heading{align-items:flex-start;flex-wrap:wrap}.camp-intro{font-size:12px}.camp-round{padding:12px 10px}.camp-round h3{font-size:15px}.camp-select select{font-size:11px}.camp-selected-stats{font-size:10px;gap:4px 8px}.camp-outcome{grid-template-columns:78px minmax(0,1fr);gap:12px}.camp-roulette{width:76px;height:76px}.camp-wheel span{font-size:12px;top:calc(50% - 7px);transform:rotate(calc(var(--slot)*90deg)) translateY(-23px) rotate(calc(var(--slot)*-90deg - var(--camp-stop)))}.camp-values{font-size:11px}.camp-values .rank{font-size:17px}.camp-player-name{font-size:12px}.camp-action button{width:100%}}
.camp-assist{display:flex;justify-content:flex-end;margin:-8px 0 12px}.camp-assist button{min-height:40px;max-width:100%}@media(max-width:620px){.camp-assist{display:block;margin-top:-6px}.camp-assist button{width:100%}}
@media(prefers-reduced-motion:reduce){.is-spinning .camp-wheel{animation-duration:.01s}}
/* School identity and selected-player reveal: scoped editorial layouts. */
.school-hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;column-gap:40px}
.school-hero .hero-copy{display:contents}
.school-hero .hero-copy>.eyebrow,.school-hero .hero-copy>h2,.school-hero .title-description,.school-start{grid-column:1}
.school-hero .hero-copy>.eyebrow,.school-hero .hero-copy>h2,.school-hero .title-description{margin:0}
.school-hero .school-form{grid-column:2;grid-row:1 / span 4;min-height:330px;width:100%;margin:0;background:none}
.school-hero .school-form i{position:absolute;width:210px;height:210px;background:none;opacity:.5}
.school-hero .school-form label{position:relative;width:100%;max-width:330px;padding:22px 10px;background:var(--green);text-align:left}
.school-hero .school-form label span{position:static;bottom:auto;letter-spacing:normal}
.school-hero .school-form .school-kicker{font-size:10px;letter-spacing:.22em;color:#e8c470;margin:0 0 14px}
.school-title{display:block;font-size:17px;font-weight:500;margin-bottom:24px}
.school-hero .school-input{position:static;display:flex;align-items:baseline;border-bottom:1px solid #e8c470;gap:10px;padding-bottom:9px}
.school-hero .school-input input{padding:5px 0;border:0;border-radius:0;background:transparent;color:#fff9e8;font-size:24px;font-weight:700;outline-offset:5px}
.school-hero .school-input input::placeholder{color:#b3c5b5;font-size:20px;font-weight:400}
.school-hero .school-input b{color:#f8f2dc;font-size:17px}
.school-hero .school-form label small{font-size:10px;color:#a9bead;margin-top:10px}
.school-hero .school-form em{font-size:9px;letter-spacing:.22em;bottom:0;color:#9fb6a2}
.school-start .start-hint{font-size:11px;color:#e8c470;margin:8px 0 0}
.school-start .primary:disabled{opacity:.55}
.scout-reveal{max-width:920px;padding:34px 40px;border-top:3px solid var(--gold)}
.reveal-heading{border-bottom:1px solid var(--line);padding-bottom:20px}
.reveal-heading .eyebrow{margin-bottom:7px}.reveal-heading h2{font-size:24px;margin:0}
.scout-reveal .reveal-card{max-width:none;margin:0}
.scout-reveal .player-card{border:0;background:none;padding:28px 0;border-radius:0}
.scout-reveal .player-heading{margin-bottom:12px}
.scout-reveal .player-heading h3{font-size:30px;overflow-wrap:anywhere}
.scout-reveal .position{margin-bottom:24px}
.scout-reveal .abilities{max-width:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:20px 0;border-block:1px solid var(--line);margin:0 0 20px}
.scout-reveal .abilities.pitcher{grid-template-columns:repeat(5,minmax(0,1fr))}
.scout-reveal .abilities>span{font-size:11px;border-right:1px solid var(--line);gap:8px;min-width:0}
.scout-reveal .abilities>span:last-child{border:0}
.scout-reveal .rank{font-size:36px;line-height:1.1}
.scout-reveal .abilities strong{font-size:25px}.scout-reveal .abilities .ball-type strong{font-size:12px;overflow-wrap:anywhere}
.scout-reveal .trait-note{display:inline;margin-left:12px;font-size:11px}
.scout-reveal .rename-recruit{max-width:none;margin:0;padding:22px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center}
.scout-reveal .recruit-name-field{display:block;min-width:0}
.recruit-name-field label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}
.recruit-name-field label small{display:inline;font-weight:400;margin-left:8px}
.scout-reveal .rename-recruit input{font-size:16px;padding:11px 12px}
.scout-reveal .rename-recruit button{min-height:48px}
@media(max-width:620px){
 .school-hero{display:grid;grid-template-columns:minmax(0,1fr);padding:28px 22px;gap:18px}
 .school-hero .school-form{grid-column:1;grid-row:4;min-height:220px;margin:0}
 .school-hero .school-form i{width:145px;height:145px}
 .school-hero .school-form label{max-width:300px;padding:14px 0}
 .school-hero .school-form em{bottom:-4px}
 .school-title{font-size:15px;margin-bottom:15px}
 .school-start{grid-row:5}.school-start .primary{width:100%;padding:14px 8px;font-size:13px}
 .school-start .start-hint{margin-top:0}
 .scout-reveal{padding:22px 16px}
 .reveal-heading{padding-bottom:16px}.reveal-heading h2{font-size:21px}
 .scout-reveal .player-card{padding:20px 0}
 .scout-reveal .player-heading h3{font-size:24px}
 .scout-reveal .abilities{padding:16px 0}
 .scout-reveal .abilities>span{font-size:9px}
 .scout-reveal .rank{font-size:29px}
 .scout-reveal .abilities strong{font-size:18px}
 .scout-reveal .abilities strong small{display:block;font-size:9px}
 .scout-reveal .abilities .ball-type strong{font-size:10px}
 .scout-reveal .trait-note{display:block;margin:8px 0 0}
 .scout-reveal .rename-recruit{grid-template-columns:minmax(0,1fr);gap:16px;padding-top:18px}
 .scout-reveal .rename-recruit button{width:100%;min-height:50px}
}
/* 投手5能力。狭幅では球種と能力を自然に折り返す。 */
.order-starter-abilities{display:none}
@media(max-width:760px){.order-starter-abilities{display:block;margin:-4px 0 18px}.order-starter-abilities .order-abilities{width:100%;min-width:0;gap:5px}.order-starter-abilities .order-abilities>span{min-width:0}.order-starter-abilities .order-abilities>span>small{white-space:normal}}
.abilities.pitcher{flex-wrap:wrap;gap:8px}.abilities.pitcher>span{min-width:0}.abilities .ball-type strong,.order-abilities .pitch-name{overflow-wrap:anywhere;white-space:normal}
@media(max-width:760px){.order-compact-stats{flex-wrap:wrap;flex-shrink:1;min-width:0;max-width:100%;gap:2px 6px}.order-compact-stats .pitch-name{white-space:normal;overflow-wrap:anywhere}.order-mobile-summary{min-width:0}.order-starter select{min-width:0;max-width:100%}}
/* Mobile play layout: presentation only. */
.ad-placeholder{height:50px;max-width:728px;margin:0 auto 18px;display:grid;place-items:center;background:#e9e9e5;border:1px solid #d8d9d3;color:#7b807a;font-size:10px}
.order-bottom-action{margin-top:20px;text-align:right;padding-bottom:env(safe-area-inset-bottom,0px)}
.order-drag-help{font-size:11px;margin:8px 0;color:var(--muted)}
.order-drag-help span{display:block;line-height:1.6}
.order-row,.order-drag-handle,[data-defense-id]{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.order-drag-handle{border:1px solid var(--line);background:#edf1e7;color:var(--green);cursor:grab}
.growth-bottom-action{padding-bottom:env(safe-area-inset-bottom,0px)}
.scout-fresh{margin:20px 0 24px;border-block:1px solid var(--line);padding:16px 0}.scout-fresh-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}.scout-fresh-heading h3{margin:0}.scout-fresh-heading>span{font-size:10px;color:var(--muted)}.scout-fresh-list{display:grid}.scout-fresh-row{display:grid;grid-template-columns:170px minmax(0,1fr) 120px;align-items:center;gap:12px;padding:10px 8px;border-top:1px solid #e9eade}.scout-fresh-row:first-child{border-top:0}.scout-fresh-player b{display:block;font-size:13px}.scout-fresh-player>span{display:block;margin-top:4px;font-size:11px;color:var(--ink)}.scout-fresh-player small{margin-left:8px;color:var(--muted)}.scout-fresh-row .abilities,.scout-fresh-row .abilities.pitcher{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0;max-width:none}.scout-fresh-row .abilities>span{min-width:0}.scout-fresh-row .rank{font-size:17px}.scout-fresh-row .abilities strong{font-size:14px}.scout-fresh-row>.trait{justify-self:start;white-space:normal}.camp-main-position{margin-left:8px;color:var(--muted);font-size:10px;font-weight:400}
.clear-share-invite{text-align:center;margin:20px 0}.clear-share-invite p{margin-bottom:12px;font-weight:700;color:#fff8e2}.clear-share-invite small{display:block;margin-top:4px;font-weight:400;color:#c6d5c4}.clear-share-invite button{min-width:180px;border:1px solid #e8c470}
.clear-actions{padding-bottom:env(safe-area-inset-bottom,0px)}
.annual-table-wrap{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.annual-table-wrap table{min-width:620px;table-layout:auto;font-size:12px}
.annual-table-wrap th:first-child,.annual-table-wrap td:first-child{position:sticky;left:0;z-index:1;background:var(--white);width:150px;min-width:130px;box-shadow:1px 0 var(--line)}
.annual-table-wrap th:first-child{background:#eef1e7;z-index:2}
@media(max-width:620px){
 .masthead{padding:9px 12px;gap:8px}.brand{font-size:15px}.brand small{font-size:6px;margin-top:2px;letter-spacing:.15em}.masthead>div{flex-direction:row;gap:6px}.masthead .quiet{min-height:36px;padding:6px}
 main,#app:has(.pitch-exam){padding:12px 12px 28px}.season-header{gap:8px;align-items:center}.season-header h1,#app:has(.hero) .season-header h1,#app:has(.pitch-exam) .season-header h1{font-size:28px;margin:0 0 4px}.season-header h1 span{font-size:13px;padding-left:6px}.season-header .eyebrow{font-size:7px;margin-bottom:3px}.season-header p:not(.eyebrow){font-size:9px;line-height:1.4;margin:0}.season-badges{display:grid;grid-template-columns:1fr 1fr;gap:3px;max-width:150px;flex-shrink:0}.season-badges span{font-size:8px;padding:3px 4px}
 .steps{margin:10px 0;grid-template-columns:repeat(6,minmax(66px,1fr))}.steps span{padding:6px 3px;font-size:9px}.steps b{display:inline;margin-right:3px;font-size:8px}.ad-placeholder{height:50px;max-width:320px;margin-bottom:12px}
 .panel{padding:14px 12px;margin-bottom:18px}.section-heading{gap:6px;margin-bottom:12px}h2{font-size:21px}.eyebrow{margin-bottom:6px}.panel>p{font-size:12px;line-height:1.6;margin-bottom:10px}.exam-progress{gap:4px;margin-bottom:10px}.exam-progress span{font-size:10px;padding:5px 6px}.pitch-trial{padding:10px 8px}.pitch-trial .choices{margin:8px auto;gap:6px}.pitch-results{margin-top:10px}.player-grid{margin:12px 0}.starter{padding:10px;margin-bottom:12px;gap:6px}
 .growth-bottom-action button{width:100%;min-height:48px}.scout-fresh{margin:14px 0 18px;padding:10px 0}.scout-fresh-heading{display:block;margin-bottom:5px}.scout-fresh-heading h3{font-size:14px;margin-bottom:3px}.scout-fresh-heading>span{font-size:9px}.scout-fresh-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:9px 3px}.scout-fresh-player{grid-column:1}.scout-fresh-row>.trait{grid-column:2;grid-row:1}.scout-fresh-row .abilities,.scout-fresh-row .abilities.pitcher{grid-column:1 / -1;grid-row:2;gap:2px}.scout-fresh-row .abilities>span{font-size:8px;gap:2px}.scout-fresh-row .rank{font-size:16px}.scout-fresh-row .abilities strong{font-size:13px}.scout-fresh-row .abilities .ball-type strong{font-size:9px}.scout-fresh-player b{font-size:12px}.scout-fresh-player>span{font-size:10px}.scout-fresh-row>.trait{font-size:9px;max-width:110px}
 #minigame{width:calc(100% + 16px);margin-inline:-8px;height:210px;aspect-ratio:auto}.game-control{margin-top:8px;min-height:52px;padding-bottom:max(13px,env(safe-area-inset-bottom,0px))}.hint{margin-top:8px;line-height:1.5}
 .order-bottom-action button{width:100%;min-height:48px}.order-tactics{margin-top:20px}.order-drag-handle{min-height:44px}.annual-table-wrap .annual-wide{display:table-cell}.annual-table-wrap .annual-mobile-only{display:none}.annual-table-wrap th,.annual-table-wrap td{font-size:12px;padding:10px 12px}.annual-table-wrap th:first-child,.annual-table-wrap td:first-child{width:130px}.clear-share-invite small{font-size:10px}.clear-share-invite button{width:100%}
}
