/* Arena Lodge: original cartoon competition UI, royal blue, gold and raised controls. */
.royal-theme{--green:#b9ef77;--blue:#73e5ff;--muted:#aebed9;--line:#5676a0;--toon-ink:#e6f5ff;--toon-gold:#f7d77e;--toon-cream:#273b61;background:radial-gradient(ellipse at 10% 0,#2c6794 0,transparent 58%),radial-gradient(ellipse at 95% 40%,#773b8140,transparent 50%),#17233e;color:#edf7ff}
.royal-theme::before{background:linear-gradient(#182c49e3,#1b2143ed),url('art/royal-lodge-v44.webp') center/cover no-repeat}
.royal-theme header{background:linear-gradient(#3d557f,#273757);border-bottom-color:#102038;box-shadow:inset 0 3px #7397bd66,0 2px 0 #59d7e955,0 8px 22px #0c153955}.royal-theme .brand{color:#e7ffff;text-shadow:0 2px #182c48,0 0 12px #55dfff33}.royal-theme .brand b{color:#8beeff}.royal-theme .mark{background-image:url('art/lodge-crest-v44.svg')}.royal-theme .header-actions button{background:linear-gradient(#6885af,#455f8c);border-color:#20324f;color:#ddfaff;box-shadow:inset 0 2px #a2c8e080}
.royal-theme .eyebrow,.royal-theme .mini-label,.royal-theme .section-kicker{color:#87eaff}.royal-theme button:focus-visible,.royal-theme input:focus-visible,.royal-theme select:focus-visible{outline-color:#f5a1ff}
.royal-theme button.primary,.royal-theme .play-big,.royal-theme .intro-copy button{background:linear-gradient(#99f7ff 0%,#63deee 48%,#32b6d4 51%,#43c3df);border-color:#224c76;border-bottom-color:#225383;color:#123c61;text-shadow:0 1px #d8ffffa6;box-shadow:inset 0 3px #d6ffffb3,0 4px 0 #101d3e55,0 8px 20px #45d9f02b}
.royal-theme button.primary:disabled{background:linear-gradient(#637593,#465676);border-color:#2d3b5b;color:#a4b3cc;box-shadow:inset 0 2px #8c9fba55;text-shadow:none}.royal-theme .secondary,.royal-theme .mobile-actions button{background:linear-gradient(#777bb4,#535f91);border-color:#2b3b67;color:#e7eaff;box-shadow:inset 0 2px #afb5df80;text-shadow:0 1px #38446a}
.royal-theme .lobby-heading h1{color:#effbff;text-shadow:0 3px #152f4c,2px 0 #152f4c,-2px 0 #152f4c,0 -1px #152f4c,0 0 20px #75ddff25}.royal-theme .lobby-heading .mini-label{color:#9deaff}.royal-theme .lobby-heading .avatar{border-color:#8aefff;box-shadow:0 0 0 3px #36577b,0 5px 0 #131f4155,0 0 20px #56ceee22;background-color:#536b9b}
.royal-theme .lobby-xp>b{color:#95f2e9}.royal-theme .lobby-xp>div,.royal-theme .xp-track{background:#15263f;border-color:#0f2037}.royal-theme .lobby-xp i,.royal-theme .xp-track i{background:linear-gradient(#b7f5ed,#52c7d2);box-shadow:inset 0 1px #d3ffff,0 0 8px #5ce2e833}
.royal-theme .lodge-hero{background:linear-gradient(90deg,#122746cc 0%,#172d4c66 50%,transparent 85%),linear-gradient(0deg,#13233bb3,transparent 55%),url('art/royal-lodge-v44.webp') 57% center/cover no-repeat;border-color:#213652;box-shadow:inset 0 0 0 4px #70c9e277,0 7px 0 #101a3e66,0 16px 35px #101f4555}.royal-theme .lodge-hero:before{border-color:#99edff66}.royal-theme .hero-copy h2{color:#f3faff;text-shadow:0 4px #1d345c,2px 0 #1d345c,-2px 0 #1d345c,0 -1px #1d345c,0 6px 16px #14274788}.royal-theme .hero-copy h2 em{color:#8bffff;text-shadow:0 4px #205676,2px 0 #205676,-2px 0 #205676,0 0 18px #4acfe92a}.royal-theme .hero-copy p{color:#e1f2ff;text-shadow:0 2px 4px #193852}.royal-theme .season-tag{background:linear-gradient(#6b70ad,#464d89);border-color:#273660;color:#f7dcff;box-shadow:inset 0 2px #a5a5dc77,0 3px #14234255}.royal-theme .season-tag i{background:#f28de8;box-shadow:0 0 8px #f28de855}.royal-theme .intro-replay{background:#30496adf;border-color:#1b3153;color:#a1f2ff;box-shadow:inset 0 1px #83a7ce66}.royal-theme .hero-caption{color:#a4f3ff;text-shadow:0 2px #19354c}
.royal-theme .lobby-play,.royal-theme .lobby-collection,.royal-theme .series-entry,.royal-theme .cup-entry,.royal-theme .progress-card,.royal-theme .collection-card,.royal-theme .journey-entry>button{background:linear-gradient(#394e75,#28395e);border-color:#142a46;color:#e0f0ff;box-shadow:inset 0 3px #7d9bc377,0 6px 0 #111d3e66,0 0 0 1px #70a4c52b}
.royal-theme .lobby-play .section-title h3,.royal-theme .lobby-collection h3,.royal-theme .series-entry h3,.royal-theme .cup-entry h3{color:#edf7ff;text-shadow:0 2px #203354}.royal-theme .lobby-play .section-title>span,.royal-theme .lobby-collection .section-title>span,.royal-theme .series-entry .mini-label,.royal-theme .cup-entry .mini-label{color:#9adce9}.royal-theme .series-entry p,.royal-theme .cup-entry p,.royal-theme .lobby-collection p,.royal-theme .progress-card small{color:#abbfd8}.royal-theme .progress-card b,.royal-theme .collection-card b{color:#e6faff}.royal-theme .collection-card>span,.royal-theme .collection-card i{color:#9ce6ef}
.royal-theme .mode-card{background:linear-gradient(#506b94,#3b507d);border-color:#25395e;color:#e2f2ff;box-shadow:inset 0 2px #8eafcb77}.royal-theme .mode-card.selected{background:linear-gradient(#6574ad,#495b95);border-color:#82e4ec;box-shadow:inset 0 2px #b7def680,0 2px #13244566,0 0 12px #78dce91a}.royal-theme .mode-card b{color:#eef9ff}.royal-theme .mode-card small{color:#b9cce0}.royal-theme .mode-card>i{color:#8bebf3}.royal-theme .mode-symbol{background:linear-gradient(#9b79c5,#715695);border-color:#453b73;color:#f6d8ff;box-shadow:inset 0 2px #d2afe580;text-shadow:0 2px #59416e}.royal-theme .mode-card.selected .mode-symbol{background:linear-gradient(#65d3e6,#3d93bc);border-color:#286a90;color:#edffff}
.royal-theme .lobby-play #cpuStyleLabel{color:#b9cce0}.royal-theme #cpuStyle{background:#243655;border-color:#547298;color:#d3e6f4}.royal-theme .play-note{color:#a4c0d7}.royal-theme .loadout-card{background:linear-gradient(#4d5d86,#35466f);border-color:#23365a;box-shadow:inset 0 2px #7f96be77}.royal-theme .loadout-card small{color:#94dce8}.royal-theme .loadout-card b{color:#d8edff}.royal-theme .loadout-card button{color:#c0a3ee}
.royal-theme .lodge-shortcuts button{background:linear-gradient(#626aab,#424b80);border-color:#202c52;box-shadow:inset 0 3px #9fa6d577,0 5px #101c3c55;color:#eff1ff}.royal-theme .lodge-shortcuts button>span{color:#91f0ff;text-shadow:0 3px #2a5274,2px 0 #2a5274,-2px 0 #2a5274,0 0 14px #6dd6ef33}.royal-theme .lodge-shortcuts b{color:#e7f4ff}.royal-theme .lodge-shortcuts small{color:#adbedc}.royal-theme .journey-entry>button b{color:#c8efff}.royal-theme .journey-entry>button small{color:#a7c0d9}
.royal-theme .bottom-nav{background:linear-gradient(#3e4f79,#29375b);border-color:#15253e;box-shadow:inset 0 3px #748bb477,0 7px 0 #101b3c77,0 0 20px #4eb7d71c}.royal-theme .bottom-nav button{color:#b6c4de;text-shadow:0 2px #203153}.royal-theme .bottom-nav button>span{color:#bdc8f2}.royal-theme .bottom-nav button.active{background:linear-gradient(#73dce9,#429abc);border-color:#2b6d91;color:#143d61;box-shadow:inset 0 2px #b4ffff99;text-shadow:0 1px #c0faff}.royal-theme .bottom-nav button.active>span{color:#edffff;text-shadow:0 2px #3d7997}
/* Opening: original neon hall, bright toy-like models, no flashing effects. */
.royal-theme .brand-intro{background:#1b2c50;color:#e8faff}.royal-theme .intro-room{background:linear-gradient(90deg,#142744ed,#1e2b5a80 46%,#253b6211 85%),linear-gradient(0deg,#1d294cc7,transparent 45%),url('art/royal-lodge-v44.webp') 60% center/cover no-repeat}.royal-theme .intro-kicker{color:#a2eaff;text-shadow:0 2px #1b3453}.royal-theme .intro-copy h1{color:#edfbff;text-shadow:0 6px #18385f,3px 0 #18385f,-3px 0 #18385f,0 -2px #18385f,0 10px 22px #10274a88}.royal-theme .intro-copy h1 em{color:#9efaff}.royal-theme .intro-copy h1 strong{color:#f4d5ff;background:#694c8de6;border-color:#3c2e68;box-shadow:inset 0 2px #a37dbc88;text-shadow:0 2px #4b346b}.royal-theme .intro-copy p{color:#dce7ff;text-shadow:0 2px #263a60}.royal-theme .intro-caption,.royal-theme .intro-topline>span,.royal-theme .intro-footer{color:#acd9f0;text-shadow:0 2px #1d3257}.royal-theme .intro-skip{background:linear-gradient(#6d8ab3,#47658f);border-color:#233b63;color:#e4f5ff;box-shadow:inset 0 2px #a5c7df88}.royal-theme .intro-halo{border-color:#78dfee77;background:radial-gradient(ellipse,#a177d82b,transparent 65%);box-shadow:0 0 28px #6baddb11}.royal-theme .intro-trophy{color:#85edff}.royal-theme .intro-floor{background:radial-gradient(ellipse,#7776bc88,#263e64 75%);border-color:#81e5f2;box-shadow:0 10px #19345866}.royal-theme .intro-edition{color:#bdd1ef}
/* Every game panel and all form controls share the same dark raised casing. */
.royal-theme dialog:not(.brand-intro){background:linear-gradient(#3d527c,#293b61);border-color:#142641;color:#e0effb;box-shadow:inset 0 4px #8198c080,0 12px 0 #10203d66,0 24px 70px #080f2daa}.royal-theme dialog::backdrop{background:#0a1631c7}.royal-theme dialog h2{color:#e9fbff;text-shadow:0 2px #23375d}.royal-theme dialog h3{color:#b3ecfa}.royal-theme dialog p{color:#bacce0}.royal-theme dialog .eyebrow,.royal-theme dialog .section-kicker,.royal-theme dialog .mini-label{color:#96e5ee}.royal-theme dialog small{color:#a6bdd5}.royal-theme dialog .close{background:linear-gradient(#c780b5,#9a568f);border-color:#633d74;color:#ffe5fb;text-shadow:0 2px #804b80;box-shadow:inset 0 2px #f1b9dc77}
.royal-theme dialog input:not([type=range]):not([type=checkbox]),.royal-theme dialog select,.royal-theme dialog textarea{background:#1d3152;color:#e1f5ff;border-color:#6885a6;box-shadow:inset 0 2px 3px #10203d66}.royal-theme input::placeholder,.royal-theme textarea::placeholder{color:#8faac6}.royal-theme .profile-label{color:#a9c1db}
.royal-theme .shop-tabs button,.royal-theme .league-tabs button{background:linear-gradient(#6c7ca9,#4e6091);border-color:#293e69;color:#d9eaff;box-shadow:inset 0 2px #a9badb80}.royal-theme .shop-tabs button.active,.royal-theme .league-tabs button.selected{background:linear-gradient(#88dce8,#58a6c2);border-color:#326988;color:#174261;box-shadow:inset 0 2px #d0ffff99}
.royal-theme .shop-item{background:linear-gradient(#52618c,#3a4b76);border-color:#26395e;color:#d7e8f7;box-shadow:inset 0 2px #8b9bc477,0 3px 9px #12234444}.royal-theme .shop-item>b{color:#e5f6ff}.royal-theme .shop-item>small{color:#b5c9dc}.royal-theme .shop-item.equipped{border-color:#6ddde2;box-shadow:inset 0 0 0 3px #5fbbd333,0 3px 8px #42b3c622}.royal-theme .shop-item.equipped>button:disabled{background:#4996a4;color:#cffaff;border-color:#326a8a}.royal-theme .shop-item button:disabled{background:#687896;color:#b8c7dd;border-color:#405472}.royal-theme .inspect-preview{color:#b2dcf4}.royal-theme .shop-preview{background:radial-gradient(ellipse,#6c80ac,#35476d 75%)}.royal-theme .item-label{color:#b6edfa}
.royal-theme .showroom-feature,.royal-theme .inspect-compare,.royal-theme .backup-panel,.royal-theme .auto-training-card,.royal-theme .profile-level,.royal-theme .profile-career,.royal-theme .daily-card,.royal-theme .cup-bracket article,.royal-theme .team-card{background:linear-gradient(#4b6488,#344a70);border-color:#253b60;color:#b6d8ee;box-shadow:inset 0 2px #849fc477}.royal-theme .showroom-copy h3{color:#ceefff;text-shadow:0 2px #31476c}.royal-theme .showroom-copy small{color:#a3c4df}.royal-theme .showroom-stage{background:radial-gradient(ellipse,#4b638b,#222f50)}.royal-theme .showroom-stage>span{color:#92c5e5}.royal-theme .inspect-compare b{color:#cbf2ff}.royal-theme .inspect-compare>small{color:#9cbede}.royal-theme .compare-models img{background:#2d4265}
.royal-theme .card-stats>span,.royal-theme .mastery-mini,.royal-theme .shop-balance{background:#2a4369;color:#a4c5df;border-color:#52749b;box-shadow:inset 0 1px #7497b777}.royal-theme .card-stats b,.royal-theme .shop-balance b{color:#e3eaa0}.royal-theme .mastery-mini i{background:#70d6dd}.royal-theme .profile-level>span,.royal-theme .profile-level>b{color:#c6f4ff}.royal-theme .profile-stats b{color:#c6eeff}.royal-theme .profile-statline{color:#adc5dc}.royal-theme .avatar-option{background:#4b5b81;border-color:#293a5d;color:#bdcde1}.royal-theme .avatar-option.selected{border-color:#79d9e7;background:#4f7d98;box-shadow:inset 0 2px #9fdaef77}.royal-theme .avatar-option.locked{color:#8999b4}
.royal-theme .leader-list>li,.royal-theme .leaderboard-row{background:#435b7f;border-color:#283f62;color:#bdd4e9}.royal-theme .league-stats{color:#adc7e0}.royal-theme .league-stats b{color:#b3f4ff}.royal-theme .league-stats small{color:#a8c0d6}.royal-theme .matchmaking-card{background:linear-gradient(#425c85,#30476d);border-color:#294069}.royal-theme .cup-bracket article span{color:#a3dff2}.royal-theme .cup-bracket article b{color:#d0f4ff}.royal-theme .cup-bracket article small{color:#a3bfda}
/* Battle HUD: cyan scores, magenta selections, yellow-green power sweet spot. */
.royal-theme[data-screen=game] .arena{background:#26395a}.royal-theme[data-screen=game] .scoreboard{background:linear-gradient(#4c668d,#344a72);border-bottom-color:#1b3255;box-shadow:inset 0 3px #91b7d277,0 4px #11244055}.royal-theme .player small{color:#9fc6df}.royal-theme .player b{color:#d4ebff}.royal-theme .player.active{background:linear-gradient(100deg,#7cd4f029,transparent)}.royal-theme .player strong{color:#e7f7ff;text-shadow:0 3px #233c66,2px 0 #233c66,-2px 0 #233c66}.royal-theme .player.active strong{color:#99f6ff;text-shadow:0 3px #2b5579,2px 0 #2b5579,-2px 0 #2b5579}.royal-theme .round{background:linear-gradient(#7476aa,#505a89);border-color:#303b69;box-shadow:inset 0 2px #afaadd88}.royal-theme .round b{color:#e5e7ff;text-shadow:0 1px #384574}.royal-theme .round small{color:#bdbce3}.royal-theme #turnClock{color:#a4f4fa}
.royal-theme .stage-label{color:#bceaff;text-shadow:0 2px #263d64}.royal-theme .toast{background:linear-gradient(#516b8ff5,#384f78f5);color:#d9f3ff;border-color:#28436d;box-shadow:inset 0 2px #8daecd77}.royal-theme .camera-controls button,.royal-theme .aim-zoom{background:linear-gradient(#6b82acf5,#4b608df5);border-color:#2a416c;color:#e0f3ff;box-shadow:inset 0 2px #a8c2de88}.royal-theme .camera-controls button.selected{background:linear-gradient(#b58ec8,#855eaa);border-color:#59477d;color:#fce0ff}.royal-theme .round-result{background:linear-gradient(#4d638bf7,#32476ffb);border-color:#597cad;box-shadow:inset 0 3px #9ab4d377,0 10px 30px #0d1d3e99;color:#b9d3e8}.royal-theme .round-result>b{color:#9eeef6;text-shadow:0 2px #2f6189}.royal-theme .round-result>span{color:#a8cfed}.royal-theme .round-result>small{color:#adc6df}.royal-theme .match-analytics b{color:#9eecfa}.royal-theme .match-analytics span,.royal-theme .match-analytics>small{color:#a9c3db}.royal-theme .match-point{background:linear-gradient(#b68ec7,#8b62ac);border-color:#5b447d;color:#ffe4ff;box-shadow:inset 0 2px #e4bce977}
.royal-theme .tactics-panel,.royal-theme .tactics{background:linear-gradient(#3e547a,#30466d);border-color:#1d365a;color:#c8deef}.royal-theme .tactics-panel b{color:#c9f0ff}.royal-theme .tactics-panel span,.royal-theme .tactics-panel p,.royal-theme .tactics-panel small,.royal-theme .tactics>small{color:#a6c2dc}.royal-theme .controls{background:linear-gradient(#53688d,#3a5079);border-top-color:#233d63;box-shadow:inset 0 2px #90acce77}.royal-theme .turn b{color:#e9faff;text-shadow:0 2px #2c436d}.royal-theme .turn small{color:#b5cce3}.royal-theme .shot-options button{background:linear-gradient(#6579a1,#475e8a);border-color:#2b446e;color:#c8dff3;box-shadow:inset 0 2px #9db9d780}.royal-theme .shot-options button[aria-pressed=true]{background:linear-gradient(#b68ac8,#865da5);border-color:#5f477f;color:#ffe0ff;box-shadow:inset 0 2px #e3b4eb99}.royal-theme .track{background:#182c4c;border-color:#14213c;box-shadow:inset 0 2px #0a173055}.royal-theme .track i{background:linear-gradient(#e3ffa5,#a2d15e);box-shadow:inset 0 2px #f1ffd4}.royal-theme .track b{background:#a6f6ff;border-color:#377697;box-shadow:0 0 0 2px #77e2f433}.royal-theme .power>div>span{color:#c9e6f8}
@media(max-width:720px){.royal-theme .lodge-hero{background-position:59% center}.royal-theme .intro-room{background-position:65% center}.royal-theme .hero-copy h2 em{color:#a6faff}}
@media(prefers-reduced-motion:reduce){.royal-theme .lodge-light,.royal-theme .intro-light{animation:none!important}}

/* Arena edition: a compact mobile game home, with the match as the main action. */
.royal-theme{background-color:#164d8c;background-image:linear-gradient(45deg,#ffffff04 25%,transparent 25%,transparent 75%,#ffffff04 75%),linear-gradient(45deg,#071e4926 25%,transparent 25%,transparent 75%,#071e4926 75%),radial-gradient(ellipse at 50% 0,#438ed0,#174d8c 65%,#143a72);background-size:54px 54px,54px 54px,auto;background-position:0 0,27px 27px,0 0}
.royal-theme::before{background:linear-gradient(#1c5faedb,#163a74ee),url('art/royal-lodge-v44.webp') center/cover no-repeat}
.royal-theme header{background:linear-gradient(#447bb7,#2a5b99);border-bottom-color:#183a70;box-shadow:inset 0 3px #92c3e97a,0 3px 0 #09295866}.royal-theme .brand{color:#fff5ce}.royal-theme .brand b{color:#ffe38f}.royal-theme .header-actions button{background:linear-gradient(#628fbe,#3c6a9d);border-color:#264b7b;color:#f6eec9;box-shadow:inset 0 2px #b4d5e77a}
.royal-theme button.primary,.royal-theme .play-big,.royal-theme .intro-copy button{background:linear-gradient(#ffe991 0%,#ffd45c 47%,#efb130 51%,#f7bf46);border-color:#8b5a2a;border-bottom-color:#a26729;color:#654520;text-shadow:0 1px #fff6c9;box-shadow:inset 0 3px #fff7bd,0 4px 0 #0c2f6266,0 8px 16px #112e6355}
.royal-theme button.primary:disabled{background:linear-gradient(#8da7b8,#607d99);border-color:#3e5a7e;color:#d3e0e5;box-shadow:inset 0 2px #abc3d17a;text-shadow:none}.royal-theme .secondary{background:linear-gradient(#719ec5,#4c77a8);border-color:#2c5182;color:#f4f3df;box-shadow:inset 0 2px #b9d7e67a}.royal-theme .eyebrow,.royal-theme .mini-label{color:#ffe4a4}
.royal-theme #lobby{max-width:1120px}.royal-theme .lobby-heading{display:flex;align-items:center;gap:14px;margin-bottom:18px}.royal-theme .lobby-heading .avatar{order:0;flex:0 0 52px;width:52px;height:52px;border-color:#ffde87;box-shadow:0 0 0 3px #956b35,0 4px 0 #123c7766;rotate:-3deg}.royal-theme .royal-player{flex:1;min-width:0}.royal-theme .lobby-heading h1{font-size:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:3px 0 0;color:#fff5cf}.royal-theme .lobby-heading .mini-label{font-size:8px;color:#b9def4}.royal-theme .lobby-xp{margin-top:8px;min-width:0}.royal-theme .lobby-xp>b{color:#ffe5a6}.royal-theme .lobby-xp i,.royal-theme .xp-track i{background:linear-gradient(#b8ef7b,#73b84b);box-shadow:inset 0 1px #e4ffc3}.royal-theme .royal-arena-badge{flex:0 0 auto;min-width:74px;text-align:center;background:linear-gradient(#76a1cb,#3c6f9e);border:2px solid #2c5584;border-bottom-width:4px;border-radius:12px;padding:7px 9px;box-shadow:inset 0 2px #c4ddec99}.royal-theme .royal-arena-badge small{display:block;font-size:7px;letter-spacing:.12em;color:#d9eaf4;font-weight:900}.royal-theme .royal-arena-badge b{font-family:'Barlow Condensed',Impact,sans-serif;font-size:20px;color:#ffe49b;text-shadow:0 2px #355580}
.royal-theme .lobby-grid{grid-template-columns:1.1fr 1fr;gap:18px}.royal-theme .lodge-hero{min-height:450px;background-image:linear-gradient(90deg,#123e7299,transparent 70%),linear-gradient(0deg,#153c76a6,transparent 48%),url('art/royal-lodge-v44.webp');border-color:#87632f;box-shadow:inset 0 0 0 4px #ffe29a66,0 7px 0 #0b2c5c66}.royal-theme .lodge-hero:before{border-color:#ffe1a27a}.royal-theme .hero-copy{padding:24px;max-width:100%}.royal-theme .hero-copy h2{font-size:51px;line-height:.95;margin:24px 0 14px}.royal-theme .hero-copy h2 em{color:#ffe18a;text-shadow:0 4px #6d4a2b,2px 0 #6d4a2b,-2px 0 #6d4a2b}.royal-theme .hero-copy p{font-size:12px;color:#e8f3ed}.royal-theme .hero-caption{color:#fff0b8}.royal-theme .season-tag{background:linear-gradient(#5b89b4,#376995);border-color:#264e7e;color:#ffedb0;box-shadow:inset 0 2px #a5c9df66,0 3px #143d7266}.royal-theme .season-tag i{background:#a6df72;box-shadow:none}.royal-theme .intro-replay{background:#214d7dd9;border-color:#173964;color:#fff0bc}
.royal-theme .lobby-play,.royal-theme .lobby-collection,.royal-theme .series-entry,.royal-theme .cup-entry,.royal-theme .progress-card,.royal-theme .collection-card,.royal-theme .journey-entry>button{background:linear-gradient(#4c7db4,#315f99);border-color:#1b4279;box-shadow:inset 0 3px #9fc2df7a,0 6px 0 #10316855}.royal-theme .lobby-play .section-title h3,.royal-theme .lobby-collection h3,.royal-theme .series-entry h3,.royal-theme .cup-entry h3{color:#fff3ce}.royal-theme .lobby-play .section-title>span,.royal-theme .lobby-collection .section-title>span{color:#ffe2a0}
.royal-theme .mode-card{background:linear-gradient(#658eb8,#426e9e);border-color:#2a5182;box-shadow:inset 0 2px #a9ccdf7a}.royal-theme .mode-card.selected{background:linear-gradient(#7199b9,#4a769b);border-color:#ffd778;box-shadow:inset 0 2px #e4e2b48c,0 3px #17447755}.royal-theme .mode-card.selected .mode-symbol{background:linear-gradient(#eac56d,#b38a3e);border-color:#8d6730;color:#fff4c8}.royal-theme .mode-symbol{background:linear-gradient(#8faecb,#5b83aa);border-color:#385f8b;color:#fff3c7;text-shadow:0 2px #476487}.royal-theme .mode-card b{color:#fff6dc}.royal-theme .mode-card>i{color:#ffdfa0}.royal-theme .play-big{font-family:'Barlow Condensed',Impact,sans-serif;font-size:27px;font-weight:800;min-height:68px;letter-spacing:.06em}.royal-theme .play-big>b{font-size:27px}.royal-theme .loadout-card{background:linear-gradient(#416d9d,#2b5687);border-color:#224773;box-shadow:inset 0 2px #81a9c577}.royal-theme .loadout-card small{color:#ffe3a5}.royal-theme .loadout-card button{color:#d1e3b1}
.royal-theme .royal-install-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 4px 3px;color:#b7d6e7;font-size:11px}.royal-theme .royal-install-row button{min-height:42px;padding:9px 16px;font-size:10px;letter-spacing:.04em}.royal-theme .lobby-collection{margin-top:15px;padding:18px}.royal-theme .lobby-display{display:grid;grid-template-columns:1fr 1fr;gap:12px}.royal-theme .lobby-display article{background:linear-gradient(#91b8d0,#648fae);border:2px solid #345f8d;border-bottom-width:5px;border-radius:14px;box-shadow:inset 0 2px #d3e5e9a6;min-width:0;overflow:hidden}.royal-theme .lobby-display img{height:120px;max-width:100%;object-fit:contain;filter:drop-shadow(0 4px 3px #173a5c55)}.royal-theme .lobby-display article>span{display:block;padding:5px 8px 10px;color:#fdf4d9;font-weight:800;font-size:11px;text-align:center;text-shadow:0 2px #46658b}.royal-theme #lobbyEvolution{color:#bfdaea;font-size:10px;margin-bottom:0}
.royal-theme .lodge-shortcuts button{background:linear-gradient(#7295bd,#4d74a0);border-color:#2a5081;box-shadow:inset 0 3px #abc8df8c,0 5px #12386e55}.royal-theme .lodge-shortcuts button>span{color:#ffe398;text-shadow:0 3px #745934,2px 0 #745934,-2px 0 #745934}.royal-theme .lodge-shortcuts b{color:#fff0c8}.royal-theme .bottom-nav{background:linear-gradient(#466c9c,#2a507f);border-color:#153462;box-shadow:inset 0 3px #87accc77,0 7px 0 #08295877}.royal-theme .bottom-nav button.active{background:linear-gradient(#ffe297,#dfae4f);border-color:#9d7138;color:#63451e;box-shadow:inset 0 2px #fff4c4;text-shadow:0 1px #fff0b9}.royal-theme .bottom-nav button.active>span{color:#fff7d9;text-shadow:0 2px #9d783e}
.royal-theme .brand-intro{background:#24558d}.royal-theme .intro-room{background:linear-gradient(90deg,#153d73e6,#24518f80 46%,#386a9011 85%),linear-gradient(0deg,#193e76b3,transparent 45%),url('art/royal-lodge-v44.webp') 60% center/cover no-repeat}.royal-theme .intro-kicker{color:#ffe5a7}.royal-theme .intro-copy h1{color:#fff6da}.royal-theme .intro-copy h1 em{color:#ffdf76}.royal-theme .intro-copy h1 strong{background:linear-gradient(#cba15c,#9a7135);border-color:#765226;color:#fff0b9;box-shadow:inset 0 2px #f5d89b;text-shadow:0 2px #87602e}.royal-theme .intro-halo{border-color:#ffe2a080}.royal-theme .intro-trophy{color:#ffe695}.royal-theme .intro-floor{border-color:#ebcb7c;background:radial-gradient(ellipse,#b69a5680,#2c5c8b 75%)}.royal-theme .intro-edition{color:#fff0bd}
.royal-theme .shop-tabs button.active,.royal-theme .league-tabs button.selected,.royal-theme .camera-controls button.selected,.royal-theme .shot-options button[aria-pressed=true]{background:linear-gradient(#e8ca80,#b39754);border-color:#8a713d;color:#fff8d2;box-shadow:inset 0 2px #fff0bb;text-shadow:0 1px #8b713d}.royal-theme dialog .eyebrow,.royal-theme dialog .section-kicker,.royal-theme dialog .mini-label{color:#ffe3a3}.royal-theme .shop-item.equipped{border-color:#f0cf78;box-shadow:inset 0 0 0 3px #e9c56533,0 3px 8px #183e7855}.royal-theme .shop-item.equipped>button:disabled{background:#7aa271;border-color:#527e4b;color:#ecffd6}.royal-theme .item-label{color:#ffe9ad}.royal-theme .avatar-option.selected{border-color:#f0d180;background:#6686a7;box-shadow:inset 0 2px #d7e0c57a}.royal-theme .round{background:linear-gradient(#c6aa72,#9a7d49);border-color:#6e562f;box-shadow:inset 0 2px #f1dba1}.royal-theme .round b{color:#fff1c2}.royal-theme .round small{color:#f1dfaf}.royal-theme .player.active strong{color:#ffe697}.royal-theme .match-point{background:linear-gradient(#e1bc69,#b59043);border-color:#8b6e30;color:#fff6c8;box-shadow:inset 0 2px #fff0ba}
@media(max-width:720px){.royal-theme #lobby{padding:14px 14px calc(106px + env(safe-area-inset-bottom))}.royal-theme .lobby-heading{gap:11px;margin-bottom:13px}.royal-theme .lobby-heading .avatar{flex-basis:43px;width:43px;height:43px}.royal-theme .lobby-heading h1{font-size:27px;line-height:1.06;max-width:210px}.royal-theme .royal-arena-badge{min-width:62px;padding:5px 7px}.royal-theme .royal-arena-badge b{font-size:17px}.royal-theme .lobby-xp{gap:6px;margin-top:5px}.royal-theme .lobby-xp>span{font-size:7px}.royal-theme .lobby-xp>div{width:63px}.royal-theme .lobby-xp>b{font-size:7px}.royal-theme .lobby-grid{display:flex;flex-direction:column;gap:0}.royal-theme .lodge-hero{min-height:245px;height:245px;border-radius:18px;background-position:center 65%}.royal-theme .hero-copy{padding:17px 18px}.royal-theme .hero-copy h2{font-size:34px;margin:14px 0 0;line-height:.95}.royal-theme .hero-copy p{display:none}.royal-theme .hero-copy .intro-replay{font-size:8px;padding:7px 10px;margin-bottom:7px}.royal-theme .season-tag{font-size:6px;padding:6px 8px}.royal-theme .hero-caption{left:19px;right:19px;bottom:17px;font-size:6px}.royal-theme .lobby-play{padding:12px;margin-top:13px;border-radius:16px}.royal-theme .lobby-play>.section-title{display:none}.royal-theme .mode-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.royal-theme .mode-card{min-height:70px;padding:8px 3px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border-width:2px;border-bottom-width:4px;border-radius:11px;min-width:0;text-align:center}.royal-theme .mode-card>span:not(.mode-symbol){min-width:0}.royal-theme .mode-card b{display:block;font-size:10px;white-space:normal;line-height:1.15}.royal-theme .mode-card small,.royal-theme .mode-card>i{display:none}.royal-theme .mode-symbol{width:31px;height:29px;font-size:21px;border-radius:8px;border-bottom-width:3px}.royal-theme .lobby-play #cpuStyleLabel{margin:8px 0 0;gap:8px;font-size:9px}.royal-theme #cpuStyle{min-height:33px;height:33px;padding:4px 8px;font-size:10px}.royal-theme .play-big{min-height:61px;font-size:26px;margin-top:9px;padding:12px 20px}.royal-theme .play-note{margin:6px 0 0;font-size:8px}.royal-theme .loadout-card{height:56px;margin-top:9px;border-radius:10px}.royal-theme .loadout-card img{height:56px;width:47px}.royal-theme .loadout-card small{font-size:6px}.royal-theme .loadout-card b{font-size:10px}.royal-theme .loadout-card button{font-size:9px}.royal-theme .royal-install-row{padding-top:13px;font-size:9px}.royal-theme .royal-install-row button{font-size:9px;min-height:40px;padding:8px 12px}.royal-theme .lobby-collection{margin-top:12px;padding:13px}.royal-theme .lobby-collection .section-title{margin-bottom:9px}.royal-theme .lobby-collection .section-title h3{font-size:23px}.royal-theme .lobby-collection .section-title>span{font-size:6px}.royal-theme .lobby-display{gap:9px}.royal-theme .lobby-display img{height:91px}.royal-theme .lobby-display article>span{font-size:10px;padding-bottom:8px}.royal-theme #lobbyEvolution{font-size:9px;margin-top:8px}.royal-theme .series-entry,.royal-theme .cup-entry{padding:15px;margin-top:13px}.royal-theme .series-entry h3,.royal-theme .cup-entry h3{font-size:24px}.royal-theme .lodge-shortcuts{gap:8px}.royal-theme .lodge-shortcuts button{padding:12px 6px;border-radius:12px}.royal-theme .lodge-shortcuts b{font-size:10px}.royal-theme .lodge-shortcuts small{font-size:8px}.royal-theme .bottom-nav{width:calc(100% - 20px);max-width:470px;border-radius:16px}.royal-theme .bottom-nav button{min-height:50px;font-size:9px}.royal-theme .bottom-nav button>span{font-size:23px}.royal-theme .intro-room{background-position:65% center}}
@media(max-width:360px){.royal-theme .lobby-heading h1{font-size:24px;max-width:165px}.royal-theme .lobby-xp>span{display:none}.royal-theme .lodge-hero{height:220px;min-height:220px}.royal-theme .hero-copy h2{font-size:31px}.royal-theme .mode-card b{font-size:9px}}

.royal-theme .shop-item .item-label{display:inline-flex;align-items:center;background:linear-gradient(#e2bf72,#bb944b);border:1px solid #8f6c35;border-bottom-width:3px;border-radius:6px;color:#fff5ce;padding:5px 8px;font-size:7px;box-shadow:inset 0 1px #ffedb3;text-shadow:0 1px #8e6b35}.royal-theme .shop-item.equipped .item-label{background:linear-gradient(#a1cb78,#76a451);border-color:#5b833f;color:#f2ffd9}.royal-theme .mastery-mini{border:1px solid #6085a4;border-bottom-width:2px;border-radius:6px}.royal-theme .mastery-mini i{background:linear-gradient(#c5ed83,#8ac04c)}
@media(max-width:720px){.royal-theme .shop-item .shop-preview{height:165px}.royal-theme .shop-item.table-item .shop-preview{height:auto;aspect-ratio:384/260}}

/* Full viewport arena: the table continues behind a compact, floating HUD. */
body.royal-theme[data-screen=game]{height:100vh;height:100dvh;min-height:0;overflow:hidden}
.royal-theme[data-screen=game] header{display:none}
.royal-theme[data-screen=game] #gameScreen{height:100%;min-height:0;padding:0;flex:1}
.royal-theme[data-screen=game] .layout{height:100%;margin:0;padding:0}
.royal-theme[data-screen=game] .arena{position:relative;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;height:100%;min-height:0;overflow:hidden;border:0;border-radius:0;padding:0}
.royal-theme[data-screen=game] .stage{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;z-index:0;border:0;border-radius:0;box-shadow:none}
.royal-theme[data-screen=game] .scoreboard{grid-row:1;z-index:3;margin:calc(8px + env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left));padding:7px 12px;min-height:66px;border:2px solid #173d70;border-bottom-width:4px;border-radius:16px;background:linear-gradient(#527fafed,#2d548de8)}
.royal-theme[data-screen=game] .tactics-panel{grid-row:3;z-index:3;margin:0 12px 4px;padding:6px 10px;border-radius:12px;background:#244975e8;min-height:0}
.royal-theme[data-screen=game] .provisional-note{display:block;font-size:7px;letter-spacing:.08em;color:#ffe0a0;margin-bottom:3px}
.royal-theme[data-screen=game] .tactics-panel p{display:none}
.royal-theme[data-screen=game] .tactics-panel div{display:flex;justify-content:space-between;gap:8px}
.royal-theme[data-screen=game] .tactics-panel b{font-size:12px}
.royal-theme[data-screen=game] .tactics-panel span,.royal-theme[data-screen=game] #tacticsAim{font-size:9px}
.royal-theme[data-screen=game] .tactics{grid-row:4;z-index:3;margin:0 12px;padding:5px 8px;border-radius:12px 12px 0 0;background:#2e5689ed}
.royal-theme[data-screen=game] .shot-options{display:flex;gap:6px}
.royal-theme[data-screen=game] .shot-options button{flex:1;min-height:40px;padding:6px;font-size:11px;border-radius:10px;border-bottom-width:4px}
.royal-theme[data-screen=game] #shotDescription{display:block;font-size:9px;margin:4px 0 0;text-align:center}
.royal-theme[data-screen=game] .controls{position:relative;grid-row:5;z-index:3;right:auto;bottom:auto;width:auto;display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:7px 12px;margin:0 12px;padding:8px 10px max(9px,env(safe-area-inset-bottom));border-radius:0;background:linear-gradient(#406ba0f0,#24477beb)}
.royal-theme[data-screen=game] .controls>.primary{grid-column:1/-1;min-height:52px;padding:12px;font-size:13px;border:2px solid #8b5a2a;border-bottom-width:5px;border-radius:13px}
.royal-theme[data-screen=game] .mobile-actions{display:none}
.royal-theme[data-screen=game] .stage-label{display:none}
.table-toolbar{position:absolute;top:calc(88px + env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));display:flex;justify-content:space-between;z-index:4;pointer-events:none}
.table-toolbar button{pointer-events:auto;min-width:44px;min-height:44px;padding:8px 12px;background:linear-gradient(#7098c5f5,#3e679bf5);color:#fff1c6;border:2px solid #204775;border-bottom-width:4px;border-radius:12px;font-weight:900;box-shadow:inset 0 2px #bdd9ed99}
#tableFullscreen{font-size:23px;padding:4px 10px}
.royal-theme[data-screen=game] .camera-controls{top:calc(142px + env(safe-area-inset-top));right:12px;left:auto;flex-direction:column;gap:4px}
.royal-theme[data-screen=game] .camera-controls button{min-height:40px;padding:6px 8px;font-size:9px}
.royal-theme[data-screen=game] .aim-zoom{top:calc(142px + env(safe-area-inset-top));left:12px;bottom:auto;min-height:44px}
.royal-theme[data-screen=game] .toast{top:calc(91px + env(safe-area-inset-top));bottom:auto;max-width:52%;padding:5px 8px;font-size:9px}
.shot-burst{position:absolute;z-index:5;pointer-events:none;transform:translate(-50%,-50%);font:900 clamp(32px,7vw,60px)/1 'Barlow Condensed',Impact,sans-serif;color:#ffe88c;-webkit-text-stroke:1px #6d4327;text-shadow:0 4px #733e2e,0 7px 0 #183c7580;animation:table-pop .8s both}
.shot-burst[data-kind=miss]{color:#ffbcb9}.shot-burst[data-kind=center]{color:#baffbc}
.royal-theme[data-screen=game] #throw.timing-perfect{background:linear-gradient(#e6ffb8,#91da67);border-color:#497e38;box-shadow:inset 0 3px #f3ffdc,0 0 18px #b5f17c80}
@keyframes table-pop{0%{opacity:0;scale:.6}18%{opacity:1;scale:1.15}35%{scale:1}80%{opacity:1}100%{opacity:0;translate:0 -24px}}
@media(max-height:520px) and (min-width:600px){.royal-theme[data-screen=game] .arena{grid-template-columns:minmax(0,1fr) 228px;grid-template-rows:auto minmax(0,1fr) auto auto auto}.royal-theme[data-screen=game] .scoreboard{grid-column:1/-1;min-height:50px;padding:3px 12px}.royal-theme[data-screen=game] .tactics-panel,.royal-theme[data-screen=game] .tactics,.royal-theme[data-screen=game] .controls{grid-column:2;margin-left:0;margin-right:10px}.royal-theme[data-screen=game] .controls{grid-template-columns:1fr;gap:5px}.royal-theme[data-screen=game] .controls .turn small,.royal-theme[data-screen=game] #shotDescription,.royal-theme[data-screen=game] #tacticsAim{display:none}.royal-theme[data-screen=game] .power{grid-row:auto}.royal-theme[data-screen=game] .table-toolbar{top:68px}.royal-theme[data-screen=game] .camera-controls{top:120px;right:auto;left:12px;flex-direction:row}.royal-theme[data-screen=game] .aim-zoom{top:170px}.royal-theme[data-screen=game] .toast{top:74px;left:42%;max-width:35%}}
@media(prefers-reduced-motion:reduce){.shot-burst{animation:none!important}}

@media(max-width:600px){body.royal-theme.left-handed[data-screen=game] .controls{grid-template-columns:125px minmax(0,1fr)}body.royal-theme.left-handed[data-screen=game] .controls #throw,body.royal-theme.left-handed[data-screen=game] .controls #next{grid-column:1;grid-row:1 / span 2}body.royal-theme.left-handed[data-screen=game] .controls .turn,body.royal-theme.left-handed[data-screen=game] .controls .power{grid-column:2}}
