/* Collection actions: labelled touch targets, never a hidden '+' below the portrait. */
.fr-shell .collection-item>.corsair-add-deck{display:none!important}
.fr-shell .fr-card-inspected{z-index:31;transform:scale(1.035);outline:2px solid #fff2bb!important;outline-offset:2px;transition:transform 140ms cubic-bezier(.2,.8,.3,1)}
.fr-unit-choice{position:fixed;z-index:26010;display:grid;gap:5px;width:132px;padding:6px;border:2px solid #88c9f7;border-radius:9px;box-sizing:border-box;background:linear-gradient(#376ba1,#194a7c);box-shadow:0 4px 12px #031629a8;font-family:RoyalMenu,'Arial Rounded MT Bold',sans-serif;animation:fr-card-actions-in 140ms cubic-bezier(.2,.8,.3,1)}
.fr-unit-choice[hidden]{display:none!important}.fr-unit-choice>button{min-height:44px;padding:4px 3px;border:2px solid #72c2ff;border-radius:6px;background:linear-gradient(#258eff,#176bdc);box-shadow:0 2px #063c88;color:#fff;font:400 15px/1 RoyalMenu,sans-serif;text-shadow:0 2px #153059;touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer}.fr-unit-choice>.fr-choice-equip{background:linear-gradient(#ffd943,#ffa914);border-color:#fff094;box-shadow:0 2px #9a4c08;text-shadow:0 2px #775017}.fr-unit-choice>button:disabled{filter:saturate(.2);opacity:.65}.fr-unit-choice>button:focus-visible{outline:3px solid white;outline-offset:1px}
@keyframes fr-card-actions-in{from{opacity:0;transform:translateY(-5px) scale(.97)}to{opacity:1;transform:none}}
/* Same fixed deck, with only the chosen portrait underneath. No copy of the collection. */
.fr-shell .fr-deck-selection{--u:var(--fr-u,.68367px);display:flex;flex:1;min-height:0;flex-direction:column;align-items:center;gap:calc(23 * var(--u));box-sizing:border-box;padding:calc(29 * var(--u)) calc(18 * var(--u)) calc(18 * var(--u));overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;animation:fr-selection-in 150ms ease-out}
.fr-deck-selection h2{position:relative;box-sizing:border-box;width:100%;margin:0 0 calc(12 * var(--u));padding:calc(12 * var(--u)) calc(14 * var(--u));border-radius:calc(6 * var(--u));border-top:calc(3 * var(--u)) solid #d55ce0;background:linear-gradient(#b833b2,#972493);box-shadow:0 calc(4 * var(--u)) #61246d;color:#fff;text-align:center;font:400 calc(27 * var(--u))/1.1 RoyalMenu,sans-serif}
.fr-selected-card{position:relative;flex:none;width:calc(110 * var(--u));min-width:72px;display:flex;flex-direction:column;align-items:center;gap:calc(6 * var(--u));margin:calc(12 * var(--u)) 0 calc(10 * var(--u))}
.fr-selected-portrait{position:relative;box-sizing:border-box;width:100%;aspect-ratio:1;border:calc(4 * var(--u)) solid #ffcf26;border-radius:calc(13 * var(--u));background:radial-gradient(#27364e,#0b1227 80%);box-shadow:0 0 calc(7 * var(--u)) #ff9b00,inset 0 0 0 calc(2 * var(--u)) #9a5c00;padding:calc(3 * var(--u))}
.fr-selected-portrait:before{content:'';position:absolute;top:calc(-11 * var(--u));left:34%;width:32%;height:calc(10 * var(--u));background:#ffca25;clip-path:polygon(0 100%,0 18%,28% 58%,50% 0,71% 58%,100% 18%,100% 100%)}
.fr-selected-portrait>img{display:block;width:100%;height:100%;object-fit:contain}.fr-selected-portrait>img.fr-selection-badge{position:absolute;top:calc(-11 * var(--u));right:calc(-9 * var(--u));width:calc(29 * var(--u));height:calc(29 * var(--u))}
.fr-selected-card>strong{font:400 calc(23 * var(--u))/1 RoyalMenu;text-align:center;color:white;white-space:nowrap}.fr-selected-level{box-sizing:border-box;width:100%;padding:calc(3 * var(--u));border-radius:calc(4 * var(--u));background:linear-gradient(#ffde37,#ffad18);font:400 calc(23 * var(--u))/1 RoyalMenu;color:#fff;text-align:center;text-shadow:0 2px #31500f}
.fr-shell .fr-selection-cancel{flex:none;box-sizing:border-box;min-height:44px;min-width:132px;width:calc(173 * var(--u));padding:7px 14px;margin:calc(5 * var(--u)) auto calc(13 * var(--u));border:2px solid #ffb044;border-radius:8px;background:linear-gradient(#ff6338,#fa4023);box-shadow:0 4px #a52236,inset 0 1px #ffd07d;font:400 19px/1 RoyalMenu,sans-serif;color:white;text-shadow:0 2px #58232c}
.fr-shell[data-deck-selecting=true] #v60Slots .v60-slot{cursor:pointer;outline:calc(4 * var(--u)) solid #ffe487!important;outline-offset:calc(3 * var(--u));animation:fr-replace-pulse 950ms ease-in-out infinite alternate;touch-action:manipulation}
.fr-shell[data-deck-selecting=true] #v60Slots .v60-slot:focus-visible{outline-color:white!important}.fr-shell[data-deck-selecting=true] #v60Slots .deck-remove,.fr-shell[data-deck-selecting=true] #v60Slots .deck-open-talents{display:none!important}
.fr-shell[data-deck-selecting=true] .fr-deck-header button:disabled,.fr-shell[data-deck-selecting=true] .fr-deck-presets button:disabled{opacity:1;cursor:default}
.fr-selection-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
.fr-basic-unit-info>img{display:block;width:90px;height:90px;object-fit:contain;margin:0 auto 15px}.fr-basic-unit-info dl{margin:0}.fr-basic-unit-info dl>div{display:flex;justify-content:space-between;gap:12px;padding:7px;border-bottom:1px solid #acc7db;font:13px/1.3 sans-serif}.fr-basic-unit-info dd{margin:0;font-weight:bold}
@keyframes fr-replace-pulse{from{outline-color:#ffd945;box-shadow:0 0 3px #ffc72e}to{outline-color:#fff4d7;box-shadow:0 0 10px #fff1b9}}
@keyframes fr-selection-in{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-height:660px){.fr-shell .fr-deck-selection{padding-top:12px;gap:8px}.fr-deck-selection h2{font-size:17px;padding:8px;margin:0}.fr-selected-card{margin:7px 0;width:62px}.fr-shell .fr-selection-cancel{margin-top:0}.fr-selected-card>strong{display:none}}
@media(prefers-reduced-motion:reduce){.fr-unit-choice,.fr-deck-selection,.fr-shell[data-deck-selecting=true] #v60Slots .v60-slot{animation:none!important}.fr-shell .fr-card-inspected{transition:none}}
.fr-unit-choice>button{min-height:46px}
.fr-shell #v60Slots .v60-slot>img:not(.deck-talent-badge){position:absolute!important;inset:calc(3 * var(--u));width:calc(100% - 6 * var(--u))!important;height:calc(100% - 6 * var(--u))!important;object-fit:contain}
/* A translated page must not also acquire a horizontal scroll offset through focus. */
.fr-shell .fr-viewport{overflow:clip}
.fr-profile-equip{position:sticky;bottom:-13px;z-index:4;background:#48688e;margin:10px -1px -1px;padding:9px 0 0}
.fr-profile-equip button,.fr-basic-equip{display:block;width:100%;min-height:46px;padding:8px;border:2px solid #ffe17f;border-radius:7px;background:linear-gradient(#ffcc28,#ffa711);box-shadow:0 3px #a9650d;color:white;font:400 19px/1 RoyalMenu,sans-serif;text-shadow:0 2px #674018;cursor:pointer;touch-action:manipulation}
.fr-profile-equip button:disabled{filter:saturate(.2);opacity:.6;cursor:default}
body.v60-battle .fr-profile-equip{display:none}
