/* V237 — reference canvas 588 × 1280. Only the five menu screens are styled here. */
@font-face{font-family:RoyalMenu;src:url('../assets/interface-v237/LilitaOne-Regular.ttf') format('truetype');font-display:swap;font-weight:400 900}
body:not(.v60-battle){margin:0;overflow:hidden;background:#061b35}
body:not(.v60-battle) #v60Home.fr-shell{--u:var(--fr-u, .68367px);--nav:calc(170 * var(--u));box-sizing:border-box;position:fixed;inset:0;display:flex!important;flex-direction:column;width:min(100%,540px);max-width:540px;height:100dvh;min-height:0;margin:0 auto;padding:0 0 calc(var(--nav) + env(safe-area-inset-bottom,0px))!important;overflow:hidden;color:#fff;background:#105996;font:400 calc(25 * var(--u))/1.05 RoyalMenu,'Arial Rounded MT Bold',sans-serif;isolation:isolate;container-type:inline-size}
#v60Home.fr-shell::before,#v60Home.fr-shell::after{display:none!important}
.fr-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:1}
body.v60-battle #v60Home.fr-shell,body.v60-battle nav.v60-nav{display:none!important}
.fr-shell [hidden],.fr-info[hidden]{display:none!important}
.fr-shell button,.fr-info button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.fr-shell button:disabled{cursor:default}.fr-shell button:focus-visible,.fr-info button:focus-visible{outline:3px solid #fff2a2;outline-offset:2px}
.fr-shell img{user-select:none;-webkit-user-drag:none}.fr-shell h2,.fr-shell h3,.fr-shell strong,.fr-shell b,.fr-shell button,.fr-info h2{text-shadow:0 calc(2 * var(--u)) #152038,calc(1 * var(--u)) 0 #152038,calc(-1 * var(--u)) 0 #152038;font-weight:400}
.fr-crop{display:block;width:100%;height:100%;overflow:hidden!important;pointer-events:none;flex:none}.fr-icon{overflow:hidden!important}.fr-scene{overflow:hidden!important}
.fr-preview{display:block;position:relative;box-sizing:border-box;border:0;background:transparent;padding:0;margin:0;color:inherit;min-width:0}
.fr-shell .fr-resources{box-sizing:border-box;height:calc(166 * var(--u));flex:none;position:relative;background:linear-gradient(#10253f,#0d2e51 90%);z-index:3}
.fr-resource-art{position:absolute;top:calc(100 * var(--u));left:0;width:100%;height:calc(47 * var(--u))}
.fr-shell .fr-resource-value{position:absolute;top:calc(105 * var(--u));height:calc(34 * var(--u));display:flex;align-items:center;background:#081f36;font-size:calc(24 * var(--u));line-height:1;color:#fff;letter-spacing:0}
.fr-gems{left:calc(54 * var(--u));width:calc(103 * var(--u))}.fr-gold{left:calc(245 * var(--u));width:calc(100 * var(--u))}.fr-energy{left:calc(433 * var(--u));width:calc(105 * var(--u))}
.fr-shell .fr-resource-plus,.fr-shell .fr-menu-button{position:absolute;top:calc(99 * var(--u));height:calc(48 * var(--u));padding:0;border:0;background:transparent}.fr-gem-plus{left:calc(155 * var(--u));width:calc(43 * var(--u))}.fr-gold-plus{left:calc(345 * var(--u));width:calc(43 * var(--u))}.fr-menu-button{right:calc(6 * var(--u));width:calc(44 * var(--u))}
.fr-viewport{flex:1;min-height:0;width:100%;overflow:hidden;touch-action:pan-y}
.fr-pages{display:flex;width:100%;height:100%;transition:transform 210ms cubic-bezier(.18,.72,.26,1);will-change:transform}.fr-pages.fr-dragging{transition:none}
.fr-page{display:flex;flex:0 0 100%;min-width:0;width:100%;height:100%;min-height:0;overflow:hidden;flex-direction:column;box-sizing:border-box}.fr-page[inert]{pointer-events:none}
.fr-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;touch-action:pan-y}.fr-scroll::-webkit-scrollbar{display:none}
/* Exact lower tabs. Every clipped tile is a real navigation button, with its accessible label. */
body:not(.v60-battle) nav.v60-nav{--u:var(--fr-u,.68367px);box-sizing:border-box;position:fixed;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:min(100%,540px);max-width:540px;height:calc(170 * var(--u) + env(safe-area-inset-bottom,0px));display:flex;align-items:stretch;gap:0;padding:0 0 env(safe-area-inset-bottom,0px);z-index:25000;border:0;background:#07558e;box-shadow:none;overflow:visible}
body:not(.v60-battle) nav.v60-nav .fr-nav-tab{box-sizing:border-box;position:relative;display:block!important;flex:1;min-width:0;min-height:0!important;height:100%;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible;transition:flex-grow 210ms cubic-bezier(.18,.72,.26,1)}
body:not(.v60-battle) nav.v60-nav .fr-nav-tab.active{flex:1.5}.fr-nav-art{position:absolute;left:0;bottom:0;width:100%;height:calc(188 * var(--u))}
.fr-subnav{box-sizing:border-box;position:relative;display:flex;flex:none;height:calc(90 * var(--u));padding:0 0 calc(15 * var(--u));background:transparent}.fr-subnav-art{position:absolute;inset:0;width:100%;height:100%}
.fr-subnav>button{position:relative;flex:1;min-width:0;border:0;background:transparent;padding:0;color:transparent}
/* The deck has the reference banner and actual, model-owned cards, levels and critical total. */
.fr-card-deck{flex:none;padding:0 calc(8 * var(--u));height:calc(318 * var(--u));box-sizing:border-box;overflow:visible}
.fr-shell .v60-deck{position:relative!important;box-sizing:border-box;isolation:isolate;margin:0!important;padding:calc(112 * var(--u)) calc(16 * var(--u)) calc(58 * var(--u))!important;height:100%;border:0!important;border-radius:calc(17 * var(--u))!important;background:linear-gradient(#ec8fdc 0%,#deb1d7 28%,#b3865d 58%,#81533e 76%,#713f32 100%)!important;box-shadow:inset 0 calc(-4 * var(--u)) #4a2a24,0 calc(4 * var(--u)) calc(6 * var(--u)) #03234266!important;min-height:0!important}
.fr-shell .v60-deck::before,.fr-shell .v60-deck::after{display:none!important}.fr-deck-header{position:absolute;left:0;right:0;top:calc(-18 * var(--u));height:calc(128 * var(--u));z-index:2;pointer-events:none}
.fr-deck-header-cards,.fr-deck-header-battle{position:absolute;inset:0}.fr-deck-header-battle{display:none}
.fr-deck-header button{position:absolute;background:transparent;border:0;padding:0;pointer-events:auto}
.fr-deck-hero{top:0;left:0;width:43%;height:100%}.fr-deck-share{top:calc(24 * var(--u));left:calc(6 * var(--u));width:calc(50 * var(--u));height:calc(50 * var(--u));z-index:2}
.fr-deck-tools{position:absolute;top:calc(34 * var(--u));left:44%;right:1%;height:calc(80 * var(--u));display:grid;grid-template-columns:1.2fr 1fr 1fr}.fr-deck-tools>button{position:relative;inset:auto;width:100%;height:100%}
.fr-shell .v60-slots{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:calc(23 * var(--u))!important;margin:0!important}.fr-shell .v60-deck-item{position:relative;min-width:0;padding:0}
.fr-shell .v60-slot{display:block;position:relative;box-sizing:border-box;width:100%;height:auto!important;aspect-ratio:.94!important;padding:calc(3 * var(--u))!important;border:calc(4 * var(--u)) solid #ffc52b!important;border-radius:calc(10 * var(--u))!important;background:radial-gradient(#2f3455,#121322 80%)!important;box-shadow:0 0 calc(4 * var(--u)) #ffc22b,inset 0 0 0 calc(2 * var(--u)) #78451b!important;color:#add7e1;font:400 calc(50 * var(--u))/1 RoyalMenu!important;overflow:visible}
.fr-shell .v60-slot>img:not(.deck-talent-badge){width:100%!important;height:100%!important;object-fit:contain;position:static!important}.fr-shell .v60-empty{border-color:#b78e9c!important;background:#786278!important;color:#eac7e3;box-shadow:inset 0 0 0 calc(2 * var(--u)) #9a6b7d!important}
.fr-shell .card-level-value{display:block;box-sizing:border-box;width:100%;margin-top:calc(4 * var(--u));height:calc(25 * var(--u));min-height:0;padding:calc(2 * var(--u)) 0;background:linear-gradient(#ffe628,#ffa408);border-radius:calc(4 * var(--u));font:400 calc(22 * var(--u))/1 RoyalMenu!important;color:#fff;text-shadow:0 calc(2 * var(--u)) #38501b,calc(1 * var(--u)) 0 #38501b,calc(-1 * var(--u)) 0 #38501b!important;text-align:center}
.fr-shell #v60Slots .deck-remove{position:relative!important;top:auto!important;left:auto!important;display:block;width:100%;height:calc(22 * var(--u));min-height:0;padding:0;margin-top:calc(4 * var(--u));border:0;border-radius:calc(3 * var(--u));background:linear-gradient(90deg,#28b5ef 0 32%,#050d16 32%);color:white;font:400 calc(19 * var(--u))/1 RoyalMenu;box-shadow:0 calc(2 * var(--u)) #4b332b;opacity:1}
.fr-shell #v60Slots .deck-talent-badge{width:calc(28 * var(--u));height:calc(28 * var(--u));right:calc(-9 * var(--u));top:calc(-12 * var(--u));z-index:6}
.fr-shell #v60Slots .deck-open-talents{position:absolute;top:calc(-12 * var(--u));right:calc(-9 * var(--u));z-index:8;min-height:0;width:calc(30 * var(--u));height:calc(30 * var(--u));border:0;padding:0;font-size:0;background:transparent}
.fr-shell .v60-deck-note{position:absolute!important;bottom:calc(13 * var(--u));left:calc(18 * var(--u));margin:0!important;padding:0!important;max-width:48%;font:400 calc(22 * var(--u))/1 RoyalMenu!important;color:#ffe82f!important;text-align:left!important;white-space:nowrap}
.fr-deck-presets{position:absolute;display:flex;bottom:calc(11 * var(--u));right:calc(17 * var(--u));gap:calc(12 * var(--u))}.fr-deck-presets button{width:calc(36 * var(--u));height:calc(35 * var(--u));padding:0;border:calc(2 * var(--u)) solid #bf9684;border-radius:calc(6 * var(--u));box-shadow:0 calc(2 * var(--u)) #653c30;background:linear-gradient(#a47668,#75483d);color:#fff;font:400 calc(28 * var(--u))/1 RoyalMenu}.fr-deck-presets button.active{background:linear-gradient(#fff1a8,#ffc934);border-color:#fff;box-shadow:0 0 calc(6 * var(--u)) #f7d7b6}
.fr-shell #monkTalentOption{display:none!important}
/* Four columns with the same card widths, inter-column space and scroll depth as the captures. */
.fr-card-scroll{padding:0 0 calc(24 * var(--u));flex:1}.fr-filters{display:flex;justify-content:space-between;box-sizing:border-box;padding:calc(14 * var(--u)) calc(43 * var(--u)) calc(16 * var(--u));height:calc(107 * var(--u));gap:calc(6 * var(--u))}.fr-filters button{display:block;position:relative;width:calc(78 * var(--u));height:calc(80 * var(--u));min-width:0;flex:1;background:transparent;border:0;padding:0}.fr-filters button[aria-pressed=true]{filter:brightness(1.08)}
.fr-shell #v60Collection{display:block!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}.fr-shell #v60Collection[hidden]{display:none!important}
.fr-shell #v60Grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:calc(26 * var(--u)) calc(39 * var(--u))!important;padding:calc(7 * var(--u)) calc(54 * var(--u)) calc(20 * var(--u))!important;margin:0!important}
.fr-shell .collection-item{position:relative;min-width:0;height:calc(148 * var(--u));padding:0!important;margin:0!important;display:block!important}.fr-shell .collection-item[hidden]{display:none!important}
.fr-shell .v60-card{display:block!important;position:relative;box-sizing:border-box;aspect-ratio:1!important;width:100%;height:auto!important;padding:calc(4 * var(--u))!important;border:calc(4 * var(--u)) solid #ffbf16!important;border-radius:calc(13 * var(--u))!important;background:radial-gradient(#293450,#0b1020 78%)!important;box-shadow:0 0 calc(5 * var(--u)) #ff9b00,inset 0 0 0 calc(2 * var(--u)) #835711!important;overflow:visible}
.fr-shell .v60-card::before{content:'';position:absolute;top:calc(-10 * var(--u));left:calc(29 * var(--u));width:calc(24 * var(--u));height:calc(10 * var(--u));background:#ffc928;clip-path:polygon(0 100%,0 26%,24% 58%,43% 0,65% 58%,95% 20%,100% 100%)}
.fr-shell .v60-card>img:not(.deck-talent-badge){height:100%!important;width:100%!important;object-fit:contain;position:static!important;max-height:none!important}.fr-shell .v60-card>strong,.fr-shell .v60-class{display:none!important}
.fr-shell .fr-unit-level{display:block;position:absolute;left:calc(-3 * var(--u));right:calc(-3 * var(--u));bottom:calc(-31 * var(--u));height:calc(25 * var(--u));box-sizing:border-box;padding:calc(2 * var(--u)) 0;background:linear-gradient(#ffdf2f,#ffab11);border-radius:calc(4 * var(--u));font:400 calc(22 * var(--u))/1 RoyalMenu;color:#fff;text-shadow:0 calc(2 * var(--u)) #2c5018,calc(1 * var(--u)) 0 #2c5018,calc(-1 * var(--u)) 0 #2c5018!important;white-space:nowrap}
.fr-shell .v60-card[data-type="1"],.fr-shell .v60-card.unit-pending{border-color:#51e9ff!important;box-shadow:0 0 calc(5 * var(--u)) #0063ff,inset 0 0 calc(2 * var(--u)) #defaff!important}.fr-shell .v60-card[data-type="1"]::before,.fr-shell .v60-card.unit-pending::before{background:#82f3ff}.fr-shell .v60-card[data-type="1"] .fr-unit-level{background:linear-gradient(#d598ff,#b646ec)}
.fr-shell .v60-card.unit-pending .fr-unit-level{background:linear-gradient(#b3d1e7,#648eae);font-size:calc(17 * var(--u))}
.fr-shell .v60-card.chosen{outline:0!important}.fr-shell .v60-check{display:block;position:absolute!important;left:calc(1 * var(--u))!important;top:auto!important;bottom:calc(1 * var(--u));z-index:3;background:transparent!important;border:0!important;color:#a7ff00;font:400 calc(23 * var(--u))/1 RoyalMenu!important;text-shadow:0 calc(3 * var(--u)) #487c00}
.fr-shell .corsair-add-deck{position:absolute;top:calc(123 * var(--u));left:0;display:block;width:100%;height:calc(23 * var(--u));min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:calc(4 * var(--u));background:linear-gradient(90deg,#29baf5 0 32%,#030d17 32%)!important;box-shadow:0 calc(2 * var(--u)) #08283d;color:#fff;font:400 calc(20 * var(--u))/1 RoyalMenu!important;text-align:center}.fr-shell .corsair-add-deck:disabled{opacity:.65}.fr-shell .corsair-add-deck[data-selected=true]{color:#aaff6b}
.fr-shell .unit-talents{display:block;position:absolute;top:calc(-7 * var(--u));right:calc(-7 * var(--u));z-index:8;margin:0;padding:0;width:calc(29 * var(--u));height:calc(29 * var(--u));min-height:0;background:transparent;border:0;font-size:0;box-shadow:none}.fr-shell #v60Grid .deck-talent-badge{display:none}
.fr-shell #heroCollection{display:block;box-sizing:border-box;max-width:none;padding:calc(12 * var(--u)) calc(28 * var(--u));margin:0}.fr-shell #heroCollection[hidden]{display:none!important}.fr-shell .heroes-heading{padding:8px}.fr-shell .heroes-intro{font-size:13px}.fr-shell .heroes-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fr-shell .hero-owned-card,.fr-shell .hero-empty-slot{aspect-ratio:.8}.fr-shell .hero-owned-card strong{font-size:11px}.fr-empty-panel{padding:35px 20px;text-align:center}.fr-empty-panel .fr-icon{width:80px;height:80px;margin:auto}.fr-empty-panel h2{font-size:24px}.fr-empty-panel p{display:none}
/* Battle home retains the profile/league spacing; its deck is the compact variant. */
.fr-shell .fr-battle-home{box-sizing:border-box;display:flex!important;flex-direction:column;height:100%;min-height:0;padding:0 calc(8 * var(--u));border:0;background:transparent;margin:0}
.fr-profile{position:relative;height:calc(172 * var(--u));margin:calc(-7 * var(--u)) calc(-8 * var(--u)) 0;flex:none}.fr-profile-art{position:absolute;inset:0}.fr-profile button,.fr-league button{padding:0;background:transparent;border:0}.fr-profile-main{position:absolute;left:0;top:0;width:60%;height:100%}.fr-profile-shortcuts{position:absolute;right:calc(9 * var(--u));top:calc(6 * var(--u));display:flex;width:calc(226 * var(--u));height:calc(74 * var(--u));gap:calc(5 * var(--u))}.fr-profile-shortcuts button{flex:1}.fr-profile-rewards{position:absolute;right:0;bottom:0;width:40%;height:50%}
.fr-league{position:relative;flex:1;min-height:calc(140 * var(--u));display:flex;align-items:center;justify-content:center;padding-bottom:calc(4 * var(--u))}.fr-league-art{width:calc(318 * var(--u));height:calc(167 * var(--u));margin-left:calc(8 * var(--u));margin-top:calc(35 * var(--u))}.fr-league-main{position:absolute;left:21%;right:23%;top:24%;bottom:14%}.fr-league aside{position:absolute;right:calc(-8 * var(--u));top:calc(60 * var(--u));width:calc(105 * var(--u));display:flex;flex-direction:column}.fr-league aside button{display:block;width:100%;height:calc(110 * var(--u))}
.fr-battle-deck{flex:none;height:calc(265 * var(--u))}.fr-battle-deck .v60-deck{padding-top:calc(110 * var(--u))!important;padding-bottom:calc(46 * var(--u))!important}.fr-battle-deck .fr-deck-header-cards{display:none}.fr-battle-deck .fr-deck-header-battle{display:block}.fr-battle-deck .card-level-value,.fr-battle-deck .deck-remove{display:none!important}.fr-battle-deck .v60-slot{aspect-ratio:1!important}
.fr-play-area{display:grid;grid-template-columns:calc(148 * var(--u)) minmax(0,1fr) calc(145 * var(--u));gap:calc(18 * var(--u));height:calc(167 * var(--u));flex:none;align-items:start;box-sizing:border-box;padding:calc(27 * var(--u)) calc(8 * var(--u)) 0}
.fr-deck-edit,.fr-coop{padding:0;background:transparent;border:0;height:calc(111 * var(--u));position:relative}.fr-coop>.fr-crop{position:absolute;bottom:calc(-6 * var(--u));height:calc(141 * var(--u));width:100%}
.fr-main-play{position:relative;display:flex;flex-direction:column;align-items:center}.fr-shell #v60Play{display:block;box-sizing:border-box;min-height:0!important;width:100%;height:calc(88 * var(--u));margin:0;padding:0;border:calc(3 * var(--u)) solid #ffd52a!important;border-radius:calc(18 * var(--u))!important;background:linear-gradient(#ffd321,#ffb500 80%,#ffc517)!important;box-shadow:inset 0 calc(2 * var(--u)) #fff253,0 calc(6 * var(--u)) #9c5401!important;color:#fff!important;font:400 calc(40 * var(--u))/1 RoyalMenu!important;text-shadow:0 calc(3 * var(--u)) #513410,calc(2 * var(--u)) 0 #513410,calc(-2 * var(--u)) 0 #513410}.fr-shell #v60Play:disabled{filter:saturate(.5);opacity:.65}.fr-main-play small{font-size:calc(18 * var(--u));margin-top:calc(9 * var(--u));text-align:center}
/* Shop and social screens use original illustrated tiles, without fabricated game services. */
.fr-shop-scroll{flex:1;padding:0 0 calc(25 * var(--u))}.fr-reference-heading{display:block;margin:0!important;padding:0!important;height:calc(72 * var(--u));flex:none}.fr-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(12 * var(--u)) calc(13 * var(--u));padding:calc(8 * var(--u)) calc(20 * var(--u)) 0}.fr-offer{aspect-ratio:175/276}.fr-ads{width:calc(222 * var(--u));height:calc(75 * var(--u));margin:calc(17 * var(--u)) auto calc(23 * var(--u))}.fr-chests-heading{height:calc(78 * var(--u))}.fr-chest-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:calc(15 * var(--u)) calc(22 * var(--u));gap:calc(15 * var(--u))}.fr-chest-preview{display:flex;flex-direction:column;align-items:center;border:calc(3 * var(--u)) solid #f6cc3e;border-radius:calc(10 * var(--u));background:linear-gradient(#fff0a5,#d6ac45);font-size:calc(22 * var(--u));color:#fff;padding:calc(10 * var(--u))}.fr-chest-preview>.fr-icon{height:calc(105 * var(--u));width:100%}.fr-shop-additional{padding:35px;text-align:center}
.fr-shell[data-menu=clan] .fr-resources,.fr-shell[data-menu=events] .fr-resources{display:none}
.fr-clan{display:flex;flex-direction:column;height:100%;box-sizing:border-box;background:linear-gradient(90deg,#081b39,#123d75 40%,#0a2c56)}.fr-clan-tabs{display:flex;height:calc(181 * var(--u));flex:none}.fr-clan-tabs button{flex:1;min-width:0;background:transparent;border:0;padding:0}.fr-chat{flex:1}.fr-chat-reference{height:calc(795 * var(--u));position:relative}.fr-donate{position:absolute;left:53%;top:86%;width:26%;height:8%;padding:0;border:0;background:transparent}.fr-chat-input{display:flex;justify-content:space-around;gap:calc(20 * var(--u));padding:calc(36 * var(--u)) calc(18 * var(--u)) calc(26 * var(--u));height:calc(131 * var(--u));box-sizing:border-box;flex:none}.fr-chat-input button{flex:1;height:calc(69 * var(--u));min-width:0}
.fr-events{display:flex;flex-direction:column;height:100%;box-sizing:border-box;padding-top:calc(96 * var(--u))}.fr-event-top{display:grid;grid-template-columns:191fr 379fr;gap:calc(6 * var(--u));padding:0 calc(7 * var(--u));height:calc(229 * var(--u));margin-bottom:calc(14 * var(--u));flex:none}.fr-event-scroll{flex:1;padding:0 calc(8 * var(--u)) calc(20 * var(--u))}.fr-event-card{width:100%;height:calc(280 * var(--u));margin-bottom:calc(28 * var(--u))}.fr-event-card:nth-child(2){height:calc(274 * var(--u));margin-bottom:calc(26 * var(--u))}.fr-event-card.fr-fragments{height:calc(162 * var(--u))}
/* Dialogs keep all pre-existing stats, rank simulation, talent and hero interactions. */
body:not(.v60-battle) .talent-overlay{bottom:calc(170 * var(--fr-u,.68367px) + env(safe-area-inset-bottom,0px))!important}.fr-info{--u:var(--fr-u,.68367px);bottom:calc(170 * var(--u) + env(safe-area-inset-bottom,0px))!important;z-index:24000;padding:18px}.fr-info>section{position:relative;width:100%;max-width:400px;max-height:100%;border:3px solid #86b3d7;border-radius:12px;background:linear-gradient(#647fa6 0 55px,#e2f0f5 55px);padding:14px 14px 20px;color:#193850;font-family:RoyalMenu,sans-serif}.fr-info h2{color:white;font-size:23px;margin:0 30px 25px 0}.fr-info #v122InfoClose{position:absolute;top:7px;right:7px;width:30px;height:30px;border:2px solid #f08e9d;border-radius:9px;background:#cb3e52;color:white;font-size:26px;line-height:1;padding:0}.fr-info p{font:14px/1.45 sans-serif}.fr-info small{display:block;margin-bottom:8px;color:#597389}.fr-blue-button{border:2px solid #68adfb;border-radius:7px;background:linear-gradient(#268cfb,#1569de);box-shadow:0 3px #0750a0;color:#fff;padding:8px;font-size:16px}.fr-talent-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
/* Short mobile windows use the available height without changing the combat viewport. */
@media(max-aspect-ratio:7/16){.fr-shell .fr-league{padding-top:15px}.fr-league-art{margin-top:0}}
@media(min-aspect-ratio:1/2){.fr-shell .fr-resources{height:calc(140 * var(--u))}.fr-resource-art{top:calc(74 * var(--u))}.fr-shell .fr-resource-value{top:calc(79 * var(--u))}.fr-shell .fr-resource-plus,.fr-shell .fr-menu-button{top:calc(73 * var(--u))}.fr-events{padding-top:calc(60 * var(--u))}}
@media(orientation:landscape) and (max-height:600px){body:not(.v60-battle) #v60Home.fr-shell{overflow-y:auto}.fr-shell .fr-resources{height:calc(90 * var(--u))}.fr-resource-art{top:calc(24 * var(--u))}.fr-shell .fr-resource-value{top:calc(29 * var(--u))}.fr-shell .fr-resource-plus,.fr-shell .fr-menu-button{top:calc(23 * var(--u))}.fr-card-deck{height:calc(265 * var(--u))}.fr-card-deck .v60-deck{padding-top:calc(85 * var(--u))!important}.fr-card-scroll{min-height:110px}.fr-battle-home .fr-profile,.fr-battle-home .fr-league{display:none}}
@media(prefers-reduced-motion:reduce){.fr-pages,.fr-nav-tab{transition:none!important}.fr-pages{will-change:auto}}

/* Final joins: soft motif layer, full-width league scene and native card controls. */
body:not(.v60-battle) #v60Home.fr-shell{background:radial-gradient(ellipse at 50% 55%,#1165a5,#0d3a66 70%,#092646)}
.fr-backdrop{opacity:.18}
.fr-deck-header{height:calc(118 * var(--u))}
.fr-shell .v60-deck-item{display:flex;flex-direction:column;align-items:stretch}
.fr-shell .v60-slot{order:0}.fr-shell .card-level-value{order:1}.fr-shell #v60Slots .deck-remove{order:2}
.fr-shell #v60Slots .deck-remove::before,.fr-shell #v60Slots .deck-remove::after{display:none!important}
.fr-shell #v60Slots .v60-slot>img.deck-talent-badge{position:absolute!important;width:calc(28 * var(--u))!important;height:calc(28 * var(--u))!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;right:calc(-8 * var(--u))!important;top:calc(-10 * var(--u))!important}
.fr-shell #v60Grid .v60-card>img.deck-talent-badge{display:none!important}
.fr-shell .unit-talents img{width:100%;height:100%;object-fit:contain}
.fr-faction{clip-path:polygon(50% 0,82% 17%,100% 50%,82% 83%,50% 100%,18% 83%,0 50%,18% 17%)}
.fr-profile{height:calc(179 * var(--u))}
.fr-league-art{position:absolute;inset:0 auto 0 calc(-8 * var(--u));width:calc(588 * var(--u));height:100%;margin:0}
.fr-league aside{top:calc(60 * var(--u))}
.fr-play-area{position:relative}.fr-play-art{position:absolute;top:0;left:calc(-8 * var(--u));width:calc(588 * var(--u));height:100%}.fr-play-area>button,.fr-main-play{position:relative}
.fr-offer{clip-path:inset(calc(2 * var(--u)) round calc(15 * var(--u)))}.fr-ads{clip-path:inset(calc(2 * var(--u)) round calc(12 * var(--u)))}
.fr-info select{font:14px sans-serif;display:block;width:100%;padding:9px;margin:8px 0 15px;border:1px solid #547ca4;border-radius:5px;color:#193850;background:#fff}
.fr-subnav[data-active]:not([data-active=units]):not([data-active=primary])>button.active{border:2px solid #9ceaff;border-radius:7px;background:linear-gradient(#2ac4fd,#0b94da);color:white;font:400 calc(27 * var(--u))/1 RoyalMenu}
.fr-subnav[data-active]:not([data-active=units]):not([data-active=primary])>button.active::after{content:attr(aria-label)}
