.comfort-clear{white-space:nowrap;font-size:.8rem;padding:9px 12px}.comfort-zoom{width:min(96vw,760px);max-height:96dvh;background:#0b191e;border:1px solid #547367;border-radius:20px;color:#eef7f3;padding:18px;overflow:auto}.comfort-zoom::backdrop{background:#03090deb;backdrop-filter:blur(8px)}.comfort-zoom header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.comfort-zoom h2{margin:0}.comfort-full-card{width:min(100%,420px);margin:auto}.comfort-full-card>.card{width:100%;height:auto;aspect-ratio:2/3}.comfort-zoom>p{text-align:center;margin:12px 0 0}.comfort-large-cards #album{grid-template-columns:repeat(auto-fit,minmax(235px,1fr))}.comfort-tactic{display:block;color:#f4d98c;font-size:11px;margin-top:3px}.comfort-cup-progress,.comfort-settings{background:#0e2027;border:1px solid #314b52;border-radius:16px;padding:18px;margin:18px 0}.comfort-cup-progress>div{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.comfort-cup-progress span{border:1px solid #45616b;border-radius:100px;padding:8px 13px;color:#bbccd2}.comfort-cup-progress .won{color:#66f4b8;background:#163f32;border-color:#368465}.comfort-cup-progress p{margin-bottom:0}.comfort-current-round{border-color:#e5c36e!important;box-shadow:0 0 0 1px #e5c36e40}.comfort-manager-progress{min-width:180px;display:grid;gap:8px;color:#b7cdc7;font-size:12px}.comfort-manager-progress progress{width:100%;height:7px;accent-color:#56e4b0}.comfort-settings summary{cursor:pointer;font-weight:700}.comfort-settings label{display:block;margin:14px 0}.comfort-placement{animation:comfort-place .22s ease-out}@keyframes comfort-place{from{opacity:.35;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}button:not(:disabled){transition:background-color .15s,border-color .15s,box-shadow .15s}button:focus-visible{outline:3px solid #6affc0;outline-offset:3px}.reduced-motion .comfort-placement{animation:none}.reduced-motion button{transition:none}@media(prefers-reduced-motion:reduce){.comfort-placement{animation:none}button{transition:none!important}}@media(max-width:760px){.comfort-zoom{padding:12px}.comfort-full-card{width:min(100%,330px)}.comfort-large-cards #album{grid-template-columns:repeat(2,minmax(0,1fr))}.comfort-manager-progress{width:100%;min-width:0}.comfort-cup-progress{padding:14px}.comfort-cup-progress span{font-size:12px}.nav button{min-height:42px}.comfort-settings input{width:20px;height:20px;vertical-align:middle}.comfort-clear{white-space:normal}}
@media(max-width:767px) and (orientation:portrait){body:not(.comfort-match-screen) #mobileRotate{display:none}}
.formation-panel{margin:16px 0 20px;border:1px solid #4a7665;border-radius:14px;background:#102a25;padding:16px}
.formation-panel>summary{font-weight:750;cursor:pointer;color:#e1f7e9}
.formation-panel .team-tools{margin-bottom:8px}
.formation-panel .team-tools input{flex:1;min-width:180px}
.formation-panel .team-row button[aria-pressed=true]{color:#78f1b7;border-color:#78f1b7}
.formation-save-state{grid-column:1/-1;flex-basis:100%;font-size:.85rem;color:#9af3c4;margin:4px 0 0}
.formation-save-state.pending{color:#efd397}
@media(max-width:600px){.formation-panel .team-tools{flex-direction:column;align-items:stretch}.formation-panel .team-tools input{min-width:0;width:100%}.formation-panel .team-row{align-items:flex-start;gap:8px}.formation-panel .team-row>span{display:flex;flex-wrap:wrap;gap:5px}}
