/* V236. Menu-only layout: the arenas, combat viewport and game controls retain their styles. */
body:not(.v60-battle){margin:0;overflow:hidden;background:#061a33}
body:not(.v60-battle) #v60Home.fr-shell{--fr-nav-height:112px;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(--fr-nav-height) + env(safe-area-inset-bottom,0px))!important;overflow:hidden;background:radial-gradient(ellipse at 48% 45%,#1265ad 0,#094780 58%,#041c3a 100%);color:#fff;font-family:"Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif;font-weight:900;isolation:isolate}
#v60Home.fr-shell::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:1;background:url('../assets/menu_motif_v236.svg') center top/166px 178px repeat;transform:none}
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}.fr-shell button:disabled{cursor:default;opacity:1}.fr-shell button:focus-visible,.fr-info button:focus-visible{outline:3px solid #fff3a1;outline-offset:2px}.fr-shell svg{display:block}.fr-icon{width:100%;height:100%;display:block;overflow:visible;flex:none;pointer-events:none}.fr-scene{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.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-shell small,.fr-info h2{text-shadow:0 2px #00162f,1px 0 #00162f,-1px 0 #00162f}.fr-shell h2,.fr-shell h3{color:white;line-height:1.08}.fr-shell button{touch-action:manipulation}
.fr-resources{box-sizing:content-box;flex:none;height:32px;display:flex;align-items:center;gap:5px;padding:clamp(16px,7.7dvh,70px) 7px 16px;background:linear-gradient(#061b35 15%,#07254480);position:relative;z-index:3}.fr-resources:before{content:"";position:absolute;bottom:15px;left:0;right:0;height:30px;background:#0011259c;z-index:-1}.fr-wallet{display:flex;align-items:center;gap:4px;flex:1;min-width:0;height:30px}.fr-wallet .fr-icon{width:27px;height:29px}.fr-wallet strong{font-size:clamp(14px,4vw,21px);white-space:nowrap;letter-spacing:-.6px}.fr-shell .fr-plus{padding:0;display:grid;place-items:center;background:linear-gradient(#ffdd32,#ffa600);border:2px solid #fff18a;border-radius:5px;width:25px;height:27px;flex:none;box-shadow:0 3px #8b3c13;color:white;font-size:29px;line-height:.5;text-shadow:0 2px #8f4618;margin-left:auto}.fr-shell .fr-menu-button{margin-left:auto;width:27px;height:28px;flex:none;background:linear-gradient(#b0e510,#5f9c07);border:2px solid #b3e84c;border-radius:5px;color:#e7ffff;font-size:24px;line-height:1;box-shadow:0 3px #365809;padding:0}
.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 .26s cubic-bezier(.2,.78,.2,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-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#1f89c680 transparent;touch-action:pan-y}.fr-page[inert]{pointer-events:none}
.fr-subnav{display:flex;gap:5px;flex:none;padding:5px 7px 9px;background:linear-gradient(transparent,#052846b8);min-height:38px}.fr-shell .fr-blue-button,.fr-info .fr-blue-button,.fr-subnav>button{display:grid;place-items:center;border:2px solid #459cf0;border-radius:7px;color:#fff;background:linear-gradient(#2186ff 0%,#1468de 76%,#0752be 77%);box-shadow:inset 0 1px #91daff,0 3px #003c81;font-size:clamp(11px,3.4vw,17px);font-weight:900;padding:7px 8px;text-align:center;line-height:1.05}.fr-subnav>button{flex:1;padding:5px 3px;font-size:clamp(11px,3vw,15px);min-height:34px}.fr-subnav>button.active{background:linear-gradient(#32c2ff,#0ba4e4);border-color:#80e6ff;box-shadow:inset 0 1px #c7f9ff,0 3px #0064af}
/* Wide selected lower tab, large image, label only under the selected item. */
body:not(.v60-battle) nav.v60-nav{box-sizing:border-box;position:fixed;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:min(100%,540px);max-width:540px;height:calc(112px + env(safe-area-inset-bottom,0px));display:flex;align-items:stretch;gap:2px;padding:0 2px env(safe-area-inset-bottom,0px);z-index:25000;border:0;background:#04294e;box-shadow:0 -4px 10px #052746aa}
body:not(.v60-battle) nav.v60-nav .fr-nav-tab{box-sizing:border-box;position:relative;display:flex!important;flex:1;flex-direction:column;align-items:center;justify-content:flex-start;min-height:0!important;height:100%;margin:0!important;padding:16px 3px 5px!important;border:1px solid #1c8fd0!important;border-radius:12px 12px 0 0!important;background:linear-gradient(#0769ad,#07518e 80%)!important;color:white!important;font-size:14px!important;box-shadow:inset 0 1px 2px #59d9ff!important;overflow:visible;transition:flex-grow .22s ease,background .18s}
body:not(.v60-battle) nav.v60-nav .fr-nav-tab.active{flex:1.47;background:radial-gradient(ellipse at 50% 35%,#1ce8ff,#04a5f1 65%)!important;border-color:#19c9ff!important;box-shadow:inset 0 1px 3px #9ffbff!important;padding-top:7px!important}.v60-nav .fr-nav-tab .fr-icon{width:49px;height:53px;filter:drop-shadow(0 2px #002b4f)}.v60-nav .fr-nav-tab.active .fr-icon{width:67px;height:64px;margin-top:-9px;margin-bottom:5px}.v60-nav .fr-nav-tab>span{font-family:"Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif;font-weight:900;letter-spacing:-.4px;text-shadow:0 2px #03142b,1px 0 #03142b,-1px 0 #03142b;opacity:0;transform:translateY(4px);transition:opacity .15s,transform .18s}.v60-nav .fr-nav-tab.active>span{opacity:1;transform:none}body:not(.v60-battle) nav.v60-nav #frNavEvents:not(.active){background:linear-gradient(#ffdf00,#ffa900)!important;border-color:#ffe436!important;box-shadow:inset 0 2px #ffff6e!important}
/* One movable deck, retained IDs and all existing card/power actions. */
.fr-card-deck{flex:none;padding:0 7px 9px}.fr-shell .v60-deck{position:relative!important;box-sizing:border-box;isolation:isolate;margin:0!important;padding:58px 8px 35px!important;border:3px solid #b18061!important;border-radius:14px!important;background:linear-gradient(#c29be2 0%,#f4bdd4 46%,#a27658 65%,#68402f 100%)!important;box-shadow:inset 0 0 0 2px #edc09b,0 4px 5px #03173188!important;min-height:0!important}.fr-shell .v60-deck::before,.fr-shell .v60-deck::after{display:none!important}.fr-shell .v60-deck>h2{position:absolute;left:5px;top:4px;margin:0!important;font-size:10px!important;color:white;z-index:1;opacity:0;pointer-events:none}.fr-deck-header{position:absolute;top:0;left:0;right:0;height:53px}.fr-shell .fr-deck-hero{position:absolute;top:-5px;left:0;width:130px;height:62px;border:0;background:transparent;padding:0;overflow:visible;z-index:2}.fr-deck-hero img{position:absolute;width:113px;height:103px;object-fit:contain;left:13px;bottom:-3px}.fr-deck-hero b{position:absolute;left:-3px;top:27px;padding:4px 8px;border:2px solid #ffc2f9;border-radius:4px;background:linear-gradient(#e783db,#aa3cb6);color:white;font-size:12px;transform:rotate(-2deg)}.fr-deck-tools{display:flex;position:absolute;top:6px;right:7px;gap:7px}.fr-deck-tools button{width:36px;height:36px;border:3px solid #e3b14c;border-radius:50%;box-shadow:inset 0 0 0 2px #7c4d35,0 3px #654957;background:radial-gradient(#477197,#162e4f);padding:4px}.fr-deck-tools button:nth-child(2){border-color:#f9dd24}.fr-deck-tools button:nth-child(3){border-color:#addbff}.fr-shell .v60-slots{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;margin:0!important}.fr-shell .v60-deck-item{min-width:0;position:relative}.fr-shell .v60-slot{position:relative;display:block;box-sizing:border-box;width:100%;height:auto!important;aspect-ratio:.83!important;padding:3px 0!important;border:3px solid #ffd32f!important;border-radius:9px!important;background:radial-gradient(ellipse at center,#35415d,#11152c 76%)!important;box-shadow:inset 0 0 0 2px #a65a08,0 3px #351e14!important;color:#b6dfff;font-size:35px!important}.fr-shell .v60-slot>img:not(.deck-talent-badge){width:100%!important;height:100%!important;object-fit:contain}.fr-shell .v60-empty{background:linear-gradient(#8c7481,#665461)!important;border-color:#ba9190!important;color:#e8cad0}.fr-shell .card-level-value{display:block;margin-top:4px;min-height:14px;background:linear-gradient(#ffde36,#ffaf04);border-radius:3px;font-size:11px!important;font-weight:900;color:#2a2113;text-align:center;text-shadow:0 1px #ffe889!important}.fr-shell #v60Slots .deck-remove{top:-4px;left:-4px;width:18px;height:18px;font-size:16px;line-height:1;border-color:#fff2ab;background:#b5525f;opacity:.95}.fr-shell #v60Slots .deck-talent-badge{width:22px;height:22px;right:-5px;top:-8px}.fr-shell #v60Slots .deck-open-talents{position:absolute;top:25px;right:1px;z-index:21;min-height:22px;width:22px;padding:0;font-size:0;background:#085f9e;border-radius:5px}.fr-shell #v60Slots .deck-open-talents:after{content:'✦';font-size:17px}.fr-shell .v60-deck-note{position:absolute;bottom:4px;left:7px;font-size:10px!important;line-height:1.1;margin:0!important;max-width:49%;color:#ffdd74!important;text-align:left!important}.fr-deck-presets{position:absolute;display:flex;bottom:6px;right:7px;gap:4px}.fr-deck-presets button{width:22px;height:23px;padding:0;border:1px solid #dfb8a2;border-radius:5px;box-shadow:0 2px #4e2d25;background:linear-gradient(#a6755c,#754836);color:#fff;font-size:15px;font-weight:900}.fr-deck-presets button.active{background:linear-gradient(#ffe575,#ffb60b);color:#fff;border:2px solid white;box-shadow:0 0 5px #fffbd0}
/* Collection scrolls beneath the fixed deck, as in the reference. */
.fr-card-scroll{padding:5px 8px 12px;flex:1}.fr-collection-banner{display:grid;grid-template-columns:minmax(0,1fr) 59px;gap:8px;min-height:66px;margin:0 0 12px}.fr-faction-offer{display:flex;position:relative;gap:5px;align-items:center;background:linear-gradient(#528df3,#0c53ba);border:2px solid #78b5f9;border-radius:7px;box-shadow:0 3px #002e6d;padding:4px 5px}.fr-faction-offer>.fr-icon{width:43px;height:47px}.fr-faction-offer p{font-size:10px;line-height:1.2;margin:0;padding-right:9px;text-shadow:0 1px #001a42}.fr-info-button{background:#f6ffff;border:0;border-radius:3px;font:bold 15px Georgia!important;color:#163650;position:absolute;top:4px;right:4px;width:16px;height:17px;padding:0;text-shadow:none!important}.fr-critical-flag{background:linear-gradient(90deg,#b489eb,#e3d7ff,#9466cf);border:3px solid #ffdd43;border-radius:7px 7px 3px 3px;position:relative;padding:4px 1px;display:grid;place-items:center;clip-path:polygon(0 0,100% 0,100% 100%,75% 89%,50% 100%,25% 89%,0 100%)}.fr-critical-flag .fr-icon{width:31px;height:27px}.fr-critical-flag b{font-size:11px!important;color:#ffea53;white-space:nowrap}.fr-shell .fr-ribbon{position:relative;box-sizing:border-box;margin:12px 5px 14px;padding:9px 8px;border:2px solid #bb6eec;border-radius:5px;background:linear-gradient(#b043c5,#9d239e);box-shadow:inset 0 2px #e897ed,0 3px #61317e;color:white;font-size:21px!important;text-align:center;line-height:1.05;isolation:isolate}.fr-ribbon:before,.fr-ribbon:after{content:'';position:absolute;top:3px;bottom:2px;width:12px;background:#8b2caa;border:2px solid #b460d9;z-index:-1}.fr-ribbon:before{left:-10px;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,30% 50%)}.fr-ribbon:after{right:-10px;clip-path:polygon(0 0,100% 0,70% 50%,100% 100%,0 100%)}.fr-ribbon small{font-size:12px;margin-left:auto;white-space:nowrap;display:block}.fr-shell .fr-collection-strip{display:flex;align-items:center;justify-content:space-between;font-size:11px!important;padding:5px 8px;margin:0 5px 8px}.fr-collection-strip strong{font-size:11px;color:#fff13e}.fr-collection-strip label{font-size:10px;display:flex;gap:3px;align-items:center}.fr-collection-strip select{font-size:10px;width:56px;background:#6b277f;color:white;border:0;font-weight:900;border-radius:3px}.fr-filters{display:flex;justify-content:space-evenly;padding:2px 0 9px;gap:12px}.fr-filters button{width:40px;height:40px;background:transparent;border:2px solid transparent;border-radius:50%;padding:3px;filter:drop-shadow(0 3px #00325c)}.fr-filters button[aria-pressed=true]{border-color:#b8faff;background:#74cefa25}
.fr-shell #v60Collection{display:block;margin:0;padding:0;background:transparent;border:0}.fr-shell #v60Grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px 12px!important;padding:5px 3px!important}.fr-shell .collection-item{position:relative;min-width:0}.fr-shell .v60-card{box-sizing:border-box;aspect-ratio:.9!important;width:100%;padding:4px 1px 18px!important;border:3px solid #ffc82a!important;border-radius:9px!important;background:radial-gradient(ellipse at center,#202e4a,#0b1730 90%)!important;box-shadow:inset 0 0 0 2px #905519,0 3px #00172b!important;overflow:visible}.fr-shell .v60-card>img:not(.deck-talent-badge){height:100%!important;width:100%!important;object-fit:contain}.fr-shell .v60-card>strong,.fr-shell .v60-class{display:none!important}.fr-shell .fr-unit-level{position:absolute;left:-2px;right:-2px;bottom:-3px;padding:2px 0;background:linear-gradient(#ffe239,#ffb208);border-radius:3px;font-size:11px;line-height:1;color:#22180e;text-shadow:0 1px #fff08d!important}.fr-shell .v60-card.unit-pending{border-color:#81b8dd!important}.fr-shell .v60-card.unit-pending .fr-unit-level{background:linear-gradient(#b6d8ec,#659abb);font-size:9px}.fr-shell .v60-card.chosen{outline:2px solid #56edff!important;outline-offset:2px}.fr-shell .v60-check{font-size:14px!important;left:-5px;top:-8px}.fr-shell .corsair-add-deck{display:block;width:100%;font:900 8px/1.1 "Trebuchet MS",Arial,sans-serif;min-height:20px!important;padding:3px 1px!important;margin:5px 0 0!important;border:1px solid #53caff;border-radius:4px;background:linear-gradient(#2ebdf8,#0589d9);color:white;text-shadow:0 1px #03446a}.fr-shell .corsair-add-deck:disabled{filter:saturate(.3);opacity:.65}.fr-shell .unit-talents{position:absolute;top:27px;right:1px;z-index:5;margin:0;padding:0;width:21px;height:21px;min-height:0;font-size:0;border:1px solid #b3ecff;border-radius:5px;background:#12599d;color:white}.fr-shell .unit-talents:after{content:'✦';font-size:16px}.fr-shell #v60Grid .deck-talent-badge{width:21px;height:21px;top:-8px;right:-5px}.fr-shell #heroCollection{display:block;box-sizing:border-box;max-width:none;padding:3px 0 20px;margin:0}.fr-shell .heroes-heading{padding:9px}.fr-shell .heroes-intro{font-size:11px}.fr-shell .heroes-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 10px}.fr-shell .hero-owned-card,.fr-shell .hero-empty-slot{aspect-ratio:.8}.fr-shell .hero-owned-card strong{font-size:10px}.fr-empty-panel{padding:34px 20px;text-align:center}.fr-empty-panel .fr-icon{width:95px;height:95px;margin:0 auto 20px}.fr-empty-panel h2{font-size:23px}.fr-empty-panel p{font-size:12px;color:#d7efff}
/* Profile and spacious league area above the deck on the battle home. */
.fr-shell .fr-battle-home{box-sizing:border-box;display:flex!important;flex-direction:column;height:100%;min-height:0;padding:0 7px 8px;background:transparent;border:0}.fr-profile{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);grid-template-rows:65px 32px;gap:5px 7px;flex:none}.fr-profile-banner{position:relative;border:3px solid #ffdf64;border-radius:7px;background:#42aadd;overflow:hidden}.fr-profile-banner>img{position:absolute;left:0;top:0;width:61px;height:100%;object-fit:contain;background:linear-gradient(135deg,#70449a99,#1e509666);border-right:2px solid #d6ebf3}.fr-profile-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);position:relative;gap:3px;padding-top:1px;align-content:start}.fr-profile-shortcuts button{height:37px;padding:4px;border:2px solid #42aff3;border-radius:5px;background:linear-gradient(#2789d9,#055a9c);color:#fff;font-size:24px;line-height:1;box-shadow:0 3px #023a6e}.fr-profile-shortcuts>span{grid-column:1/-1;background:linear-gradient(#d3b4f4,#8f60b9);border:2px solid #c7acff;border-radius:4px;text-align:center;font-size:10px;padding:3px;color:#fff}.fr-profile>p{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;position:relative;margin:0;padding:0 3px 4px;background:#04223c99;border-radius:0 0 5px 5px;font-size:15px}.fr-profile p>small{font-size:8px;display:block;width:100%;color:#ffdcfc}.fr-profile p>strong{font-size:15px}.fr-profile p>span{margin-left:auto;font-size:10px;color:#ffde58}.fr-league{flex:1;min-height:112px;display:flex;align-items:center;justify-content:center;gap:14px;padding:5px 0 24px}.fr-league>.fr-icon{width:78px;height:97px;filter:drop-shadow(0 5px 5px #002346)}.fr-league>div{width:138px}.fr-league h2{font-size:19px;margin:0 0 8px}.fr-progress{position:relative;height:12px;background:#062e50;border:2px solid #04335c;border-radius:4px;overflow:hidden}.fr-progress>span{display:block;height:100%;background:linear-gradient(#ffdf43,#f69b00);transition:width .2s ease}.fr-league p{font-size:9px;color:#d3edff;margin:6px 0}.fr-league aside{display:flex;flex-direction:column;gap:12px;margin-left:4px}.fr-league aside button{border:0;background:transparent;padding:0;width:40px;height:40px}.fr-battle-deck{flex:none}.fr-play-area{display:grid;grid-template-columns:66px minmax(0,1fr) 70px;gap:8px;flex:none;align-items:start;margin-top:15px}.fr-shell .fr-play-area .fr-deck-edit{height:63px;padding:6px;border:3px solid #43b9fa;border-radius:9px}.fr-main-play{display:flex;flex-direction:column;align-items:center}.fr-shell #v60Play{display:block;box-sizing:border-box;min-height:63px!important;width:100%;height:63px;margin:0;padding:7px;border:2px solid #ffe33c!important;border-radius:11px!important;background:linear-gradient(#ffdb17,#ffb400 70%,#ffa400)!important;box-shadow:inset 0 2px #fff981,0 5px #b56700!important;color:#fff!important;font-size:24px!important;text-shadow:0 2px #7b3b0b,1px 0 #7b3b0b,-1px 0 #7b3b0b}.fr-shell #v60Play:disabled{filter:saturate(.55);opacity:.65}.fr-main-play small{font-size:9px;text-align:center;margin-top:8px;color:#fff6c4}.fr-shell .fr-play-area .fr-coop{height:63px;padding:3px;position:relative;border-radius:9px;font-size:15px}.fr-coop .fr-icon{width:34px;height:33px;margin:auto}.fr-coop small{position:absolute;right:-2px;top:-8px;color:#fff4a0;font-size:8px;background:#a33143;border-radius:3px;padding:2px}
/* Shop: three columns, glossy sky-blue panels and horizontal violet ribbons. */
.fr-shop-scroll{flex:1;padding:0 10px 20px}.fr-shop-scroll>.fr-ribbon{display:flex;align-items:center;justify-content:space-between;text-align:left}.fr-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 9px;margin:0 3px 18px}.fr-offer{display:flex;position:relative;min-width:0;box-sizing:border-box;aspect-ratio:.64;flex-direction:column;align-items:center;padding:8px 5px 0;border:3px solid #64bbf7;border-radius:11px;background:linear-gradient(100deg,#49a7e9,#97e6ff 48%,#64c3f6);box-shadow:inset 0 0 0 2px #caefff,0 4px #005194}.fr-offer:after{content:'';position:absolute;top:1px;right:1px;width:10px;height:9px;border-radius:0 7px 0 12px;background:#edfbff}.fr-offer h3{position:relative;font-size:clamp(12px,3.8vw,18px);text-align:center;margin:3px 0 5px;min-height:35px;z-index:1}.fr-offer-art{position:relative;width:83%;flex:1;min-height:36px;display:grid;place-items:center}.fr-offer-art .fr-icon{width:80%;height:80%;max-height:90px}.fr-offer-art>img{width:100%;height:100%;max-height:94px;object-fit:contain;background:#152633;border:3px solid #354654;border-radius:8px;box-shadow:inset 0 0 0 2px #090e10}.fr-offer-art>b{position:absolute;right:-8px;top:-1px;font-size:20px;line-height:1}.fr-offer-progress{font-size:8px;color:#eaffff;border-radius:4px;min-height:12px;margin:4px 0}.fr-offer>button{display:flex;flex-direction:column;align-items:center;justify-content:center;width:calc(100% + 10px);min-height:34px;border:0;border-top:1px solid #008ad444;border-radius:0 0 7px 7px;background:#38a9f344;color:#fff;font-size:22px;line-height:1;padding:4px 2px}.fr-offer>button>small{font-size:8px;margin-top:3px;color:#e8faff}.fr-offer.gift>button{background:linear-gradient(#abe900,#6ec600)}.fr-offer.gold{background:linear-gradient(100deg,#fbc33d,#ffe28a,#fdc24c);border-color:#ffe27b;box-shadow:inset 0 0 0 2px #fff6b3,0 4px #a37209}.fr-shell .fr-purple-button{display:block;border:3px solid #dc86f4;border-radius:9px;background:linear-gradient(#c53ce2,#a923c5);box-shadow:inset 0 1px #ecb4ff,0 4px #5c2482;color:white;font-size:17px;padding:8px 15px}.fr-ads{margin:3px auto 29px}.fr-ads small{display:block;font-size:10px;margin-top:2px}
/* Clan/chat and events are preview surfaces, with all unavailable actions marked. */
.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%;padding:0 7px 8px;box-sizing:border-box}.fr-clan-tabs{display:flex;gap:4px;padding-top:max(5px,env(safe-area-inset-top));flex:none}.fr-clan-tabs button{flex:1;background:linear-gradient(#126fba,#085494);border:1px solid #2381c6;border-radius:0 0 7px 7px;height:75px;padding:8px 2px 4px;color:white;font-size:12px}.fr-clan-tabs button.active{background:linear-gradient(#239df8,#178be8)}.fr-clan-tabs .fr-icon{height:39px;width:40px;margin:auto auto 3px}.fr-clan-notice{padding:7px;text-align:center;background:#063963;color:#d1edff;font-size:11px}.fr-chat{flex:1;padding:3px 2px 8px}.fr-chat-message{display:flex;gap:7px;margin:8px 0 11px}.fr-chat-message>img{width:38px;height:41px;object-fit:contain;background:#174879;border:1px solid #377ca7;border-radius:3px}.fr-chat-message>div{flex:1;min-width:0;background:#114b82;padding:8px;border-radius:5px}.fr-chat-message header{display:flex;justify-content:space-between;color:#62deff;font-size:10px}.fr-chat-message header small{font-size:8px;color:#99c6e6}.fr-chat-message p{font-size:11px;line-height:1.35;margin:5px 0;color:#e1f2ff}.fr-chat-message .fr-chat-sticker{width:90px;height:82px;object-fit:contain;display:block;margin:5px auto}.fr-chat-input{display:flex;gap:7px;flex:none;padding:7px 0 0}.fr-chat-input>button{flex:1;border:2px solid #45a4ef;border-radius:5px;background:#1266ca;color:white;font-size:20px;height:35px;padding:0}.fr-chat-input small{font-size:8px}.fr-events{height:100%;display:flex;flex-direction:column;padding:clamp(20px,7.7dvh,70px) 7px 0;box-sizing:border-box}.fr-event-top{display:grid;grid-template-columns:1fr 2.08fr;gap:7px;flex:none;height:151px;margin-bottom:6px}.fr-event-top>article{position:relative;overflow:hidden;border:2px solid #756073;border-radius:7px;box-shadow:0 3px #00213b;background:#1b2651}.fr-event-top h3{position:relative;margin:7px 2px 4px;font-size:18px;text-align:center;color:#ffdf00}.fr-event-top small{position:relative;font-size:9px;text-align:center;display:block;color:white;background:#1c102988;padding:3px}.fr-invoke>div{position:relative;width:81px;height:81px;margin:6px auto 4px;padding:12px;border-radius:50%;box-sizing:border-box;background:radial-gradient(#314e77 45%,#ffc429 48%,#ffdd3d 56%,#e88418 63%,transparent 65%);filter:drop-shadow(0 0 8px #fbd14d)}.fr-invoke>span{position:absolute;bottom:4px;left:0;right:0;text-align:center;color:#ffeb8c;font-size:9px}.fr-tavern-loot{position:relative;height:58px;display:flex;justify-content:center;gap:8px;margin:3px 0}.fr-tavern-loot .fr-icon{width:49px;height:55px}.fr-tavern>.fr-progress{position:absolute;bottom:9px;left:10%;right:10%;height:15px;background:#062844;border:2px solid #053353}.fr-tavern .fr-progress b{position:absolute;inset:0;text-align:center;font-size:12px;color:white}.fr-event-scroll{flex:1;padding:0 1px 15px}.fr-event-card{position:relative;height:152px;border:2px solid #7498b1;border-radius:7px;overflow:hidden;box-sizing:border-box;margin:0 0 10px;background:#133758}.fr-event-card>.fr-scene{opacity:.9}.fr-event-card h3{position:relative;text-align:center;font-size:17px;color:#ffe33b;margin:8px 8px 4px;z-index:2}.fr-event-card>small{position:relative;display:block;width:max-content;max-width:90%;margin:0 auto;padding:2px 9px;border-radius:5px;background:#08172c99;font-size:10px;color:white;z-index:2}.fr-event-character{position:absolute;width:45%;height:83%;object-fit:contain;right:10%;bottom:-3px;filter:drop-shadow(0 3px 3px #08203e)}.fr-event-bottom{position:absolute;bottom:0;left:0;right:0;background:#163a4bc9;font-size:10px;padding:5px;color:white}.fr-soon-heading{text-align:center;font-size:20px!important;margin:20px 0}.fr-tournament{height:174px;background:#11112c}.fr-tournament>.fr-scene{filter:brightness(.58)}.fr-tournament .fr-blue-button{position:relative;margin:28px auto 12px;width:46%;min-height:35px;font-size:12px}.fr-tournament p{position:relative;text-align:center;font-size:11px;margin:0 4px}.fr-grand-arena{height:214px}.fr-grand-arena h3{color:white;font-size:21px}.fr-event-corner{position:absolute;bottom:0;right:0;padding:12px 16px 9px 30px;background:linear-gradient(#fb6551,#bd265a);clip-path:polygon(16% 30%,100% 0,100% 100%,0 100%);color:#ffea00;font-size:24px;transform:none}
/* Modal sheets share the menu vocabulary while preserving existing talent/stats dialogs. */
body:not(.v60-battle) .talent-overlay{bottom:calc(112px + env(safe-area-inset-bottom,0px))!important}.fr-info{bottom:calc(112px + 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 50px,#e2f0f5 50px);padding:14px 14px 20px;color:#193850;font-family:"Trebuchet MS",Arial,sans-serif}.fr-info h2{color:white;font-size:21px;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-size:13px;line-height:1.45}.fr-talent-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fr-info .fr-blue-button{font-size:14px;margin-top:7px;min-height:38px}.fr-info small{display:block;margin-bottom:8px;color:#597389}.fr-shell #monkTalentOption{display:none!important}
@media(max-height:720px){body:not(.v60-battle) #v60Home.fr-shell{--fr-nav-height:93px}.fr-resources{padding-top:17px;padding-bottom:13px}.fr-profile{grid-template-rows:51px 28px}.fr-league{min-height:80px;padding-bottom:14px}.fr-league>.fr-icon{width:65px;height:78px}.fr-shell .v60-deck{padding-top:50px!important;padding-bottom:31px!important}.fr-deck-hero img{height:88px;width:104px}.fr-deck-tools button{width:31px;height:31px}.fr-play-area{margin-top:10px}.fr-shell .fr-play-area .fr-deck-edit,.fr-shell #v60Play,.fr-shell .fr-play-area .fr-coop{height:54px;min-height:54px!important}.fr-card-deck{padding-bottom:4px}.fr-events{padding-top:20px}.fr-event-top{height:139px}body:not(.v60-battle) nav.v60-nav{height:calc(93px + env(safe-area-inset-bottom,0px))}.fr-shell .v60-slot{aspect-ratio:.92!important}.fr-subnav>button{min-height:30px}.fr-subnav{min-height:30px;padding-bottom:6px}body:not(.v60-battle) .talent-overlay,.fr-info{bottom:calc(93px + env(safe-area-inset-bottom,0px))!important}.v60-nav .fr-nav-tab.active .fr-icon{width:60px;height:56px}}
@media(max-width:350px){.fr-resources{gap:3px}.fr-wallet{gap:2px}.fr-wallet .fr-icon{width:23px}.fr-shell .fr-plus{width:21px;font-size:25px}.fr-deck-tools{gap:5px}.fr-deck-tools button{width:30px;height:30px}.fr-deck-hero img{width:102px}.fr-shell .v60-slots{gap:5px!important}.fr-shell #v60Grid{gap:13px 8px!important}.fr-shell .fr-unit-level{font-size:10px}.fr-shell .card-level-value{font-size:10px!important}.fr-shell .v60-deck-note{font-size:8px!important}.fr-deck-presets{gap:3px}.fr-deck-presets button{width:19px;height:21px;font-size:13px}.fr-league{gap:8px}.fr-league>div{width:120px}.fr-league h2{font-size:17px}.fr-league aside{margin:0}.fr-play-area{grid-template-columns:55px 1fr 59px;gap:6px}.fr-event-top h3{font-size:16px}.fr-event-top small{font-size:8px}.fr-offer h3{font-size:12px;min-height:28px}.fr-offer>button{font-size:18px}.fr-offer-art>b{font-size:18px}.v60-nav .fr-nav-tab .fr-icon{width:44px;height:49px}.v60-nav .fr-nav-tab.active .fr-icon{width:57px;height:61px}}
@media(prefers-reduced-motion:reduce){.fr-pages,.fr-progress>span,.fr-nav-tab,.fr-nav-tab>span{transition:none!important}.fr-pages{will-change:auto}}
