.formation-panel{background:#fff;color:#252a2e;border:1px solid #e3e5e8;border-radius:24px;padding:clamp(18px,3vw,32px);text-align:left;font:16px/1.5 system-ui,sans-serif;min-width:0;margin:24px 0}
.formation-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.formation-panel h2{margin:4px 0;font-size:1.65rem;line-height:1.2}.formation-panel h3{font-size:1.2rem;margin:24px 0 12px}.formation-panel h4{margin:20px 0 6px}.formation-eyebrow{font-size:.8rem;font-weight:800;letter-spacing:.1em;color:#a5273e}.formation-play{display:inline-block;background:#aa2d42;color:#fff!important;text-decoration:none;border-radius:12px;padding:12px 18px;font-weight:700}
.formation-description,.formation-rule,.formation-meta{color:#59636c}.formation-panel .formation-meta,.formation-rule{font-size:.875rem}.formation-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.formation-metrics>div{padding:18px;border-radius:16px;background:#f6f7f9;display:flex;flex-direction:column;gap:8px}.formation-metrics span{font-size:.875rem}.formation-metrics strong{font-size:1.65rem;color:#962c3e;font-variant-numeric:tabular-nums}.formation-scroll{overflow:auto;max-width:100%}.formation-panel table{width:100%;border-collapse:collapse;font-size:.875rem;min-width:610px}.formation-panel th,.formation-panel td{padding:12px 10px;text-align:left;border-bottom:1px solid #e4e7eb}.formation-panel caption{text-align:left;font-weight:700;padding:12px 0}.formation-panel thead{background:#f6f7f9}.formation-panel summary{cursor:pointer;padding:14px 0;font-weight:600}.formation-panel summary:focus-visible,.formation-play:focus-visible{outline:3px solid #ad2d43;outline-offset:4px}.formation-detail{border-top:1px solid #e4e7eb;margin-top:18px}.formation-detail details{padding-left:16px}.formation-team{border-top:1px solid #dfe2e6;margin-top:28px;padding-top:26px}.formation-member{border-bottom:1px solid #e4e7eb;padding:4px 0}.formation-member>summary{display:grid;grid-template-columns:minmax(120px,1fr) 100px 150px;gap:14px;align-items:center}.formation-member>summary>span:first-child:before{content:'＋ ';color:#a5273e}.formation-member[open]>summary>span:first-child:before{content:'− '}.formation-member small{display:block;font-weight:400;color:#59636c;margin-left:20px}.formation-member>summary>strong{color:#a5273e}.formation-log{padding-left:20px;font-size:.9rem}.formation-log li{margin:8px 0}.formation-log span{font-weight:700}.formation-empty{padding:18px;background:#f6f7f9;border-radius:12px}
#stats #stlist{display:block;max-width:1000px;width:100%}#stats .formation-panel{width:100%;box-sizing:border-box;text-shadow:none}#stats .formation-panel p{max-width:none;color:inherit}#stats .formation-panel .formation-meta,#stats .formation-rule{color:#59636c}#stats .formation-panel h2,#stats .formation-panel h3{letter-spacing:normal;font-weight:700}#pick #pick-note{font-size:14px;max-width:600px}#save-result{font-size:14px;max-width:650px}#pick #pick-back{margin-top:20px}
@media(max-width:600px){.formation-metrics{gap:6px}.formation-metrics>div{padding:12px 8px}.formation-metrics strong{font-size:1.3rem}.formation-member>summary{grid-template-columns:1fr 85px;font-size:.9rem}.formation-member>summary>span:last-child{grid-column:1/-1;color:#59636c;font-weight:400;margin-left:20px}.formation-panel h2{font-size:1.4rem}.formation-heading{gap:12px}.formation-play{width:100%;text-align:center;box-sizing:border-box}#stats.ov{padding:22px 12px}}
