
/* Full Team Trainer, site-matched theme — uses the live Pullspace/WuWa typography and colors. */








/* Hero title uses the shared .intro h1 typography, exactly like Solo Trainer. */


.ps-team-refreshed .team-section-head .micro{font-size:10px;letter-spacing:2.1px;font-weight:900;text-transform:uppercase;color:#a9a9af}

.ps-team-refreshed .surface{background:#1b1f28;border:1px solid #343947;border-radius:16px;box-shadow:none;padding:22px;margin:0 0 16px;min-width:0}
.ps-team-refreshed .team-section-head h2{font-size:19px;font-weight:800;letter-spacing:-.4px;color:#f1f2f6}
.ps-team-refreshed .team-section-head{align-items:center;margin-bottom:14px}
.ps-team-refreshed .team-section-head .micro{margin-bottom:6px}
.ps-team-refreshed .hint-tag{background:#303344;border:1px solid #454957;color:#e8d6a8;border-radius:999px;font-size:10px;font-weight:800;padding:7px 10px;letter-spacing:.02em}
.ps-team-refreshed .team-setup{display:grid;grid-template-columns:minmax(150px,270px) minmax(0,1fr);align-items:end;gap:12px 22px}
.ps-team-refreshed .team-setup>.team-section-head{grid-column:1/-1;margin-bottom:0}
.ps-team-refreshed .archetype-options{display:flex;gap:4px;align-items:center;background:#111720;border:1px solid #343b47;border-radius:12px;padding:4px;min-height:46px;margin:0}
.ps-team-refreshed .archetype{display:inline-flex;align-items:center;justify-content:center;text-align:center;flex:1;min-width:0;border-radius:9px;border:1px solid transparent;background:transparent;color:#b5bac8;padding:10px 13px;box-shadow:none;min-height:36px}
.ps-team-refreshed .archetype:hover{border-color:#444b57;color:#f3f3f5}
.ps-team-refreshed .archetype[aria-pressed=true]{background:#e9cf88;border-color:#e9cf88;color:#1b2025;box-shadow:0 2px 9px #0002}
.ps-team-refreshed .archetype strong{font-size:12px;font-weight:850}
.ps-team-refreshed .team-library{margin:0;padding:0;border:0;background:none;min-width:0;border-radius:0}
.ps-team-refreshed .team-library-top{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.ps-team-refreshed .team-library-picker{min-width:230px;flex:1;gap:7px;font-size:10px;letter-spacing:1.2px;font-weight:850;color:#9da5b6}
.ps-team-refreshed :is(select,input,textarea){background:#121821;color:#edf0f6;border:1px solid #444b57;border-radius:11px;font:inherit;font-size:12px}
.ps-team-refreshed :is(select,input){min-height:42px;padding:10px 12px}
.ps-team-refreshed :is(select,input,textarea):focus-visible{outline:2px solid #e9cf88;outline-offset:2px}
.ps-team-refreshed .team-library-picker select{min-height:46px;border-radius:12px;font-size:13px}
.ps-team-refreshed :is(.team-quiet,.team-import){display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:100px;border:1px solid #434a57;background:#232833;color:#ecedf3;padding:10px 15px;min-height:42px;font-size:11px;font-weight:800;line-height:1.1;white-space:nowrap;box-shadow:none}
.ps-team-refreshed :is(.team-quiet,.team-import):hover{background:#303743;border-color:#777b83;color:#fff}
.ps-team-refreshed .team-create-button{background:#e9cf88;border-color:#e9cf88;color:#1b2025;font-weight:850}
.ps-team-refreshed .team-create-button:hover{background:#ffdda1;border-color:#ffdda1;color:#171820}
.ps-team-refreshed .team-copy-button{border-color:#827050;color:#ecd29e}
.ps-team-refreshed .team-import-compact{padding:10px 12px;cursor:pointer;color:#aeb8c8}
.ps-team-refreshed .team-guide-details{grid-column:1/-1;min-width:0;margin:0}
.ps-team-refreshed .team-guide-details summary{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;color:#c1a979;cursor:pointer;list-style:none}
.ps-team-refreshed .team-guide-details summary:before{content:"ⓘ";font-size:12px}
.ps-team-refreshed .team-guide-details summary:after{content:"⌄";font-size:12px}
.ps-team-refreshed .team-guide-details[open] summary:after{content:"⌃"}
.ps-team-refreshed .team-guide-details summary::-webkit-details-marker{display:none}
.ps-team-refreshed .team-library-information{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:#9da5b6;margin:11px 0 0;padding:13px;border:1px solid #323946;border-radius:10px;background:#171a22}
.ps-team-refreshed .team-library-information a{font-size:11px;color:#e9cf88;text-decoration:underline}
.ps-team-refreshed .team-library-information p{margin:0;width:100%;color:#9da5b6;line-height:1.5;font-size:11px}
.ps-team-refreshed .guide-kind{font-size:9px;background:#303344;color:#f1d99f;border:1px solid #454957;border-radius:100px;padding:5px 9px}
.ps-team-refreshed .team-play-section{padding:22px}
.ps-team-refreshed .team-play-actions{display:inline-flex;gap:4px;background:#111720;border:1px solid #343b47;border-radius:12px;padding:4px}
.ps-team-refreshed .mode-control{background:transparent;color:#b5bac8;border:1px solid transparent;border-radius:9px;padding:9px 14px;min-height:34px;font-size:11px;font-weight:800}
.ps-team-refreshed .mode-control[aria-pressed=true]{background:#e9cf88;border-color:#e9cf88;color:#1b2025;box-shadow:0 2px 9px #0002}
.ps-team-refreshed .team-training-grid{grid-template-columns:minmax(0,1.55fr) minmax(310px,.95fr);gap:18px;align-items:start}
.ps-team-refreshed .team-hud{margin:0 0 12px}
.ps-team-refreshed .team-hud-caption{color:#9da5b6;font-size:10px;letter-spacing:1.6px;margin-bottom:9px}
.ps-team-refreshed .team-hud-caption span{color:#8d97aa;font-size:10px;letter-spacing:0}
.ps-team-refreshed .team-hud-slots{gap:8px}
.ps-team-refreshed .team-hud-slot{min-height:66px;border:1px solid #343947;background:#20242e;border-radius:11px;padding:9px;gap:9px}
.ps-team-refreshed .team-hud-slot.on-field{border-color:#e9cf88;background:#343332;box-shadow:inset 0 0 0 1px rgba(233,207,136,.18)}
.ps-team-refreshed .team-hud-slot .hud-slot-number{color:#9da5b6}
.ps-team-refreshed .team-hud-slot.on-field .hud-slot-number{color:#e9cf88}
.ps-team-refreshed .team-hud-slot img{height:46px;width:40px;border-radius:8px;background:#29313f}
.ps-team-refreshed .team-hud-slot .hud-slot-copy small{color:#a5acbd;font-size:9px}
.ps-team-refreshed .team-hud-slot.on-field .hud-slot-copy small{color:#e9cf88}
.ps-team-refreshed .team-hud-slot .hud-slot-copy strong{font-size:12px;color:#f3f4f7}
.ps-team-refreshed .team-arena{min-height:283px;border:1px dashed #62636a;border-radius:16px;background:radial-gradient(ellipse 65% 80% at 50% 0%,rgba(233,207,136,.11),transparent),#131720;box-shadow:none;padding:18px 20px;color:#f0f2f7}
.ps-team-refreshed .team-arena.playing{border:2px solid #e9cf88;box-shadow:inset 0 0 0 1px rgba(233,207,136,.11)}
.ps-team-refreshed .arena-ambient{display:none}
.ps-team-refreshed .arena-top{top:13px;left:17px;right:17px;font-size:10px;letter-spacing:1.6px;color:#a9a8b4}
.ps-team-refreshed .team-next-label{font-size:10px;letter-spacing:1.9px;font-weight:900;color:#e9cf88}
.ps-team-refreshed .team-action-icon{font-size:33px;color:#e9cf88;margin:15px 0 9px}
.ps-team-refreshed .team-arena h3{font-size:clamp(19px,2vw,26px);font-weight:830;letter-spacing:-.5px}
.ps-team-refreshed .team-arena p{font-size:11px;color:#9da5b6;line-height:1.55;min-height:2.1em;margin:10px 0 12px}
.ps-team-refreshed .team-key-prompt{min-height:34px;min-width:86px;border:1px solid #535b64;background:#2a303a;color:#f2f3f3;border-radius:10px;padding:8px 14px;font-size:12px;font-weight:800}
.ps-team-refreshed .team-meter{margin:17px 0 10px;background:#323844;height:8px}
.ps-team-refreshed .team-meter>div{background:#e9cf88}
.ps-team-refreshed .team-arena-foot{font-size:11px;color:#aeb3c0}
.ps-team-refreshed .team-run-controls{display:flex;gap:9px;margin-top:14px}
.ps-team-refreshed .team-primary{min-height:42px;border:1px solid #e9cf88;border-radius:100px;background:#e9cf88;color:#1b2025;padding:11px 18px;font-size:12px;font-weight:900}
.ps-team-refreshed .team-primary:hover{background:#ffdfa5}
.ps-team-refreshed .team-run-controls .team-quiet{min-height:42px}
.ps-team-refreshed .team-result{margin:10px 0 0;font-size:11px;min-height:18px;color:#9da5b6}
.ps-team-refreshed .team-track{border:1px solid #343947;border-radius:13px;background:#1c2029;overflow:hidden}
.ps-team-refreshed .team-track-heading{border-bottom:1px solid #343947;padding:17px 18px}
.ps-team-refreshed .team-track-heading strong{font-size:18px;color:#f1f2f6;font-weight:800;letter-spacing:-.4px}
.ps-team-refreshed .team-track-heading span{background:#303344;border:1px solid #454957;color:#e8d6a8;border-radius:99px;padding:6px 9px;font-weight:850;font-size:9px;letter-spacing:.6px}
.ps-team-refreshed .team-track ol{padding:9px 11px;max-height:515px}
.ps-team-refreshed .team-track li{border-radius:8px;font-size:12px;padding:10px 8px;color:#9da5b6}
.ps-team-refreshed .team-track li.current{background:#292d37;border:1px solid #bca66e;color:#fff}
.ps-team-refreshed .team-track li .track-num,.ps-team-refreshed .team-track li .track-key{color:#e9cf88}
.ps-team-refreshed .team-track li .track-body strong{font-size:12px}
.ps-team-refreshed .team-track li .track-body small{font-size:10px;color:#aab1c1}
.ps-team-refreshed .team-practice-options,.ps-team-refreshed .team-control-reference{margin:0 0 13px;border:0;padding:0;background:none}
.ps-team-refreshed .team-control-reference{margin:8px 0 0}
.ps-team-refreshed :is(.team-practice-options,.team-control-reference)>summary{display:inline-flex;gap:6px;align-items:center;font-size:11px;font-weight:800;color:#aeb4c1;cursor:pointer;padding:4px 0;list-style:none}
.ps-team-refreshed :is(.team-practice-options,.team-control-reference)>summary:after{content:"⌄";font-size:12px}
.ps-team-refreshed :is(.team-practice-options,.team-control-reference)>summary::-webkit-details-marker{display:none}
.ps-team-refreshed .team-game-toolbar{padding:10px 0 0;color:#b9c2cd;font-size:11px}
.ps-team-refreshed .team-key-reference{padding:8px 0 0;color:#9da5b6;font-size:10px}
.ps-team-refreshed .team-key-reference kbd{background:#2a303a;color:#f4f5f6;border:1px solid #555b67}
.ps-team-refreshed #team-editor-panel{margin-top:16px}
.ps-team-refreshed .team-roster{margin:13px 0;gap:10px}
.ps-team-refreshed .team-member{border:1px solid #343947;background:#20242e;border-radius:11px}
.ps-team-refreshed .team-member label,.ps-team-refreshed .team-member small{color:#a5b0bf;font-size:10px}
.ps-team-refreshed .team-member img{background:#29313f}
.ps-team-refreshed .team-edit-row{background:#151a22;border-color:#303642}
.ps-team-refreshed .team-editor-my label{font-size:11px;color:#9da5b6}
.ps-team-refreshed .team-edit-row :is(input,select){font-size:11px}
.ps-team-refreshed .team-note{font-size:11px;color:#9da5b6;margin:10px 0}
.ps-team-refreshed .team-edit-head{font-size:10px;color:#9da5b6}
.ps-team-refreshed .step-index{color:#e9cf88}
.ps-team-refreshed .team-save-state{font-size:11px;color:#98b8aa}
.ps-team-refreshed .team-source-fold{border:1px solid #343947;border-radius:16px;background:#1b1f28;margin:0 0 16px;overflow:hidden}
.ps-team-refreshed .team-source-fold>summary{min-height:63px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:16px 22px;list-style:none}
.ps-team-refreshed .team-source-fold>summary::-webkit-details-marker{display:none}
.ps-team-refreshed .team-source-fold>summary>span:first-child{font-size:13px;color:#f1f2f6;font-weight:800}
.ps-team-refreshed .team-source-fold>summary small{display:block;font-size:10px;color:#9da5b6;font-weight:500;line-height:1.8}
.ps-team-refreshed .team-source-fold>summary .hint-tag{font-size:10px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ps-team-refreshed .team-source-fold[open]>summary{border-bottom:1px solid #343947}
.ps-team-refreshed .team-source-watch{background:transparent;border:0;border-radius:0;margin:0;box-shadow:none;padding:17px 22px 22px}
.ps-team-refreshed .team-watch-help{font-size:11px;color:#9da5b6}
.ps-team-refreshed .team-watch-toolbar{margin-top:9px}
.ps-team-refreshed .team-watch-counts{font-size:11px;color:#b1b8c6}
.ps-team-refreshed .team-watch-filter label{font-size:10px;color:#b1b8c6}
.ps-team-refreshed .team-watch-item{background:#20242e;border-color:#343947}
.ps-team-refreshed .team-watch-item strong{color:#f1f2f6}
.ps-team-refreshed .team-watch-item small{color:#9da5b6}
.ps-team-refreshed .team-watch-item button{background:#292f3a;border-color:#474e5c;color:#e9cf88;border-radius:100px}
.ps-team-refreshed .team-watch-detail{background:#1c2029;border-color:#343947}
.ps-team-refreshed .team-watch-detail strong,.ps-team-refreshed .team-watch-detail a{color:#e9cf88}
.ps-team-refreshed .team-watch-notice{font-size:11px;color:#9da5b6}
.ps-team-refreshed .team-disclaimer{color:#9da5b6;font-size:11px;line-height:1.6;margin:12px 4px 15px}
.ps-team-refreshed .team-footer{border-top:1px solid #303642;color:#9da5b6;font-size:11px;padding:17px 4px 0}
.ps-team-refreshed .team-footer a{color:#e9cf88}
@media(max-width:1120px){
 .ps-team-refreshed .team-setup{grid-template-columns:1fr}
 .ps-team-refreshed .team-setup>.team-section-head{grid-column:1}
 .ps-team-refreshed .archetype-options{max-width:270px}
 .ps-team-refreshed .team-training-grid{grid-template-columns:1fr}
 .ps-team-refreshed .team-track ol{max-height:325px}
}
@media(max-width:780px){
 
 
 
 
 
 
 
}
@media(max-width:580px){
 
 
 
 .ps-team-refreshed .surface{padding:16px;margin-bottom:12px}
 .ps-team-refreshed .team-library-top{gap:6px}
 .ps-team-refreshed .team-library-picker{flex-basis:100%;min-width:0}
 .ps-team-refreshed .team-library-top :is(button,.team-import){flex:1;min-height:40px;padding:9px 11px}
 .ps-team-refreshed .archetype-options{max-width:none}
 .ps-team-refreshed .team-hud-slots{gap:5px}
 .ps-team-refreshed .team-hud-slot{gap:4px;min-height:60px;padding:5px}
 .ps-team-refreshed .team-hud-slot img{width:28px;height:34px}
 .ps-team-refreshed .team-hud-slot .hud-slot-number{flex-basis:12px;font-size:10px}
 .ps-team-refreshed .team-hud-slot .hud-slot-copy strong{font-size:10px}
 .ps-team-refreshed .team-hud-slot .hud-slot-copy small{font-size:8px}
 .ps-team-refreshed .team-arena{min-height:258px;padding:15px 13px}
 .ps-team-refreshed .team-run-controls{gap:6px;flex-wrap:wrap}
 .ps-team-refreshed .team-run-controls button{flex:1;padding-inline:10px}
 .ps-team-refreshed .team-track-heading strong{font-size:17px}
 .ps-team-refreshed .team-source-fold>summary{padding:14px 16px}
 .ps-team-refreshed .team-source-watch{padding:14px 16px 17px}
 .ps-team-refreshed .team-watch-items{grid-template-columns:1fr}
 .ps-team-refreshed .team-watch-toolbar button{flex:1}
}
@media(prefers-reduced-motion:reduce){.ps-team-refreshed *{transition:none!important;animation:none!important}}

/* Same in-game skill artwork system as Pullspace's solo Rotation Trainer. */
.ps-team-refreshed #team-action-icon{height:68px;width:68px;display:grid;place-items:center;margin:12px auto 8px;font-size:33px;color:#e9cf88}
.ps-team-refreshed .team-skill-art{position:relative;width:100%;height:100%;display:grid;place-items:center;flex:none}
.ps-team-refreshed .team-skill-fallback{display:grid;place-items:center;height:100%;width:100%;font-size:inherit;font-weight:800;color:#e9cf88}
.ps-team-refreshed .team-skill-img{position:absolute;inset:0;height:100%;width:100%;object-fit:contain}
.ps-team-refreshed .track-action-icon{height:38px;width:38px;flex:0 0 38px;display:grid;place-items:center;background:#27313c;border:1px solid #4a5668;border-radius:9px;overflow:hidden;font-size:23px}
.ps-team-refreshed .track-action-icon .team-skill-img{padding:2px}
.ps-team-refreshed .track-action-icon .team-skill-fallback{font-size:23px}
.ps-team-refreshed .team-track li.current .track-action-icon{background:#343332;border-color:#e9cf88}
@media(max-width:580px){
 .ps-team-refreshed #team-action-icon{height:58px;width:58px;margin:11px auto 6px}
 .ps-team-refreshed .track-action-icon{width:33px;height:33px;flex-basis:33px}
 .ps-team-refreshed .track-action-icon .team-skill-fallback{font-size:20px}
}

/* Keep original in-panel spacing; title and nav now use only shared site rules. */
.ps-team-refreshed :is(.team-setup,.team-play-section,.team-editor) :is(h2,h3,p){margin-block-start:0}
.ps-team-refreshed .team-section-head h2{margin-block-end:0}
.ps-team-refreshed .ps-trainer-guide-link{text-decoration:none}
