:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f7edcf;font-synthesis:none;--ink:#101812;--panel:#162319eb;--panel-deep:#0c140ef5;--parchment:#e8d7a8;--gold:#e9b84a;--gold-bright:#ffd96a;--green:#74a45f;--red:#bd5548;--line:#ecd18d33;background:#17281d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}.language-selector{inset-inline-start:max(18px, env(safe-area-inset-left));bottom:max(18px, env(safe-area-inset-bottom));z-index:45;font-family:Inter,system-ui,sans-serif;position:absolute}.language-selector>button{color:#f5e8c8;cursor:pointer;background:#0c140ff2;border:1px solid #dbb24f99;border-radius:12px;align-items:center;gap:9px;min-width:156px;min-height:44px;padding:8px 11px;font:750 12px/1 system-ui,sans-serif;display:flex;box-shadow:0 12px 34px #00000059}.language-selector>button>span:first-child{font-size:22px}.language-selector>button>span:nth-child(2){text-align:start;flex:1}.language-selector>button i{color:#caa64f;font-style:normal}.language-selector-menu{inset-inline-start:0;background:#080f0bfb;border:1px solid #dbb24f7a;border-radius:13px;width:min(260px,100vw - 36px);max-height:min(430px,62vh);padding:6px;position:absolute;bottom:calc(100% + 8px);overflow:auto;box-shadow:0 20px 56px #00000085}.language-selector-menu[hidden]{display:none}.language-selector-menu button{color:#d9e2d6;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:10px 9px;display:grid}.language-selector-menu button:hover,.language-selector-menu button:focus-visible,.language-selector-menu button[aria-selected=true]{color:#fff1c9;background:#d0a64529;outline:none}.language-selector-menu button span:first-child{font-size:21px}.language-selector-menu button em{color:#d9b85d;font-style:normal}.options-muted-heading{color:#eaddbd;letter-spacing:.06em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 9px;font-size:12px;display:flex}.options-muted-heading button{color:#ead9ae;cursor:pointer;background:#00000029;border:1px solid #d2ac536b;border-radius:8px;padding:7px 10px;font:800 10px/1 system-ui,sans-serif}.options-muted-players{background:#0000001c;border:1px solid #ffffff0e;border-radius:10px;max-height:178px;padding:9px;overflow:auto}html.realmfall-reduced-motion *,html.realmfall-reduced-motion :before,html.realmfall-reduced-motion :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}html.realmfall-high-contrast{--panel-text:#fff8e7;filter:contrast(1.08)}@media (max-width:760px){.language-selector{inset-inline-start:max(10px, env(safe-area-inset-left));bottom:max(10px, env(safe-area-inset-bottom))}.language-selector>button{min-width:48px}.language-selector>button>span:nth-child(2){display:none}}*{box-sizing:border-box}.lobby[hidden],.hud[hidden],.context-panel[hidden],.clan-panel[hidden],.context-actions[hidden],.context-health[hidden],.context-stats[hidden],.mine-actions[hidden],.barracks-panel[hidden],.context-actions button[hidden],.death-screen[hidden],.watchtower-exit[hidden]{display:none}html,body,#app,#game-root{width:100%;height:100%;margin:0;overflow:hidden}body{-webkit-user-select:none;user-select:none;overscroll-behavior:none;background:#17281d}button,input{font:inherit}button{color:inherit}#game-root canvas{cursor:crosshair;width:100%;height:100%;display:block}.eyebrow{color:#c8a957;letter-spacing:.2em;margin:0;font-size:10px;font-weight:900}.lobby{z-index:30;padding:max(22px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));background:linear-gradient(#101f1726,#09110ce6),radial-gradient(circle at 50% 18%,#657f58 0,#38513b 42%,#17271c 100%);place-items:center;transition:opacity .42s,transform .42s;display:grid;position:fixed;inset:0;overflow:auto}.lobby.leaving{opacity:0;pointer-events:none;transform:scale(1.025)}.lobby-landscape,.lobby-landscape:before,.lobby-landscape:after{pointer-events:none;position:absolute;inset:0}.lobby-landscape{opacity:.82;overflow:hidden}.lobby-landscape:before{content:"";background:radial-gradient(at 18% 82%,#08120b9e 0 7%,#0000 7.4%),radial-gradient(at 80% 86%,#08120b99 0 9%,#0000 9.4%),repeating-linear-gradient(115deg,#0000 0 94px,#e4cf8e06 95px 96px)}.lobby-landscape:after{content:"";background:linear-gradient(90deg,#0a140db8,#0000 25% 75%,#0a140db8)}.sun{background:#efc7631a;border-radius:50%;width:250px;height:250px;position:absolute;top:8vh;left:50%;transform:translate(-50%);box-shadow:0 0 130px #efc76324}.hill{filter:drop-shadow(0 -8px 30px #08100a4d);background:#263d2b;border-radius:52% 52% 0 0;width:74vw;height:55vh;position:absolute;bottom:-22vh}.hill-one{left:-22vw;transform:rotate(5deg)}.hill-two{background:#203524;bottom:-28vh;right:-26vw;transform:rotate(-7deg)}.castle{opacity:.28;background:#0c1810;width:70px;height:82px;position:absolute;bottom:17vh;box-shadow:28px 17px #0c1810,-28px 23px #0c1810}.castle:before{content:"";background:repeating-linear-gradient(90deg,#0c1810 0 12px,#0000 12px 19px);height:14px;position:absolute;inset:-12px 0 auto}.castle-left{left:8vw}.castle-right{right:8vw;transform:scale(.78)}.lobby-shell{z-index:2;grid-template-columns:minmax(340px,455px) minmax(300px,390px);align-items:stretch;gap:18px;width:min(900px,100%);display:grid;position:relative}.lobby-card,.upgrade-panel{background:linear-gradient(145deg, #233325f5, #0e1a12f7), var(--panel-deep);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid #e8cc8438;box-shadow:0 32px 90px #03080594,inset 0 1px #ffeebd0f}.lobby-card{text-align:center;border-radius:4px 4px 24px 24px;padding:34px 36px 27px;position:relative}.lobby-card:before,.upgrade-panel:before{content:"";pointer-events:none;border:1px solid #e8cc8414;position:absolute;inset:7px}.brand-mark{width:52px;height:52px;color:var(--gold-bright);background:#1b3121;border:1px solid #ebc7665c;border-radius:50% 50% 45% 45%;place-items:center;margin:-2px auto 12px;font-size:26px;display:grid;box-shadow:0 0 0 5px #e7b8480a}h1{color:#f5e8c5;letter-spacing:-.065em;white-space:nowrap;text-shadow:0 4px #17251a;margin:7px 0 4px;font-family:Georgia,Times New Roman,serif;font-size:clamp(34px,7vw,58px);line-height:.96}h1 span{color:var(--gold);letter-spacing:.05em;font-size:.48em}.tagline{color:#aab5a2;margin:9px 0 26px;font-family:Georgia,Times New Roman,serif;font-size:14px;font-style:italic}.field-label,.banner-picker legend{color:#b9a874;letter-spacing:.16em;font-size:9px;font-weight:900}.name-field{background:#060e0985;border:1px solid #dbc58930;align-items:center;height:52px;margin:8px 0 18px;display:flex}.name-field>span{color:#8a9c7e;width:48px}#player-name{color:#fff4d7;-webkit-user-select:text;user-select:text;background:0 0;border:0;border-left:1px solid #dbc5891f;outline:none;flex:1;min-width:0;height:100%;padding:0 14px;font-weight:750}.name-field:focus-within{border-color:#efc454a6;box-shadow:0 0 0 3px #efc45412}.banner-picker{border:0;justify-content:center;gap:12px;margin:0 0 20px;padding:0;display:flex}.banner-picker legend{width:100%;margin-bottom:9px}.banner{background:var(--banner);clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);cursor:pointer;filter:drop-shadow(0 4px 4px #00000047);border:2px solid #080e0abf;width:33px;height:40px;transition:transform .17s,filter .17s}.banner:first-of-type{--banner:#65716d}.banner:nth-of-type(2){--banner:#497c50}.banner:nth-of-type(3){--banner:#9b4b43}.banner:nth-of-type(4){--banner:#695284}.banner:hover,.banner.active{filter:brightness(1.25)drop-shadow(0 5px 5px #00000057);transform:translateY(-3px)}.play-button,#play-again{color:#1d281a;cursor:pointer;background:linear-gradient(#dcae42,#a97524);border:1px solid #f1cc65;align-items:center;width:100%;transition:transform .16s,filter .16s;display:flex;box-shadow:inset 0 1px #ffe994,0 8px 24px #00000052}.play-button{height:62px;padding:0 17px}.play-button:hover:not(:disabled),#play-again:hover{filter:brightness(1.08);transform:translateY(-2px)}.play-button:disabled{cursor:progress;filter:grayscale(.7)}.button-rune{width:36px;font-size:22px}.play-button>span:nth-child(2){text-align:left;flex:1;display:grid}.play-button b{letter-spacing:.12em;font-size:13px}.play-button small{color:#1b2818b3;margin-top:2px;font-size:9px;font-weight:700}.play-arrow{font:31px Georgia,serif}.connection-status{color:#81917e;min-height:17px;margin:11px 0 0;font-size:10px}.connection-status.error{color:#e68172}.controls-hint{color:#718170;flex-wrap:wrap;justify-content:center;gap:13px;margin-top:18px;font-size:9px;display:flex}kbd{color:#e7d29b;font:inherit;background:#050b07a3;border:1px solid #e8d49b38;border-radius:3px;padding:2px 5px;font-weight:900}.upgrade-panel{border-radius:4px 4px 20px 20px;padding:29px 27px 23px;position:relative}.upgrade-panel header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.upgrade-panel h2,.death-card h2{color:#f1e2b8;letter-spacing:.02em;margin:4px 0 0;font:700 23px Georgia,Times New Roman,serif}.legacy-coins{border:1px solid var(--line);color:var(--gold-bright);background:#060e0980;align-items:center;gap:6px;padding:7px 10px;display:flex}.upgrade-copy{color:#8e9a89;margin:13px 0 18px;font-size:11px;line-height:1.55}.upgrade-list{gap:8px;display:grid}.upgrade-list button{text-align:left;cursor:pointer;background:#08110b7a;border:1px solid #e2cc911f;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;width:100%;min-height:57px;padding:8px 10px;display:grid}.upgrade-list button:hover{background:#293824bf;border-color:#e9b84a73}.upgrade-list button:disabled{opacity:.42;cursor:not-allowed}.upgrade-icon{width:34px;height:34px;color:var(--gold);background:#263c29;border-radius:50%;place-items:center;display:grid}.upgrade-list button>span:nth-child(2){display:grid}.upgrade-list b{color:#e6dcbe;font-size:11px}.upgrade-list small{color:#758374;margin-top:3px;font-size:9px}.upgrade-list em{color:#b8a36b;font-size:10px;font-style:normal;font-weight:800}.draft-note{color:#657264;text-align:center;margin:15px 0 0;font-size:8px}.hud{z-index:12;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));pointer-events:none;position:fixed;inset:0}.minimap-frame{pointer-events:none;background:#0a140d80;border:2px solid #eec35b9e;border-radius:12px;width:176px;height:176px;position:absolute;bottom:14px;left:14px;box-shadow:inset 0 0 0 4px #0c160fc2,inset 0 1px #ffeeb729,0 10px 28px #00000061}.minimap-frame span{color:#ffefbfc7;letter-spacing:.12em;text-shadow:0 1px 2px #172016;font-size:9px;font-weight:900;position:absolute;top:5px;left:7px}.resource-strip{top:max(12px, env(safe-area-inset-top));left:max(12px, env(safe-area-inset-left));background:linear-gradient(#384b33f5,#122317f5),#142618f2;border:1px solid #e7c26561;border-radius:12px;min-height:60px;display:flex;position:absolute;overflow:hidden;box-shadow:inset 0 1px #ffeeb721,inset 0 -3px #050c073d,0 9px 26px #050b0757}.boost-strip{top:calc(max(12px, env(safe-area-inset-top)) + 68px);left:max(12px, env(safe-area-inset-left));gap:6px;display:flex;position:absolute}.boost-strip[hidden]{display:none}.boost-pill{color:#f6e9bd;letter-spacing:.04em;background:#131f15e6;border:1px solid #ebd89d66;border-radius:8px;align-items:center;gap:6px;min-height:27px;padding:4px 9px;font-size:9px;display:flex;box-shadow:0 5px 14px #0309054d}.boost-pill time{color:#f6e9bdb8;text-align:right;min-width:28px}.boost-speed span{color:#7bd5f2}.boost-xp span{color:#b896ff}.boost-gold span{color:#f2c254}.watchtower-exit{z-index:12;top:calc(max(12px, env(safe-area-inset-top)) + 66px);color:#ffe5d8;letter-spacing:.08em;cursor:pointer;pointer-events:auto;background:linear-gradient(#90382df7,#5b231efa);border:1px solid #ff9780b3;border-radius:7px;align-items:center;gap:8px;min-height:39px;padding:7px 14px;font-size:10px;font-weight:900;display:flex;position:absolute;left:50%;transform:translate(-50%);box-shadow:inset 0 1px #ffe8d724,0 8px 22px #1e070559}.pause-toggle{z-index:965;color:#f3df9d;cursor:pointer;pointer-events:auto;background:#0c1810e6;border:1px solid #d6b55ba6;border-radius:10px;width:42px;height:38px;font:900 17px/1 system-ui,sans-serif;position:fixed;top:16px;left:50%;transform:translate(-50%);box-shadow:0 7px 22px #0000004d}.pause-toggle:hover{background:#1c3120f5}.pause-modal{z-index:1200;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);pointer-events:auto;background:#040906a8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.pause-modal[hidden]{display:none}.pause-card{color:#f4e8c8;text-align:center;background:linear-gradient(155deg,#1b3021,#0c1810 78%);border:1px solid #796b3d;border-radius:16px;width:min(390px,100vw - 36px);padding:28px;box-shadow:0 28px 80px #0000008c}.pause-crest{color:#e3b94d;font-size:36px}.pause-card p{color:#ba9a4f;letter-spacing:.18em;margin:8px 0 2px;font:800 11px/1.2 system-ui,sans-serif}.pause-card h2{margin:8px 0;font-size:27px}.pause-card small{color:#aebbad;margin:0 0 22px;font:13px/1.5 system-ui,sans-serif;display:block}.pause-card button{color:#f7eac8;cursor:pointer;background:#2c5234;border:1px solid #61734f;border-radius:9px;width:100%;margin-top:9px;padding:13px 16px;font-weight:900}.pause-card button.danger{background:#5a302c;border-color:#82524a}.pause-card button:disabled{opacity:.55;cursor:wait}.watchtower-exit:hover{filter:brightness(1.1);border-color:#ffc0a6}.watchtower-exit span{font-size:17px}.resource{border-right:1px solid #e6d49d1c;grid-template-rows:16px 21px;grid-template-columns:auto auto;align-items:center;column-gap:6px;min-width:108px;padding:10px 15px 9px 44px;display:grid;position:relative}.resource:last-child{border:0}.resource-icon{color:var(--gold-bright);filter:drop-shadow(0 2px 2px #0006);font-size:17px;position:absolute;top:19px;left:14px}.army-icon{color:#c9d9c4}.mining-icon{color:#d4c1a0}.resource small{color:#8fa08c;letter-spacing:.11em;grid-column:1/3;font-size:9px;font-weight:900}.resource strong{color:#fff2c9;font-variant-numeric:tabular-nums;grid-column:1/3;font-size:16px}.resource.limit-reached strong,.resource.limit-reached .army-icon{color:#ffd86a;text-shadow:0 0 8px #e6b54357}.level-resource{text-align:center;min-width:74px;padding-left:15px}.level-resource strong{color:var(--gold-bright)}.realm-board{top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));pointer-events:auto;background:linear-gradient(#31442ef2,#101f14f2);border:1px solid #e7c26557;border-radius:11px;width:224px;position:absolute;overflow:hidden;box-shadow:inset 0 1px #ffeeb71f,0 9px 28px #050b0757}.realm-board header{color:#d9c486;letter-spacing:.12em;border-bottom:1px solid #e7d2941f;justify-content:space-between;padding:11px 13px;font-size:10px;font-weight:900;display:flex}.realm-board header small{color:#7f957d;letter-spacing:0;font-size:9px}.realm-board ol{scrollbar-width:thin;gap:2px;max-height:min(52vh,430px);margin:0;padding:5px;list-style:none;display:grid;overflow-y:auto}.realm-board li{color:#c8d1c1;grid-template-columns:20px 1fr auto;align-items:center;min-height:28px;padding:4px 8px;font-size:11px;display:grid}.realm-board li.is-you{border-left:2px solid var(--gold);color:#ffe8aa;background:#e7b7471a}.realm-board li.is-allied{background:#378f691a;border-left:2px solid #4dca9acc}.realm-board li>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.realm-player-name{appearance:none;outline-offset:2px;max-width:100%;font:inherit;text-align:start;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;margin:0;padding:0;font-weight:750;overflow:hidden}.realm-player-name:hover,.realm-player-name:focus-visible{text-underline-offset:2px;text-decoration:underline}.realm-clan-tag{color:#8b9687;font-size:9px;font-weight:700}.realm-board li.is-allied .realm-player-name,.realm-board li.is-allied .realm-clan-tag{color:#8de6b5}.realm-board li i{color:#7e917c;font-style:normal}.realm-board li b{color:#d7bc76;font-size:10px}.local-chat{pointer-events:auto;background:#0c1910d1;border:1px solid #dcc37f47;border-radius:10px;width:min(340px,100vw - 28px);position:absolute;bottom:250px;left:14px;overflow:hidden;box-shadow:0 8px 24px #03080547}.local-chat[hidden]{display:none}.local-chat-toggle{color:#ead69c;cursor:pointer;pointer-events:auto;background:#122617f0;border:1px solid #dcc37f57;border-radius:50%;width:42px;height:42px;font-size:19px;position:absolute;bottom:202px;left:14px;box-shadow:0 7px 18px #03080552}.local-chat-toggle[aria-expanded=true]{background:#314d32;border-color:#efc55ab8}.local-chat>header{color:#d9c486;letter-spacing:.09em;border-bottom:1px solid #dcc37f21;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;font-size:9px;display:flex}.local-chat-header-actions{align-items:center;gap:7px;display:flex}.local-chat-bubbles-toggle{color:#d9c486;min-height:24px;font:inherit;letter-spacing:0;cursor:pointer;background:#253d28db;border:1px solid #dbc27b59;border-radius:999px;align-items:center;gap:4px;padding:3px 7px;font-size:8px;display:inline-flex}.local-chat-bubbles-toggle:hover,.local-chat-bubbles-toggle:focus-visible{border-color:#efc55ab8;outline:none}.local-chat-bubbles-toggle[aria-pressed=false]{color:#8e9b8d;background:#18251bd1}.local-chat>header small{color:#82917f;letter-spacing:0;font-size:8px}#local-chat-messages{scrollbar-width:thin;flex-direction:column;gap:3px;height:86px;margin:0;padding:7px 9px;list-style:none;display:flex;overflow:auto}#local-chat-messages li{color:#d3dbc9;overflow-wrap:anywhere;font:10px/1.35 Arial,sans-serif;position:relative}#local-chat-messages li.is-reportable{padding-inline-end:27px}#local-chat-messages .local-chat-sender{appearance:none;color:inherit;cursor:pointer;background:0 0;border:0;margin-inline-end:4px;padding:0;font:800 10px/1.35 Arial,sans-serif}#local-chat-messages .local-chat-sender:hover,#local-chat-messages .local-chat-sender:focus-visible{text-underline-offset:2px;text-decoration:underline}#local-chat-messages small{color:#91a08c;font-size:8px}#local-chat-messages time{color:#718173;white-space:nowrap;margin-inline-start:6px;font-size:8px}.local-chat-report{top:50%;color:#ef9c90;cursor:pointer;opacity:0;pointer-events:none;background:#3f1513d1;border:1px solid #ea796847;border-radius:5px;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;inset-inline-end:1px;transform:translateY(-50%)}#local-chat-messages li:hover .local-chat-report,#local-chat-messages li:focus-within .local-chat-report,.local-chat-report:focus-visible{opacity:1;pointer-events:auto}@media (hover:none),(pointer:coarse){#local-chat-messages li.is-reportable{box-sizing:border-box;min-height:44px;padding-inline-end:49px}.local-chat-report{box-sizing:border-box;isolation:isolate;opacity:.85;pointer-events:auto;background:0 0;border:0;width:44px;min-width:44px;height:44px;min-height:44px}.local-chat-report:before{content:"";z-index:-1;background:#3f1513d1;border:1px solid #ea796847;border-radius:5px;position:absolute;inset:11px}}#local-chat-empty{color:#70806e;margin:0;font:9px Arial,sans-serif;position:absolute;top:42px;left:10px}#local-chat-empty[hidden]{display:none}.chat-restriction-notice{color:#ffd2c8;overflow-wrap:anywhere;background:#501d1494;border:1px solid #dd674f57;border-radius:7px;margin:5px 6px 0;padding:7px 9px;font:700 9px/1.45 Arial,sans-serif}.chat-restriction-notice[hidden]{display:none}#local-chat-form{border-top:1px solid #dcc37f1f;grid-template-columns:1fr auto;gap:5px;padding:6px;display:grid}#local-chat-form input,#local-chat-form button{border:1px solid #dcc37f3d;border-radius:7px;min-height:34px}#local-chat-form input{color:#f2ead5;background:#040c07b8;outline:none;min-width:0;padding:0 9px}.local-chat input:focus{border-color:#efc55ab8}#local-chat-form button{color:#ead69c;cursor:pointer;background:#263d29;padding:0 10px;font-size:8px;font-weight:900}#local-chat-form input:disabled,#local-chat-form button:disabled,.clan-chat-form input:disabled{cursor:not-allowed;opacity:.56}.clan-toggle{top:max(12px, env(safe-area-inset-top));right:calc(max(12px, env(safe-area-inset-right)) + 236px);color:#efcf76;cursor:pointer;pointer-events:auto;background:linear-gradient(#354b31f7,#101f14f7);border:1px solid #e7c26561;border-radius:10px;width:42px;height:42px;font-size:21px;position:absolute;box-shadow:inset 0 1px #ffeeb71f,0 8px 22px #050b0757}.clan-toggle:hover,.clan-toggle[aria-expanded=true]{color:#ffe39a;background:linear-gradient(#45603cfa,#142719fa);border-color:#ffd871bd}.clan-panel{z-index:16;top:64px;right:calc(max(12px, env(safe-area-inset-right)) + 236px);pointer-events:auto;background:linear-gradient(#283827fb,#0d1810fb);border:1px solid #dec27b61;border-radius:11px;width:min(390px,100vw - 28px);max-height:calc(100vh - 126px);position:absolute;overflow:hidden auto;box-shadow:inset 0 1px #ffefbe1a,0 16px 42px #0309057a}.clan-panel-header,.clan-section>header,.clan-identity,.clan-list li,.clan-create-row,.clan-actions{align-items:center;display:flex}.clan-panel-header{z-index:2;background:#18271bfa;border-bottom:1px solid #e7d29429;justify-content:space-between;padding:13px 14px;position:sticky;top:0}.clan-panel-header div,.clan-identity div{gap:2px;display:grid}.clan-panel-header small,.clan-identity small,.clan-section header small{color:#839783;letter-spacing:.1em;font-size:9px;font-weight:800}.clan-panel-header strong{color:#ebd89d;letter-spacing:.1em;font-size:13px}.clan-panel-header button{color:#aeb9aa;cursor:pointer;background:0 0;border:0;border-radius:6px;width:36px;height:36px;font-size:19px}.clan-panel-header button:hover{color:#fff2cd;background:#ffffff0f}.clan-current,.clan-unaffiliated,.clan-browser{padding:12px 14px 0}.clan-identity{background:#0b160e6b;border:1px solid #ddc48233;border-radius:8px;gap:10px;padding:10px}.clan-crest{color:#e6bf58;background:#dfb74b1f;border-radius:7px;place-items:center;width:32px;height:32px;display:grid}.clan-identity strong{color:#fff0c4;font-size:14px}.clan-identity em{color:#87b67a;margin-left:auto;font-size:10px;font-style:normal;font-weight:900}.clan-actions{gap:7px;margin-top:8px}.clan-actions button,.clan-list button,.clan-create-row button{color:#e8ddbd;cursor:pointer;background:#455a3d80;border:1px solid #cbb16f47;border-radius:6px;min-height:36px;font-size:10px;font-weight:900}.clan-actions button{flex:1}.clan-actions button:hover,.clan-list button:hover,.clan-create-row button:hover{background:#57714ca6;border-color:#efcc709e}.clan-actions button:disabled,.clan-list button:disabled,.clan-create-row button:disabled{cursor:default;opacity:.42}.clan-actions .danger,.clan-list .danger{color:#edaaa0;background:#692b2461;border-color:#bb4e4073}.clan-section{margin-top:12px}.clan-section>header{color:#cbbd94;letter-spacing:.08em;justify-content:space-between;margin-bottom:6px;font-size:10px}.clan-list{gap:5px;margin:0;padding:0;list-style:none;display:grid}.clan-list li{background:#08110b59;border:1px solid #cdbc8c1f;border-radius:7px;gap:8px;min-height:42px;padding:7px 8px}.clan-list li>span,.clan-list li>div:first-child{flex:1;min-width:0}.clan-list li b,.clan-list li small{display:block}.clan-list li b{color:#dfd5b8;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.clan-list li small{color:#7f917f;margin-top:2px;font-size:9px}.clan-list button{flex:none;min-width:54px;padding:4px 7px}.clan-list button.clan-member-identity{outline-offset:3px;text-align:start;background:0 0;border:0;flex:1;min-width:0;padding:0}.clan-list button.clan-member-identity:hover b,.clan-list button.clan-member-identity:focus-visible b{color:#f5e4ac;text-underline-offset:2px;text-decoration:underline}.clan-list .member-owner b:after{content:"  • LİDER";color:#dcb957;font-size:8px}.clan-list .member-self{border-color:#6da56059}.clan-create-form{background:#08110b59;border:1px solid #d4bf872b;border-radius:8px;gap:7px;padding:10px;display:grid}.clan-create-form>label:first-child{color:#cbbd94;letter-spacing:.08em;font-size:10px;font-weight:900}.clan-create-row{gap:6px}.clan-create-row input{color:#f1e4bf;-webkit-user-select:text;user-select:text;background:#060e09b3;border:1px solid #cab57c4d;border-radius:6px;outline:none;flex:1;min-width:0;height:36px;padding:0 9px}.clan-create-row input:focus{border-color:#eeca68bf}.clan-create-row button{padding:0 10px}.clan-private-toggle{color:#9cab98;cursor:pointer;align-items:center;gap:7px;min-height:36px;font-size:9px;line-height:1.35;display:flex}.clan-private-toggle input{accent-color:#789f69}.clan-chat-messages{scrollbar-color:#62ad806b transparent;background:#060f0a85;border:1px solid #7ec19426;border-radius:7px;gap:4px;max-height:142px;margin:0;padding:7px;list-style:none;display:grid;overflow:hidden auto}.clan-chat-messages li{color:#d3dfcc;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;background:#2d4d3557;border-radius:5px;padding:4px 6px;font-size:10px;line-height:1.35;position:relative}.clan-chat-messages li.is-reportable{padding-inline-end:30px}.clan-chat-sender{appearance:none;margin:0;outline-offset:2px;color:#8fddb1;cursor:pointer;background:0 0;border:0;margin-inline-end:5px;padding:0;font-family:inherit;font-size:10px;font-weight:800;display:inline}.clan-chat-sender:hover,.clan-chat-sender:focus-visible{color:#c9f6d8;text-underline-offset:2px;text-decoration:underline}.clan-chat-report{top:50%;color:#ed9689;cursor:pointer;opacity:0;pointer-events:none;background:#361212c2;border:1px solid #ea79683d;border-radius:5px;place-items:center;width:22px;height:22px;padding:0;font-size:12px;line-height:1;transition:opacity .12s,color .12s,border-color .12s;display:grid;position:absolute;inset-inline-end:4px;transform:translateY(-50%)}.clan-chat-messages li:hover .clan-chat-report,.clan-chat-messages li:focus-within .clan-chat-report,.clan-chat-report:focus-visible{opacity:1;pointer-events:auto}.clan-chat-report:hover,.clan-chat-report:focus-visible{color:#ffd0c8;border-color:#ff97869e}@media (hover:none),(pointer:coarse){.clan-chat-messages li.is-reportable{box-sizing:border-box;min-height:44px;padding-inline-end:49px}.clan-chat-report{box-sizing:border-box;isolation:isolate;opacity:.82;pointer-events:auto;background:0 0;border:0;width:44px;min-width:44px;height:44px;min-height:44px}.clan-chat-report:before{content:"";z-index:-1;background:#361212c2;border:1px solid #ea79683d;border-radius:5px;position:absolute;inset:11px}}.clan-chat-messages time{float:right;color:#718476;margin-inline-start:6px;font-size:8px}html[dir=rtl] .clan-chat-messages time{float:left}.clan-chat-empty{color:#75877a;text-align:center;pointer-events:none;margin:-32px 8px 17px;font-size:9px}.clan-chat-empty[hidden]{display:none}.clan-chat-form{grid-template-columns:minmax(0,1fr) auto;gap:5px;margin-top:5px;display:grid}.clan-chat-form input,.clan-chat-form button{border:1px solid #7ec1943d;border-radius:6px;min-height:36px}.clan-chat-form input{color:#e0ebd8;-webkit-user-select:text;user-select:text;background:#060e09b8;outline:none;min-width:0;padding:0 9px;font-size:10px}.clan-chat-form input:focus{border-color:#6fd297ad}.clan-chat-form button{color:#bfe6cb;cursor:pointer;background:#3269468c;padding:0 10px;font-size:9px;font-weight:900}.clan-chat-form button:disabled{cursor:default;opacity:.42}.clan-browser{padding-bottom:10px}.clan-world-list li.is-private{border-left:2px solid #a36d5e}.clan-world-list li.is-public{border-left:2px solid #719d68}.clan-empty,.clan-status{color:#81917f;text-align:center;margin:0 14px 12px;font-size:10px}.clan-status{color:#d5c17f;min-height:13px}.context-panel{top:82px;left:max(12px, env(safe-area-inset-left));pointer-events:auto;background:linear-gradient(#233022fa,#0e1911fa);border:1px solid #d6be7e4d;border-radius:10px;width:284px;padding:15px;position:absolute;box-shadow:inset 0 1px #ffefbe17,0 12px 30px #03090561}.context-panel.is-barracks{width:320px}.context-panel:before{content:"";pointer-events:none;border:1px solid #f2dc9e0b;border-radius:7px;position:absolute;inset:4px}.context-close{z-index:1;color:#8b9988;cursor:pointer;background:0 0;border:0;border-radius:5px;width:28px;height:28px;font-size:18px;position:absolute;top:7px;right:7px}.context-close:hover{color:#e7ddc3;background:#ffffff0d}.context-title{align-items:center;gap:10px;padding-right:28px;display:flex}.context-title>span{color:#d6b55f;background:#263c29;border:1px solid #dfc47e29;border-radius:8px;place-items:center;width:42px;height:42px;font-size:19px;display:grid}.context-structure-sprite{opacity:.92;filter:drop-shadow(0 2px 2px #02070485);background-repeat:no-repeat;width:32px;height:32px;display:block}.context-title div{display:grid}.context-title small{color:#80907c;letter-spacing:.14em;font-size:9px;font-weight:900}.context-title strong{color:#f0e4c3;font:700 18px Georgia,serif}.context-state{color:#a8c89b;letter-spacing:.1em;background:#39583052;border:1px solid #77a45f40;border-radius:4px;align-items:center;min-height:18px;margin:9px 0 0 52px;padding:2px 7px;font-size:8px;font-weight:900;display:inline-flex}.context-state[data-state=unclaimed]{color:#d8bc72;background:#6a542647;border-color:#ccae614d}.context-state[data-state=claimed]{color:#c79484;background:#5b312a4d;border-color:#a066544d}.context-state[data-state=allied]{color:#82d8c5;background:#1c5b4d4d;border-color:#43bfa561}.context-health{background:#0a130c;border-radius:3px;height:5px;margin-top:9px;overflow:hidden}.context-health span{background:#79a95f;width:82%;height:100%;display:block}.context-panel p{color:#9ba897;margin:9px 0 11px;font-size:11px;line-height:1.45}.context-stats{background:#050c086b;border:1px solid #dec88d1a;border-radius:6px;grid-template-columns:repeat(3,1fr);gap:1px;margin:10px 0 0;padding:0;display:grid;overflow:hidden}.context-stats div{text-align:center;border-right:1px solid #dec88d14;gap:3px;min-width:0;padding:7px 5px;display:grid}.context-stats div:last-child{border-right:0}.context-stats dt{color:#71816f;letter-spacing:.08em;font-size:7px;font-weight:900}.context-panel.is-barracks .context-stats dt{letter-spacing:.05em;white-space:nowrap;font-size:7.5px}.context-stats dd{color:#dec987;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:10px;font-weight:800;overflow:hidden}.context-stats dd.limit-reached{color:#ffda67;text-shadow:0 0 7px #e3b33d52}.context-actions{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.context-actions button,.mine-actions button{color:#e9dfc3;cursor:pointer;background:#304832;border:1px solid #e2ca8b33;border-radius:6px;flex:1;min-height:42px;padding:8px;font-size:10px;font-weight:900}.context-actions button{place-items:center;gap:2px;display:grid}.context-actions button:hover:not(:disabled),.mine-actions button:hover:not(:disabled){filter:brightness(1.09);border-color:#ebc45f8c}.context-actions button:disabled,.mine-actions button:disabled{cursor:not-allowed;filter:saturate(.4);opacity:.48}.context-actions button small{color:var(--gold)}.context-actions button.danger{background:#49302b}#context-enter-watchtower{color:#fff0bc;background:linear-gradient(#62512e,#3d4226);border-color:#d0a8507a;grid-column:1/-1;grid-template-columns:1fr auto}#context-enter-watchtower small{color:#d8c88e;font-size:8px}.context-actions button.danger.confirming{background:#6a342b;border-color:#dd795bb3}.mine-actions{gap:6px;display:grid}.mine-actions button{color:#fff1c5;background:linear-gradient(#6f673a,#4d4e2e);border-color:#dcb75873;justify-content:space-between;align-items:center;width:100%;padding-inline:13px;display:flex}.mine-actions button small{color:#ffe18b;font-size:10px}.context-install-status{color:#879584;text-align:center;min-height:14px;font-size:9px;line-height:1.35;display:block}.context-install-status[data-state=ready]{color:#9ebb8e}.context-install-status[data-state=warning]{color:#c5a46c}.context-install-status[data-state=pending]{color:#d7c584}.barracks-units{scrollbar-color:#d6b55f61 transparent;gap:4px;max-height:min(290px,38vh);display:grid;overflow:auto}.context-panel.is-barracks .barracks-units{max-height:min(318px,42vh)}.barracks-panel{background:#060d0857;border:1px solid #dec7871f;border-radius:7px;gap:7px;margin:9px 0;padding:8px;display:grid}.barracks-panel header{color:#d6c489;letter-spacing:.09em;justify-content:space-between;align-items:center;gap:8px;font-size:9px;display:flex}.barracks-panel header span{color:#a9c09f;font-variant-numeric:tabular-nums;letter-spacing:0;background:#799b6626;border-radius:4px;padding:2px 6px}.barracks-panel header span.limit-reached{color:#f2cc65;background:#c593272e;border:1px solid #f1c64c57}.context-panel .barracks-status{color:#879685;text-align:center;min-height:14px;margin:0;font-size:9px}.context-panel .barracks-status[data-tone=success]{color:#9fc58d}.context-panel .barracks-status[data-tone=warning]{color:#d1ae70}.barracks-unit-row{background:#1f30208a;border:1px solid #dec78714;border-radius:5px;grid-template-columns:minmax(76px,1fr) auto;align-items:center;gap:5px;min-height:52px;padding:5px;display:grid}.barracks-unit-name{grid-template-columns:32px 1fr;align-items:center;column-gap:6px;min-width:0;display:grid}.unit-portrait{border:1px solid var(--line);opacity:.88;filter:drop-shadow(0 2px 2px #01050270);background-color:#1c3020;background-repeat:no-repeat;border-radius:5px;grid-row:1/4;place-items:center;width:32px;height:32px;font-style:normal;display:grid}.unit-portrait-goblin,.unit-portrait-stone-peasant,.unit-portrait-armored-soldier,.unit-portrait-archer,.unit-portrait-cavalry,.unit-portrait-crossbowman,.unit-portrait-mage{background-image:url(/assets/units/medieval-unit-atlas-normalized-v2.png);background-size:128px 64px}.unit-portrait-goblin{background-position:-32px 0}.unit-portrait-stone-peasant{background-position:-64px 0}.unit-portrait-armored-soldier{background-position:-96px 0}.unit-portrait-archer{background-position:0 -32px}.unit-portrait-cavalry{background-position:-32px -32px}.unit-portrait-crossbowman{background-position:-64px -32px}.unit-portrait-mage{background-position:-96px -32px}.unit-portrait-bomber{background-image:url(/assets/units/bomber-unit-v1.png);background-size:32px 32px}.unit-portrait-bat,.unit-portrait-phoenix,.unit-portrait-dragon{background-image:url(/assets/units/flying-units-v1.png);background-size:128px 96px}.unit-portrait-phoenix{background-position:0 -32px}.unit-portrait-dragon{background-position:0 -64px}.barracks-unit-name b{color:#dfd7bf;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.barracks-unit-name small{color:#7d8c7b;white-space:nowrap;font-size:8px}.barracks-unit-name .unit-training-meta{color:#b8a771;font-variant-numeric:tabular-nums;gap:7px;display:flex}.unit-training-meta span:first-child{color:#dfba58}.barracks-unit-actions{grid-template-columns:repeat(3,36px);gap:3px;display:grid}.barracks-unit-actions button{color:#d9c37e;cursor:pointer;background:#263e29;border:1px solid #dcc68926;border-radius:4px;place-items:center;width:36px;height:36px;padding:0;font-size:11px;display:grid}.barracks-unit-actions button.train{color:#f2d777}.barracks-unit-actions button.donate,.barracks-unit-actions button.reclaim{color:#86d8ae;width:36px;height:36px}.barracks-unit-actions.clan-donation-actions{grid-template-columns:repeat(2,36px)}.barracks-unit-actions button:hover:not(:disabled){filter:brightness(1.12);border-color:#eecb7080}.barracks-unit-actions button:disabled{cursor:not-allowed;opacity:.35}.barracks-unit-actions button small{font-size:7px}.tray-items button{position:relative}.tray-items button>em{color:#9caf97;background:#070e099e;border-radius:3px;padding:1px 4px;font-size:7px;font-style:normal;font-weight:800;position:absolute;top:4px;right:5px}.tray-items button.cap-reached>em{color:#f2cc65;background:#775619b8;border:1px solid #f1c64c4d}.tray-items button:disabled{cursor:not-allowed;filter:saturate(.45);opacity:.48}.bottom-hud{bottom:max(10px, env(safe-area-inset-bottom));justify-items:center;gap:8px;width:min(790px,100vw - 28px);display:grid;position:absolute;left:50%;transform:translate(-50%)}.xp-sword{filter:drop-shadow(0 3px 2px #00000080);align-items:center;width:min(510px,66vw);height:30px;display:flex;position:relative}.sword-pommel{background:radial-gradient(circle at 38% 35%,#f0cb68 0 20%,#a86c21 48%,#4d2d10 100%);border:2px solid #2a1a0b;border-radius:50%;flex:0 0 14px;width:14px;height:14px;box-shadow:inset 0 0 0 1px #ffe58e59}.sword-grip{background:repeating-linear-gradient(115deg,#704326 0 4px,#321f16 4px 7px);border:2px solid #23170e;border-radius:2px;flex:0 0 31px;width:31px;height:10px;box-shadow:inset 0 1px #f1be6f33}.sword-guard{z-index:2;background:linear-gradient(90deg,#806025,#e1b953 48%,#6f4918);border:2px solid #3d280f;border-radius:50% 2px 2px 50%;flex:0 0 9px;width:9px;height:27px;box-shadow:inset 0 0 0 1px #ffe28447}.xp-blade{clip-path:polygon(0 0,calc(100% - 22px) 0,100% 50%,calc(100% - 22px) 100%,0 100%);background:linear-gradient(#dce5e3 0 18%,#788887 35%,#394846 55%,#9aa9a5 78%,#e2e8e4 100%);flex:1;height:17px;margin-left:-1px;position:relative;overflow:hidden}.xp-blade>span{background:linear-gradient(90deg,#447f91 0%,#82d5d5 42%,#e8d683 82%,#fff0ad 100%);width:0%;height:auto;transition:width .2s linear;position:absolute;inset:2px 0 2px 2px;box-shadow:0 0 7px #79e0e2b8}.xp-fuller{pointer-events:none;background:#ffffff9e;height:1px;position:absolute;inset:3px 22px auto 7px}.xp-blade b{color:#fff6d8;text-align:center;letter-spacing:.035em;text-shadow:0 1px 2px #07100c,0 0 3px #07100c;font-size:10px;line-height:17px;position:absolute;inset:0 23px 0 0}.tray-row{justify-content:center;align-items:flex-end;gap:10px;width:100%;display:flex}.action-tray{align-items:flex-end;gap:5px;min-width:0;display:flex}.tray-toggle,.tray-items button,.attack-slot{background:linear-gradient(#354830f7,#112115f7);border:1px solid #ebcd8061;border-radius:10px;box-shadow:inset 0 1px #ffefbe21,inset 0 -3px #050c0747,0 8px 22px #040a0657}.tray-toggle{pointer-events:auto;cursor:pointer;place-items:center;width:68px;height:60px;padding:7px;display:grid}.tray-toggle span{color:#c8d2bf;font-size:9px;font-weight:900}.tray-items{gap:6px;display:none}.build-tray .tray-items{overscroll-behavior-inline:contain;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-color:#cfaa4fb8 #060e086b;scrollbar-width:thin;touch-action:pan-x;-webkit-user-select:none;user-select:none;flex-wrap:nowrap;justify-content:flex-start;width:min(548px,100vw - 290px);min-width:0;padding:2px 3px 6px;overflow:auto hidden}.build-tray .tray-items button:focus-visible{outline-offset:2px;outline:2px solid #ffd870c7}.build-tray .tray-items::-webkit-scrollbar{height:5px}.build-tray .tray-items::-webkit-scrollbar-track{background:#060e086b;border-radius:999px}.build-tray .tray-items::-webkit-scrollbar-thumb{background:#cfaa4fb8;border-radius:999px}.build-tray .tray-items.has-horizontal-overflow{cursor:grab}.build-tray .tray-items.has-horizontal-overflow.at-scroll-start:not(.at-scroll-end){box-shadow:inset -16px 0 12px -14px #f6cd63b8}.build-tray .tray-items.has-horizontal-overflow.at-scroll-end:not(.at-scroll-start){box-shadow:inset 16px 0 12px -14px #f6cd63b8}.build-tray .tray-items.has-horizontal-overflow:not(.at-scroll-start):not(.at-scroll-end){box-shadow:inset 16px 0 12px -14px #f6cd639e,inset -16px 0 12px -14px #f6cd639e}.build-tray .tray-items.is-dragging{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none}.action-tray.open .tray-items{display:flex}.tray-items button{pointer-events:auto;cursor:pointer;place-items:center;min-width:72px;height:60px;padding:5px 9px;display:grid}.build-tray .tray-items button{scroll-snap-align:center;flex:none}.tray-items button:hover,.tray-items button.active{background:linear-gradient(#57673afa,#23361efa);border-color:#ffd365eb;transform:translateY(-2px);box-shadow:inset 0 0 0 2px #ffd5641f,0 8px 22px #040a0661}.tray-items button>span{color:var(--gold);font-size:21px}.build-tray .build-sprite{image-rendering:auto;opacity:.84;filter:drop-shadow(0 2px 2px #0207047a);background-repeat:no-repeat;width:32px;height:32px;transition:opacity .12s,transform .12s;display:block}.build-tray button:hover .build-sprite,.build-tray button.active .build-sprite{opacity:.98;transform:translateY(-1px)scale(1.04)}.build-sprite-house,.build-sprite-barracks{background-image:url(/assets/structures/structure-upgrades-v3.png);background-size:128px 64px}.build-sprite-barracks{background-position:0 -32px}.build-sprite-mining-rig{background-image:url(/assets/mining/mining-rig-levels-rockless.png);background-size:64px 64px}.build-sprite-guard-tower{background-image:url(/assets/structures/archer-tower-levels-v2.png);background-size:64px 64px}.build-sprite-x-bow,.build-sprite-mage-tower,.build-sprite-mortar{background-image:url(/assets/structures/defense-towers-v2.png);background-size:128px 96px}.build-sprite-mage-tower{background-position:0 -32px}.build-sprite-mortar{background-position:0 -64px}.build-sprite-watchtower,.build-sprite-inferno{background-image:url(/assets/structures/watchtower-inferno-v1.png);background-size:128px 64px}.build-sprite-inferno{background-position:0 -32px}.tray-items button[data-build=x_bow]>span{color:#e1a064}.tray-items button[data-build=mage_tower]>span{color:#c69aef}.tray-items button[data-build=mortar]>span{color:#a9beb6}.tray-items b{color:#e8dec1;font-size:9px}.tray-items small{color:#d2ae56;font-size:9px}.command-items button{grid-template-columns:auto 1fr;min-width:74px}.command-items b{font-size:9px}.command-items button.retaliating{background:linear-gradient(#67492af5,#312a1bf5);border-color:#eea64eeb;box-shadow:inset 0 0 0 2px #ffc15b24,0 0 14px #e07d3647}.command-items button.retaliating b:after{color:#f1b666;content:"KARSI SALDIRI";letter-spacing:.05em;margin-top:2px;font-size:6px;display:block}.command-items button[data-command=raid].retaliating b:after{color:#ffc06a;content:"AKIN"}.command-items button[data-command=raid].retaliating{background:linear-gradient(#7d4620fa,#3a2618fa);border-color:#ff993df5;box-shadow:inset 0 0 0 2px #ffb7532b,0 0 15px #ec712252}.attack-slot{place-items:center;width:74px;height:68px;display:grid;position:relative;overflow:hidden}.attack-slot>b{z-index:2;color:#f1d386;font-size:27px}.attack-slot>small{z-index:2;color:#9bab96;font-size:8px;font-weight:900}.cooldown-ring{background:conic-gradient(#08110abd var(--cooldown,0%), transparent 0);position:absolute;inset:0}.mobile-action{right:max(18px, env(safe-area-inset-right));bottom:max(22px, env(safe-area-inset-bottom));color:#ffe494;pointer-events:auto;touch-action:none;background:#30472aeb;border:2px solid #d9b755;border-radius:50%;width:64px;height:64px;font-size:25px;display:none;position:absolute}.death-screen{z-index:40;-webkit-backdrop-filter:blur(8px)saturate(.65);backdrop-filter:blur(8px)saturate(.65);background:#080e0ab8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.death-card{text-align:center;background:linear-gradient(145deg,#263629,#111d15);border:1px solid #e4c67547;width:min(410px,100%);padding:30px;box-shadow:0 25px 80px #050a07}.death-crest{color:#d4866f;border:1px solid #775145;border-radius:50%;place-items:center;width:60px;height:60px;margin:0 auto 12px;font-size:30px;display:grid}.death-card p:not(.eyebrow){color:#96a092;font-size:11px;line-height:1.55}.death-card dl{border:1px solid var(--line);grid-template-columns:1fr 1fr;margin:20px 0;display:grid}.death-card dl div{gap:4px;padding:11px;display:grid}.death-card dl div+div{border-left:1px solid var(--line)}.death-card dt{color:#82907f;text-transform:uppercase;font-size:8px}.death-card dd{color:var(--gold-bright);margin:0;font-size:20px;font-weight:800}#play-again{flex-direction:column;justify-content:center;min-height:57px}#play-again span{letter-spacing:.12em;font-size:12px;font-weight:900}#play-again small{opacity:.7;margin-top:3px;font-size:8px;font-weight:700}.toast{z-index:50;pointer-events:none;width:max-content;min-width:200px;max-width:min(380px,100vw - 24px);position:fixed;top:74px;left:50%;transform:translate(-50%)}.toast-message{color:#f1e5c5;text-align:center;white-space:normal;overflow-wrap:anywhere;background:#152718f2;border:1px solid #e6cb8247;border-radius:9px;margin-bottom:5px;padding:11px 17px;font-size:12px;font-weight:700;line-height:1.35;animation:.2s both toast-in;box-shadow:0 7px 18px #08110a42}@keyframes toast-in{0%{opacity:0;transform:translateY(-7px)}}@media (max-width:820px){.lobby-shell{grid-template-columns:minmax(300px,460px);justify-content:center}.upgrade-panel{display:none}.realm-board{width:160px}.clan-toggle,.clan-panel{right:calc(max(12px, env(safe-area-inset-right)) + 172px)}.realm-board ol{overscroll-behavior:contain;touch-action:pan-y;max-height:min(30dvh,168px)}.local-chat{width:min(290px,100vw - 28px)}.resource{min-width:75px;padding-right:8px}.level-resource{display:none}}@media (max-width:600px){.lobby{place-items:start center}.lobby-card{margin-block:auto;padding:27px 22px 23px}.controls-hint{display:none}.resource-strip{height:40px}.boost-strip{top:calc(max(12px, env(safe-area-inset-top)) + 46px);flex-wrap:wrap;max-width:calc(100vw - 184px)}.boost-pill{min-height:23px;padding:3px 6px;font-size:7px}.watchtower-exit{min-height:34px;padding:5px 10px;font-size:8px;top:52px}.resource{grid-template-rows:10px 14px;min-width:66px;padding:6px 6px 4px 27px}.resource-icon{font-size:11px;top:11px;left:8px}.resource small{font-size:6px}.resource strong{font-size:10px}.mining-icon{display:none}.resource:nth-child(3){min-width:70px;padding-left:8px}.realm-board{width:130px;top:58px;right:8px}.clan-toggle{width:38px;height:38px;font-size:18px;top:58px;right:146px}.clan-panel{width:min(360px,100vw - 16px);max-height:calc(100vh - 168px);top:102px;right:8px}.realm-board header small{display:none}.realm-board li{grid-template-columns:15px 1fr auto;font-size:7px}.local-chat{width:min(250px,100vw - 16px);bottom:178px;left:8px}.local-chat-toggle{width:38px;height:38px;font-size:17px;bottom:132px;left:8px}#local-chat-messages{height:58px}.context-panel{width:min(276px,100vw - 16px);max-height:calc(100vh - 122px);padding:13px;top:54px;left:8px;overflow-y:auto}.context-panel.is-barracks{width:min(304px,100vw - 16px)}.context-title strong{font-size:16px}.context-stats dd{font-size:9px}.bottom-hud{width:calc(100vw - 94px);bottom:8px;transform:translate(calc(-50% - 35px))}.xp-sword{width:min(78vw,460px);height:27px}.tray-items{background:#0d1a10e6;max-width:calc(100vw - 20px);padding:4px;position:absolute;bottom:52px;left:50%;transform:translate(-50%)}.build-tray .tray-items{width:min(344px,100vw - 20px);max-height:none;padding:4px 4px 7px;overflow:auto hidden}.action-tray{position:relative}.mobile-action{display:block}.command-items button{min-width:52px}.minimap-frame{width:116px;height:116px;bottom:106px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto;transition-duration:.01ms;animation-duration:.01ms;animation-iteration-count:1}}body .lobby{background:#111b14;padding:0;display:block;overflow:auto}body .lobby.leaving{opacity:0;pointer-events:none;transform:scale(1.025)}body .lobby .lobby-shell{grid-template-columns:minmax(246px,.82fr) minmax(340px,1.18fr) minmax(246px,.82fr);align-items:stretch;gap:14px;width:min(1120px,100% - 38px);margin:0 auto 34px;display:grid}body .lobby .lobby-card{text-align:left;border-radius:14px;flex-direction:column;justify-content:center;width:auto;padding:28px 31px 23px;display:flex}body .lobby .lobby-card:before{border-radius:10px;inset:5px}@media (max-width:920px){body .lobby .lobby-shell{grid-template-columns:minmax(270px,.85fr) minmax(340px,1.15fr);width:min(760px,100% - 28px)}body .lobby .lobby-card{grid-area:1/2/span 2}}@media (max-width:650px){body .lobby .lobby-shell{flex-direction:column;width:min(430px,100% - 22px);margin-bottom:20px;display:flex}body .lobby .lobby-card{order:1;width:auto;padding:24px 22px 20px}}#player-name{text-overflow:ellipsis;white-space:nowrap;width:0;max-width:100%;font-size:clamp(12px,1.25vw,15px);overflow:hidden}.name-field>span{flex:0 0 48px;align-self:stretch;place-items:center;display:grid;overflow:hidden}.banner-picker{gap:9px}.banner{width:29px;height:36px}.banner:nth-of-type(5){--banner:#3f7195}.banner:nth-of-type(6){--banner:#bc8a35}.profile-login-strip .realmfall-login-button{color:#1b271c;background:linear-gradient(#e2bd58,#a97a28);border-color:#e9b84a7a}.social-login-row{grid-template-columns:minmax(0,1fr);gap:7px;display:grid}.social-login-row button,.auth-buttons [data-auth-provider=google]{width:100%}.lobby-actions>button{min-height:52px}.shop-modal .modal-card,.collection-modal .modal-card{width:min(980px,100%)}.shop-tabs{background:#050c086b;border:1px solid #e6cd8b21;border-radius:8px;grid-template-columns:1fr 1fr;gap:6px;margin:18px 0 4px;padding:4px;display:grid}.shop-tabs button{color:#84917f;letter-spacing:.11em;cursor:pointer;background:0 0;border:0;border-radius:5px;min-height:35px;font-size:9px;font-weight:900}.shop-tabs button.active{color:#f4dfaa;background:#344d35;box-shadow:inset 0 0 0 1px #ecc65b38}.case-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.case-list>article{color:#e9dfc1;text-align:left;background:linear-gradient(145deg,#2839289e,#060d09ad);border:1px solid #e6cd8b26;border-radius:10px;grid-template-rows:auto 1fr;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:4px 12px;min-height:132px;padding:11px;display:grid;overflow:hidden}.case-list>article:hover{border-color:#efc14985;transform:translateY(-1px)}.case-list>article>span{gap:5px;display:grid}.case-list b{color:#f5e3af;letter-spacing:.08em;font-size:11px}.case-list small{color:#84927e;font-size:8px;line-height:1.35}.case-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}.case-actions strong{color:#dff0c8;letter-spacing:.06em;background:#345737;border:1px solid #89cc6f47;border-radius:999px;grid-column:1/-1;width:max-content;padding:3px 7px;font-size:8px}.case-actions button{color:#efd177;cursor:pointer;background:#314934;border:1px solid #e9be534d;border-radius:5px;min-height:29px;padding:0 8px;font-size:8px;font-weight:900}.case-actions button:last-child{color:#132018;background:#b78932;min-width:58px}.case-actions button:hover:not(:disabled){filter:brightness(1.14)}.case-actions button:disabled{opacity:.38;cursor:not-allowed}.case-art{filter:drop-shadow(0 7px 5px #00000052);background-image:url(/assets/lobby/case-hero-collection-v1.png);background-repeat:no-repeat;background-size:400% 300%;grid-row:1/span 2;width:96px;height:86px;display:block}.case-common{background-position:0 0}.case-uncommon{background-position:33.333% 0}.case-epic{background-position:66.666% 0}.case-legendary{background-position:100% 0}.collection-chooser{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0 10px;display:grid}.collection-chooser[hidden],.collection-browser[hidden]{display:none}.collection-chooser button{color:#182419;cursor:pointer;background:#e8eadf;border:5px solid #52674d;border-radius:10px;grid-template-rows:180px auto auto;gap:7px;padding:10px;display:grid}.collection-chooser button:last-child{border-color:#6d536f}.collection-chooser button:hover{transform:translateY(-2px);box-shadow:0 10px 28px #00000047}.collection-chooser b{font-size:28px;line-height:1}.collection-chooser small{color:#526052;min-height:32px;font:600 10px/1.45 system-ui,sans-serif}.collection-choice-art{object-fit:contain;background:0 0;border-radius:0;width:100%;height:180px;display:block;overflow:hidden}.collection-browser nav{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:15px 0 10px;display:grid}.collection-browser nav button{color:#e9cf85;cursor:pointer;background:#263c2b;border:1px solid #e5be5240;border-radius:5px;min-height:32px;font-size:9px;font-weight:900}.collection-browser nav strong{color:#f3dfaa;font-size:18px}.collection-browser nav span{color:#788674;letter-spacing:.1em;font-size:8px;font-weight:900}.collection-list{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-color:#877440 #142018;scrollbar-width:thin;gap:10px;padding:2px 2px 12px;display:flex;overflow-x:auto}.collection-item{scroll-snap-align:start;color:#e7dbbb;text-align:left;cursor:pointer;background:#070f0a75;border:1px solid #e2cc911f;border-radius:9px;flex:0 0 190px;grid-template-rows:138px minmax(0,1fr);gap:8px;min-height:242px;padding:9px 9px 11px;display:grid}.collection-item.locked{opacity:.43;filter:grayscale(.75);cursor:default}.collection-item.equipped{border-color:#e4b944;box-shadow:inset 0 0 0 1px #e4b9443d}.collection-item.newly-unlocked{border-color:#72c98a;box-shadow:inset 0 0 0 1px #72c98a57,0 0 18px #48ad6929}.collection-empty{color:#93a18f;text-align:center;border:1px dashed #b39d6047;border-radius:12px;flex:1 0 100%;place-items:center;min-height:180px;margin:0;font-size:12px;display:grid}.collection-item>span{grid-template-rows:auto 1fr auto;gap:5px;min-width:0;display:grid}.collection-item b{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.collection-item small{color:#8f9b8a;font-size:8.5px;line-height:1.35}.collection-item em{color:#d8b65d;letter-spacing:.08em;font-size:7px;font-style:normal;font-weight:900}.collection-art{object-fit:contain;background:0 0;border:0;border-radius:0;width:170px;height:138px;overflow:hidden}.case-opening-modal .modal-card{width:min(920px,100%);overflow:hidden}.case-reel-window{direction:ltr;background:linear-gradient(#0b140e,#17261a 48%,#09110c);border:1px solid #e7c36042;border-radius:10px;margin-top:20px;padding:17px 0;position:relative;overflow:hidden;box-shadow:inset 0 0 45px #0000008c}.case-reel-window:before,.case-reel-window:after{content:"";z-index:3;pointer-events:none;width:22%;position:absolute;top:0;bottom:0}.case-reel-window:before{background:linear-gradient(90deg,#0b140e,#0000);left:0}.case-reel-window:after{background:linear-gradient(-90deg,#0b140e,#0000);right:0}.case-reel-marker{z-index:5;background:#f2c84f;width:2px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 0 13px #f2c84f}.case-reel-marker:before,.case-reel-marker:after{content:"";border-left:7px solid #0000;border-right:7px solid #0000;position:absolute;left:-6px}.case-reel-marker:before{border-top:9px solid #f2c84f;top:0}.case-reel-marker:after{border-bottom:9px solid #f2c84f;bottom:0}.case-reel-track{will-change:transform;direction:ltr;gap:10px;width:max-content;padding-left:12px;display:flex}.case-reel-item{text-align:center;background:#162219;border:1px solid #55605a;border-bottom-width:4px;border-radius:7px;flex:0 0 124px;grid-template-rows:88px auto auto;gap:3px;min-height:132px;padding:6px 4px;display:grid}.case-reel-art{object-fit:contain;width:116px;height:88px}.case-reel-item b{color:#eee0bb;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.case-reel-item small{color:#849086;font-size:6px;font-weight:900}.case-reel-item.rarity-uncommon,.case-opening-result.rarity-uncommon{border-color:#59a86a}.case-reel-item.rarity-epic,.case-opening-result.rarity-epic{border-color:#9a69d0}.case-reel-item.rarity-legendary,.case-opening-result.rarity-legendary{border-color:#e6b23e}.case-reel-item.winner{box-shadow:0 0 18px #f4c95047}.case-opening-result{text-align:center;background:#070e0980;border:1px solid #607065;border-radius:8px;gap:4px;min-height:57px;margin-top:15px;padding:11px;display:grid}.case-opening-result:empty{visibility:hidden}.case-opening-result strong{color:#f5dda0;font-size:15px}.case-opening-result span{color:#9eaa9d;font:10px/1.4 system-ui,sans-serif}.case-opening-close{color:#132018;cursor:pointer;background:#b58a30;border:1px solid #e0b84d;border-radius:6px;min-width:210px;min-height:40px;margin:12px auto 0;font-size:10px;font-weight:900;display:block}.case-opening-close[hidden]{display:none}.local-auth-form{text-align:left;gap:10px;margin:18px 0 12px;display:grid}.local-auth-form label{color:#b9a874;letter-spacing:.12em;gap:5px;font-size:8px;font-weight:900;display:grid}.local-auth-form label>small{color:#7f9083;letter-spacing:0;font-size:8px;font-weight:650;line-height:1.45}.local-auth-form input{color:#f4e8c8;-webkit-user-select:text;user-select:text;background:#040b0794;border:1px solid #e2cb8d33;border-radius:6px;outline:none;height:42px;padding:0 12px}.local-auth-form input:focus{border-color:#e9b84a9e}.local-auth-form>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.local-auth-form button{color:#172318;cursor:pointer;background:#a9792a;border:1px solid #d7ad47;border-radius:6px;min-height:39px;font-size:9px;font-weight:900}.local-auth-form button:first-child{background:#d6b34e}.auth-divider{color:#70806d;margin:17px 0 12px;font-size:8px;position:relative}.auth-divider:before{content:"";border-top:1px solid #e3cb8b1f;position:absolute;top:50%;left:0;right:0}.auth-divider span{background:#15251a;padding:0 10px;position:relative}.case-reward-toast{animation:.42s ease-out case-reveal}@keyframes case-reveal{0%{opacity:0;transform:translateY(8px)scale(.96)}}@media (max-width:650px){.case-list,.collection-chooser{grid-template-columns:1fr}.collection-chooser button{grid-template-rows:128px auto auto}.collection-item{flex-basis:176px}.banner-picker{gap:7px}}.lobby-modal[hidden],.profile-logout[hidden],.profile-login-strip[hidden]{display:none}.lobby{isolation:isolate;background:#111b14;padding:0;display:block;overflow:auto}.lobby-game-root,.lobby-live-shade{position:fixed;inset:0}.lobby-game-root{z-index:-3;background:radial-gradient(circle at 50% 40%,#536c4ca8,#16251bf5),#17281d;overflow:hidden}#lobby-game-root canvas{filter:saturate(.78)contrast(.95)brightness(1.06);width:100%;height:100%;display:block}.lobby-live-shade{z-index:-2;pointer-events:none;-webkit-backdrop-filter:blur(.8px);backdrop-filter:blur(.8px);background:radial-gradient(circle at 50% 42%,#070d0924,#04090680 84%),linear-gradient(#060c0838,#060b0775)}.lobby-brand{z-index:2;text-align:left;justify-content:center;align-items:center;gap:13px;min-height:116px;padding:26px 18px 17px;display:flex;position:relative}.brand-crest{object-fit:contain;filter:drop-shadow(0 7px 12px #0000006b);background:#101c14;border-radius:10px;flex:none;width:52px;height:60px;display:block}.lobby-brand p{color:#a99768;letter-spacing:.25em;margin:0 0 3px;font-size:9px;font-weight:900}.lobby-brand h1{letter-spacing:-.045em;margin:0;font-size:clamp(34px,4vw,51px)}.lobby-shell{z-index:2;grid-template-columns:minmax(246px,.82fr) minmax(340px,1.18fr) minmax(246px,.82fr);align-items:stretch;gap:14px;width:min(1120px,100% - 38px);margin:0 auto 34px;display:grid;position:relative}.lobby-panel{background:linear-gradient(145deg, #233426f0, #0c1710f5), var(--panel-deep);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid #e1ca8e33;border-radius:14px;min-width:0;position:relative;box-shadow:0 24px 70px #02070485,inset 0 1px #ffefc10f}.lobby-panel:before{content:"";pointer-events:none;border:1px solid #e6cd8b0e;border-radius:10px;position:absolute;inset:5px}.profile-panel{padding:22px 20px}.profile-heading{border-bottom:1px solid #e0cb8f1f;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;padding-bottom:17px;display:grid}.profile-avatar{color:#e7bd50;background:#08110b85;border:1px solid #e5c26252;border-radius:10px;place-items:center;width:46px;height:46px;font-size:24px;display:grid}.profile-heading div{min-width:0;display:grid}.profile-heading small,.profile-currency small,.profile-stats dt{color:#8fa087;letter-spacing:.13em;font-size:8px;font-weight:900}.profile-heading strong{color:#f4e7c2;text-overflow:ellipsis;white-space:nowrap;font-family:Georgia,serif;font-size:18px;overflow:hidden}.profile-logout{color:#dda092;cursor:pointer;background:#66272042;border:1px solid #e2765f4d;border-radius:5px;padding:5px 7px;font-size:7px;font-weight:900}.profile-currency{background:#070f0a6b;border:1px solid #ebc45b29;border-radius:9px;align-items:center;gap:13px;margin:19px 0 15px;padding:13px 14px;display:flex}.profile-currency>span{color:#f1c755;text-shadow:0 0 18px #f1c7554d;font-size:23px}.profile-currency div{display:grid}.profile-currency strong{color:#f6d677;font-size:22px;line-height:1.05}.profile-level-row{color:#d7c99f;justify-content:space-between;align-items:center;margin-top:14px;font-size:9px;font-weight:800;display:flex}.profile-level-row b{color:#fff0bd;font-size:16px}.profile-level-row small{color:#84917e;font-size:8px}.profile-xp-track{background:#09110c;border:1px solid #e0cc9324;border-radius:20px;height:7px;margin-top:8px;overflow:hidden}#lobby-meta-xp-fill{border-radius:inherit;background:linear-gradient(90deg,#ad7b2a,#f1c954);width:0;height:100%;transition:width .35s;display:block;box-shadow:0 0 12px #f1c95447}.profile-stats{grid-template-columns:1fr 1fr;gap:8px;margin:17px 0 0;display:grid}.profile-stats div{text-align:center;background:#070e0947;border:1px solid #deca911a;border-radius:7px;gap:4px;margin:0;padding:9px;display:grid}.profile-stats dd{color:#e8dbb5;margin:0;font-weight:800}#profile-save-note{color:#84917f;min-height:31px;margin:13px 2px;font-size:8px;line-height:1.5}.profile-login-strip,.auth-buttons{gap:7px;display:grid}.lobby-policy-links{pointer-events:auto;justify-content:center;gap:12px;margin-top:9px;display:flex}.lobby-policy-links a{color:#7f9084;text-underline-offset:3px;font-size:8px;text-decoration-color:#e0c47859}.lobby-policy-links a:hover,.lobby-policy-links a:focus-visible{color:#e6ca7c}.profile-login-strip button,.auth-buttons button{color:#233027;cursor:pointer;background:#eeece0eb;border:1px solid #e1d4b229;border-radius:7px;justify-content:center;align-items:center;gap:9px;min-height:35px;font-size:10px;font-weight:850;display:flex}.profile-login-strip button span,.auth-buttons button span{font-size:16px;font-weight:900}.lobby-card{text-align:left;border-radius:14px;flex-direction:column;justify-content:center;padding:28px 31px 23px;display:flex}.lobby-card:before{border-radius:10px;inset:5px}.lobby-card .tagline{color:#9eaa98;margin:7px 0 22px;font-size:13px}.lobby-card .banner-picker{margin-bottom:18px}.lobby-card .connection-status,.lobby-card .controls-hint{text-align:center}.lobby-card .controls-hint{gap:9px}.lobby-actions{flex-direction:column;gap:8px;padding:18px;display:flex}.lobby-actions>button{color:#e8dbb7;text-align:left;cursor:pointer;background:#070f0a5c;border:1px solid #e0cb9121;border-radius:8px;grid-template-columns:40px minmax(0,1fr) 12px;align-items:center;gap:9px;min-height:61px;padding:8px 10px;transition:border-color .15s,background .15s,transform .15s;display:grid}.lobby-actions>button:hover{background:#44573873;border-color:#edc35266;transform:translate(-2px)}.lobby-actions>button>span{color:#ddb84f;background:#71915929;border-radius:7px;place-items:center;width:38px;height:38px;font-size:19px;display:grid}.lobby-actions button div{gap:3px;display:grid}.lobby-actions button b{letter-spacing:.06em;font-size:10px}.lobby-actions button small{color:#84927e;font-size:8px}.lobby-actions button em{color:#7f8f79;font:20px Georgia,serif}.live-realm-card{background:#112c1859;border:1px solid #68a85c2b;border-radius:8px;align-items:center;gap:10px;margin-top:auto;padding:13px;display:flex}#lobby .live-realm-card i{background:#78c266;border-radius:50%;width:9px;height:9px;animation:1.8s ease-in-out infinite lobby-live-pulse;box-shadow:0 0 11px #78c266}.live-realm-card div{gap:2px;display:grid}.live-realm-card b{color:#bcd4ad;font-size:9px}.live-realm-card small{color:#71816d;font-size:8px}@keyframes lobby-live-pulse{50%{opacity:.45;transform:scale(.76)}}.lobby-modal{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#040805b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow:auto}.lobby-modal>.modal-card{background:linear-gradient(145deg,#233628,#0d1811 78%);border:1px solid #eacd8042;border-radius:14px;width:min(570px,100%);max-height:min(760px,100vh - 40px);padding:28px;position:relative;overflow:auto;box-shadow:0 30px 100px #000000a8}.modal-close{z-index:2;color:#a8b09d;cursor:pointer;background:#040a0661;border:1px solid #dfca9229;border-radius:50%;width:30px;height:30px;font-size:19px;position:absolute;top:12px;right:12px}.modal-card header{justify-content:space-between;align-items:flex-start;gap:20px;margin-right:31px;display:flex}.modal-card h2{color:#f2e4bb;margin:5px 0 0;font:700 24px Georgia,serif}.auth-card{text-align:center;width:min(520px,100%)}.auth-crest{color:#e6bd50;margin:2px 0 13px;font-size:45px;display:block}.auth-card>p:not(.eyebrow),.auth-card li,.upgrade-copy,.draft-note{color:#9aa693;font-size:11px;line-height:1.55}.auth-card ul{text-align:left;background:#070e0952;border:1px solid #e3cb8b1c;border-radius:9px;gap:7px;margin:20px 0;padding:16px 20px 16px 38px;display:grid}#auth-provider-status{color:#d49378;min-height:16px;margin:11px 0 0;font-size:9px}.info-modal .modal-card{width:min(480px,100%)}.info-modal .modal-card:has(.daily-quest-list){width:min(680px,100%)}#lobby-info-content{color:#bac3b3;margin-top:18px;font-size:11px;line-height:1.55}.lobby-leaderboard{gap:6px;max-height:min(62vh,620px);margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.lobby-leaderboard li>button{outline-offset:2px;color:#e7ddbd;text-align:start;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;min-width:0;margin:0;padding:0;font:750 12px/1.2 system-ui,sans-serif;overflow:hidden}.lobby-leaderboard li>button:hover,.lobby-leaderboard li>button:focus-visible{color:#ffd978;text-underline-offset:2px;text-decoration:underline}.lobby-leaderboard li{background:#050c0857;border-radius:6px;grid-template-columns:26px 1fr auto;gap:8px;padding:9px;display:grid}.return-lobby{color:#b9b29d;letter-spacing:.12em;cursor:pointer;background:#0a130d9e;border:1px solid #e2cc9133;border-radius:5px;width:100%;margin-top:8px;padding:11px;font-size:9px;font-weight:900}.provider-unavailable{opacity:.48;cursor:help;filter:saturate(.25)}.daily-quest-list>.quest-loading{color:#c6cdbf;background:#060e0957;border:1px solid #e0cb911c;border-radius:7px;margin:0;padding:11px 12px}@media (max-width:920px){.lobby-brand{min-height:96px;padding-top:17px}.lobby-shell{grid-template-columns:minmax(270px,.85fr) minmax(340px,1.15fr);width:min(760px,100% - 28px)}.lobby-card{grid-area:1/2/span 2}.profile-panel,.lobby-actions{grid-column:1}.lobby-actions>button{min-height:52px}.live-realm-card{display:none}}@media (max-width:650px){.lobby-brand{min-height:80px}.brand-crest{width:41px;height:48px;font-size:21px}.lobby-brand p{display:none}.lobby-brand h1{font-size:34px}.lobby-shell{flex-direction:column;width:min(430px,100% - 22px);margin-bottom:20px;display:flex}.lobby-card{order:1;padding:24px 22px 20px}.profile-panel{order:2}.lobby-actions{order:3;grid-template-columns:1fr 1fr;display:grid}.lobby-actions>button{grid-template-columns:34px minmax(0,1fr)}.lobby-actions button em{display:none}.lobby-actions>button>span{width:32px;height:32px}.lobby-card .controls-hint{display:none}.lobby-modal>.modal-card{padding:24px 18px}}.gold-icon-small,.profile-currency>span,.legacy-coins>span,.resource-icon.coin-icon{color:#0000;vertical-align:middle;background:url(/assets/lobby/realmfall-gold-icon-v1.png) 50%/contain no-repeat;width:22px;height:22px;display:inline-block}.collection-chooser>button{background:radial-gradient(circle at 50% 30%,#caa0411f,#0000 48%),linear-gradient(155deg,#172b1e,#0b1710);border:1px solid #d5b15359;min-height:300px;position:relative;overflow:hidden;box-shadow:inset 0 1px #fff3c214,0 12px 32px #00000038}.collection-chooser>button:hover{border-color:#d3aa4d;transform:translateY(-3px);box-shadow:inset 0 1px #fff3c21f,0 16px 38px #00000052}.choice-ribbon{z-index:2;color:#dfbe68;letter-spacing:.15em;background:#26391f;border:1px solid #e1bb5952;border-radius:4px;padding:5px 9px;font-size:9px;position:absolute;top:12px;left:12px}.choice-copy{text-align:left;gap:5px;padding:0 18px 18px;display:grid}.choice-copy b{color:#f1dfac;font:800 24px/1 Georgia,serif}.choice-copy small{color:#9eafa0;min-height:34px}.choice-copy em{color:#d9b55a;letter-spacing:.1em;font-size:10px;font-style:normal}.unit-skin-categories{scrollbar-width:thin;background:#040c088c;border:1px solid #ffffff12;border-radius:8px;gap:6px;margin:10px 0 13px;padding:7px;display:flex;overflow-x:auto}.collection-browser nav.unit-skin-categories{grid-template-columns:none;align-items:stretch;gap:6px;margin:10px 0 13px;display:flex}.collection-browser nav.unit-skin-categories[hidden]{display:none}.unit-skin-categories button{color:#a9b7a8;white-space:nowrap;cursor:grab;background:#142319;border:1px solid #354b39;border-radius:5px;flex:0 0 112px;min-width:112px;min-height:36px;padding:0 9px;font-size:10px;font-weight:800}.unit-skin-categories button.active{color:#f4df9a;background:#3d4822;border-color:#d2a945}.collection-item.default-skin{grid-template-rows:138px minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.default-skin-crest{display:none}.default-skin-art{object-fit:contain;width:100%;height:138px}.upgrade-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.upgrade-list button{background:linear-gradient(145deg,#172a1d,#0d1a12);border-color:#c9a54842;grid-template-columns:54px minmax(0,1fr) auto;min-height:98px;position:relative;box-shadow:inset 0 1px #ffffff0d}.upgrade-list button:after{content:"";background:linear-gradient(90deg, #b8933f var(--upgrade-progress,0%), #28372b var(--upgrade-progress,0%));border-radius:4px;height:3px;position:absolute;inset:auto 12px 8px 74px}.upgrade-icon{color:#edc85f;background:radial-gradient(circle,#45502b,#1a281d);border:1px solid #5f683c;border-radius:9px;width:46px;height:46px;font-size:21px}.daily-quest-list{gap:11px;display:grid}.quest-day-summary{background:radial-gradient(circle at 4% 12%,#d3ae4c29,#0000 34%),linear-gradient(135deg,#1d3021,#0b1710 78%);border:1px solid #d5b15257;border-radius:10px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 15px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a,0 9px 24px #0000002e}.quest-day-summary:after{content:"";pointer-events:none;border:1px solid #dab55414;border-radius:50%;width:118px;height:118px;position:absolute;bottom:-42px;right:-28px;box-shadow:0 0 0 17px #dab55408}.quest-summary-seal{color:#f0c968;background:radial-gradient(circle,#665328,#241f12 68%);border:1px solid #e1be5c66;border-radius:50%;place-items:center;width:44px;height:44px;font-size:20px;display:grid;box-shadow:inset 0 0 0 3px #060d0985,0 4px 12px #0000004d}.quest-summary-copy{gap:4px;min-width:0;display:grid}.quest-summary-copy small,.quest-reset-clock small{color:#b49a59;letter-spacing:.13em;font-size:8px;font-weight:900}.quest-summary-copy strong{color:#f1e1b5;font:700 15px Georgia,serif}.quest-summary-track,.quest-progress-track{background:#040a07ad;border-radius:999px;height:5px;display:block;overflow:hidden;box-shadow:inset 0 1px 2px #0000007a}.quest-summary-track{width:min(210px,100%);margin-top:2px}.quest-bar-fill{border-radius:inherit;background:linear-gradient(90deg,#7e9f56,#d4af4e);height:100%;transition:width .18s;display:block;box-shadow:0 0 8px #dab75461}.quest-reset-clock{z-index:1;text-align:right;border-left:1px solid #e0c27326;gap:1px;min-width:112px;padding-left:13px;display:grid;position:relative}.quest-reset-clock strong{color:#e6d39d;font-size:12px}.quest-reset-clock span{color:#7f9185;font-size:8px}.daily-quest{--quest-accent:#8da263;--quest-accent-soft:#8da2631c;--quest-tier:#9aa395;background:linear-gradient(90deg, var(--quest-accent-soft), transparent 38%), linear-gradient(145deg, #112118, #0b1710);border:1px solid #4e6c567a;border-radius:9px;gap:10px;padding:13px 14px 12px 17px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff08,0 7px 17px #00000024}.daily-quest:before{content:"";background:var(--quest-accent);width:3px;box-shadow:2px 0 10px color-mix(in srgb, var(--quest-accent) 40%, transparent);position:absolute;inset:0 auto 0 0}.quest-category-expedition{--quest-accent:#c06f4d;--quest-accent-soft:#c06f4d1f}.quest-category-mastery{--quest-accent:#8e78c5;--quest-accent-soft:#8e78c51f}.quest-category-economy{--quest-accent:#c7a44f;--quest-accent-soft:#c7a44f1f}.quest-category-kingdom{--quest-accent:#6f9b6d;--quest-accent-soft:#6f9b6d1f}.quest-tier-bronze{--quest-tier:#b7835e}.quest-tier-silver{--quest-tier:#aeb9b7}.quest-tier-gold{--quest-tier:#e0bd5f}.quest-copy{gap:4px;min-width:0;display:grid}.quest-tags{align-items:center;gap:6px;margin-bottom:1px;display:flex}.quest-category-badge,.quest-tier-badge{letter-spacing:.1em;border-radius:999px;align-items:center;min-height:18px;padding:2px 7px;font-size:7px;font-weight:900;line-height:1;display:inline-flex}.quest-category-badge{border:1px solid color-mix(in srgb, var(--quest-accent) 42%, transparent);background:color-mix(in srgb, var(--quest-accent) 12%, transparent);color:color-mix(in srgb, var(--quest-accent) 78%, white);gap:4px}.quest-category-mark{font-size:9px;font-style:normal}.quest-tier-badge{border:1px solid color-mix(in srgb, var(--quest-tier) 38%, transparent);background:color-mix(in srgb, var(--quest-tier) 8%, transparent);color:var(--quest-tier)}.daily-quest b{color:#ecdfbd;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.quest-description{color:#89998e;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:28px;margin:0;font-size:9px;line-height:1.45;display:-webkit-box;overflow:hidden}.quest-progress{gap:4px;display:grid}.quest-progress>div{color:#708278;letter-spacing:.04em;justify-content:space-between;align-items:center;gap:10px;font-size:8px;font-weight:800;display:flex}.quest-progress>div strong{color:#aebeaf;font-size:9px}.quest-progress-track .quest-bar-fill{background:linear-gradient(90deg, var(--quest-accent), #d5b459)}.quest-footer{justify-content:space-between;align-items:center;gap:12px;min-height:35px;padding-top:2px;display:flex}.quest-reward{color:#dfc16b;flex-wrap:wrap;gap:7px;font-size:9px;font-weight:800;display:flex}.quest-reward span{align-items:center;gap:3px;display:flex}.quest-reward .gold-icon-small{width:18px;height:18px}.quest-case-reward{background:#d1ae4f12;border:1px solid #d1ae4f38;border-radius:4px;min-height:20px;padding:2px 7px}.daily-quest button{color:#f4e3b0;letter-spacing:.05em;cursor:pointer;background:linear-gradient(#705a2d,#47381c);border:1px solid #8f7538;border-radius:5px;min-width:112px;min-height:34px;padding:7px 10px;font-size:8px;font-weight:800;box-shadow:inset 0 1px #ffffff12,0 4px 10px #0003}.daily-quest button:not(:disabled):hover{filter:brightness(1.08);border-color:#c6a34e}.daily-quest button:disabled{color:#758278;box-shadow:none;cursor:default;background:#1c2920;border-color:#75847747}.daily-quest.complete{border-color:color-mix(in srgb, var(--quest-accent) 55%, #304638)}.daily-quest.complete .quest-progress-track i{box-shadow:0 0 9px color-mix(in srgb, var(--quest-accent) 50%, transparent)}.daily-quest.claimed{opacity:.66;filter:saturate(.68)}.daily-quest-list>.quest-reset-note,.daily-quest-list>.quest-loading{color:#718177;text-align:center;margin:1px 0 0;font-size:9px}.death-card{width:min(650px,100vw - 28px)}.death-primary-stats{grid-template-columns:repeat(4,1fr)}.death-rewards{grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0;display:grid}.death-rewards>span{text-align:center;background:#102017;border:1px solid #d7b04f38;border-radius:8px;place-items:center;gap:3px;min-height:88px;padding:9px;display:grid}.death-rewards strong{color:#dcb651;font-size:18px}.death-rewards b{color:#f1dda0;font-size:12px}.death-rewards small{color:#7e9184;font-size:9px}@media (max-width:720px){.upgrade-list,.daily-quest{grid-template-columns:1fr}.quest-day-summary{grid-template-columns:40px minmax(0,1fr);padding:12px}.quest-summary-seal{width:38px;height:38px}.quest-reset-clock{text-align:left;border-top:1px solid #e0c27321;border-left:0;grid-column:1/-1;grid-template-columns:auto 1fr auto;align-items:center;min-width:0;padding-top:8px;padding-left:0}.quest-reset-clock strong{padding-left:8px}.quest-footer{flex-direction:column;align-items:stretch}.daily-quest button{width:100%}.death-primary-stats{grid-template-columns:repeat(2,1fr)}.death-rewards{grid-template-columns:1fr}}#lobby .profile-hero-art{background-color:#0b1710;background-image:url(/assets/units/medieval-unit-atlas-normalized-v2.png),radial-gradient(circle at 50% 42%,#d5b14e2e,#0000 70%);background-position:0 0,50%;background-repeat:no-repeat;background-size:400% 200%,100% 100%;flex:0 0 46px;padding:0;display:block;box-shadow:inset 0 0 0 2px #050c0880,0 5px 14px #0000004d}#lobby .lobby-actions>button{--lobby-action-accent:#b89445;isolation:isolate;border-color:color-mix(in srgb, var(--lobby-action-accent) 36%, transparent);background:radial-gradient(circle at 25px 50%, color-mix(in srgb, var(--lobby-action-accent) 17%, transparent), transparent 68px), linear-gradient(105deg, #0f1d13ed, #050d09bd);min-height:64px;box-shadow:inset 3px 0 color-mix(in srgb, var(--lobby-action-accent) 64%, transparent), inset 0 1px #fff2ca09;grid-template-columns:52px minmax(0,1fr) 12px;padding:7px 9px 7px 7px;transition:border-color .15s,background .15s,box-shadow .15s,transform .15s;position:relative;overflow:hidden}#lobby .lobby-actions>button:before{content:"";z-index:3;pointer-events:none;background:linear-gradient(108deg,#0000 24%,#ffebae1c 46%,#0000 63%);transition:transform .38s;position:absolute;inset:0;transform:translate(-135%)}#lobby .lobby-actions>button>*{z-index:1;position:relative}#lobby .lobby-actions>button:hover{border-color:color-mix(in srgb, var(--lobby-action-accent) 68%, transparent);background:radial-gradient(circle at 25px 50%, color-mix(in srgb, var(--lobby-action-accent) 25%, transparent), transparent 72px), linear-gradient(105deg, #1b2d1df5, #08120cd1);box-shadow:inset 3px 0 color-mix(in srgb, var(--lobby-action-accent) 82%, transparent), inset 0 1px #fff2ca12, 0 7px 17px #0107033d}#lobby .lobby-actions>button:hover:before{transform:translate(135%)}#lobby .lobby-actions>button>.lobby-action-art{border:1px solid color-mix(in srgb, var(--lobby-action-accent) 45%, #26372b);filter:drop-shadow(0 3px 3px #0000003d);background-color:#050c089e;background-image:url(/assets/lobby/case-hero-collection-v1.png),radial-gradient(circle,#fff4c814,#0000 70%);background-position:0 0,50%;background-repeat:no-repeat;background-size:400% 300%,100% 100%;border-radius:9px;width:50px;height:50px;transition:filter .16s,transform .16s;display:block;box-shadow:inset 0 0 0 2px #040a068f,0 4px 11px #00000047}#lobby .lobby-actions>button:hover>.lobby-action-art{filter:brightness(1.08)drop-shadow(0 4px 4px #0000004d);transform:translateY(-1px)scale(1.035)}#lobby .lobby-actions>button[data-lobby-action=shop]{--lobby-action-accent:#c98d43}#lobby .lobby-actions>button[data-lobby-action=collection]{--lobby-action-accent:#8d73c4}#lobby .lobby-actions>button[data-lobby-action=collection]>.lobby-action-art{background-image:url(/assets/units/hero-roster-v4-normalized-v8.png),radial-gradient(circle,#fff4c814,#0000 70%);background-position:0 0,50%;background-size:400% 200%,100% 100%}#lobby .lobby-actions>button[data-lobby-action=leaderboard]{--lobby-action-accent:#b9674c}#lobby .lobby-actions>button[data-lobby-action=leaderboard]>.lobby-action-art{background-image:url(/assets/units/hero-roster-v4-normalized-v8.png),radial-gradient(circle,#fff4c814,#0000 70%);background-position:66.667% 100%,50%;background-size:400% 200%,100% 100%}#lobby .lobby-actions>button[data-lobby-action=quests]{--lobby-action-accent:#719d61}#lobby .lobby-actions>button[data-lobby-action=quests]>.lobby-action-art{background-image:url(/assets/units/unit-skins-wildwood-v7.png),radial-gradient(circle,#fff4c814,#0000 70%);background-position:33.333% 0,50%;background-size:400% 300%,100% 100%}#lobby .lobby-actions>button[data-lobby-action=gift]{--lobby-action-accent:#d7ad4b}#lobby .lobby-actions>button[data-lobby-action=gift]>.lobby-action-art{background-position:100% 0,50%}#lobby .lobby-card{justify-content:flex-start}#lobby .invite-friend-dock{top:25px;right:max(22px, env(safe-area-inset-right));z-index:4;color:#f6edd0;text-align:left;cursor:pointer;background:linear-gradient(90deg,#164252f5,#226883f5),#1d627c;border:1px solid #76b8d2b8;border-radius:8px;grid-template-columns:58px minmax(0,1fr) 18px;align-items:center;width:min(222px,100vw - 30px);min-height:58px;padding:5px 9px 5px 5px;transition:border-color .16s,filter .16s,transform .16s;display:grid;position:fixed;overflow:hidden;box-shadow:inset 0 1px #ebfbff33,inset 0 -3px #051c267a,0 7px 18px #02090c57}#lobby .invite-friend-dock:after{content:"";pointer-events:none;background:linear-gradient(110deg,#0000 26%,#e5f9ff24 48%,#0000 69%);transition:transform .38s;position:absolute;inset:0;transform:translate(-130%)}#lobby .invite-friend-dock:hover{filter:brightness(1.08);border-color:#9fdef4;transform:translateY(-1px)}#lobby .invite-friend-dock:hover:after{transform:translate(130%)}#lobby .invite-friend-dock>span,#lobby .invite-friend-dock>em{z-index:1;position:relative}#lobby .invite-friend-dock>span:not(.invite-friend-portraits){gap:2px;min-width:0;display:grid}#lobby .invite-friend-dock b{letter-spacing:.055em;white-space:nowrap;font-family:Georgia,Times New Roman,serif;font-size:13px}#lobby .invite-friend-dock small{color:#c4dce2;text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:750;line-height:1.2;overflow:hidden}#lobby .invite-friend-dock>em{color:#f5d77b;background:#241d0c85;border:1px solid #efd5899e;border-radius:50%;place-items:center;width:17px;height:17px;font-size:14px;font-style:normal;font-weight:900;display:grid}#lobby .invite-friend-portraits{align-self:stretch;min-width:0;display:block;position:relative}#lobby .invite-friend-portraits i{filter:drop-shadow(0 3px 2px #0000007a);background-image:url(/assets/units/hero-roster-v4-normalized-v8.png);background-repeat:no-repeat;background-size:400% 200%;width:43px;height:43px;display:block;position:absolute;bottom:-3px}#lobby .invite-friend-portraits i:first-child{background-position:0 0;left:-2px}#lobby .invite-friend-portraits i:last-child{background-position:66.667% 0;right:-2px}@media (max-width:920px){#lobby .invite-friend-dock{top:18px;right:max(14px, env(safe-area-inset-right));grid-template-columns:51px minmax(0,1fr) 17px;width:190px}}@media (max-width:1100px){#lobby .lobby-brand{min-height:128px;padding-bottom:56px}#lobby .invite-friend-dock{top:auto;bottom:7px;right:max(8px, env(safe-area-inset-right));grid-template-columns:36px minmax(0,1fr);width:max-content;min-width:132px;max-width:calc(100% - 16px);min-height:44px;padding:4px 7px 4px 4px;position:absolute}#lobby .invite-friend-dock b{letter-spacing:.025em;font-size:9px}#lobby .invite-friend-dock small,#lobby .invite-friend-dock>em{display:none}#lobby .invite-friend-portraits i{width:31px;height:31px}#lobby .invite-friend-portraits i:first-child{left:-2px}#lobby .invite-friend-portraits i:last-child{right:-3px}}#lobby .collection-item,#lobby .collection-item.default-skin{cursor:default;grid-template-rows:138px minmax(72px,1fr) 32px;min-height:286px}#lobby .collection-item.locked{opacity:.84;filter:grayscale(.28)saturate(.82)}#lobby .collection-card-action{border:1px solid color-mix(in srgb, var(--cosmetic-tint,#c4a44e) 58%, #344437);color:#eed48c;letter-spacing:.055em;cursor:pointer;background:linear-gradient(#374c32f2,#142318fa);border-radius:5px;width:100%;min-height:32px;padding:5px 7px;font-size:8px;font-weight:900;box-shadow:inset 0 1px #fff5d10f}#lobby .collection-card-action:hover:not(:disabled){color:#fff0b4;background:linear-gradient(#4d6239,#263b29);border-color:#dfb94f}#lobby .collection-card-action.confirming{color:#fff4c6;background:linear-gradient(#8d6b23,#584018);border-color:#efc450;animation:.7s ease-in-out infinite alternate skin-purchase-confirm}#lobby .collection-card-action:disabled{opacity:.46;cursor:default}@keyframes skin-purchase-confirm{to{box-shadow:0 0 12px #e8bd4747}}#lobby .world-party-card{width:min(780px,100%);max-height:min(850px,100vh - 32px);overflow:auto}#lobby .profile-identity-tools{background:#07100b61;border:1px solid #77a19c33;border-radius:7px;gap:7px;margin-top:12px;padding:8px 9px;display:grid}#lobby .profile-identity-tools[hidden]{display:none}#lobby .profile-identity-summary{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;display:grid}#lobby .profile-identity-tools span{gap:2px;min-width:0;display:grid}#lobby .profile-identity-tools small{color:#789188;letter-spacing:.12em;font-size:7px;font-weight:900}#lobby .profile-identity-tools b{color:#d9c996;letter-spacing:.08em;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}#lobby .profile-account-tag{border-left:1px solid #77a19c26;padding-left:8px}#lobby .profile-identity-summary>button{color:#cfbd89;cursor:pointer;background:#1b3021;border:1px solid #c9ad5d47;border-radius:5px;min-height:28px;padding:0 8px;font-size:7px;font-weight:900}#lobby .profile-identity-copy{color:#d5e3df;text-align:left;cursor:pointer;background:#152f2d9e;border:1px solid #6f9fab40;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:35px;padding:6px 8px;display:grid}#lobby .profile-identity-copy em{color:#91b7bd;letter-spacing:.08em;font-size:7px;font-style:normal;font-weight:900}#lobby .profile-identity-copy:hover{background:#1b3e3bb8;border-color:#89c0cc8c}#lobby .ruler-name-label{justify-content:space-between;align-items:center;gap:12px;display:flex}#lobby .ruler-name-label small{color:#778c7e;letter-spacing:.11em;font-size:7px}#lobby .ruler-name-help{color:#7f9083;margin:5px 0 0;font-size:8px;line-height:1.4}#lobby .profile-rename-card{width:min(470px,100%)}#lobby .profile-rename-card>p:not(.eyebrow,.draft-note){color:#9eaa9c;font-size:10px;line-height:1.55}#lobby #profile-rename-form{gap:10px;margin-top:16px;display:grid}#lobby #profile-rename-form label{color:#9d936e;letter-spacing:.1em;gap:6px;font-size:8px;font-weight:900;display:grid}#lobby #profile-rename-form input,#lobby #profile-rename-form button{border:1px solid #d2b35b4d;border-radius:6px;min-height:39px}#lobby #profile-rename-form input{color:#ece0bd;background:#0d1d13;outline:0;padding:0 11px}#lobby #profile-rename-form input:focus{border-color:#c1a353;box-shadow:0 0 0 2px #c1a35321}#lobby #profile-rename-form button{color:#fff0b2;cursor:pointer;background:linear-gradient(#7d6327,#513d18);font-size:9px;font-weight:900}#lobby .world-party-card>header,#lobby .world-party-incoming>header{justify-content:space-between;align-items:center;gap:14px;display:flex}#lobby .world-party-card h2,#lobby .world-party-card h3,#lobby .world-party-card p{margin-top:0}#lobby .world-party-state-badge{color:#9dd2d7;letter-spacing:.11em;white-space:nowrap;background:#19393db8;border:1px solid #66aabb61;border-radius:999px;padding:7px 10px;font-size:8px;font-weight:900}#lobby .world-party-state-badge.connected{color:#b7dda1;background:#234928b8;border-color:#7bbe7680}#lobby .world-party-rule{color:#9da99a;background:#070f0a7a;border:1px solid #c2a65a33;border-left:3px solid #b39548;border-radius:7px;margin:14px 0;padding:10px 12px;font-size:10px;line-height:1.52}#lobby .world-party-rule strong{color:#ead69b}#lobby .world-party-status-card{background:radial-gradient(circle at 6% 48%,#4e828b2e,#0000 31%),linear-gradient(135deg,#172b25,#0a1710);border:1px solid #6fa1aa47;border-radius:10px;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid}#lobby .world-party-seal{color:#b4d8d7;background:radial-gradient(circle,#365a59,#142622 72%);border:1px solid #7eb4bc73;border-radius:50%;place-items:center;width:46px;height:46px;font-size:21px;display:grid}#lobby .world-party-status-card div{gap:3px;display:grid}#lobby .world-party-status-card small,#lobby .world-party-invite-grid>section>small,#lobby .world-party-incoming small{color:#799b94;letter-spacing:.13em;font-size:7px;font-weight:900}#lobby .world-party-status-card strong{color:#e9ddb9;font-size:13px}#lobby .world-party-status-card p{color:#829187;margin-bottom:0;font-size:9px}#lobby #world-party-retry{color:#b9dcda;cursor:pointer;background:#1b3835;border:1px solid #7eb4bc6b;border-radius:6px;min-height:34px;padding:0 11px;font-size:8px;font-weight:900}#lobby #world-party-retry[hidden]{display:none}#lobby .world-party-invite-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}#lobby .world-party-invite-grid>section,#lobby .world-party-incoming{background:#070f0a6e;border:1px solid #dec68621;border-radius:9px;padding:13px}#lobby .world-party-invite-grid h3,#lobby .world-party-incoming h3{color:#eadcb4;margin:4px 0 6px;font-size:14px}#lobby .world-party-invite-grid p,#lobby .world-party-incoming p{color:#87958a;font-size:9px;line-height:1.45}#lobby .world-party-invite-grid button,#lobby .world-party-incoming button,#lobby .world-party-account-form input{color:#e7d5a3;background:#182b1e;border:1px solid #ccae5b47;border-radius:6px;min-height:36px;font-size:8px;font-weight:900}#lobby .world-party-invite-grid button,#lobby .world-party-incoming button{cursor:pointer;padding:0 11px}#lobby .world-party-invite-grid>section>button{width:100%}#lobby .world-party-link-field{grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-top:7px;display:grid}#lobby .world-party-link-field input{color:#b8d4cf;text-overflow:ellipsis;background:#0c1913;border:1px solid #6fa1aa47;border-radius:6px;outline:0;min-width:0;min-height:36px;padding:0 10px;font-size:8px;overflow:hidden}#lobby .world-party-link-field input:focus{border-color:#6fa1aa;box-shadow:0 0 0 2px #6fa1aa21}#lobby .world-party-account-form{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}#lobby .world-party-account-form input{outline:0;min-width:0;padding:0 10px}#lobby .world-party-account-form input:focus{border-color:#b79a4f;box-shadow:0 0 0 2px #b79a4f21}#lobby .world-party-account-form button.requires-auth{color:#d8ecf5;background:linear-gradient(#294153,#1a2d39);border-color:#79a4be85}#lobby .world-party-incoming{margin-top:10px}#lobby #world-party-invite-list{gap:6px;margin-top:8px;display:grid}#lobby .world-party-invite-entry{background:#1e3223b8;border-radius:6px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:8px;display:grid}#lobby .world-party-invite-entry span{gap:2px;min-width:0;display:grid}#lobby .world-party-invite-entry b{color:#e7d9af;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}#lobby .world-party-invite-entry em{color:#819287;font-size:8px;font-style:normal}#lobby .world-party-invite-entry .decline{color:#d6a093;border-color:#aa5b4661}#lobby #world-party-note{min-height:16px;margin-bottom:0}@media (max-width:650px){#lobby .world-party-invite-grid,#lobby .world-party-account-form{grid-template-columns:1fr}#lobby .world-party-status-card{grid-template-columns:42px minmax(0,1fr)}#lobby #world-party-retry{grid-column:1/-1}#lobby .world-party-invite-entry{grid-template-columns:minmax(0,1fr) auto}#lobby .world-party-invite-entry span{grid-column:1/-1}#lobby .lobby-actions>button{grid-template-columns:38px minmax(0,1fr);min-height:58px;padding:7px}#lobby .lobby-actions>button>.lobby-action-art{border-radius:7px;width:36px;height:36px}}@media (prefers-reduced-motion:reduce){#lobby .lobby-actions>button,#lobby .lobby-actions>button:before,#lobby .lobby-actions>button>.lobby-action-art{transition:none}#lobby .lobby-actions>button:before{display:none}#lobby .collection-card-action.confirming{animation:none}}#lobby .lobby-actions>button[data-lobby-action=quests]>.lobby-action-art,#lobby .lobby-actions>button[data-lobby-action=leaderboard]>.lobby-action-art{background-position:50%;background-repeat:no-repeat;background-size:92% 92%}#lobby .lobby-actions>button[data-lobby-action=quests]>.lobby-action-art{background-image:url(/assets/lobby/generated/realmfall-quest-scroll-v1.webp),radial-gradient(circle,#e1b75629,#0000 72%)}#lobby .lobby-actions>button[data-lobby-action=leaderboard]>.lobby-action-art{background-image:url(/assets/lobby/generated/realmfall-leaderboard-crest-v1.webp),radial-gradient(circle,#e19e5626,#0000 72%)}#lobby .shop-modal .modal-card{scrollbar-color:#8d7639 #0c1710;scrollbar-width:thin;width:min(900px,100%);max-height:min(860px,100vh - 28px);overflow-y:auto}#lobby .shop-tabs{z-index:2;background:#0c1810f5;padding-top:7px;position:sticky;top:-18px;box-shadow:0 8px 16px #0208042e}#lobby .case-list{grid-template-columns:repeat(2,minmax(310px,1fr));gap:12px}#lobby .case-list>article{--case-accent:#b8904a;isolation:isolate;border-color:color-mix(in srgb, var(--case-accent) 35%, #2d3d31);background:radial-gradient(circle at 12% 52%, color-mix(in srgb, var(--case-accent) 17%, transparent), transparent 41%), linear-gradient(140deg, #1e3122f7, #060f0af5);grid-template-rows:minmax(48px,auto) auto;grid-template-columns:124px minmax(0,1fr);gap:8px 14px;min-height:158px;padding:13px 14px;transition:transform .18s,border-color .18s,box-shadow .18s;position:relative;box-shadow:inset 0 1px #fff4d20e,0 9px 22px #00000029}#lobby .case-list>article:before{content:"";z-index:-1;background:linear-gradient(transparent, var(--case-accent) 30% 70%, transparent);opacity:.72;width:4px;position:absolute;inset:0 auto 0 0}#lobby .case-list>article:hover{border-color:color-mix(in srgb, var(--case-accent) 70%, #e8ce8b);transform:translateY(-2px);box-shadow:0 13px 29px #00000040}#lobby .case-list>article[data-case-card=uncommon]{--case-accent:#63a86a}#lobby .case-list>article[data-case-card=epic]{--case-accent:#9a65d7}#lobby .case-list>article[data-case-card=legendary]{--case-accent:#e1a83e}#lobby .case-art{filter:drop-shadow(0 8px 7px #00000061);background-size:400% 300%;grid-row:1/span 2;align-self:center;width:120px;height:108px;transform:translateZ(0)}#lobby .case-list>article>span{align-self:end}#lobby .case-list b{color:color-mix(in srgb, var(--case-accent) 46%, #fff0c8);font-family:Georgia,Times New Roman,serif;font-size:14px}#lobby .case-list small{max-width:210px;font-size:9px}#lobby .case-actions{grid-template-columns:minmax(112px,1fr) minmax(70px,auto);align-self:start;gap:7px}#lobby .case-actions button{border-color:color-mix(in srgb, var(--case-accent) 40%, #50634d);background:linear-gradient(#324d37,#203426);min-height:36px;padding:0 10px}#lobby .case-actions button:last-child{background:linear-gradient(180deg, color-mix(in srgb, var(--case-accent) 78%, #8a6b2b), color-mix(in srgb, var(--case-accent) 55%, #443718));color:#f8e8b8;min-width:70px}#lobby .upgrade-list{gap:12px}#lobby .upgrade-list button{--upgrade-accent:#c5a04b;isolation:isolate;border-color:color-mix(in srgb, var(--upgrade-accent) 33%, #344638);background:radial-gradient(circle at 10% 50%, color-mix(in srgb, var(--upgrade-accent) 16%, transparent), transparent 36%), linear-gradient(145deg, #1b3021, #0a1710 84%);border-radius:10px;grid-template-columns:76px minmax(0,1fr) auto;gap:13px;min-height:122px;padding:12px 14px;transition:transform .18s,border-color .18s,filter .18s;overflow:hidden;box-shadow:inset 0 1px #fff6d70e,0 8px 21px #0000002b}#lobby .upgrade-list button:hover:not(:disabled){border-color:color-mix(in srgb, var(--upgrade-accent) 68%, #dbc77d);background:radial-gradient(circle at 10% 50%, color-mix(in srgb, var(--upgrade-accent) 23%, transparent), transparent 40%), linear-gradient(145deg, #243c29, #0e1d14 84%);transform:translateY(-2px)}#lobby .upgrade-list button[data-upgrade=builders_guild]{--upgrade-accent:#b88855}#lobby .upgrade-list button[data-upgrade=quartermaster]{--upgrade-accent:#5a9a68}#lobby .upgrade-list button[data-upgrade=prospector]{--upgrade-accent:#d49d36}#lobby .upgrade-list button[data-upgrade=veteran_training]{--upgrade-accent:#ad5a4c}#lobby .upgrade-icon{border:1px solid color-mix(in srgb, var(--upgrade-accent) 47%, #2d3f31);background-color:#070f0a8a;background-position:50%;background-repeat:no-repeat;background-size:92%;border-radius:12px;width:72px;height:72px;position:relative;box-shadow:inset 0 0 0 2px #0208046b,0 7px 14px #00000040}#lobby .upgrade-icon-treasury{background-image:url(/assets/lobby/generated/upgrade-starting-treasury-v1.webp)}#lobby .upgrade-icon-builders{background-image:url(/assets/lobby/generated/upgrade-builders-guild-v1.webp)}#lobby .upgrade-icon-quartermaster{background-image:url(/assets/lobby/generated/upgrade-quartermaster-v1.webp)}#lobby .upgrade-icon-prospector{background-image:url(/assets/lobby/generated/upgrade-prospector-v1.webp)}#lobby .upgrade-icon-veteran{background-image:url(/assets/lobby/generated/upgrade-veteran-training-v1.webp)}#lobby .upgrade-list b{color:#f0dfb2;font-family:Georgia,Times New Roman,serif;font-size:14px}#lobby .upgrade-list small{color:#91a08f;max-width:230px;font-size:9px;line-height:1.45}#lobby .upgrade-list em{border:1px solid color-mix(in srgb, var(--upgrade-accent) 35%, transparent);color:color-mix(in srgb, var(--upgrade-accent) 62%, #f4e5b8);background:#060e098c;border-radius:999px;align-self:start;padding:5px 7px}#lobby .upgrade-list button:after{background:linear-gradient(90deg, var(--upgrade-accent) var(--upgrade-progress,0%), #27372b var(--upgrade-progress,0%));height:4px;box-shadow:0 0 8px color-mix(in srgb, var(--upgrade-accent) 25%, transparent);inset:auto 14px 10px 103px}#lobby .upgrade-list button.rank-up{animation:.86s ease-out realmfall-upgrade-card}#lobby .upgrade-list button.rank-up .upgrade-icon{animation:.86s ease-out realmfall-upgrade-icon}#lobby .upgrade-list button.rank-up .upgrade-icon:after{content:"✦";color:#ffe795;text-shadow:0 0 12px #f0ba3f;font-size:23px;animation:.86s ease-out forwards realmfall-upgrade-spark;position:absolute;inset:50% auto auto 50%}@keyframes realmfall-upgrade-card{0%{box-shadow:inset 0 0 #fd70,0 8px 21px #0000002b}34%{border-color:#f1cb63;box-shadow:inset 0 0 28px #efbe4742,0 0 24px #efbe473d}to{box-shadow:inset 0 0 #fd70,0 8px 21px #0000002b}}@keyframes realmfall-upgrade-icon{0%,to{transform:scale(1)rotate(0)}38%{filter:brightness(1.3);transform:scale(1.13)rotate(-2deg)}}@keyframes realmfall-upgrade-spark{0%{opacity:1;transform:translate(-50%,-50%)scale(.45)rotate(0)}to{opacity:0;transform:translate(-50%,-50%)scale(2.2)rotate(38deg)}}@media (max-width:740px){#lobby .case-list,#lobby .upgrade-list{grid-template-columns:1fr}#lobby .shop-modal .modal-card{padding-inline:14px}}@media (max-width:430px){#lobby .case-list>article{grid-template-columns:94px minmax(0,1fr);min-height:146px;padding:10px}#lobby .case-art{width:92px;height:84px}#lobby .case-actions{grid-template-columns:1fr}#lobby .case-actions button:last-child{min-height:32px}#lobby .upgrade-list button{grid-template-columns:58px minmax(0,1fr) auto;min-height:108px;padding:10px}#lobby .upgrade-icon{width:56px;height:56px}#lobby .upgrade-list button:after{left:78px}}@media (prefers-reduced-motion:reduce){#lobby .upgrade-list button.rank-up,#lobby .upgrade-list button.rank-up .upgrade-icon,#lobby .upgrade-list button.rank-up .upgrade-icon:after{animation:none}}#lobby .profile-hero-art{background-image:radial-gradient(circle at 50% 45%,#d5b14e33,#0000 70%);background-position:50%;background-size:100% 100%}#lobby .lobby-actions>button[data-lobby-action=options]{--lobby-action-accent:#6f96a3}#lobby .lobby-actions>button[data-lobby-action=options]>.lobby-action-art{background-image:url(/assets/lobby/generated/realmfall-options-gears-v1.webp),radial-gradient(circle,#7ab2bb2e,#0000 72%);background-position:50%;background-repeat:no-repeat;background-size:92% 92%}#lobby .collection-modal>.modal-card{scrollbar-color:#8c773d #0c1710;scrollbar-width:thin;width:min(1180px,100vw - 36px);max-height:min(860px,100vh - 30px);padding:30px 32px 26px}#lobby .collection-modal .collection-list{gap:12px;min-height:316px;padding-bottom:15px}#lobby .collection-modal .collection-item,#lobby .collection-modal .collection-item.default-skin{flex-basis:214px;grid-template-rows:156px minmax(78px,1fr) 34px;min-height:308px;padding:10px 11px 12px}#lobby .collection-modal .collection-art,#lobby .collection-modal .default-skin-art{width:192px;height:156px;margin-inline:auto}#lobby .options-card{scrollbar-color:#78939a #0c1710;scrollbar-width:thin;width:min(720px,100%);max-height:min(850px,100vh - 30px);padding:29px 31px 25px;overflow:auto}#lobby .options-card>header{border-bottom:1px solid #d1bf8921;align-items:center;min-height:78px;padding-right:54px}#lobby .options-gear-emblem{filter:drop-shadow(0 7px 7px #00000057);background:url(/assets/lobby/generated/realmfall-options-gears-v1.webp) 50%/contain no-repeat;flex:0 0 76px;width:76px;height:76px;display:block}#lobby .options-intro{color:#96a597;margin:15px 0;font-size:10px;line-height:1.55}#lobby .options-section{background:radial-gradient(circle at 3% 8%,#69969a1a,#0000 35%),#060f0a6e;border:1px solid #dac38524;border-radius:10px;margin-top:11px;padding:14px;box-shadow:inset 0 1px #fff2c909}#lobby .options-section-heading{grid-template-columns:37px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:11px;display:grid}#lobby .options-section-heading>span{color:#a8d0ce;background:linear-gradient(145deg,#254039,#10221a);border:1px solid #72a4ac47;border-radius:8px;place-items:center;width:35px;height:35px;font-size:18px;display:grid}#lobby .options-section-heading h3,#lobby .options-section-heading p{margin:0}#lobby .options-section-heading h3{color:#ebddb6;letter-spacing:.08em;font:800 12px Georgia,Times New Roman,serif}#lobby .options-section-heading p{color:#7f9084;margin-top:3px;font-size:8px;line-height:1.35}#lobby .options-range-list,#lobby .options-toggle-list{gap:7px;display:grid}#lobby .options-range-list>label,#lobby .options-toggle-list>label{background:#0f1f158c;border:1px solid #bdb2871a;border-radius:7px;align-items:center;min-height:54px;padding:8px 10px;display:grid}#lobby .options-range-list>label{grid-template-columns:minmax(145px,.72fr) minmax(150px,1fr) 44px;gap:13px}#lobby .options-range-list label>span,#lobby .options-toggle-list label>span{gap:2px;display:grid}#lobby .options-range-list b,#lobby .options-toggle-list b{color:#e2d5ae;font-size:10px}#lobby .options-range-list small,#lobby .options-toggle-list small{color:#7f9083;font-size:8px}#lobby .options-range-list input[type=range]{appearance:none;background:linear-gradient(90deg, #c5a34e var(--range-progress,50%), #26372c var(--range-progress,50%));cursor:pointer;border-radius:99px;outline:0;width:100%;height:5px;margin:0;box-shadow:inset 0 1px 2px #0000008c}#lobby .options-range-list input[type=range]::-webkit-slider-thumb{appearance:none;background:#30483a;border:2px solid #ead17a;border-radius:50%;width:16px;height:16px;box-shadow:0 2px 6px #00000073}#lobby .options-range-list input[type=range]::-moz-range-thumb{background:#30483a;border:2px solid #ead17a;border-radius:50%;width:13px;height:13px}#lobby .options-range-list output{color:#e9ca72;text-align:right;font-size:10px;font-weight:900}#lobby .options-toggle-list>label{cursor:pointer;grid-template-columns:minmax(0,1fr) 43px;gap:12px;position:relative}#lobby .options-toggle-list input{opacity:0;width:1px;height:1px;position:absolute}#lobby .options-toggle-list i{background:#17251b;border:1px solid #4b5a4e;border-radius:99px;width:42px;height:23px;transition:border-color .16s,background .16s;display:block;position:relative;box-shadow:inset 0 2px 5px #0000006b}#lobby .options-toggle-list i:after{content:"";background:#849187;border-radius:50%;width:15px;height:15px;transition:background .16s,transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 2px 5px #00000073}#lobby .options-toggle-list input:checked+i{background:#5d5327;border-color:#9a8849}#lobby .options-toggle-list input:checked+i:after{background:#f0ce69;transform:translate(19px)}#lobby .options-toggle-list input:focus-visible+i,#lobby .options-range-list input:focus-visible{outline-offset:3px;outline:2px solid #eaca68b8}#lobby .options-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:14px;display:flex}#lobby .options-footer button{color:#ddc986;letter-spacing:.07em;cursor:pointer;background:linear-gradient(#2e4734,#1a2d20);border:1px solid #cdae5a47;border-radius:6px;min-height:36px;padding:0 12px;font-size:8px;font-weight:900}#lobby .options-footer button:hover{filter:brightness(1.08);border-color:#c9a84f}#lobby .options-footer p{color:#82958a;margin:0;font-size:9px}@media (min-width:651px){body .lobby .lobby-shell{align-items:start}body .lobby .lobby-card{align-self:start}}@media (min-width:1100px) and (min-height:560px){body .lobby .lobby-brand{gap:15px;min-height:128px;padding-top:29px}body .lobby .lobby-brand h1{font-size:clamp(40px,4vw,56px)}body .lobby .brand-crest{width:57px;height:65px}body .lobby .lobby-shell{grid-template-columns:minmax(280px,.84fr) minmax(390px,1.16fr) minmax(280px,.84fr);align-items:start;gap:16px;width:min(1240px,100% - 42px)}body .lobby .profile-panel{padding:24px 22px}body .lobby .lobby-card{padding:31px 35px 26px}body .lobby .lobby-actions{gap:9px;padding:20px}#lobby .lobby-actions>button{grid-template-columns:55px minmax(0,1fr) 13px;min-height:68px;padding:8px 10px 8px 8px}#lobby .lobby-actions>button>.lobby-action-art{width:53px;height:53px}#lobby .lobby-actions button b{font-size:10.5px}#lobby .lobby-actions button small,#lobby .live-realm-card small{font-size:8.5px}#lobby .profile-heading{grid-template-columns:54px minmax(0,1fr) auto;gap:13px;padding-bottom:18px}#lobby .profile-avatar{width:54px;height:54px}#lobby .profile-heading strong{font-size:20px}#lobby .profile-heading small,#lobby .profile-currency small,#lobby .profile-stats dt{font-size:8.5px}#lobby .profile-logout{min-height:27px;padding-inline:8px;font-size:7.5px}#lobby .profile-currency{gap:14px;padding:14px 15px}#lobby .profile-currency>span{width:24px;height:24px}#lobby .profile-currency strong{font-size:24px}#lobby .profile-level-row{font-size:9.5px}#lobby .profile-level-row b{font-size:17px}#lobby .profile-xp-track{height:8px}#lobby .profile-stats div{gap:5px;padding:10px}#lobby .profile-stats dd{font-size:17px}#lobby .profile-identity-tools{padding:10px 11px}#lobby .profile-identity-tools small{font-size:7.5px}#lobby .profile-identity-tools b{font-size:10.5px}#lobby .profile-identity-tools button{min-height:31px;padding-inline:9px;font-size:7.5px}#lobby .lobby-card .tagline{font-size:14px}#lobby .field-label,#lobby .banner-picker legend{font-size:9.5px}#lobby .name-field{height:56px;margin-block:9px 19px}#lobby .name-field>span{flex-basis:52px}#lobby #player-name{font-size:16px}#lobby .banner{width:32px;height:39px}#lobby .play-button{height:68px;padding-inline:19px}#lobby .button-rune{width:39px;font-size:24px}#lobby .play-button b{font-size:14px}#lobby .play-button small,#lobby .controls-hint{font-size:9.5px}#lobby .controls-hint kbd{padding:3px 6px}}@media (min-width:1100px) and (min-height:560px) and (max-height:679px){body .lobby .lobby-brand{min-height:91px;padding:11px 18px 8px}body .lobby .brand-crest{width:50px;height:57px}body .lobby .lobby-shell{margin-bottom:3px}body .lobby .profile-panel{padding-block:18px}#lobby .profile-identity-tools{gap:5px;margin-top:9px;padding-block:6px}#lobby .profile-identity-copy{min-height:31px;padding-block:4px}#lobby .auth-modal>.auth-card{padding-block:16px}#lobby .auth-card .auth-crest{margin:0 0 5px;font-size:36px}#lobby .auth-card .local-auth-form{gap:7px;margin:11px 0 8px}#lobby .auth-card .auth-divider{margin:10px 0 8px}#lobby .auth-card #auth-provider-status{min-height:12px;margin-top:6px}body .lobby .lobby-card{padding-block:23px 19px}body .lobby .lobby-actions{gap:6px;padding-block:12px}#lobby .lobby-actions>button{min-height:61px}#lobby .live-realm-card{display:none}#lobby .options-card{padding-block:14px 11px}#lobby .options-card>header{min-height:61px}#lobby .options-gear-emblem{flex-basis:60px;width:60px;height:60px}#lobby .options-intro{margin-block:7px}#lobby .options-section{margin-top:8px;padding:10px 12px}#lobby .options-section-heading{margin-bottom:7px}#lobby .options-range-list>label,#lobby .options-toggle-list>label{min-height:45px;padding-block:6px}#lobby .options-footer{margin-top:9px}}@media (max-width:650px){#lobby .collection-modal>.modal-card,#lobby .options-card{width:100%;padding:23px 16px 18px}#lobby .collection-modal .collection-item,#lobby .collection-modal .collection-item.default-skin{flex-basis:184px}#lobby .collection-modal .collection-art,#lobby .collection-modal .default-skin-art{width:162px}#lobby .options-card>header{min-height:61px;padding-right:34px}#lobby .options-gear-emblem{flex-basis:58px;width:58px;height:58px}#lobby .options-range-list>label{grid-template-columns:minmax(0,1fr) 43px}#lobby .options-range-list input[type=range]{grid-area:2/1/auto/-1}#lobby .options-range-list output{grid-area:1/2}#lobby .options-footer{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){#lobby .options-toggle-list i,#lobby .options-toggle-list i:after{transition:none}}@media (hover:none),(pointer:coarse),(any-pointer:coarse){#lobby .shop-tabs button,#lobby .case-actions button,#lobby .world-party-invite-grid button,#lobby .world-party-incoming button,#lobby .world-party-link-field input,#lobby .world-party-account-form input,#lobby .options-footer button,#lobby .local-auth-form button,#lobby .auth-buttons button,#lobby .profile-login-strip button{box-sizing:border-box;min-block-size:44px}#lobby .world-party-invite-grid button,#lobby .world-party-incoming button{min-inline-size:44px}#lobby .banner{box-sizing:border-box;clip-path:none;filter:none;background:0 0;border:0;width:44px;height:44px;position:relative}#lobby .banner:before{box-sizing:border-box;background:var(--banner);clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);content:"";filter:drop-shadow(0 4px 4px #00000047);pointer-events:none;border:2px solid #080e0abf;width:29px;height:36px;transition:transform .17s,filter .17s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#lobby .banner:hover,#lobby .banner.active{filter:none;transform:none}#lobby .banner:hover:before,#lobby .banner.active:before{filter:brightness(1.25)drop-shadow(0 5px 5px #00000057);transform:translate(-50%,calc(-50% - 3px))}}@media (max-width:820px) and (orientation:portrait){body .lobby{grid-template-rows:calc(88px + env(safe-area-inset-top)) minmax(0, 1fr);overscroll-behavior:none;width:100%;height:100dvh;min-height:0;padding:0;display:grid;overflow:hidden}body .lobby .lobby-brand{height:100%;min-height:0;padding:max(7px, env(safe-area-inset-top)) 10px 39px;grid-row:1;gap:8px}body .lobby .brand-crest{border-radius:8px;width:38px;height:44px}body .lobby .lobby-brand p{display:none}body .lobby .lobby-brand h1{font-size:clamp(27px,6.8vw,36px)}#lobby .invite-friend-dock{top:auto;right:max(7px, env(safe-area-inset-right));min-width:126px;min-height:44px;max-height:44px;padding-block:2px;bottom:3px}#lobby .invite-friend-portraits i{width:28px;height:28px}#lobby .language-selector{inset-inline-start:max(7px, env(safe-area-inset-left));top:max(7px, env(safe-area-inset-top));bottom:auto}#lobby .language-selector>button{min-width:44px;min-height:44px;padding:5px 8px}#lobby .language-selector-menu{max-height:min(430px,100dvh - 68px);top:calc(100% + 7px);bottom:auto}body .lobby .lobby-shell{min-width:0;height:auto;min-height:0;max-height:none;margin:0 auto max(7px, env(safe-area-inset-bottom));grid-row:2;overflow:hidden}}@media (max-width:1100px) and (max-height:680px) and (orientation:landscape){body .lobby{grid-template-rows:calc(52px + env(safe-area-inset-top)) minmax(0, 1fr);overscroll-behavior:none;width:100%;height:100dvh;min-height:0;padding:0;display:grid;overflow:hidden}body .lobby .lobby-brand{height:100%;min-height:0;padding:max(4px, env(safe-area-inset-top)) 148px 4px 54px;grid-row:1;gap:6px}body .lobby .brand-crest{border-radius:7px;width:31px;height:36px}body .lobby .lobby-brand p{display:none}body .lobby .lobby-brand h1{font-size:clamp(25px,4.4vw,32px)}#lobby .invite-friend-dock{top:max(4px, env(safe-area-inset-top));right:max(5px, env(safe-area-inset-right));min-width:132px;min-height:44px;max-height:44px;padding-block:3px;bottom:auto}#lobby .invite-friend-portraits i{width:30px;height:30px}#lobby .language-selector{inset-inline-start:max(5px, env(safe-area-inset-left));top:max(4px, env(safe-area-inset-top));bottom:auto}#lobby .language-selector>button{min-width:44px;min-height:44px;padding:4px 7px}#lobby .language-selector-menu{max-height:calc(100dvh - 58px);top:calc(100% + 5px);bottom:auto}body .lobby .lobby-shell{width:calc(100% - 12px);min-width:0;height:auto;min-height:0;max-height:none;margin:0 auto max(5px, env(safe-area-inset-bottom));grid-row:2;grid-template-columns:minmax(190px,.86fr) minmax(270px,1.16fr) minmax(190px,.9fr);gap:6px;display:grid;overflow:hidden}body .lobby .profile-panel,body .lobby .lobby-card,body .lobby .lobby-actions{grid-row:1;align-self:stretch;min-width:0;min-height:0}body .lobby .profile-panel{grid-column:1}body .lobby .lobby-card{grid-column:2}body .lobby .lobby-actions{grid-column:3}}@media (max-width:820px) and (orientation:portrait){#lobby .case-actions button,#lobby .case-actions button:last-child{min-height:44px}}@media (max-width:820px) and (orientation:portrait),(max-width:1100px) and (max-height:680px) and (orientation:landscape){body .lobby .lobby-panel{border-radius:11px;min-width:0;min-height:0}body .lobby .profile-panel{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-content:start;gap:5px 8px;padding:9px 10px;display:grid;overflow:hidden}#lobby .profile-heading{grid-column:1/-1;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;min-height:40px;padding-bottom:6px}#lobby .profile-avatar{width:38px;height:38px}#lobby .profile-heading strong{font-size:15px}#lobby .profile-logout{min-width:40px;min-height:36px;padding:4px 6px}#lobby .profile-currency{grid-area:2/1/span 2;align-self:stretch;gap:7px;min-height:40px;margin:0;padding:5px 7px}#lobby .profile-currency>span{width:19px;height:19px}#lobby .profile-currency strong{font-size:16px}#lobby .profile-level-row{grid-area:2/2;align-self:end;min-width:0;margin:0}#lobby .profile-level-row b{font-size:13px}#lobby .profile-level-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#lobby .profile-xp-track{grid-area:3/2;align-self:start;width:100%;height:5px;margin:0}#lobby .profile-stats,#lobby .profile-identity-tools,#lobby #profile-save-note,#lobby .profile-login-strip,#lobby .lobby-policy-links{grid-column:1/-1}#lobby .profile-stats{gap:5px;margin:0}#lobby .profile-stats div{gap:1px;min-height:30px;padding:3px 5px}#lobby .profile-stats dd{font-size:12px}#lobby #profile-save-note{display:none}#lobby .profile-login-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}#lobby .profile-login-strip>button,#lobby .profile-login-strip .social-login-row,#lobby .profile-login-strip .social-login-row>button{width:100%;min-width:0}#lobby .profile-login-strip button{min-height:42px;padding:4px 6px;font-size:9px;line-height:1.15}#lobby .lobby-policy-links{gap:8px;margin-top:0}#lobby .profile-identity-tools{gap:4px;margin-top:0;padding:5px 6px}#lobby .profile-identity-copy{min-height:31px;padding-block:3px}body .lobby .lobby-card{min-width:0;min-height:0;padding:13px 14px 10px;overflow:hidden}#lobby .lobby-card .tagline{text-overflow:ellipsis;white-space:nowrap;margin:2px 0 7px;font-size:11px;line-height:1.25;overflow:hidden}#lobby .ruler-name-label small,#lobby .ruler-name-help,#lobby .lobby-card .controls-hint{display:none}#lobby .name-field{height:44px;margin:4px 0 6px}#lobby .name-field>span{flex-basis:40px}#lobby #player-name{font-size:16px}#lobby .lobby-card .banner-picker{justify-content:space-between;gap:2px;margin-bottom:6px}#lobby .banner-picker legend{margin-bottom:2px}#lobby .play-button{height:50px;min-height:50px;padding-inline:10px}#lobby .button-rune{width:30px;font-size:19px}#lobby .play-button b{font-size:11px}#lobby .play-button small{font-size:8px}#lobby .play-arrow{font-size:25px}#lobby .lobby-card .connection-status{text-overflow:ellipsis;white-space:nowrap;min-height:12px;margin:3px 0 0;font-size:8px;line-height:12px;overflow:hidden}body .lobby .lobby-actions{gap:5px;min-width:0;min-height:0;padding:7px;overflow:hidden}#lobby .lobby-actions>button{min-width:0;min-height:44px;padding:3px 6px 3px 3px}#lobby .lobby-actions>button>.lobby-action-art{border-radius:7px;width:38px;height:38px}#lobby .lobby-actions button div{min-width:0}#lobby .lobby-actions button b,#lobby .lobby-actions button small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#lobby .live-realm-card{display:none}body .lobby>#lobby-advertising-host:not([hidden]){right:8px;bottom:max(7px, env(safe-area-inset-bottom));z-index:4;width:auto;min-height:52px;margin:0 auto;position:absolute;left:8px}}@media (max-width:1100px) and (max-height:680px) and (orientation:landscape){body .lobby .lobby-card{justify-content:center}body .lobby .lobby-actions{grid-template-rows:repeat(6,minmax(44px,1fr));grid-template-columns:minmax(0,1fr);gap:3px;padding:5px}#lobby .lobby-actions>button{grid-template-columns:38px minmax(0,1fr);gap:5px}#lobby .lobby-actions button em{display:none}#lobby .lobby-actions button b{letter-spacing:.035em;font-size:9.5px}#lobby .lobby-actions button small{display:none}}@media (max-width:559px) and (orientation:portrait){body .lobby .lobby-shell{grid-template-rows:minmax(190px,1.1fr) minmax(154px,.95fr) minmax(158px,.9fr);grid-template-columns:minmax(0,1fr);gap:6px;width:calc(100% - 12px);display:grid}body .lobby .lobby-card{order:initial;grid-area:1/1;justify-content:center}body .lobby .profile-panel{order:initial;grid-area:2/1}body .lobby .lobby-actions{order:initial;grid-area:3/1;grid-template-rows:repeat(3,minmax(44px,1fr));grid-template-columns:repeat(2,minmax(0,1fr))}#lobby .lobby-actions>button{grid-template-columns:38px minmax(0,1fr);gap:5px}#lobby .lobby-actions button em{display:none}#lobby .lobby-actions button b{letter-spacing:.035em;font-size:10px}#lobby .lobby-actions button small{display:none}}@media (max-width:559px) and (max-height:780px) and (orientation:portrait){body .lobby{grid-template-rows:calc(88px + env(safe-area-inset-top)) minmax(0, 1fr)}body .lobby .lobby-brand{padding-bottom:39px}#lobby .profile-stats{display:none}#lobby .profile-heading{min-height:36px}#lobby .profile-avatar{width:34px;height:34px}#lobby .profile-login-strip button{min-height:38px}#lobby .lobby-card .tagline,#lobby .lobby-actions button small{display:none}}@media (min-width:560px) and (max-width:820px) and (orientation:portrait){body .lobby .lobby-shell{grid-template-rows:minmax(244px,auto) minmax(140px,auto);grid-template-columns:minmax(220px,.9fr) minmax(280px,1.1fr);align-self:start;gap:8px;width:calc(100% - 20px);max-width:760px;height:max-content;max-height:calc(100% - 8px);display:grid}body .lobby .profile-panel{grid-area:1/1;align-self:stretch}body .lobby .lobby-card{grid-area:1/2;justify-content:center;align-self:stretch}body .lobby .lobby-actions{grid-area:2/1/auto/-1;grid-template-rows:repeat(2,minmax(64px,1fr));grid-template-columns:repeat(3,minmax(0,1fr));display:grid}#lobby .lobby-actions>button{grid-template-columns:38px minmax(0,1fr) 10px;gap:7px}}@media (min-width:560px) and (max-width:650px) and (orientation:portrait){body .lobby .lobby-actions{grid-template-rows:repeat(3,minmax(64px,1fr));grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px) and (orientation:portrait){#lobby .invite-friend-dock{right:auto;inset-inline-end:max(7px, env(safe-area-inset-right))}}@media (max-width:1100px) and (max-height:680px) and (orientation:landscape){#lobby .invite-friend-dock{right:auto;inset-inline-end:max(5px, env(safe-area-inset-right))}}@media (max-width:820px) and (orientation:portrait){body .lobby{place-items:stretch center}body #lobby .lobby-brand{width:100%;height:100%;min-height:0;padding:max(7px, env(safe-area-inset-top)) 10px 39px;place-self:stretch stretch}body .lobby .lobby-shell{place-self:stretch center}}body #lobby.mobile-profile-layout{grid-template-rows:calc(52px + env(safe-area-inset-top)) auto minmax(0, 1fr);padding-inline:max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));padding-bottom:max(8px, env(safe-area-inset-bottom));gap:6px;display:grid;overflow:hidden}body #lobby.mobile-profile-layout .mobile-profile-summary{grid-row:2;grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%;min-width:0;max-width:1120px;margin-inline:auto;display:grid}body #lobby.mobile-profile-layout #mobile-profile-open{color:#f2e3ba;text-align:start;cursor:pointer;background:linear-gradient(115deg,#29402eeb,#102219eb);border:1px solid #bfac7157;border-radius:12px;align-items:center;gap:12px;width:100%;min-width:0;min-height:52px;padding:8px 14px;display:flex}body #lobby.mobile-profile-layout #mobile-profile-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:16px;font-weight:800;overflow:hidden}body #lobby.mobile-profile-layout :is(#mobile-profile-level,#mobile-profile-gold){white-space:nowrap;font-size:13px;font-weight:750}body #lobby.mobile-profile-layout .mobile-account-actions{gap:8px;display:flex}body #lobby.mobile-profile-layout .mobile-account-actions button{color:#f6e7bd;cursor:pointer;background:#314630;border:1px solid #caaf64;border-radius:10px;min-width:100px;min-height:48px;padding:8px 14px;font-size:13px;font-weight:800;line-height:1.3}body #lobby.mobile-profile-layout .mobile-account-actions [data-auth-intent=register]{color:#202a1c;background:linear-gradient(#e6c977,#b79647)}body #lobby.mobile-profile-layout .lobby-shell{grid-row:3;grid-template-rows:minmax(0,1fr) 68px;grid-template-columns:minmax(0,1fr);align-self:stretch;gap:8px;width:100%;max-width:1120px;height:auto;min-height:0;max-height:none;margin:0 auto;display:grid}body #lobby.mobile-profile-layout .lobby-card{grid-area:1/1;grid-template-rows:auto 48px 54px auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:center;gap:4px 20px;min-width:0;min-height:0;padding:8px 16px;display:grid}body #lobby.mobile-profile-layout .lobby-card>:is(.eyebrow,.tagline,.ruler-name-help,.controls-hint){display:none}body #lobby.mobile-profile-layout .ruler-name-label{grid-area:1/1;margin:0;font-size:12px;line-height:1.3}body #lobby.mobile-profile-layout .name-field{grid-area:2/1;width:100%;height:48px;min-height:48px;margin:0}body #lobby.mobile-profile-layout .banner-picker{grid-area:1/2/3;align-self:center;margin:0}body #lobby.mobile-profile-layout .banner-picker legend{margin-bottom:4px;font-size:12px}body #lobby.mobile-profile-layout .play-button{grid-area:3/1/auto/-1;height:54px;min-height:54px;margin:0}body #lobby.mobile-profile-layout .play-button b{letter-spacing:.04em;font-size:17px}body #lobby.mobile-profile-layout .play-button small{font-size:11px}body #lobby.mobile-profile-layout .lobby-card .connection-status{grid-area:4/1/auto/-1;margin:0;font-size:11px;line-height:1.3}body #lobby.mobile-profile-layout .lobby-actions{min-height:0;box-shadow:none;background:0 0;border:0;grid-area:2/1;grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:0;display:grid;overflow:visible}body #lobby.mobile-profile-layout .lobby-actions:before{display:none}body #lobby.mobile-profile-layout .lobby-actions>button{text-align:center;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;min-height:60px;padding:4px 6px;display:flex}body #lobby.mobile-profile-layout .lobby-actions>button>.lobby-action-art{flex-shrink:0;width:30px;height:30px}body #lobby.mobile-profile-layout .lobby-actions button b{letter-spacing:0;white-space:normal;font-size:12px;line-height:1.25;display:block;overflow:visible}body #lobby.mobile-profile-layout .lobby-actions button :is(small,em),body #lobby.mobile-profile-layout .live-realm-card{display:none}body #lobby.mobile-profile-layout #lobby-profile-panel.mobile-profile-dialog-open{z-index:102;width:100%;max-width:none;height:100dvh;max-height:none;padding:max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));background:linear-gradient(125deg,#24392a,#0b1a12 75%);border:0;border-radius:0;grid-template-rows:auto auto auto auto auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:center;gap:8px 28px;display:grid;position:fixed;inset:0;overflow-y:auto}body #lobby.mobile-profile-layout.mobile-profile-open .lobby-shell{z-index:102;overflow:visible}body #lobby.mobile-profile-layout #lobby-profile-panel .profile-heading{grid-area:1/1;min-height:48px}body #lobby.mobile-profile-layout #lobby-profile-panel .profile-currency{grid-area:2/1;min-height:44px}body #lobby.mobile-profile-layout #lobby-profile-panel .profile-level-row{grid-area:3/1}body #lobby.mobile-profile-layout #lobby-profile-panel .profile-xp-track{grid-area:4/1}body #lobby.mobile-profile-layout #lobby-profile-panel .profile-stats{grid-area:5/1;display:grid}body #lobby.mobile-profile-layout #lobby-profile-panel :is(.profile-identity-tools,.profile-login-strip){grid-area:2/2/5;align-self:stretch;margin:0}body #lobby.mobile-profile-layout #lobby-profile-panel #profile-save-note{grid-area:5/2;margin:0;font-size:12px;line-height:1.4;display:block}body #lobby.mobile-profile-layout #lobby-profile-panel .lobby-policy-links{grid-area:6/1/auto/-1;justify-content:center;margin:0}body #lobby.mobile-profile-layout #lobby-profile-panel :is(button,.lobby-policy-links a){min-width:44px;min-height:44px;font-size:13px}body #lobby.mobile-profile-layout #lobby-profile-panel .profile-identity-copy em,body #lobby.mobile-profile-layout #lobby-profile-panel .profile-level-row small{font-size:12px}body #lobby.mobile-profile-layout #lobby-profile-panel .lobby-policy-links a{align-items:center;padding:6px;display:inline-flex}body #lobby.mobile-profile-layout #lobby-profile-panel .profile-identity-tools b{font-size:14px}body #lobby.mobile-profile-layout #lobby-profile-panel :is(.profile-heading small,.profile-identity-tools small,.profile-stats dt){letter-spacing:.03em;font-size:11px}body #lobby.mobile-profile-layout #mobile-profile-close{top:max(10px, env(safe-area-inset-top));z-index:2;cursor:pointer;background:#183022;border:1px solid #b89e585e;border-radius:12px;width:48px;height:48px;font-size:25px;position:absolute;inset-inline-end:max(12px, env(safe-area-inset-right))}body #lobby.mobile-profile-layout #mobile-profile-backdrop:not([hidden]){z-index:101;background:#051009c9;position:fixed;inset:0}body #lobby.mobile-profile-layout :is(#lobby-profile-panel,.mobile-account-actions)[hidden],.mobile-profile-summary[hidden],#mobile-profile-close[hidden]{display:none}@media (orientation:portrait){body #lobby.mobile-profile-layout{grid-template-rows:88px auto minmax(0,1fr)}body #lobby.mobile-profile-layout .lobby-shell{grid-template-rows:minmax(240px,1fr) minmax(180px,.75fr)}body #lobby.mobile-profile-layout .lobby-card{grid-template-rows:auto 48px auto 60px auto;grid-template-columns:minmax(0,1fr);gap:12px;padding:18px}body #lobby.mobile-profile-layout .banner-picker{grid-area:3/1;margin-block:3px}body #lobby.mobile-profile-layout .play-button{grid-row:4;height:60px}body #lobby.mobile-profile-layout .lobby-card .connection-status{grid-row:5}body #lobby.mobile-profile-layout .lobby-actions{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}body #lobby.mobile-profile-layout .lobby-actions>button>.lobby-action-art{width:44px;height:44px}body #lobby.mobile-profile-layout .lobby-actions button b{font-size:14px}body #lobby.mobile-profile-layout #lobby-profile-panel.mobile-profile-dialog-open{padding:66px max(22px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));flex-direction:column;justify-content:center;gap:18px;display:flex}body #lobby.mobile-profile-layout #lobby-profile-panel>*{flex-shrink:0}}@media (orientation:portrait) and (max-width:559px){body #lobby.mobile-profile-layout .mobile-profile-summary{grid-template-columns:minmax(0,1fr);gap:6px}body #lobby.mobile-profile-layout .mobile-account-actions button{flex:1}}@media (orientation:portrait) and (max-width:559px) and (max-height:780px){body #lobby.mobile-profile-layout .lobby-shell{grid-template-rows:minmax(250px,1fr) 156px;gap:6px}body #lobby.mobile-profile-layout .lobby-card{grid-template-rows:auto 48px auto 56px auto;gap:8px;padding:12px}body #lobby.mobile-profile-layout .play-button{height:56px}}html.mobile-controls-enabled body #lobby :is(.shop-modal,.collection-modal,.info-modal) .upgrade-copy,html.mobile-controls-enabled body #lobby :is(.shop-modal,.collection-modal) .draft-note{font-size:12px;line-height:1.4}html.mobile-controls-enabled body #lobby .shop-modal :is(#case-shop,#upgrade-shop):not([hidden]){flex-direction:column;min-height:0;display:flex;overflow:hidden}html.mobile-controls-enabled body #lobby .shop-modal :is(.upgrade-copy,.draft-note){flex:none;margin:7px 0}html.mobile-controls-enabled body #lobby .shop-tabs{box-shadow:none;padding:4px;position:static}html.mobile-controls-enabled body #lobby .shop-tabs button{letter-spacing:.02em;font-size:13px}html.mobile-controls-enabled body #lobby .case-list,html.mobile-controls-enabled body #lobby #upgrade-list{overscroll-behavior:contain;scroll-snap-type:x proximity;touch-action:pan-x;scrollbar-width:thin;flex:auto;gap:14px;min-height:0;margin:0;padding:3px 3px 8px;scroll-padding-inline:3px;display:flex;overflow:auto hidden}html.mobile-controls-enabled body #lobby .case-list>article{scroll-snap-align:start;flex:0 0 min(88%,380px);grid-template-rows:minmax(0,1fr) 48px;grid-template-columns:minmax(80px,.8fr) minmax(0,1fr);gap:8px 12px;min-height:0;padding:12px}html.mobile-controls-enabled body #lobby .case-art{grid-area:1/1;justify-self:center;width:112px;max-width:100%;height:min(110px,100%);max-height:100%}html.mobile-controls-enabled body #lobby .case-list>article>span{grid-area:1/2;align-self:center;padding-top:14px}html.mobile-controls-enabled body #lobby .case-list b{overflow-wrap:anywhere;font-size:17px}html.mobile-controls-enabled body #lobby .case-list small{font-size:12px;line-height:1.4}html.mobile-controls-enabled body #lobby .case-actions{grid-area:2/1/auto/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-self:stretch}html.mobile-controls-enabled body #lobby .case-actions>strong:not([hidden]){top:8px;font-size:11px;position:absolute;inset-inline-end:10px}html.mobile-controls-enabled body #lobby .case-actions button{min-height:48px;padding:6px;font-size:12px;line-height:1.25}@media (min-height:501px){html.mobile-controls-enabled body #lobby .case-list>article{grid-template-rows:minmax(100px,1fr) auto 48px;grid-template-columns:minmax(0,1fr);gap:16px;padding:18px}html.mobile-controls-enabled body #lobby .case-art{width:min(210px,90%);height:min(188px,100%)}html.mobile-controls-enabled body #lobby .case-list>article>span{text-align:center;grid-area:2/1;padding:0}html.mobile-controls-enabled body #lobby .case-list small{max-width:none}html.mobile-controls-enabled body #lobby .case-actions{grid-row:3}}html.mobile-controls-enabled body #lobby #upgrade-list>button{scroll-snap-align:start;flex:0 0 min(86%,310px);grid-template-rows:minmax(0,1fr) auto;grid-template-columns:62px minmax(0,1fr);gap:10px;min-height:0;padding:14px}html.mobile-controls-enabled body #lobby #upgrade-list b{white-space:normal;font-size:16px;line-height:1.3}html.mobile-controls-enabled body #lobby #upgrade-list small{font-size:12px;line-height:1.4}html.mobile-controls-enabled body #lobby #upgrade-list em{border-top:1px solid var(--line);text-align:center;grid-column:1/-1;padding:12px 8px;font-size:14px}html.mobile-controls-enabled body #lobby #upgrade-list>button:after{inset-inline:14px;bottom:9px}html.mobile-controls-enabled body #lobby .collection-browser:not([hidden]){flex-direction:column;display:flex;overflow:hidden}html.mobile-controls-enabled body #lobby .collection-browser>nav{flex:none;min-height:44px;margin-block:6px}html.mobile-controls-enabled body #lobby .collection-browser nav.unit-skin-categories{touch-action:pan-x;flex-wrap:nowrap;overflow:auto hidden}html.mobile-controls-enabled body #lobby .collection-browser>nav button{flex-shrink:0;min-height:44px;font-size:12px}html.mobile-controls-enabled body #lobby .collection-modal .collection-list{scroll-snap-type:x proximity;touch-action:pan-x;flex:auto;gap:14px;min-height:0;padding:3px 3px 8px;scroll-padding-inline:3px;overflow:auto hidden}html.mobile-controls-enabled body #lobby .collection-modal :is(.collection-item,.collection-item.default-skin){flex:0 0 min(86%,360px);grid-template-rows:minmax(70px,1fr) auto 48px;grid-template-columns:minmax(0,1fr);gap:12px;height:100%;min-height:0;padding:14px}html.mobile-controls-enabled body #lobby .collection-item>span{min-height:0;overflow:visible}html.mobile-controls-enabled body #lobby .collection-item b{white-space:normal;font-size:16px;line-height:1.3}html.mobile-controls-enabled body #lobby .collection-item small{font-size:12px;line-height:1.45}html.mobile-controls-enabled body #lobby .collection-item em{font-size:11px;line-height:1.35}html.mobile-controls-enabled body #lobby .collection-item .collection-card-action{min-height:48px;font-size:12px;line-height:1.3}html.mobile-controls-enabled body #lobby .collection-modal .collection-art{object-fit:contain;width:100%;height:100%;min-height:0}html.mobile-controls-enabled body #lobby .daily-quest-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));align-content:start}html.mobile-controls-enabled body #lobby .quest-day-summary{grid-column:1/-1}html.mobile-controls-enabled body #lobby .daily-quest b{white-space:normal;font-size:15px}html.mobile-controls-enabled body #lobby .quest-description{font-size:12px;display:block;overflow:visible}html.mobile-controls-enabled body #lobby .daily-quest button{min-height:48px;font-size:12px}html.mobile-controls-enabled body #lobby .world-party-card[data-mobile-sections-active=true]{grid-template-rows:auto auto auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:8px;display:grid;overflow:hidden}html.mobile-controls-enabled body #lobby .world-party-card>header{grid-row:1}html.mobile-controls-enabled body #lobby .world-party-guidance{grid-row:2;min-width:0}html.mobile-controls-enabled body #lobby .world-party-guidance summary{color:#e4cc92;cursor:pointer;border:1px solid #b5934859;border-radius:8px;min-height:44px;padding:11px 12px;font-size:13px;line-height:1.5}html.mobile-controls-enabled body #lobby .world-party-guidance[open] .world-party-rule{z-index:12;inset-inline:var(--menu-start) var(--menu-end);background:#14251a;border:1px solid #bb9c55;border-radius:10px;max-height:min(42dvh,280px);margin-top:5px;padding:18px;font-size:14px;line-height:1.6;position:absolute;overflow-y:auto;box-shadow:0 16px 35px #0009}html.mobile-controls-enabled body #lobby .world-party-status-card{grid-row:3;gap:10px;min-height:48px;margin:0;padding:8px 12px}html.mobile-controls-enabled body #lobby .world-party-status-card .world-party-seal{width:34px;height:34px}html.mobile-controls-enabled body #lobby .world-party-status-card strong{font-size:14px}html.mobile-controls-enabled body #lobby .world-party-status-card :is(p,small){font-size:11px;line-height:1.35}html.mobile-controls-enabled body #lobby [data-section-tabs=world-party]{grid-row:4;min-width:0}html.mobile-controls-enabled body #lobby .world-party-card[data-mobile-sections-active=true] .world-party-invite-grid{display:contents}html.mobile-controls-enabled body #lobby .world-party-card[data-mobile-sections-active=true] :is(.world-party-invite-grid>section,.world-party-incoming):not([hidden]){overscroll-behavior:contain;grid-area:5/1;min-height:0;margin:0;padding:14px;overflow-y:auto}html.mobile-controls-enabled body #lobby .world-party-card :is(.world-party-invite-grid,.world-party-incoming) p{font-size:13px;line-height:1.5}html.mobile-controls-enabled body #lobby .world-party-card :is(.world-party-invite-grid,.world-party-incoming) button{min-height:48px;font-size:13px}html.mobile-controls-enabled body #lobby #world-party-note{grid-area:6/1/auto/-1;margin:0;font-size:12px;line-height:1.4}@media (orientation:landscape){html.mobile-controls-enabled body #lobby .world-party-card[data-mobile-sections-active=true]{grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(190px,.65fr) minmax(0,1.65fr);column-gap:16px}html.mobile-controls-enabled body #lobby .world-party-card>header{grid-column:1/-1}html.mobile-controls-enabled body #lobby .world-party-guidance{grid-area:2/1}html.mobile-controls-enabled body #lobby .world-party-status-card{grid-area:3/1;align-self:start}html.mobile-controls-enabled body #lobby [data-section-tabs=world-party]{grid-area:2/2}html.mobile-controls-enabled body #lobby .world-party-card[data-mobile-sections-active=true] :is(.world-party-invite-grid>section,.world-party-incoming):not([hidden]){grid-area:3/2}html.mobile-controls-enabled body #lobby #world-party-note{grid-row:4}}@media (orientation:landscape) and (max-height:500px){html.mobile-controls-enabled body #lobby .collection-modal :is(.collection-item,.collection-item.default-skin){flex-basis:min(78%,500px);grid-template-rows:minmax(0,1fr) 48px;grid-template-columns:minmax(86px,.7fr) minmax(0,1.3fr);gap:8px 14px;padding:10px}html.mobile-controls-enabled body #lobby .collection-item .collection-art{grid-area:1/1/-1}html.mobile-controls-enabled body #lobby .collection-item>span{grid-area:1/2}html.mobile-controls-enabled body #lobby .collection-item .collection-card-action{grid-area:2/2}html.mobile-controls-enabled body #lobby .collection-browser nav.unit-skin-categories{margin-block:0 5px;padding-block:2px}html.mobile-controls-enabled body #lobby .world-party-invite-grid>section:not([hidden]){grid-template-rows:auto minmax(0,1fr) 48px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;display:grid}html.mobile-controls-enabled body #lobby .world-party-invite-grid>section>small{display:none}html.mobile-controls-enabled body #lobby .world-party-invite-grid>section>h3{grid-column:1;margin:0;font-size:18px}html.mobile-controls-enabled body #lobby .world-party-invite-grid>section>p{grid-area:2/1/auto/-1;align-self:start;margin:0}html.mobile-controls-enabled body #lobby #world-party-link{grid-area:1/2;max-width:180px}html.mobile-controls-enabled body #lobby :is(.world-party-link-field,#world-party-account-form){grid-area:3/1/auto/-1;grid-template-columns:minmax(0,1fr) auto;margin:0;display:grid}}@media (min-width:560px) and (max-width:820px) and (orientation:portrait){body .lobby .lobby-shell{align-self:start}}@media (max-width:559px) and (max-height:780px) and (orientation:portrait){body #lobby .lobby-brand{padding-bottom:39px}}@media (max-width:1100px) and (max-height:680px) and (orientation:landscape){body .lobby{place-items:stretch center}body #lobby .lobby-brand{width:100%;height:100%;min-height:0;padding:max(4px, env(safe-area-inset-top)) 148px 4px 54px;place-self:stretch stretch}body .lobby .lobby-shell{place-self:stretch center}}.mobile-controls{display:none}html.mobile-controls-enabled{-webkit-tap-highlight-color:transparent}html.mobile-controls-enabled body{-webkit-touch-callout:none;touch-action:none}html.mobile-controls-enabled,html.mobile-controls-enabled body,html.mobile-controls-enabled #app,html.mobile-controls-enabled #game-root{height:100dvh;min-height:100dvh}html.mobile-controls-enabled #game-root canvas{cursor:default;touch-action:none}html.mobile-controls-enabled .mobile-controls{z-index:24;pointer-events:none;display:block;position:absolute;inset:0}.mobile-joystick{--joystick-size:clamp(104px, 28vw, 132px);left:max(14px, env(safe-area-inset-left));bottom:max(14px, env(safe-area-inset-bottom));width:var(--joystick-size);height:var(--joystick-size);pointer-events:auto;touch-action:none;border:0;border-radius:50%;outline:none;place-items:center;display:grid;position:absolute}.mobile-joystick-ring{background:radial-gradient(circle,#405e3d9e 0 32%,#0b1910cc 34% 68%,#08120c7a 70%),#0c1a118c;border:2px solid #f6d27580;border-radius:50%;place-items:center;display:grid;position:absolute;inset:7%;box-shadow:inset 0 0 0 5px #050d084d,0 9px 28px #00000061}.mobile-joystick-knob{--joystick-x:0px;--joystick-y:0px;width:46%;height:46%;transform:translate3d(var(--joystick-x), var(--joystick-y), 0);will-change:transform;background:radial-gradient(circle at 38% 32%,#66825b,#263d2b 62%,#142319);border:2px solid #ffde83c2;border-radius:50%;box-shadow:inset 0 2px #fff3c126,0 5px 14px #00000085}.mobile-joystick>small{color:#efd799c2;letter-spacing:.12em;pointer-events:none;background:#07100ab8;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:900;position:absolute;bottom:-2px}.mobile-joystick.is-active .mobile-joystick-ring{filter:brightness(1.12);border-color:#ffdd80e6}.mobile-combat-controls{right:max(14px, env(safe-area-inset-right));bottom:max(14px, env(safe-area-inset-bottom));pointer-events:none;align-items:flex-end;gap:10px;display:flex;position:absolute}html.mobile-controls-enabled .mobile-action{color:#ffe29a;pointer-events:auto;touch-action:none;background:linear-gradient(155deg,#415b37f7,#112216fa);border:2px solid #e8c25bc7;border-radius:50%;place-items:center;min-width:56px;min-height:56px;padding:0;line-height:1;display:grid;position:relative;bottom:auto;right:auto;box-shadow:inset 0 2px #fff1bc24,inset 0 -4px #0309054d,0 9px 26px #0000006b}html.mobile-controls-enabled .mobile-action>span{font-size:24px}html.mobile-controls-enabled .mobile-action>small{color:#b8c3ae;letter-spacing:0;overflow-wrap:anywhere;max-width:calc(100% - 8px);margin-top:-6px;font-size:11px;font-weight:900;line-height:1.1}html.mobile-controls-enabled .resource-strip{top:max(6px, env(safe-area-inset-top));height:auto;min-height:50px}html.mobile-controls-enabled .resource{grid-template-rows:15px 19px}html.mobile-controls-enabled .resource small{letter-spacing:.025em;font-size:10px;line-height:1.25}html.mobile-controls-enabled .resource strong{white-space:nowrap;font-size:13px;line-height:1.2}html.mobile-controls-enabled .resource-icon.coin-icon{width:16px;height:16px;top:24px}html.mobile-controls-enabled .tray-toggle span,html.mobile-controls-enabled .tray-items b,html.mobile-controls-enabled .tray-items small{font-size:11px;line-height:1.2}html.mobile-controls-enabled .tray-toggle{width:auto;min-width:84px}html.mobile-controls-enabled .mobile-attack{background:radial-gradient(circle at 38% 30%,#755e31,#3a4329 55%,#15251a 100%);border-color:#ffcc55e6;width:clamp(72px,19vw,88px);height:clamp(72px,19vw,88px)}html.mobile-controls-enabled .mobile-dash{color:#bdf5ff;border-color:#7cd2dfb3;width:clamp(56px,14vw,66px);height:clamp(56px,14vw,66px)}html.mobile-controls-enabled .mobile-action.is-active,html.mobile-controls-enabled .mobile-action:active{filter:brightness(1.25);transform:scale(.94)}html.mobile-controls-enabled .mobile-attack.is-aiming{border-color:#fff0a9;box-shadow:inset 0 0 0 4px #ffdf8029,0 0 22px #ffcb514d}html.mobile-controls-enabled .attack-slot,html.mobile-controls-enabled .controls-hint,html.mobile-controls-enabled .tray-toggle kbd,html.mobile-controls-enabled .command-items kbd{display:none}html.mobile-controls-enabled .bottom-hud{bottom:calc(max(10px, env(safe-area-inset-bottom)) + 130px);width:calc(100vw - max(20px, env(safe-area-inset-left)) - max(20px, env(safe-area-inset-right)));transform:translate(-50%)}html.mobile-controls-enabled .minimap-frame{top:calc(max(12px, env(safe-area-inset-top)) + 72px);bottom:auto;left:max(8px, env(safe-area-inset-left));width:116px;height:116px}html.mobile-controls-enabled .pause-toggle{z-index:25;top:max(6px, env(safe-area-inset-top));min-width:44px;min-height:44px}html.mobile-controls-enabled .local-chat-toggle{top:calc(max(12px, env(safe-area-inset-top)) + 194px);bottom:auto;left:max(8px, env(safe-area-inset-left));min-width:44px;min-height:44px}html.mobile-controls-enabled .local-chat{top:calc(max(12px, env(safe-area-inset-top)) + 242px);bottom:auto;left:max(8px, env(safe-area-inset-left));max-height:calc(100dvh - 260px - env(safe-area-inset-bottom))}html.native-keyboard-open .mobile-controls,html.native-keyboard-open .bottom-hud{visibility:hidden}html.native-app,html.native-app body{overscroll-behavior:none;background:#0c1710}@media (pointer:coarse),(any-pointer:coarse){button,input,select,textarea,[role=button]{min-height:44px}}@media (orientation:landscape) and (max-height:600px){html.mobile-controls-enabled .mobile-joystick{--joystick-size:clamp(96px, 28vh, 116px);left:max(12px, env(safe-area-inset-left));bottom:max(8px, env(safe-area-inset-bottom))}html.mobile-controls-enabled .mobile-combat-controls{right:max(12px, env(safe-area-inset-right));bottom:max(8px, env(safe-area-inset-bottom))}html.mobile-controls-enabled .mobile-attack{width:clamp(68px,22vh,82px);height:clamp(68px,22vh,82px)}html.mobile-controls-enabled .mobile-dash{width:clamp(52px,17vh,62px);height:clamp(52px,17vh,62px)}html.mobile-controls-enabled .bottom-hud{bottom:max(6px, env(safe-area-inset-bottom));width:calc(100vw - 360px - env(safe-area-inset-left) - env(safe-area-inset-right))}html.mobile-controls-enabled .xp-sword{width:min(42vw,390px);height:24px}html.mobile-controls-enabled .tray-toggle,html.mobile-controls-enabled .tray-items button{width:auto;min-width:54px;height:54px}html.mobile-controls-enabled .tray-toggle{min-width:84px}html.mobile-controls-enabled .minimap-frame{top:calc(max(8px, env(safe-area-inset-top)) + 56px);width:96px;height:96px}html.mobile-controls-enabled .resource-strip{top:max(6px, env(safe-area-inset-top));left:max(8px, env(safe-area-inset-left));width:min(380px, calc(100vw - max(8px, env(safe-area-inset-left)) - max(8px, env(safe-area-inset-right)) - 254px));grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(0,1.4fr) minmax(0,.55fr);min-height:50px;display:grid}html.mobile-controls-enabled .resource{grid-template-rows:15px 19px;min-width:0;padding:6px 5px 4px 22px}html.mobile-controls-enabled .level-resource{padding-left:5px}html.mobile-controls-enabled .resource-icon{font-size:13px;top:19px;left:6px}html.mobile-controls-enabled .resource small{font-size:9px}html.mobile-controls-enabled .resource-icon.coin-icon{width:14px;height:14px}html.mobile-controls-enabled .resource strong{font-size:13px}html.mobile-controls-enabled .pause-toggle{right:calc(max(8px, env(safe-area-inset-right)) + 202px);left:auto;transform:none}html.mobile-controls-enabled .realm-board{top:max(6px, env(safe-area-inset-top));right:max(8px, env(safe-area-inset-right));width:142px}html.mobile-controls-enabled .clan-toggle{top:max(6px, env(safe-area-inset-top));right:calc(max(8px, env(safe-area-inset-right)) + 150px);min-width:44px;min-height:44px}html.mobile-controls-enabled .boost-strip,html.mobile-controls-enabled .minimap-frame span{display:none}html.mobile-controls-enabled .local-chat-toggle{top:calc(max(8px, env(safe-area-inset-top)) + 158px)}html.mobile-controls-enabled .local-chat{top:calc(max(8px, env(safe-area-inset-top)) + 206px);max-height:calc(100dvh - 220px)}html.mobile-controls-enabled .context-panel,html.mobile-controls-enabled .clan-panel,html.mobile-controls-enabled .pause-card,html.mobile-controls-enabled .barracks-panel{max-height:calc(100dvh - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom)));overflow-y:auto}}@media (orientation:landscape) and (max-height:600px) and (max-width:820px){html.mobile-controls-enabled .resource-strip{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(0,1.4fr)}}@media (orientation:portrait) and (max-width:720px){html.mobile-controls-enabled .realm-board{top:calc(max(8px, env(safe-area-inset-top)) + 56px);right:max(8px, env(safe-area-inset-right));width:126px}html.mobile-controls-enabled .clan-toggle{top:calc(max(8px, env(safe-area-inset-top)) + 56px);right:calc(max(8px, env(safe-area-inset-right)) + 134px)}html.mobile-controls-enabled .tray-items{max-width:calc(100vw - 18px);bottom:56px}}@media (min-width:700px) and (min-height:700px){html.mobile-controls-enabled .minimap-frame{width:148px;height:148px}html.mobile-controls-enabled .local-chat-toggle{top:calc(max(12px, env(safe-area-inset-top)) + 226px)}html.mobile-controls-enabled .local-chat{top:calc(max(12px, env(safe-area-inset-top)) + 274px);max-height:calc(100dvh - 292px - env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){html.mobile-controls-enabled .mobile-joystick-knob,html.mobile-controls-enabled .mobile-action{transition:none}}html.mobile-controls-enabled .realm-board ol{max-height:min(30dvh,168px)}html.mobile-controls-enabled .realm-player-name{touch-action:pan-y;width:100%;min-height:44px;font-size:10px}html.mobile-controls-enabled .lobby,html.mobile-controls-enabled .realm-board ol,html.mobile-controls-enabled .lobby-modal,html.mobile-controls-enabled .lobby-modal>.modal-card,html.mobile-controls-enabled .local-chat,html.mobile-controls-enabled #local-chat-messages,html.mobile-controls-enabled .clan-panel,html.mobile-controls-enabled .clan-chat-messages,html.mobile-controls-enabled .context-panel,html.mobile-controls-enabled .pause-card,html.mobile-controls-enabled .barracks-units{overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}html.mobile-controls-enabled .context-panel .barracks-panel,html.mobile-controls-enabled .context-panel .barracks-units{max-height:none;overflow:visible}html.mobile-controls-enabled .context-panel{max-height:calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)) - 90px);overflow:hidden auto}html.mobile-controls-enabled .context-close{z-index:5;float:right;background:#1a2c20;margin-bottom:-44px;position:sticky;top:0;right:0}html.mobile-controls-enabled[dir=rtl] .context-close{float:left}html.mobile-controls-enabled .context-title{padding-inline-end:44px}html.mobile-controls-enabled .context-actions,html.mobile-controls-enabled .mine-actions{z-index:4;background:#14231a;padding-top:8px;position:sticky;bottom:0;box-shadow:0 -7px 12px #14231a}html.mobile-controls-enabled .barracks-unit-actions{grid-template-columns:repeat(3,44px)}html.mobile-controls-enabled .barracks-unit-actions.clan-donation-actions{grid-template-columns:repeat(2,44px)}html.mobile-controls-enabled .barracks-unit-actions button{width:44px;min-width:44px;height:44px;min-height:44px}html.mobile-controls-enabled .build-tray .tray-items button{min-height:76px}html.mobile-controls-enabled.mobile-text-entry-active .clan-panel,html.mobile-controls-enabled.native-keyboard-open .clan-panel{top:max(8px, env(safe-area-inset-top));max-height:calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)))}html.mobile-controls-enabled .lobby-modal{padding:max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left))}html.mobile-controls-enabled .lobby-modal>.modal-card{max-height:calc(100dvh - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom)))}html.mobile-controls-enabled .death-screen{padding:max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));touch-action:pan-y;overflow:hidden}html.mobile-controls-enabled .death-card{max-height:calc(100dvh - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom)));overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;overflow-y:auto}html.mobile-controls-enabled .local-chat,html.mobile-controls-enabled .clan-panel,html.mobile-controls-enabled .context-panel{z-index:30}html.mobile-controls-enabled .modal-close,html.mobile-controls-enabled .context-close,html.mobile-controls-enabled .clan-panel-header>button,html.mobile-controls-enabled .local-chat-bubbles-toggle{min-width:44px;min-height:44px}html.mobile-controls-enabled #local-chat-form input,html.mobile-controls-enabled #local-chat-form button,html.mobile-controls-enabled .clan-chat-form input,html.mobile-controls-enabled .clan-chat-form button{min-height:44px}html.mobile-controls-enabled input[type=email],html.mobile-controls-enabled input[type=password],html.mobile-controls-enabled input[type=search],html.mobile-controls-enabled input[type=text],html.mobile-controls-enabled input:not([type]),html.mobile-controls-enabled #lobby #player-name,html.mobile-controls-enabled #lobby #local-auth-name,html.mobile-controls-enabled #lobby #local-auth-password,html.mobile-controls-enabled #lobby #profile-rename-input,html.mobile-controls-enabled #lobby #world-party-account-target{font-size:16px}html.mobile-text-entry-active .mobile-controls,html.mobile-text-entry-active .bottom-hud,html.native-keyboard-open .mobile-controls,html.native-keyboard-open .bottom-hud{visibility:hidden}html.mobile-text-entry-active .local-chat,html.mobile-text-entry-active .clan-panel,html.native-keyboard-open .local-chat,html.native-keyboard-open .clan-panel{top:max(8px, env(safe-area-inset-top));max-height:calc(100dvh - max(16px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)))}@media (orientation:landscape) and (max-height:600px){html.mobile-controls-enabled{--mobile-left-control-edge:calc(max(12px, env(safe-area-inset-left)) + clamp(96px, 28vh, 116px) + 12px);--mobile-right-control-edge:calc(max(12px, env(safe-area-inset-right)) + clamp(68px, 22vh, 82px) + clamp(52px, 17vh, 62px) + 22px)}html.mobile-controls-enabled .bottom-hud{right:var(--mobile-right-control-edge);left:var(--mobile-left-control-edge);width:auto;transform:none}html.mobile-controls-enabled .action-tray .tray-items{right:var(--mobile-right-control-edge);bottom:calc(max(8px, env(safe-area-inset-bottom)) + 104px);left:var(--mobile-left-control-edge);overscroll-behavior-inline:contain;touch-action:pan-x;background:#09140cf0;border:1px solid #ebcd8033;border-radius:11px;justify-content:flex-start;width:auto;max-width:none;max-height:64px;padding:4px;position:fixed;overflow:auto hidden;transform:none;box-shadow:0 9px 24px #02070461}html.mobile-controls-enabled .build-tray .tray-items{max-height:86px}html.mobile-controls-enabled .build-tray .tray-items button{height:76px}html.mobile-controls-enabled .local-chat{top:calc(max(8px, env(safe-area-inset-top)) + 56px);right:auto;left:var(--mobile-left-control-edge);width:min(340px, calc(100vw - var(--mobile-left-control-edge) - var(--mobile-right-control-edge)));max-height:min(174px, calc(100dvh - max(8px, env(safe-area-inset-top)) - 92px));overflow-y:auto}html.mobile-controls-enabled #local-chat-messages{height:48px}html.mobile-controls-enabled .clan-panel{top:calc(max(8px, env(safe-area-inset-top)) + 48px);max-height:calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)) - 48px)}html.mobile-controls-enabled .context-panel{max-height:calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)) - 90px)}html.mobile-controls-enabled .pause-card,html.mobile-controls-enabled .barracks-panel{max-height:calc(100dvh - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));overflow-y:auto}}@media (orientation:portrait) and (max-width:720px){html.mobile-controls-enabled .bottom-hud{right:max(10px, env(safe-area-inset-right));left:max(10px, env(safe-area-inset-left));width:auto;transform:none}html.mobile-controls-enabled .pause-toggle{top:calc(max(8px, env(safe-area-inset-top)) + 100px)}html.mobile-controls-enabled .action-tray .tray-items{right:max(9px, env(safe-area-inset-right));bottom:calc(max(14px, env(safe-area-inset-bottom)) + 238px);left:max(9px, env(safe-area-inset-left));overscroll-behavior-inline:contain;touch-action:pan-x;background:#09140cf0;border:1px solid #ebcd8033;border-radius:11px;justify-content:flex-start;width:auto;max-width:none;padding:5px;position:fixed;overflow:auto hidden;transform:none;box-shadow:0 9px 24px #02070461}html.mobile-controls-enabled .context-panel{max-height:calc(100dvh - max(8px, env(safe-area-inset-top)) - max(14px, env(safe-area-inset-bottom)) - 190px)}}.mobile-section-tabs[hidden]{display:none!important}.mobile-section-tabs{touch-action:manipulation;align-items:stretch;gap:8px;min-width:0;min-height:0;margin:0;padding:0;display:flex}.mobile-section-tabs[aria-orientation=vertical]{flex-direction:column}.mobile-section-tabs>button{color:#becbb8;text-align:start;overflow-wrap:anywhere;cursor:pointer;background:#0c1911b3;border:1px solid #e8d18d2e;border-radius:10px;justify-content:flex-start;align-items:center;min-width:0;min-height:48px;padding:12px;font:700 13px/1.35 Inter,system-ui,sans-serif;display:flex}.mobile-section-tabs>button[aria-selected=true]{color:#ffe4a0;background:linear-gradient(110deg,#ad883840,#223926eb);border-color:#bc9a4d;box-shadow:inset 3px 0 #e6bd5f}[dir=rtl] .mobile-section-tabs>button[aria-selected=true]{box-shadow:inset -3px 0 #e6bd5f}.mobile-section-tabs>button:focus-visible{outline-offset:2px;outline:2px solid #ffe3a0}.mobile-section-tabs[aria-orientation=horizontal]>button{text-align:center;flex:1 1 0;justify-content:center}[data-mobile-sections-active=true] [data-mobile-section][hidden]{display:none!important}#lobby #options-modal:has([data-mobile-sections-active=true]){padding:max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));place-items:stretch stretch;overflow:hidden}#lobby #options-modal .options-card[data-mobile-sections-active=true]{grid-template:"header header"46px"nav panel"minmax(0,1fr)"footer footer"/158px minmax(0,1fr);gap:12px;width:100%;max-width:1100px;height:100%;min-height:0;max-height:100%;margin:0 auto;padding:0;display:grid;overflow:hidden}#lobby #options-modal .options-card[data-mobile-sections-active=true]>header{grid-area:header;align-items:center;min-height:0;margin:0;padding:0 58px 8px 0}#lobby #options-modal .options-card[data-mobile-sections-active=true]>header h2{margin:0;font-size:25px;line-height:1.1}#lobby #options-modal .options-card[data-mobile-sections-active=true]>header .eyebrow,#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-intro,#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-gear-emblem{display:none}#lobby #options-modal .options-card[data-mobile-sections-active=true] .mobile-section-tabs{grid-area:nav;align-self:start}#lobby #options-modal .options-card[data-mobile-sections-active=true]>.options-section{flex-direction:column;grid-area:panel;height:100%;min-height:0;margin:0;padding:12px;display:flex;overflow:hidden}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-section-heading{display:none}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list{grid-template-rows:repeat(3,minmax(48px,1fr));gap:8px;height:100%;min-height:0;display:grid}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list>label{grid-template-columns:minmax(120px,1fr) minmax(100px,1.1fr) 42px;gap:12px;min-height:48px;padding:8px 12px;display:grid}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list input{grid-area:auto;width:100%;min-height:44px;margin:0}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list label>span{grid-area:auto;min-width:0}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list output{grid-area:auto;font-size:13px}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-toggle-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0;display:grid}#lobby #options-modal .options-card[data-mobile-sections-active=true] [data-mobile-section=presentation] .options-toggle-list{flex:1;grid-template-rows:repeat(2,minmax(0,1fr))}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-toggle-list>label{gap:10px;min-width:0;min-height:64px;padding:10px 12px}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list b,#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-toggle-list b{font-size:14px;line-height:1.3}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list small,#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-toggle-list small{font-size:11px;line-height:1.35}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-muted-heading{flex:none;min-height:44px;margin:8px 0 4px;font-size:12px}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-muted-players{touch-action:pan-y;overscroll-behavior:contain;flex:1;min-height:0;max-height:none;margin:0;padding:6px 10px;font-size:12px;overflow-y:auto}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-footer{grid-area:footer;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin:0;padding:0;display:flex}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-footer-actions{gap:8px;min-width:0;display:flex}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-footer button,#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-muted-heading button{min-height:44px;padding:8px 12px;font-size:11px;line-height:1.25}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-footer p{color:#b0bdac;max-width:45%;margin:0;font-size:11px;line-height:1.3}@media (orientation:portrait){#lobby #options-modal .options-card[data-mobile-sections-active=true]{grid-template:"header"48px"nav""panel"minmax(0,1fr)"footer"/minmax(0,1fr)}#lobby #options-modal .options-card[data-mobile-sections-active=true] .mobile-section-tabs{align-self:stretch}#lobby #options-modal .options-card[data-mobile-sections-active=true]>.options-section{padding:14px}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list{grid-template-rows:repeat(3,minmax(86px,1fr));max-height:390px}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list>label{grid-template-columns:minmax(0,1fr) 44px;gap:4px 12px}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list input{grid-area:2/1}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-range-list output{grid-area:2/2}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-toggle-list{grid-template-columns:minmax(0,1fr)}#lobby #options-modal .options-card[data-mobile-sections-active=true] [data-mobile-section=presentation] .options-toggle-list{flex:0 auto;grid-template-rows:repeat(4,minmax(64px,auto))}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-footer{flex-flow:wrap;gap:6px}#lobby #options-modal .options-card[data-mobile-sections-active=true] .options-footer p{max-width:100%}}.mobile-opening-screen{--mobile-opening-gold:#e8c66f;z-index:2147483600;min-width:100%;min-height:100%;padding:max(16px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(15px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));color:#f8ecd0;isolation:isolate;--opening-ease:cubic-bezier(.16, 1, .3, 1);-webkit-user-select:none;user-select:none;touch-action:none;background:#070d0a;outline:none;grid-template-rows:minmax(0,1fr) auto;font-family:Inter,ui-sans-serif,system-ui,sans-serif;transition:opacity .42s,transform .42s;display:grid;position:fixed;inset:0;overflow:hidden}.mobile-opening-screen.is-leaving{opacity:0;pointer-events:none;transform:scale(1.018)}.mobile-opening-media,.mobile-opening-poster,.mobile-opening-video,.mobile-opening-atmosphere{width:100%;height:100%;position:absolute;inset:0}.mobile-opening-media{z-index:-4;background:radial-gradient(circle at 72% 36%,#d8ad512b,#0000 28%),linear-gradient(135deg,#15271c,#070d0a 68%);overflow:hidden}.mobile-opening-poster,.mobile-opening-video{object-fit:cover;object-position:center 44%;display:block}.mobile-opening-poster{opacity:.88;animation:8s ease-out both mobile-opening-poster-drift;transform:scale(1.025)}.mobile-opening-video{opacity:0;filter:saturate(.9)contrast(1.07)brightness(.72);transition:opacity .7s}.mobile-opening-screen.has-video .mobile-opening-video{opacity:.86}.mobile-opening-screen.uses-poster .mobile-opening-video,.mobile-opening-screen.uses-generated-backdrop .mobile-opening-poster{display:none}.mobile-opening-screen:before{z-index:-3;content:"";background:linear-gradient(90deg,#050907e0 0,#07100a63 34%,#07100a24 60%,#050907c9 100%),linear-gradient(0deg,#050906f2 0,#07100a40 39%,#0204034d 100%),radial-gradient(at 50% 48%,#0000 18%,#030504a8 90%);position:absolute;inset:0}.mobile-opening-screen:after{z-index:-2;opacity:.3;content:"";pointer-events:none;background:repeating-linear-gradient(0deg,#0000 0 58px,#e1c1710b 59px 60px),repeating-linear-gradient(90deg,#0000 0 58px,#e1c17108 59px 60px);position:absolute;inset:0;-webkit-mask-image:radial-gradient(#000 0 10%,#0000 72%);mask-image:radial-gradient(#000 0 10%,#0000 72%)}.mobile-opening-frame{inset:max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,28px 100%,0 calc(100% - 28px));pointer-events:none;border:1px solid #dfbf6942;position:absolute}.mobile-opening-frame:before,.mobile-opening-frame:after{background:linear-gradient(90deg, transparent, var(--mobile-opening-gold));content:"";width:min(20vw,180px);height:1px;position:absolute}.mobile-opening-frame:before{top:9px;left:16px}.mobile-opening-frame:after{bottom:9px;right:16px;transform:rotate(180deg)}.mobile-opening-atmosphere{z-index:-1;pointer-events:none;overflow:hidden}.mobile-opening-ember{--ember-index:0;bottom:-8%;left:calc(10% + var(--ember-index) * 13%);opacity:0;width:3px;height:3px;animation:mobile-opening-ember-rise calc(4.2s + var(--ember-index) * .31s) linear infinite;animation-delay:calc(var(--ember-index) * -.73s);background:#f3d183;border-radius:50%;position:absolute;box-shadow:0 0 8px #f1c35f}.mobile-opening-brand{text-align:center;direction:ltr;place-self:center;justify-items:center;min-width:min(76vw,660px);padding-bottom:clamp(30px,8vh,72px);display:grid}.mobile-opening-horizon{z-index:-1;opacity:0;transform-origin:50%;pointer-events:none;background:linear-gradient(90deg,#0000,#e5c679a8,#0000);height:1px;animation:2.3s ease-out .18s both mobile-opening-horizon;position:absolute;inset:48% 12% auto;box-shadow:0 0 30px 5px #ebce7130}.mobile-opening-brand>*{animation:mobile-opening-brand-reveal 1.2s var(--opening-ease) both}.mobile-opening-brand>:where(.mobile-opening-eyebrow){animation-delay:.15s}.mobile-opening-brand>:where(.mobile-opening-title){animation-delay:.28s}.mobile-opening-brand>:where(.mobile-opening-tagline){animation-delay:.44s}.mobile-opening-emblem-shell{place-items:center;width:clamp(76px,12vh,118px);height:clamp(76px,12vh,118px);margin-bottom:clamp(8px,2vh,18px);display:grid;position:relative}.mobile-opening-emblem-shell:before,.mobile-opening-emblem-shell:after{content:"";border:1px solid #e2c36e5c;position:absolute;inset:-8%;transform:rotate(45deg)}.mobile-opening-emblem-shell:after{border-color:#e2c36e26;animation:2.4s ease-in-out infinite mobile-opening-emblem-pulse;inset:12%}.mobile-opening-emblem{object-fit:contain;filter:drop-shadow(0 10px 15px #000b)drop-shadow(0 0 18px #ddb65b35);width:100%;height:100%;display:block}.mobile-opening-eyebrow{color:#d7bd7b;letter-spacing:.38em;text-transform:uppercase;margin:0 0 7px;font-size:clamp(8px,1.6vh,11px);font-weight:800}.mobile-opening-title{color:#fff4d9;letter-spacing:.08em;text-shadow:0 6px 18px #000;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(40px,10vh,84px);line-height:.9}.mobile-opening-domain{color:var(--mobile-opening-gold);letter-spacing:.14em;font-size:.34em}.mobile-opening-tagline{color:#d6d4c5;letter-spacing:.04em;direction:initial;margin:clamp(10px,2vh,17px) 0 0;font:italic clamp(11px,2.2vh,16px)/1.4 Georgia,Times New Roman,serif}.mobile-opening-footer{width:min(72vw,720px);animation:mobile-opening-brand-reveal .8s .16s var(--opening-ease) both;background:linear-gradient(90deg,#0000,#07100add 13% 87%,#0000);border-inline:1px solid #dcbf7133;place-self:end center;padding:14px 18px 12px;position:relative}.mobile-opening-status-row{justify-content:space-between;align-items:center;gap:18px;margin-bottom:8px;display:flex}.mobile-opening-status,.mobile-opening-percentage{color:#ddd8c7;letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:clamp(9px,1.8vh,12px);font-weight:750}.mobile-opening-percentage{color:var(--mobile-opening-gold);font-variant-numeric:tabular-nums;flex:none}.mobile-opening-progress{background:#020503c9;border:1px solid #e2ca8952;height:8px;position:relative;overflow:visible;box-shadow:inset 0 1px 4px #000}.mobile-opening-progress:before{opacity:.28;content:"";background:repeating-linear-gradient(90deg,#0000 0 48px,#fff 49px 50px);position:absolute;inset:2px}.mobile-opening-progress-fill{width:var(--mobile-opening-progress,0%);background:linear-gradient(90deg,#866529,#e6c36e 76%,#fff1b0);max-width:calc(100% - 2px);transition:width .42s cubic-bezier(.22,.75,.22,1);position:absolute;inset:1px auto 1px 1px;box-shadow:0 0 12px #dfb95880}.mobile-opening-progress-scout{background:#b98d3f;border:1px solid #fff2bc;width:9px;height:9px;position:absolute;top:50%;right:-5px;transform:translateY(-50%)rotate(45deg);box-shadow:0 0 9px #f4d275}.mobile-opening-skip{color:#f5e8c8;letter-spacing:.15em;text-transform:uppercase;cursor:pointer;background:#07100ad9;border:1px solid #dfc17275;min-width:104px;min-height:44px;padding:8px 16px;font-size:10px;font-weight:800;animation:.26s ease-out both mobile-opening-skip-arrive;position:absolute;bottom:calc(100% + 12px);right:18px}.mobile-opening-skip[hidden]{display:none}.mobile-opening-skip:focus-visible{outline-offset:3px;outline:2px solid #ffe395}.mobile-opening-screen[dir=rtl] .mobile-opening-status-row,.mobile-opening-screen[dir=rtl] .mobile-opening-skip{direction:rtl}.mobile-opening-screen[dir=rtl] .mobile-opening-eyebrow,.mobile-opening-screen[dir=rtl] .mobile-opening-tagline{direction:rtl;unicode-bidi:plaintext}.mobile-opening-screen[dir=rtl] .mobile-opening-skip{left:18px;right:auto}@keyframes mobile-opening-poster-drift{0%{transform:scale(1.025)}to{transform:scale(1.075)translate(-.5%,-.5%)}}@keyframes mobile-opening-brand-reveal{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translate(0,0)}}@keyframes mobile-opening-horizon{0%{opacity:0;transform:scaleX(.15)}30%{opacity:.85}to{opacity:0;transform:scaleX(1.1)}}@keyframes mobile-opening-emblem-pulse{50%{opacity:.48;transform:rotate(45deg)scale(1.12)}}@keyframes mobile-opening-ember-rise{0%{opacity:0;transform:translate(0,0)scale(.6)}15%{opacity:.65}to{opacity:0;transform:translate(20px,-108vh)scale(1.25)}}@keyframes mobile-opening-skip-arrive{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (max-height:500px){.mobile-opening-screen{padding-block:max(10px, env(safe-area-inset-top)) max(9px, env(safe-area-inset-bottom))}.mobile-opening-brand{padding-bottom:34px}.mobile-opening-emblem-shell{width:66px;height:66px;margin-bottom:7px}.mobile-opening-title{font-size:clamp(38px,13vh,62px)}.mobile-opening-footer{width:min(68vw,650px);padding-block:9px}}@media (orientation:portrait){.mobile-opening-brand{min-width:90vw;padding-bottom:12vh}.mobile-opening-footer{width:min(86vw,620px)}}@media (prefers-reduced-motion:reduce){.mobile-opening-screen,.mobile-opening-screen *,.mobile-opening-screen :before,.mobile-opening-screen :after{transition-duration:80ms;animation:none}}.mobile-opening-screen.is-backgrounded *,.mobile-opening-screen.is-backgrounded :before,.mobile-opening-screen.is-backgrounded :after{animation-play-state:paused}.mobile-opening-screen.is-reduced-motion,.mobile-opening-screen.is-reduced-motion *,.mobile-opening-screen.is-reduced-motion :before,.mobile-opening-screen.is-reduced-motion :after,html.realmfall-reduced-motion .mobile-opening-screen,html.realmfall-reduced-motion .mobile-opening-screen *,html.realmfall-reduced-motion .mobile-opening-screen :before,html.realmfall-reduced-motion .mobile-opening-screen :after{transition-duration:80ms;animation:none}.mobile-opening-screen.is-reduced-motion .mobile-opening-ember,html.realmfall-reduced-motion .mobile-opening-screen .mobile-opening-ember{display:none}
