:root{color-scheme:light;--bg:#f7fafb;--panel:#fffdf7;--line:#cedee8;--text:#17324a;--muted:#4e6478;--gold:#ffc95b;--blue:#1768a6;--red:#a4373d;--club:#1079b3;--soft:#eaf5fb}
body{background:linear-gradient(145deg,#d9effa 0%,#f2f9fc 36%,#fbf7ee 100%) fixed}
body>main>header{flex-wrap:nowrap;padding:8px 12px;border:1px solid #c7dfed;background:#ffffffd9;border-radius:15px;box-shadow:0 3px 13px #1d577311}
header .mark{background:#116da5;color:#fff;padding:3px 8px;border-radius:8px;line-height:1.2}.eyebrow{color:#106998}.edition{flex:1}#restartSeason{margin:0;white-space:nowrap;color:#8b3c37;background:#fff7ef;border-color:#e8c5b6;font-size:13px}
button,select{background:white;color:var(--text);border-color:#bcd6e5}button:hover:not(:disabled){border-color:#3f95c4;background:#edf8ff}button:focus-visible,select:focus-visible{outline-color:#0782c1}.primary{background:#116fa8;border-color:#0a5e93;color:white}.primary:hover:not(:disabled){background:#085f95;color:white}.card{background:#fff;box-shadow:0 2px 5px #1d57730e}.team,.panel,.settings{box-shadow:0 3px 12px #1d57730c}.team{background:#ffffffc9}
#draft .card img{background:#edf5f8}#draft .card:not(:disabled):hover{transform:translateY(-2px)}#draft .card{transition:transform .14s ease}.matchhead{padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:8px}.qte{background:#fcfdfff5;color:#17324a;border-color:#73b0d2}.qte p{color:#4e6478}.meter{background:linear-gradient(90deg,#c5dbe8 41%,#ffc95b 41% 59%,#c5dbe8 59%)}.meter i{background:#174771}
#camp>.camp-head{align-items:end;margin-bottom:12px}#camp .eyebrow{margin:0 0 2px}#weekTitle{margin-bottom:4px;color:#125f8b}.camp-hud{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;align-items:center;background:#ffffffda;border:1px solid var(--line);border-radius:11px;padding:9px 12px}.hud-energy{display:flex;gap:10px;align-items:center;flex:1;min-width:200px}.hud-energy label{white-space:nowrap;font-size:13px}.hud-energy .energy-track{flex:1;min-width:70px;max-width:270px;margin:0;background:#d3e4ee}.hud-energy meter{width:100%}#campWallet{font-size:13px;color:#205c80}.calendar{margin:8px 0 12px}.calendar li{background:#fff}.calendar li.current{background:#c8eafa;border-color:#69afd3;color:#124e74}.calendar li.done{background:#e6f7ed;color:#256749;border-color:#abd5bc}
.camp-grid{grid-template-columns:minmax(0,1fr) minmax(180px,24%);gap:8px;background:#fff;border:1px solid #c9e1ed;padding:6px;border-radius:15px}.stage.camp-stage{min-height:330px;border-radius:10px}#camp .camp-grid .camp-actions{display:flex;flex-direction:column;gap:7px;margin:0;border:none;background:#eaf5fb;padding:10px;border-radius:10px}#actionTitle{font-size:17px;margin:0 0 2px}.camp-grid .drill-grid{grid-template-columns:1fr;gap:4px;margin:0}.camp-grid .drill-grid button{min-height:0;line-height:1.25;padding:6px 8px}.camp-grid .drill-grid button small{font-size:11px}.camp-grid .drill-grid button.recommended{border-color:#b4d5e7}.camp-grid .drill-grid button[aria-pressed=true]{background:#d3effe;border-color:#3689b8;box-shadow:inset 3px 0 #1782b6}.camp-grid #campBack,.camp-grid #campConfirm{padding:6px 8px}.camp-grid #campNext{margin-top:0}
#camp .camp-profile{display:grid;grid-template-columns:1fr minmax(0,2fr) minmax(0,1.15fr);align-items:center;gap:9px;margin-top:8px;padding:9px 12px}.camp-profile .core-card img{width:49px}.camp-profile h3{font-size:12px;margin:0 0 3px}.camp-profile .camp-attrs{margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}.camp-profile .camp-attrs span{background:#eaf6fc;white-space:nowrap}.camp-profile .camp-attrs b{color:#26643f}.camp-profile .preview-gain{color:#854d04!important}.camp-team span{color:#40586c}.camp-profile #campStatus,.camp-profile #drillPreview{grid-column:1/-1;margin:0;font-size:13px}.camp-profile #drillPreview{background:#fff2d5;color:#61460d;border-radius:6px;padding:5px 8px}
#campResources{display:flex;flex-wrap:wrap;gap:8px 16px;background:#ffffffb3;margin:9px 0;padding:8px 12px}#campResources details[open],#campEvent{flex:0 0 100%}#campResources summary{cursor:pointer;color:#135b85;font-weight:700}#campEvent{margin:0;background:#fff3d4;color:#62470e}#campResources .drill-grid button{min-height:70px}
#restartDialog{padding:22px;max-width:min(92vw,440px);border:1px solid #b5d5e6;border-radius:18px;background:#fffdf7;color:#17324a;box-shadow:0 15px 50px #24466044}#restartDialog::backdrop{background:#1b34456b}#restartDialog h2{margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.danger{background:#aa3932;border-color:#9d312b;color:#fff;font-weight:bold}.danger:hover:not(:disabled){background:#8b2621;color:#fff}
@media(max-width:680px){header .edition{display:none}#restartSeason{margin-left:auto}.camp-grid{grid-template-columns:1fr}.stage.camp-stage{min-height:220px}.camp-grid .drill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#camp .camp-profile{grid-template-columns:1fr 1fr}.camp-profile .camp-attrs{grid-column:1/-1;grid-row:2}.camp-profile .camp-attrs span{font-size:11px}}
@media(prefers-reduced-motion:reduce){#draft .card{transition:none}#draft .card:not(:disabled):hover{transform:none}}
.camp-profile .attribute-cell{min-height:36px;position:relative;display:flex;align-items:center;gap:4px;padding:5px 7px;background:#eaf6fc;border:2px solid transparent;border-radius:7px;color:#1c415b;font-size:13px;font-variant-numeric:tabular-nums}.camp-profile .attribute-cell .attr-name{background:none;padding:0;flex:1;color:inherit}.focus-tag{font:800 10px/1 system-ui;color:#064c79;background:#cbebfb;border-radius:3px;padding:2px 3px}.focus-note{color:#0b608f;font-weight:700}.camp-profile .attribute-cell.focus-attr{border-color:#b4dced}.camp-profile .attribute-cell.will-gain{background:#fff1bf;border-color:#cd8f23;color:#603b08;animation:attr-highlight .35s ease-out}.attr-preview,.attr-total,.attr-delta{border-radius:5px;padding:2px 4px;font-size:12px;white-space:nowrap}.camp-profile .attribute-cell .attr-preview{background:#ffe08b;color:#653304}.camp-profile .attribute-cell .attr-total{color:#246242;background:#d7f2e3}.camp-profile .attribute-cell.did-gain{background:#d5f5df;border-color:#298354;animation:attr-highlight .55s both;animation-delay:var(--delay)}.camp-profile .attribute-cell.did-gain .attr-total{display:none}.camp-profile .attribute-cell .attr-delta{background:#20613a;color:white;animation:attr-bounce .5s both;animation-delay:var(--delay)}
@keyframes attr-highlight{0%{box-shadow:0 0 0 0 #62b972be}100%{box-shadow:0 0 0 5px #62b97200}}@keyframes attr-bounce{0%{opacity:0;transform:translateY(9px) scale(.72)}65%{opacity:1;transform:translateY(-3px) scale(1.15)}100%{transform:none;opacity:1}}
@media(max-width:680px){.camp-profile .attribute-cell{min-height:34px;padding:3px;gap:3px;font-size:11px}.focus-tag,.attr-preview,.attr-delta,.attr-total{font-size:9px;padding:2px}}
@media(prefers-reduced-motion:reduce){.camp-profile .attribute-cell,.camp-profile .attr-delta{animation:none!important}}
.drill-row{display:flex;min-width:0;align-items:stretch;gap:4px}.drill-row .card{flex:1;min-width:0}.drill-row #campConfirm{flex:none;white-space:nowrap;background:#ffe08b;color:#51370c;border-color:#d49b3c;font-size:12px}.drill-row #campConfirm:hover:not(:disabled){background:#ffcf61}.drill-row #campConfirm:disabled{opacity:.62}
.camp-team .joins-drill{border:1px solid #c48d2d;background:#fff0ca;border-radius:5px;color:#68410d}.camp-team .joins-drill b{display:block;font-size:9px;color:#68410d;line-height:1.1}
.report-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.line-report{min-width:0;background:#fff}.line-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.line-head h2,.line-head p{margin:0}.line-head h2{font-size:20px;color:#135981}.opponent-report .line-head h2{color:#a33d37}.line-head p,.rating-note{font-size:12px}.team-rank{display:flex;align-items:center;gap:7px;white-space:nowrap}.team-rank strong{font-size:18px}.team-rank small{font-size:11px}.rank{display:inline-grid;place-items:center;min-width:25px;padding:2px 5px;border-radius:5px;background:#e5eef4;color:#324b60;font-weight:900}.team-rank .rank{font-size:25px;padding:2px 9px}.rank-S{background:#ffe4a0;color:#713e05}.rank-A{background:#d5dcff;color:#3c4291}.rank-B{background:#d3eefb;color:#12587a}.rank-C{background:#dff2dc;color:#2d6337}.rank-D{background:#f3e5e4;color:#7e4141}.line-report ul{list-style:none;padding:0;margin:8px 0 0}.line-report li{display:grid;grid-template-columns:32px 1fr auto auto auto;align-items:center;gap:7px;padding:4px 0;border-top:1px solid var(--line)}.line-report li img{width:32px;height:32px;object-fit:cover;border-radius:5px}.line-report li div small{display:block}.line-report li details{display:contents}.line-report li details summary{font-size:12px;cursor:pointer;color:#106998}.line-report li details small{grid-column:2/-1;padding-bottom:4px}.rating-note{margin:7px 0 12px}@media(max-width:720px){.report-duo{grid-template-columns:1fr}}
@media(max-width:680px){.drill-row.selected{grid-column:1/-1}}
.camp-ratings{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;padding-bottom:8px;border-bottom:1px solid var(--line)}.camp-ratings-label,.camp-versus{font-size:12px;font-weight:800;color:#345d77}.camp-side{display:flex;align-items:center;gap:6px;padding:4px 7px;border-radius:6px;background:#eaf6fc}.camp-side.away{background:#fff0eb}.camp-side>span{font-size:12px;flex:1}.camp-side>span small{display:block;font-size:10px}.camp-side>strong{white-space:nowrap;font-variant-numeric:tabular-nums}.camp-rating-note{grid-column:1/-1;font-size:11px}.camp-profile .attr-rank{min-width:19px;padding:0 4px;text-align:center;border:1px solid #17324a22}.camp-player-rating{display:flex;align-items:center;gap:4px;color:#31536a;font-size:12px}.camp-player-rating .rank{min-width:19px;padding:0 4px}.camp-team .camp-mate{flex:1;min-width:0;text-align:center;font-size:10px;padding:2px}.camp-team .mate-name{display:block;line-height:1.22}.camp-team .camp-player-rating{justify-content:center;font-size:10px}.camp-team .camp-player-rating .rank{min-width:14px;font-size:10px;padding:0 3px;line-height:1.4}.camp-team .rank-S,.camp-profile .attribute-cell .rank-S{color:#713e05}.camp-team .rank-A,.camp-profile .attribute-cell .rank-A{color:#3c4291}.camp-team .rank-B,.camp-profile .attribute-cell .rank-B{color:#12587a}.camp-team .rank-C,.camp-profile .attribute-cell .rank-C{color:#2d6337}.camp-team .rank-D,.camp-profile .attribute-cell .rank-D{color:#7e4141}.camp-profile .attribute-cell.rank-up{border-color:#b77c15}.camp-profile .attribute-cell.rank-up .attr-delta{background:#81530a}.camp-profile .attribute-cell.rank-up .attr-rank{border-color:#b77c15}
@media(max-width:680px){.camp-ratings{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.camp-ratings-label{grid-column:1/-1}.camp-profile .attribute-cell{flex-wrap:wrap}.camp-profile .camp-attrs{grid-row:3}.camp-profile .attr-rank{min-width:15px;padding:0 2px}}
@media(min-width:681px) and (max-width:1050px){.camp-profile .attribute-cell{flex-wrap:wrap}}
.rank-SP{background:#5134a1;color:white}.mate-growth{display:block;color:#1b6642;background:#dcf3e7;border-radius:4px;font-weight:800}
.match-mvp{display:flex;gap:14px;align-items:center;border-left:4px solid #dba437;padding:10px 14px;background:linear-gradient(95deg,#fff0b9,#fffdf7);border-radius:8px}.match-mvp img{width:66px;aspect-ratio:1;object-fit:cover;border:2px solid #dba437;border-radius:9px}.match-mvp h2,.match-mvp p{margin:0}.match-mvp .eyebrow{color:#8c580e;font-size:11px}.mvp-stats{margin:10px 0}.mvp-stats span{background:#fff}
.star-move-banner{position:absolute;top:9%;right:3%;max-width:65%;padding:5px 12px;border-left:3px solid #76d3ff;background:#11263be8;color:#eefaff;border-radius:5px;font-size:clamp(12px,2vw,19px);font-weight:850;pointer-events:none}.star-move-banner.ultimate{border-color:#ffe06d;color:#ffec9a;background:#241c36ed}
#trainingEventDialog{width:min(470px,92vw);padding:20px;background:#fffdf7;color:#17324a;border:1px solid #accde1;border-radius:15px}#trainingEventDialog::backdrop{background:#1b344578}#trainingEventReward{font-weight:750;color:#246242}#trainingEventMeter{width:100%;background:linear-gradient(90deg,#c5dbe8 36%,#ffc95b 36% 64%,#c5dbe8 64%)}#trainingEventActions{flex-wrap:wrap}
.cup-podium{aspect-ratio:3.65;min-height:235px;max-height:350px;margin:8px 0 12px;border:2px solid #ddb053;background:linear-gradient(150deg,#132a49,#326b68)}.cup-podium-title{position:absolute;bottom:12px;left:12px;background:#10273ae8;color:#ffe8a1;padding:6px 10px;border-radius:6px;pointer-events:none}.cup-podium-title small{display:block;color:#ecf8ff}#cupFx{pointer-events:none}
#campShop{background:#fff1be;border-color:#ce9b40;color:#68430b;font-weight:850;white-space:nowrap}#campShop:hover:not(:disabled){background:#ffe49c}#campShopDialog{width:min(570px,92vw);padding:20px;background:#fffdf7;color:#17324a;border:1px solid #accde1;border-radius:15px;box-shadow:0 15px 50px #24466044}#campShopDialog::backdrop{background:#1b34456b}.shop-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.shop-heading h2,.shop-heading p{margin:0}#shopItems{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}#shopItems small{margin-top:5px}#shopStatus{min-height:1.5em;margin-bottom:0;color:#256749;font-weight:700}#outingHint{font-size:12px;margin:2px 0 7px}#campOutings #outItems{grid-template-columns:1fr}
