/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.isolate{isolation:isolate}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}.lobby-glow{pointer-events:none;position:absolute;inset:0}:root{--ink:#eef2ff;--muted:#8991a8;--panel:#121722e8;--line:#2a3244;--gold:#e7b761;--bg:#090c13}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--ink);margin:0;font-family:Microsoft YaHei UI,PingFang SC,system-ui,sans-serif}button{font:inherit}button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.game-shell{background:radial-gradient(circle at 48% 32%,#172137 0,#0000 36%),linear-gradient(135deg,#090c13,#0e121b 55%,#090c13);min-height:100vh}.topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0b0f17d9;border-bottom:1px solid #242a38;justify-content:space-between;align-items:center;height:76px;padding:0 28px;display:flex}.brand{align-items:center;gap:12px;min-width:245px;display:flex}.brand-mark{color:#efc06f;border:1px solid #ba8b48;place-items:center;width:40px;height:40px;font-size:20px;display:grid;transform:rotate(45deg)}.brand-mark svg{width:19px;height:19px;transform:rotate(-45deg)}.brand div{flex-direction:column;display:flex}.brand b{letter-spacing:.2em;font-size:18px}.brand small{color:#7e879e;letter-spacing:.32em;margin-top:3px;font-size:8px}.round-pill{background:#151b28;border:1px solid #30384b;border-radius:7px;align-items:center;gap:18px;padding:8px 10px 8px 18px;display:flex}.round-pill span{color:#c0c7d8;font-size:12px}.round-pill b{border-left:1px solid #364056;padding-left:18px}.round-pill i{color:#1a2130;background:var(--gold);border-radius:4px;padding:5px 9px;font-size:12px;font-style:normal;font-weight:800}.ghost-btn{color:#9ba4b9;cursor:pointer;background:0 0;border:1px solid #353c4e;border-radius:5px;padding:9px 14px}.ghost-btn svg{width:18px;height:18px}.ghost-btn:hover{color:#fff;border-color:#707b94}.top-actions .voice-entry.enabled{color:#e4c985;background:linear-gradient(155deg,#211d14,#11151d);border-color:#6f654b}.top-actions .voice-entry.muted{color:#747d8f}.top-actions .voice-entry svg{color:currentColor!important}.game-layout{grid-template-columns:250px minmax(480px,1fr) 270px;gap:20px;max-width:1500px;margin:auto;padding:20px;display:grid}.panel{background:var(--panel);border:1px solid var(--line);box-shadow:0 18px 55px #0005}.section-title{border-bottom:1px solid var(--line);text-transform:uppercase;letter-spacing:.12em;justify-content:space-between;align-items:center;height:48px;padding:0 14px;display:flex}.section-title span{font-size:13px;font-weight:800}.section-title small{color:#6f7890;font-size:9px}.players-panel{align-self:start}.player-row{--player:#fff;border-bottom:1px solid #252c3a;border-left:3px solid #0000;gap:11px;padding:13px 11px;display:flex;position:relative}.player-row.active{background:linear-gradient(90deg,var(--player),transparent)}@supports (color:color-mix(in lab, red, red)){.player-row.active{background:linear-gradient(90deg,color-mix(in srgb,var(--player) 14%,transparent),transparent)}}.player-row.active{border-left-color:var(--player)}.player-row.dead{filter:grayscale(.8);opacity:.55}.portrait{background:var(--player);flex:0 0 52px;height:52px;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.portrait{background:color-mix(in srgb,var(--player) 18%,#151b25)}}.portrait{border:1px solid var(--player);box-shadow:inset 0 0 12px #0008}.portrait img{object-fit:contain;object-position:center top;width:170%;height:170%;display:block;position:absolute;top:-18%;left:50%;transform:translate(-50%)}.portrait em{z-index:2;color:#aeb6c8;border:1px solid var(--player);background:#202738;border-radius:50%;place-items:center;width:17px;height:17px;font-size:8px;font-style:normal;display:grid;position:absolute;bottom:1px;right:1px}.player-data{flex:1;min-width:0}.player-data>div:first-child{justify-content:space-between;align-items:center;display:flex}.player-data b{font-size:13px}.player-data>div span{color:#79849b;font-size:10px}.player-data small{color:#6f7890;margin:1px 0 7px;font-size:9px;display:block}.hp{background:#303748;height:4px;overflow:hidden}.hp i{background:var(--player);height:100%;box-shadow:0 0 8px var(--player);display:block}.stats{justify-content:space-between;margin-top:5px;display:flex}.stats span{color:#929bb0!important;font-size:8px!important}.player-row label{background:var(--player);color:#151822;padding:2px 5px;font-size:7px;font-weight:900;position:absolute;top:-7px;right:8px}.treasure-box{background:#17161c;border:1px solid #3a3540;flex-direction:column;gap:7px;margin:13px;padding:12px;display:flex}.treasure-box b{color:var(--gold);letter-spacing:.1em;font-size:10px}.treasure-box span,.treasure-box small{color:#8e96a7;font-size:9px}.player-row:has(.map-dragon-state){padding-bottom:39px}.map-dragon-state{color:#caa4e9;background:#17111fe8;border:1px solid #6b5a78;align-items:center;gap:6px;height:30px;padding:2px;font-size:7px;display:flex;position:absolute;bottom:5px;left:74px;right:8px;overflow:hidden}.map-dragon-state>img{object-fit:cover;border:1px solid #6b5a78;flex:0 0 26px;width:26px;height:26px;display:block}.map-dragon-state>span{flex:1;justify-content:space-between;align-items:center;display:flex}.map-dragon-state>span b{color:currentColor;font-size:7px}.map-dragon-state.egg>img{object-position:50% 48%}.map-dragon-state.young{color:#7fd1bf;border-color:#557a75}.map-dragon-state.young>img{object-position:31% 48%;border-color:#557a75}.map-dragon-state.adult{color:#efc477;border-color:#9b7445}.map-dragon-state.adult>img{object-position:50% 31%;border-color:#9b7445}.board-wrap{min-width:0}.board{aspect-ratio:1;background:#171d28;border:6px solid #30384a;grid-template-columns:repeat(11,1fr);width:min(100%,760px);margin:auto;display:grid;position:relative;transform:perspective(1300px)rotateX(2deg);box-shadow:0 0 0 1px #59637a,0 30px 80px #0008}.tile{color:#737e95;cursor:default;background:#171e2a;border:1px solid #2c3443;min-width:0;position:relative;overflow:visible}.tile:nth-child(2n){background:#151b26}.tile.reward{color:#a999ff;background:radial-gradient(circle,#28263b,#171e2a 65%)}.tile.encounter{color:#e86969;background:radial-gradient(circle,#382122,#191d27 67%)}.tile.rest{color:#61c9b6;background:radial-gradient(circle,#1c3434,#171e2a 67%)}.tile.event{color:#e8b95d;background:radial-gradient(circle,#382e1c,#171e2a 67%)}.tile.shop{color:#ffd174;background:radial-gradient(circle,#49381c,#1b202a 67%);box-shadow:inset 0 0 15px #e7b35138}.tile.spawn{color:#7eb7e8;box-shadow:inset 0 0 18px #6aa5d933}.tile.boss{color:#ff7892;background:radial-gradient(circle,#592632,#251620 64%);box-shadow:inset 0 0 18px #ef476655}.tile.mini{color:#e1a75c;background:#30271d}.tile.cleared{filter:saturate(.2);opacity:.55}.tile-icon{font-size:clamp(9px,1.3vw,18px);font-weight:900}.board-tokens{z-index:3;pointer-events:none;position:absolute;inset:0;overflow:visible}.map-token{--token-color:#fff;--token-scale:1;left:var(--token-left);top:var(--token-top);filter:drop-shadow(0 4px 3px #000c);width:9.09091%;height:9.09091%;transform:translateX(calc(var(--token-stack) * 18%));z-index:calc(5 + var(--token-order));will-change:left,top,transform;font-style:normal;transition:left .4s cubic-bezier(.2,.78,.28,1),top .4s cubic-bezier(.2,.78,.28,1),transform .4s cubic-bezier(.2,.78,.28,1);display:block;position:absolute}.map-token:after{content:"";z-index:0;background:var(--token-color);opacity:.75;height:7%;box-shadow:0 0 8px var(--token-color);border-radius:50%;position:absolute;bottom:4%;left:23%;right:23%}.map-token img{z-index:1;object-fit:contain;object-position:center bottom;width:76%;height:118%;image-rendering:pixelated;transform:scale(var(--token-scale));transform-origin:bottom;margin:-18% 0 0 12%;display:block;position:relative}.map-token.moving img{animation:.4s ease-in-out map-token-step}.map-token.moving:after{animation:.4s ease-in-out map-token-shadow}.legend{color:#818ba0;flex-wrap:wrap;justify-content:center;gap:14px;margin:16px auto;font-size:9px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.legend i{border:1px solid #394155;place-items:center;width:18px;height:18px;font-style:normal;display:grid}.legend .reward{color:#a999ff}.legend .encounter{color:#e86969}.legend .rest{color:#61c9b6}.legend .event{color:#e8b95d}.legend .shop{color:#ffd174}.legend .mini,.legend .boss{color:#e1a75c}@keyframes map-token-step{0%,to{transform:translateY(0) scale(var(--token-scale,1))}42%{transform:translateY(-13%) scale(calc(var(--token-scale,1) * 1.04),calc(var(--token-scale,1) * .97))}68%{transform:translateY(-6%) scale(calc(var(--token-scale,1) * .98),calc(var(--token-scale,1) * 1.03))}}@keyframes map-token-shadow{0%,to{opacity:.75;transform:scaleX(1)}45%{opacity:.4;transform:scaleX(.72)}}.xingyu-visual{color:#f4ecff;background:radial-gradient(circle at 35% 30%,#eef4ff 0 4%,#9c82ff 7%,#34246f 35%,#0b1029 72%);border:1px solid #b6a5ff;place-items:center;font-family:Georgia,Microsoft YaHei,serif;display:grid;box-shadow:inset 0 0 18px #8d7aff66,0 0 14px #7d68ff66}.xingyu-visual.head{width:100%;height:100%;font-size:22px}.map-token .xingyu-visual.token{z-index:1;image-rendering:auto;width:62%;height:78%;transform:scale(var(--token-scale));transform-origin:bottom;border-radius:48% 48% 42% 42%;margin:4% auto 0;font-size:13px;font-weight:900;position:relative}.xingyu-visual.portrait{align-content:center;gap:8px;width:100%;height:100%;min-height:260px}.xingyu-visual.portrait span{text-shadow:0 0 28px #fff;font-size:72px}.xingyu-visual.portrait b{letter-spacing:.35em;font-size:20px}.xingyu-visual.portrait small{color:#c7bcf7;letter-spacing:.14em;font-size:9px}.xingyu-card-art{color:#eef0ff;text-shadow:0 0 7px #fff,0 0 16px #9d9aff;background:radial-gradient(circle at 50% 45%,#f2f4ff 0 3%,#8f8cff 4% 17%,#27225b 45%,#070a1c 78%);place-items:center;display:grid;overflow:hidden}.xingyu-card-art:before,.xingyu-card-art:after{content:"";border:1px solid #cbcfff88;border-radius:50%;position:absolute;inset:15% -12%;transform:rotate(24deg)}.xingyu-card-art:after{inset:26% -18%;transform:rotate(-31deg)}.xingyu-card-art i{font-style:normal;position:absolute}.xingyu-card-art i:first-child{font-size:2.8em}.xingyu-card-art i:nth-child(2){font-size:1.1em;top:18%;left:18%}.xingyu-card-art i:last-child{font-size:1.8em;bottom:20%;right:18%}@media (prefers-reduced-motion:reduce){.map-token{transition-duration:.01ms}.map-token.moving img,.map-token.moving:after{animation:none}}.right-column{flex-direction:column;gap:16px;display:flex}.action-panel{padding-bottom:13px}.dpad{grid-template-rows:repeat(3,48px);grid-template-columns:repeat(3,48px);justify-content:center;gap:5px;padding:18px;display:grid}.dpad button{color:#c7cddd;cursor:pointer;background:#202738;border:1px solid #414a60;place-items:center;font-size:20px;display:grid;position:relative}.dpad button>svg{width:22px;height:22px}.dpad button kbd{color:#7e8aa4;font:700 7px/1 var(--font-mono),monospace;position:absolute;top:3px;left:5px}.dpad button:hover:not(:disabled){color:#fff;background:#3a455c}.dpad button:hover:not(:disabled) kbd{color:#f0c778}.dpad button:disabled{opacity:.22}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-area:2/1}.dpad div{color:var(--gold);background:#111722;border:1px solid #343d51;flex-direction:column;grid-area:2/2;justify-content:center;align-items:center;font-size:20px;font-weight:800;display:flex}.dpad div .infinite-ap{display:none}.dpad div small{color:#69738a;text-transform:uppercase;font-size:6px}.dpad button:nth-child(4){grid-area:2/3}.dpad button:last-child{grid-area:3/2}.end-turn{color:#161a23;letter-spacing:.15em;cursor:pointer;background:#dbae60;border:0;justify-content:center;align-items:center;gap:10px;width:calc(100% - 26px);margin:0 13px;padding:11px 13px;font-size:11px;font-weight:900;display:flex}.end-turn>svg{width:22px;height:22px}.end-turn>span{background:0 0;flex-direction:column;align-items:flex-start;padding:0;display:flex}.end-turn>span>b{font-size:11px}.end-turn>span>small{letter-spacing:.04em;font-size:7px;font-weight:600}.log-panel{min-height:250px}.live-dot{background:#ef6262;border-radius:50%;width:7px;height:7px;box-shadow:0 0 9px #ef6262}.log-panel p{color:#8992a6;border-bottom:1px solid #242b3a;margin:0;padding:10px 13px;font-size:9px;line-height:1.55}.log-panel p.latest{color:#dbe0ec;background:#1a2130}.log-panel time{color:#596277;font-size:7px;display:block}.mobile-roster-handle,.mobile-topbar-handle{display:none}.overlay{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#03050bd9;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.combat-overlay{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#050810f5;padding:0}.battle-stage{background:radial-gradient(circle at 58% 36%,#26324b 0,#0000 34%),linear-gradient(145deg,#0d121d,#080b12 62%,#111725);border:1px solid #3b465c;width:min(1440px,100vw);height:min(900px,100vh,57.05vw);position:relative;overflow:hidden;box-shadow:0 35px 120px #000}.battle-stage:before{content:"";pointer-events:none;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px);background-size:48px 48px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 78%);mask-image:linear-gradient(#000,#0000 78%)}.battle-title{z-index:4;background:#111826e8;border:1px solid #59647a;justify-content:center;align-items:center;gap:12px;width:24%;height:4.4%;display:flex;position:absolute;top:1.2%;left:38%;box-shadow:inset 0 0 0 1px #10131b,0 8px 25px #0007}.battle-title span{letter-spacing:.25em;color:#e7bd72;font-size:12px;font-weight:900}.battle-title small{color:#768198;font-size:8px}.enemy-hud{z-index:4;background:#111825e8;border:1px solid #4b566d;width:73%;height:8%;padding:9px 14px;position:absolute;top:7.6%;left:17%}.enemy-name{align-items:center;gap:11px;height:38%;display:flex}.enemy-name span{letter-spacing:.18em;color:#778297;font-size:8px}.enemy-name b{color:#eef1f7;font:700 14px Georgia,Microsoft YaHei,serif}.enemy-health{background:#252d3b;border:1px solid #465168;height:17px;margin-top:8px;position:relative;overflow:hidden}.enemy-health i{background:linear-gradient(90deg,#8b2737,#e35b63);height:100%;transition:width .3s;display:block;box-shadow:0 0 18px #e24f5a88}.enemy-health span{text-shadow:0 1px 2px #000;place-items:center;font-size:8px;font-weight:800;display:grid;position:absolute;inset:0}.battle-portrait{z-index:2;background:#0d121c;border:1px solid #4d586d;margin:0;position:absolute;overflow:hidden;box-shadow:0 20px 55px #0008}.battle-portrait img{object-fit:cover;width:100%;height:100%;display:block}.battle-portrait.enemy{border-right:0;width:15.2%;height:36%;top:16.5%;right:0}.battle-portrait.hero{border-bottom:0;border-left:0;width:17.3%;height:43.5%;bottom:0;left:0}.battle-portrait figcaption{background:linear-gradient(#0000,#080b12eb);flex-direction:column;padding:22px 12px 10px;display:flex;position:absolute;inset:auto 0 0}.battle-portrait figcaption small{letter-spacing:.2em;color:#8994a9;font-size:7px}.battle-portrait figcaption b{margin-top:3px;font-size:12px}.hero-hud{z-index:4;background:#111825f2;border:1px solid #526079;border-left:0;width:15.2%;min-width:190px;padding:12px 14px;position:absolute;top:41%;left:0;box-shadow:10px 15px 35px #0005}.hero-hud-top{justify-content:space-between;gap:10px;display:flex}.hero-hud-top div{flex-direction:column;display:flex}.hero-hud-top small{color:#778298;letter-spacing:.16em;font-size:7px}.hero-hud-top b{margin-top:2px;font-size:14px}.hero-hud-top em{color:#58c8aa;font-size:8px;font-style:normal}.hero-health{background:#303849;height:7px;margin:10px 0 7px}.hero-health i{background:#54c6a6;height:100%;display:block;box-shadow:0 0 12px #54c6a688}.hero-stats{justify-content:space-between;gap:5px;display:flex}.hero-stats span{color:#748096;flex-direction:column;font-size:6px;display:flex}.hero-stats b{color:#cdd3df;margin-top:2px;font-size:8px}.deck-zone{z-index:5;background:#0d131eef;border:1px solid #59647a;border-bottom:0;width:64%;height:38%;padding:16px 20px 20px;position:absolute;bottom:0;left:20%;box-shadow:0 -18px 60px #0008}.deck-zone header{justify-content:space-between;align-items:flex-start;height:15%;display:flex}.deck-zone header small{color:#d3a85f;letter-spacing:.2em;font-size:7px}.deck-zone h2{margin:3px 0;font:700 17px Georgia,Microsoft YaHei,serif}.deck-zone header>span{color:#778298;border:1px solid #394359;padding:6px 8px;font-size:8px}.battle-feed{color:#8994a9;white-space:nowrap;border-top:1px solid #283145;align-items:center;gap:14px;height:12%;font-size:8px;display:flex;overflow:hidden}.battle-feed span:before{content:"◆";color:#d4aa63;margin-right:6px}.battle-hand{grid-template-columns:repeat(3,1fr);align-items:stretch;gap:12px;height:73%;display:grid}.battle-hand button{color:#e8ecf4;text-align:left;cursor:pointer;background:linear-gradient(155deg,#242c3b,#121823);border:1px solid #4a566f;flex-direction:column;justify-content:flex-end;align-items:flex-start;min-width:0;padding:16px;transition:transform .18s,border-color .18s;display:flex;position:relative;overflow:hidden}.battle-hand button:before{content:"";opacity:.09;background:radial-gradient(circle at 50% 10%,currentColor 0,#0000 55%);position:absolute;inset:0}.battle-hand button:hover:not(:disabled){border-color:#d8b26f;transform:translateY(-7px)}.battle-hand button:disabled{opacity:.45}.battle-hand button>i{font-size:38px;font-style:normal;position:absolute;top:20%;left:50%;transform:translate(-50%)}.battle-hand button>em{color:#121721;background:#d7ad63;border-radius:50%;place-items:center;width:25px;height:25px;font:900 11px Georgia;display:grid;position:absolute;top:9px;right:9px}.battle-hand button>b{z-index:1;font-size:13px}.battle-hand button>small{color:#8c97ab;z-index:1;margin-top:5px;font-size:8px}.battle-hand button>strong{color:#d4ad68;letter-spacing:.16em;z-index:1;margin-top:10px;font-size:7px}.battle-hand .red{color:#f17378}.battle-hand .violet{color:#a68aff}.battle-hand .blue{color:#69aef7}.battle-hand .green{color:#62cfad}.respawn-card,.winner-card{text-align:center;background:#121722;border:1px solid #4a5366;width:min(560px,94vw);padding:38px;box-shadow:0 40px 100px #000}.skull,.winner-card>span{color:#db6372;font-size:55px}.respawn-card h2,.winner-card h1{margin:10px}.respawn-card p,.winner-card p{color:#8993a8;font-size:12px;line-height:1.7}.spawn-choice{grid-template-columns:repeat(4,1fr);gap:8px;margin:22px 0;display:grid}.spawn-choice button,.delay-row button,.winner-card button{color:#e2e6ef;cursor:pointer;background:#222a3a;border:1px solid #465169;padding:12px}.spawn-choice small{color:#7f899e;margin-top:4px;font-size:7px;display:block}.delay-row{color:#7f899e;justify-content:center;align-items:center;gap:6px;font-size:9px;display:flex}.delay-row button{padding:7px}.winner-card>span{color:var(--gold)}.winner-card button{background:var(--gold);color:#181b22;margin-top:14px;font-weight:900}.battle-feed{height:15%}.battle-hand button{padding:12px}.battle-hand button>small{margin-top:3px;font-size:7px}.battle-hand button>strong{margin-top:5px;font-size:6px}.lobby{background:radial-gradient(circle at 70% 45%,#25344f 0,#0000 36%),linear-gradient(120deg,#080b12,#111827);grid-template-columns:1fr 1.2fr;align-items:center;min-height:100vh;display:grid;position:relative;overflow:hidden}.lobby:before{content:"";background-image:linear-gradient(#ffffff05 1px,#0000 1px),linear-gradient(90deg,#ffffff05 1px,#0000 1px);background-size:45px 45px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#000,#0000);mask-image:linear-gradient(90deg,#000,#0000)}.lobby-copy{z-index:2;max-width:600px;padding-left:10vw}.eyebrow{letter-spacing:.35em;color:#d9b46e;font-size:9px}.lobby h1{color:#f0f2f7;letter-spacing:-.09em;margin:34px 0;font-family:Georgia,Microsoft YaHei,serif;font-size:clamp(70px,9vw,138px);line-height:.74}.lobby h1 em{color:#0000;-webkit-text-stroke:1px #d4ab65;font-style:normal}.lobby p{color:#9ba4b7;max-width:450px;font-size:14px;line-height:1.9}.lobby-copy>button{color:#131720;letter-spacing:.1em;cursor:pointer;background:#d8ad64;border:0;justify-content:space-between;min-width:230px;margin-top:25px;padding:15px 20px;font-weight:900;display:flex;box-shadow:0 10px 35px #d8ad6429}.lobby-copy>button:hover{background:#efc77d}.lobby-copy>small{color:#566076;margin-top:14px;font-size:8px;display:block}.lobby-board{z-index:2;padding:10%;position:relative;transform:rotate(-8deg)}.mini-grid{aspect-ratio:1;background:#171e2a;border:8px solid #333d52;grid-template-columns:repeat(9,1fr);display:grid;box-shadow:0 55px 100px #000}.mini-grid i{color:#ff7085;border:1px solid #30394a;place-items:center;font-size:30px;font-style:normal;display:grid}.mini-grid i:nth-child(2n){background:#141a24}.mini-grid i.core{background:#4b202d;box-shadow:inset 0 0 25px #ef596555}.mini-grid i.corner{background:#243b50}.mini-grid i.spark{background:#292441}.floating-card{background:#151c28;border:1px solid #526079;flex-direction:column;gap:5px;padding:15px 17px;display:flex;position:absolute;box-shadow:0 18px 35px #000a}.floating-card b{font-size:12px}.floating-card span{color:#e8b668;font-size:9px}.card-a{bottom:19%;left:4%;transform:rotate(8deg)}.card-b{border-color:#7c3a49;top:8%;right:8%;transform:rotate(4deg)}@media (width<=1050px){.game-layout{grid-template-columns:210px 1fr}.right-column{grid-column:1/-1;grid-template-columns:1fr 1fr;display:grid}.topbar{padding:0 15px}.brand{min-width:auto}.brand small{display:none}}@media (width<=760px){.topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:65px;padding:10px}.round-pill{order:3;justify-content:center;width:100%}.game-layout{flex-direction:column;padding:10px;display:flex}.players-panel{order:2}.board-wrap{order:1}.right-column{order:3;display:flex}.board{width:100%}.player-row{width:50%;display:inline-flex}.lobby{grid-template-columns:1fr;padding:40px 25px}.lobby-copy{padding:0}.lobby-board{display:none}.lobby h1{font-size:86px}.combat-overlay{display:block;overflow:auto}.battle-stage{border:0;width:100vw;height:100svh;min-height:700px}.battle-title{width:50%;left:25%}.battle-title small{display:none}.enemy-hud{width:76%;top:7.5%;left:5%}.battle-portrait.enemy{width:28%;height:30%;top:17%}.hero-hud{width:44%;min-width:0;top:36%}.battle-portrait.hero{width:30%;height:35%}.deck-zone{width:75%;height:47%;padding:12px;left:25%}.deck-zone h2{font-size:13px}.deck-zone header>span{display:none}.battle-feed{white-space:normal;height:18%;padding-top:5px;display:block}.battle-feed span{display:block}.battle-hand{gap:6px;height:68%}.battle-hand button{padding:9px}.battle-hand button>i{font-size:25px}.battle-hand button>b{font-size:9px}.battle-hand button>small{font-size:6px}.battle-hand button>strong{display:none}.battle-hand button>em{width:19px;height:19px;font-size:8px}.spawn-choice{grid-template-columns:1fr 1fr}}.battle-hand{grid-template-columns:none;grid-auto-columns:minmax(150px,1fr);grid-auto-flow:column;padding:0 2px 8px;overflow:auto hidden}.battle-hand .gold{color:#efc36f}.battle-hand .basic-red{color:#f28a8e}.battle-hand .basic-blue{color:#79b6f4}.battle-hand .basic{border-style:double;border-width:3px}.base-card-group{height:100%;position:relative}.base-card-group button{width:100%}.base-card-group>span{z-index:3;color:#cbd2df;pointer-events:none;background:#0b1019dc;border:1px solid #566176;padding:4px 6px;font-size:7px;position:absolute;top:8px;left:8px}.combat-overlay{--battle-edge:17%;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#04070df7;padding:0}.battle-stage{background:radial-gradient(circle at 55% 38%,#1e2a3e 0,#0000 38%),linear-gradient(145deg,#0b1019,#070a10 66%,#101722);border-color:#4a5569;width:100vw;height:100vh}.battle-title{background:#111724f2;border-color:#88704b;width:22%;height:4%;top:1.2%;left:39%}.battle-title span{color:#eac47d}.battle-title small{color:#8490a5}.enemy-hud{top:7.5%;left:var(--battle-edge);width:74%;height:8%;padding:8px 16px}.enemy-name{justify-content:center;position:relative}.enemy-name span{position:absolute;left:0}.enemy-name em{color:#8792a6;letter-spacing:.16em;font-size:7px;font-style:normal;position:absolute;right:0}.battle-portrait.enemy{border:1px solid #566177;border-right:0;width:15%;height:37%;top:16.5%;right:0}.battle-portrait.hero{border:1px solid #566177;border-left:0;width:17%;height:44%;top:55%;bottom:auto;left:0}.battle-portrait img{object-fit:cover}.battle-portrait.enemy img{object-position:center 18%}.battle-portrait.hero img{object-position:center 17%}.hero-hud{width:15%;min-width:0;height:10%;padding:10px 12px;top:42%;left:0}.hero-hud-top small{font-size:6px}.deck-zone{width:64%;height:38%;padding:14px 18px 16px;bottom:0;left:20%}.battle-hand{grid-template-columns:none;grid-auto-columns:minmax(142px,1fr);grid-auto-flow:column;height:75%;padding:0 2px 7px;overflow:auto hidden}.battle-hand button{height:100%}.battle-hand button>i{font-size:30px;top:14%}.battle-hand button>b{font-size:11px}.battle-hand button>small{font-size:7px}.battle-hand button>strong{margin-top:5px}.battle-record{z-index:5;background:#0d131dea;border:1px solid #505b70;position:absolute;overflow:hidden;box-shadow:0 16px 45px #0008}.battle-record header{border-bottom:1px solid #313a4d;justify-content:space-between;align-items:center;height:42px;padding:0 12px;display:flex}.battle-record header span{letter-spacing:.12em;color:#d6dbe6;font-size:9px;font-weight:900}.battle-record header b{color:#d7b16b;background:#252d3b;border-radius:50%;place-items:center;width:20px;height:20px;font-size:8px;display:grid}.battle-record>div{flex-direction:column;gap:7px;padding:10px;display:flex}.battle-record p{color:#8e99ae;background:#151c28;border-left:2px solid #d5aa61;gap:7px;margin:0;padding:7px;font-size:7px;line-height:1.45;display:flex}.battle-record p i{color:#d7b16b;font-style:normal}.battle-record small{color:#687389;place-items:center;min-height:50px;font-size:8px;display:grid}.player-record{width:14%;height:34%;top:0;left:0}.enemy-record{width:15%;height:38%;bottom:0;right:0}@media (width<=760px){.player-record{width:24%;height:28%}.enemy-record{width:25%;height:33%}.enemy-hud{width:60%;left:25%}.hero-hud{width:31%;height:auto;top:38%}.battle-portrait.enemy{width:25%;height:26%;top:17%}.battle-portrait.hero{width:25%;height:36%;top:50%}.deck-zone{width:58%;height:48%;left:27%}.battle-record header{height:34px;padding:0 7px}.battle-record header span{font-size:7px}.battle-record p{padding:5px;font-size:6px}.battle-hand{grid-auto-columns:minmax(112px,1fr)}}.top-actions{gap:8px;display:flex}.mobile-current-resources,.mobile-log-drawer{display:none}.battle-close{z-index:12;color:#bbc3d2;letter-spacing:.1em;cursor:pointer;background:#131a27;border:1px solid #505b70;padding:7px 11px;font-size:8px;position:absolute;top:2%;right:16%}.battle-close:hover{color:#fff;border-color:#d4ac68}.battle-record>div{scrollbar-width:thin;scrollbar-color:#566176 #111722;height:calc(100% - 42px);overflow-y:auto}.battle-record p{flex:none}.battle-hand button.selected{border-color:#f0c878;transform:translateY(-7px);box-shadow:0 0 0 2px #e2b96955,0 12px 30px #000b}.selected-card-stage{z-index:8;flex-direction:column;gap:7px;width:190px;height:255px;animation:.22s ease-out selected-card-enter;display:flex;position:absolute;top:25%;left:45%;transform:translate(-50%)}.selected-card-stage>span{color:#e8c47c;letter-spacing:.08em;white-space:nowrap;background:#101724e8;border:1px solid #66583e;align-self:center;padding:5px 9px;font-size:8px}.selected-card-stage button{color:#e8ecf4;text-align:left;cursor:pointer;background:linear-gradient(155deg,#273246,#111722);border:2px solid #e9c276;flex-direction:column;justify-content:flex-end;align-items:flex-start;width:100%;height:100%;padding:16px;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 60px #000c,0 0 30px #ddb45b38}.selected-card-stage button:before{content:"";opacity:.12;background:radial-gradient(circle at 50% 16%,currentColor,#0000 55%);position:absolute;inset:0}.selected-card-stage button>i{font-size:48px;font-style:normal;position:absolute;top:20%;left:50%;transform:translate(-50%)}.selected-card-stage button>em{color:#121721;background:#e2b868;border-radius:50%;place-items:center;width:30px;height:30px;font:900 13px Georgia;display:grid;position:absolute;top:10px;right:10px}.selected-card-stage button>b{z-index:1;font-size:15px}.selected-card-stage button>small{color:#aab4c6;z-index:1;margin-top:6px;font-size:9px;line-height:1.45}.selected-card-stage button>strong{color:#efc779;z-index:1;margin-top:12px;font-size:8px}@keyframes selected-card-enter{0%{opacity:0;transform:translateY(30px)scale(.88)}to{opacity:1;transform:none}}.player-damage-flash{z-index:18;pointer-events:none;filter:drop-shadow(0 8px 10px #000d);justify-content:center;align-items:center;gap:20px;display:flex;position:absolute;inset:0}.player-damage-flash>div{color:#ff6d72;flex-direction:column;align-items:center;animation:.85s cubic-bezier(.16,.86,.25,1) forwards player-damage-pop;display:flex}.player-damage-flash small{color:inherit;letter-spacing:.18em;white-space:nowrap;background:#0b0e16db;border:1px solid;padding:4px 9px;font-size:9px;font-weight:900}.player-damage-flash strong{letter-spacing:-.08em;color:inherit;-webkit-text-stroke:1px #fff4;text-shadow:0 0 12px,0 5px #26070a;white-space:nowrap;font:900 clamp(64px,7.5vw,112px)/.9 Georgia,Microsoft YaHei,serif}.player-damage-flash strong>span{vertical-align:.16em;transform-origin:100%;margin-right:.03em;font:900 .56em/1 Arial,sans-serif;display:inline-block;transform:scaleX(.72)}.player-damage-flash .true{color:#ffe082}.player-damage-flash .absolute{color:#d8b2ff}.player-damage-flash .range{color:#73c9ff}@keyframes player-damage-pop{0%{opacity:0;transform:translateY(28px)scale(.35)}22%{opacity:1;transform:translateY(-6px)scale(1.18)}58%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-24px)scale(.92)}}.combat-edge-pulse{--edge-pulse:#ff334c;z-index:36;pointer-events:none;border:clamp(3px,.7vw,8px) solid var(--edge-pulse);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){.combat-edge-pulse{border:clamp(3px,.7vw,8px) solid color-mix(in srgb,var(--edge-pulse) 82%,white)}}.combat-edge-pulse{box-shadow:inset 0 0 clamp(34px,7vw,96px) clamp(12px,2.8vw,42px) var(--edge-pulse),inset 0 0 12px 3px #fff5}@supports (color:color-mix(in lab, red, red)){.combat-edge-pulse{box-shadow:inset 0 0 clamp(34px,7vw,96px) clamp(12px,2.8vw,42px) color-mix(in srgb,var(--edge-pulse) 72%,transparent),inset 0 0 12px 3px #fff5}}.combat-edge-pulse{animation:.76s cubic-bezier(.16,.82,.24,1) forwards combat-edge-pulse}.combat-edge-pulse:before{content:"";background:radial-gradient(ellipse at center,transparent 44%,var(--edge-pulse) 100%);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){.combat-edge-pulse:before{background:radial-gradient(ellipse at center,transparent 44%,color-mix(in srgb,var(--edge-pulse) 24%,transparent) 100%)}}.combat-edge-pulse.heal{--edge-pulse:#35e49a}@keyframes combat-edge-pulse{0%{opacity:0;filter:brightness(1.8)}16%{opacity:1}48%{opacity:.72}to{opacity:0;filter:brightness()}}.boss-phase-flash{z-index:30;pointer-events:none;background:radial-gradient(circle,#ff1b3159 0,#0000 44%),linear-gradient(90deg,#0000,#7d071a30 22%,#ff163745 50%,#7d071a30 78%,#0000);place-items:center;animation:1.8s ease-out forwards boss-phase-screen;display:grid;position:absolute;inset:0;overflow:hidden}.boss-phase-flash:before,.boss-phase-flash:after{content:"";background:#ff4057;width:120%;height:2px;position:absolute;left:-10%;box-shadow:0 0 24px 7px #ff1738}.boss-phase-flash:before{animation:1.8s ease-out boss-phase-line-top;top:39%}.boss-phase-flash:after{animation:1.8s ease-out boss-phase-line-bottom;bottom:39%}.boss-phase-flash section{color:#ff4057;text-align:center;background:linear-gradient(90deg,#0000,#16050bd9 15%,#24070ee8 50%,#16050bd9 85%,#0000);flex-direction:column;align-items:center;min-width:min(680px,82vw);padding:25px 60px 28px;animation:1.8s cubic-bezier(.14,.82,.25,1) forwards boss-phase-impact;display:flex;position:relative}.boss-phase-flash section:before{content:"";border-top:1px solid #ff7385aa;border-bottom:1px solid #ff7385aa;position:absolute;inset:7px 0}.boss-phase-flash small{letter-spacing:.55em;color:#ff9ba7;font-size:9px;font-weight:900}.boss-phase-flash strong{letter-spacing:.16em;color:#ff3049;-webkit-text-stroke:1px #ffd2d6;text-shadow:0 0 12px #ff1836,0 0 45px #e00024,5px 6px #4a0010;margin:6px 0 4px;font:900 clamp(62px,8vw,126px)/.95 Georgia,Microsoft YaHei,serif}.boss-phase-flash span{letter-spacing:.3em;color:#ffd0d5;font-size:11px;font-weight:900}.boss-phase-lines{background:repeating-linear-gradient(112deg,#0000 0 34px,#ff234522 35px 37px);animation:1.8s ease-out forwards boss-phase-slash;position:absolute;inset:-30%}@keyframes boss-phase-screen{0%{opacity:0}10%{opacity:1}18%{background-color:#ff183c55}76%{opacity:1}to{opacity:0}}@keyframes boss-phase-impact{0%{opacity:0;transform:scale(2.4)skew(-12deg)}13%{opacity:1;transform:scale(.86)skew(2deg)}23%{transform:scale(1.08)}36%,72%{transform:scale(1)}to{opacity:0;transform:scale(1.12)}}@keyframes boss-phase-line-top{0%{transform:translate(-80%)}22%,75%{transform:translate(0)}to{opacity:0;transform:translate(80%)}}@keyframes boss-phase-line-bottom{0%{transform:translate(80%)}22%,75%{transform:translate(0)}to{opacity:0;transform:translate(-80%)}}@keyframes boss-phase-slash{0%{opacity:0;transform:translate(-20%)}20%{opacity:1}to{opacity:0;transform:translate(20%)}}.combat-result-flash{--result-color:#efc46e;--result-deep:#81500e;z-index:40;pointer-events:auto;background:radial-gradient(circle at 50% 50%,var(--result-color),#02040bd9 54%);place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.combat-result-flash{background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--result-color) 25%,transparent),#02040bd9 54%)}}.combat-result-flash{animation:1.9s ease-out forwards combat-result-screen}.combat-result-flash:before,.combat-result-flash:after{content:"";background:var(--result-color);width:130%;height:1px;box-shadow:0 0 18px 5px var(--result-color);position:absolute;left:-15%}.combat-result-flash:before{animation:1.9s ease-out combat-result-line-left;top:34%}.combat-result-flash:after{animation:1.9s ease-out combat-result-line-right;bottom:34%}.combat-result-flash.defeat{--result-color:#ff485d;--result-deep:#65000e}.combat-result-flash.retreat{--result-color:#8ca2c8;--result-deep:#283a59}.combat-result-flash section{z-index:2;text-align:center;background:linear-gradient(90deg,transparent,var(--result-deep) 18% 82%,transparent);flex-direction:column;align-items:center;width:min(820px,88vw);padding:30px 50px;display:flex;position:relative}@supports (color:color-mix(in lab, red, red)){.combat-result-flash section{background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--result-deep) 72%,#070a12) 18% 82%,transparent)}}.combat-result-flash section{animation:1.9s cubic-bezier(.16,.84,.22,1) forwards combat-result-title}.combat-result-flash section:before{content:"";border-block:1px solid var(--result-color);position:absolute;inset:7px 0}@supports (color:color-mix(in lab, red, red)){.combat-result-flash section:before{border-block:1px solid color-mix(in srgb,var(--result-color) 65%,transparent)}}.combat-result-flash small{color:var(--result-color);letter-spacing:.6em;font-size:9px;font-weight:900}.combat-result-flash strong{color:#fff5d5;letter-spacing:.13em;-webkit-text-stroke:1px var(--result-color);margin:8px 0 7px;font:900 clamp(58px,7.8vw,116px)/.94 Georgia,Microsoft YaHei,serif}@supports (color:color-mix(in lab, red, red)){.combat-result-flash strong{-webkit-text-stroke:1px color-mix(in srgb,var(--result-color) 75%,white)}}.combat-result-flash strong{text-shadow:0 0 15px var(--result-color),0 0 55px var(--result-deep),5px 6px 0 #0008}.combat-result-flash.defeat strong{color:#ffd7db}.combat-result-flash.retreat strong{color:#e4ecfa}.combat-result-flash section span{color:#dce2ed;letter-spacing:.22em;font-size:11px;font-weight:800}.combat-result-particles{position:absolute;inset:0}.combat-result-particles i{--angle:calc(var(--particle-index) * 20deg);background:linear-gradient(var(--result-color),transparent);width:5px;height:54px;box-shadow:0 0 14px var(--result-color);transform:rotate(var(--angle)) translateY(-48px);transform-origin:50% 0;animation:1.55s ease-out forwards combat-result-particle;animation-delay:calc(var(--particle-index) * 9ms);border-radius:50%;position:absolute;top:50%;left:50%}@keyframes combat-result-screen{0%{opacity:0}9%,74%{opacity:1}to{opacity:0}}@keyframes combat-result-title{0%{opacity:0;filter:blur(12px);transform:scale(2.8)}14%{opacity:1;filter:blur();transform:scale(.88)}25%{transform:scale(1.06)}39%,75%{transform:scale(1)}to{opacity:0;filter:blur(3px);transform:scale(1.12)}}@keyframes combat-result-particle{0%{opacity:0;transform:rotate(var(--angle)) translateY(-40px) scaleY(.2)}18%{opacity:1}to{opacity:0;transform:rotate(var(--angle)) translateY(-54vh) scaleY(1.6)}}@keyframes combat-result-line-left{0%{transform:translate(-90%)}20%,74%{transform:translate(0)}to{opacity:0;transform:translate(90%)}}@keyframes combat-result-line-right{0%{transform:translate(90%)}20%,74%{transform:translate(0)}to{opacity:0;transform:translate(-90%)}}@media (width<=760px){.battle-record>div{height:calc(100% - 34px)}.selected-card-stage{width:142px;height:205px;top:24%;left:54%}.selected-card-stage button>i{font-size:36px}.selected-card-stage button>b{font-size:12px}.selected-card-stage button>small{font-size:7px}.player-damage-flash{gap:8px}.player-damage-flash strong{font-size:clamp(48px,16vw,74px)}.player-damage-flash strong>span{margin-right:0;font-size:.5em;transform:scaleX(.62)}.player-damage-flash small{letter-spacing:.08em;font-size:7px}.boss-phase-flash section{min-width:94vw;padding:20px 10px}.boss-phase-flash strong{font-size:clamp(48px,16vw,78px)}.boss-phase-flash small{font-size:7px}.boss-phase-flash span{font-size:8px}}.pass-action{color:#e1bb73;cursor:pointer;z-index:4;background:#1b1a19;border:1px solid #6a5940;padding:7px 10px;font-size:8px;position:absolute;top:47px;right:18px}.pass-action:disabled{opacity:.35;cursor:not-allowed}.flee-action{color:#f08b97;cursor:pointer;z-index:4;background:#241318;border:1px solid #70404a;padding:7px 10px;font-size:8px;position:absolute;top:13px;right:18px}.flee-action:hover:not(:disabled){background:#351821;border-color:#e15e72}.flee-action:disabled{opacity:.35;cursor:not-allowed}.hero-select{gap:8px;margin-top:18px;display:flex}.hero-select button{color:#d8deea;cursor:pointer;background:#151c28;border:1px solid #3d485d;flex-direction:column;flex:1;align-items:flex-start;padding:10px 12px;display:flex}.hero-select button.selected{background:#211e1b;border-color:#e0b86b;box-shadow:0 0 20px #d6aa5526}.hero-select b{font-size:12px}.hero-select small{color:#79859b;margin-top:4px;font-size:7px}.roster-select{grid-template-columns:1fr 1fr;gap:8px;margin-top:18px;display:grid}.roster-select label{background:#131a26;border:1px solid #3d485d;flex-direction:column;padding:9px 10px;display:flex}.roster-select label>span{color:#e0b86b;letter-spacing:.12em;margin-bottom:6px;font-size:8px;font-weight:900}.roster-select select{color:#e4e9f2;cursor:pointer;background:#0d1420;border:1px solid #46546b;width:100%;padding:8px;font-size:10px}.roster-select option:disabled{color:#596273}.roster-select small{color:#69758b;margin-top:5px;font-size:7px}.seal-picker{z-index:55;background:#04070de8}.seal-picker>section{background:radial-gradient(circle at 50% 0,#23374c,#101722 55%);border:1px solid #71b9e9;width:min(620px,94vw);padding:28px;box-shadow:0 35px 100px #000}.seal-picker>section>small{color:#78c7f7;letter-spacing:.22em;font-size:8px}.seal-picker h2{margin:6px 0;font:700 24px Georgia,Microsoft YaHei,serif}.seal-picker p{color:#8fa0b7;font-size:10px}.seal-picker section>div{grid-template-columns:repeat(2,1fr);gap:8px;margin:18px 0;display:grid}.seal-picker section>div button{color:#e7edf6;cursor:pointer;background:#162230;border:1px solid #435a70;flex-direction:column;align-items:flex-start;padding:12px;display:flex}.seal-picker section>div button:hover{background:#203448;border-color:#8bd3ff}.seal-picker section>div span{color:#79a7c6;margin-top:5px;font-size:7px}.seal-picker .seal-cancel{color:#aab5c5;cursor:pointer;background:#171e2a;border:1px solid #4c586a;width:100%;padding:10px}.shop-overlay{z-index:24;background:#05070de8}.shop-window{background:linear-gradient(145deg,#171b25,#0e121a);border:1px solid #826839;width:min(900px,95vw);padding:26px;box-shadow:0 35px 110px #000,0 0 45px #d9ac4b1c}.shop-window>header{border-bottom:1px solid #393a39;justify-content:space-between;align-items:center;padding-bottom:18px;display:flex}.shop-window header small{color:#987b47;letter-spacing:.25em;font-size:8px}.shop-window h2{color:#f0d092;margin:5px 0 0;font:700 28px Georgia,Microsoft YaHei,serif}.shop-window header strong{color:#ffd275;background:#211c13;border:1px solid #876d3c;padding:10px 14px;font-size:15px}.shop-window>p{color:#818b9f;margin:14px 0 20px;font-size:10px}.shop-items{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.shop-item{text-align:center;background:radial-gradient(circle at 50% 22%,#37333b,#141923 60%);border:1px solid #454e60;flex-direction:column;align-items:center;min-height:280px;padding:18px;display:flex}.shop-item>span{color:#e9bb64;align-self:flex-start;font-size:11px}.shop-item>i{color:#d9ac58;text-shadow:0 0 25px;margin:28px 0 18px;font-size:58px;font-style:normal}.shop-item h3{margin:0;font-size:15px}.shop-item small{color:#748096;margin:7px 0 18px;font-size:8px;line-height:1.5}.shop-item button{color:#16191f;cursor:pointer;background:#d8ad60;border:1px solid #9a7840;width:100%;margin-top:auto;padding:11px;font-weight:900}.shop-item button:disabled{color:#697386;cursor:not-allowed;background:#242a36;border-color:#3c4557}.shop-item.star-2{border-color:#566c96}.shop-item.star-3{border-color:#88693b;box-shadow:inset 0 0 35px #d5a74b12}.shop-window>footer{border-top:1px solid #393a39;justify-content:space-between;align-items:center;margin-top:20px;padding-top:18px;display:flex}.shop-window footer span{color:#6f788a;font-size:9px}.shop-window footer button{color:#e1e5ed;cursor:pointer;background:#202735;border:1px solid #4b566b;padding:11px 16px}@media (width<=760px){.shop-window{max-height:94vh;padding:16px;overflow:auto}.shop-items{grid-template-columns:1fr}.shop-item{min-height:190px}.shop-item>i{margin:12px;font-size:38px}.shop-window>footer{flex-direction:column;align-items:stretch;gap:10px}}.shop-window{width:min(940px,96vw)}.shop-layout{grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr);gap:24px;min-height:520px;display:grid}.shop-catalog{flex-direction:column;min-width:0;display:flex}.shop-catalog>header{border-bottom:1px solid #393a39;padding-bottom:14px}.shop-catalog>p{color:#818b9f;margin:14px 0 18px;font-size:10px;line-height:1.6}.shop-catalog .shop-items{flex-direction:column;flex:1;gap:12px;display:flex}.shop-catalog .shop-item{color:#dfe4ec;text-align:left;cursor:pointer;grid-template-columns:62px 46px minmax(0,1fr);align-items:center;gap:12px;width:100%;height:auto;min-height:0;padding:16px 18px;transition:border-color .18s,background .18s,transform .18s,box-shadow .18s;display:grid}.shop-catalog .shop-item:hover:not(:disabled),.shop-catalog .shop-item.selected{background:radial-gradient(circle at 15%,#46361f,#171b24 72%);border-color:#e0b35f;transform:translate(5px);box-shadow:inset 4px 0 #e0b35f,0 12px 28px #0006}.shop-catalog .shop-item:disabled{opacity:.48;cursor:not-allowed}.shop-catalog .shop-item>span{align-self:auto}.shop-catalog .shop-item>i{text-align:center;margin:0;font-size:34px}.shop-item-copy{flex-direction:column;min-width:0;color:#e8ecf2!important;font-size:13px!important;display:flex!important}.shop-item-copy small{color:#8c96a8;font-size:8px;line-height:1.45;margin:5px 0 0!important}.shop-actions{border-left:1px solid #3b3b38;flex-direction:column;align-items:stretch;min-width:0;padding-left:24px;display:flex}.shop-coins{color:#ffd275;background:#211c13;border:1px solid #876d3c;align-self:flex-end;padding:11px 15px;font-size:15px}.shop-confirm{text-align:center;background:linear-gradient(145deg,#1d1c1c,#11151c);border:1px solid #5e523d;margin:auto 0;padding:22px 18px}.shop-confirm>small{color:#a1844f;letter-spacing:.2em;font-size:8px}.shop-confirm h3{color:#f0d092;min-height:24px;margin:8px 0 5px;font-size:17px}.shop-confirm p{color:#8791a2;min-height:42px;margin:0 0 15px;font-size:9px;line-height:1.55}.shop-confirm button,.shop-exit button{color:#16191f;cursor:pointer;background:#d8ad60;border:1px solid #9a7840;width:100%;padding:12px;font-weight:900}.shop-confirm button:disabled{color:#697386;cursor:not-allowed;background:#242a36;border-color:#3c4557}.shop-exit{flex-direction:column;gap:8px;display:flex}.shop-exit span{color:#687285;text-align:right;font-size:8px}.shop-exit button{color:#e1e5ed;background:#202735;border-color:#4b566b}@media (width<=760px){.shop-window{padding:12px;overflow:hidden}.shop-layout{grid-template-columns:minmax(0,1.4fr) minmax(210px,.75fr);gap:12px;height:100%;min-height:0}.shop-catalog>header{padding-bottom:6px}.shop-catalog h2{font-size:18px}.shop-catalog>p{margin:6px 0 8px;font-size:7px}.shop-catalog .shop-items{gap:6px}.shop-catalog .shop-item{grid-template-columns:42px 30px minmax(0,1fr);gap:7px;padding:8px 10px}.shop-catalog .shop-item>i{font-size:24px}.shop-item-copy{font-size:10px!important}.shop-item-copy small{font-size:6px}.shop-actions{padding-left:12px}.shop-coins{padding:7px 9px;font-size:11px}.shop-confirm{padding:11px 9px}.shop-confirm h3{font-size:13px}.shop-confirm p{min-height:28px;margin-bottom:7px;font-size:7px}.shop-confirm button,.shop-exit button{padding:9px}.shop-exit span{font-size:6px}}.backpack-overlay{z-index:23;background:#05070de8}.backpack-window{background:linear-gradient(145deg,#161c28,#0c111a);border:1px solid #55647b;flex-direction:column;width:min(1060px,96vw);height:min(780px,94vh);padding:24px;display:flex;box-shadow:0 35px 110px #000}.backpack-window>header{border-bottom:1px solid #30394a;justify-content:space-between;align-items:center;padding-bottom:16px;display:flex}.backpack-window header small{color:#65748d;letter-spacing:.25em;font-size:8px}.backpack-window h2{margin:4px 0 0;font:700 27px Georgia,Microsoft YaHei,serif}.backpack-summary{gap:8px;display:flex}.backpack-summary span{color:#77849b;border:1px solid #394559;flex-direction:column;padding:8px 13px;font-size:7px;display:flex}.backpack-summary b{color:#e4bd73;margin-top:2px;font-size:13px}.backpack-toolbar{justify-content:space-between;align-items:center;padding:12px 0;display:flex}.backpack-toolbar span{color:#7d889b;font-size:9px}.backpack-toolbar button{color:#e3e7ef;cursor:pointer;background:#202838;border:1px solid #4b586e;padding:8px 13px}.backpack-grid{flex:1;grid-template-columns:repeat(4,1fr);align-content:start;gap:11px;min-height:0;padding-right:4px;display:grid;overflow-y:auto}.backpack-card{color:#b8c1d1;background:radial-gradient(circle at 50% 24%,#283246,#121824 67%);border:1px solid #4a566b;flex-direction:column;min-height:210px;padding:13px;display:flex;position:relative}.backpack-card.red,.backpack-card.basic-red{color:#f17b80}.backpack-card.blue,.backpack-card.basic-blue{color:#73b7f5}.backpack-card.violet{color:#ac91ff}.backpack-card.green{color:#65cfad}.backpack-card.gold{color:#edbd68}.backpack-card-top{align-items:center;gap:7px;display:flex}.backpack-card-top em{color:#141820;background:#d9ae63;border-radius:50%;place-items:center;width:25px;height:25px;font-style:normal;font-weight:900;display:grid}.backpack-card-top span{color:#8792a7;font-size:7px}.backpack-card-top strong{color:#f0c979;margin-left:auto;font-size:12px}.backpack-card>i{color:inherit;text-shadow:0 0 18px;align-self:center;margin:22px 0;font-size:42px;font-style:normal}.backpack-card h3{color:#e8ebf2;margin:auto 0 5px;font-size:13px}.backpack-card p{color:#8792a7;margin:0;font-size:8px;line-height:1.55}@media (width<=760px){.backpack-window{padding:14px}.backpack-window>header{flex-direction:column;align-items:flex-start;gap:10px}.backpack-summary{width:100%}.backpack-summary span{flex:1}.backpack-grid{grid-template-columns:repeat(2,1fr)}.backpack-card{min-height:190px}}.reward-overlay{z-index:25;background:#05070ee3}.reward-window{text-align:center;background:linear-gradient(145deg,#1b1d25,#0e121a);border:1px solid #9b7840;width:min(460px,94vw);padding:24px;box-shadow:0 35px 100px #000,0 0 55px #e4b85821}.reward-window>header{border-bottom:1px solid #49402e;justify-content:space-between;align-items:center;padding-bottom:13px;display:flex}.reward-window header span{color:#c79c53;letter-spacing:.2em;font-size:9px}.reward-window header strong{color:#ffd479;font-size:14px}.reward-card-preview{color:#d6b162;background:radial-gradient(circle at 50% 25%,#3b3342,#151a24 65%);border:2px solid #ca9d50;flex-direction:column;width:240px;min-height:310px;margin:18px auto;padding:16px;display:flex;box-shadow:0 20px 45px #0009}.reward-card-preview.red{color:#ef767b}.reward-card-preview.blue{color:#71b5f4}.reward-card-preview.violet{color:#ae91ff}.reward-card-preview.green{color:#65d0ad}.reward-card-preview.gold{color:#f0bd62}.reward-card-preview>div{justify-content:space-between;align-items:center;display:flex}.reward-card-preview em{color:#161a21;background:#d8ab5d;border-radius:50%;place-items:center;width:29px;height:29px;font-style:normal;font-weight:900;display:grid}.reward-card-preview span{font-size:8px}.reward-card-preview>i{text-shadow:0 0 24px;margin:45px 0 28px;font-size:56px;font-style:normal}.reward-card-preview h2{color:#edf0f5;margin:auto 0 7px;font-size:20px}.reward-card-preview p{color:#919bad;margin:0;font-size:9px;line-height:1.6}.reward-window>h3{color:#e8c67f;margin:0;font-size:13px}.reward-window>small{color:#727c8e;margin:7px 0 14px;font-size:8px;display:block}.reward-window>button{color:#151921;cursor:pointer;background:#d9ad60;border:0;width:100%;padding:11px;font-weight:900}.reward-actions{grid-template-columns:1fr 1.6fr;gap:8px;display:grid}.reward-actions button{color:#151921;cursor:pointer;background:#d9ad60;border:0;padding:11px;font-weight:900}.reward-actions button.discard{color:#e78a94;background:#24171c;border:1px solid #814851}.encounter-reward-overlay{z-index:27;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#03060deb}.encounter-reward-window{background:linear-gradient(145deg,#171e2b,#090e17);border:1px solid #79613d;width:min(980px,96vw);padding:24px;box-shadow:0 38px 120px #000,0 0 48px #d7aa5520}.encounter-reward-window>header{border-bottom:1px solid #3d3a32;justify-content:space-between;align-items:center;padding-bottom:16px;display:flex}.encounter-reward-window header small{color:#b48e4e;letter-spacing:.2em;font-size:8px}.encounter-reward-window h2{margin:5px 0 0;font:700 27px Georgia,Microsoft YaHei,serif}.encounter-reward-window header strong{color:#f3c76f;background:#231c12;border:1px solid #846b40;padding:9px 13px;font-size:14px}.encounter-reward-window>p{color:#8994a8;margin:14px 0 18px;font-size:10px}.encounter-reward-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.encounter-reward-card{color:#dfe5ef;text-align:left;cursor:pointer;background:radial-gradient(circle at 50% 22%,#293449,#111722 67%);border:1px solid #4a566d;flex-direction:column;align-items:stretch;min-height:330px;padding:16px;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex}.encounter-reward-card:hover{border-color:#edc16d;transform:translateY(-6px);box-shadow:0 18px 40px #000a,0 0 22px #e5b85c25}.encounter-reward-card>div{color:#919db1;justify-content:space-between;align-items:center;font-size:8px;display:flex}.encounter-reward-card>div em{color:#151923;background:#d9ae62;border-radius:50%;place-items:center;width:28px;height:28px;font-style:normal;font-weight:900;display:grid}.encounter-reward-card>.card-mark{align-self:center;margin:34px 0 26px}.encounter-reward-card h3{color:#f0f2f7;margin:auto 0 7px;font-size:16px}.encounter-reward-card>p{color:#8e99ad;min-height:52px;margin:0;font-size:8px;line-height:1.6}.encounter-reward-card>strong{color:#151921;text-align:center;background:#d8ad61;margin-top:15px;padding:9px;font-size:9px}.encounter-reward-card.red{border-color:#74414a}.encounter-reward-card.blue{border-color:#3c5c7d}.encounter-reward-card.violet{border-color:#574777}.encounter-reward-card.green{border-color:#386454}.encounter-reward-card.gold{border-color:#80643a}.encounter-reward-window>footer{color:#6f7a8e;text-align:center;border-top:1px solid #30394a;margin-top:16px;padding-top:13px;font-size:8px}@media (width<=760px){.encounter-reward-window{max-height:95vh;padding:14px;overflow-y:auto}.encounter-reward-window h2{font-size:20px}.encounter-reward-cards{grid-template-columns:1fr}.encounter-reward-card{min-height:225px}.encounter-reward-card>.card-mark{margin:14px auto}.encounter-reward-card>p{min-height:0}}.encounter-reward-card.selected{border-color:#ffd479;transform:translateY(-6px);box-shadow:0 18px 40px #000a,0 0 0 2px #ffd479,0 0 28px #e5b85c45}.desktop-shortcut-copy{color:#dcb96f;font:700 8px/1.3 var(--font-mono),monospace;letter-spacing:.08em;margin-top:7px;display:block}.desktop-key-hint{min-width:18px;color:inherit;font:800 7px/1 var(--font-mono),monospace;background:#0b1019b8;border:1px solid;place-items:center;margin-left:5px;padding:2px 4px;display:inline-grid}.shop-catalog>p .desktop-shortcut-copy{margin-top:5px}.encounter-reward-window header .desktop-shortcut-copy{font-size:7px}@media (pointer:coarse){.desktop-shortcut-copy,.desktop-key-hint{display:none!important}}html.manual-landscape .desktop-shortcut-copy,html.manual-landscape .desktop-key-hint{display:none!important}.event-overlay{z-index:28;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#03050bef}.event-window{background:linear-gradient(145deg,#171d29,#090e17);border:1px solid #4d596f;width:min(760px,96vw);max-height:94vh;padding:22px;overflow-y:auto;box-shadow:0 40px 120px #000}.event-window>header{border-bottom:1px solid #303a4c;justify-content:space-between;align-items:center;padding-bottom:13px;display:flex}.event-window>header span{letter-spacing:.22em;color:#8793aa;font-size:8px}.event-window>header strong{color:#edc16e;font-size:13px}.event-card{perspective:1100px;width:240px;height:330px;margin:20px auto}.event-card-inner{color:#eef2f8;cursor:pointer;width:100%;height:100%;transform-style:preserve-3d;background:0 0;border:0;padding:0;transition:transform .75s cubic-bezier(.2,.75,.2,1);position:relative}.event-card.revealed .event-card-inner{cursor:default;transform:rotateY(180deg)}.event-card-back,.event-card-front{backface-visibility:hidden;background:radial-gradient(circle at 50% 25%,#28334a,#101621 68%);border:2px solid #68758d;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0;box-shadow:0 22px 55px #0009}.event-card-back:before{content:"";border:1px solid #4d5b72;position:absolute;inset:12px}.event-card-back i{color:#99a6bc;font:500 75px Georgia,serif}.event-card-back b{letter-spacing:.22em;font-size:16px}.event-card-back small{color:#77849a;margin-top:10px;font-size:8px}.event-card-front{text-align:center;padding:22px;transform:rotateY(180deg)}.event-card.normal .event-card-front{background:radial-gradient(circle at 50% 30%,#1d4d78,#101621 70%);border-color:#5ea6ed}.event-card.reward .event-card-front{background:radial-gradient(circle at 50% 30%,#72521c,#18140d 70%);border-color:#e7bc62}.event-card.penalty .event-card-front{background:radial-gradient(circle at 50% 30%,#6b2027,#190d11 70%);border-color:#ea5e67}.event-card-front small{letter-spacing:.24em;font-size:8px}.event-card-front i{margin:34px 0 24px;font-size:62px;font-style:normal}.event-card-front h2{margin:0;font:500 22px Georgia,Microsoft YaHei,serif}.event-dialogue{border-top:1px solid #303a4b;padding-top:16px}.event-dialogue>p{color:#dce2ec;background:#0d131e;border-left:3px solid #6d7c96;min-height:48px;margin:0 0 14px;padding:14px 16px;font-size:12px;line-height:1.7}.event-dialogue>label{color:#8d98aa;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:14px;font-size:10px;display:grid}.event-dialogue input{accent-color:#d8ad62}.event-dialogue label b{color:#eac16e}.event-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.event-options button{color:#dbe1eb;text-align:left;cursor:pointer;background:#151d2a;border:1px solid #46536a;min-height:64px;padding:11px 13px;transition:all .18s}.event-options button:hover{background:#1b2637;border-color:#788aa9}.event-options button.selected{background:#342817;border-color:#e8bd6b;box-shadow:inset 0 0 0 1px #e8bd6b55}.event-options span{font-size:10px;line-height:1.45;display:block}.event-options small{color:#778399;margin-top:6px;font-size:7px;display:block}.event-options button.selected small{color:#f1c874}@media (width<=600px){.event-window{padding:14px}.event-card{width:190px;height:260px}.event-options{grid-template-columns:1fr}}.event-finish{color:#151921;cursor:pointer;background:#d9ad60;border:0;width:100%;margin-top:10px;padding:12px;font-weight:900;display:block}.wish-coin-control{background:#0d1522;border:1px solid #53627a;gap:8px;margin:0 0 12px;padding:11px;display:grid}.wish-coin-control label{color:#aeb8c8;grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:10px;font-size:9px;display:grid}.wish-coin-control input{color:#f0c879;background:#101a29;border:1px solid #596881;width:100%;min-width:0;padding:8px 10px;font:700 13px/1 monospace}.wish-coin-control label b{color:#f0c879}.wish-coin-control>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.wish-coin-control>div button{color:#dce4f1;cursor:pointer;background:#182337;border:1px solid #65748c;padding:7px}.wish-coin-control>div button:hover{color:#f4cb7f;border-color:#edbd68}.wish-coin-control>small{color:#78869d;font-size:7px;line-height:1.5}.wish-card-options{overscroll-behavior:contain;max-height:260px;padding-right:5px;overflow-y:auto}.wish-card-options button{min-height:54px}.wish-card-options:after{content:"";grid-column:1/-1;height:12px;display:block}@media (width<=900px) and (orientation:landscape){.wish-coin-control{gap:5px;margin-bottom:6px;padding:7px}.wish-coin-control label{gap:6px;font-size:7px}.wish-coin-control input{padding:5px 7px;font-size:10px}.wish-coin-control>div button{padding:5px;font-size:8px}.wish-coin-control>small{font-size:6px}.wish-card-options{max-height:42svh;padding-bottom:12px}.wish-card-options button{min-height:42px}}html.manual-landscape .wish-coin-control{gap:5px;margin-bottom:6px;padding:7px}html.manual-landscape .wish-coin-control label{gap:6px;font-size:7px}html.manual-landscape .wish-coin-control input{padding:5px 7px;font-size:10px}html.manual-landscape .wish-coin-control>div button{padding:5px;font-size:8px}html.manual-landscape .wish-coin-control>small{font-size:6px}html.manual-landscape .wish-card-options{max-height:42svh;padding-bottom:12px}html.manual-landscape .wish-card-options button{min-height:42px}.event-window>header .keyboard-hint{color:#e7bd72;font:700 8px/1 var(--font-mono),monospace;letter-spacing:.08em}.turn-end-warning{z-index:1;color:#ff9b9b;letter-spacing:.06em;background:#35171be6;border:1px solid #d96363;margin-top:7px;padding:4px 6px;font-size:7px;font-weight:900;display:block;position:relative}.selected-card-stage .turn-end-warning{margin-top:10px;font-size:8px}.portrait img{object-fit:contain;object-position:center;width:100%;height:100%;image-rendering:pixelated;display:block;position:static;transform:none}.portrait.lizhang-head-position img{object-fit:contain;object-position:center;width:170%;max-width:none;height:170%;image-rendering:pixelated;position:absolute;top:-46%;left:-66%}.tokens img{image-rendering:pixelated}.enemy-health-wrap,.hero-health-wrap{position:relative}.enemy-health-wrap .enemy-health{margin-top:0}.hero-health-wrap .hero-health{margin:0}.combat-statuses{z-index:24;white-space:nowrap;max-width:min(68vw,760px);position:absolute}.combat-statuses.hero{bottom:calc(100% + 5px);left:0}.combat-statuses.enemy{top:calc(100% + 5px);left:0}.combat-status-chips{max-width:inherit;align-items:center;gap:5px;display:flex}.combat-status-chips>button{appearance:none;color:#d9dfeb;height:20px;font:inherit;cursor:pointer;touch-action:manipulation;background:#111824f2;border:1px solid #4b586e;align-items:center;gap:4px;padding:0 6px;font-size:7px;line-height:1;display:flex;box-shadow:0 5px 14px #0008}.combat-status-chips>button:hover,.combat-status-chips>button:focus-visible,.combat-status-chips>button.selected{filter:brightness(1.18);outline-offset:1px;outline:1px solid}.combat-status-chips>button i{font-size:6px;font-style:normal}.combat-status-chips>button b{color:#e8edf6;font-size:7px}.combat-status-chips>button em{color:#aeb8ca;font-style:normal}.combat-status-chips>button.buff{background:#10241f;border-color:#428f79}.combat-status-chips>button.buff i,.combat-status-chips>button.buff em{color:#65d0ae}.combat-status-chips>button.debuff{background:#2a1118;border-color:#9b3f54}.combat-status-chips>button.debuff i,.combat-status-chips>button.debuff em{color:#ff7383}.combat-status-chips>button.special{background:#2a2112;border-color:#8e7040}.combat-status-chips>button.special i,.combat-status-chips>button.special em{color:#efc26f}.combat-status-detail{z-index:30;white-space:normal;color:#dce3ef;background:#0d131ef7;border:1px solid #526079;width:min(286px,72vw);max-height:min(150px,38vh);padding:10px 12px;position:absolute;left:0;overflow:auto;box-shadow:0 16px 40px #000b}.combat-statuses.enemy .combat-status-detail{top:calc(100% + 7px)}.combat-statuses.hero .combat-status-detail{bottom:calc(100% + 7px)}.combat-status-detail header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:5px;display:flex}.combat-status-detail header span{letter-spacing:.16em;color:#8190a8;font-size:6px}.combat-status-detail header em{color:#b9c3d3;font-size:7px;font-style:normal}.combat-status-detail>strong{color:#f0f3f8;font-size:11px;display:block}.combat-status-detail>p{color:#bdc6d5;margin:5px 0 8px;font-size:8px;line-height:1.65}.combat-status-detail>small{color:#717e93;border-top:1px solid #2c3546;padding-top:6px;font-size:6px;display:block}.combat-status-detail.buff{border-color:#428f79}.combat-status-detail.debuff{border-color:#9b3f54}.combat-status-detail.special{border-color:#8e7040}@media (width<=760px){.combat-statuses{max-width:52vw}.combat-status-chips{gap:3px;max-width:52vw;padding:1px;overflow-x:auto}.combat-status-chips>button{height:18px;padding:0 4px}.combat-status-chips>button em{display:none}.combat-status-detail{width:min(238px,64vw);max-height:112px;padding:7px 9px}.combat-status-detail>strong{font-size:9px}.combat-status-detail>p{font-size:7px;line-height:1.5}.hero-health-wrap{margin-top:24px}}.blind-status-message{color:#e391bb;white-space:nowrap;background:#271322f2;border:1px solid #8a476c;align-items:center;height:20px;padding:0 7px;font-size:7px;display:flex;position:absolute;bottom:calc(100% + 5px);left:0;box-shadow:0 5px 14px #0008}.boss-target-bars{grid-template-columns:1fr 1fr;gap:7px;display:grid}.boss-target-bars button{color:#aab3c4;cursor:pointer;background:#171e2b;border:1px solid #4b566d;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;height:23px;padding:3px 7px;font-size:7px;transition:border-color .14s,background .14s,box-shadow .14s,color .14s;display:grid;position:relative}.boss-target-bars button.targeted{color:#fff0bd;background:linear-gradient(90deg,#46371d,#251e15);border:2px solid #ffd778;box-shadow:0 0 0 1px #fff2b566,0 0 18px #eeb94d99,inset 0 0 12px #ffcf5a24}.boss-target-bars button.targeted:after{content:"当前目标";color:#ffe8a8;letter-spacing:.08em;pointer-events:none;background:#3a2b13;border:1px solid #ffd778;padding:1px 4px;font-size:5px;font-weight:900;line-height:1.25;position:absolute;top:-10px;right:4px;box-shadow:0 2px 8px #000b}.boss-target-bars button:focus-visible{outline-offset:2px;outline:2px solid #fff0b0}.boss-target-bars button:disabled{opacity:.38;cursor:not-allowed}.boss-target-bars button>i{background:#2c3444;height:6px;overflow:hidden}.boss-target-bars button>i>b{background:linear-gradient(90deg,#8b2737,#e35b63);height:100%;display:block}.boss-target-bars button.targeted>i{outline:1px solid #ffe09a;height:8px;box-shadow:0 0 10px #ffce67}.boss-target-bars button.targeted>i>b{filter:brightness(1.28)saturate(1.2)}.boss-target-bars button>em{font-style:normal}.boss-target-bars.eye{margin-top:4px}.boss-target-bars.eye button:last-child>i>b{background:linear-gradient(90deg,#825f20,#e2b754)}.enemy-health-wrap:has(.boss-target-bars.eye) .combat-statuses.enemy{top:calc(100% + 3px)}.backpack-use-card{color:#12161e;cursor:pointer;background:#d7ab5d;border:1px solid #b98e45;width:100%;margin-top:11px;padding:8px 7px;font-size:8px;font-weight:900}.backpack-use-card:hover:not(:disabled){background:#efc878}.backpack-use-card:disabled{color:#69758a;cursor:not-allowed;background:#222a37;border-color:#414b5d}.card-mark{--mark:#9eb3d8;border:1px solid var(--mark);flex:0 0 52px;place-items:center;width:52px;height:52px;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.card-mark{border:1px solid color-mix(in srgb,var(--mark) 72%,transparent)}}.card-mark{background:radial-gradient(circle at 36% 28%,var(--mark),#0c121d 72%);border-radius:14px}@supports (color:color-mix(in lab, red, red)){.card-mark{background:radial-gradient(circle at 36% 28%,color-mix(in srgb,var(--mark) 25%,transparent),#0c121d 72%)}}.card-mark{color:var(--mark);box-shadow:inset 0 0 0 1px #ffffff09,0 0 18px var(--mark)}@supports (color:color-mix(in lab, red, red)){.card-mark{box-shadow:inset 0 0 0 1px #ffffff09,0 0 18px color-mix(in srgb,var(--mark) 24%,transparent)}}.battle-hand button>.card-mark,.selected-card-stage button>.card-mark{position:absolute;top:16%;left:50%;transform:translate(-50%)}.selected-card-stage button>.card-mark{border-radius:17px;width:64px;height:64px}.backpack-card>.card-mark{align-self:center;margin:18px 0 16px}.reward-card-preview>.card-mark{border-radius:18px;align-self:center;width:68px;height:68px;margin:37px 0 22px}.card-mark-shape{width:25px;height:25px;color:inherit;filter:drop-shadow(0 0 5px);display:block;position:relative}.card-mark-attack{--mark:#f47a82}.card-mark-defense{--mark:#76b9f5}.card-mark-heal{--mark:#64d1a9}.card-mark-enhance{--mark:#f1c36d}.card-mark-support{--mark:#8ed3dc}.card-mark-trap{--mark:#ed936f}.card-mark-control{--mark:#b095ff}.card-mark-summon{--mark:#75c3ff}.card-mark-debuff{--mark:#d47ae8}.card-mark-attack>.card-mark-shape:before,.card-mark-attack>.card-mark-shape:after{content:"";background:currentColor;border-radius:2px;width:3px;height:26px;position:absolute;top:0;left:11px;transform:rotate(42deg);box-shadow:0 0 0 1px #0c121d}.card-mark-attack>.card-mark-shape:after{transform:rotate(-42deg)}.card-mark-defense>.card-mark-shape:before{content:"";border:3px solid;border-radius:3px;position:absolute;inset:3px;transform:rotate(45deg);box-shadow:inset 0 0 8px}.card-mark-heal>.card-mark-shape:before,.card-mark-heal>.card-mark-shape:after{content:"";background:currentColor;border-radius:2px;position:absolute}.card-mark-heal>.card-mark-shape:before{width:5px;height:23px;top:1px;left:10px}.card-mark-heal>.card-mark-shape:after{width:23px;height:5px;top:10px;left:1px}.card-mark-enhance>.card-mark-shape:before{content:"";clip-path:polygon(50% 0,61% 37%,100% 50%,61% 63%,50% 100%,39% 63%,0 50%,39% 37%);background:currentColor;position:absolute;inset:1px}.card-mark-support>.card-mark-shape:before{content:"";border:3px solid;border-radius:50%;position:absolute;inset:2px}.card-mark-support>.card-mark-shape:after{content:"";background:currentColor;border-radius:50%;width:7px;height:7px;position:absolute;top:9px;left:9px;box-shadow:0 0 8px}.card-mark-trap>.card-mark-shape:before{content:"";border:3px solid;position:absolute;inset:2px;transform:rotate(45deg)}.card-mark-trap>.card-mark-shape:after{content:"";background:currentColor;width:4px;height:29px;position:absolute;top:-2px;left:10px;box-shadow:0 0 5px}.card-mark-control>.card-mark-shape:before{content:"";border:3px solid;border-color:currentColor #0000;border-radius:50%;width:23px;height:15px;position:absolute;top:4px;left:1px}.card-mark-control>.card-mark-shape:after{content:"";background:currentColor;border-radius:50%;width:5px;height:5px;position:absolute;top:10px;left:10px}.card-mark-summon>.card-mark-shape:before{content:"";clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);background:currentColor;position:absolute;inset:1px}.card-mark-summon>.card-mark-shape:after{content:"";clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);background:#111827;position:absolute;inset:6px}.card-mark-debuff>.card-mark-shape:before{content:"";border-top:19px solid;border-left:11px solid #0000;border-right:11px solid #0000;position:absolute;top:5px;left:2px}.card-mark-debuff>.card-mark-shape:after{content:"";background:currentColor;border-radius:3px;width:5px;height:9px;position:absolute;top:1px;left:10px}.card-mark-secondary{width:22px;height:22px;color:var(--mark);background:#121a27;border:2px solid #101621;border-radius:7px;place-items:center;display:grid;position:absolute;bottom:-7px;right:-7px;box-shadow:0 4px 9px #000b}.card-mark-secondary>.card-mark-shape{width:12px;height:12px;transform:scale(.48)}.animated-health{isolation:isolate;position:relative}.animated-health>.health-fill,.animated-health>.health-lag{pointer-events:none;height:100%;display:block;position:absolute;inset:0 auto 0 0}.animated-health>.health-lag{z-index:0;transition:width .82s cubic-bezier(.2,.72,.25,1) .14s;background:#f6d377!important;box-shadow:0 0 12px #f6d37788!important}.animated-health>.health-fill{z-index:1;will-change:width;transition:width .3s cubic-bezier(.2,.75,.25,1)}.enemy-health.animated-health,.hero-health.animated-health{overflow:visible}.enemy-health.animated-health:before,.hero-health.animated-health:before,.boss-mini-health.animated-health:before{content:"";z-index:-1;background:#252d3b;position:absolute;inset:0}.enemy-health>.health-fill{background:linear-gradient(90deg,#8b2737,#e35b63);box-shadow:0 0 18px #e24f5a88}.hero-health>.health-fill{background:#54c6a6;box-shadow:0 0 12px #54c6a688}.hp>.health-fill{background:var(--player);box-shadow:0 0 8px var(--player)}.boss-mini-health{background:#2c3444;height:6px;position:relative;overflow:hidden}.boss-mini-health>.health-fill{background:linear-gradient(90deg,#8b2737,#e35b63)}.animated-health>span{z-index:3;text-shadow:0 1px 2px #000;place-items:center;font-size:8px;font-weight:800;display:grid;position:absolute;inset:0}.health-change{z-index:9;letter-spacing:.03em;pointer-events:none;font:900 12px/1 Georgia,Microsoft YaHei,serif;animation:1.05s ease-out both health-change-pop;position:absolute;top:calc(100% + 5px);right:5px}.health-change.damage{color:#ff6f79;text-shadow:0 0 10px #e84e59}.health-change.heal{color:#68e5b8;text-shadow:0 0 10px #4cd0a2}.hero-health .health-change{inset:auto auto calc(100% + 5px) 4px}.animated-health.is-damaged{animation:.34s ease-out health-damage-flash}.animated-health.is-healing{animation:.46s ease-out health-heal-flash}@keyframes health-change-pop{0%{opacity:0;transform:translateY(7px)scale(.72)}22%{opacity:1;transform:translateY(0)scale(1.15)}to{opacity:0;transform:translateY(-15px)scale(1)}}@keyframes health-damage-flash{0%,to{box-shadow:0 0 #0000}40%{box-shadow:0 0 16px #ff4d5caa}}@keyframes health-heal-flash{0%,to{box-shadow:0 0 #0000}40%{box-shadow:0 0 16px #4ed9a7aa}}@media (width<=760px){.battle-hand button>.card-mark{border-radius:11px;width:42px;height:42px;top:13%}.battle-hand button>.card-mark>.card-mark-shape{transform:scale(.8)}.selected-card-stage button>.card-mark{width:50px;height:50px}.card-mark-secondary{bottom:-5px;right:-5px}}@media (prefers-reduced-motion:reduce){.animated-health>.health-fill,.animated-health>.health-lag{transition:none}.health-change,.animated-health.is-damaged,.animated-health.is-healing{animation:none}.combat-edge-pulse{opacity:.38;animation:none}}.battle-stage{--battle-top:18px;--battle-side:18px;background:radial-gradient(circle at 54% 38%,#222d43 0,#0000 38%),linear-gradient(150deg,#0a0e16,#060910 68%,#111826);width:min(1500px,100vw);height:min(920px,100vh)}.battle-title{top:var(--battle-top);flex-direction:column;gap:1px;width:250px;height:36px;left:50%;transform:translate(-50%)}.battle-title span{font-size:11px}.battle-title small{font-size:7px}.enemy-hud{background:#101723f2;width:52%;height:82px;padding:9px 16px;top:58px;left:24%}.enemy-name{height:25px}.enemy-name span{left:0}.enemy-name b{font-size:16px}.enemy-health-wrap{margin-top:5px}.enemy-health{height:19px;margin-top:0}.battle-portrait.enemy{border:1px solid #566177;width:96px;height:122px;top:18px;left:calc(24% - 114px);right:auto}.combat-summon-slot.enemy{top:18px;left:calc(76% + 18px)}.battle-record.player-record{border-left:0;width:148px;height:250px;top:164px;left:0}.battle-record.enemy-record{border-left:0;width:148px;height:178px;inset:430px auto auto 0}.battle-record header{height:36px}.battle-record>div{height:calc(100% - 36px)}.selected-card-stage{width:176px;height:240px;top:164px;left:273px;transform:none}.selected-card-stage>span{white-space:normal;text-align:center;line-height:1.45}.selected-card-stage button{box-shadow:0 24px 60px #000d,0 0 28px #ddb45b2d}.battle-portrait.hero{border-top:1px solid #566177;border-bottom:0;border-left:0;border-right:1px solid #566177;width:98px;height:164px;top:auto;bottom:0;left:0}.hero-hud{border-bottom:0;width:268px;min-width:0;height:164px;padding:16px 14px;top:auto;bottom:0;left:98px}.hero-hud-top b{font-size:16px}.hero-health-wrap{margin:32px 0 10px}.hero-stats b{font-size:9px}.combat-summon-slot.hero{bottom:164px;left:98px}.combat-summon-slot{z-index:5;background:#101722eb;border:1px solid #4e5a70;align-items:center;gap:9px;width:156px;height:70px;padding:8px;display:flex;position:absolute;box-shadow:0 14px 34px #0008}.combat-summon-slot>span{color:#d9b76e;background:#1a2231;border:1px solid #6a758b;flex:0 0 48px;place-items:center;width:48px;height:48px;font-size:24px;display:grid}.combat-summon-slot>span.dragon-portrait{padding:0;overflow:hidden}.combat-summon-slot>span.dragon-portrait img{object-fit:cover;width:100%;height:100%;display:block}.combat-summon-slot>span.dragon-portrait.egg img{object-position:50% 48%}.combat-summon-slot>span.dragon-portrait.young img{object-position:31% 48%}.combat-summon-slot>span.dragon-portrait.adult img{object-position:50% 31%}.combat-summon-slot>div{flex-direction:column;min-width:0;display:flex}.combat-summon-slot small{color:#748198;letter-spacing:.13em;font-size:6px}.combat-summon-slot b{color:#e1e6ee;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:10px;overflow:hidden}.combat-summon-slot em{color:#8d98aa;margin-top:3px;font-size:7px;font-style:normal}.combat-summon-slot.empty{opacity:.42}.combat-summon-slot.active{border-color:#826c48}.combat-summon-slot.active>span{box-shadow:inset 0 0 18px #d7aa4933,0 0 14px #d7aa4922}.summon-health{background:#252d3b;width:82px;height:4px;margin-top:4px;position:relative;overflow:hidden}.summon-health>.health-fill{background:linear-gradient(90deg,#3d9f7e,#67d7ae);box-shadow:0 0 8px #52caa477}.combat-summon-slot.targeted{background:linear-gradient(135deg,#3b2e19,#171c27);border:2px solid #ffd778;box-shadow:0 0 0 1px #fff2b54d,0 0 24px #eeb94d99,0 14px 34px #0008}.combat-summon-slot.targeted .summon-health{outline:1px solid #ffe09a;height:8px;box-shadow:0 0 10px #ffce67}.combat-summon-slot.targeted .summon-health .health-fill{filter:brightness(1.3)saturate(1.2)}.combat-summon-slot.targeted>div:after{content:"当前目标";color:#ffe8a8;letter-spacing:.08em;background:#3a2b13;border:1px solid #ffd778;margin-top:3px;padding:1px 4px;font-size:5px;font-weight:900;line-height:1.25;display:inline-block}.combat-summon-slot.selectable{z-index:12;font:inherit;text-align:left;color:inherit;appearance:none;cursor:pointer;pointer-events:auto;margin:0}.combat-summon-slot.selectable:hover{background:#192131;border-color:#d9ae59}.pvp-target-bars{z-index:12;pointer-events:auto;gap:6px;display:flex;position:absolute;top:calc(100% + 8px);left:0}.pvp-target-bars button{color:#b7c0cf;cursor:pointer;pointer-events:auto;background:#111925;border:1px solid #46526a;justify-content:space-between;align-items:center;gap:8px;min-width:118px;padding:6px 9px;font-size:7px;display:flex}.pvp-target-bars button.targeted{color:#f3d28c;background:#2a2419;border-color:#d9ae59;box-shadow:0 0 14px #d9ae5933}.pvp-target-bars button span{font-weight:900}.pvp-target-bars button em{color:#7f8b9e;font-style:normal}.summon-turn-panel{z-index:32;text-align:center;background:linear-gradient(150deg,#192333f5,#0a101af5);border:1px solid #b68c43;width:min(660px,78%);padding:20px 24px;position:absolute;top:54%;left:50%;transform:translate(-50%,-50%);box-shadow:0 24px 70px #000d,0 0 32px #b68c4322}.summon-turn-panel>small{color:#d6ab58;letter-spacing:.24em;font-size:7px}.summon-turn-panel h3{color:#f1dfb7;margin:7px 0 5px;font:900 23px Georgia,Microsoft YaHei,serif}.summon-turn-panel p{color:#91a0b6;margin:0;font-size:9px}.summon-turn-panel>div{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px;display:flex}.summon-turn-panel button{color:#f0cf8c;background:#272319;border:1px solid #98773e;min-width:118px;padding:12px}.summon-turn-panel button:hover{background:#3a2f1d;border-color:#e0b75f}.summon-turn-panel button:disabled{opacity:.35;cursor:not-allowed}.summon-turn-panel button b,.summon-turn-panel button span{display:block}.summon-turn-panel button b{font-size:11px}.summon-turn-panel button span{color:#a99775;margin-top:4px;font-size:7px}.battle-hand.summon-hidden{opacity:.14;pointer-events:none;filter:grayscale()}.deck-zone{background:linear-gradient(#0d1420f0,#070b12fa);border-right:0;width:calc(100% - 410px);height:47%;padding:17px 22px 14px;bottom:0;left:auto;right:0}.deck-zone header{z-index:9;height:76px;position:relative}.battle-hand{height:calc(100% - 66px);padding:0;display:block;position:absolute;bottom:0;left:0;right:0;overflow:visible}.fan-card{--fan-x:0%;--fan-r:0deg;--fan-y:0px;z-index:calc(10 + var(--fan-order));transform-origin:50% 120%;width:178px;height:286px;transform:translateX(calc(-50% + var(--fan-x))) translateY(var(--fan-y)) rotate(var(--fan-r));transition:transform .2s,z-index;position:absolute;bottom:-34px;left:50%}.fan-card>button{background:linear-gradient(155deg,#273247,#101621 73%);width:100%;height:100%;padding:15px;box-shadow:0 12px 26px #000b}.fan-card:hover,.fan-card.selected{z-index:40;transform:translateX(calc(-50% + var(--fan-x))) translateY(-62px) rotate(0deg)}.fan-card>button:hover:not(:disabled),.fan-card>button.selected{transform:none}.fan-card>button>small{max-height:52px;font-size:7px;line-height:1.45;display:block;overflow:hidden}.fan-card>button>strong{font-size:6px}.fan-card>button>.card-mark{top:17%}.pass-action{top:49px;right:22px}.battle-close{top:18px;right:18px}@media (width<=900px){.battle-stage{min-height:720px}.enemy-hud{width:60%;left:22%}.battle-portrait.enemy{width:82px;left:9%}.combat-summon-slot.enemy{width:128px;left:auto;right:0}.battle-record.player-record,.battle-record.enemy-record{width:126px}.selected-card-stage{width:150px;height:218px;top:205px;left:137px}.battle-portrait.hero{width:82px}.hero-hud{width:220px;left:82px}.combat-summon-slot.hero{left:82px}.deck-zone{width:calc(100% - 302px)}.fan-card{width:148px;height:250px}.deck-zone header>span{display:none}}@media (orientation:landscape) and (height<=560px) and (width<=1000px){html,body{height:100%;overflow:hidden}.game-shell{height:100svh;min-height:0;overflow:hidden}.topbar{z-index:20;border-bottom-color:#354158;gap:6px;height:44px;min-height:44px;padding:4px 7px;position:relative}.brand{gap:6px;min-width:116px}.brand-mark{width:28px;height:28px;font-size:13px}.brand b{font-size:12px}.brand small{display:none}.round-pill{order:0;justify-content:flex-start;gap:5px;width:auto;min-width:92px;padding:4px 6px}.round-pill span{font-size:8px}.round-pill b{display:none}.round-pill i{padding:4px 6px;font-size:8px}.mobile-current-resources{background:#101722;border:1px solid #364158;align-self:stretch;min-width:0;display:flex}.mobile-current-resources span{color:#78859b;white-space:nowrap;border-right:1px solid #2e384b;flex-direction:column;justify-content:center;min-width:72px;padding:4px 8px;font-size:6px;line-height:1.15;display:flex}.mobile-current-resources span:last-child{border-right:0}.mobile-current-resources b{color:#edf1f7;margin-top:2px;font-size:9px}.mobile-current-resources .health b{color:#ef8b92}.mobile-current-resources .energy b{color:#78b9f5}.mobile-current-resources .moves b{color:#efc36f}.top-actions{flex:1;justify-content:flex-end;gap:4px;min-width:0}.top-actions .test-mode-status,.top-actions .network-state{padding:4px 6px;font-size:6px}.top-actions .mobile-secondary-utility{min-height:30px;padding:4px 6px;font-size:7px}.top-actions .mobile-codex-entry,.top-actions .mobile-backpack-entry{z-index:16;color:#e4e9f2;text-align:center;white-space:normal;touch-action:manipulation;background:linear-gradient(155deg,#242d3d,#121824);border-color:#58647a;justify-content:center;align-items:center;width:58px;height:76px;min-height:76px;padding:7px 5px;font-size:8px;line-height:1.35;display:flex;position:fixed;top:calc(100svh - 82px);bottom:auto;box-shadow:0 8px 22px #0008}.top-actions .mobile-codex-entry{left:8px;right:auto}.top-actions .mobile-backpack-entry{left:70px;right:auto}.top-actions .mobile-codex-entry:active,.top-actions .mobile-backpack-entry:active{color:#f2cf8d;background:#312817;border-color:#d5ab62}.game-layout{grid-template-rows:minmax(0,1fr) 88px;grid-template-columns:152px minmax(0,1fr);gap:6px;max-width:none;height:calc(100svh - 44px);padding:6px;display:grid;overflow:hidden}.players-panel{background:#0f1621e8;grid-area:1/1;height:100%;min-height:0;overflow:hidden}.players-panel .section-title{height:27px;padding:0 7px}.players-panel .section-title span{font-size:8px}.players-panel .section-title small{font-size:5px}.player-row{border-left-width:2px;grid-template-columns:39px minmax(0,1fr);align-items:center;gap:6px;width:100%;height:49px;min-height:49px;padding:5px;display:grid}.portrait{flex-basis:39px;width:39px;height:39px}.portrait em{width:13px;height:13px;font-size:6px}.player-data{min-width:0}.player-data>div b{font-size:9px}.player-data>div>span,.player-data>small,.player-row>label,.player-row>.map-dragon-state{display:none}.player-data .hp{height:4px;margin-top:5px}.player-data .stats{gap:5px;margin-top:4px;display:flex}.player-data .stats span{display:none}.player-data .stats span:first-child,.player-data .stats span:nth-child(2){display:block;font-size:5px!important}.treasure-box{gap:2px;max-height:46px;margin:5px;padding:6px;overflow:auto}.treasure-box b{font-size:7px}.treasure-box span,.treasure-box small{font-size:5px;line-height:1.3}.board-wrap{flex-direction:column;grid-area:1/2;justify-content:center;align-items:center;min-width:0;height:100%;display:flex;overflow:hidden}.board{border-width:3px;width:min(100%,100svh - 158px);max-height:calc(100svh - 158px);box-shadow:0 0 0 1px #59637a,0 14px 38px #0009}.tile-icon{font-size:clamp(8px,1.3vw,11px)}.legend{flex-wrap:nowrap;gap:5px;max-width:100%;margin:4px auto 0;font-size:5px;line-height:1;overflow:hidden}.legend span{white-space:nowrap;gap:2px}.legend i{width:12px;height:12px}.right-column{grid-area:2/1/auto/3;grid-template-columns:126px minmax(0,1fr);gap:6px;min-width:0;height:88px;display:grid;position:relative;overflow:visible}.action-panel{background:#111825f2;border-color:#465269;grid-column:2;justify-content:flex-end;align-items:stretch;min-width:0;height:88px;padding:6px;display:flex}.action-panel>.section-title{display:none}.dpad{flex:0 440px;order:2;grid-template-rows:1fr;grid-template-columns:repeat(5,minmax(46px,1fr));gap:5px;min-width:0;padding:0;display:grid}.dpad button,.dpad div{background:linear-gradient(160deg,#293247,#171e2b);border-color:#4b5871;min-width:46px;height:74px;min-height:74px;grid-area:auto!important}.dpad button{touch-action:manipulation;font-size:21px}.dpad button kbd{font-size:6px;top:5px;left:6px}.dpad div{font-size:14px}.dpad div small{margin-top:3px;font-size:5px}.dpad button:first-child{order:2}.dpad button:nth-child(2){order:1}.dpad div{order:3}.dpad button:nth-child(4){order:5}.dpad button:last-child{order:4}.end-turn{text-align:center;touch-action:manipulation;flex:0 0 118px;order:1;justify-content:center;gap:8px;width:118px;min-height:74px;margin:0 6px 0 0;padding:8px 10px;font-size:10px;line-height:1.25}.end-turn span{font-size:6px}.log-panel{display:none}.mobile-log-drawer{z-index:14;background:#101722f5;border:1px solid #465269;width:142px;max-height:164px;display:block;position:absolute;bottom:94px;right:0;box-shadow:0 14px 34px #000b}.mobile-log-drawer summary{color:#dce2ec;cursor:pointer;touch-action:manipulation;justify-content:space-between;align-items:center;height:36px;padding:0 9px;font-size:8px;font-weight:900;list-style:none;display:flex}.mobile-log-drawer summary::-webkit-details-marker{display:none}.mobile-log-drawer summary:after{content:"⌃";color:#d7af65;margin-left:auto;padding-left:8px}.mobile-log-drawer[open] summary:after{content:"⌄"}.mobile-log-drawer>div{border-top:1px solid #313c50;max-height:126px;overflow:auto}.mobile-log-drawer p{color:#8d98aa;border-bottom:1px solid #252e3f;margin:0;padding:6px 8px;font-size:6px;line-height:1.4}.mobile-log-drawer p.latest{color:#e4e8f0;background:#182131}.mobile-log-drawer time{color:#657187;margin-bottom:2px;font-size:5px;display:block}.lobby{grid-template-columns:minmax(470px,1.2fr) minmax(240px,.8fr);align-items:center;height:100svh;min-height:0;padding:7px 18px;overflow:hidden}.lobby-glow{pointer-events:none;position:absolute;inset:0}.room-lobby-copy{width:auto;max-width:610px;min-height:0;overflow:hidden}.eyebrow{font-size:6px}.room-lobby-copy h1{margin:6px 0;font-size:37px;line-height:.78}.room-home>p{margin:4px 0;font-size:7px;line-height:1.35}.room-primary-actions{gap:5px;margin-top:6px}.room-primary-actions button{height:34px;padding:0 10px;font-size:8px}.public-room-list{margin-top:6px}.public-room-list>header{height:25px}.public-room-list>div{max-height:58px;padding:4px}.public-room-list>div>button{min-height:35px;padding:5px 7px}.public-room-list>div>small{padding:12px;font-size:6px}.single-test-room{grid-template-columns:1fr 150px 86px;gap:5px;height:48px;margin-top:6px;padding:5px}.single-test-room b{font-size:8px}.single-test-room div span{font-size:6px}.single-test-room select,.single-test-room>button{height:32px;font-size:7px}.lobby-actions{gap:5px;height:34px;margin-top:6px}.lobby-actions>button{min-height:34px;padding:5px 7px;font-size:7px}.lobby-copy>small{margin-top:4px;font-size:5px}.lobby-board{transform-origin:50%;justify-self:center;width:min(40vw,330px);padding:4%;transform:rotate(-5deg)scale(.7)}.floating-card{padding:7px}.floating-card b{font-size:7px}.floating-card span{font-size:5px}.room-form,.room-panel{max-height:calc(100svh - 14px);padding:10px;overflow:auto}.room-form{gap:6px}.room-form>header{padding-bottom:6px}.room-form h2,.room-panel h2{font-size:15px}.room-form input{height:32px}.room-members article{min-height:68px}.room-member-head,.room-empty-slot{flex-basis:44px;width:44px;height:50px}.room-panel>footer{margin-top:7px}.combat-overlay{overflow:hidden}.battle-stage{height:100svh;min-height:0;max-height:100svh}.battle-title{height:28px;top:5px}.battle-close{min-height:28px;top:5px}.enemy-hud{height:53px;top:37px}.battle-portrait.enemy{height:86px;top:5px}.battle-record-drawer{height:176px;top:96px}.selected-card-stage{top:102px}.battle-portrait.hero{height:102px}.hero-hud{width:184px;height:102px;left:68px}.hero-health-wrap{margin:17px 0 5px}.deck-zone{height:174px;left:252px}.deck-zone header{height:34px}.battle-hand{height:calc(100% - 29px)}.fan-card{width:100px;height:136px;bottom:36px}.fan-card>button>b{font-size:8px}.fan-card>button>small{font-size:5px}.pass-action,.flee-action{min-height:30px}.overlay:not(.combat-overlay){padding:5px}.shop-window,.backpack-window,.event-window,.encounter-reward-window,.card-codex,.character-drafts{height:calc(100svh - 10px);max-height:calc(100svh - 10px);padding:8px}.backpack-window>header,.card-codex>header{z-index:4;background:#121927;padding:7px 0;position:sticky;top:-8px}.backpack-toolbar{z-index:4;background:#121927;position:sticky;top:44px}.backpack-grid,.codex-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.backpack-card,.codex-card{min-height:166px;padding:7px}.backpack-card h3,.codex-card h3{font-size:9px}.backpack-card p,.codex-card p{font-size:6px;line-height:1.35}.event-window{grid-template-rows:auto 1fr;grid-template-columns:174px minmax(0,1fr);align-items:center;column-gap:10px;display:grid}.event-window>header{grid-column:1/-1}.event-card{grid-area:2/1;width:150px;height:205px}.event-dialogue{grid-area:2/2;min-width:0}.event-options button{min-height:46px;font-size:7px}}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.event-overlay{padding:5px}.event-window{grid-template-rows:32px minmax(0,1fr);grid-template-columns:142px minmax(0,1fr);align-items:stretch;column-gap:14px;width:min(94vw,860px);height:calc(100svh - 10px);max-height:calc(100svh - 10px);padding:8px 10px;display:grid;overflow:hidden}.event-window>header{grid-area:1/1/auto/-1;height:32px;padding:0 0 6px}.event-card{grid-area:2/1;align-self:center;width:118px;height:162px;margin:0 auto}.event-card-front{padding:8px}.event-card-front small{font-size:6px}.event-card-front i{margin:9px 0;font-size:28px}.event-card-front h2{font-size:12px}.event-card-back:before{inset:7px}.event-card-back i{font-size:34px}.event-card-back b{font-size:9px}.event-card-back small{margin-top:5px;font-size:6px}.event-dialogue{border-top:0;flex-direction:column;grid-area:2/2;min-width:0;min-height:0;padding:0;display:flex;overflow:hidden}.event-dialogue>p{flex:none;min-height:42px;margin:0 0 6px;padding:8px 10px;font-size:8px;line-height:1.45}.event-dialogue>label{flex:none;margin-bottom:6px;font-size:7px}.event-options{flex:1;grid-template-columns:1fr;grid-auto-rows:minmax(42px,auto);gap:5px;min-height:0;padding-right:3px;display:grid;overflow-y:auto}.event-options button{min-height:42px;padding:7px 9px}.event-options span{font-size:8px;line-height:1.35}.event-options small{margin-top:3px;font-size:6px}}html.manual-landscape .event-window{grid-template-rows:32px minmax(0,1fr);grid-template-columns:142px minmax(0,1fr);align-items:stretch;column-gap:14px;width:min(94%,860px);height:calc(100% - 10px);max-height:calc(100% - 10px);padding:8px 10px;display:grid;overflow:hidden}html.manual-landscape .event-window>header{grid-area:1/1/auto/-1;height:32px;padding:0 0 6px}html.manual-landscape .event-card{grid-area:2/1;align-self:center;width:118px;height:162px;margin:0 auto}html.manual-landscape .event-card-front{padding:8px}html.manual-landscape .event-card-front small{font-size:6px}html.manual-landscape .event-card-front i{margin:9px 0;font-size:28px}html.manual-landscape .event-card-front h2{font-size:12px}html.manual-landscape .event-card-back:before{inset:7px}html.manual-landscape .event-card-back i{font-size:34px}html.manual-landscape .event-card-back b{font-size:9px}html.manual-landscape .event-card-back small{margin-top:5px;font-size:6px}html.manual-landscape .event-dialogue{border-top:0;flex-direction:column;grid-area:2/2;min-width:0;min-height:0;padding:0;display:flex;overflow:hidden}html.manual-landscape .event-dialogue>p{flex:none;min-height:42px;margin:0 0 6px;padding:8px 10px;font-size:8px;line-height:1.45}html.manual-landscape .event-dialogue>label{flex:none;margin-bottom:6px;font-size:7px}html.manual-landscape .event-options{flex:1;grid-template-columns:1fr;grid-auto-rows:minmax(42px,auto);gap:5px;min-height:0;padding-right:3px;display:grid;overflow-y:auto}html.manual-landscape .event-options button{min-height:42px;padding:7px 9px}html.manual-landscape .event-options span{font-size:8px;line-height:1.35}html.manual-landscape .event-options small{margin-top:3px;font-size:6px}#app-viewport{min-height:100%}.screen-rotate-control{display:none}@media (orientation:portrait) and (width<=900px){.screen-rotate-control{z-index:100;right:max(10px,env(safe-area-inset-right));top:max(10px,env(safe-area-inset-top));color:#efc36f;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;background:#101722f2;border:1px solid #d8aa57;border-radius:7px;justify-content:center;align-items:center;gap:3px;width:58px;height:44px;padding:4px 6px;font-size:8px;font-weight:800;transition:left .18s,top .18s,box-shadow .18s,scale .18s;display:flex;position:fixed;box-shadow:0 8px 24px #000b}.screen-rotate-control.dragging{cursor:grabbing;transition:none;scale:1.04;box-shadow:0 12px 30px #000d}.screen-rotate-control svg{width:21px;height:21px}.screen-rotate-control[aria-pressed=true]{color:#ffe0a0;background:#2a2113;border-color:#f0c46e}}@media (pointer:coarse) and (width<=1200px){.overlay:not(.combat-overlay)>section{translate:var(--mobile-dialog-x,0px) var(--mobile-dialog-y,0px);will-change:translate;transition:translate .18s}.overlay:not(.combat-overlay)>section>header{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.overlay:not(.combat-overlay)>section.mobile-dialog-dragging{cursor:grabbing;box-shadow:0 22px 58px #000e;transition:none!important}html.mobile-dialog-dragging-active,html.mobile-dialog-dragging-active body{-webkit-user-select:none;user-select:none;overscroll-behavior:none}}html.manual-landscape .overlay:not(.combat-overlay)>section{translate:var(--mobile-dialog-x,0px) var(--mobile-dialog-y,0px);will-change:translate;transition:translate .18s}html.manual-landscape .overlay:not(.combat-overlay)>section>header{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}html.manual-landscape .overlay:not(.combat-overlay)>section.mobile-dialog-dragging{cursor:grabbing;box-shadow:0 22px 58px #000e;transition:none!important}html.manual-landscape,body.manual-landscape{overscroll-behavior:none;width:100%;height:100%;min-height:0;overflow:hidden}html.manual-landscape #app-viewport{z-index:0;width:var(--manual-landscape-width,100svh);height:var(--manual-landscape-height,100svw);transform-origin:50%;background:var(--bg);min-height:0;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%)rotate(90deg)}html.manual-landscape .lobby{grid-template-columns:minmax(470px,1.2fr) minmax(240px,.8fr);align-items:center;width:100%;height:100%;min-height:0;padding:7px 18px;overflow:hidden}html.manual-landscape .lobby-glow{pointer-events:none;position:absolute;inset:0}html.manual-landscape .room-lobby-copy{width:auto;max-width:610px;min-height:0;padding:0 0 0 calc(var(--manual-landscape-width,100svh) * .1);overflow:hidden}html.manual-landscape .eyebrow{font-size:6px}html.manual-landscape .room-lobby-copy h1{margin:6px 0;font-size:37px;line-height:.78}html.manual-landscape .room-home>p{margin:4px 0;font-size:7px;line-height:1.35}html.manual-landscape .room-primary-actions{grid-template-columns:1fr 1fr;gap:5px;margin-top:6px}html.manual-landscape .room-primary-actions button{height:34px;padding:0 10px;font-size:8px}html.manual-landscape .public-room-list{margin-top:6px}html.manual-landscape .public-room-list>header{height:25px}html.manual-landscape .public-room-list>div{max-height:58px;padding:4px}html.manual-landscape .public-room-list>div>button{min-height:35px;padding:5px 7px}html.manual-landscape .public-room-list>div>small{padding:12px;font-size:6px}html.manual-landscape .single-test-room{grid-template-columns:1fr 150px 86px;gap:5px;height:48px;margin-top:6px;padding:5px}html.manual-landscape .single-test-room>div{grid-column:auto}html.manual-landscape .single-test-room select,html.manual-landscape .single-test-room>button{height:32px;font-size:7px}html.manual-landscape .lobby-actions{grid-template-columns:1.2fr .75fr .75fr;gap:5px;height:34px;margin-top:6px}html.manual-landscape .lobby-actions>button{min-height:34px;padding:5px 7px;font-size:7px}html.manual-landscape .lobby-copy>small{margin-top:4px;font-size:5px}html.manual-landscape .lobby-board{width:min(calc(var(--manual-landscape-width,100svh) * .4),330px);transform-origin:50%;justify-self:center;padding:4%;display:block;transform:rotate(-5deg)scale(.7)}html.manual-landscape .floating-card{padding:7px}html.manual-landscape .floating-card b{font-size:7px}html.manual-landscape .floating-card span{font-size:5px}html.manual-landscape .game-shell{height:100%;min-height:0;overflow:hidden}html.manual-landscape .topbar{z-index:24;height:54px;min-height:54px;transform:translateY(var(--mobile-topbar-offset,0));flex-wrap:nowrap;gap:9px;padding:5px 34px 5px 10px;transition:transform .22s cubic-bezier(.2,.78,.28,1);position:relative}html.manual-landscape .brand{flex:none;gap:8px;min-width:158px}html.manual-landscape .brand-mark{width:36px;height:36px}html.manual-landscape .brand b{font-size:20px}html.manual-landscape .round-pill{order:0;width:auto;min-width:220px;height:38px;padding:5px 7px 5px 12px}html.manual-landscape .round-pill span,html.manual-landscape .round-pill b{font-size:10px}html.manual-landscape .round-pill i{margin-left:auto}html.manual-landscape .top-actions{flex:none;align-self:stretch;gap:8px;margin-left:auto}html.manual-landscape .top-actions .ghost-btn{flex-direction:column;justify-content:center;align-items:center;gap:2px;width:68px;height:44px;min-height:44px;padding:4px;font-size:8px;display:flex;position:static}html.manual-landscape .top-actions .ghost-btn svg{width:21px;height:21px}html.manual-landscape .top-actions .reset-entry{display:none}html.manual-landscape .mobile-topbar-handle{color:#e8bd69;letter-spacing:.08em;touch-action:none;-webkit-user-select:none;user-select:none;background:#111927f2;border:1px solid #d8aa57;border-top:0;border-radius:0 0 12px 12px;justify-content:center;align-items:center;gap:5px;width:86px;height:24px;padding:0 8px;font-size:7px;font-weight:900;display:flex;position:absolute;bottom:-24px;left:50%;transform:translate(-50%);box-shadow:0 8px 20px #0009}html.manual-landscape .mobile-topbar-handle svg{width:15px;height:15px}html.manual-landscape .mobile-topbar-dragging .topbar,html.manual-landscape .mobile-topbar-dragging .game-layout{transition:none}html.manual-landscape .game-layout{width:100%;height:calc(100% - 54px - var(--mobile-topbar-offset,0px));margin-top:var(--mobile-topbar-offset,0px);grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 218px;gap:8px;max-width:none;padding:3px 18px 5px 36px;transition:height .22s cubic-bezier(.2,.78,.28,1),margin-top .22s cubic-bezier(.2,.78,.28,1);display:grid;position:relative;overflow:hidden}html.manual-landscape .board-wrap{order:initial;flex-direction:column;grid-area:1/1;justify-content:center;align-items:center;min-width:0;height:100%;display:flex;overflow:visible;transform:translate(-22px)}html.manual-landscape .board{width:min(calc(100svw - 92px - var(--mobile-topbar-offset,0px)),calc(100svh - 290px));border-width:4px;flex:none;max-width:none;max-height:none;transition:width .22s cubic-bezier(.2,.78,.28,1);transform:none}html.manual-landscape .legend{flex-wrap:nowrap;gap:8px;max-width:100%;height:25px;margin:4px auto 0;padding:3px 8px;font-size:6px;overflow:hidden}html.manual-landscape .players-panel{z-index:32;left:-184px;top:calc(58px + var(--mobile-topbar-offset,0px));width:184px;height:calc(100svw - 63px - var(--mobile-topbar-offset,0px));transition:left .22s,top .22s,height .22s;position:fixed;bottom:auto;overflow-y:auto;transform:none}html.manual-landscape .players-panel.mobile-open{left:0}html.manual-landscape .players-panel .player-row{width:100%;min-height:54px;padding:7px;display:flex}html.manual-landscape .mobile-roster-handle{z-index:34;width:30px;height:80px;display:grid;position:fixed;top:50%;left:0;transform:translateY(-50%)}html.manual-landscape .right-column{order:initial;grid-area:1/2;justify-content:center;align-items:center;min-width:0;height:100%;display:flex;position:relative;overflow:visible}html.manual-landscape .action-panel{width:204px;height:264px;box-shadow:none;background:0 0;border:0;flex-direction:column;flex:none;align-items:center;gap:10px;padding:0;display:flex;transform:translate(-12px)}html.manual-landscape .action-panel>.section-title{display:none}html.manual-landscape .dpad{flex:0 0 190px;order:1;grid-template-rows:repeat(3,58px);grid-template-columns:repeat(3,58px);gap:7px;width:190px;height:190px;padding:0;display:grid}html.manual-landscape .dpad button,html.manual-landscape .dpad div{width:58px;min-width:58px;height:58px;min-height:58px}html.manual-landscape .dpad button:first-child{grid-area:1/2!important}html.manual-landscape .dpad button:nth-child(2){grid-area:2/1!important}html.manual-landscape .dpad div{grid-area:2/2!important}html.manual-landscape .dpad button:nth-child(4){grid-area:2/3!important}html.manual-landscape .dpad button:last-child{grid-area:3/2!important}html.manual-landscape .end-turn{flex:0 0 64px;order:2;width:176px;height:64px;min-height:64px;margin:0;padding:9px 14px}html.manual-landscape .log-panel{display:none}html.manual-landscape .mobile-log-drawer{z-index:33;right:0;top:calc(58px + var(--mobile-topbar-offset,0px));width:184px;max-height:none;transition:transform .22s,top .22s;display:block;position:fixed;bottom:5px;transform:translate(100%)}html.manual-landscape .overlay{width:100%;height:100%}html.manual-landscape .combat-overlay{padding:0;display:block;overflow:hidden}html.manual-landscape .battle-stage{border:0;width:100%;max-width:100%;height:100%;min-height:0;max-height:100%;overflow:hidden}html.manual-landscape .battle-title{height:28px;top:5px}html.manual-landscape .enemy-hud{height:53px;top:37px}html.manual-landscape .battle-portrait.enemy{height:86px;top:5px}html.manual-landscape .battle-record-drawer{height:176px;top:96px}html.manual-landscape .selected-card-stage{top:102px}html.manual-landscape .battle-portrait.hero{height:102px}html.manual-landscape .hero-hud{width:184px;height:102px;left:68px}html.manual-landscape .deck-zone{width:auto;height:174px;padding:7px 10px 5px;left:252px;right:0}html.manual-landscape .fan-card{width:100px;height:136px;bottom:36px}html.manual-landscape .overlay:not(.combat-overlay){padding:5px}html.manual-landscape .shop-window,html.manual-landscape .backpack-window,html.manual-landscape .event-window,html.manual-landscape .encounter-reward-window,html.manual-landscape .card-codex,html.manual-landscape .character-drafts{width:min(96%,980px);height:calc(100% - 10px);max-height:calc(100% - 10px);padding:8px;overflow:auto}@media (orientation:landscape) and (height<=600px) and (width<=1200px){html,body{height:100%;overflow:hidden}.game-shell{background:radial-gradient(circle at 48% 40%,#14233c 0,#0000 41%),linear-gradient(135deg,#060b13,#0a101b 58%,#060b12);height:100svh;min-height:0;overflow:hidden}.game-shell:before{content:"";pointer-events:none;background-image:linear-gradient(#6e88b408 1px,#0000 1px),linear-gradient(90deg,#6e88b408 1px,#0000 1px);background-size:48px 48px;position:fixed;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 88%);mask-image:linear-gradient(#000,#0000 88%)}.topbar{z-index:24;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);height:54px;min-height:54px;transform:translateY(var(--mobile-topbar-offset,0));background:linear-gradient(#090f19f5,#090f19df 82%,#0000);border-bottom:0;gap:9px;padding:5px 34px 5px 10px;transition:transform .22s cubic-bezier(.2,.78,.28,1);position:relative}.brand{flex:none;gap:8px;min-width:158px}.brand-mark{width:36px;height:36px}.brand-mark svg{width:17px;height:17px}.brand b{letter-spacing:.12em;font-size:20px}.brand small{display:none}.round-pill{background:#141b28e8;border-color:#4a566d;border-radius:8px;order:0;gap:10px;min-width:220px;height:38px;padding:5px 7px 5px 12px;box-shadow:inset 0 0 0 1px #0b0f16}.round-pill span,.round-pill b{font-size:10px}.round-pill b{padding-left:10px;display:block}.round-pill i{white-space:nowrap;border-radius:6px;margin-left:auto;padding:5px 10px;font-size:11px}.mobile-current-resources{display:none}.top-actions{flex:none;justify-content:flex-end;align-self:stretch;gap:8px;margin-left:auto;display:flex}.top-actions .test-mode-status,.top-actions .network-state{z-index:26;pointer-events:none;padding:2px 5px;font-size:5px;position:fixed;top:47px;left:174px}.top-actions .ghost-btn{color:#d6d6d2;white-space:nowrap;touch-action:manipulation;background:linear-gradient(155deg,#151b25,#0b1018);border-color:#5c6574;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:68px;height:44px;min-height:44px;padding:4px;font-size:8px;line-height:1;display:flex;position:static;box-shadow:inset 0 0 0 1px #080b11,0 6px 16px #0007}.top-actions .ghost-btn svg{color:#b49a69;width:21px;height:21px}.top-actions .ghost-btn span{display:block}.top-actions .mobile-backpack-entry{order:1}.top-actions .mobile-codex-entry{order:2}.top-actions .battle-preview-entry{order:3}.top-actions .battle-preview-entry svg{color:#bfc3c8}.top-actions .reset-entry{display:none}.mobile-topbar-handle{color:#e8bd69;letter-spacing:.08em;touch-action:none;-webkit-user-select:none;user-select:none;background:#111927f2;border:1px solid #d8aa57;border-top:0;border-radius:0 0 12px 12px;justify-content:center;align-items:center;gap:5px;width:86px;height:24px;padding:0 8px;font-size:7px;font-weight:900;display:flex;position:absolute;bottom:-24px;left:50%;transform:translate(-50%);box-shadow:0 8px 20px #0009}.mobile-topbar-handle svg{width:15px;height:15px}.mobile-topbar-dragging .topbar,.mobile-topbar-dragging .game-layout{transition:none}.game-layout{height:calc(100svh - 54px - var(--mobile-topbar-offset,0px));margin-top:var(--mobile-topbar-offset,0px);grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 218px;gap:8px;max-width:none;padding:3px 18px 5px 36px;transition:height .22s cubic-bezier(.2,.78,.28,1),margin-top .22s cubic-bezier(.2,.78,.28,1);display:grid;position:relative;overflow:hidden}.board-wrap{flex-direction:column;grid-area:1/1;justify-content:center;align-items:center;min-width:0;height:100%;display:flex;overflow:visible;transform:translate(-22px)}.board{width:min(calc(100svh - 92px - var(--mobile-topbar-offset,0px)),calc(100vw - 290px));border-width:4px;border-color:#3f4b61;flex:none;max-width:none;max-height:none;transition:width .22s cubic-bezier(.2,.78,.28,1);transform:none;box-shadow:0 0 0 1px #6d7890,0 18px 50px #000a}.tile{border-color:#334054}.tile-icon{font-size:clamp(8px,1.55vw,13px)}.legend{background:#0e1520d9;border:1px solid #4b566b;border-radius:5px;flex-wrap:nowrap;gap:8px;max-width:100%;height:25px;margin:4px auto 0;padding:3px 8px;font-size:6px;line-height:1;overflow:hidden}.legend span{white-space:nowrap;gap:3px}.legend i{width:14px;height:14px}.players-panel{z-index:32;left:-184px;top:calc(58px + var(--mobile-topbar-offset,0px));width:184px;height:calc(100svh - 63px - var(--mobile-topbar-offset,0px));background:#0d1420f7;transition:left .22s,top .22s,height .22s;position:fixed;bottom:auto;overflow-y:auto;transform:none;box-shadow:18px 0 40px #000b}.players-panel.mobile-open{left:0}.players-panel .section-title{height:34px}.players-panel .player-row{width:100%;min-height:54px;padding:7px;display:flex}.players-panel .portrait{flex-basis:40px;height:40px}.players-panel .player-data b{font-size:10px}.players-panel .player-data small{font-size:6px}.players-panel .stats span{font-size:6px!important}.players-panel .treasure-box{margin:7px;padding:8px}.mobile-roster-handle{z-index:34;color:#e7b761;touch-action:manipulation;background:#101722ee;border:1px solid #d8aa57;border-left:0;border-radius:0 18px 18px 0;place-items:center;width:30px;height:80px;padding:0;display:grid;position:fixed;top:50%;left:0;transform:translateY(-50%);box-shadow:8px 0 24px #0009}.mobile-roster-handle svg{width:19px;height:19px}.players-panel.mobile-open .mobile-roster-handle{left:184px}.right-column{grid-area:1/2;justify-content:center;align-items:center;min-width:0;height:100%;display:flex;position:relative;overflow:visible;transform:none}.action-panel{width:204px;height:264px;box-shadow:none;background:0 0;border:0;flex-direction:column;flex:none;align-items:center;gap:10px;padding:0;display:flex;transform:translate(-12px)}.action-panel>.section-title{display:none}.dpad{flex:0 0 190px;order:1;grid-template-rows:repeat(3,58px);grid-template-columns:repeat(3,58px);justify-content:center;gap:7px;width:190px;height:190px;padding:0;display:grid}.dpad button,.dpad div{background:linear-gradient(145deg,#222c40,#111825);border:1px solid #52617e;width:58px;min-width:58px;height:58px;min-height:58px;box-shadow:0 8px 18px #0008,inset 0 0 18px #7891be0d}.dpad button{touch-action:manipulation;font-size:0}.dpad button>svg{color:#e7e9ed;width:27px;height:27px}.dpad button kbd{display:none}.dpad div{font-size:0}.dpad div .infinite-ap{width:28px;height:28px;display:block}.dpad div>b{display:none}.dpad div small{color:#aeb5c1;margin-top:1px;font-size:7px}.dpad button:first-child{grid-area:1/2!important}.dpad button:nth-child(2){grid-area:2/1!important}.dpad div{grid-area:2/2!important}.dpad button:nth-child(4){grid-area:2/3!important}.dpad button:last-child{grid-area:3/2!important}.end-turn{color:#f8d77e;text-shadow:0 1px 2px #4a2e0f;touch-action:manipulation;background:linear-gradient(160deg,#c99b49,#896324);border:1px solid #f0c46e;border-radius:6px;flex:0 0 64px;order:2;gap:10px;width:176px;height:64px;min-height:64px;margin:0;padding:9px 14px;box-shadow:inset 0 0 0 3px #e7ba6270,0 6px 18px #0009}.end-turn>svg{width:28px;height:28px}.end-turn>span{align-items:flex-start}.end-turn>span>b{letter-spacing:.06em;font-size:14px}.end-turn>span>small{color:#eacb8d;margin-top:2px;font-size:7px}.log-panel{display:none}.mobile-log-drawer{z-index:33;right:0;top:calc(58px + var(--mobile-topbar-offset,0px));background:#0d1420f7;border:1px solid #465269;border-right:0;width:184px;max-height:none;transition:transform .22s,top .22s;display:block;position:fixed;bottom:5px;transform:translate(100%);box-shadow:-18px 0 40px #000b}.mobile-log-drawer[open]{transform:translate(0)}.mobile-log-drawer summary{color:#e7b761;touch-action:manipulation;background:#101722ee;border:1px solid #d8aa57;border-right:0;border-radius:18px 0 0 18px;place-items:center;width:30px;height:80px;padding:0;list-style:none;display:grid;position:absolute;top:50%;left:-30px;transform:translateY(-50%);box-shadow:-8px 0 24px #0009}.mobile-log-drawer summary::-webkit-details-marker{display:none}.mobile-log-drawer summary span,.mobile-log-drawer summary .live-dot{display:none}.mobile-log-drawer summary:after{content:none}.mobile-log-drawer .mobile-log-caret{width:19px;height:19px;transition:transform .22s}.mobile-log-drawer[open] .mobile-log-caret{transform:rotate(180deg)}.mobile-log-drawer>div{height:100%;max-height:none;overflow:auto}.mobile-log-drawer p{padding:8px;font-size:7px}.room-lobby .lobby-board{transform-origin:50%;transform:rotate(-5deg)scale(.7)}.multiplayer-wait-banner{z-index:40}}@media (width<=760px){.battle-stage{height:100svh;min-height:700px}.battle-title{width:210px;left:50%}.enemy-hud{width:66%;top:58px;left:18%}.battle-portrait.enemy{width:72px;height:120px;top:18px;left:0}.combat-summon-slot.enemy{width:116px;height:58px;top:144px;right:0}.combat-summon-slot>span{flex-basis:38px;width:38px;height:38px;font-size:18px}.battle-record.player-record{width:100px;height:185px;top:150px}.battle-record.enemy-record{display:none}.selected-card-stage{width:132px;height:190px;top:216px;left:108px}.selected-card-stage>span{font-size:6px}.battle-portrait.hero{width:72px;height:126px}.hero-hud{width:198px;height:126px;padding:9px;left:72px}.hero-health-wrap{margin:24px 0 7px}.hero-hud-top b{font-size:12px}.combat-summon-slot.hero{width:130px;height:58px;bottom:126px;left:0}.deck-zone{width:calc(100% - 130px);height:43%;padding:10px}.deck-zone header{height:58px}.deck-zone h2{font-size:12px}.fan-card{width:112px;height:196px;bottom:-22px}.fan-card:hover,.fan-card.selected{transform:translateX(calc(-50% + var(--fan-x))) translateY(-38px) rotate(0deg)}.fan-card>button{padding:9px}.fan-card>button>b{font-size:9px}.fan-card>button>small{max-height:35px;font-size:6px}.fan-card>button>strong{display:none}.fan-card>button>em{width:20px;height:20px;font-size:8px}.fan-card>button>.card-mark{width:42px;height:42px}.pass-action,.flee-action{padding:5px 7px;right:8px}.pass-action{top:37px}.flee-action{top:8px}}.battle-record-drawer{--record-drawer-offset:0px;z-index:11;width:172px;height:444px;transform:translateX(var(--record-drawer-offset));filter:drop-shadow(10px 12px 24px #0009);transition:transform .24s cubic-bezier(.2,.78,.28,1);position:absolute;top:164px;left:0}.battle-record-drawer-content{background:#090e17e6;border-right:1px solid #3f4b60;grid-template-rows:1fr 1fr;gap:8px;width:172px;height:100%;padding-right:8px;display:grid}.battle-record-drawer .battle-record{width:100%;height:100%;box-shadow:none;border-left:0;position:relative;inset:auto}.battle-record-drawer .battle-record>div{height:calc(100% - 36px)}.battle-record-drawer-handle{color:#d9b66d;cursor:ew-resize;touch-action:none;-webkit-user-select:none;user-select:none;background:#141c29f5;border:1px solid #56647b;border-left:0;flex-direction:column;justify-content:center;align-items:center;gap:7px;width:28px;height:92px;padding:0;display:flex;position:absolute;top:50%;left:100%;transform:translateY(-50%);box-shadow:8px 8px 20px #0007}.battle-record-drawer-handle:hover{background:#1d2839;border-color:#9a7a49}.battle-record-drawer-handle span{font:700 24px/1 Georgia,serif}.battle-record-drawer-handle small{letter-spacing:.14em;writing-mode:vertical-rl;font-size:7px}.battle-record-drawer.closed .battle-record-drawer-handle{border-left:1px solid #56647b}.battle-record-drawer-handle:active{background:#263348}@media (width<=900px){.battle-record-drawer{height:392px;top:150px}}@media (width<=760px){.battle-record-drawer{height:360px;top:150px}.battle-record-drawer-handle{width:25px;height:78px}.battle-record-drawer .battle-record.enemy-record{display:block}}body.enemy-attack-cinematic button{visibility:hidden!important;pointer-events:none!important}body.enemy-attack-cinematic .battle-action-stack{visibility:hidden!important;opacity:0!important;pointer-events:none!important}body.enemy-attack-cinematic .duo-flash-cut-reaction{visibility:visible!important;pointer-events:auto!important}.duo-flash-cut-reaction{z-index:36;color:#fff1b5;background:linear-gradient(135deg,#3a2917f2,#101c32f2);border:1px solid #ffe493;flex-direction:column;gap:3px;min-width:280px;padding:11px 24px;display:flex;position:absolute;bottom:8%;left:50%;transform:translate(-50%);box-shadow:0 0 28px #efc45a66,0 12px 30px #000b}.duo-flash-cut-reaction b{letter-spacing:.12em;font-size:14px}.duo-flash-cut-reaction span{color:#c5d8ec;font-size:8px}.duo-flash-cut-reaction:disabled{filter:grayscale();opacity:.58}.pvp-flash-cut-reaction{z-index:44;color:#fff1b5;text-align:center;background:linear-gradient(145deg,#342615f5,#0d1930f7);border:1px solid #ffe493;gap:8px;width:min(390px,82vw);padding:18px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 36px #efc45a66,0 18px 50px #000d}.pvp-flash-cut-reaction small{color:#d9b85d;letter-spacing:.18em}.pvp-flash-cut-reaction>b{font-size:18px}.pvp-flash-cut-reaction>span{color:#c5d8ec;font-size:11px}.pvp-flash-cut-reaction>div{grid-template-columns:1fr 1fr;gap:8px;margin-top:4px;display:grid}.pvp-flash-cut-reaction button{color:#fff1b5;background:#192844;border:1px solid #d9b85d;padding:10px}.pvp-flash-cut-reaction button+button{color:#c5d8ec;background:#121b2b;border-color:#6f7f97}.duo-health-bars{grid-template-columns:1fr 1fr;gap:6px;width:100%;display:grid}.duo-health-bars>span{background:#08111bbb;border:1px solid #52617a66;grid-template-columns:auto 1fr;align-items:center;gap:5px;padding:3px 5px;display:grid}.duo-health-bars>span.active{border-color:#f0c96e;box-shadow:0 0 10px #f0c96e44}.duo-health-bars>span>b{color:#aebcd1;white-space:nowrap;font-size:7px}.duo-health-bars>span.active>b{color:#ffe498}.enemy-duo-health{min-width:260px}.duo-avatar-mark{color:#08111b;background:linear-gradient(135deg,#f1c96a,#3fabc7);border-radius:50%;place-items:center;width:100%;height:100%;font-weight:900;display:grid}.duo-map-token{filter:drop-shadow(0 0 4px #ffdc70);justify-content:center;align-items:center;width:100%;height:100%;display:flex!important}.duo-map-token b{aspect-ratio:1;color:#101827;background:#d7a83b;border:1px solid #fff1a5;border-radius:50%;place-items:center;width:55%;font-size:8px;display:grid}.duo-map-token b+b{color:#07141d;background:#55b4c8;border-color:#d8fbff;margin-left:-18%}.duo-portrait-placeholder{background:radial-gradient(circle at 50% 40%,#34456d,#07101d 70%);grid-template-columns:1fr 1fr;align-content:center;place-items:center;gap:8px;width:100%;height:100%;display:grid;overflow:hidden}.duo-portrait-placeholder span{color:#171628;background:linear-gradient(145deg,#fff0a4,#bd7c20);border-radius:50%;place-items:center;width:72px;height:72px;font:700 30px Georgia,serif;display:grid;box-shadow:0 0 25px #f5cf6466}.duo-portrait-placeholder span+span{color:#08202b;background:linear-gradient(145deg,#dbfbff,#3e98b0);box-shadow:0 0 25px #76dff866}.duo-portrait-placeholder i{color:#d7dff1;letter-spacing:.32em;grid-column:1/-1;font-size:10px;font-style:normal}@media (width<=760px){.duo-flash-cut-reaction{min-width:230px;padding:8px 15px;bottom:4%}.duo-health-bars{gap:3px}.duo-health-bars>span{gap:3px;padding:2px}.enemy-duo-health{min-width:190px}.duo-portrait-placeholder span{width:48px;height:48px;font-size:20px}}.enemy-attack-reveal{z-index:30;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:radial-gradient(circle at 50% 46%,#5b1d2885,#0000 34%),#03050ab8;flex-direction:column;justify-content:center;align-items:center;animation:1.05s both enemy-reveal-fade;display:flex;position:absolute;inset:0}.enemy-attack-reveal:before,.enemy-attack-reveal:after{content:"";background:linear-gradient(90deg,#0000,#ef6975,#0000);height:1px;position:absolute;left:0;right:0;box-shadow:0 0 18px #ef6975}.enemy-attack-reveal:before{top:17%}.enemy-attack-reveal:after{bottom:14%}.enemy-attack-reveal>header{text-shadow:0 2px 12px #000;flex-direction:column;align-items:center;margin-bottom:14px;display:flex}.enemy-attack-reveal>header small{color:#e26470;letter-spacing:.35em;font-size:8px;font-weight:900}.enemy-attack-reveal>header b{color:#f5e8e9;letter-spacing:.1em;margin-top:5px;font:700 17px Georgia,Microsoft YaHei,serif}.enemy-attack-cards{perspective:900px;justify-content:center;gap:14px;display:flex}.enemy-attack-cards article{--attack-index:0;text-align:center;width:188px;height:248px;animation:enemy-card-strike .72s cubic-bezier(.18,.82,.24,1) calc(var(--attack-index) * 80ms) both;background:radial-gradient(circle at 50% 25%,#52232d,#17151d 58%,#0b0e15);border:2px solid #d8606c;flex-direction:column;align-items:center;padding:18px;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 55px #000d,0 0 30px #dc516044}.enemy-attack-cards article:before{content:"";clip-path:polygon(0 0,100% 0,100% 82%,82% 100%,0 100%);border:1px solid #a844504d;position:absolute;inset:8px}.enemy-attack-icon{background:#210e14;border:1px solid #e66a76;border-radius:50%;place-items:center;width:58px;height:58px;margin:12px 0 17px;display:grid;position:relative;box-shadow:inset 0 0 18px #e3586655,0 0 22px #e3586633}.enemy-attack-icon i{background:#f27b84;border-radius:3px;width:4px;height:36px;position:absolute;transform:rotate(43deg);box-shadow:0 0 8px #ef6975}.enemy-attack-icon i+i{transform:rotate(-43deg)}.enemy-attack-cards small{color:#c75c68;letter-spacing:.2em;font-size:7px}.enemy-attack-cards h3{color:#fff0f1;margin:6px 0 0;font-size:14px}.enemy-attack-cards p{color:#a99197;margin:9px 0;font-size:8px;line-height:1.55}.enemy-attack-cards strong{color:#ff7b84;text-shadow:0 0 14px #ed5d69;margin-top:auto;font:900 27px Georgia,serif}.enemy-attack-cards strong em{color:#a78d93;letter-spacing:.16em;font:7px Microsoft YaHei,sans-serif;display:block}.enemy-attack-target{color:#da7c85;letter-spacing:.12em;background:#1c0f14de;border:1px solid #74343d;margin-top:14px;padding:6px 12px;font-size:8px}@keyframes enemy-card-strike{0%{opacity:0;transform:translateY(-80px)rotateX(-18deg)scale(.72)}55%{opacity:1;transform:translateY(8px)rotateX(3deg)scale(1.04)}to{opacity:1;transform:none}}@keyframes enemy-reveal-fade{0%{opacity:0}12%,82%{opacity:1}to{opacity:0}}@media (width<=760px){.enemy-attack-reveal>header{margin-bottom:8px}.enemy-attack-cards{gap:7px}.enemy-attack-cards article{width:132px;height:184px;padding:10px}.enemy-attack-icon{width:40px;height:40px;margin:5px 0 8px}.enemy-attack-icon i{height:25px}.enemy-attack-cards h3{font-size:10px}.enemy-attack-cards p{font-size:6px}.enemy-attack-cards strong{font-size:19px}}@media (prefers-reduced-motion:reduce){.enemy-attack-reveal,.enemy-attack-cards article{animation:none}}.lobby-actions{grid-template-columns:1.3fr .8fr .8fr;gap:9px;margin-top:25px;display:grid}.lobby-actions>button{letter-spacing:.1em;cursor:pointer;border:0;justify-content:space-between;align-items:center;margin:0;padding:15px 17px;font-weight:900;display:flex}.lobby-actions>button:first-child{color:#131720;background:#d8ad64;box-shadow:0 10px 35px #d8ad6429}.lobby-actions>.codex-entry,.lobby-actions>.draft-entry{color:#dbe2ee;background:#171e2b;border:1px solid #59657a}.lobby-actions>.codex-entry span,.lobby-actions>.draft-entry span{color:#e5bb70;font-size:9px}.lobby-actions>.draft-entry{background:#201825;border-color:#66516f}.lobby-actions>.draft-entry span{color:#d49be1}.room-lobby-copy{width:min(680px,48vw);max-width:680px}.room-lobby-copy h1{margin:24px 0 20px;font-size:clamp(62px,7vw,108px)}.room-home>p{margin:0}.room-primary-actions{grid-template-columns:1fr 1fr;gap:9px;margin-top:17px;display:grid}.room-primary-actions button{color:#10141d;cursor:pointer;background:#d8ad64;border:1px solid #bc914d;justify-content:space-between;align-items:center;height:50px;padding:0 16px;font-weight:900;display:flex}.room-primary-actions button+button{color:#e7ebf2;background:#182130;border-color:#56647b}.public-room-list{background:#0e141ee8;border:1px solid #39465a;margin-top:12px}.public-room-list>header{border-bottom:1px solid #303b4e;justify-content:space-between;align-items:center;height:34px;padding:0 10px;display:flex}.public-room-list>header b{letter-spacing:.15em;font-size:9px}.public-room-list>header span{color:#758298;font-size:7px}.public-room-list>div{flex-direction:column;gap:5px;max-height:142px;padding:6px;display:flex;overflow-y:auto}.public-room-list>div>small{color:#68758a;text-align:center;padding:22px;font-size:8px}.public-room-list>div>button{color:#e1e6ee;text-align:left;cursor:pointer;background:#151d2a;border:1px solid #354157;justify-content:space-between;align-items:center;min-height:42px;padding:7px 9px;display:flex}.public-room-list>div>button:hover{background:#202637;border-color:#c19a57}.public-room-list button>span{flex-direction:column;gap:3px;display:flex}.public-room-list button b{font-size:9px}.public-room-list button small{color:#748096;font-size:6px}.public-room-list button em{color:#d7b16b;font-size:7px;font-style:normal}.room-tools{margin-top:10px}.room-tools>button{padding:10px;font-size:8px}.room-form,.room-panel{background:linear-gradient(145deg,#141c29ed,#0a1019ed);border:1px solid #4d5a70;padding:18px;box-shadow:0 20px 55px #0007}.room-form{grid-template-columns:1fr 1fr;gap:10px;display:grid}.room-form>header{border-bottom:1px solid #344054;grid-column:1/-1;align-items:center;gap:13px;padding-bottom:10px;display:flex}.room-form>header>button{color:#aeb8c9;cursor:pointer;background:#141c28;border:1px solid #46546a;padding:7px 10px}.room-form header small,.room-panel header small{color:#d7ad65;letter-spacing:.2em;font-size:7px}.room-form h2,.room-panel h2{margin:2px 0 0;font:700 20px Georgia,Microsoft YaHei,serif}.room-form>label{flex-direction:column;gap:5px;display:flex}.room-form>label>span{color:#8793a7;font-size:7px}.room-form input{color:#edf1f7;background:#0b111b;border:1px solid #46546a;outline:none;height:38px;padding:0 10px}.room-form input:focus{border-color:#d6ad66}.room-public-toggle{background:#101722;border:1px solid #38465a;grid-column:1/-1;align-items:center;min-height:48px;padding:8px;flex-direction:row!important;display:flex!important}.room-public-toggle>input{width:18px;height:18px}.room-public-toggle>span{flex-direction:column;gap:3px;display:flex}.room-public-toggle b{color:#dce2eb;font-size:9px}.room-public-toggle small{color:#69768b;font-size:6px}.room-submit{color:#11151c;cursor:pointer;background:#d8ad64;border:0;grid-column:1/-1;height:42px;font-weight:900}.room-submit:disabled{opacity:.4;cursor:not-allowed}.room-error{background:#2c1118;border:1px solid #844351;padding:8px 10px;color:#ff8692!important;grid-column:1/-1!important;margin:0!important;font-size:8px!important}.room-panel>header{border-bottom:1px solid #344054;justify-content:space-between;align-items:flex-start;padding-bottom:11px;display:flex}.room-panel header p{margin:4px 0 0;font-size:7px}.room-panel header p button{color:#e4ba70;cursor:pointer;background:#211b12;border:1px solid #605033;padding:3px 6px;font-size:7px}.room-leave{color:#d98690;cursor:pointer;background:#26131a;border:1px solid #73434e;padding:7px 10px}.room-members{grid-template-columns:1fr 1fr;gap:7px;margin-top:11px;display:grid}.room-members article{background:#111925;border:1px solid #364257;align-items:center;gap:9px;min-height:86px;padding:8px;display:flex}.room-members article.self{background:linear-gradient(100deg,#2b2317,#151b27 72%);border-color:#d0a75f}.room-members article.empty{opacity:.52}.room-member-head,.room-empty-slot{color:#647188;background:#0b111b;border:1px solid #4b5870;flex:0 0 54px;place-items:center;width:54px;height:64px;font:700 22px Georgia,serif;display:grid;overflow:hidden}.room-member-head img{object-fit:contain;width:150%;height:150%;image-rendering:pixelated}.room-members article>div:last-child{flex-direction:column;flex:1;min-width:0;display:flex}.room-members small{color:#78859a;font-size:6px}.room-members b{color:#edf0f5;margin:3px 0;font-size:10px}.room-members em{color:#79869a;font-size:7px;font-style:normal}.room-members select{color:#ebc77f;background:#111722;border:1px solid #675a41;width:100%;padding:6px;font-size:7px}.room-panel>footer{justify-content:space-between;align-items:center;margin-top:11px;display:flex}.room-panel>footer span,.room-panel>footer>b{color:#8390a4;font-size:8px}.room-panel>footer button{color:#11151d;cursor:pointer;background:#d8ad64;border:0;padding:10px 15px;font-size:9px;font-weight:900}.room-panel>footer button:disabled{color:#707c90;cursor:not-allowed;background:#1a2230;border:1px solid #465267}.single-test-room{background:linear-gradient(100deg,#21152f,#111824);border:1px solid #72509b;grid-template-columns:1fr minmax(150px,190px) 112px;align-items:center;gap:8px;margin-top:10px;padding:9px;display:grid}.single-test-room>div{flex-direction:column;gap:2px;min-width:0;display:flex}.single-test-room small{color:#a88bd7;letter-spacing:.16em;font-size:6px}.single-test-room b{font-size:10px}.single-test-room div span{color:#9485a7;font-size:7px}.single-test-room select{color:#e2d7f3;background:#0d111a;border:1px solid #60477f;min-width:0;height:36px;padding:0 8px;font-size:8px}.single-test-room>button{color:#f1e8ff;cursor:pointer;background:#40245c;border:1px solid #9170ba;justify-content:space-between;align-items:center;height:36px;padding:0 9px;font-size:8px;font-weight:900;display:flex}.test-mode-status{color:#cbb4e8;letter-spacing:.08em;white-space:nowrap;background:#241432;border:1px solid #76519d;padding:6px 9px;font-size:7px;font-weight:900}.codex-overlay{z-index:45;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);background:#03050bed}.card-codex{background:radial-gradient(circle at 75% 0,#202c43,#0c111a 48%);border:1px solid #59667d;flex-direction:column;width:min(1240px,97vw);height:min(880px,95vh);padding:22px;display:flex;box-shadow:0 40px 120px #000}.card-codex>header{border-bottom:1px solid #343f52;align-items:center;gap:18px;padding-bottom:15px;display:flex}.card-codex>header>div:first-child{flex:1}.card-codex>header small{color:#d5aa62;letter-spacing:.24em;font-size:7px}.card-codex h2{margin:3px 0 0;font:700 28px Georgia,Microsoft YaHei,serif}.card-codex>header p{color:#768399;margin:4px 0 0;font-size:9px}.codex-count{align-items:flex-end;flex-direction:column!important;display:flex!important}.codex-count strong{color:#edc276;font:700 24px Georgia,serif}.codex-count span{color:#6f7c91;font-size:8px}.card-codex>header>button{color:#e4e8ef;cursor:pointer;background:#202838;border:1px solid #57647a;padding:9px 15px}.codex-filters{flex-direction:column;gap:7px;padding:12px 0;display:flex}.codex-filters>div{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.codex-filters b{color:#78869c;width:38px;font-size:8px}.codex-filters button{color:#8996aa;cursor:pointer;background:#141b27;border:1px solid #39465a;padding:6px 10px;font-size:8px}.codex-filters button:hover{color:#e4e9f2;border-color:#667691}.codex-filters button.active{color:#f0ca82;background:#332817;border-color:#d9af67}.codex-grid{scrollbar-width:thin;scrollbar-color:#526078 #111722;flex:1;grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;gap:10px;min-height:0;padding:3px 5px 8px 0;display:grid;overflow-y:auto}.codex-card{text-align:center;color:#a7b3c7;background:radial-gradient(circle at 50% 25%,#263147,#111722 64%);border:1px solid #46536a;flex-direction:column;align-items:center;min-height:250px;padding:12px;display:flex;position:relative}.codex-card.red,.codex-card.basic-red{color:#f17b80}.codex-card.blue,.codex-card.basic-blue{color:#73b7f5}.codex-card.violet{color:#ac91ff}.codex-card.green{color:#65cfad}.codex-card.gold{color:#edbd68}.codex-card-meta{align-items:center;gap:6px;width:100%;display:flex}.codex-card-meta em{color:#141820;background:#d9ae63;border-radius:50%;place-items:center;width:25px;height:25px;font-style:normal;font-weight:900;display:grid}.codex-card-meta span{color:#d9b36c;font-size:8px}.codex-card-meta strong{color:#728097;margin-left:auto;font-size:7px}.codex-card h3{color:#eff2f7;margin:0;font-size:12px}.codex-types{gap:4px;margin:7px 0;display:flex}.codex-types span{color:inherit;opacity:.82;border:1px solid;padding:3px 5px;font-size:6px}.codex-card p{color:#8995a8;margin:0;font-size:7px;line-height:1.6}.codex-card>small{color:#e4b968;margin-top:auto;padding-top:8px;font-size:7px}.codex-empty{color:#727f93;flex:1;place-items:center;font-size:11px;display:grid}@media (width<=920px){.codex-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=600px){.lobby-actions{grid-template-columns:1fr}.card-codex{height:97vh;padding:12px}.card-codex>header{gap:8px}.card-codex>header p,.codex-count span{display:none}.card-codex h2{font-size:20px}.codex-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.codex-card{min-height:225px;padding:9px}.codex-filters{max-height:105px;overflow-y:auto}}@media (width<=760px){.room-lobby-copy{width:100%;max-width:none}.room-lobby-copy h1{font-size:64px}.room-primary-actions{grid-template-columns:1fr}.single-test-room{grid-template-columns:1fr 1fr}.single-test-room>div{grid-column:1/-1}.room-form{grid-template-columns:1fr}.room-form>label,.room-form>header,.room-public-toggle,.room-submit{grid-column:1}.room-members{grid-template-columns:1fr}.public-room-list>div{max-height:170px}}.draft-overlay{z-index:46;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#03050bf2}.character-drafts{background:radial-gradient(circle at 65% 20%,#282037,#0b1018 48%);border:1px solid #665775;flex-direction:column;width:min(1160px,97vw);height:min(820px,95vh);padding:22px;display:flex;box-shadow:0 40px 120px #000}.character-drafts>header{border-bottom:1px solid #3d3549;align-items:center;gap:16px;padding-bottom:15px;display:flex}.character-drafts>header>div{flex:1}.character-drafts>header small{color:#cb8cda;letter-spacing:.24em;font-size:7px}.character-drafts h2{margin:3px 0 0;font:700 28px Georgia,Microsoft YaHei,serif}.character-drafts>header p{color:#7c718a;margin:4px 0 0;font-size:9px}.character-drafts>header>strong{color:#e1afea;flex-direction:column;align-items:flex-end;font:700 23px Georgia,serif;display:flex}.character-drafts>header>strong span{color:#786b83;font:7px Microsoft YaHei,sans-serif}.character-drafts>header>button{color:#e8dfeb;cursor:pointer;background:#241c2a;border:1px solid #65566f;padding:9px 15px}.draft-layout{flex:1;grid-template-columns:255px 1fr;gap:16px;min-height:0;padding-top:16px;display:grid}.draft-list{scrollbar-width:thin;scrollbar-color:#655170 #14111a;flex-direction:column;gap:6px;min-height:0;padding-right:5px;display:flex;overflow-y:auto}.draft-list button{--draft-accent:#fff;color:#a7a0ae;text-align:left;cursor:pointer;background:#141922;border:1px solid #3d3748;border-left:3px solid #0000;align-items:center;gap:10px;min-height:67px;padding:7px 10px;display:flex}.draft-list button:hover{border-color:#62566e}.draft-list button.active{border-left-color:var(--draft-accent);background:linear-gradient(90deg,var(--draft-accent),#151923)}@supports (color:color-mix(in lab, red, red)){.draft-list button.active{background:linear-gradient(90deg,color-mix(in srgb,var(--draft-accent) 18%,#161a23),#151923)}}.draft-list button.active{box-shadow:inset 0 0 20px var(--draft-accent)}@supports (color:color-mix(in lab, red, red)){.draft-list button.active{box-shadow:inset 0 0 20px color-mix(in srgb,var(--draft-accent) 8%,transparent)}}.draft-list img{object-fit:contain;width:50px;height:50px;image-rendering:pixelated}.draft-list span{flex-direction:column;display:flex}.draft-list b{color:#ece9ef;font-size:12px}.draft-list small{color:#746e7c;margin-top:4px;font-size:7px}.draft-list i{color:var(--draft-accent);margin-left:auto;font:20px Georgia,serif}.draft-preview{--draft-accent:#fff;border:1px solid var(--draft-accent);grid-template-columns:minmax(280px,1.12fr) minmax(260px,.88fr);min-width:0;display:grid;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.draft-preview{border:1px solid color-mix(in srgb,var(--draft-accent) 45%,#3c4250)}}.draft-preview{background:radial-gradient(circle at 25% 30%,var(--draft-accent),#111620 58%)}@supports (color:color-mix(in lab, red, red)){.draft-preview{background:radial-gradient(circle at 25% 30%,color-mix(in srgb,var(--draft-accent) 12%,transparent),#111620 58%)}}.draft-portrait{background:linear-gradient(#d9d9d7,#aaa9a6);border-right:1px solid #3d4351;min-height:0;position:relative;overflow:hidden}.draft-portrait:before{content:"";z-index:1;background:linear-gradient(#0000 70%,#080b10d9);position:absolute;inset:0}.draft-portrait img{object-fit:contain;object-position:center top;width:100%;height:100%;display:block}.draft-portrait>span{z-index:2;color:#e6e8eb;letter-spacing:.14em;background:#0e1219c9;border:1px solid #fff3;padding:5px 8px;font-size:7px;position:absolute;bottom:12px;left:14px}.draft-info{flex-direction:column;min-width:0;padding:28px 24px;display:flex}.draft-info>small{color:var(--draft-accent);letter-spacing:.24em;font-size:7px}.draft-info h3{color:#f0edf2;margin:5px 0 0;font:700 28px Georgia,Microsoft YaHei,serif}.draft-info h3 span{color:#8c8392;margin-top:4px;font:10px Microsoft YaHei,sans-serif;display:block}.draft-info>p{color:#9a929f;margin:15px 0;font-size:10px;line-height:1.7}.draft-pixel-assets{grid-template-columns:1fr 1fr;gap:10px;margin-top:8px;display:grid}.draft-pixel-assets figure{background:#0c111a;border:1px solid #3f4655;flex-direction:column;justify-content:center;align-items:center;height:210px;margin:0;display:flex}.draft-pixel-assets img{object-fit:contain;width:90%;height:165px;image-rendering:pixelated}.draft-pixel-assets .head img{width:120px;height:145px}.draft-pixel-assets figcaption{color:#777f8f;font-size:7px}.draft-variants{border-top:1px solid #343a47;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:15px;display:flex}.draft-variants>b{color:#777180;letter-spacing:.14em;width:100%;margin-bottom:2px;font-size:7px}.draft-variants button{color:#8f8795;cursor:pointer;background:#18161d;border:1px solid #45404b;padding:6px 8px;font-size:7px}.draft-variants button.active{border-color:var(--draft-accent);color:#ece7ef;background:var(--draft-accent)}@supports (color:color-mix(in lab, red, red)){.draft-variants button.active{background:color-mix(in srgb,var(--draft-accent) 14%,#18161d)}}@media (width<=780px){.draft-layout{grid-template-columns:92px 1fr}.draft-list button{justify-content:center;padding:5px}.draft-list span,.draft-list i{display:none}.draft-list img{width:58px;height:58px}.draft-preview{grid-template-columns:1fr}.draft-portrait{border-bottom:1px solid #3d4351;border-right:0;height:55%}.draft-info{padding:12px}.draft-info h3{font-size:20px}.draft-pixel-assets{display:none}}@media (width<=520px){.character-drafts{height:97vh;padding:10px}.character-drafts>header p,.character-drafts>header>strong{display:none}.character-drafts h2{font-size:20px}.draft-layout{grid-template-columns:70px 1fr;gap:7px}.draft-list img{width:48px;height:48px}.draft-preview{flex-direction:column;display:flex}.draft-portrait{height:58%}.draft-info{flex:1}.draft-info>p{margin:8px 0}.draft-variants{margin-top:5px}}.deck-zone .pass-action,.deck-zone .flee-action{z-index:60}.yanzhou-store-prompt{z-index:80;color:#e8dfc8;background:#111522f2;border:1px solid #b9a16b;align-items:center;gap:9px;max-width:360px;padding:8px 10px;display:flex;position:absolute;top:54px;left:18px;box-shadow:0 8px 28px #000a}.yanzhou-store-prompt b{font-size:10px}.yanzhou-store-prompt span{color:#aeb4c1;font-size:7px}.yanzhou-store-prompt button{color:#e8c878;cursor:pointer;background:#271f14;border:1px solid #b9a16b;flex:none;padding:6px 8px}.deck-zone{width:auto;height:clamp(268px,32%,302px);padding:13px 20px 10px;left:calc(50% - 125px);right:0}.deck-zone header{height:58px}.deck-zone h2{font-size:15px}.deck-zone header>span{margin-right:220px}.battle-hand{height:calc(100% - 50px)}.fan-card{width:140px;height:224px;bottom:8px}.fan-card>button{padding:12px}.fan-card:hover,.fan-card.selected{transform:translateX(calc(-50% + var(--fan-x))) translateY(-46px) rotate(0deg)}.fan-card>button>b{font-size:10px}.fan-card>button>small{max-height:40px;font-size:6px}.fan-card>button>.card-mark{width:46px;height:46px;top:16%}.flee-action{top:17px;right:22px}@media (width<=900px){.deck-zone{width:auto;left:max(302px,50% - 125px);right:0}.fan-card{width:126px;height:202px}.fan-card:hover,.fan-card.selected{transform:translateX(calc(-50% + var(--fan-x))) translateY(-40px) rotate(0deg)}}@media (width<=760px){.deck-zone{width:auto;height:clamp(238px,36%,270px);padding:9px;left:max(130px,50% - 105px);right:0}.deck-zone header{height:50px}.battle-hand{height:calc(100% - 43px)}.fan-card{width:100px;height:170px;bottom:4px}.fan-card:hover,.fan-card.selected{transform:translateX(calc(-50% + var(--fan-x))) translateY(-30px) rotate(0deg)}.fan-card>button{padding:8px}.fan-card>button>.card-mark{width:38px;height:38px}.pass-action{top:34px}.flee-action{top:6px;right:8px}}.tile.xiangye-marked{z-index:1;box-shadow:inset 0 0 18px #260d3b8c,0 0 8px #5e398238}.tile.xiangye-marked:before{content:"";z-index:2;pointer-events:none;filter:drop-shadow(0 0 3px #684395);background:url(/concepts/xiangye-thorn-frame.svg) 50%/100% 100% no-repeat;animation:2.4s ease-in-out infinite xiangye-thorn-breathe;position:absolute;inset:-5px}.xiangye-curse-mark{z-index:3;color:#d8caf0;background:#12091ee8;border:1px solid #8c6ab7;border-radius:50%;place-items:center;width:clamp(13px,1.45vw,19px);height:clamp(13px,1.45vw,19px);font-size:clamp(7px,.7vw,10px);font-weight:900;line-height:1;display:grid;position:absolute;top:2px;right:2px;box-shadow:0 0 9px #6a3a96}.legend .xiangye-curse-legend{color:#d8caf0;background:#12091e;border-color:#725098;box-shadow:0 0 7px #5e398280}@keyframes xiangye-thorn-breathe{0%,to{opacity:.8;filter:drop-shadow(0 0 2px #2c173f)}50%{opacity:1;filter:drop-shadow(0 0 5px #8963b6)}}@media (orientation:landscape) and (height<=560px) and (width<=0){html,body{width:100%;overflow-x:hidden}.game-shell{min-height:100svh}.topbar{flex-wrap:nowrap;gap:7px;height:52px;min-height:52px;padding:5px 9px}.brand{gap:7px;min-width:126px}.brand-mark{width:30px;height:30px;font-size:15px}.brand b{font-size:13px}.brand small{display:none}.round-pill{white-space:nowrap;order:0;gap:7px;padding:5px 7px 5px 9px}.round-pill span{font-size:9px}.round-pill b{padding-left:7px;font-size:9px}.round-pill i{padding:4px 6px;font-size:9px}.top-actions{flex:1;justify-content:flex-end;gap:4px;min-width:0}.top-actions .ghost-btn{white-space:nowrap;min-height:36px;padding:5px 7px;font-size:8px}.game-layout{grid-template-columns:180px minmax(286px,1fr) 180px;gap:8px;max-width:none;height:calc(100svh - 52px);padding:7px;display:grid;overflow:hidden}.players-panel{order:initial;align-self:stretch;height:100%;min-height:0;overflow-y:auto}.players-panel .section-title{height:34px;padding:0 8px}.players-panel .section-title span{font-size:10px}.players-panel .section-title small{font-size:7px}.player-row{gap:6px;width:100%;padding:6px 5px;display:flex}.portrait{flex-basis:38px;height:38px}.portrait em{width:14px;height:14px;font-size:6px}.player-data b{font-size:10px}.player-data small{margin-bottom:4px;font-size:6px}.stats{margin-top:3px}.stats span{font-size:6px!important}.treasure-box{gap:3px;margin:6px;padding:7px}.treasure-box b{font-size:8px}.treasure-box span,.treasure-box small{font-size:6px}.board-wrap{order:initial;flex-direction:column;justify-content:center;min-width:0;height:100%;display:flex;overflow:hidden}.board{border-width:4px;width:min(100%,100svh - 88px);max-height:calc(100svh - 88px)}.tile-icon{font-size:clamp(8px,1.45vw,12px)}.legend{flex:none;gap:6px;margin:5px auto 0;font-size:6px;line-height:1}.legend span{gap:2px}.legend i{width:13px;height:13px}.right-column{order:initial;grid-column:auto;gap:7px;min-width:0;height:100%;display:flex;overflow-y:auto}.right-column .section-title{height:32px;padding:0 8px}.right-column .section-title span{font-size:10px}.right-column .section-title small{font-size:6px}.action-panel{flex:none;padding-bottom:7px}.dpad{grid-template-rows:repeat(3,40px);grid-template-columns:repeat(3,40px);gap:3px;padding:5px}.dpad button{touch-action:manipulation;min-width:40px;min-height:40px;font-size:16px}.dpad div{font-size:14px}.end-turn{touch-action:manipulation;width:calc(100% - 12px);min-height:34px;margin:0 6px;padding:7px 8px;font-size:8px}.log-panel{flex:1;min-height:0;overflow-y:auto}.log-panel p{padding:6px 8px;font-size:7px}.log-panel time{font-size:6px}.lobby{grid-template-columns:minmax(490px,1.15fr) minmax(250px,.85fr);height:100svh;min-height:0;padding:12px 24px;overflow-y:auto}.lobby-glow{pointer-events:none;position:absolute;inset:0}.lobby-copy{max-width:620px;padding:0}.eyebrow{font-size:7px}.lobby h1{margin:9px 0;font-size:48px;line-height:.76}.lobby p{margin:7px 0;font-size:9px;line-height:1.45}.roster-select{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:7px}.roster-select label{padding:6px}.roster-select label>span{margin-bottom:3px;font-size:6px}.roster-select select{padding:5px;font-size:7px}.roster-select small{display:none}.lobby-actions{gap:5px;margin-top:7px}.lobby-actions>button{min-height:36px;padding:7px 9px;font-size:8px}.lobby-copy>small{margin-top:5px;font-size:6px}.lobby-board{padding:8%;transform:rotate(-5deg)}.floating-card{padding:8px 9px}.floating-card b{font-size:8px}.floating-card span{font-size:6px}.combat-overlay{padding:0;display:block;overflow:hidden}.battle-stage{border:0;width:100vw;max-width:100vw;height:100svh;min-height:0;overflow:hidden}.battle-title{gap:0;width:250px;height:30px;top:6px;left:calc(50% - 125px);transform:none}.battle-title span{font-size:9px}.battle-title small{font-size:6px}.battle-close{min-height:30px;padding:5px 8px;font-size:7px;top:7px;right:8px}.battle-portrait.enemy{width:76px;height:88px;top:7px;left:calc(25% - 86px);right:auto}.battle-portrait.enemy figcaption{padding:14px 6px 5px}.battle-portrait.enemy figcaption small{font-size:5px}.battle-portrait.enemy figcaption b{font-size:8px}.enemy-hud{width:50%;height:54px;padding:4px 8px;top:41px;left:25%}.enemy-name{height:18px}.enemy-name span,.enemy-name em{font-size:5px}.enemy-name b{font-size:11px}.enemy-health-wrap{margin-top:3px}.enemy-health{height:14px}.enemy-health span{font-size:6px}.combat-statuses.enemy{top:calc(100% + 3px)}.combat-summon-slot.enemy{width:112px;height:54px;padding:5px;top:41px;left:calc(75% + 8px);right:auto}.combat-summon-slot>span{flex-basis:34px;width:34px;height:34px;font-size:16px}.combat-summon-slot b{font-size:8px}.combat-summon-slot small,.combat-summon-slot em{font-size:5px}.battle-record-drawer{width:146px;height:190px;top:104px}.battle-record-drawer-content{gap:5px;width:146px;padding-right:5px}.battle-record-drawer .battle-record>div{height:calc(100% - 28px)}.battle-record header{height:28px;padding:0 7px}.battle-record header span{font-size:7px}.battle-record p{padding:4px 6px;font-size:6px}.battle-record-drawer-handle{width:30px;height:72px}.battle-record-drawer-handle small{font-size:6px}.selected-card-stage{width:112px;height:158px;top:112px;left:176px;transform:none}.selected-card-stage button{padding:8px}.selected-card-stage button>.card-mark{width:38px;height:38px}.selected-card-stage button>b{font-size:9px}.selected-card-stage button>small{font-size:6px}.selected-card-stage>span{font-size:5px}.battle-portrait.hero{width:68px;height:108px;top:auto;bottom:0;left:0}.battle-portrait.hero figcaption{padding:13px 6px 5px}.battle-portrait.hero figcaption small{font-size:5px}.battle-portrait.hero figcaption b{font-size:8px}.hero-hud{width:190px;height:108px;padding:7px 8px;top:auto;bottom:0;left:68px}.hero-hud-top b{font-size:11px}.hero-hud-top small,.hero-hud-top em{font-size:5px}.hero-health-wrap{margin:20px 0 6px}.hero-stats b{font-size:7px}.combat-statuses.hero{bottom:calc(100% + 3px)}.combat-summon-slot.hero{width:122px;height:50px;padding:5px;bottom:108px;left:0}.deck-zone{width:auto;height:184px;padding:7px 10px 5px;bottom:0;left:calc(50% - 125px);right:0}.deck-zone header{height:39px}.deck-zone header small{font-size:5px}.deck-zone h2{margin-top:1px;font-size:11px}.deck-zone header>span{display:none}.battle-hand{height:calc(100% - 34px)}.fan-card{width:104px;height:142px;bottom:40px}.fan-card:hover,.fan-card.selected{transform:translateX(calc(-50% + var(--fan-x))) translateY(-23px) rotate(0deg)}.fan-card>button{touch-action:manipulation;padding:7px}.fan-card>button>.card-mark{width:34px;height:34px;top:14%}.fan-card>button>b{font-size:8px}.fan-card>button>small{max-height:28px;font-size:5px}.fan-card>button>strong{display:none}.fan-card>button>em{width:18px;height:18px;font-size:7px;top:6px;right:6px}.pass-action,.flee-action{touch-action:manipulation;min-height:32px;padding:5px 7px;font-size:7px;right:7px}.pass-action{top:38px}.flee-action{top:4px}.overlay:not(.combat-overlay){padding:7px}.shop-window,.backpack-window,.event-window,.encounter-reward-window,.card-codex,.character-drafts{width:min(96vw,980px);height:calc(100svh - 14px);max-height:calc(100svh - 14px);padding:10px;overflow:auto}.shop-window>header,.backpack-window>header,.card-codex>header,.character-drafts>header{padding-bottom:7px}.shop-window h2,.backpack-window h2,.card-codex h2,.character-drafts h2{font-size:17px}.shop-window>p,.encounter-reward-window>p{margin:6px 0}.shop-items{grid-template-columns:repeat(3,1fr);gap:7px}.shop-item{min-height:205px;padding:9px}.shop-item>i{margin:8px;font-size:32px}.shop-window>footer{margin-top:7px;padding-top:7px}.backpack-toolbar{padding:6px 0}.backpack-grid{grid-template-columns:repeat(4,1fr);gap:6px}.backpack-card{min-height:180px;padding:8px}.backpack-card>i{margin:10px 0;font-size:30px}.event-window{width:min(92vw,760px)}.event-card{width:150px;height:205px;margin:7px auto}.event-card-front{padding:10px}.event-card-front i{margin:10px;font-size:34px}.event-card-front h2{font-size:15px}.event-dialogue{padding-top:7px}.event-dialogue>p{min-height:0;margin-bottom:7px;padding:8px;font-size:9px}.event-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.event-options button{min-height:44px;padding:6px}.encounter-reward-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.encounter-reward-card{min-height:230px;padding:9px}.encounter-reward-card>.card-mark{margin:10px auto}.encounter-reward-window>footer{margin-top:6px;padding-top:5px}.codex-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.codex-card{min-height:180px}.codex-filters{max-height:74px;overflow-y:auto}.draft-layout{grid-template-columns:138px 1fr;gap:8px;padding-top:8px}.draft-list button{min-height:52px}.draft-list img{width:38px;height:38px}.draft-preview{grid-template-columns:minmax(220px,1fr) minmax(240px,.9fr)}.draft-portrait{border-bottom:0;border-right:1px solid #3d4351;height:auto}.draft-info{padding:10px}.draft-info h3{font-size:18px}.draft-info>p{margin:6px 0;font-size:7px}.draft-pixel-assets{display:none}.draft-variants{margin-top:auto;padding-top:6px}}@media (orientation:landscape) and (height<=560px) and (width<=1000px){.room-lobby-copy{width:auto;max-width:610px}.room-lobby-copy h1{margin:6px 0;font-size:37px}.room-primary-actions{gap:5px;margin-top:6px}.room-primary-actions button{height:34px;padding:0 10px;font-size:8px}.public-room-list{margin-top:6px}.public-room-list>header{height:25px}.public-room-list>div{max-height:58px;padding:4px}.public-room-list>div>button{min-height:35px;padding:5px 7px}.public-room-list>div>small{padding:12px;font-size:6px}.single-test-room{grid-template-columns:1fr 150px 86px;gap:5px;height:48px;margin-top:6px;padding:5px}.single-test-room b{font-size:8px}.single-test-room div span{font-size:6px}.single-test-room select,.single-test-room>button{height:32px;font-size:7px}.lobby-actions{gap:5px;height:34px;margin-top:6px}.lobby-actions>button{min-height:34px;padding:5px 7px;font-size:7px}.room-tools{margin-top:6px}.room-tools>button{padding:5px 7px;font-size:7px}.room-form,.room-panel{max-height:calc(100svh - 14px);padding:10px;overflow:auto}.room-form{gap:6px}.room-form>header{padding-bottom:6px}.room-form h2,.room-panel h2{font-size:15px}.room-form input{height:32px}.room-members article{min-height:68px}.room-member-head,.room-empty-slot{flex-basis:44px;width:44px;height:50px}.room-panel>footer{margin-top:7px}.battle-stage{height:100svh;min-height:0;max-height:100svh}.battle-title{height:28px;top:5px}.battle-close{min-height:28px;top:5px}.enemy-hud{height:53px;top:37px}.battle-portrait.enemy{height:86px;top:5px}.battle-record-drawer{height:176px;top:96px}.battle-record-drawer-handle{height:68px}.selected-card-stage{top:102px}.battle-portrait.hero{height:102px}.hero-hud{width:184px;height:102px;left:68px}.hero-health-wrap{margin:17px 0 5px}.deck-zone{width:auto;height:174px;padding:7px 10px 5px;left:252px;right:0}.deck-zone header{height:34px}.battle-hand{height:calc(100% - 29px)}.fan-card{width:100px;height:136px;bottom:36px}.fan-card:hover,.fan-card.selected{transform:translateX(calc(-50% + var(--fan-x))) translateY(-23px) rotate(0deg)}.fan-card>button>b{font-size:8px}.fan-card>button>small{max-height:28px;font-size:5px}.pass-action,.flee-action{min-height:30px}.overlay:not(.combat-overlay){padding:5px}.shop-window,.backpack-window,.event-window,.encounter-reward-window,.card-codex,.character-drafts{width:min(96vw,980px);height:calc(100svh - 10px);max-height:calc(100svh - 10px);padding:8px;overflow:auto}.backpack-window>header,.card-codex>header{z-index:4;background:#121927;padding:7px 0;position:sticky;top:-8px}.backpack-toolbar{z-index:4;background:#121927;position:sticky;top:44px}.backpack-grid,.codex-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.backpack-card,.codex-card{min-height:166px;padding:7px}.backpack-card h3,.codex-card h3{font-size:9px}.backpack-card p,.codex-card p{font-size:6px;line-height:1.35}.event-window{grid-template-rows:auto 1fr;grid-template-columns:174px minmax(0,1fr);align-items:center;column-gap:10px;width:min(92vw,760px);display:grid}.event-window>header{grid-column:1/-1}.event-card{grid-area:2/1;width:150px;height:205px}.event-dialogue{grid-area:2/2;min-width:0}.event-options button{min-height:46px;font-size:7px}}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.event-overlay{padding:5px}.event-overlay .event-window{grid-template-rows:32px minmax(0,1fr);grid-template-columns:142px minmax(0,1fr);align-items:stretch;column-gap:14px;width:min(94vw,860px);height:calc(100svh - 10px);max-height:calc(100svh - 10px);padding:8px 10px;display:grid;overflow:hidden}.event-overlay .event-window>header{grid-area:1/1/auto/-1;height:32px;padding:0 0 6px}.event-overlay .event-card{grid-area:2/1;align-self:center;width:118px;height:162px;margin:0 auto}.event-overlay .event-card-front{padding:8px}.event-overlay .event-card-front small{font-size:6px}.event-overlay .event-card-front i{margin:9px 0;font-size:28px}.event-overlay .event-card-front h2{font-size:12px}.event-overlay .event-card-back:before{inset:7px}.event-overlay .event-card-back i{font-size:34px}.event-overlay .event-card-back b{font-size:9px}.event-overlay .event-card-back small{margin-top:5px;font-size:6px}.event-overlay .event-dialogue{border-top:0;flex-direction:column;grid-area:2/2;min-width:0;min-height:0;padding:0;display:flex;overflow:hidden}.event-overlay .event-dialogue>p{flex:none;min-height:42px;margin:0 0 6px;padding:8px 10px;font-size:8px;line-height:1.45}.event-overlay .event-dialogue>label{flex:none;margin-bottom:6px;font-size:7px}.event-overlay .event-options{flex:1;grid-template-columns:1fr;grid-auto-rows:minmax(42px,auto);gap:5px;min-height:0;padding-right:3px;display:grid;overflow-y:auto}.event-overlay .event-options button{min-height:42px;padding:7px 9px}.event-overlay .event-options span{font-size:8px;line-height:1.35}.event-overlay .event-options small{margin-top:3px;font-size:6px}}html.manual-landscape .event-overlay{padding:5px}html.manual-landscape .event-overlay .event-window{grid-template-rows:32px minmax(0,1fr);grid-template-columns:142px minmax(0,1fr);align-items:stretch;column-gap:14px;width:min(94%,860px);height:calc(100% - 10px);max-height:calc(100% - 10px);padding:8px 10px;display:grid;overflow:hidden}html.manual-landscape .event-overlay .event-window>header{grid-area:1/1/auto/-1;height:32px;padding:0 0 6px}html.manual-landscape .event-overlay .event-card{grid-area:2/1;align-self:center;width:118px;height:162px;margin:0 auto}html.manual-landscape .event-overlay .event-card-front{padding:8px}html.manual-landscape .event-overlay .event-card-front small{font-size:6px}html.manual-landscape .event-overlay .event-card-front i{margin:9px 0;font-size:28px}html.manual-landscape .event-overlay .event-card-front h2{font-size:12px}html.manual-landscape .event-overlay .event-card-back:before{inset:7px}html.manual-landscape .event-overlay .event-card-back i{font-size:34px}html.manual-landscape .event-overlay .event-card-back b{font-size:9px}html.manual-landscape .event-overlay .event-card-back small{margin-top:5px;font-size:6px}html.manual-landscape .event-overlay .event-dialogue{border-top:0;flex-direction:column;grid-area:2/2;min-width:0;min-height:0;padding:0;display:flex;overflow:hidden}html.manual-landscape .event-overlay .event-dialogue>p{flex:none;min-height:42px;margin:0 0 6px;padding:8px 10px;font-size:8px;line-height:1.45}html.manual-landscape .event-overlay .event-dialogue>label{flex:none;margin-bottom:6px;font-size:7px}html.manual-landscape .event-overlay .event-options{flex:1;grid-template-columns:1fr;grid-auto-rows:minmax(42px,auto);gap:5px;min-height:0;padding-right:3px;display:grid;overflow-y:auto}html.manual-landscape .event-overlay .event-options button{min-height:42px;padding:7px 9px}html.manual-landscape .event-overlay .event-options span{font-size:8px;line-height:1.35}html.manual-landscape .event-overlay .event-options small{margin-top:3px;font-size:6px}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.deck-zone{height:154px;box-shadow:none;background:0 0;border:0;padding:6px 9px 4px}.deck-zone:not(.remote-deck-zone)>header{height:0;display:block}.deck-zone:not(.remote-deck-zone)>header>div{display:none}.deck-zone:not(.remote-deck-zone)>header>span{margin:0;display:block;position:absolute;top:-34px;right:204px}.deck-zone .pass-action{top:-34px;right:8px}.deck-zone .flee-action{top:-34px;right:106px}.flat-card-stack{justify-content:flex-end;align-items:flex-end;height:calc(100% - 27px);padding:0 54px 0 0;display:flex;overflow:visible;transform:translateY(1px)}.flat-card-stack .fan-card{transform-origin:bottom;flex:0 0 78px;width:78px;height:110px;margin-left:-50px;transition:transform .18s,filter .18s,z-index;position:relative;bottom:auto;left:auto;transform:none}.flat-card-stack .fan-card:first-child{margin-left:0}.flat-card-stack .fan-card:hover,.flat-card-stack .fan-card.selected{transform:translateY(-13px)}.flat-card-stack .fan-card>button{padding:6px 5px 5px 19px}.flat-card-stack .fan-card>button>b{z-index:4;color:currentColor;letter-spacing:.08em;writing-mode:vertical-rl;text-orientation:upright;text-shadow:0 1px 4px #000;background:#080c13d9;border-right:1px solid;max-height:calc(100% - 6px);margin:0;padding:2px 1px;font-size:6.5px;line-height:1.05;position:absolute;top:3px;left:1px;overflow:hidden}.flat-card-stack .fan-card>button>small{max-height:23px;font-size:4.5px}.flat-card-stack .fan-card>button>strong{font-size:6px}.flat-card-stack .fan-card>button>.card-mark{width:28px;height:28px}.flat-card-stack .fan-card>button>em{width:17px;height:17px;font-size:7px;top:5px;right:5px}}html.manual-landscape .deck-zone{height:154px;box-shadow:none;background:0 0;border:0;padding:6px 9px 4px}html.manual-landscape .deck-zone:not(.remote-deck-zone)>header{height:0;display:block}html.manual-landscape .deck-zone:not(.remote-deck-zone)>header>div{display:none}html.manual-landscape .deck-zone:not(.remote-deck-zone)>header>span{margin:0;display:block;position:absolute;top:-34px;right:204px}html.manual-landscape .deck-zone .pass-action{top:-34px;right:8px}html.manual-landscape .deck-zone .flee-action{top:-34px;right:106px}html.manual-landscape .flat-card-stack{justify-content:flex-end;align-items:flex-end;height:calc(100% - 27px);padding:0 54px 0 0;display:flex;overflow:visible;transform:translateY(1px)}html.manual-landscape .flat-card-stack .fan-card{transform-origin:bottom;flex:0 0 78px;width:78px;height:110px;margin-left:-50px;transition:transform .18s,filter .18s,z-index;position:relative;bottom:auto;left:auto;transform:none}html.manual-landscape .flat-card-stack .fan-card:first-child{margin-left:0}html.manual-landscape .flat-card-stack .fan-card:hover,html.manual-landscape .flat-card-stack .fan-card.selected{transform:translateY(-13px)}html.manual-landscape .flat-card-stack .fan-card>button{padding:6px 5px 5px 19px}html.manual-landscape .flat-card-stack .fan-card>button>b{z-index:4;color:currentColor;letter-spacing:.08em;writing-mode:vertical-rl;text-orientation:upright;text-shadow:0 1px 4px #000;background:#080c13d9;border-right:1px solid;max-height:calc(100% - 6px);margin:0;padding:2px 1px;font-size:6.5px;line-height:1.05;position:absolute;top:3px;left:1px;overflow:hidden}html.manual-landscape .flat-card-stack .fan-card>button>small{max-height:23px;font-size:4.5px}html.manual-landscape .flat-card-stack .fan-card>button>strong{font-size:6px}html.manual-landscape .flat-card-stack .fan-card>button>.card-mark{width:28px;height:28px}html.manual-landscape .flat-card-stack .fan-card>button>em{width:17px;height:17px;font-size:7px;top:5px;right:5px}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.codex-overlay{padding:5px}.codex-overlay .card-codex{grid-template-rows:48px minmax(0,1fr);grid-template-columns:142px minmax(0,1fr);gap:8px;width:min(96vw,980px);height:calc(100svh - 10px);max-height:calc(100svh - 10px);padding:8px;display:grid;overflow:hidden}.codex-overlay .card-codex>header{background:0 0;grid-area:1/1/auto/-1;align-items:center;gap:10px;min-width:0;height:48px;padding:0 0 7px;display:flex;position:static}.codex-overlay .card-codex>header>div:first-child{min-width:0}.codex-overlay .card-codex>header small{font-size:5px}.codex-overlay .card-codex h2{margin:1px 0 0;font-size:17px}.codex-overlay .card-codex>header p{display:none}.codex-overlay .codex-count{align-items:flex-end;margin-left:auto}.codex-overlay .codex-count strong{font-size:20px}.codex-overlay .codex-count span{font-size:6px;display:block}.codex-overlay .card-codex>header>button{white-space:nowrap;height:34px;padding:0 13px;font-size:8px}.codex-overlay .codex-filters{border-right:1px solid #344054;grid-area:2/1;grid-template-columns:1fr 1fr;gap:5px;min-width:0;min-height:0;max-height:none;padding:0 8px 0 0;display:grid;overflow:hidden}.codex-overlay .codex-filters>div{scrollbar-width:thin;scrollbar-color:#4f5d74 #101722;flex-flow:column;align-items:stretch;gap:4px;min-width:0;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.codex-overlay .codex-filters b{z-index:1;color:#a3adbd;text-align:center;background:#101722;width:auto;padding:5px 2px;font-size:7px;position:sticky;top:0}.codex-overlay .codex-filters button{white-space:normal;flex:none;min-height:27px;padding:4px 2px;font-size:6px;line-height:1.25}.codex-overlay .codex-grid{grid-area:2/2;grid-template-columns:repeat(3,minmax(150px,190px));place-content:start space-around;gap:7px;min-width:0;min-height:0;padding:0 4px 7px 0;overflow-y:auto}.codex-overlay .codex-card{min-width:0;min-height:252px;padding:8px}.codex-overlay .codex-card-meta em{width:22px;height:22px;font-size:8px}.codex-overlay .codex-card-meta span{font-size:6px}.codex-overlay .codex-card-meta strong{font-size:5px}.codex-overlay .codex-card>.card-mark{width:30px;height:30px;margin:5px 0 4px}.codex-overlay .codex-card h3{font-size:9px}.codex-overlay .codex-types{margin:4px 0}.codex-overlay .codex-types span{padding:2px 4px;font-size:5px}.codex-overlay .codex-card p{font-size:6px;line-height:1.4}.codex-overlay .codex-card>small{padding-top:5px;font-size:5px}.codex-overlay .codex-empty{grid-area:2/2}}html.manual-landscape .codex-overlay{padding:5px}html.manual-landscape .codex-overlay .card-codex{grid-template-rows:48px minmax(0,1fr);grid-template-columns:142px minmax(0,1fr);gap:8px;width:min(96%,980px);height:calc(100% - 10px);max-height:calc(100% - 10px);padding:8px;display:grid;overflow:hidden}html.manual-landscape .codex-overlay .card-codex>header{background:0 0;grid-area:1/1/auto/-1;align-items:center;gap:10px;min-width:0;height:48px;padding:0 0 7px;display:flex;position:static}html.manual-landscape .codex-overlay .card-codex>header>div:first-child{min-width:0}html.manual-landscape .codex-overlay .card-codex>header small{font-size:5px}html.manual-landscape .codex-overlay .card-codex h2{margin:1px 0 0;font-size:17px}html.manual-landscape .codex-overlay .card-codex>header p{display:none}html.manual-landscape .codex-overlay .codex-count{align-items:flex-end;margin-left:auto}html.manual-landscape .codex-overlay .codex-count strong{font-size:20px}html.manual-landscape .codex-overlay .codex-count span{font-size:6px;display:block}html.manual-landscape .codex-overlay .card-codex>header>button{white-space:nowrap;height:34px;padding:0 13px;font-size:8px}html.manual-landscape .codex-overlay .codex-filters{border-right:1px solid #344054;grid-area:2/1;grid-template-columns:1fr 1fr;gap:5px;min-width:0;min-height:0;max-height:none;padding:0 8px 0 0;display:grid;overflow:hidden}html.manual-landscape .codex-overlay .codex-filters>div{scrollbar-width:thin;scrollbar-color:#4f5d74 #101722;flex-flow:column;align-items:stretch;gap:4px;min-width:0;min-height:0;padding-right:2px;display:flex;overflow-y:auto}html.manual-landscape .codex-overlay .codex-filters b{z-index:1;color:#a3adbd;text-align:center;background:#101722;width:auto;padding:5px 2px;font-size:7px;position:sticky;top:0}html.manual-landscape .codex-overlay .codex-filters button{white-space:normal;flex:none;min-height:27px;padding:4px 2px;font-size:6px;line-height:1.25}html.manual-landscape .codex-overlay .codex-grid{grid-area:2/2;grid-template-columns:repeat(3,minmax(150px,190px));place-content:start space-around;gap:7px;min-width:0;min-height:0;padding:0 4px 7px 0;overflow-y:auto}html.manual-landscape .codex-overlay .codex-card{min-width:0;min-height:252px;padding:8px}html.manual-landscape .codex-overlay .codex-card-meta em{width:22px;height:22px;font-size:8px}html.manual-landscape .codex-overlay .codex-card-meta span{font-size:6px}html.manual-landscape .codex-overlay .codex-card-meta strong{font-size:5px}html.manual-landscape .codex-overlay .codex-card>.card-mark{width:30px;height:30px;margin:5px 0 4px}html.manual-landscape .codex-overlay .codex-card h3{font-size:9px}html.manual-landscape .codex-overlay .codex-types{margin:4px 0}html.manual-landscape .codex-overlay .codex-types span{padding:2px 4px;font-size:5px}html.manual-landscape .codex-overlay .codex-card p{font-size:6px;line-height:1.4}html.manual-landscape .codex-overlay .codex-card>small{padding-top:5px;font-size:5px}html.manual-landscape .codex-overlay .codex-empty{grid-area:2/2}.relic-treasure-box{gap:8px}.relic-list{gap:5px;display:grid}.relic-list button,.relic-dash-toggle{color:#9aa4b7;text-align:left;cursor:pointer;background:#121824;border:1px solid #3b4353;align-items:center;gap:7px;width:100%;padding:7px;display:flex}.relic-list button.active{background:linear-gradient(90deg,#3b2c16,#171923);border-color:#ddb461;box-shadow:inset 3px 0 #e7b95d}.relic-list button>i{color:#e9bd66;font-style:normal}.relic-list button span{flex-direction:column;display:flex}.relic-list button strong{color:#e5e9f1;font-size:9px}.relic-list button small{color:#8d96a8;font-size:7px}.relic-list button:disabled,.relic-dash-toggle:disabled{cursor:default;opacity:.7}.relic-dash-toggle{color:#e9bf6c;border-color:#63512d;justify-content:center;font-size:8px}.relic-event-choice{text-align:center;width:min(620px,100%);margin:20px auto}.relic-event-choice>small{color:#dcb25f;letter-spacing:.2em}.relic-event-choice>h2{margin:5px 0;font:700 24px Georgia,Microsoft YaHei,serif}.relic-event-choice>p{color:#8590a4;font-size:10px}.relic-event-choice>div{grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;display:grid}.relic-event-choice button{color:#edf1f8;cursor:pointer;background:radial-gradient(circle at 50% 30%,#263b5e,#111722 70%);border:2px solid #5a6c87;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:230px;display:flex}.relic-event-choice button.reward{background:radial-gradient(circle at 50% 30%,#654817,#17130d 70%);border-color:#dcb45e}.relic-event-choice button.penalty{background:radial-gradient(circle at 50% 30%,#5d1d24,#190d10 70%);border-color:#dd5a63}.relic-event-choice button i{font-size:46px;font-style:normal}.relic-event-choice button b{font-size:16px}.relic-event-choice button span{color:#a8b1c1;font-size:8px}.event-relic-reroll{color:#efc978;cursor:pointer;background:#211c13;border:1px solid #7e6940;justify-content:space-between;align-items:center;width:100%;margin:0 0 10px;padding:10px 12px;display:flex}.event-relic-reroll span{color:#ad9c7c;font-size:8px}.relic-battle-strip{z-index:65;color:#e9bd67;background:#15130fe8;border:1px solid #665430;align-items:center;gap:8px;padding:5px 7px;display:flex;position:absolute;top:54px;right:18px}.relic-battle-strip>span{flex-direction:column;display:flex}.relic-battle-strip small{color:#8e826e;font-size:6px}.relic-battle-strip b{font-size:9px}.relic-battle-strip em{color:#c4b28f;font-size:7px;font-style:normal}.relic-battle-strip button{color:#15181e;cursor:pointer;background:#d8aa57;border:1px solid #af8744;padding:5px 8px;font-size:7px;font-weight:800}.relic-battle-strip button:disabled{color:#817762;cursor:not-allowed;background:#26241f;border-color:#4a4233}@media (width<=760px){.relic-list{grid-template-columns:repeat(2,minmax(0,1fr))}.relic-list button{padding:3px}.relic-list button strong{font-size:6px}.relic-list button small{font-size:5px}.relic-event-choice{grid-area:2/1/auto/-1;align-self:stretch;margin:0;overflow:auto}.relic-event-choice>h2{font-size:15px}.relic-event-choice>p{font-size:7px}.relic-event-choice>div{margin-top:7px}.relic-event-choice button{gap:8px;min-height:150px}.relic-event-choice button i{font-size:30px}.relic-event-choice button b{font-size:10px}.relic-battle-strip{padding:4px;top:-34px;right:302px}.relic-battle-strip>span{display:none}.relic-battle-strip em{font-size:6px}}html.manual-landscape .relic-event-choice{grid-area:2/1/auto/-1;align-self:stretch;margin:0;overflow:auto}html.manual-landscape .relic-event-choice>div{grid-template-columns:1fr 1fr;margin-top:7px}html.manual-landscape .relic-event-choice button{min-height:150px}html.manual-landscape .relic-battle-strip{padding:4px;top:-34px;right:302px}html.manual-landscape .relic-battle-strip>span{display:none}.top-actions .forfeit-entry{color:#e7b5b9;background:linear-gradient(155deg,#24151a,#10131b);border-color:#70444b}.top-actions .forfeit-entry:hover{color:#ffd8dc;border-color:#d36770}.forfeit-overlay{z-index:120;background:#03050bea}.forfeit-dialog{color:#e8ebf2;background:linear-gradient(155deg,#151b28,#0b1019 72%);border:1px solid #5a4a4f;width:min(560px,100vw - 32px);max-height:calc(100svh - 32px);padding:24px;overflow:auto;box-shadow:0 28px 90px #000d,inset 0 0 0 1px #22171c}.forfeit-dialog>header{border-bottom:1px solid #343d4d;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:14px;display:flex}.forfeit-dialog>header small{color:#cb6972;letter-spacing:.22em;font-size:8px}.forfeit-dialog h2{margin:5px 0 0;font:700 24px Georgia,Microsoft YaHei,serif}.forfeit-dialog>header>button{color:#aab2c1;cursor:pointer;background:#111722;border:1px solid #465166;width:34px;height:34px;font-size:20px}.forfeit-dialog>p{color:#aab2c1;margin:18px 0;font-size:11px;line-height:1.8}.forfeit-error{color:#ffc0c6;background:#36171dd9;border:1px solid #8f3f49;margin:-5px 0 14px;padding:9px 11px;font-size:9px}.forfeit-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.forfeit-actions button{color:#dfe4ed;cursor:pointer;background:#151c29;border:1px solid #48546a;min-height:66px;padding:10px;font-weight:800}.forfeit-actions button small{color:#8994a8;margin-top:5px;font-size:7px;font-weight:500;line-height:1.35;display:block}.forfeit-actions .observe{color:#f0c773;background:#2a2114;border-color:#907039}.forfeit-actions .leave{color:#f5aeb5;background:#30171c;border-color:#8d444d}.forfeit-actions button:disabled{cursor:wait;opacity:.58}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.top-actions .forfeit-entry{width:68px!important;height:44px!important;min-height:44px!important;padding:4px!important;display:flex!important;position:static!important}.forfeit-overlay{padding:max(5px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.forfeit-dialog{width:min(92vw,720px);max-height:calc(100svh - 10px);padding:12px 14px}.forfeit-dialog>header{padding-bottom:7px}.forfeit-dialog h2{font-size:18px}.forfeit-dialog>p{margin:9px 0;font-size:8px;line-height:1.5}.forfeit-actions button{min-height:48px;padding:6px 8px;font-size:8px}.forfeit-actions button small{font-size:6px}}html.manual-landscape .top-actions .forfeit-entry{width:68px!important;height:44px!important;min-height:44px!important;padding:4px!important;display:flex!important;position:static!important}html.manual-landscape .forfeit-overlay{padding:max(5px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}html.manual-landscape .forfeit-dialog{width:min(92%,720px);max-height:calc(100% - 10px);padding:12px 14px}html.manual-landscape .forfeit-dialog>header{padding-bottom:7px}html.manual-landscape .forfeit-dialog h2{font-size:18px}html.manual-landscape .forfeit-dialog>p{margin:9px 0;font-size:8px;line-height:1.5}html.manual-landscape .forfeit-actions button{min-height:48px;padding:6px 8px;font-size:8px}html.manual-landscape .forfeit-actions button small{font-size:6px}.relic-event-choice button.selected{transform:translateY(-3px);box-shadow:0 0 0 2px #f1ca78,0 0 32px #e8b95466}.enemy-command-cluster{display:contents}.enemy-hud.selectable,.battle-portrait.selectable{cursor:pointer}.enemy-hud.targeted,.battle-portrait.targeted{border-color:#e9bd67;box-shadow:0 0 0 1px #e9bd6744,0 0 22px #d79e3d35}.battle-portrait.selectable:focus-visible,.enemy-hud.selectable:focus-visible{outline-offset:2px;outline:2px solid #f0c66e}.secondary-enemy-portrait{padding:0;overflow:hidden}.secondary-enemy-portrait img{object-fit:cover;width:100%;height:100%;display:block}.battle-action-stack{z-index:70;flex-direction:column;align-items:stretch;gap:5px;display:flex;position:absolute;top:17px;right:22px}.battle-action-stack .pass-action,.battle-action-stack .flee-action{white-space:nowrap;min-width:110px;margin:0;position:static;top:auto;right:auto}.combat-summon-slot.selectable:disabled{cursor:default}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.battle-stage{--mobile-enemy-cluster-top:62px;--mobile-enemy-cluster-right:8px;--mobile-enemy-cluster-width:min(58%,520px);--mobile-enemy-main-row:54px;--mobile-enemy-secondary-row:48px;--mobile-enemy-avatar-width:76px;--mobile-summon-avatar-width:48px;--mobile-battle-action-gap:5px}.enemy-command-cluster{z-index:16;top:var(--mobile-enemy-cluster-top);right:var(--mobile-enemy-cluster-right);width:var(--mobile-enemy-cluster-width);grid-template-columns:minmax(0,1fr) var(--mobile-summon-avatar-width) var(--mobile-enemy-avatar-width);grid-template-rows:var(--mobile-enemy-main-row);gap:4px;display:grid;position:absolute}.enemy-command-cluster.with-secondary{grid-template-rows:var(--mobile-enemy-main-row) var(--mobile-enemy-secondary-row)}.enemy-command-cluster .enemy-hud{grid-area:1/1/auto/3;width:auto;min-width:0;height:auto;padding:4px 8px;position:relative;inset:auto}.enemy-command-cluster .enemy-name{justify-content:center;height:18px}.enemy-command-cluster .enemy-name span,.enemy-command-cluster .enemy-name em{font-size:5px}.enemy-command-cluster .enemy-name b{font-size:11px}.enemy-command-cluster .enemy-health-wrap{margin-top:3px}.enemy-command-cluster .enemy-health{height:14px}.enemy-command-cluster .enemy-health span{font-size:6px}.enemy-command-cluster .battle-portrait.enemy{border:1px solid #566177;grid-area:1/3;width:auto;min-width:0;height:auto;position:relative;inset:auto}.enemy-command-cluster.with-secondary .battle-portrait.enemy{grid-row:1/3}.enemy-command-cluster .battle-portrait.enemy figcaption{padding:14px 6px 5px}.enemy-command-cluster .battle-portrait.enemy figcaption small{font-size:5px}.enemy-command-cluster .battle-portrait.enemy figcaption b{font-size:8px}.enemy-command-cluster .combat-summon-slot.enemy{grid-area:2/1/auto/3;grid-template-columns:minmax(0,1fr) var(--mobile-summon-avatar-width);align-items:center;gap:6px;width:auto;min-width:0;height:auto;margin:0;padding:4px 5px;display:grid;position:relative;inset:auto}.enemy-command-cluster .combat-summon-slot.enemy>span{grid-area:1/2;justify-self:end;width:40px;min-width:40px;height:40px}.enemy-command-cluster .combat-summon-slot.enemy>div{grid-area:1/1;min-width:0}.enemy-command-cluster .combat-summon-slot.enemy b{font-size:8px}.enemy-command-cluster .combat-summon-slot.enemy small,.enemy-command-cluster .combat-summon-slot.enemy em{font-size:5px}.enemy-command-cluster .combat-summon-slot.enemy .summon-health{width:100%;height:5px}.enemy-command-cluster.with-secondary .combat-statuses.enemy{top:calc(100% + var(--mobile-enemy-secondary-row) + 3px)}.enemy-command-cluster .boss-target-bars.eye,.enemy-command-cluster .boss-target-bars.twins button:not(.targeted){display:none}.enemy-command-cluster .boss-target-bars.twins button.targeted{width:100%}.enemy-command-cluster .boss-target-bars button{gap:4px;height:22px;padding:2px 4px;font-size:6px}.battle-title{width:clamp(112px,22vw,200px);top:62px;left:174px}.deck-zone .battle-action-stack{gap:var(--mobile-battle-action-gap);top:auto;bottom:calc(100% + 8px);right:8px}.deck-zone .battle-action-stack .pass-action,.deck-zone .battle-action-stack .flee-action{touch-action:manipulation;width:112px;min-height:32px;padding:5px 7px;font-size:7px;position:static;top:auto;right:auto}}html.manual-landscape .battle-stage{--mobile-enemy-cluster-top:62px;--mobile-enemy-cluster-right:8px;--mobile-enemy-cluster-width:min(58%,520px);--mobile-enemy-main-row:54px;--mobile-enemy-secondary-row:48px;--mobile-enemy-avatar-width:76px;--mobile-summon-avatar-width:48px;--mobile-battle-action-gap:5px}html.manual-landscape .enemy-command-cluster{z-index:16;top:var(--mobile-enemy-cluster-top);right:var(--mobile-enemy-cluster-right);width:var(--mobile-enemy-cluster-width);grid-template-columns:minmax(0,1fr) var(--mobile-summon-avatar-width) var(--mobile-enemy-avatar-width);grid-template-rows:var(--mobile-enemy-main-row);gap:4px;display:grid;position:absolute}html.manual-landscape .enemy-command-cluster.with-secondary{grid-template-rows:var(--mobile-enemy-main-row) var(--mobile-enemy-secondary-row)}html.manual-landscape .enemy-command-cluster .enemy-hud{grid-area:1/1/auto/3;width:auto;min-width:0;height:auto;padding:4px 8px;position:relative;inset:auto}html.manual-landscape .enemy-command-cluster .enemy-name{justify-content:center;height:18px}html.manual-landscape .enemy-command-cluster .enemy-name span,html.manual-landscape .enemy-command-cluster .enemy-name em{font-size:5px}html.manual-landscape .enemy-command-cluster .enemy-name b{font-size:11px}html.manual-landscape .enemy-command-cluster .enemy-health-wrap{margin-top:3px}html.manual-landscape .enemy-command-cluster .enemy-health{height:14px}html.manual-landscape .enemy-command-cluster .enemy-health span{font-size:6px}html.manual-landscape .enemy-command-cluster .battle-portrait.enemy{border:1px solid #566177;grid-area:1/3;width:auto;min-width:0;height:auto;position:relative;inset:auto}html.manual-landscape .enemy-command-cluster.with-secondary .battle-portrait.enemy{grid-row:1/3}html.manual-landscape .enemy-command-cluster .battle-portrait.enemy figcaption{padding:14px 6px 5px}html.manual-landscape .enemy-command-cluster .battle-portrait.enemy figcaption small{font-size:5px}html.manual-landscape .enemy-command-cluster .battle-portrait.enemy figcaption b{font-size:8px}html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy{grid-area:2/1/auto/3;grid-template-columns:minmax(0,1fr) var(--mobile-summon-avatar-width);align-items:center;gap:6px;width:auto;min-width:0;height:auto;margin:0;padding:4px 5px;display:grid;position:relative;inset:auto}html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy>span{grid-area:1/2;justify-self:end;width:40px;min-width:40px;height:40px}html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy>div{grid-area:1/1;min-width:0}html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy b{font-size:8px}html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy small,html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy em{font-size:5px}html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy .summon-health{width:100%;height:5px}html.manual-landscape .enemy-command-cluster .boss-target-bars.eye,html.manual-landscape .enemy-command-cluster .boss-target-bars.twins button:not(.targeted){display:none}html.manual-landscape .enemy-command-cluster .boss-target-bars.twins button.targeted{width:100%}html.manual-landscape .enemy-command-cluster .boss-target-bars button{gap:4px;height:22px;padding:2px 4px;font-size:6px}html.manual-landscape .battle-title{width:clamp(112px,22vw,200px);top:62px;left:174px}html.manual-landscape .deck-zone .battle-action-stack{gap:var(--mobile-battle-action-gap);top:auto;bottom:calc(100% + 8px);right:8px}html.manual-landscape .deck-zone .battle-action-stack .pass-action,html.manual-landscape .deck-zone .battle-action-stack .flee-action{touch-action:manipulation;width:112px;min-height:32px;padding:5px 7px;font-size:7px;position:static;top:auto;right:auto}.hero-health-prelude{z-index:24;justify-content:space-between;align-items:flex-end;gap:6px;min-width:0;display:flex;position:absolute;bottom:calc(100% + 5px);left:0;right:0}.hero-health-prelude .combat-statuses.hero{min-width:0;max-width:calc(100% - 88px);position:relative;bottom:auto;left:auto}.hero-health-prelude .blind-status-message{text-overflow:ellipsis;min-width:0;position:relative;bottom:auto;left:auto;overflow:hidden}.hero-relic-action{color:#15181e;white-space:nowrap;cursor:pointer;touch-action:manipulation;background:#d8aa57;border:1px solid #af8744;flex:none;min-height:20px;padding:0 7px;font-size:7px;font-weight:800;line-height:1;box-shadow:0 5px 14px #0008}.hero-relic-action:disabled{color:#817762;cursor:not-allowed;background:#26241f;border-color:#4a4233}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.hero-health-prelude{gap:4px}.hero-health-prelude .combat-statuses.hero{max-width:calc(100% - 76px)}.hero-relic-action{min-height:18px;padding:0 5px;font-size:6px}}html.manual-landscape .hero-health-prelude{gap:4px}html.manual-landscape .hero-health-prelude .combat-statuses.hero{max-width:calc(100% - 76px)}html.manual-landscape .hero-relic-action{min-height:18px;padding:0 5px;font-size:6px}.backpack-filters,.backpack-empty{display:none}.battle-action-stack{display:contents;position:static}.battle-action-stack .pass-action{right:22px;top:var(--battle-pass-top,49px);min-width:0;position:absolute}.battle-action-stack .flee-action{right:22px;top:var(--battle-flee-top,17px);min-width:0;position:absolute}.hero-health-prelude{display:contents;position:static}.hero-health-prelude .combat-statuses.hero{max-width:min(68vw,760px);position:absolute;bottom:calc(100% + 5px);left:0}.hero-health-prelude .blind-status-message{position:absolute;bottom:calc(100% + 5px);left:0}.hero-relic-action{display:none}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.enemy-command-cluster.with-secondary{min-height:calc(var(--mobile-enemy-main-row) + var(--mobile-enemy-secondary-row) + 24px)}.enemy-command-cluster.with-secondary .combat-statuses.enemy{top:calc(100% + var(--mobile-enemy-secondary-row) + 20px)}.enemy-command-cluster .combat-summon-slot.enemy{box-sizing:border-box;overflow:hidden}.enemy-command-cluster .combat-summon-slot.enemy>div{width:100%;max-width:100%;overflow:hidden}.enemy-command-cluster .combat-summon-slot.enemy .summon-health{box-sizing:border-box;width:100%;max-width:100%;overflow:hidden}.deck-zone .battle-action-stack{z-index:70;align-items:stretch;gap:var(--mobile-battle-action-gap);flex-direction:column;display:flex;position:absolute;top:auto;bottom:calc(100% + 8px);right:8px}.deck-zone .battle-action-stack .pass-action,.deck-zone .battle-action-stack .flee-action{min-width:112px;position:static;top:auto;right:auto}.hero-health-prelude{z-index:24;justify-content:space-between;align-items:flex-end;gap:4px;min-width:0;display:flex;position:absolute;bottom:calc(100% + 5px);left:0;right:0}.hero-health-prelude .combat-statuses.hero{min-width:0;max-width:calc(100% - 76px);position:relative;bottom:auto;left:auto}.hero-health-prelude .blind-status-message{text-overflow:ellipsis;min-width:0;position:relative;bottom:auto;left:auto;overflow:hidden}.hero-relic-action{min-height:18px;padding:0 5px;font-size:6px;display:block}.relic-battle-strip.soul-shield-desktop{display:none}.backpack-overlay{padding:5px}.backpack-overlay .backpack-window{grid-template-rows:48px 30px minmax(0,1fr);grid-template-columns:142px minmax(0,1fr);gap:7px;width:min(96vw,980px);height:calc(100svh - 10px);max-height:calc(100svh - 10px);padding:8px;display:grid;overflow:hidden}.backpack-overlay .backpack-window>header{background:0 0;flex-direction:row;grid-area:1/1/auto/-1;align-items:center;gap:10px;min-width:0;height:48px;padding:0 0 7px;display:flex;position:static}.backpack-overlay .backpack-window>header>div:first-child{flex:1;min-width:0}.backpack-overlay .backpack-window header small{font-size:5px}.backpack-overlay .backpack-window h2{margin:1px 0 0;font-size:17px}.backpack-overlay .backpack-summary{gap:5px;width:auto;margin-left:auto}.backpack-overlay .backpack-summary span{min-width:58px;padding:4px 7px;font-size:5px}.backpack-overlay .backpack-summary b{font-size:10px}.backpack-overlay .backpack-toolbar{background:0 0;grid-area:2/1/auto/-1;align-items:center;gap:8px;min-width:0;height:30px;padding:0;display:flex;position:static}.backpack-overlay .backpack-toolbar span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:6px;overflow:hidden}.backpack-overlay .backpack-toolbar button{flex:none;height:28px;padding:0 11px;font-size:7px}.backpack-overlay .backpack-filters{border-right:1px solid #344054;grid-area:3/1;grid-template-columns:1fr 1fr;gap:5px;min-width:0;min-height:0;padding:0 8px 0 0;display:grid;overflow:hidden}.backpack-overlay .backpack-filters>div{scrollbar-width:thin;scrollbar-color:#4f5d74 #101722;flex-direction:column;align-items:stretch;gap:4px;min-width:0;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.backpack-overlay .backpack-filters b{z-index:1;color:#a3adbd;text-align:center;background:#101722;padding:5px 2px;font-size:7px;position:sticky;top:0}.backpack-overlay .backpack-filters button{color:#8996aa;cursor:pointer;background:#141b27;border:1px solid #39465a;flex:none;min-height:27px;padding:4px 2px;font-size:6px;line-height:1.25}.backpack-overlay .backpack-filters button.active{color:#f0ca82;background:#332817;border-color:#d9af67}.backpack-overlay .backpack-grid{min-width:0;min-height:0;padding:0 4px max(58px,calc(env(safe-area-inset-bottom) + 34px)) 0;scroll-padding-bottom:max(58px,calc(env(safe-area-inset-bottom) + 34px));grid-area:3/2;grid-template-columns:repeat(3,minmax(150px,190px));place-content:start space-around;gap:7px;overflow-y:auto}.backpack-overlay .backpack-card{align-self:start;min-width:0;height:max-content;min-height:252px;padding:8px}.backpack-overlay .backpack-card-top em{width:22px;height:22px;font-size:8px}.backpack-overlay .backpack-card-top span{font-size:6px}.backpack-overlay .backpack-card-top strong{font-size:8px}.backpack-overlay .backpack-card>.card-mark{width:30px;height:30px;margin:5px 0 4px}.backpack-overlay .backpack-card h3{font-size:9px}.backpack-overlay .backpack-card p{font-size:6px;line-height:1.4}.backpack-overlay .backpack-use-card{flex:none;margin-top:8px;padding:5px;font-size:6px}.backpack-overlay .backpack-empty{color:#727f93;grid-area:3/2;place-items:center;font-size:9px;display:grid}.players-panel{transition:right .22s,top .22s,height .22s;left:auto;right:-184px;box-shadow:-18px 0 40px #000b}.players-panel.mobile-open{left:auto;right:0}.mobile-roster-handle.mobile-drawer-handle-right{box-sizing:border-box;border-left:1px solid #d8aa57;border-right:0;border-radius:18px 0 0 18px;place-items:center;transition:right .22s;box-shadow:-8px 0 24px #0009;left:auto!important;right:0!important}.players-panel.mobile-open .mobile-roster-handle.mobile-drawer-handle-right{right:184px!important}.mobile-log-drawer{border-left:0;border-right:1px solid #465269;left:0;right:auto;transform:translate(-100%);box-shadow:18px 0 40px #000b}.mobile-log-drawer[open]{transform:translate(0)}.mobile-log-drawer .mobile-drawer-handle-left{border-left:0;border-right:1px solid #d8aa57;border-radius:0 18px 18px 0;box-shadow:8px 0 24px #0009;left:auto!important;right:-30px!important}}html.manual-landscape .enemy-command-cluster.with-secondary{min-height:calc(var(--mobile-enemy-main-row) + var(--mobile-enemy-secondary-row) + 24px)}html.manual-landscape .enemy-command-cluster.with-secondary .combat-statuses.enemy{top:calc(100% + var(--mobile-enemy-secondary-row) + 20px)}html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy{box-sizing:border-box;overflow:hidden}html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy>div{width:100%;max-width:100%;overflow:hidden}html.manual-landscape .enemy-command-cluster .combat-summon-slot.enemy .summon-health{box-sizing:border-box;width:100%;max-width:100%;overflow:hidden}html.manual-landscape .deck-zone .battle-action-stack{z-index:70;align-items:stretch;gap:var(--mobile-battle-action-gap);flex-direction:column;display:flex;position:absolute;top:auto;bottom:calc(100% + 8px);right:8px}html.manual-landscape .deck-zone .battle-action-stack .pass-action,html.manual-landscape .deck-zone .battle-action-stack .flee-action{min-width:112px;position:static;top:auto;right:auto}html.manual-landscape .hero-health-prelude{z-index:24;justify-content:space-between;align-items:flex-end;gap:4px;min-width:0;display:flex;position:absolute;bottom:calc(100% + 5px);left:0;right:0}html.manual-landscape .hero-health-prelude .combat-statuses.hero{min-width:0;max-width:calc(100% - 76px);position:relative;bottom:auto;left:auto}html.manual-landscape .hero-health-prelude .blind-status-message{text-overflow:ellipsis;min-width:0;position:relative;bottom:auto;left:auto;overflow:hidden}html.manual-landscape .hero-relic-action{min-height:18px;padding:0 5px;font-size:6px;display:block}html.manual-landscape .relic-battle-strip.soul-shield-desktop{display:none}html.manual-landscape .backpack-overlay{padding:5px}html.manual-landscape .backpack-overlay .backpack-window{grid-template-rows:48px 30px minmax(0,1fr);grid-template-columns:142px minmax(0,1fr);gap:7px;width:min(96%,980px);height:calc(100% - 10px);max-height:calc(100% - 10px);padding:8px;display:grid;overflow:hidden}html.manual-landscape .backpack-overlay .backpack-window>header{background:0 0;flex-direction:row;grid-area:1/1/auto/-1;align-items:center;gap:10px;min-width:0;height:48px;padding:0 0 7px;display:flex;position:static}html.manual-landscape .backpack-overlay .backpack-window>header>div:first-child{flex:1;min-width:0}html.manual-landscape .backpack-overlay .backpack-window header small{font-size:5px}html.manual-landscape .backpack-overlay .backpack-window h2{margin:1px 0 0;font-size:17px}html.manual-landscape .backpack-overlay .backpack-summary{gap:5px;width:auto;margin-left:auto}html.manual-landscape .backpack-overlay .backpack-summary span{min-width:58px;padding:4px 7px;font-size:5px}html.manual-landscape .backpack-overlay .backpack-summary b{font-size:10px}html.manual-landscape .backpack-overlay .backpack-toolbar{background:0 0;grid-area:2/1/auto/-1;align-items:center;gap:8px;min-width:0;height:30px;padding:0;display:flex;position:static}html.manual-landscape .backpack-overlay .backpack-toolbar span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:6px;overflow:hidden}html.manual-landscape .backpack-overlay .backpack-toolbar button{flex:none;height:28px;padding:0 11px;font-size:7px}html.manual-landscape .backpack-overlay .backpack-filters{border-right:1px solid #344054;grid-area:3/1;grid-template-columns:1fr 1fr;gap:5px;min-width:0;min-height:0;padding:0 8px 0 0;display:grid;overflow:hidden}html.manual-landscape .backpack-overlay .backpack-filters>div{scrollbar-width:thin;scrollbar-color:#4f5d74 #101722;flex-direction:column;align-items:stretch;gap:4px;min-width:0;min-height:0;padding-right:2px;display:flex;overflow-y:auto}html.manual-landscape .backpack-overlay .backpack-filters b{z-index:1;color:#a3adbd;text-align:center;background:#101722;padding:5px 2px;font-size:7px;position:sticky;top:0}html.manual-landscape .backpack-overlay .backpack-filters button{color:#8996aa;cursor:pointer;background:#141b27;border:1px solid #39465a;flex:none;min-height:27px;padding:4px 2px;font-size:6px;line-height:1.25}html.manual-landscape .backpack-overlay .backpack-filters button.active{color:#f0ca82;background:#332817;border-color:#d9af67}html.manual-landscape .backpack-overlay .backpack-grid{min-width:0;min-height:0;padding:0 4px max(58px,calc(env(safe-area-inset-bottom) + 34px)) 0;scroll-padding-bottom:max(58px,calc(env(safe-area-inset-bottom) + 34px));grid-area:3/2;grid-template-columns:repeat(3,minmax(150px,190px));place-content:start space-around;gap:7px;overflow-y:auto}html.manual-landscape .backpack-overlay .backpack-card{align-self:start;min-width:0;height:max-content;min-height:252px;padding:8px}html.manual-landscape .backpack-overlay .backpack-card-top em{width:22px;height:22px;font-size:8px}html.manual-landscape .backpack-overlay .backpack-card-top span{font-size:6px}html.manual-landscape .backpack-overlay .backpack-card-top strong{font-size:8px}html.manual-landscape .backpack-overlay .backpack-card>.card-mark{width:30px;height:30px;margin:5px 0 4px}html.manual-landscape .backpack-overlay .backpack-card h3{font-size:9px}html.manual-landscape .backpack-overlay .backpack-card p{font-size:6px;line-height:1.4}html.manual-landscape .backpack-overlay .backpack-use-card{flex:none;margin-top:8px;padding:5px;font-size:6px}html.manual-landscape .backpack-overlay .backpack-empty{color:#727f93;grid-area:3/2;place-items:center;font-size:9px;display:grid}html.manual-landscape .players-panel{transition:right .22s,top .22s,height .22s;left:auto;right:-184px;box-shadow:-18px 0 40px #000b}html.manual-landscape .players-panel.mobile-open{left:auto;right:0}html.manual-landscape .mobile-roster-handle.mobile-drawer-handle-right{box-sizing:border-box;border-left:1px solid #d8aa57;border-right:0;border-radius:18px 0 0 18px;place-items:center;transition:right .22s;box-shadow:-8px 0 24px #0009;left:auto!important;right:0!important}html.manual-landscape .players-panel.mobile-open .mobile-roster-handle.mobile-drawer-handle-right{right:184px!important}html.manual-landscape .mobile-log-drawer{border-left:0;border-right:1px solid #465269;left:0;right:auto;transform:translate(-100%);box-shadow:18px 0 40px #000b}html.manual-landscape .mobile-log-drawer[open]{transform:translate(0)}html.manual-landscape .mobile-log-drawer .mobile-drawer-handle-left{border-left:0;border-right:1px solid #d8aa57;border-radius:0 18px 18px 0;box-shadow:8px 0 24px #0009;left:auto!important;right:-30px!important}.map-picker{background:#0d131de8;border:1px solid #39465a;margin-top:10px}.map-picker>header{border-bottom:1px solid #303b4e;justify-content:space-between;align-items:center;height:30px;padding:0 10px;display:flex}.map-picker>header b{letter-spacing:.14em;font-size:8px}.map-picker>header span{color:#738096;font-size:6px}.map-picker>div{grid-template-columns:1fr 1fr;gap:6px;padding:6px;display:grid}.map-picker button{color:#dce3ed;text-align:left;cursor:pointer;background:#121a27;border:1px solid #354157;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;height:58px;padding:6px 8px;display:grid}.map-picker button:hover{border-color:#796746}.map-picker button.active{background:linear-gradient(100deg,#2c2417,#151d2a 70%);border-color:#d8ad64;box-shadow:inset 0 0 18px #d8ad6414}.map-picker button>span:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.map-picker button b{font-size:9px}.map-picker button small{color:#778399;white-space:nowrap;text-overflow:ellipsis;font-size:6px;overflow:hidden}.map-picker button em{color:#d8ad64;font-size:6px;font-style:normal}.map-picker-preview{color:#ef7185;background:#161e2b;border:1px solid #425069;place-items:center;width:42px;height:42px;display:grid;position:relative}.map-picker-preview.rift i{font-size:18px;font-style:normal}.map-picker-preview.sky-city{background:0 0;border:0}.map-picker-preview.sky-city i{background:#0c3540;border:1px solid #56bad2;width:34px;height:22px;position:absolute;transform:skewY(-5deg);box-shadow:0 5px 10px #0007}.map-picker-preview.sky-city i:first-child{opacity:.65;top:1px;left:7px}.map-picker-preview.sky-city i:nth-child(2){background:#4a3212;border-color:#dfb258;top:10px;left:4px}.map-picker-preview.sky-city i:nth-child(3){opacity:.75;background:#421a19;border-color:#b85045;top:19px;left:1px}.board .map-token{width:calc(100% / var(--map-size,11));height:calc(100% / var(--map-size,11))}.board-wrap.map-sky-city .board{background:#1c160c;border-color:#b8862f;box-shadow:0 0 0 1px #e3bd63,0 24px 70px #0009,0 0 35px #d79d2926}.board-wrap.map-sky-city .tile{background:#21190d;border-color:#5a4422}.board-wrap.map-sky-city .tile.restricted{color:#ff8b78;background:repeating-linear-gradient(135deg,#391b18 0 7px,#171216 7px 13px);box-shadow:inset 0 0 18px #ff4f3857}.board-wrap.map-sky-city .tile.restricted:after{content:"";opacity:.65;border:1px dashed;position:absolute;inset:9%}.board-wrap.map-sky-city.layer-upper .board{border-color:#63cde6;box-shadow:0 0 0 1px #a7edfa,0 24px 70px #0009,0 0 38px #4dd8ff35}.board-wrap.map-sky-city.layer-middle .board{border-color:#d3a548}.board-wrap.map-sky-city.layer-lower .board{border-color:#9b4d42;box-shadow:0 0 0 1px #d27a67,0 24px 70px #0009,0 0 35px #b74b3b2b}.sky-city-layer-controller{box-sizing:border-box;color:#e8d7ae;background:linear-gradient(100deg,#171207f2,#0e1723f2);border:1px solid #6d5831;grid-template-columns:118px minmax(0,1fr) 132px;gap:6px;width:min(100%,760px);margin:0 auto 8px;padding:6px;display:grid;box-shadow:0 8px 24px #0007}.sky-current-summary{background:#241b0f;border:1px solid #765e31;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-items:center;min-width:0;padding:6px 8px;display:grid}.sky-current-summary small{color:#9b865b;letter-spacing:.14em;grid-column:1/-1;font-size:6px}.sky-current-summary b{color:#f1ce79;font-size:16px}.sky-current-summary span{color:#d4c5a0;white-space:nowrap;text-overflow:ellipsis;font-size:7px;overflow:hidden}.sky-layer-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0;display:grid}.sky-layer-tabs button{color:#8592a6;text-align:left;cursor:pointer;background:#111a27;border:1px solid #344154;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;min-width:0;padding:5px 6px;display:flex;position:relative}.sky-layer-tabs button:hover{color:#d8c497;border-color:#85704a}.sky-layer-tabs button.viewing{color:#f2d486;background:linear-gradient(160deg,#382b14,#17202c);border-color:#e0b85f;box-shadow:inset 0 0 14px #e5b74c1c}.sky-layer-tabs button.occupied:after{content:"●";color:#7de2b6;text-shadow:0 0 8px #42cf98;font-size:7px;position:absolute;top:4px;right:5px}.sky-layer-tabs small{letter-spacing:.12em;font-size:6px}.sky-layer-tabs b{white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:7px;overflow:hidden}.sky-layer-tabs span{white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:5px;overflow:hidden}.sky-restriction-rule{color:#ff9b87;text-align:left;background:#2d1715;border:1px solid #9a463b;grid-template-rows:auto auto;grid-template-columns:24px minmax(0,1fr);align-items:center;min-width:0;padding:5px 8px;display:grid}.sky-restriction-rule>span{grid-row:1/3;font-size:18px}.sky-restriction-rule b{font-size:7px}.sky-restriction-rule small{color:#c8998f;font-size:5px}.sky-restriction-rule.lower{color:#ff776e;background:#3b1112;border-color:#e34c42;box-shadow:inset 0 0 16px #e33b3129}.legend .restricted{color:#ff8b78}@media (width<=760px){.map-picker>header span{display:none}.map-picker>div{grid-template-columns:1fr}.map-picker button{height:52px}.sky-city-layer-controller{grid-template-columns:82px minmax(0,1fr);gap:4px;margin-bottom:5px;padding:4px}.sky-current-summary{padding:4px 6px}.sky-current-summary b{font-size:12px}.sky-current-summary span{font-size:5px}.sky-layer-tabs{gap:2px}.sky-layer-tabs button{padding:3px}.sky-layer-tabs span{display:none}.sky-restriction-rule{grid-column:1/-1;grid-template-columns:20px minmax(0,1fr);min-height:27px;padding:3px 8px}.sky-restriction-rule>span{font-size:14px}}.board-wrap.map-sky-city.layer-upper .tile.restricted,.board-wrap.map-sky-city.layer-middle .tile.restricted,.board-wrap.map-sky-city.layer-lower .tile.restricted{color:#ff8b78;background:repeating-linear-gradient(135deg,#391b18 0 7px,#171216 7px 13px);box-shadow:inset 0 0 18px #ff4f3857}.game-shell.map-mode-rift .game-layout{isolation:isolate;position:relative;overflow:hidden}.game-shell.map-mode-rift .game-layout>:not(.rift-stage-environment){z-index:1}.game-shell.map-mode-rift .panel{background:#121722f5}.rift-stage-environment{z-index:0;pointer-events:none;background:#080b12;position:absolute;inset:0;overflow:hidden;-webkit-mask-image:radial-gradient(98% 100% at 50% 47%,#000 0 48%,#000 72%,#000a 100%);mask-image:radial-gradient(98% 100% at 50% 47%,#000 0 48%,#000 72%,#000a 100%)}.rift-stage-environment:after{content:"";background:radial-gradient(58% 72% at 50% 47%,#0000 34%,#080b1226 74%,#06080d66 100%);position:absolute;inset:0}.rift-stage-environment img{object-fit:cover;object-position:center;opacity:.84;filter:saturate(.82)brightness(.72)contrast(1.05)blur(.4px);width:122%;height:122%;display:block;position:absolute;top:48%;left:50%;transform:translate(-50%,-50%)scale(1.05)}.board-wrap.map-rift .board{isolation:isolate;background:#111722;border-color:#4b5060;overflow:hidden;box-shadow:0 0 0 1px #787363,0 24px 70px #0009,0 0 34px #742d3c2e}.rift-board-environment{z-index:0;pointer-events:none;background:#111722;position:absolute;inset:0;overflow:hidden}.rift-board-environment img{object-fit:cover;object-position:center;filter:saturate(.86)brightness(.82)contrast(1.06);width:102%;height:102%;display:block;position:absolute;inset:-1%}.rift-board-environment:after{content:"";background:radial-gradient(circle,#0000 0 45%,#080b1238 72%,#05070ca3 100%);position:absolute;inset:0}.board-wrap.map-rift .tile{--rift-tile-glow:#69758b;z-index:1;text-shadow:0 1px 3px #000,0 0 8px;box-shadow:none;background:#0d131e70;border-color:#596071;overflow:hidden}.board-wrap.map-rift .tile:nth-child(2n),.board-wrap.map-rift .tile.reward,.board-wrap.map-rift .tile.encounter,.board-wrap.map-rift .tile.rest,.board-wrap.map-rift .tile.event,.board-wrap.map-rift .tile.shop,.board-wrap.map-rift .tile.spawn,.board-wrap.map-rift .tile.boss,.board-wrap.map-rift .tile.mini{box-shadow:none;background:#0d131e70}.board-wrap.map-rift .tile.reward{--rift-tile-glow:#9f82ff}.board-wrap.map-rift .tile.encounter{--rift-tile-glow:#ef6670}.board-wrap.map-rift .tile.rest{--rift-tile-glow:#55c8b4}.board-wrap.map-rift .tile.event{--rift-tile-glow:#e8b95d}.board-wrap.map-rift .tile.shop{--rift-tile-glow:#ffd174}.board-wrap.map-rift .tile.spawn{--rift-tile-glow:#7eb7e8}.board-wrap.map-rift .tile.boss{--rift-tile-glow:#ff7892}.board-wrap.map-rift .tile.mini{--rift-tile-glow:#e1a75c;color:#f0bd71}.board-wrap.map-rift .tile-icon{z-index:1;width:100%;height:100%;filter:drop-shadow(0 0 4px var(--rift-tile-glow));place-items:center;display:inline-grid;position:relative}.board-wrap.map-rift .tile.reward .tile-icon:before,.board-wrap.map-rift .tile.encounter .tile-icon:before,.board-wrap.map-rift .tile.rest .tile-icon:before,.board-wrap.map-rift .tile.event .tile-icon:before,.board-wrap.map-rift .tile.shop .tile-icon:before,.board-wrap.map-rift .tile.spawn .tile-icon:before,.board-wrap.map-rift .tile.boss .tile-icon:before,.board-wrap.map-rift .tile.mini .tile-icon:before{content:"";z-index:-1;aspect-ratio:1;background:radial-gradient(circle,var(--rift-tile-glow) 0,transparent 68%);opacity:.22;pointer-events:none;border-radius:50%;width:62%;position:absolute}.game-shell.map-mode-sky-city .game-layout{isolation:isolate;position:relative;overflow:hidden}.game-shell.map-mode-sky-city .game-layout>:not(.sky-stage-environment){z-index:1}.game-shell.map-mode-sky-city .panel{background:#121722f5}.sky-stage-environment{z-index:0;pointer-events:none;background:#090d14;position:absolute;inset:0;overflow:hidden;-webkit-mask-image:radial-gradient(91% 94% at 50% 46%,#000 0 47%,#000e 65%,#0000 100%);mask-image:radial-gradient(91% 94% at 50% 46%,#000 0 47%,#000e 65%,#0000 100%)}.sky-stage-environment:after{content:"";background:radial-gradient(61% 73% at 50% 47%,#0000 35%,#07101a24 72%,#05080e72 100%);position:absolute;inset:0}.sky-stage-environment img{object-fit:cover;object-position:center;opacity:.55;filter:saturate(.86)brightness(.52)contrast(1.05)blur(1.2px);width:118%;height:118%;display:block;position:absolute;top:48%;left:50%;transform:translate(-50%,-50%)scale(1.035)}.sky-stage-environment.upper img{opacity:.58;filter:saturate(.92)brightness(.6)contrast(1.04)blur(1px)}.sky-stage-environment.middle img{opacity:.56;filter:saturate(.9)brightness(.53)contrast(1.06)blur(1.2px)}.sky-stage-environment.lower img{opacity:.55;filter:saturate(.94)brightness(.5)contrast(1.08)blur(1.2px)}.board-wrap.map-sky-city .board{isolation:isolate;overflow:hidden}.sky-board-environment{z-index:0;pointer-events:none;background:#1c160c;position:absolute;inset:0;overflow:hidden}.sky-board-environment img{z-index:0;object-fit:cover;object-position:center;filter:saturate(.96)brightness(.9)contrast(1.03);width:102%;height:102%;display:block;position:absolute;inset:-1%}.sky-board-environment:before{content:"";z-index:1;background:radial-gradient(circle at 50% 48%,#0000 0 54%,#07101a24 78%,#05080e82 100%);position:absolute;inset:0}.sky-board-environment:after{content:"";z-index:2;opacity:.22;mix-blend-mode:screen;will-change:transform,opacity;position:absolute;inset:-2%}.sky-board-environment.upper{background:#0b2630}.sky-board-environment.upper img{filter:saturate(1.02)brightness(.96)contrast(1.04)}.sky-board-environment.upper:after{background:radial-gradient(circle,#64e7ff7d 0 3%,#0000 24%),linear-gradient(115deg,#0000 34%,#43d4ff2e 49%,#0000 64%);animation:16s ease-in-out infinite alternate sky-upper-ambient}.sky-board-environment.middle{background:#21170b}.sky-board-environment.middle img{filter:saturate(1.02)brightness(.9)contrast(1.06)}.sky-board-environment.middle:after{background:radial-gradient(circle,#efb84e6b 0 4%,#0000 28%),radial-gradient(circle at 23% 72%,#46bfc136 0 2%,#0000 22%);animation:14s ease-in-out infinite alternate sky-middle-ambient}.sky-board-environment.lower{background:#24100d}.sky-board-environment.lower img{filter:saturate(1.05)brightness(.86)contrast(1.08)}.sky-board-environment.lower:after{background:radial-gradient(circle,#ff603f68 0 5%,#0000 31%),linear-gradient(20deg,#0000 38%,#e8552c25 50%,#0000 62%);animation:18s ease-in-out infinite alternate sky-lower-ambient}.board-wrap.map-sky-city .tile{z-index:1;background:#17130d54;border-color:#5a4422}.board-wrap.map-sky-city .tile:nth-child(2n){background:#10131a5c}.board-wrap.map-sky-city.layer-upper .tile{background:#0b202b52;border-color:#2b6778}.board-wrap.map-sky-city.layer-upper .tile:nth-child(2n){background:#0819245c}.board-wrap.map-sky-city.layer-middle .tile{background:#21170d54;border-color:#6a5128}.board-wrap.map-sky-city.layer-middle .tile:nth-child(2n){background:#17130d5c}.board-wrap.map-sky-city.layer-lower .tile{background:#25141057;border-color:#67362d}.board-wrap.map-sky-city.layer-lower .tile:nth-child(2n){background:#180e0d61}.board-wrap.map-sky-city .tile:not(.restricted){text-shadow:0 1px 2px #000,0 0 7px}.board-wrap.map-sky-city .tile.reward{background:radial-gradient(circle,#4b3c78b8 0 15%,#24243c68 32%,#0000 68%)}.board-wrap.map-sky-city .tile.encounter{background:radial-gradient(circle,#7a2d36c4 0 15%,#32181c6e 32%,#0000 68%)}.board-wrap.map-sky-city .tile.rest{background:radial-gradient(circle,#225e5ab8 0 15%,#17353668 32%,#0000 68%)}.board-wrap.map-sky-city .tile.event{background:radial-gradient(circle,#805a22c2 0 15%,#3a2a176c 32%,#0000 68%)}.board-wrap.map-sky-city .tile.shop{background:radial-gradient(circle,#8a6420c4 0 15%,#3b2c176c 32%,#0000 68%)}.board-wrap.map-sky-city .tile.boss{background:radial-gradient(circle,#8c2f45d0 0 16%,#47202b78 34%,#0000 70%)}.board-wrap.map-sky-city.layer-upper .tile.restricted,.board-wrap.map-sky-city.layer-middle .tile.restricted,.board-wrap.map-sky-city.layer-lower .tile.restricted{background:repeating-linear-gradient(135deg,#391b18ed 0 7px,#171216f2 7px 13px)}.sky-layer-fall-transition{z-index:7;pointer-events:none;transform-origin:50%;will-change:transform,opacity,filter;animation:.84s cubic-bezier(.22,.72,.18,1) both sky-layer-map-descend;position:absolute;inset:0;overflow:hidden}.sky-layer-fall-transition .sky-board-environment{z-index:0}.sky-layer-fall-grid{z-index:1;pointer-events:none;display:grid;position:absolute;inset:0}.sky-layer-fall-grid .tile{pointer-events:none;min-width:0}.sky-layer-fall-transition.layer-upper .tile{background:#0b202b52;border-color:#2b6778}.sky-layer-fall-transition.layer-upper .tile:nth-child(2n){background:#0819245c}.sky-layer-fall-transition.layer-middle .tile{background:#21170d54;border-color:#6a5128}.sky-layer-fall-transition.layer-middle .tile:nth-child(2n){background:#17130d5c}.sky-layer-fall-transition .tile.reward{background:radial-gradient(circle,#4b3c78b8 0 15%,#24243c68 32%,#0000 68%)}.sky-layer-fall-transition .tile.encounter{background:radial-gradient(circle,#7a2d36c4 0 15%,#32181c6e 32%,#0000 68%)}.sky-layer-fall-transition .tile.rest{background:radial-gradient(circle,#225e5ab8 0 15%,#17353668 32%,#0000 68%)}.sky-layer-fall-transition .tile.event{background:radial-gradient(circle,#805a22c2 0 15%,#3a2a176c 32%,#0000 68%)}.sky-layer-fall-transition .tile.shop{background:radial-gradient(circle,#8a6420c4 0 15%,#3b2c176c 32%,#0000 68%)}.sky-layer-fall-transition .tile.boss{background:radial-gradient(circle,#8c2f45d0 0 16%,#47202b78 34%,#0000 70%)}.sky-layer-fall-transition .tile.restricted{color:#ff8b78;background:repeating-linear-gradient(135deg,#391b18ed 0 7px,#171216f2 7px 13px);box-shadow:inset 0 0 18px #ff4f3857}@keyframes sky-layer-map-descend{0%{opacity:1;filter:blur()brightness();transform:scale(1)}48%{opacity:.72;filter:blur(.35px)brightness(1.05);transform:scale(1.055)}to{opacity:0;filter:blur(4px)brightness(.78);transform:scale(1.18)}}@keyframes sky-upper-ambient{0%{opacity:.14;transform:translate(-.4%,-.3%)}to{opacity:.3;transform:translate(.4%,.3%)}}@keyframes sky-middle-ambient{0%{opacity:.13;transform:translate(.3%,-.4%)}to{opacity:.28;transform:translate(-.3%,.4%)}}@keyframes sky-lower-ambient{0%{opacity:.12;transform:translate(-.5%,.2%)}to{opacity:.26;transform:translate(.5%,-.2%)}}@media (prefers-reduced-motion:reduce){.sky-board-environment:after{animation:none!important;transform:none!important}.sky-layer-fall-transition{animation:none!important;display:none!important}}.map-action-buttons{box-sizing:border-box;flex-direction:column;gap:8px;width:100%;padding:0 13px;display:flex}.map-action-buttons .end-turn{width:100%;margin:0}.map-summon-action{box-sizing:border-box;color:#ead9f4;cursor:pointer;text-align:left;touch-action:manipulation;background:linear-gradient(155deg,#352044,#181522);border:1px solid #9564b8;justify-content:center;align-items:center;gap:9px;width:100%;min-height:48px;padding:8px 10px;display:flex;box-shadow:inset 0 0 18px #b86ae519,0 5px 14px #0006}.map-summon-action:hover:not(:disabled){background:linear-gradient(155deg,#4a2a5f,#21182a);border-color:#d49af0}.map-summon-action:disabled{color:#796d80;cursor:not-allowed;box-shadow:none;background:#1a1820;border-color:#4c4053}.map-summon-rune{color:#cf94ed;flex:none;font-size:22px;line-height:1}.map-summon-action:disabled .map-summon-rune{color:#65596b}.map-summon-action>span:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.map-summon-action b{letter-spacing:.08em;font-size:10px}.map-summon-action small{white-space:nowrap;text-overflow:ellipsis;font-size:6px;line-height:1.25;overflow:hidden}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.action-panel .map-action-buttons{flex:0 0 64px;order:2;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;width:190px;height:64px;padding:0;display:grid}.action-panel .map-action-buttons .end-turn:only-child{grid-column:1/-1}.action-panel .map-action-buttons .end-turn,.action-panel .map-summon-action{gap:4px;width:100%;height:64px;min-height:64px;margin:0;padding:6px}.action-panel .map-summon-action{text-align:center;border-radius:6px}.action-panel .map-summon-rune{font-size:18px}.action-panel .map-summon-action>span:last-child{align-items:center}.action-panel .map-summon-action b{font-size:8px}.action-panel .map-summon-action small{max-width:72px;font-size:5px}.action-panel .map-action-buttons .end-turn>svg{width:21px;height:21px}.action-panel .map-action-buttons .end-turn>span>b{font-size:9px}.action-panel .map-action-buttons .end-turn>span>small{font-size:5px}}html.manual-landscape .action-panel .map-action-buttons{flex:0 0 64px;order:2;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;width:190px;height:64px;padding:0;display:grid}html.manual-landscape .action-panel .map-action-buttons .end-turn:only-child{grid-column:1/-1}html.manual-landscape .action-panel .map-action-buttons .end-turn,html.manual-landscape .action-panel .map-summon-action{gap:4px;width:100%;height:64px;min-height:64px;margin:0;padding:6px}html.manual-landscape .action-panel .map-summon-action{text-align:center;border-radius:6px}html.manual-landscape .action-panel .map-summon-rune{font-size:18px}html.manual-landscape .action-panel .map-summon-action>span:last-child{align-items:center}html.manual-landscape .action-panel .map-summon-action b{font-size:8px}html.manual-landscape .action-panel .map-summon-action small{max-width:72px;font-size:5px}html.manual-landscape .action-panel .map-action-buttons .end-turn>svg{width:21px;height:21px}html.manual-landscape .action-panel .map-action-buttons .end-turn>span>b{font-size:9px}html.manual-landscape .action-panel .map-action-buttons .end-turn>span>small{font-size:5px}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.room-lobby-copy{max-height:calc(100svh - 14px)}.room-home>p{margin:2px 0}.compact-map-picker{box-sizing:border-box;grid-template-columns:68px minmax(0,1fr);height:56px;margin-top:5px;display:grid;overflow:hidden}.compact-map-picker>header{border-bottom:0;border-right:1px solid #303b4e;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;height:auto;padding:0 7px}.compact-map-picker>header span{display:none}.compact-map-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-width:0;padding:4px}.compact-map-picker button{touch-action:manipulation;grid-template-columns:32px minmax(0,1fr) auto;gap:5px;height:46px;padding:4px 6px}.compact-map-picker button>span:nth-child(2){gap:2px}.compact-map-picker button b{font-size:8px}.compact-map-picker button small,.compact-map-picker button em{font-size:5px}.compact-map-picker .map-picker-preview{width:30px;height:30px}.compact-map-picker .map-picker-preview.rift i{font-size:14px}.compact-map-picker .map-picker-preview.sky-city i{width:24px;height:15px}.compact-map-picker .map-picker-preview.sky-city i:first-child{top:0;left:5px}.compact-map-picker .map-picker-preview.sky-city i:nth-child(2){top:7px;left:3px}.compact-map-picker .map-picker-preview.sky-city i:nth-child(3){top:14px;left:1px}.room-primary-actions,.public-room-list,.single-test-room,.room-tools{margin-top:5px}}html.manual-landscape .room-lobby-copy{max-height:calc(100% - 14px)}html.manual-landscape .room-home>p{margin:2px 0}html.manual-landscape .compact-map-picker{box-sizing:border-box;grid-template-columns:68px minmax(0,1fr);height:56px;margin-top:5px;display:grid;overflow:hidden}html.manual-landscape .compact-map-picker>header{border-bottom:0;border-right:1px solid #303b4e;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;height:auto;padding:0 7px;display:flex}html.manual-landscape .compact-map-picker>header span{display:none}html.manual-landscape .compact-map-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-width:0;padding:4px;display:grid}html.manual-landscape .compact-map-picker button{touch-action:manipulation;grid-template-columns:32px minmax(0,1fr) auto;gap:5px;height:46px;padding:4px 6px}html.manual-landscape .compact-map-picker button>span:nth-child(2){gap:2px}html.manual-landscape .compact-map-picker button b{font-size:8px}html.manual-landscape .compact-map-picker button small,html.manual-landscape .compact-map-picker button em{font-size:5px}html.manual-landscape .compact-map-picker .map-picker-preview{width:30px;height:30px}html.manual-landscape .compact-map-picker .map-picker-preview.rift i{font-size:14px}html.manual-landscape .compact-map-picker .map-picker-preview.sky-city i{width:24px;height:15px}html.manual-landscape .compact-map-picker .map-picker-preview.sky-city i:first-child{top:0;left:5px}html.manual-landscape .compact-map-picker .map-picker-preview.sky-city i:nth-child(2){top:7px;left:3px}html.manual-landscape .compact-map-picker .map-picker-preview.sky-city i:nth-child(3){top:14px;left:1px}html.manual-landscape .room-primary-actions,html.manual-landscape .public-room-list,html.manual-landscape .single-test-room,html.manual-landscape .room-tools{margin-top:5px}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.game-shell.map-mode-rift .rift-stage-environment img{opacity:.34;filter:saturate(.68)brightness(.39)contrast(1.08)blur(1.7px);width:138%;height:138%}.game-shell.map-mode-rift .rift-board-environment img{filter:saturate(.82)brightness(.78)contrast(1.08)}.game-shell.map-mode-sky-city .sky-stage-environment img{opacity:.38;filter:saturate(.84)brightness(.47)contrast(1.05)blur(1.5px);width:132%;height:132%}.game-shell.map-mode-sky-city{--sky-mobile-board-size:min(calc(100svh - 70px - var(--mobile-topbar-offset,0px)),calc(100vw - 348px),376px)}.game-shell.map-mode-sky-city .game-layout{grid-template-columns:calc(var(--sky-mobile-board-size) + 88px) 204px;justify-content:center;gap:14px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city{width:calc(var(--sky-mobile-board-size) + 88px);grid-template-columns:82px var(--sky-mobile-board-size);grid-template-rows:var(--sky-mobile-board-size);place-content:center;align-items:stretch;column-gap:6px;height:100%;display:grid;transform:none}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-city-layer-controller{width:82px;height:var(--sky-mobile-board-size);grid-area:1/1;grid-template-rows:40px minmax(0,1fr) 55px;grid-template-columns:1fr;gap:4px;margin:0;padding:4px;display:grid;overflow:hidden}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary{grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);align-content:center;column-gap:4px;padding:3px 5px;display:grid}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary small{font-size:5px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary b{font-size:13px;line-height:1}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary span{font-size:5px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:1fr;gap:3px;min-height:0;display:grid}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs button{touch-action:manipulation;justify-content:center;gap:2px;min-height:0;padding:4px 5px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs small{font-size:5px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs b{font-size:7px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs span{font-size:4.5px;display:block}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule{grid-column:1;grid-template-rows:auto auto;grid-template-columns:15px minmax(0,1fr);align-content:center;min-height:0;padding:4px;display:grid}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule>span{font-size:12px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule b{font-size:6px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule small{font-size:4.5px;line-height:1.25}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .board{width:var(--sky-mobile-board-size);grid-area:1/2}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .legend{display:none}.game-shell.map-mode-sky-city .right-column,.game-shell.map-mode-sky-city .action-panel{transform:none}}html.manual-landscape .game-shell.map-mode-rift .rift-stage-environment img{opacity:.34;filter:saturate(.68)brightness(.39)contrast(1.08)blur(1.7px);width:138%;height:138%}html.manual-landscape .game-shell.map-mode-rift .rift-board-environment img{filter:saturate(.82)brightness(.78)contrast(1.08)}html.manual-landscape .game-shell.map-mode-sky-city{--sky-mobile-board-size:min(calc(var(--manual-landscape-height,100svw) - 70px - var(--mobile-topbar-offset,0px)),calc(var(--manual-landscape-width,100svh) - 348px),376px)}html.manual-landscape .game-shell.map-mode-sky-city .sky-stage-environment img{opacity:.38;filter:saturate(.84)brightness(.47)contrast(1.05)blur(1.5px);width:132%;height:132%}html.manual-landscape .game-shell.map-mode-sky-city .game-layout{grid-template-columns:calc(var(--sky-mobile-board-size) + 88px) 204px;justify-content:center;gap:14px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city{width:calc(var(--sky-mobile-board-size) + 88px);grid-template-columns:82px var(--sky-mobile-board-size);grid-template-rows:var(--sky-mobile-board-size);place-content:center;align-items:stretch;column-gap:6px;height:100%;display:grid;transform:none}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-city-layer-controller{width:82px;height:var(--sky-mobile-board-size);grid-area:1/1;grid-template-rows:40px minmax(0,1fr) 55px;grid-template-columns:1fr;gap:4px;margin:0;padding:4px;display:grid;overflow:hidden}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary{grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);align-content:center;column-gap:4px;padding:3px 5px;display:grid}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary small{font-size:5px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary b{font-size:13px;line-height:1}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary span{font-size:5px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:1fr;gap:3px;min-height:0;display:grid}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs button{touch-action:manipulation;justify-content:center;gap:2px;min-height:0;padding:4px 5px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs small{font-size:5px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs b{font-size:7px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs span{font-size:4.5px;display:block}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule{grid-column:1;grid-template-rows:auto auto;grid-template-columns:15px minmax(0,1fr);align-content:center;min-height:0;padding:4px;display:grid}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule>span{font-size:12px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule b{font-size:6px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule small{font-size:4.5px;line-height:1.25}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .board{width:var(--sky-mobile-board-size);grid-area:1/2}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .legend{display:none}html.manual-landscape .game-shell.map-mode-sky-city .right-column,html.manual-landscape .game-shell.map-mode-sky-city .action-panel{transform:none}.sky-current-summary em{color:#76d6c8;white-space:nowrap;text-overflow:ellipsis;grid-column:1/-1;font-size:5px;font-style:normal;overflow:hidden}.sky-current-summary em.quest{color:#edb95e}.sky-faction-overlay{z-index:31;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#03050bf2}.sky-faction-window{color:#e9edf4;background:radial-gradient(circle at 50% 0,#2a2114,#0b111b 62%);border:1px solid #8d7040;width:min(780px,94vw);padding:26px;box-shadow:0 35px 110px #000}.sky-faction-window>header{text-align:center}.sky-faction-window>header small{color:#d9ad5c;letter-spacing:.2em;font-size:8px}.sky-faction-window>header h2{margin:8px 0 6px;font:500 30px Georgia,Microsoft YaHei,serif}.sky-faction-window>header p{color:#9ba5b4;margin:0;font-size:10px}.sky-faction-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:20px;display:grid}.sky-faction-options button{color:#dfe5ed;cursor:pointer;background:#121a27;border:1px solid #465368;flex-direction:column;justify-content:center;align-items:center;gap:11px;min-height:180px;padding:16px 12px;transition:all .2s;display:flex}.sky-faction-options button:hover{border-color:#e1b75d;translate:0 -4px;box-shadow:0 15px 32px #0008}.sky-faction-options button>span{font-size:35px}.sky-faction-options button>b{font-size:15px}.sky-faction-options button>small{color:#919cac;min-height:35px;font-size:8px;line-height:1.5}.sky-faction-options button.rust{border-color:#874d3d}.sky-faction-options button.rust>span{color:#db8067}.sky-faction-options button.gold{border-color:#9b7939}.sky-faction-options button.gold>span{color:#edc064}.sky-faction-options button.violet{border-color:#775296}.sky-faction-options button.violet>span{color:#bd81ed}.sky-faction-options button.cyan{border-color:#397b82}.sky-faction-options button.cyan>span{color:#68cad0}.sky-faction-window>footer{color:#d9b86f;text-align:center;border-top:1px solid #303a4b;margin-top:16px;padding-top:12px;font-size:8px}@media (width<=760px){.sky-faction-window{padding:12px}.sky-faction-window>header h2{font-size:20px}.sky-faction-window>header p{font-size:7px}.sky-faction-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}.sky-faction-options button{gap:5px;min-height:92px;padding:8px}.sky-faction-options button>span{font-size:22px}.sky-faction-options button>b{font-size:10px}.sky-faction-options button>small{min-height:0;font-size:6px}.sky-faction-window>footer{margin-top:8px;padding-top:7px;font-size:6px}}html.manual-landscape .sky-faction-window{grid-template-rows:auto minmax(0,1fr) auto;width:min(92%,820px);height:calc(100% - 12px);padding:9px 14px;display:grid;overflow:hidden}html.manual-landscape .sky-faction-window>header h2{margin:3px 0;font-size:18px}html.manual-landscape .sky-faction-window>header p{font-size:6px}html.manual-landscape .sky-faction-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:7px}html.manual-landscape .sky-faction-options button{gap:5px;min-height:0;padding:7px}html.manual-landscape .sky-faction-options button>span{font-size:22px}html.manual-landscape .sky-faction-options button>b{font-size:9px}html.manual-landscape .sky-faction-options button>small{min-height:0;font-size:5.5px}html.manual-landscape .sky-faction-window>footer{margin-top:6px;padding-top:5px;font-size:6px}.jelina-mode-toggle{z-index:64;color:#9edff0;pointer-events:auto;background:linear-gradient(90deg,#102635,#10202a);border:1px solid #32677d;align-items:center;gap:5px;margin:0 0 8px;padding:6px 8px;font-size:7px;display:flex;position:relative}.jelina-mode-toggle button{color:#89a6b3;font:inherit;cursor:pointer;touch-action:manipulation;background:#12212b;border:1px solid #3c6070;padding:4px 7px}.jelina-mode-toggle button.active{color:#e7fbff;background:#1c5266;border-color:#79dcff;box-shadow:0 0 10px #43c9ff44}.jelina-mode-toggle button:disabled{opacity:.45;cursor:not-allowed}.jelina-mode-toggle small{color:#7298a7;margin-left:auto;font-size:6px}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.deck-zone .jelina-mode-toggle{z-index:64;white-space:nowrap;gap:4px;max-width:calc(100% - 220px);margin:0;padding:4px 6px;font-size:6px;position:absolute;top:3px;left:8px}.deck-zone .jelina-mode-toggle button{padding:3px 5px}.deck-zone .jelina-mode-toggle small{text-overflow:ellipsis;font-size:5px;overflow:hidden}}html.manual-landscape .deck-zone .jelina-mode-toggle{z-index:64;white-space:nowrap;gap:4px;max-width:calc(100% - 220px);margin:0;padding:4px 6px;font-size:6px;position:absolute;top:3px;left:8px}html.manual-landscape .deck-zone .jelina-mode-toggle button{padding:3px 5px}html.manual-landscape .deck-zone .jelina-mode-toggle small{text-overflow:ellipsis;font-size:5px;overflow:hidden}.battle-action-stack .jelina-mode-toggle{z-index:71;white-space:nowrap;max-width:220px;margin:0;position:absolute;top:49px;right:22px}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.deck-zone .battle-action-stack .jelina-mode-toggle{white-space:nowrap;align-self:flex-end;gap:4px;width:max-content;max-width:min(220px,100vw - 16px);padding:4px 6px;font-size:6px;position:static;top:auto;right:auto}.deck-zone .battle-action-stack .jelina-mode-toggle button{padding:3px 5px}.deck-zone .battle-action-stack .jelina-mode-toggle small{display:none}}html.manual-landscape .deck-zone .battle-action-stack .jelina-mode-toggle{white-space:nowrap;align-self:flex-end;gap:4px;width:max-content;max-width:min(220px,100vw - 16px);padding:4px 6px;font-size:6px;position:static;top:auto;right:auto}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.battle-stage>.battle-action-stack{z-index:72;flex-direction:column;align-items:stretch;gap:4px;width:168px;max-height:154px;display:flex;position:absolute;inset:auto auto 8px 258px}.battle-stage>.battle-action-stack .mobile-battle-resource-summary{box-sizing:border-box;color:#aeb9ca;white-space:nowrap;text-overflow:ellipsis;background:#101824f2;border:1px solid #3e4b61;justify-content:center;align-items:center;min-height:26px;padding:4px 6px;font-size:6px;line-height:1.2;display:flex;overflow:hidden}.battle-stage>.battle-action-stack .pass-action,.battle-stage>.battle-action-stack .flee-action{box-sizing:border-box;white-space:nowrap;touch-action:manipulation;width:100%;min-width:0;min-height:29px;margin:0;padding:4px 6px;font-size:7px;position:static}.battle-stage>.battle-action-stack .jelina-mode-toggle{box-sizing:border-box;white-space:nowrap;justify-content:center;gap:3px;width:100%;max-width:none;min-height:29px;margin:0;padding:3px 5px;font-size:6px;position:static}.battle-title,.enemy-command-cluster{top:calc(var(--mobile-enemy-cluster-top,62px) + var(--mobile-topbar-offset,0px));transition:top .22s cubic-bezier(.2,.78,.28,1)}.mobile-topbar-dragging .battle-title,.mobile-topbar-dragging .enemy-command-cluster{transition:none}.encounter-reward-overlay .encounter-reward-window{box-sizing:border-box;width:min(92vw,860px);height:auto;max-height:calc(100svh - 16px);padding:10px 12px 8px;overflow:hidden}.encounter-reward-overlay .encounter-reward-cards{grid-template-columns:repeat(3,minmax(0,210px));justify-content:center;align-items:stretch;gap:8px;height:220px}.encounter-reward-overlay .encounter-reward-card{box-sizing:border-box;width:auto;max-width:210px;height:220px;min-height:0;padding:7px;overflow:hidden}.encounter-reward-overlay .encounter-reward-card>.card-artwork{flex:0 0 60px;width:calc(100% + 14px);height:60px;margin:5px -7px 0}.encounter-reward-overlay .encounter-reward-card>p{-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:0;margin:0;font-size:6px;line-height:1.35;display:-webkit-box;overflow:hidden}}@media (orientation:landscape) and (height<=600px) and (width<=760px){.room-lobby{grid-template-columns:minmax(0,488px) minmax(0,1fr);padding:6px 12px}.room-lobby-copy{width:100%;max-width:488px;max-height:calc(100svh - 12px);overflow:hidden}.room-lobby-copy h1{margin:3px 0;font-size:32px;line-height:.8}.room-home>p{display:none}.compact-map-picker{height:48px;margin-top:3px}.compact-map-picker button{height:38px}.room-primary-actions,.public-room-list,.single-test-room,.room-tools{margin-top:4px}.public-room-list>div{max-height:32px;padding:3px}.public-room-list>div>small{padding:7px;font-size:6px}.single-test-room{grid-template-rows:36px;grid-template-columns:minmax(0,1fr) 132px 92px;gap:4px;height:44px;min-height:44px;padding:4px;overflow:hidden}.single-test-room>div{grid-area:1}.single-test-room select,.single-test-room>button{grid-row:1;height:36px;min-height:36px}.lobby-actions{z-index:2;height:34px;position:relative}.room-form input[type=checkbox]{box-sizing:border-box;flex:0 0 22px;width:22px;height:22px;margin:0;padding:0}.room-lobby-form-mode .room-public-toggle{gap:10px;justify-content:flex-start!important}.room-lobby-form-mode .room-public-toggle>span{text-align:left;align-items:flex-start;min-width:0}.room-submit:disabled{opacity:1;color:#aeb8c8;box-shadow:none;background:#252d39;border:1px solid #556174}.game-shell .topbar{flex-wrap:nowrap;gap:4px;height:48px;min-height:48px;padding:4px 6px}.game-shell .brand{flex:0 0 154px;gap:6px;min-width:154px}.game-shell .brand-mark{width:34px;height:34px}.game-shell .brand b{font-size:18px}.game-shell .round-pill{flex:0 188px;gap:5px;width:auto;min-width:150px;height:36px;padding:4px 6px}.game-shell .round-pill span,.game-shell .round-pill b{font-size:8px}.game-shell .round-pill i{padding:4px 6px;font-size:9px}.game-shell .top-actions{align-self:center;gap:3px;min-width:0;margin-left:auto}.game-shell .top-actions .ghost-btn{gap:0!important;width:40px!important;height:38px!important;min-height:38px!important;padding:3px!important;position:static!important}.game-shell .top-actions .ghost-btn svg{width:20px;height:20px}.game-shell .top-actions .ghost-btn span{display:none}.game-shell .top-actions .forfeit-entry{white-space:normal!important;width:48px!important;font-size:6px!important;line-height:1.15!important}.game-shell .top-actions .test-mode-status,.game-shell .top-actions .network-state{display:none}.game-shell .mobile-topbar-handle{width:78px;height:20px;bottom:-20px;left:31%}.game-shell.map-mode-sky-city{--sky-mobile-board-size:min(calc(100svh - 60px - var(--mobile-topbar-offset,0px)),calc(100vw - 324px),306px)}.game-shell.map-mode-sky-city .game-layout{grid-template-columns:calc(var(--sky-mobile-board-size) + 74px) 188px;gap:8px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city{width:calc(var(--sky-mobile-board-size) + 74px);grid-template-columns:68px var(--sky-mobile-board-size)}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-city-layer-controller{grid-template-rows:36px minmax(0,1fr) 52px;gap:3px;width:68px;padding:3px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary{padding:2px 4px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs button{padding:3px 4px}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs span{display:none}.game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule{grid-template-columns:12px minmax(0,1fr);padding:3px}.game-shell.map-mode-sky-city .action-panel{gap:7px;width:184px;height:250px}.game-shell.map-mode-sky-city .dpad{flex-basis:166px;grid-template-rows:repeat(3,52px);grid-template-columns:repeat(3,52px);gap:5px;width:166px;height:166px}.game-shell.map-mode-sky-city .dpad button,.game-shell.map-mode-sky-city .dpad div{width:52px;min-width:52px;height:52px;min-height:52px}.game-shell.map-mode-sky-city .end-turn{flex-basis:58px;width:166px;height:58px;min-height:58px}.combat-overlay .battle-stage{--mobile-enemy-cluster-top:54px;--mobile-enemy-cluster-right:6px;--mobile-enemy-cluster-width:min(58%,418px);--mobile-enemy-avatar-width:70px}.combat-overlay .battle-title{width:150px;height:28px;left:8px;top:54px!important;transform:none!important}.combat-overlay .enemy-command-cluster{top:54px!important}.combat-overlay .battle-record-drawer{height:164px;top:92px}.combat-overlay .hero-hud{width:184px;height:96px;padding:10px 9px;left:64px}.combat-overlay .battle-portrait.hero{width:64px;height:96px}.combat-overlay .hero-health-wrap{margin:13px 0 4px}.combat-overlay .deck-zone{width:auto;height:164px;padding:7px 8px 4px;left:248px}.combat-overlay .fan-card{width:92px;height:128px;bottom:31px}.combat-overlay .battle-stage>.battle-action-stack{width:154px;bottom:5px;left:254px}.codex-overlay .card-codex{grid-template-columns:112px minmax(0,1fr);gap:7px}.codex-overlay .codex-filters{grid-template-columns:1fr;padding-right:6px;overflow-y:auto}.codex-overlay .codex-filters>div{overflow:visible}.codex-overlay .codex-grid{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;gap:7px}.codex-overlay .codex-card{min-height:236px;padding:9px}.codex-overlay .codex-card h3{font-size:10px}.codex-overlay .codex-card p{font-size:7px;line-height:1.5}}@media (width<=760px){html.manual-landscape .game-shell.map-mode-sky-city{--sky-mobile-board-size:min(calc(var(--manual-landscape-height,100svw) - 60px - var(--mobile-topbar-offset,0px)),calc(var(--manual-landscape-width,100svh) - 324px),306px)}html.manual-landscape .game-shell.map-mode-sky-city .game-layout{grid-template-columns:calc(var(--sky-mobile-board-size) + 74px) 188px;gap:8px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city{width:calc(var(--sky-mobile-board-size) + 74px);grid-template-columns:68px var(--sky-mobile-board-size)}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-city-layer-controller{grid-template-rows:36px minmax(0,1fr) 52px;gap:3px;width:68px;padding:3px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-current-summary{padding:2px 4px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs button{padding:3px 4px}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-layer-tabs span{display:none}html.manual-landscape .game-shell.map-mode-sky-city .board-wrap.map-sky-city .sky-restriction-rule{grid-template-columns:12px minmax(0,1fr);padding:3px}html.manual-landscape .game-shell.map-mode-sky-city .action-panel{gap:7px;width:184px;height:250px}html.manual-landscape .game-shell.map-mode-sky-city .dpad{flex-basis:166px;grid-template-rows:repeat(3,52px);grid-template-columns:repeat(3,52px);gap:5px;width:166px;height:166px}html.manual-landscape .game-shell.map-mode-sky-city .dpad button,html.manual-landscape .game-shell.map-mode-sky-city .dpad div{width:52px;min-width:52px;height:52px;min-height:52px}html.manual-landscape .game-shell.map-mode-sky-city .end-turn{flex-basis:58px;width:166px;height:58px;min-height:58px}}.room-lobby{background-color:#070a11;background-image:-webkit-linear-gradient(#04060bad 0%,#070a1161 28%,#070b13e8 64%,#05080efa 100%),-webkit-radial-gradient(circle at 73% 47%,#6945a62e,#0000 37%),-webkit-image-set(url(/concepts/backgrounds/riftbound-lobby-key-art-v1.optimized.webp) 1x type("image/webp"),url(/concepts/backgrounds/riftbound-lobby-key-art-v1.png) 1x type("image/png"));background-image:linear-gradient(90deg,#05080efa 0%,#070b13e8 36%,#070a1161 72%,#04060bad 100%),radial-gradient(circle at 73% 47%,#6945a62e,#0000 37%),image-set("/concepts/backgrounds/riftbound-lobby-key-art-v1.optimized.webp" 1x type("image/webp"),"/concepts/backgrounds/riftbound-lobby-key-art-v1.png" 1x type("image/png"));background-position:50%,50%,50%;background-repeat:no-repeat;background-size:cover,cover,cover}.room-lobby .lobby-glow{background:radial-gradient(circle at 24% 53%,#d6ad641c,#0000 27%),radial-gradient(circle at 76% 48%,#7e4ab829,#0000 36%)}.battle-stage.battle-backdrop-encounter,.battle-stage.battle-backdrop-pvp,.battle-stage.battle-backdrop-boss{background-color:#070a11;background-position:50%,50%,50%;background-repeat:no-repeat;background-size:cover,cover,cover}.battle-stage.battle-backdrop-encounter{background-image:-webkit-linear-gradient(#05080ee8 0%,#070a115c 58%,#04070cad 100%),-webkit-radial-gradient(at 50% 55%,#0000 0%,#03050959 62%,#020408d1 100%),-webkit-image-set(url(/concepts/battle-backgrounds/rift-encounter-battle-bg-v2.optimized.webp) 1x type("image/webp"),url(/concepts/battle-backgrounds/rift-encounter-battle-bg-v2.png) 1x type("image/png"));background-image:linear-gradient(#04070cad 0%,#070a115c 42%,#05080ee8 100%),radial-gradient(at 50% 55%,#0000 0%,#03050959 62%,#020408d1 100%),image-set("/concepts/battle-backgrounds/rift-encounter-battle-bg-v2.optimized.webp" 1x type("image/webp"),"/concepts/battle-backgrounds/rift-encounter-battle-bg-v2.png" 1x type("image/png"))}.battle-stage.battle-backdrop-pvp{background-image:-webkit-linear-gradient(#04070ce6 0%,#0609114d 56%,#04070db8 100%),-webkit-radial-gradient(at 50% 49%,#0000 0%,#03050a47 60%,#020408cc 100%),-webkit-image-set(url(/concepts/battle-backgrounds/rift-pvp-arena-battle-bg-v1.optimized.webp) 1x type("image/webp"),url(/concepts/battle-backgrounds/rift-pvp-arena-battle-bg-v1.png) 1x type("image/png"));background-image:linear-gradient(#04070db8 0%,#0609114d 44%,#04070ce6 100%),radial-gradient(at 50% 49%,#0000 0%,#03050a47 60%,#020408cc 100%),image-set("/concepts/battle-backgrounds/rift-pvp-arena-battle-bg-v1.optimized.webp" 1x type("image/webp"),"/concepts/battle-backgrounds/rift-pvp-arena-battle-bg-v1.png" 1x type("image/png"))}.battle-stage.battle-backdrop-boss{background-image:-webkit-linear-gradient(#05060beb 0%,#09060c57 58%,#05050a9e 100%),-webkit-radial-gradient(at 50% 48%,#0000 0%,#08030840 58%,#020307d1 100%),-webkit-image-set(url(/concepts/battle-backgrounds/rift-boss-throne-battle-bg-v1.optimized.webp) 1x type("image/webp"),url(/concepts/battle-backgrounds/rift-boss-throne-battle-bg-v1.png) 1x type("image/png"));background-image:linear-gradient(#05050a9e 0%,#09060c57 42%,#05060beb 100%),radial-gradient(at 50% 48%,#0000 0%,#08030840 58%,#020307d1 100%),image-set("/concepts/battle-backgrounds/rift-boss-throne-battle-bg-v1.optimized.webp" 1x type("image/webp"),"/concepts/battle-backgrounds/rift-boss-throne-battle-bg-v1.png" 1x type("image/png"))}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.room-lobby{background-position:50%,50%,64%}.battle-stage.battle-backdrop-encounter{background-position:50%,50%,50% 43%}.battle-stage.battle-backdrop-pvp{background-position:50%,50%,50% 47%}.battle-stage.battle-backdrop-boss{background-position:50%,50%,50% 42%}}html.manual-landscape .room-lobby{background-position:50%,50%,64%}html.manual-landscape .battle-stage.battle-backdrop-encounter{background-position:50%,50%,50% 43%}html.manual-landscape .battle-stage.battle-backdrop-pvp{background-position:50%,50%,50% 47%}html.manual-landscape .battle-stage.battle-backdrop-boss{background-position:50%,50%,50% 42%}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.battle-stage>.deck-zone:not(.remote-deck-zone){width:auto;left:434px;right:0}.battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack{box-sizing:border-box;touch-action:pan-x;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#6b7890 #0b111b99;justify-content:flex-start;padding:14px 8px 0 4px;overflow:auto hidden;transform:none}.battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack::-webkit-scrollbar{height:4px}.battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack::-webkit-scrollbar-track{background:#0b111b99}.battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack::-webkit-scrollbar-thumb{background:#6b7890;border-radius:4px}.battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack .fan-card{flex-shrink:0}.battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack .fan-card:first-child{margin-left:auto}}html.manual-landscape .battle-stage>.deck-zone:not(.remote-deck-zone){width:auto;left:434px;right:0}html.manual-landscape .battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack{box-sizing:border-box;touch-action:pan-x;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#6b7890 #0b111b99;justify-content:flex-start;padding:14px 8px 0 4px;overflow:auto hidden;transform:none}html.manual-landscape .battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack::-webkit-scrollbar{height:4px}html.manual-landscape .battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack::-webkit-scrollbar-track{background:#0b111b99}html.manual-landscape .battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack::-webkit-scrollbar-thumb{background:#6b7890;border-radius:4px}html.manual-landscape .battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack .fan-card{flex-shrink:0}html.manual-landscape .battle-stage>.deck-zone:not(.remote-deck-zone) .flat-card-stack .fan-card:first-child{margin-left:auto}.map-landing-effect{--landing-color:#fff;z-index:4;left:var(--landing-left);top:var(--landing-top);width:calc(100% / var(--map-size));height:calc(100% / var(--map-size));pointer-events:none;position:absolute}.map-landing-effect:before,.map-landing-effect:after{content:"";aspect-ratio:1;border:2px solid var(--landing-color);width:46%;box-shadow:0 0 10px var(--landing-color);border-radius:50%;animation:.6s cubic-bezier(.16,.78,.24,1) both map-landing-ring;position:absolute;top:67%;left:50%;transform:translate(-50%,-50%)scale(.15)}.map-landing-effect:after{border-width:1px;width:25%;animation-delay:80ms}@keyframes map-landing-ring{0%{opacity:0;transform:translate(-50%,-50%)scale(.15)}18%{opacity:.95}to{opacity:0;transform:translate(-50%,-50%)scale(2.25)}}.sky-fall-effect{--fall-color:#7edfff;z-index:8;left:var(--fall-left);top:var(--fall-top);width:calc(100% / var(--map-size));height:calc(100% / var(--map-size));pointer-events:none;isolation:isolate;position:absolute}.sky-fall-effect.screen{z-index:90;position:fixed;transform:translate(-50%,-50%)}.sky-fall-effect.screen.manual-landscape-effect{transform-origin:50%;transform:translate(-50%,-50%)rotate(90deg)}.sky-fall-shaft{z-index:0;background:linear-gradient(180deg,transparent,var(--fall-color) 18%,var(--fall-color) 70%,transparent);border-radius:50%;width:30%;height:330%;position:absolute;top:-235%;left:35%}@supports (color:color-mix(in lab, red, red)){.sky-fall-shaft{background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--fall-color) 18%,transparent) 18%,color-mix(in srgb,var(--fall-color) 72%,white) 70%,transparent)}}.sky-fall-shaft{filter:blur(2px);animation:.72s ease-out both sky-fall-shaft}.sky-fall-shaft:before,.sky-fall-shaft:after{content:"";width:2px;box-shadow:0 0 9px var(--fall-color);opacity:.76;background:linear-gradient(#0000,#f5ffff,#0000);position:absolute;top:8%;bottom:4%}.sky-fall-shaft:before{animation:.5s ease-in 50ms both sky-fall-streak;left:-38%}.sky-fall-shaft:after{animation:.58s ease-in .11s both sky-fall-streak;right:-38%}.sky-fall-character{z-index:2;filter:drop-shadow(0 0 7px var(--fall-color)) drop-shadow(0 8px 4px #000b);animation:.82s cubic-bezier(.15,.76,.22,1) both sky-fall-character;display:block;position:absolute;inset:-10%}.sky-fall-character img{object-fit:contain;object-position:center bottom;width:76%;height:118%;image-rendering:pixelated;transform:scale(var(--fall-token-scale));transform-origin:bottom;margin:-18% 0 0 12%;display:block}.sky-fall-impact{z-index:1;aspect-ratio:1;border:2px solid var(--fall-color);width:34%;box-shadow:0 0 15px var(--fall-color);border-radius:50%;animation:.52s ease-out .43s both sky-fall-impact;position:absolute;top:70%;left:50%}.sky-fall-effect small{z-index:3;border:1px solid var(--fall-color);padding:2px 5px;position:absolute;top:92%;left:50%}@supports (color:color-mix(in lab, red, red)){.sky-fall-effect small{border:1px solid color-mix(in srgb,var(--fall-color) 70%,transparent)}}.sky-fall-effect small{color:#eefcff;letter-spacing:.08em;white-space:nowrap;box-shadow:0 0 12px var(--fall-color);background:#07111ddb;font-size:clamp(5px,.65vw,8px);font-style:normal;font-weight:900}@supports (color:color-mix(in lab, red, red)){.sky-fall-effect small{box-shadow:0 0 12px color-mix(in srgb,var(--fall-color) 32%,transparent)}}.sky-fall-effect small{animation:.76s ease-out both sky-fall-label}.sky-fall-effect.fatal{--fall-color:#ff594d}.sky-fall-effect.fatal .sky-fall-character{animation-name:sky-fall-character-fatal;animation-duration:.94s}.sky-fall-effect.fatal .sky-fall-impact{display:none}.sky-fall-effect.fatal .sky-fall-shaft{height:430%;animation-duration:.9s}.sky-fall-effect.fatal small{color:#ffe0d9;background:#280d10e8;border-color:#ff6e5c}@keyframes sky-fall-character{0%{opacity:0;filter:blur(3px) drop-shadow(0 0 12px var(--fall-color));transform:translateY(-235%)rotate(-7deg)scale(.68)}18%{opacity:1}68%{filter:blur(0) drop-shadow(0 0 10px var(--fall-color)) drop-shadow(0 8px 4px #000b);transform:translateY(6%)rotate(2deg)scale(1.08)}82%{transform:translateY(-9%)rotate(-1deg)scale(.97)}to{opacity:0;transform:translateY(0)rotate(0)scale(1)}}@keyframes sky-fall-character-fatal{0%{opacity:0;filter:blur(3px) drop-shadow(0 0 12px var(--fall-color));transform:translateY(-185%)rotate(-5deg)scale(.72)}14%{opacity:1}54%{opacity:1;filter:blur(0) drop-shadow(0 0 10px var(--fall-color));transform:translateY(18%)rotate(4deg)scale(.96)}to{opacity:0;filter:blur(5px) drop-shadow(0 0 4px var(--fall-color));transform:translateY(255%)rotate(13deg)scale(.42)}}@keyframes sky-fall-shaft{0%{opacity:0;transform:scaleY(.25)}20%{opacity:.92}to{opacity:0;transform:scaleY(1)}}@keyframes sky-fall-streak{0%{opacity:0;transform:translateY(-45%)}32%{opacity:.9}to{opacity:0;transform:translateY(45%)}}@keyframes sky-fall-impact{0%{opacity:0;transform:translate(-50%,-50%)scale(.15)}28%{opacity:1}to{opacity:0;transform:translate(-50%,-50%)scale(3)}}@keyframes sky-fall-label{0%,34%{opacity:0;transform:translate(-50%,5px)}55%,82%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-3px)}}.card-cast-effect{--cast-color:#9eb3d8;--cast-end-x:58vw;--cast-end-y:-42vh;z-index:34;pointer-events:none;filter:drop-shadow(0 8px 12px #000c);width:86px;height:110px;position:absolute;bottom:12%;left:20%}.card-cast-effect.attack{--cast-color:#ff7580}.card-cast-effect.defense{--cast-color:#7fc4ff}.card-cast-effect.heal{--cast-color:#61e0ad}.card-cast-effect.enhance{--cast-color:#f4c96e}.card-cast-effect.support{--cast-color:#91dce4}.card-cast-effect.trap{--cast-color:#ed936f}.card-cast-effect.control{--cast-color:#b59cff}.card-cast-effect.summon{--cast-color:#75c3ff}.card-cast-effect.debuff{--cast-color:#da82ed}.card-cast-effect.target-hero{--cast-end-x:-5vw;--cast-end-y:5vh}.card-cast-effect>span{border:1px solid var(--cast-color);background:radial-gradient(circle at 50% 35%,var(--cast-color),#101723e8 66%);flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex;position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){.card-cast-effect>span{background:radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--cast-color) 34%,transparent),#101723e8 66%)}}.card-cast-effect>span{color:#f4f6fb;box-shadow:0 0 28px var(--cast-color)}@supports (color:color-mix(in lab, red, red)){.card-cast-effect>span{box-shadow:0 0 28px color-mix(in srgb,var(--cast-color) 58%,transparent)}}.card-cast-effect>span{animation:.62s cubic-bezier(.22,.72,.22,1) both card-cast-flight}.card-cast-effect>span:before{content:"";border:1px solid var(--cast-color);position:absolute;inset:5px}@supports (color:color-mix(in lab, red, red)){.card-cast-effect>span:before{border:1px solid color-mix(in srgb,var(--cast-color) 42%,transparent)}}.card-cast-effect>span:after{content:"";background:conic-gradient(from 215deg,transparent 0 34%,var(--cast-color) 39%,transparent 45% 100%);position:absolute;inset:-18%}@supports (color:color-mix(in lab, red, red)){.card-cast-effect>span:after{background:conic-gradient(from 215deg,transparent 0 34%,color-mix(in srgb,var(--cast-color) 74%,#fff) 39%,transparent 45% 100%)}}.card-cast-effect>span:after{opacity:0;mix-blend-mode:screen;pointer-events:none;animation:.62s ease-out both card-cast-sheen}.card-cast-effect>span i{text-shadow:0 0 13px var(--cast-color);font-size:29px;font-style:normal}.card-cast-effect>span b{text-overflow:ellipsis;white-space:nowrap;max-width:74px;font-size:8px;overflow:hidden}.card-cast-effect>em{background:linear-gradient(90deg,var(--cast-color),transparent);width:clamp(110px,34vw,520px);height:3px;box-shadow:0 0 12px var(--cast-color);transform-origin:0;animation:.46s ease-out both card-cast-trail;position:absolute;top:50%;left:43px;transform:rotate(-32deg)scaleX(0)}.character-cast-signature{z-index:-1;pointer-events:none;filter:drop-shadow(0 0 7px var(--cast-color));position:absolute;inset:-46%;display:block!important}.character-cast-signature u{--signature-index:0;--signature-x:50%;--signature-y:50%;--signature-angle:0deg;--signature-delay:0s;--ink-x:0;--ink-y:-10px;left:var(--signature-x);top:var(--signature-y);pointer-events:none;text-decoration:none;display:block;position:absolute}.character-cast-signature u:first-child{--signature-x:10%;--signature-y:18%;--signature-angle:-38deg;--signature-delay:0s;--ink-x:-14px;--ink-y:10px}.character-cast-signature u:nth-child(2){--signature-x:29%;--signature-y:70%;--signature-angle:-21deg;--signature-delay:25ms;--ink-x:-7px;--ink-y:-8px}.character-cast-signature u:nth-child(3){--signature-x:48%;--signature-y:44%;--signature-angle:-4deg;--signature-delay:50ms;--ink-x:0;--ink-y:12px}.character-cast-signature u:nth-child(4){--signature-x:67%;--signature-y:75%;--signature-angle:13deg;--signature-delay:75ms;--ink-x:8px;--ink-y:-11px}.character-cast-signature u:nth-child(5){--signature-x:86%;--signature-y:23%;--signature-angle:30deg;--signature-delay:.1s;--ink-x:15px;--ink-y:7px}.card-cast-effect.character-qingli{--cast-color:#55e5ef}.character-cast-signature.qingli:before,.character-cast-signature.qingli:after{content:"";opacity:0;border:2px solid #7cf8ff;border-radius:50%;animation:.7s ease-out both qingli-cast-ripple;position:absolute;inset:19%}.character-cast-signature.qingli:after{animation-delay:80ms;inset:31%}.character-cast-signature.qingli u{width:7px;height:13px;transform:rotate(var(--signature-angle));animation:qingli-cast-droplet .62s var(--signature-delay) ease-out both;background:linear-gradient(145deg,#e4ffff,#38bfd6 68%,#0000);border-radius:70% 30% 65% 35%}.card-cast-effect.character-liuguanyi{--cast-color:#e6a957}.character-cast-signature.liuguanyi:before{content:"";clip-path:polygon(0 78%,18% 48%,30% 67%,48% 8%,60% 64%,74% 38%,100% 82%,100% 100%,0 100%);transform-origin:bottom;background:repeating-linear-gradient(113deg,#0000 0 12%,#e6a957 13% 16%,#0000 17% 25%);border-bottom:5px solid #f2be68;height:28%;animation:.58s ease-out both liuguanyi-cast-impact;position:absolute;bottom:18%;left:15%;right:15%}.character-cast-signature.liuguanyi:after{content:"牛";color:#ffe3a2;opacity:0;border:2px solid #f6d18c;border-radius:46% 46% 32% 32%;place-items:center;font:900 30px/1 serif;animation:.62s ease-out both liuguanyi-cast-totem;display:grid;position:absolute;inset:20%}.character-cast-signature.liuguanyi u{transform-origin:top;width:3px;height:62%;transform:rotate(var(--signature-angle));animation:liuguanyi-cast-force .5s var(--signature-delay) ease-out both;background:linear-gradient(#fff1b5,#c27329,#0000);top:48%;left:50%}.character-cast-signature.liuguanyi u:first-child{--signature-angle:-62deg}.character-cast-signature.liuguanyi u:nth-child(2){--signature-angle:-31deg}.character-cast-signature.liuguanyi u:nth-child(3){--signature-angle:0deg}.character-cast-signature.liuguanyi u:nth-child(4){--signature-angle:31deg}.character-cast-signature.liuguanyi u:nth-child(5){--signature-angle:62deg}.card-cast-effect.character-xingyu{--cast-color:#a5a0ff}.character-cast-signature.xingyu:before,.character-cast-signature.xingyu:after{content:"";opacity:0;border:1px solid #9ddcff;border-radius:50%;animation:.68s ease-out both xingyu-cast-orbit;position:absolute;inset:15% 5%;transform:rotate(28deg)scale(.35)}.character-cast-signature.xingyu:after{border-color:#e7d7ff;animation-delay:50ms;inset:4% 23%;transform:rotate(-34deg)scale(.35)}.character-cast-signature.xingyu u{clip-path:polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%);opacity:0;width:8px;height:8px;animation:xingyu-cast-star .58s var(--signature-delay) ease-out both;background:#f5f0ff}.card-cast-effect.character-yanzhou{--cast-color:#d2aa62}.character-cast-signature.yanzhou:before{content:"";clip-path:polygon(0 46%,13% 8%,38% 34%,58% 0,77% 42%,100% 30%,88% 68%,62% 78%,35% 62%,12% 100%);transform-origin:0;background:linear-gradient(100deg,#0000,#080809 8% 73%,#0000),linear-gradient(94deg,#0000,#d3a755 28% 54%,#0000);height:24%;animation:.64s ease-out both yanzhou-cast-brush;position:absolute;top:42%;left:1%;right:4%;transform:scaleX(.12)skew(-9deg)}.character-cast-signature.yanzhou:after{content:"印";color:#d55a47;opacity:0;border:2px solid #b53a32;place-items:center;width:28px;height:28px;font:900 15px/1 serif;animation:.62s ease-out .12s both yanzhou-cast-seal;display:grid;position:absolute;bottom:10%;right:10%;transform:rotate(-8deg)scale(1.7)}.character-cast-signature.yanzhou u{opacity:0;width:5px;height:5px;animation:yanzhou-cast-ink .55s var(--signature-delay) ease-out both;background:#0a090a;border-radius:50%;box-shadow:7px 2px #24190e}@keyframes card-cast-flight{0%{opacity:0;transform:translateY(35px)scale(.68)rotate(-8deg)}18%{opacity:1}72%{opacity:1;transform:translate(var(--cast-end-x),var(--cast-end-y)) scale(.76) rotate(5deg)}to{opacity:0;transform:translate(var(--cast-end-x),var(--cast-end-y)) scale(1.3) rotate(5deg)}}@keyframes card-cast-trail{0%{opacity:0;transform:rotate(-32deg)scaleX(0)}30%{opacity:.9;transform:rotate(-32deg)scaleX(1)}to{opacity:0;transform:rotate(-32deg)scaleX(.2)}}@keyframes card-cast-sheen{0%,22%{opacity:0;transform:translate(-28%,24%)rotate(-8deg)}48%{opacity:.72}to{opacity:0;transform:translate(28%,-24%)rotate(8deg)}}@keyframes qingli-cast-ripple{0%{opacity:0;transform:scale(.25)}28%{opacity:.9}to{opacity:0;transform:scale(1.65)}}@keyframes qingli-cast-droplet{0%{opacity:0;transform:translateY(22px) rotate(var(--signature-angle)) scale(.2)}35%{opacity:1}to{opacity:0;transform:translateY(-28px) rotate(var(--signature-angle)) scale(1)}}@keyframes liuguanyi-cast-impact{0%{opacity:0;transform:scale(.3,.12)}30%{opacity:1}to{opacity:0;transform:scale(1.45,1.1)}}@keyframes liuguanyi-cast-totem{0%,18%{opacity:0;transform:scale(1.6)}44%{opacity:.9;transform:scale(.9)}to{opacity:0;transform:scale(1.15)}}@keyframes liuguanyi-cast-force{0%{opacity:0;transform:rotate(var(--signature-angle)) scaleY(.12)}28%{opacity:.85}to{opacity:0;transform:rotate(var(--signature-angle)) scaleY(1.2)}}@keyframes xingyu-cast-orbit{0%{opacity:0;transform:rotate(0)scale(.25)}36%{opacity:.8}to{opacity:0;transform:rotate(220deg)scale(1.35)}}@keyframes xingyu-cast-star{0%{opacity:0;transform:translateY(15px)scale(.15)rotate(0)}40%{opacity:1}to{opacity:0;transform:translateY(-22px)scale(1.7)rotate(125deg)}}@keyframes yanzhou-cast-brush{0%{opacity:0;transform:scaleX(.08)skew(-9deg)}38%{opacity:1}to{opacity:0;transform:scaleX(1.18)skew(-9deg)}}@keyframes yanzhou-cast-seal{0%,24%{opacity:0;transform:rotate(-8deg)scale(1.7)}48%{opacity:.95;transform:rotate(-8deg)scale(.88)}to{opacity:0;transform:rotate(-8deg)scale(1)}}@keyframes yanzhou-cast-ink{0%{opacity:0;transform:scale(.2)}38%{opacity:.8}to{opacity:0;transform:translate(var(--ink-x),var(--ink-y)) scale(1.8)}}.battle-portrait.impact-damage{animation:.38s cubic-bezier(.18,.82,.25,1) fighter-impact}.battle-portrait.impact-damage img{animation:.38s ease-out fighter-hit-flash}.battle-portrait.impact-shield-break{animation:.58s ease-out shield-break-impact}.shield-break-effect{z-index:6;pointer-events:none;border:2px solid #78c9ff;border-radius:50%;animation:.58s ease-out both shield-break-ring;position:absolute;inset:-12px}.shield-break-effect i{--angle:calc(var(--shard) * 51deg);clip-path:polygon(50% 0,100% 100%,0 72%);width:6px;height:17px;transform:rotate(var(--angle)) translateY(-35px);background:linear-gradient(#e6f8ff,#58baff);animation:.58s ease-out both shield-shard;position:absolute;top:50%;left:50%}@keyframes fighter-impact{0%,to{transform:translate(0)}25%{transform:translate(-9px)}55%{transform:translate(6px)}78%{transform:translate(-3px)}}@keyframes fighter-hit-flash{0%,to{filter:none}22%{filter:brightness(2.2)saturate(.35)}48%{filter:sepia(.7)saturate(2.2)hue-rotate(310deg)}}@keyframes shield-break-impact{0%,to{filter:none}28%{filter:brightness(1.8)drop-shadow(0 0 18px #5fc1ff)}}@keyframes shield-break-ring{0%{opacity:0;transform:scale(.45)}25%{opacity:1}to{opacity:0;transform:scale(1.5)}}@keyframes shield-shard{0%{opacity:0;transform:rotate(var(--angle)) translateY(-25px) scale(.2)}28%{opacity:1}to{opacity:0;transform:rotate(var(--angle)) translateY(-72px) scale(.8)}}.encounter-group-marker:before{content:"";opacity:.22;border:1px solid #dfb36e;border-radius:50%;animation:2.8s ease-in-out infinite group-dormant-breath;position:absolute;inset:13%}.encounter-group-marker.alert-1:before,.encounter-group-marker.alert-2:before,.encounter-group-marker.engaged:before{border-color:#ff744c;animation:1.05s ease-out infinite group-warning-wave}.encounter-group-marker.alert-2:before{animation-duration:.68s}.encounter-group-marker.engaged:before{animation-duration:.42s}.encounter-group-marker.alert-1:after,.encounter-group-marker.alert-2:after,.encounter-group-marker.engaged:after{content:"!";aspect-ratio:1;color:#fff4de;background:#e54d36;border-radius:50%;place-items:center;width:26%;font:900 clamp(7px,1vw,12px)/1 Georgia;animation:.3s ease-out both group-warning-pop;display:grid;position:absolute;top:-11%;right:-4%;box-shadow:0 0 10px #ff4e39}@keyframes group-dormant-breath{0%,to{opacity:.12;transform:scale(.82)}50%{opacity:.34;transform:scale(1.05)}}@keyframes group-warning-wave{0%{opacity:.9;transform:scale(.5)}to{opacity:0;transform:scale(1.8)}}@keyframes group-warning-pop{0%{opacity:0;transform:translateY(5px)scale(.5)}to{opacity:1;transform:none}}@media (width<=900px) and (orientation:landscape){.card-cast-effect{--cast-end-x:42vw;--cast-end-y:-45vh;width:55px;height:72px;bottom:9%;left:30%}.card-cast-effect.target-hero{--cast-end-x:-16vw;--cast-end-y:5vh}.card-cast-effect>span i{font-size:19px}.card-cast-effect>span b{max-width:48px;font-size:6px}.character-cast-signature{filter:drop-shadow(0 0 4px var(--cast-color));inset:-28%}.character-cast-signature u:nth-child(n+4){display:none}.character-cast-signature.liuguanyi:after{font-size:18px}.character-cast-signature.yanzhou:after{width:18px;height:18px;font-size:10px}}html.manual-landscape .card-cast-effect{--cast-end-x:42vw;--cast-end-y:-45vh;width:55px;height:72px;bottom:9%;left:30%}html.manual-landscape .card-cast-effect.target-hero{--cast-end-x:-16vw;--cast-end-y:5vh}html.manual-landscape .card-cast-effect>span i{font-size:19px}html.manual-landscape .card-cast-effect>span b{max-width:48px;font-size:6px}@media (prefers-reduced-motion:reduce){.map-landing-effect:before,.map-landing-effect:after,.card-cast-effect>span,.card-cast-effect>span:after,.card-cast-effect>em,.character-cast-signature:before,.character-cast-signature:after,.character-cast-signature u,.battle-portrait.impact-damage,.battle-portrait.impact-damage img,.battle-portrait.impact-shield-break,.shield-break-effect,.shield-break-effect i,.encounter-group-marker:before,.encounter-group-marker:after{animation:none!important}.map-landing-effect,.sky-fall-effect,.card-cast-effect,.shield-break-effect{display:none}.encounter-group-marker.alert-2,.encounter-group-marker.engaged,.encounter-group-marker.alert-1:after,.encounter-group-marker.alert-2:after,.encounter-group-marker.engaged:after{animation:none!important}}.encounter-group-markers{z-index:2;pointer-events:none;position:absolute;inset:0}.encounter-group-marker{left:var(--group-left);top:var(--group-top);width:calc(100% / var(--map-size));height:calc(100% / var(--map-size));background-image:var(--group-sprite);filter:grayscale(.28)brightness(.75)drop-shadow(0 2px 3px #000);image-rendering:pixelated;transform-origin:bottom;background-position:0 0;background-repeat:no-repeat;background-size:400% 100%;display:block;position:absolute;transform:scale(1.12)}.encounter-group-marker.alert-1{filter:drop-shadow(0 0 5px #f39a3d);background-position:33.333% 0}.encounter-group-marker.alert-2{filter:drop-shadow(0 0 7px #ff4f3d);background-position:66.667% 0;animation:.75s ease-in-out infinite alternate group-alert-pulse}.encounter-group-marker.engaged{background-position:100% 0;animation-duration:.3s}.encounter-group-legend{color:#ff8a44;background:#2a1913;border-color:#895239!important}.legend .encounter-group-legend{font-weight:900}@keyframes group-alert-pulse{to{filter:drop-shadow(0 0 11px #ff3d2e);transform:scale(1.24)}}.encounter-group-targets{z-index:7;background:#0b1019ed;border:1px solid #7b6340;border-right:0;width:36%;height:31%;padding:7px;position:absolute;top:16.5%;right:0;box-shadow:-12px 16px 34px #0009}.encounter-group-splash{background:#111722;border-bottom:1px solid #634f33;align-items:flex-end;gap:8px;height:28%;display:flex;overflow:hidden}.encounter-group-splash>img{object-fit:cover;object-position:center 43%;opacity:.8;width:46%;height:100%}.encounter-group-splash>span{flex-direction:column;padding-bottom:6px;display:flex}.encounter-group-splash small{color:#b58c4e;letter-spacing:.15em;font-size:6px}.encounter-group-splash b{color:#f0c77d;font-size:11px}.encounter-group-targets>div:last-child{grid-template-columns:1fr 1fr;gap:5px;height:72%;padding-top:6px;display:grid}.encounter-group-targets button{color:#dce2eb;text-align:left;cursor:pointer;background:#111927;border:1px solid #3b4659;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:5px;min-width:0;padding:3px;display:grid;position:relative}.encounter-group-targets button>img{object-fit:cover;object-position:center 30%;width:34px;height:34px}.encounter-group-targets button>span{min-width:0}.encounter-group-targets button b{text-overflow:ellipsis;white-space:nowrap;font-size:7px;display:block;overflow:hidden}.encounter-group-targets button small{color:#8290a4;font-size:6px}.encounter-group-targets button em{color:#161a21;background:#edb95c;padding:2px 3px;font-size:5px;font-style:normal;font-weight:900;position:absolute;top:2px;right:2px}.encounter-group-targets button.targeted{background:#332714;border-color:#ffc968;box-shadow:inset 0 0 0 1px #ffc96866,0 0 12px #e6a94455}.encounter-group-targets button:disabled:not(.targeted){opacity:.46}.group-enemy-health{background:#30394a;height:4px;margin:3px 0}.group-enemy-health i{background:#d8555e;height:100%;display:block}.group-enemy-health span{display:none}@media (width<=900px) and (orientation:landscape){.encounter-group-targets{top:calc(var(--mobile-enemy-cluster-top,62px) + var(--mobile-topbar-offset,0px) + 58px);width:34%;height:116px;padding:4px;right:3px}.encounter-group-splash{height:25%}.encounter-group-splash>img{width:34%}.encounter-group-splash b{font-size:8px}.encounter-group-targets>div:last-child{gap:3px;height:75%;padding-top:3px}.encounter-group-targets button{grid-template-columns:25px minmax(0,1fr);gap:3px;padding:2px}.encounter-group-targets button>img{width:25px;height:25px}.encounter-group-targets button b{font-size:6px}.encounter-group-targets button small{font-size:5px}}html.manual-landscape .encounter-group-targets{top:calc(var(--mobile-enemy-cluster-top,62px) + var(--mobile-topbar-offset,0px) + 58px);width:34%;height:116px;padding:4px;right:3px}html.manual-landscape .encounter-group-splash{height:25%}html.manual-landscape .encounter-group-splash>img{width:34%}html.manual-landscape .encounter-group-splash b{font-size:8px}html.manual-landscape .encounter-group-targets>div:last-child{gap:3px;height:75%;padding-top:3px}html.manual-landscape .encounter-group-targets button{grid-template-columns:25px minmax(0,1fr);gap:3px;padding:2px}html.manual-landscape .encounter-group-targets button>img{width:25px;height:25px}html.manual-landscape .encounter-group-targets button b{font-size:6px}html.manual-landscape .encounter-group-targets button small{font-size:5px}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.reward-overlay{padding:7px}.reward-overlay .reward-window{box-sizing:border-box;text-align:left;grid-template-rows:auto auto 1fr auto;grid-template-columns:minmax(190px,260px) minmax(0,1fr);align-items:center;gap:6px 14px;width:min(94vw,760px);height:min(100svh - 14px,440px);max-height:calc(100svh - 14px);padding:10px 12px;display:grid;overflow:hidden}.reward-overlay .reward-window>header{grid-column:1/-1;padding-bottom:7px}.reward-overlay .reward-window header span{font-size:7px}.reward-overlay .reward-window header strong{font-size:11px}.reward-overlay .reward-card-preview{box-sizing:border-box;grid-area:2/1/5;align-self:stretch;width:100%;height:auto;min-height:0;margin:0;padding:8px;overflow:hidden}.reward-overlay .reward-card-preview>div{flex:none}.reward-overlay .reward-card-preview em{width:24px;height:24px;font-size:9px}.reward-overlay .reward-card-preview span{font-size:6px}.reward-overlay .reward-card-preview>.card-artwork{flex:0 0 clamp(58px,18svh,92px);width:calc(100% + 16px);height:clamp(58px,18svh,92px);margin:5px -8px 0}.reward-overlay .reward-card-preview>.card-mark{flex:0 0 28px;width:28px;height:28px;margin:5px auto 4px}.reward-overlay .reward-card-preview h2{margin:0 0 4px;font-size:13px;line-height:1.2}.reward-overlay .reward-card-preview p{scrollbar-width:thin;min-height:0;margin:0;font-size:7px;line-height:1.4;overflow:auto}.reward-overlay .reward-window>h3{grid-area:2/2;margin:0;font-size:13px;line-height:1.45}.reward-overlay .reward-window>small{grid-area:3/2;align-self:start;margin:2px 0;font-size:7px}.reward-overlay .reward-actions{grid-area:4/2;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:7px}.reward-overlay .reward-actions button{white-space:normal;min-width:0;min-height:42px;padding:8px;font-size:8px}.respawn-card,.winner-card{box-sizing:border-box;width:min(92vw,760px);max-height:calc(100svh - 14px);padding:12px 16px;overflow:auto}.skull,.winner-card>span{font-size:32px}.respawn-card h2,.winner-card h1{margin:3px;font-size:19px}.respawn-card p,.winner-card p{margin:4px 0;font-size:8px;line-height:1.45}.spawn-choice{gap:7px;margin:8px 0}.spawn-choice button{min-height:44px;padding:7px}.delay-row{flex-wrap:wrap;gap:5px}.delay-row button{min-width:42px;min-height:36px;padding:6px}.winner-card button{min-height:42px;margin-top:8px;padding:8px 18px}.seal-picker{padding:7px}.seal-picker>section{box-sizing:border-box;width:min(92vw,760px);max-height:calc(100svh - 14px);padding:12px 15px;overflow:hidden}.seal-picker h2{margin:3px 0;font-size:18px}.seal-picker p{margin:4px 0;font-size:8px}.seal-picker section>div{scrollbar-width:thin;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:calc(100svh - 136px);margin:7px 0;overflow:auto}.seal-picker section>div button{min-height:43px;padding:7px}.seal-picker .seal-cancel{min-height:38px;padding:7px}.sky-faction-window{box-sizing:border-box;grid-template-rows:auto minmax(0,1fr) auto;width:min(92vw,820px);height:calc(100svh - 14px);max-height:calc(100svh - 14px);padding:9px 14px;display:grid;overflow:hidden}.sky-faction-window>header h2{margin:3px 0;font-size:18px}.sky-faction-window>header p{font-size:6px}.sky-faction-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-height:0;margin-top:7px}.sky-faction-options button{gap:5px;min-height:0;padding:7px}.sky-faction-options button>span{font-size:22px}.sky-faction-options button>b{font-size:9px}.sky-faction-options button>small{min-height:0;font-size:5.5px}.sky-faction-window>footer{margin-top:6px;padding-top:5px;font-size:6px}.shop-overlay{padding:7px}.shop-overlay .shop-window{box-sizing:border-box;width:min(96vw,980px);height:calc(100svh - 14px);max-height:calc(100svh - 14px);padding:10px 12px;overflow:hidden}.shop-overlay .shop-layout{grid-template-columns:minmax(0,1.45fr) minmax(210px,.75fr);gap:12px;height:100%;min-height:0}.shop-overlay .shop-catalog{scrollbar-width:thin;min-height:0;overflow:auto}.shop-overlay .shop-catalog>header{padding-bottom:6px}.shop-overlay .shop-catalog h2{font-size:18px}.shop-overlay .shop-catalog>p{margin:6px 0 8px;font-size:7px}.shop-overlay .shop-catalog .shop-items{gap:6px}.shop-overlay .shop-catalog .shop-item{grid-template-columns:42px 30px minmax(0,1fr);gap:7px;padding:8px 10px}.shop-overlay .shop-catalog .shop-item>i{font-size:24px}.shop-overlay .shop-actions{min-height:0;padding-left:12px;overflow:auto}}html.manual-landscape .reward-overlay{padding:7px}html.manual-landscape .reward-overlay .reward-window{box-sizing:border-box;text-align:left;grid-template-rows:auto auto 1fr auto;grid-template-columns:minmax(190px,260px) minmax(0,1fr);align-items:center;gap:6px 14px;width:min(94%,760px);height:min(100% - 14px,440px);max-height:calc(100% - 14px);padding:10px 12px;display:grid;overflow:hidden}html.manual-landscape .reward-overlay .reward-window>header{grid-column:1/-1;padding-bottom:7px}html.manual-landscape .reward-overlay .reward-window header span{font-size:7px}html.manual-landscape .reward-overlay .reward-window header strong{font-size:11px}html.manual-landscape .reward-overlay .reward-card-preview{box-sizing:border-box;grid-area:2/1/5;align-self:stretch;width:100%;height:auto;min-height:0;margin:0;padding:8px;overflow:hidden}html.manual-landscape .reward-overlay .reward-card-preview>div{flex:none}html.manual-landscape .reward-overlay .reward-card-preview em{width:24px;height:24px;font-size:9px}html.manual-landscape .reward-overlay .reward-card-preview span{font-size:6px}html.manual-landscape .reward-overlay .reward-card-preview>.card-artwork{flex:0 0 clamp(58px,18vh,92px);width:calc(100% + 16px);height:clamp(58px,18vh,92px);margin:5px -8px 0}html.manual-landscape .reward-overlay .reward-card-preview>.card-mark{flex:0 0 28px;width:28px;height:28px;margin:5px auto 4px}html.manual-landscape .reward-overlay .reward-card-preview h2{margin:0 0 4px;font-size:13px;line-height:1.2}html.manual-landscape .reward-overlay .reward-card-preview p{scrollbar-width:thin;min-height:0;margin:0;font-size:7px;line-height:1.4;overflow:auto}html.manual-landscape .reward-overlay .reward-window>h3{grid-area:2/2;margin:0;font-size:13px;line-height:1.45}html.manual-landscape .reward-overlay .reward-window>small{grid-area:3/2;align-self:start;margin:2px 0;font-size:7px}html.manual-landscape .reward-overlay .reward-actions{grid-area:4/2;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:7px}html.manual-landscape .reward-overlay .reward-actions button{white-space:normal;min-width:0;min-height:42px;padding:8px;font-size:8px}html.manual-landscape .respawn-card,html.manual-landscape .winner-card{box-sizing:border-box;width:min(92%,760px);max-height:calc(100% - 14px);padding:12px 16px;overflow:auto}html.manual-landscape .skull,html.manual-landscape .winner-card>span{font-size:32px}html.manual-landscape .respawn-card h2,html.manual-landscape .winner-card h1{margin:3px;font-size:19px}html.manual-landscape .respawn-card p,html.manual-landscape .winner-card p{margin:4px 0;font-size:8px;line-height:1.45}html.manual-landscape .spawn-choice{gap:7px;margin:8px 0}html.manual-landscape .spawn-choice button{min-height:44px;padding:7px}html.manual-landscape .delay-row{flex-wrap:wrap;gap:5px}html.manual-landscape .delay-row button{min-width:42px;min-height:36px;padding:6px}html.manual-landscape .winner-card button{min-height:42px;margin-top:8px;padding:8px 18px}html.manual-landscape .seal-picker{padding:7px}html.manual-landscape .seal-picker>section{box-sizing:border-box;width:min(92%,760px);max-height:calc(100% - 14px);padding:12px 15px;overflow:hidden}html.manual-landscape .seal-picker h2{margin:3px 0;font-size:18px}html.manual-landscape .seal-picker p{margin:4px 0;font-size:8px}html.manual-landscape .seal-picker section>div{scrollbar-width:thin;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:calc(100% - 122px);margin:7px 0;overflow:auto}html.manual-landscape .seal-picker section>div button{min-height:43px;padding:7px}html.manual-landscape .seal-picker .seal-cancel{min-height:38px;padding:7px}html.manual-landscape .shop-overlay{padding:7px}html.manual-landscape .shop-overlay .shop-window{box-sizing:border-box;width:min(96%,980px);height:calc(100% - 14px);max-height:calc(100% - 14px);padding:10px 12px;overflow:hidden}html.manual-landscape .shop-overlay .shop-layout{grid-template-columns:minmax(0,1.45fr) minmax(210px,.75fr);gap:12px;height:100%;min-height:0}html.manual-landscape .shop-overlay .shop-catalog{scrollbar-width:thin;min-height:0;overflow:auto}html.manual-landscape .shop-overlay .shop-actions{min-height:0;padding-left:12px;overflow:auto}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.room-lobby.room-lobby-form-mode{padding:8px max(18px,env(safe-area-inset-right)) 8px max(18px,env(safe-area-inset-left));grid-template-columns:minmax(0,760px);justify-content:center;align-items:center;overflow:hidden}.room-lobby-form-mode .room-lobby-copy{scrollbar-width:thin;width:min(100%,760px);max-width:760px;max-height:calc(100svh - 16px);padding:0;overflow:auto}.room-lobby-form-mode .eyebrow,.room-lobby-form-mode .room-lobby-copy>h1,.room-lobby-form-mode .room-lobby-copy>small,.room-lobby-form-mode .lobby-board{display:none}.room-lobby-form-mode .room-form{box-sizing:border-box;background:linear-gradient(145deg,#182333f7,#09111df7);border-color:#607089;gap:9px;width:100%;max-height:none;padding:12px;overflow:visible;box-shadow:0 18px 52px #000a,inset 0 0 0 1px #d7ad6420}.room-lobby-create-mode .room-form{grid-template-columns:repeat(2,minmax(0,1fr))}.room-lobby-join-mode .room-form{grid-template-columns:repeat(3,minmax(0,1fr))}.room-lobby-form-mode .room-form>header,.room-lobby-form-mode .room-public-toggle,.room-lobby-form-mode .room-submit,.room-lobby-form-mode .room-error{grid-column:1/-1!important}.room-lobby-form-mode .room-form>label:not(.room-public-toggle){grid-column:auto;gap:5px;min-width:0}.room-lobby-form-mode .room-form>header{gap:10px;min-height:42px;padding-bottom:8px}.room-lobby-form-mode .room-form>header>button{touch-action:manipulation;min-width:70px;min-height:38px;padding:7px 11px}.room-lobby-form-mode .room-form h2{font-size:18px;line-height:1.15}.room-lobby-form-mode .room-form header small{font-size:7px}.room-lobby-form-mode .room-form>label>span{font-size:8px}.room-lobby-form-mode .room-form input{box-sizing:border-box;width:100%;height:38px;font-size:16px}.room-lobby-form-mode .room-public-toggle{min-height:48px;padding:7px 10px}.room-lobby-form-mode .room-submit{touch-action:manipulation;height:42px;font-size:10px}}html.manual-landscape .room-lobby.room-lobby-form-mode{grid-template-columns:minmax(0,760px);justify-content:center;align-items:center;padding:8px 34px;overflow:hidden}html.manual-landscape .room-lobby-form-mode .room-lobby-copy{scrollbar-width:thin;width:min(100%,760px);max-width:760px;max-height:calc(100% - 16px);padding:0;overflow:auto}html.manual-landscape .room-lobby-form-mode .eyebrow,html.manual-landscape .room-lobby-form-mode .room-lobby-copy>h1,html.manual-landscape .room-lobby-form-mode .room-lobby-copy>small,html.manual-landscape .room-lobby-form-mode .lobby-board{display:none}html.manual-landscape .room-lobby-form-mode .room-form{box-sizing:border-box;background:linear-gradient(145deg,#182333f7,#09111df7);border-color:#607089;gap:9px;width:100%;max-height:none;padding:12px;overflow:visible;box-shadow:0 18px 52px #000a,inset 0 0 0 1px #d7ad6420}html.manual-landscape .room-lobby-create-mode .room-form{grid-template-columns:repeat(2,minmax(0,1fr))}html.manual-landscape .room-lobby-join-mode .room-form{grid-template-columns:repeat(3,minmax(0,1fr))}html.manual-landscape .room-lobby-form-mode .room-form>header,html.manual-landscape .room-lobby-form-mode .room-public-toggle,html.manual-landscape .room-lobby-form-mode .room-submit,html.manual-landscape .room-lobby-form-mode .room-error{grid-column:1/-1!important}html.manual-landscape .room-lobby-form-mode .room-form>label:not(.room-public-toggle){grid-column:auto;gap:5px;min-width:0}html.manual-landscape .room-lobby-form-mode .room-form>header{gap:10px;min-height:42px;padding-bottom:8px}html.manual-landscape .room-lobby-form-mode .room-form>header>button{touch-action:manipulation;min-width:70px;min-height:38px;padding:7px 11px}html.manual-landscape .room-lobby-form-mode .room-form h2{font-size:18px;line-height:1.15}html.manual-landscape .room-lobby-form-mode .room-form header small{font-size:7px}html.manual-landscape .room-lobby-form-mode .room-form>label>span{font-size:8px}html.manual-landscape .room-lobby-form-mode .room-form input{box-sizing:border-box;width:100%;height:38px;font-size:16px}html.manual-landscape .room-lobby-form-mode .room-public-toggle{min-height:48px;padding:7px 10px}html.manual-landscape .room-lobby-form-mode .room-submit{touch-action:manipulation;height:42px;font-size:10px}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.room-lobby.room-lobby-waiting-mode{padding:8px max(20px,env(safe-area-inset-right)) 8px max(20px,env(safe-area-inset-left));grid-template-columns:minmax(0,920px);justify-content:center;align-items:center;overflow:hidden}.room-lobby-waiting-mode .room-lobby-copy{width:min(100%,920px);max-width:920px;height:calc(100svh - 16px);max-height:calc(100svh - 16px);padding:0;overflow:hidden}.room-lobby-waiting-mode .eyebrow,.room-lobby-waiting-mode .room-lobby-copy>h1,.room-lobby-waiting-mode .room-lobby-copy>small,.room-lobby-waiting-mode .lobby-board{display:none}.room-lobby-waiting-mode .room-panel{box-sizing:border-box;background:linear-gradient(145deg,#182333f7,#09111df7);border-color:#607089;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;max-height:none;padding:10px 12px;display:grid;overflow:hidden;box-shadow:0 18px 52px #000a,inset 0 0 0 1px #d7ad6420}.room-lobby-waiting-mode .room-panel>header{align-items:center;min-height:48px;padding-bottom:7px}.room-lobby-waiting-mode .room-panel>header>div{grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;min-width:0;display:grid}.room-lobby-waiting-mode .room-panel header small{grid-area:1/1;font-size:6px}.room-lobby-waiting-mode .room-panel h2{white-space:nowrap;grid-area:2/1;margin:1px 0;font-size:15px}.room-lobby-waiting-mode .room-panel header p{grid-area:1/2/3;margin:0;font-size:7px}.room-lobby-waiting-mode .room-panel header p button{touch-action:manipulation;min-height:34px;padding:6px 10px;font-size:8px}.room-lobby-waiting-mode .room-leave{touch-action:manipulation;min-width:84px;min-height:38px;padding:7px 11px;font-size:8px}.room-lobby-waiting-mode .room-members{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-height:0;margin-top:7px;overflow:hidden}.room-lobby-waiting-mode .room-members article{gap:8px;min-width:0;height:auto;min-height:0;padding:6px 8px}.room-lobby-waiting-mode .room-member-head,.room-lobby-waiting-mode .room-empty-slot{flex-basis:42px;width:42px;height:48px}.room-lobby-waiting-mode .room-members b{margin:2px 0;font-size:9px}.room-lobby-waiting-mode .room-members em{font-size:6px}.room-lobby-waiting-mode .room-members select{touch-action:manipulation;min-height:32px;padding:5px;font-size:7px}.room-lobby-waiting-mode .room-panel>footer{border-top:1px solid #344054;min-height:40px;margin-top:7px;padding-top:7px}.room-lobby-waiting-mode .room-panel>footer span,.room-lobby-waiting-mode .room-panel>footer>b{font-size:7px}.room-lobby-waiting-mode .room-panel>footer button{touch-action:manipulation;min-width:132px;min-height:36px;padding:7px 12px;font-size:8px}.room-lobby-waiting-mode .room-error{box-sizing:border-box;text-align:center;width:min(70%,520px);position:absolute;bottom:54px;left:50%;transform:translate(-50%)}}html.manual-landscape .room-lobby.room-lobby-waiting-mode{grid-template-columns:minmax(0,920px);justify-content:center;align-items:center;padding:8px 34px;overflow:hidden}html.manual-landscape .room-lobby-waiting-mode .room-lobby-copy{width:min(100%,920px);max-width:920px;height:calc(100% - 16px);max-height:calc(100% - 16px);padding:0;overflow:hidden}html.manual-landscape .room-lobby-waiting-mode .eyebrow,html.manual-landscape .room-lobby-waiting-mode .room-lobby-copy>h1,html.manual-landscape .room-lobby-waiting-mode .room-lobby-copy>small,html.manual-landscape .room-lobby-waiting-mode .lobby-board{display:none}html.manual-landscape .room-lobby-waiting-mode .room-panel{box-sizing:border-box;background:linear-gradient(145deg,#182333f7,#09111df7);border-color:#607089;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;max-height:none;padding:10px 12px;display:grid;overflow:hidden;box-shadow:0 18px 52px #000a,inset 0 0 0 1px #d7ad6420}html.manual-landscape .room-lobby-waiting-mode .room-panel>header{align-items:center;min-height:48px;padding-bottom:7px}html.manual-landscape .room-lobby-waiting-mode .room-panel>header>div{grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;min-width:0;display:grid}html.manual-landscape .room-lobby-waiting-mode .room-panel header small{grid-area:1/1;font-size:6px}html.manual-landscape .room-lobby-waiting-mode .room-panel h2{white-space:nowrap;grid-area:2/1;margin:1px 0;font-size:15px}html.manual-landscape .room-lobby-waiting-mode .room-panel header p{grid-area:1/2/3;margin:0;font-size:7px}html.manual-landscape .room-lobby-waiting-mode .room-panel header p button{touch-action:manipulation;min-height:34px;padding:6px 10px;font-size:8px}html.manual-landscape .room-lobby-waiting-mode .room-leave{touch-action:manipulation;min-width:84px;min-height:38px;padding:7px 11px;font-size:8px}html.manual-landscape .room-lobby-waiting-mode .room-members{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-height:0;margin-top:7px;overflow:hidden}html.manual-landscape .room-lobby-waiting-mode .room-members article{gap:8px;min-width:0;height:auto;min-height:0;padding:6px 8px}html.manual-landscape .room-lobby-waiting-mode .room-member-head,html.manual-landscape .room-lobby-waiting-mode .room-empty-slot{flex-basis:42px;width:42px;height:48px}html.manual-landscape .room-lobby-waiting-mode .room-members b{margin:2px 0;font-size:9px}html.manual-landscape .room-lobby-waiting-mode .room-members em{font-size:6px}html.manual-landscape .room-lobby-waiting-mode .room-members select{touch-action:manipulation;min-height:32px;padding:5px;font-size:7px}html.manual-landscape .room-lobby-waiting-mode .room-panel>footer{border-top:1px solid #344054;min-height:40px;margin-top:7px;padding-top:7px}html.manual-landscape .room-lobby-waiting-mode .room-panel>footer span,html.manual-landscape .room-lobby-waiting-mode .room-panel>footer>b{font-size:7px}html.manual-landscape .room-lobby-waiting-mode .room-panel>footer button{touch-action:manipulation;min-width:132px;min-height:36px;padding:7px 12px;font-size:8px}html.manual-landscape .room-lobby-waiting-mode .room-error{box-sizing:border-box;text-align:center;width:min(70%,520px);position:absolute;bottom:54px;left:50%;transform:translate(-50%)}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.battle-stage>.battle-action-stack{z-index:72;flex-direction:column;align-items:stretch;gap:4px;width:168px;max-height:154px;display:flex;position:absolute;inset:auto auto 8px 258px}.battle-stage>.battle-action-stack .mobile-battle-resource-summary{box-sizing:border-box;color:#aeb9ca;white-space:nowrap;text-overflow:ellipsis;background:#101824f2;border:1px solid #3e4b61;justify-content:center;align-items:center;min-height:26px;padding:4px 6px;font-size:6px;line-height:1.2;display:flex;overflow:hidden}.battle-stage>.battle-action-stack .pass-action,.battle-stage>.battle-action-stack .flee-action{box-sizing:border-box;white-space:nowrap;touch-action:manipulation;width:100%;min-width:0;min-height:29px;margin:0;padding:4px 6px;font-size:7px;position:static}.battle-stage>.battle-action-stack .jelina-mode-toggle{box-sizing:border-box;white-space:nowrap;justify-content:center;gap:3px;width:100%;max-width:none;min-height:29px;margin:0;padding:3px 5px;font-size:6px;position:static}.battle-stage>.battle-action-stack .jelina-mode-toggle button{padding:3px 5px}.battle-title,.enemy-command-cluster{top:calc(var(--mobile-enemy-cluster-top,62px) + var(--mobile-topbar-offset,0px));transition:top .22s cubic-bezier(.2,.78,.28,1)}.mobile-topbar-dragging .battle-title,.mobile-topbar-dragging .enemy-command-cluster{transition:none}.mobile-topbar-handle{cursor:grab;will-change:transform}.mobile-topbar-dragging .mobile-topbar-handle{cursor:grabbing}.encounter-reward-overlay{padding:8px}.encounter-reward-overlay .encounter-reward-window{box-sizing:border-box;width:min(92vw,860px);height:auto;max-height:calc(100svh - 16px);padding:10px 12px 8px;overflow:hidden}.encounter-reward-overlay .encounter-reward-window>header{padding-bottom:6px}.encounter-reward-overlay .encounter-reward-window h2{font-size:16px}.encounter-reward-overlay .encounter-reward-window>p{margin:5px 0 7px}.encounter-reward-overlay .encounter-reward-cards{grid-template-columns:repeat(3,minmax(0,210px));justify-content:center;align-items:stretch;gap:8px;height:220px}.encounter-reward-overlay .encounter-reward-card{box-sizing:border-box;width:auto;max-width:210px;height:220px;min-height:0;padding:7px;overflow:hidden}.encounter-reward-overlay .encounter-reward-card>.card-artwork{flex:0 0 60px;width:calc(100% + 14px);height:60px;margin:5px -7px 0}.encounter-reward-overlay .encounter-reward-card>.card-mark{width:25px;height:25px;margin:3px auto 2px}.encounter-reward-overlay .encounter-reward-card h3{margin:0 0 2px;font-size:10px}.encounter-reward-overlay .encounter-reward-card>p{-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:0;margin:0;font-size:6px;line-height:1.35;display:-webkit-box;overflow:hidden}.encounter-reward-overlay .encounter-reward-card>strong{min-height:24px;margin-top:auto;padding:4px;font-size:7px}.encounter-reward-overlay .encounter-reward-window>footer{margin-top:5px;padding-top:4px}}html.manual-landscape .battle-stage>.battle-action-stack .jelina-mode-toggle button{padding:3px 5px}html.manual-landscape .mobile-topbar-handle{cursor:grab;will-change:transform}html.manual-landscape .mobile-topbar-dragging .mobile-topbar-handle{cursor:grabbing}html.manual-landscape .encounter-reward-overlay .encounter-reward-window>header{padding-bottom:6px}html.manual-landscape .encounter-reward-overlay .encounter-reward-window h2{font-size:16px}html.manual-landscape .encounter-reward-overlay .encounter-reward-window>p{margin:5px 0 7px}html.manual-landscape .encounter-reward-overlay .encounter-reward-card h3{margin:0 0 2px;font-size:10px}html.manual-landscape .encounter-reward-overlay .encounter-reward-card>strong{min-height:24px;margin-top:auto;padding:4px;font-size:7px}html.manual-landscape .encounter-reward-overlay .encounter-reward-window>footer{margin-top:5px;padding-top:4px}@media (orientation:landscape) and (pointer:coarse){.deck-zone:not(.remote-deck-zone)>header>span{display:none!important}.deck-zone .battle-action-stack{z-index:70;flex-direction:column;align-items:stretch;gap:5px;width:min(26%,560px);min-width:150px;max-width:220px;display:flex;position:absolute;inset:auto auto 10px 31%}.deck-zone .battle-action-stack .mobile-battle-resource-summary{box-sizing:border-box;color:#aeb9ca;white-space:nowrap;text-overflow:ellipsis;background:#101824e8;border:1px solid #3e4b61;justify-content:center;align-items:center;width:100%;min-height:28px;padding:5px 7px;font-size:7px;line-height:1.2;display:flex;overflow:hidden}.deck-zone .battle-action-stack .pass-action,.deck-zone .battle-action-stack .flee-action{box-sizing:border-box;white-space:nowrap;touch-action:manipulation;width:100%;min-width:0;min-height:32px;margin:0;padding:5px 7px;font-size:7px;position:static}.deck-zone .battle-action-stack .jelina-mode-toggle{box-sizing:border-box;white-space:nowrap;align-self:stretch;gap:4px;width:100%;min-width:0;max-width:none;margin:0;padding:4px 6px;font-size:6px;position:static}.deck-zone .battle-action-stack .jelina-mode-toggle button{padding:3px 5px}.deck-zone .battle-action-stack .jelina-mode-toggle small{display:none}}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.encounter-reward-overlay{padding:6px}.encounter-reward-window{flex-direction:column;width:min(96vw,980px);height:min(100svh - 12px,520px);max-height:calc(100svh - 12px);padding:12px 14px 9px;display:flex;overflow:hidden}.encounter-reward-window>header{flex:none;min-height:0;padding-bottom:8px}.encounter-reward-window header small{letter-spacing:.12em;font-size:7px}.encounter-reward-window h2{margin:2px 0 0;font-size:18px}.encounter-reward-window header strong{padding:6px 9px;font-size:11px}.encounter-reward-window>p{white-space:nowrap;text-overflow:ellipsis;flex:none;margin:7px 0 9px;font-size:8px;line-height:1.35;overflow:hidden}.encounter-reward-cards{flex:auto;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:9px;min-height:0}.encounter-reward-card{height:100%;min-height:0;padding:8px;overflow:hidden}.encounter-reward-card>div{font-size:7px}.encounter-reward-card>div em{width:23px;height:23px;font-size:9px}.encounter-reward-window .encounter-reward-card>.card-artwork{flex:0 0 clamp(54px,16svh,90px);width:calc(100% + 16px);height:clamp(54px,16svh,90px);margin:6px -8px 0}.encounter-reward-window .encounter-reward-card>.card-mark{width:30px;height:30px;margin:5px auto 4px}.encounter-reward-card h3{white-space:nowrap;text-overflow:ellipsis;margin:0 0 4px;font-size:11px;line-height:1.2;overflow:hidden}.encounter-reward-card>p{scrollbar-width:thin;flex:auto;min-height:0;margin:0;font-size:7px;line-height:1.35;overflow:auto}.encounter-reward-card>strong{flex:none;place-items:center;min-height:28px;margin-top:6px;padding:6px;font-size:8px;display:grid}.encounter-reward-window>footer{flex:none;margin-top:7px;padding-top:6px;font-size:7px}}html.manual-landscape .encounter-reward-window{flex-direction:column;width:min(96%,980px);height:min(100% - 12px,520px);max-height:calc(100% - 12px);padding:12px 14px 9px;display:flex;overflow:hidden}html.manual-landscape .encounter-reward-window>header{flex:none;min-height:0;padding-bottom:8px}html.manual-landscape .encounter-reward-window header small{letter-spacing:.12em;font-size:7px}html.manual-landscape .encounter-reward-window h2{margin:2px 0 0;font-size:18px}html.manual-landscape .encounter-reward-window header strong{padding:6px 9px;font-size:11px}html.manual-landscape .encounter-reward-window>p{white-space:nowrap;text-overflow:ellipsis;flex:none;margin:7px 0 9px;font-size:8px;line-height:1.35;overflow:hidden}html.manual-landscape .encounter-reward-cards{flex:auto;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:9px;min-height:0}html.manual-landscape .encounter-reward-card{height:100%;min-height:0;padding:8px;overflow:hidden}html.manual-landscape .encounter-reward-card>div{font-size:7px}html.manual-landscape .encounter-reward-card>div em{width:23px;height:23px;font-size:9px}html.manual-landscape .encounter-reward-window .encounter-reward-card>.card-artwork{flex:0 0 clamp(54px,16vh,90px);width:calc(100% + 16px);height:clamp(54px,16vh,90px);margin:6px -8px 0}html.manual-landscape .encounter-reward-window .encounter-reward-card>.card-mark{width:30px;height:30px;margin:5px auto 4px}html.manual-landscape .encounter-reward-card h3{white-space:nowrap;text-overflow:ellipsis;margin:0 0 4px;font-size:11px;line-height:1.2;overflow:hidden}html.manual-landscape .encounter-reward-card>p{scrollbar-width:thin;flex:auto;min-height:0;margin:0;font-size:7px;line-height:1.35;overflow:auto}html.manual-landscape .encounter-reward-card>strong{flex:none;place-items:center;min-height:28px;margin-top:6px;padding:6px;font-size:8px;display:grid}html.manual-landscape .encounter-reward-window>footer{flex:none;margin-top:7px;padding-top:6px;font-size:7px}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.encounter-reward-overlay{padding:8px}.encounter-reward-overlay .encounter-reward-window{box-sizing:border-box;width:min(94vw,920px);height:min(100svh - 16px,460px);max-height:calc(100svh - 16px);padding:12px 14px 9px}.encounter-reward-overlay .encounter-reward-cards{grid-template-columns:repeat(3,minmax(0,240px));justify-content:center;gap:10px}.encounter-reward-overlay .encounter-reward-card{box-sizing:border-box;width:auto;max-width:240px;height:100%;min-height:0;padding:8px}.encounter-reward-overlay .encounter-reward-card>.card-artwork{flex-basis:84px;width:calc(100% + 16px);height:84px;margin:6px -8px 0}.encounter-reward-overlay .encounter-reward-card>.card-mark{width:30px;height:30px;margin:5px auto 4px}.encounter-reward-overlay .encounter-reward-card h3{font-size:11px}.encounter-reward-overlay .encounter-reward-card>p{font-size:7px;line-height:1.35}}html.manual-landscape .encounter-reward-overlay{padding:8px}html.manual-landscape .encounter-reward-overlay .encounter-reward-window{box-sizing:border-box;width:min(94%,920px);height:min(100% - 16px,460px);max-height:calc(100% - 16px);padding:12px 14px 9px}html.manual-landscape .encounter-reward-overlay .encounter-reward-cards{grid-template-columns:repeat(3,minmax(0,240px));justify-content:center;gap:10px}html.manual-landscape .encounter-reward-overlay .encounter-reward-card{box-sizing:border-box;width:auto;max-width:240px;height:100%;min-height:0;padding:8px}html.manual-landscape .encounter-reward-overlay .encounter-reward-card>.card-artwork{flex-basis:84px;width:calc(100% + 16px);height:84px;margin:6px -8px 0}html.manual-landscape .encounter-reward-overlay .encounter-reward-card>.card-mark{width:30px;height:30px;margin:5px auto 4px}html.manual-landscape .encounter-reward-overlay .encounter-reward-card h3{font-size:11px}html.manual-landscape .encounter-reward-overlay .encounter-reward-card>p{font-size:7px;line-height:1.35}.mobile-battle-resource-summary{display:none}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.deck-zone:not(.remote-deck-zone)>header>span{display:none}.deck-zone .battle-action-stack{box-sizing:border-box;width:min(26%,560px);min-width:148px;max-width:220px;bottom:10px;left:31%;right:auto}.deck-zone .battle-action-stack .mobile-battle-resource-summary{box-sizing:border-box;color:#aeb9ca;white-space:nowrap;text-overflow:ellipsis;background:#101824e8;border:1px solid #3e4b61;justify-content:center;align-items:center;width:100%;min-height:28px;padding:5px 7px;font-size:7px;line-height:1.2;display:flex;overflow:hidden}.deck-zone .battle-action-stack .pass-action,.deck-zone .battle-action-stack .flee-action{box-sizing:border-box;width:100%;min-width:0}.deck-zone .battle-action-stack .jelina-mode-toggle{box-sizing:border-box;justify-content:center;align-self:stretch;width:100%;max-width:none}}html.manual-landscape .deck-zone .battle-action-stack{box-sizing:border-box;width:min(26%,560px);min-width:148px;max-width:220px;bottom:10px;left:31%;right:auto}html.manual-landscape .deck-zone .battle-action-stack .mobile-battle-resource-summary{box-sizing:border-box;color:#aeb9ca;white-space:nowrap;text-overflow:ellipsis;background:#101824e8;border:1px solid #3e4b61;justify-content:center;align-items:center;width:100%;min-height:28px;padding:5px 7px;font-size:7px;line-height:1.2;display:flex;overflow:hidden}html.manual-landscape .deck-zone .battle-action-stack .pass-action,html.manual-landscape .deck-zone .battle-action-stack .flee-action{box-sizing:border-box;width:100%;min-width:0}html.manual-landscape .deck-zone .battle-action-stack .jelina-mode-toggle{box-sizing:border-box;justify-content:center;align-self:stretch;width:100%;max-width:none}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.deck-zone .battle-action-stack{z-index:70;flex-direction:column;align-items:stretch;gap:5px;width:min(26%,560px);min-width:150px;display:flex;position:absolute;inset:auto auto 10px 31%}.deck-zone .battle-action-stack .pass-action,.deck-zone .battle-action-stack .flee-action{white-space:nowrap;touch-action:manipulation;width:100%;min-width:0;min-height:32px;margin:0;padding:5px 7px;font-size:7px;position:static}.deck-zone .battle-action-stack .jelina-mode-toggle{white-space:nowrap;gap:4px;width:100%;min-width:0;max-width:none;margin:0;padding:4px 6px;font-size:6px;position:static}.deck-zone .battle-action-stack .jelina-mode-toggle button{padding:3px 5px}.deck-zone .battle-action-stack .jelina-mode-toggle small{display:none}}html.manual-landscape .deck-zone:not(.remote-deck-zone)>header>span{display:none!important}html.manual-landscape .deck-zone .battle-action-stack{z-index:70;flex-direction:column;align-items:stretch;gap:5px;width:min(26%,560px);min-width:150px;display:flex;position:absolute;inset:auto auto 10px 31%}html.manual-landscape .deck-zone .battle-action-stack .pass-action,html.manual-landscape .deck-zone .battle-action-stack .flee-action{white-space:nowrap;touch-action:manipulation;width:100%;min-width:0;min-height:32px;margin:0;padding:5px 7px;font-size:7px;position:static}html.manual-landscape .deck-zone .battle-action-stack .jelina-mode-toggle{white-space:nowrap;gap:4px;width:100%;min-width:0;max-width:none;margin:0;padding:4px 6px;font-size:6px;position:static}html.manual-landscape .deck-zone .battle-action-stack .jelina-mode-toggle button{padding:3px 5px}html.manual-landscape .deck-zone .battle-action-stack .jelina-mode-toggle small{display:none}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.battle-stage>.battle-action-stack{z-index:72;flex-direction:column;align-items:stretch;gap:4px;width:168px;max-height:154px;display:flex;position:absolute;inset:auto auto 8px 258px}.battle-stage>.battle-action-stack .mobile-battle-resource-summary{box-sizing:border-box;color:#aeb9ca;white-space:nowrap;text-overflow:ellipsis;background:#101824f2;border:1px solid #3e4b61;justify-content:center;align-items:center;min-height:26px;padding:4px 6px;font-size:6px;line-height:1.2;display:flex;overflow:hidden}.battle-stage>.battle-action-stack .pass-action,.battle-stage>.battle-action-stack .flee-action{box-sizing:border-box;white-space:nowrap;touch-action:manipulation;width:100%;min-width:0;min-height:29px;margin:0;padding:4px 6px;font-size:7px;position:static}.battle-stage>.battle-action-stack .jelina-mode-toggle{box-sizing:border-box;white-space:nowrap;justify-content:center;gap:3px;width:100%;max-width:none;min-height:29px;margin:0;padding:3px 5px;font-size:6px;position:static}.battle-title,.enemy-command-cluster{top:calc(var(--mobile-enemy-cluster-top,62px) + var(--mobile-topbar-offset,0px));transition:top .22s cubic-bezier(.2,.78,.28,1)}.mobile-topbar-dragging .battle-title,.mobile-topbar-dragging .enemy-command-cluster{transition:none}.encounter-reward-overlay .encounter-reward-window{box-sizing:border-box;width:min(92vw,860px);height:auto;max-height:calc(100svh - 16px);padding:10px 12px 8px;overflow:hidden}.encounter-reward-overlay .encounter-reward-cards{grid-template-columns:repeat(3,minmax(0,210px));justify-content:center;align-items:stretch;gap:8px;height:220px}.encounter-reward-overlay .encounter-reward-card{box-sizing:border-box;width:auto;max-width:210px;height:220px;min-height:0;padding:7px;overflow:hidden}.encounter-reward-overlay .encounter-reward-card>.card-artwork{flex:0 0 60px;width:calc(100% + 14px);height:60px;margin:5px -7px 0}.encounter-reward-overlay .encounter-reward-card>p{-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:0;margin:0;font-size:6px;line-height:1.35;display:-webkit-box;overflow:hidden}}html.manual-landscape .battle-stage>.battle-action-stack{z-index:72;flex-direction:column;align-items:stretch;gap:4px;width:168px;max-height:154px;display:flex;position:absolute;inset:auto auto 8px 258px}html.manual-landscape .battle-stage>.battle-action-stack .mobile-battle-resource-summary{box-sizing:border-box;color:#aeb9ca;white-space:nowrap;text-overflow:ellipsis;background:#101824f2;border:1px solid #3e4b61;justify-content:center;align-items:center;min-height:26px;padding:4px 6px;font-size:6px;line-height:1.2;display:flex;overflow:hidden}html.manual-landscape .battle-stage>.battle-action-stack .pass-action,html.manual-landscape .battle-stage>.battle-action-stack .flee-action{box-sizing:border-box;white-space:nowrap;touch-action:manipulation;width:100%;min-width:0;min-height:29px;margin:0;padding:4px 6px;font-size:7px;position:static}html.manual-landscape .battle-stage>.battle-action-stack .jelina-mode-toggle{box-sizing:border-box;white-space:nowrap;justify-content:center;gap:3px;width:100%;max-width:none;min-height:29px;margin:0;padding:3px 5px;font-size:6px;position:static}html.manual-landscape .battle-title,html.manual-landscape .enemy-command-cluster{top:calc(var(--mobile-enemy-cluster-top,62px) + var(--mobile-topbar-offset,0px));transition:top .22s cubic-bezier(.2,.78,.28,1)}html.manual-landscape .mobile-topbar-dragging .battle-title,html.manual-landscape .mobile-topbar-dragging .enemy-command-cluster{transition:none}html.manual-landscape .encounter-reward-overlay .encounter-reward-window{box-sizing:border-box;width:min(92%,860px);height:auto;max-height:calc(100% - 16px);padding:10px 12px 8px;overflow:hidden}html.manual-landscape .encounter-reward-overlay .encounter-reward-cards{grid-template-columns:repeat(3,minmax(0,210px));justify-content:center;align-items:stretch;gap:8px;height:220px}html.manual-landscape .encounter-reward-overlay .encounter-reward-card{box-sizing:border-box;width:auto;max-width:210px;height:220px;min-height:0;padding:7px;overflow:hidden}html.manual-landscape .encounter-reward-overlay .encounter-reward-card>.card-artwork{flex:0 0 60px;width:calc(100% + 14px);height:60px;margin:5px -7px 0}html.manual-landscape .encounter-reward-overlay .encounter-reward-card>p{-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:0;margin:0;font-size:6px;line-height:1.35;display:-webkit-box;overflow:hidden}.character-mechanic-fx{z-index:4;pointer-events:none;contain:paint;--fx:#9edfff;--fx-soft:#5b8cff;position:absolute;inset:0;overflow:hidden}.character-mechanic-fx .mechanic-core,.character-mechanic-fx .mechanic-units{position:absolute;inset:0}.character-mechanic-fx .mechanic-units i{width:12px;height:12px;filter:drop-shadow(0 0 5px var(--fx));animation:2.2s ease-in-out infinite mechanic-float;display:block;position:absolute}.character-mechanic-fx .mechanic-units i:nth-child(2){animation-delay:-.31s}.character-mechanic-fx .mechanic-units i:nth-child(3){animation-delay:-.62s}.character-mechanic-fx .mechanic-units i:nth-child(4){animation-delay:-.93s}.character-mechanic-fx .mechanic-units i:nth-child(5){animation-delay:-1.24s}.character-mechanic-fx .mechanic-units i:nth-child(6){animation-delay:-1.55s}.character-mechanic-fx .mechanic-units i:nth-child(7){animation-delay:-1.86s}.character-mechanic-fx .mechanic-units i:nth-child(8){animation-delay:-2.17s}.battle-portrait figcaption{z-index:8}.battle-portrait .shield-break-effect{z-index:9}@keyframes mechanic-float{0%,to{opacity:.68;transform:translateY(0)scale(.92)}50%{opacity:1;transform:translateY(-6px)scale(1.08)}}@keyframes mechanic-pulse{0%,to{opacity:.35;transform:scale(.88)}50%{opacity:.9;transform:scale(1.06)}}@keyframes mechanic-spin{to{transform:rotate(360deg)}}@keyframes mechanic-flicker{0%,to{opacity:.55;filter:drop-shadow(0 0 4px var(--fx))}35%{opacity:1;filter:drop-shadow(0 0 10px var(--fx))}70%{opacity:.72}}@keyframes mechanic-orbit{0%{transform:rotate(0)translate(34px)rotate(0)}to{transform:rotate(360deg)translate(34px)rotate(-360deg)}}.mechanic-starscar .mechanic-core{opacity:.7;background:linear-gradient(128deg,#0000 45%,#ff7786 48%,#fff 50%,#ff5165 52%,#0000 55%);width:84%;height:62%;animation:1.7s ease-in-out infinite mechanic-flicker;inset:8% auto auto 8%}.mechanic-starscar .mechanic-units i{clip-path:polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%);background:#fff;top:20%;left:15%}.mechanic-arcane .mechanic-core{border:1px solid #bca7ff99;border-radius:50%;animation:7s linear infinite mechanic-spin;inset:11% 13% 28%;box-shadow:inset 0 0 16px #7f5cff55,0 0 12px #9e7cff55}.mechanic-arcane .mechanic-core:before,.mechanic-arcane .mechanic-core:after{content:"";border:1px dashed #d8ceff88;position:absolute;inset:12%;transform:rotate(45deg)}.mechanic-arcane .mechanic-core:after{border-style:solid;border-radius:50%;inset:30%}.mechanic-arcane .mechanic-units i{border:2px solid #e8e1ff;border-radius:50%;top:16%;right:13%;box-shadow:0 0 10px #a98dff}.mechanic-dragon-soul .mechanic-core{background:radial-gradient(circle at 74% 38%,#2ed5d026,#0000 35%)}.mechanic-dragon-soul .mechanic-units i{clip-path:polygon(50% 0,68% 31%,90% 52%,77% 86%,50% 100%,20% 86%,8% 52%,35% 34%);background:radial-gradient(circle at 50% 68%,#e8ffff 0 12%,#55f4e6 25%,#168b9b 58%,#0000 62%);width:16px;height:23px;animation:1.35s ease-in-out infinite mechanic-flicker,2.1s ease-in-out infinite mechanic-float;top:16%;right:8%}.mechanic-dragon-soul .mechanic-units i:nth-child(2){top:34%;right:25%}.mechanic-dragon-soul .mechanic-units i:nth-child(3){top:16%;right:42%}.mechanic-dragon-soul .mechanic-units i:after{content:"";background:#eaffff;border-radius:50%;width:6px;height:8px;position:absolute;bottom:4px;left:5px;box-shadow:0 0 8px #7ffff3}.mechanic-moon-prayer .mechanic-core{filter:drop-shadow(0 0 8px #6fe2ca);border-radius:50%;width:54%;height:54%;animation:2.8s ease-in-out infinite mechanic-pulse;top:8%;right:8%;box-shadow:-8px 2px 0 -2px #c7fff1}.mechanic-moon-prayer .mechanic-units i{clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);background:#edfffb;top:18%;left:16%}.mechanic-thunder-soul .mechanic-core{background:radial-gradient(circle at 50% 36%,#516eff2f,#0000 52%);animation:1.6s steps(3,end) infinite mechanic-flicker;inset:0}.mechanic-thunder-soul .mechanic-units i{clip-path:polygon(58% 0,100% 0,67% 39%,91% 39%,24% 100%,40% 52%,8% 52%);background:linear-gradient(#e9f3ff,#5d8fff);width:15px;height:30px;top:12%;left:12%}.mechanic-thunder-soul .mechanic-units i:nth-child(2){top:37%;left:41%}.mechanic-thunder-soul .mechanic-units i:nth-child(3){top:12%;left:70%}.mechanic-thunder-soul.variant-last-soul .mechanic-core{background:radial-gradient(circle at 50% 35%,#8ea9ff55,#0000 57%),linear-gradient(#0000,#08102099);animation:1s ease-in-out infinite mechanic-pulse}.mechanic-frost-mirror .mechanic-core{clip-path:polygon(50% 0,92% 24%,100% 72%,50% 100%,0 72%,8% 24%);border:1px solid #bcefff8f;animation:2.6s ease-in-out infinite mechanic-pulse;inset:9% 10% 24%;box-shadow:inset 0 0 18px #76d8ff4d}.mechanic-frost-mirror .mechanic-units i{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:linear-gradient(#effcff,#6ccdf5);width:10px;height:23px;top:12%;left:12%}.mechanic-frost-mirror .mechanic-units i:nth-child(2){top:30%;left:42%}.mechanic-frost-mirror .mechanic-units i:nth-child(3){top:12%;left:72%}.mechanic-frost-mirror.variant-sealed .mechanic-core{filter:drop-shadow(0 0 9px #b9f0ff);border-width:2px}.mechanic-tide .mechanic-core{border:2px solid #63e4ef77;border-radius:50%;animation:3s ease-in-out infinite mechanic-pulse;inset:30% -18% -18%;box-shadow:0 -7px 18px #3bc1df38,inset 0 8px 16px #2db6d633}.mechanic-tide .mechanic-units i{background:linear-gradient(145deg,#efffff,#4dd3e8);border-radius:70% 35% 60% 45%;width:9px;height:15px;top:14%;left:13%;transform:rotate(45deg)}.mechanic-tide .mechanic-units i:nth-child(2){top:30%;left:44%}.mechanic-tide .mechanic-units i:nth-child(3){top:14%;left:75%}.mechanic-tide.variant-surging .mechanic-core{border-width:3px;box-shadow:0 -10px 24px #42deed77,inset 0 10px 20px #1a91c766}.mechanic-blood-seal .mechanic-core{background:conic-gradient(from 20deg,#0000,#8c102933,#0000 35%,#df294744,#0000 70%);border:1px solid #ff5c718f;border-radius:50%;width:55%;height:55%;animation:8s linear infinite mechanic-spin;top:10%;left:13%}.mechanic-blood-seal .mechanic-units i{background:#2a0714a8;border:1px solid #ff7185;width:18px;height:18px;top:14%;left:10%;transform:rotate(45deg);box-shadow:inset 0 0 7px #f32c54}.mechanic-blood-seal .mechanic-units i:nth-child(2){top:31%;left:34%}.mechanic-blood-seal .mechanic-units i:nth-child(3){top:14%;left:58%}.mechanic-blood-seal.variant-puppet .mechanic-core{border-width:2px;box-shadow:0 0 18px #ff254f99,inset 0 0 20px #8e0d32}.mechanic-strength .mechanic-core{clip-path:polygon(0 100%,12% 42%,25% 82%,39% 21%,52% 79%,69% 32%,82% 74%,100% 15%,100% 100%);background:linear-gradient(#0000,#d78e2438);height:32%;inset:auto 4% 22%}.mechanic-strength .mechanic-units i{background:#fff0b6;border-radius:50%;width:9px;height:9px;top:10%;left:7%;box-shadow:0 0 5px #fff,0 0 12px #e6a53d}.mechanic-strength .mechanic-units i:nth-child(2),.mechanic-strength .mechanic-units i:nth-child(6){left:32%}.mechanic-strength .mechanic-units i:nth-child(3),.mechanic-strength .mechanic-units i:nth-child(7){left:57%}.mechanic-strength .mechanic-units i:nth-child(4),.mechanic-strength .mechanic-units i:nth-child(8){left:82%}.mechanic-strength .mechanic-units i:nth-child(n+5){top:34%}.mechanic-strength.variant-army .mechanic-units i{background:#ffe3a0;border-radius:1px;transform:rotate(45deg)}.mechanic-crystal .mechanic-core{clip-path:polygon(50% 0,88% 22%,100% 68%,74% 100%,26% 100%,0 68%,12% 22%);border:1px solid #8de6ff5f;inset:8% 12% 26%;box-shadow:inset 0 0 20px #4eb9ff44}.mechanic-crystal .mechanic-units i{clip-path:polygon(50% 0,100% 36%,70% 100%,20% 84%,0 30%);background:linear-gradient(120deg,#eafcff,#83ddff 42%,#367de5);width:13px;height:25px;top:10%;left:7%}.mechanic-crystal .mechanic-units i:nth-child(2){top:42%;left:45%}.mechanic-crystal .mechanic-units i:nth-child(3){top:10%;left:83%}.mechanic-crystal .mechanic-units i:nth-child(4){top:42%;left:20%}.mechanic-crystal .mechanic-units i:nth-child(5){top:18%;left:65%}.mechanic-crystal.variant-awakened .mechanic-core{filter:drop-shadow(0 0 12px #86ebff);background:radial-gradient(circle,#f2ffff 0 5%,#79e6ff 7%,#3b7ee15c 20%,#0000 42%);animation:1.8s ease-in-out infinite mechanic-pulse}.mechanic-star-vortex .mechanic-core{border:1px solid #a9a2ff82;border-radius:50%;width:68%;height:64%;animation:9s linear infinite mechanic-spin;top:7%;left:12%}.mechanic-star-vortex .mechanic-units i{clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);background:#fff;width:10px;height:10px;animation:4.8s linear infinite mechanic-orbit;top:36%;left:44%}.mechanic-star-vortex .mechanic-units i:nth-child(2){animation-duration:5.4s;animation-delay:-1.1s}.mechanic-star-vortex .mechanic-units i:nth-child(3){animation-duration:6s;animation-delay:-2.2s}.mechanic-star-vortex .mechanic-units i:nth-child(4){animation-duration:6.6s;animation-delay:-3.3s}.mechanic-madness .mechanic-core{background:radial-gradient(circle at 50% 42%,#0000 20%,#7c09202c 62%,#14000873);animation:2s ease-in-out infinite mechanic-flicker;inset:0}.mechanic-madness .mechanic-units i{background:linear-gradient(#27030d,#9e1732);border:1px solid #ff6278;width:10px;height:24px;top:8%;left:7%;transform:rotate(-16deg);box-shadow:0 0 9px #e7284f}.mechanic-madness .mechanic-units i:nth-child(2){top:35%;left:42%;transform:rotate(-8deg)}.mechanic-madness .mechanic-units i:nth-child(3){top:8%;left:77%;transform:rotate(0)}.mechanic-madness .mechanic-units i:nth-child(4){top:35%;left:22%;transform:rotate(8deg)}.mechanic-madness .mechanic-units i:nth-child(5){top:8%;left:62%;transform:rotate(16deg)}.mechanic-madness.variant-demonized .mechanic-core{background:radial-gradient(circle at 50% 34%,#ff3c5d1f,#0000 30%),linear-gradient(#0000,#34000bb3);animation:.85s steps(2,end) infinite mechanic-flicker}.mechanic-madness.variant-demonized .mechanic-units i{background:#d30b35;border-color:#ffd4da}.mechanic-duo-glory .mechanic-core{background:linear-gradient(90deg,#6fb7ff,#fff4bd,#ffd95f);height:1px;animation:2.4s ease-in-out infinite mechanic-pulse;top:27%;left:22%;right:22%;box-shadow:0 0 8px #ffdf72}.mechanic-duo-glory .mechanic-units i{background:#c7ecff;border-radius:50%;width:18px;height:18px;top:20%;box-shadow:0 0 10px #69bfff}.mechanic-duo-glory .mechanic-units i:first-child{left:13%}.mechanic-duo-glory .mechanic-units i:nth-child(2){background:#fff0a6;right:13%;box-shadow:0 0 10px #ffd24f}.mechanic-duo-glory.variant-hanguang .mechanic-units i:first-child,.mechanic-duo-glory.variant-shuya .mechanic-units i:nth-child(2){width:23px;height:23px;filter:drop-shadow(0 0 9px var(--fx)) brightness(1.25)}.mechanic-ink-mark{--fx:#e4c889}.mechanic-ink-mark .mechanic-core{background:linear-gradient(135deg,#17140ee6,#3a3020b8);border:1px solid #d8c18d8c;width:30%;height:48%;top:8%;right:8%;transform:rotate(5deg);box-shadow:-5px 5px #0a0b0b80}.mechanic-ink-mark.variant-ink .mechanic-core{opacity:.25}.mechanic-ink-mark .mechanic-units i{background:radial-gradient(circle,#d6bd7d 0 9%,#17150f 11% 42%,#a88746 45% 51%,#0000 54%);border:1px solid #dec98f;width:18px;height:18px;top:15%;left:8%;transform:rotate(-8deg)}.mechanic-ink-mark .mechanic-units i:nth-child(2){left:35%;transform:rotate(6deg)}.mechanic-ink-mark .mechanic-units i:nth-child(3){left:62%;transform:rotate(20deg)}@media (orientation:landscape) and (height<=600px),(width<=760px){.character-mechanic-fx .mechanic-units i{width:8px;height:8px;filter:drop-shadow(0 0 3px var(--fx))}.mechanic-dragon-soul .mechanic-units i{width:11px;height:17px}.mechanic-thunder-soul .mechanic-units i,.mechanic-frost-mirror .mechanic-units i,.mechanic-crystal .mechanic-units i,.mechanic-madness .mechanic-units i{height:17px}.mechanic-blood-seal .mechanic-units i,.mechanic-duo-glory .mechanic-units i,.mechanic-ink-mark .mechanic-units i{width:12px;height:12px}.mechanic-duo-glory.variant-hanguang .mechanic-units i:first-child,.mechanic-duo-glory.variant-shuya .mechanic-units i:nth-child(2){width:16px;height:16px}}html.manual-landscape .character-mechanic-fx .mechanic-units i{filter:drop-shadow(0 0 3px var(--fx))}@media (prefers-reduced-motion:reduce){.character-mechanic-fx .mechanic-core,.character-mechanic-fx .mechanic-units i{animation:none!important}.character-mechanic-fx .mechanic-units i{opacity:.9}}.mechanic-name-line{justify-content:center;align-items:center;gap:6px;min-width:0;max-width:100%;display:inline-flex}.hero-hud-top .mechanic-name-line{justify-content:flex-start}.enemy-name>.mechanic-name-line{position:relative;left:auto;right:auto}.enemy-name .mechanic-name-line span{font-size:inherit;letter-spacing:normal;position:relative;left:auto}.character-mechanic-fx{z-index:auto;box-sizing:border-box;border:1px solid var(--fx);flex:none;align-items:center;gap:3px;width:auto;min-width:25px;max-width:48px;height:18px;padding:2px 4px;display:inline-flex;position:relative;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.character-mechanic-fx{border:1px solid color-mix(in srgb,var(--fx) 38%,#384256)}}.character-mechanic-fx{box-shadow:inset 0 0 7px var(--fx),0 1px 4px #0008;background:linear-gradient(145deg,#111827f2,#080c13f2);border-radius:4px}@supports (color:color-mix(in lab, red, red)){.character-mechanic-fx{box-shadow:inset 0 0 7px color-mix(in srgb,var(--fx) 13%,transparent),0 1px 4px #0008}}.character-mechanic-fx{pointer-events:none;contain:layout paint;--fx:#9edfff;--fx-soft:#5b8cff}.character-mechanic-fx .mechanic-core,.character-mechanic-fx .mechanic-units{all:unset;box-sizing:border-box;justify-content:center;align-items:center;display:flex;position:relative}.character-mechanic-fx .mechanic-core{background:var(--fx);width:9px;height:9px;filter:drop-shadow(0 0 3px var(--fx));flex:0 0 9px}@supports (color:color-mix(in lab, red, red)){.character-mechanic-fx .mechanic-core{filter:drop-shadow(0 0 3px color-mix(in srgb,var(--fx) 60%,transparent))}}.character-mechanic-fx .mechanic-core{animation:2.8s ease-in-out infinite mechanic-badge-breathe}.character-mechanic-fx .mechanic-core:before,.character-mechanic-fx .mechanic-core:after,.character-mechanic-fx .mechanic-units i:before,.character-mechanic-fx .mechanic-units i:after{content:none}.character-mechanic-fx .mechanic-units{flex-wrap:wrap;gap:2px;max-width:27px}.character-mechanic-fx .mechanic-units i,.character-mechanic-fx .mechanic-units i:nth-child(n){all:unset;box-sizing:border-box;background:var(--fx);width:4px;height:4px;box-shadow:0 0 3px var(--fx);border-radius:50%;display:block;position:relative}@supports (color:color-mix(in lab, red, red)){.character-mechanic-fx .mechanic-units i,.character-mechanic-fx .mechanic-units i:nth-child(n){box-shadow:0 0 3px color-mix(in srgb,var(--fx) 65%,transparent)}}.character-mechanic-fx .mechanic-units i,.character-mechanic-fx .mechanic-units i:nth-child(n){opacity:.82;animation:2.4s ease-in-out infinite mechanic-badge-flicker}.character-mechanic-fx .mechanic-units i:nth-child(2n){animation-delay:-.7s}.character-mechanic-fx .mechanic-units i:nth-child(3n){animation-delay:-1.4s}@keyframes mechanic-badge-breathe{0%,to{opacity:.72;transform:scale(.92)}50%{opacity:1;transform:scale(1)}}@keyframes mechanic-badge-flicker{0%,to{opacity:.58;transform:translateY(0)}50%{opacity:.95;transform:translateY(-1px)}}.mechanic-starscar{--fx:#ff7c88}.mechanic-starscar .mechanic-core,.mechanic-star-vortex .mechanic-core{clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}.mechanic-arcane{--fx:#b9a5ff}.mechanic-arcane .mechanic-core{border:1px solid var(--fx);background:radial-gradient(circle,transparent 28%,var(--fx) 34% 44%,transparent 50%);border-radius:50%}.mechanic-dragon-soul{--fx:#62f4e9}.mechanic-dragon-soul .mechanic-core{background:#123b43;border:1px solid #63ded7;border-radius:50%}.mechanic-dragon-soul .mechanic-units{flex-wrap:nowrap;gap:3px;max-width:30px}.mechanic-dragon-soul .mechanic-units i,.mechanic-dragon-soul .mechanic-units i:nth-child(n){clip-path:polygon(50% 0,72% 31%,92% 57%,76% 92%,50% 100%,22% 89%,8% 57%,32% 31%);background:radial-gradient(circle at 50% 65%,#efffff 0 15%,#5cf4e8 22% 50%,#168b9b 67%,#0000 72%);border-radius:50% 50% 55% 55%;width:6px;height:10px;animation:1.7s ease-in-out infinite mechanic-badge-flame}@keyframes mechanic-badge-flame{0%,to{opacity:.72;transform:translateY(1px)scale(.94)}50%{opacity:1;transform:translateY(-1px)scale(1.04)}}.mechanic-moon-prayer{--fx:#cffff2}.mechanic-moon-prayer .mechanic-core{box-shadow:-3px 1px 0 0 var(--fx);background:0 0;border-radius:50%}.mechanic-thunder-soul{--fx:#82a9ff}.mechanic-thunder-soul .mechanic-core{clip-path:polygon(58% 0,100% 0,66% 42%,91% 42%,25% 100%,40% 55%,7% 55%)}.mechanic-frost-mirror{--fx:#a5ebff}.mechanic-frost-mirror .mechanic-core,.mechanic-crystal .mechanic-core{clip-path:polygon(50% 0,100% 45%,70% 100%,25% 88%,0 36%)}.mechanic-tide{--fx:#69e4ef}.mechanic-tide .mechanic-core{border:2px solid var(--fx);background:0 0;border-top-color:#0000;border-left-color:#0000;border-radius:50%;transform:rotate(35deg)}.mechanic-blood-seal{--fx:#ff657b}.mechanic-blood-seal .mechanic-core{border:1px solid var(--fx);background:#43101c;transform:rotate(45deg)}.mechanic-strength{--fx:#f0bc63}.mechanic-strength .mechanic-core{clip-path:polygon(0 100%,20% 48%,38% 76%,58% 18%,100% 100%)}.mechanic-strength .mechanic-units{max-width:23px}.mechanic-crystal{--fx:#7bddff}.mechanic-crystal.variant-awakened .mechanic-core{filter:drop-shadow(0 0 4px #7bddff);background:#e9ffff}.mechanic-star-vortex{--fx:#aaa2ff}.mechanic-star-vortex .mechanic-core{background:#d8d3ff}.mechanic-madness{--fx:#ff506e}.mechanic-madness .mechanic-core{clip-path:polygon(15% 0,100% 8%,78% 100%,0 88%);background:linear-gradient(#ff8193,#a80d30);width:7px}.mechanic-duo-glory{--fx:#ffe49a}.mechanic-duo-glory .mechanic-core{background:linear-gradient(90deg,#8ed0ff 0 43%,#0000 44% 56%,#ffe37c 57%);width:11px}.mechanic-duo-glory.variant-hanguang .mechanic-units i:first-child,.mechanic-duo-glory.variant-shuya .mechanic-units i:nth-child(2){filter:brightness(1.25);width:5px;height:5px}.mechanic-ink-mark{--fx:#e7bd58;background:linear-gradient(145deg,#17130b,#020303 72%);border-color:#c9972f;gap:5px;width:76px;min-width:76px;max-width:76px;padding:2px 6px;box-shadow:inset 0 1px #fff0aa78,inset 0 -1px #5a3a10,inset 0 0 10px #e1ad382c,0 0 7px #d9a13255,0 2px 6px #000c}.mechanic-ink-mark:before{content:"";pointer-events:none;border:1px solid #5e431b;border-radius:2px;position:absolute;inset:1px}.mechanic-ink-mark:after{content:"";pointer-events:none;background:linear-gradient(112deg,#0000 12%,#f4cc6240 42%,#fff3bdc7 49%,#c4861f38 57%,#0000 80%);animation:4.2s ease-in-out infinite ink-gilt-sheen;position:absolute;inset:-1px;transform:translate(-135%)}.mechanic-ink-slots{z-index:1;flex:none;align-items:center;gap:4px;display:flex;position:relative}.mechanic-ink-slots i{box-sizing:border-box;background:radial-gradient(circle at 40% 36%,#242018 0 13%,#080909 42%,#010202 72%);border:1px solid #b88930;border-radius:2px;width:11px;height:11px;display:block;position:relative;transform:rotate(45deg);box-shadow:inset 0 0 0 1px #3f2d12,0 0 3px #b4852744}.mechanic-ink-slots i:after{content:"";background:#020303;border:1px solid #70501f;position:absolute;inset:2px;box-shadow:inset 0 0 3px #000}.mechanic-ink-slots i.active{background:linear-gradient(145deg,#fff0a8,#d5a43b 44%,#6f4813);border-color:#ffe08a;box-shadow:inset 0 0 0 1px #fff0a887,0 0 7px #e1ae43c7}.mechanic-ink-slots i.active:after{background:radial-gradient(circle at 35% 32%,#fff4bd 0 9%,#d6a334 12% 25%,#120f09 30% 64%,#020303 70%);border-color:#201609;box-shadow:inset 0 0 3px #e1b54a66}.mechanic-ink-mark.variant-stored{border-color:#efc85d;box-shadow:inset 0 1px #fff3b8a8,inset 0 -1px #6f4b14,inset 0 0 11px #f0bb3e3d,0 0 9px #e3b44882,0 2px 6px #000d}.mechanic-ink-mark .mechanic-value{z-index:1;color:#ffe28c;text-shadow:0 1px 2px #000,0 0 6px #d89d2e;min-width:22px;font-weight:900;position:relative}@keyframes ink-gilt-sheen{0%,68%{opacity:0;transform:translate(-135%)}77%{opacity:1}92%,to{opacity:0;transform:translate(135%)}}@media (orientation:landscape) and (height<=600px),(width<=760px){.mechanic-name-line{gap:4px}.character-mechanic-fx{gap:2px;min-width:21px;max-width:40px;height:15px;padding:1px 3px}.character-mechanic-fx .mechanic-core{flex-basis:7px;width:7px;height:7px}.character-mechanic-fx .mechanic-units{gap:1px;max-width:23px}.character-mechanic-fx .mechanic-units i,.character-mechanic-fx .mechanic-units i:nth-child(n){width:3px;height:3px}.mechanic-dragon-soul .mechanic-units i,.mechanic-dragon-soul .mechanic-units i:nth-child(n){width:5px;height:8px}.mechanic-strength .mechanic-units{max-width:18px}}html.manual-landscape .mechanic-name-line{gap:4px}html.manual-landscape .character-mechanic-fx{gap:2px;min-width:21px;max-width:40px;height:15px;padding:1px 3px}html.manual-landscape .character-mechanic-fx .mechanic-core{flex-basis:7px;width:7px;height:7px}html.manual-landscape .character-mechanic-fx .mechanic-units{gap:1px;max-width:23px}html.manual-landscape .character-mechanic-fx .mechanic-units i,html.manual-landscape .character-mechanic-fx .mechanic-units i:nth-child(n){width:3px;height:3px}html.manual-landscape .mechanic-dragon-soul .mechanic-units i,html.manual-landscape .mechanic-dragon-soul .mechanic-units i:nth-child(n){width:5px;height:8px}@media (prefers-reduced-motion:reduce){.character-mechanic-fx .mechanic-core,.character-mechanic-fx .mechanic-units i,.mechanic-ink-mark:after{transform:none;animation:none!important}.mechanic-ink-mark:after{display:none}}.combat-summon-slot>span.summon-image-portrait{background:linear-gradient(145deg,#1b1719,#090b10);padding:0;overflow:hidden}.combat-summon-slot>span.summon-image-portrait img{object-fit:cover;width:100%;height:100%;display:block}.combat-summon-slot>span.blood-puppet-portrait img{object-position:50% 30%}.character-mechanic-fx .mechanic-value{min-width:13px;color:var(--fx);text-align:center;letter-spacing:0;text-shadow:0 0 4px var(--fx);font:700 11px/1 ui-monospace,SFMono-Regular,Consolas,monospace}@supports (color:color-mix(in lab, red, red)){.character-mechanic-fx .mechanic-value{text-shadow:0 0 4px color-mix(in srgb,var(--fx) 58%,transparent)}}@media (orientation:landscape) and (height<=600px),(width<=760px){.character-mechanic-fx .mechanic-value{min-width:12px;font-size:10px}}html.manual-landscape .character-mechanic-fx .mechanic-value{min-width:12px;font-size:10px}@media (orientation:landscape) and (height<=600px),(width<=760px){.character-mechanic-fx.mechanic-ink-mark{gap:3px;width:62px;min-width:62px;max-width:62px;padding:1px 4px}.mechanic-ink-slots{gap:3px}.mechanic-ink-slots i{width:8px;height:8px}.mechanic-ink-slots i:after{inset:1px}}html.manual-landscape .character-mechanic-fx.mechanic-ink-mark{gap:3px;width:62px;min-width:62px;max-width:62px;padding:1px 4px}html.manual-landscape .mechanic-ink-slots{gap:3px}html.manual-landscape .mechanic-ink-slots i{width:8px;height:8px}html.manual-landscape .mechanic-ink-slots i:after{inset:1px}.tile.move-preview{z-index:7;isolation:isolate;outline-offset:-3px;outline:2px solid #8fd5ff;animation:1.05s ease-in-out infinite move-preview-breathe;box-shadow:inset 0 0 0 2px #07101bc7,inset 0 0 22px #63c9ff66,0 0 18px #63c9ff99}.tile.move-preview.preview-fall{outline-color:#f1bd59;box-shadow:inset 0 0 0 2px #1c1208d9,inset 0 0 24px #e9a62d72,0 0 20px #efb64ca8}.tile.move-preview.preview-fatal{outline-color:#ff5a58;box-shadow:inset 0 0 0 2px #250507e6,inset 0 0 28px #ef333589,0 0 24px #ff3b42bd}.tile-move-preview{z-index:18;color:#e8f7ff;pointer-events:none;text-align:center;white-space:nowrap;background:#07101aef;border:1px solid #77c9ef;flex-direction:column;gap:2px;width:max-content;max-width:150px;padding:5px 7px;display:flex;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(-50%);box-shadow:0 7px 18px #000c}.tile-move-preview b{font-size:8px}.tile-move-preview small{color:#efc46f;font-size:6px}.preview-fatal .tile-move-preview{color:#fff;background:#25090bea;border-color:#f35b5e}.preview-fatal .tile-move-preview small{color:#ff8e8e}@keyframes move-preview-breathe{50%{filter:brightness(1.22)}}.network-notice{z-index:90;color:#e4edf7;pointer-events:none;letter-spacing:.03em;background:#101927f2;border:1px solid #5d738f;justify-content:center;align-items:center;gap:9px;min-width:260px;max-width:min(520px,100vw - 28px);padding:9px 14px;font-size:10px;font-weight:800;animation:.2s ease-out network-notice-in;display:flex;position:fixed;top:78px;left:50%;transform:translate(-50%);box-shadow:0 12px 34px #000b}.network-notice i{background:#6fddbe;border-radius:50%;flex:none;width:7px;height:7px;box-shadow:0 0 9px #6fddbe}.network-notice.warning{color:#ffe1a2;background:#251b0ef2;border-color:#e1ad58}.network-notice.warning i{background:#f2bc5b;box-shadow:0 0 9px #f2bc5b}.network-notice.offline{color:#ffc3c8;background:#280e15f2;border-color:#d65c69}.network-notice.offline i{background:#f06977;animation:.9s ease-in-out infinite network-offline-pulse;box-shadow:0 0 9px #f06977}@keyframes network-notice-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}@keyframes network-offline-pulse{50%{opacity:.35}}.portrait-feedback{z-index:12;pointer-events:none;flex-direction:column;align-items:center;gap:3px;display:flex;position:absolute;top:16%;left:50%;transform:translate(-50%)}.portrait-feedback b{color:#ff777c;text-align:center;text-shadow:0 0 8px;background:linear-gradient(145deg,#121821ed,#05080ded);border:1px solid;min-width:46px;padding:3px 6px;font:900 15px/1 ui-monospace,SFMono-Regular,Consolas,monospace;animation:.62s cubic-bezier(.2,.76,.24,1) both portrait-feedback-rise;box-shadow:0 3px 10px #000b,inset 0 1px #ffffff18}.portrait-feedback b.true,.portrait-feedback b.absolute{color:#f5fbff;background:linear-gradient(145deg,#263646ed,#0b1017ed)}.portrait-feedback b.absolute{color:#d7c4ff}.portrait-feedback b.shield,.portrait-feedback b.shield-break{color:#7dccff;background:linear-gradient(145deg,#123047ed,#06121ced)}.portrait-feedback b.shield-break{color:#d8f4ff;border-color:#83d9ff;animation:.72s cubic-bezier(.2,.76,.24,1) both portrait-feedback-break;box-shadow:0 0 13px #52baff99,inset 0 1px #fff5}.portrait-feedback b.heal{color:#68efad;background:linear-gradient(145deg,#123523ed,#06150eed)}:is(.battle-portrait:has(.portrait-feedback .true) img,.battle-portrait:has(.portrait-feedback .absolute) img){filter:brightness(1.35)saturate(.55)}.battle-portrait:has(.portrait-feedback .shield) img{box-shadow:inset 0 0 32px #5bbdff}.battle-portrait:has(.portrait-feedback .shield-break) img{box-shadow:inset 0 0 38px #79d5ff99}.battle-portrait:has(.portrait-feedback .heal) img{box-shadow:inset 0 0 34px #47df9266}@keyframes portrait-feedback-rise{0%{opacity:0;transform:translateY(9px)scale(.88)}28%{opacity:1;transform:translateY(0)scale(1.04)}to{opacity:0;transform:translateY(-13px)scale(1)}}@keyframes portrait-feedback-break{0%{opacity:0;transform:scale(.72)rotate(-2deg)}28%{opacity:1;transform:scale(1.12)rotate(1deg)}55%{transform:scale(.98)}to{opacity:0;transform:translateY(-15px)scale(1.03)}}.character-mechanic-fx.change-gain{animation:.68s cubic-bezier(.18,.82,.22,1) mechanic-change-gain}.character-mechanic-fx.change-threshold{animation:.78s ease-out mechanic-change-threshold}.character-mechanic-fx.change-spent{animation:.62s ease-out mechanic-change-spent}@keyframes mechanic-change-gain{0%{transform:scale(.88)}32%{border-color:var(--fx);box-shadow:0 0 12px color-mix(in srgb,var(--fx) 78%,transparent);transform:scale(1.1)}to{transform:scale(1)}}@keyframes mechanic-change-threshold{0%,to{transform:scale(1)}24%,62%{box-shadow:0 0 15px var(--fx),inset 0 0 8px color-mix(in srgb,var(--fx) 35%,transparent);filter:brightness(1.45);border-color:#fff4c5;transform:scale(1.08)}}@keyframes mechanic-change-spent{0%,to{transform:scale(1)}38%{opacity:.28;filter:saturate(.18);transform:scale(.82)}}@media (orientation:landscape) and (height<=600px),(width<=760px){.network-notice{min-width:210px;padding:6px 10px;font-size:7px;top:58px}.tile-move-preview{max-width:108px;padding:3px 5px}.tile-move-preview b{font-size:6px}.tile-move-preview small{font-size:5px}.portrait-feedback{top:10%}.portrait-feedback b{min-width:34px;padding:2px 4px;font-size:10px}}html.manual-landscape .network-notice{min-width:210px;padding:6px 10px;font-size:7px;top:58px}html.manual-landscape .tile-move-preview{max-width:108px;padding:3px 5px}html.manual-landscape .tile-move-preview b{font-size:6px}html.manual-landscape .tile-move-preview small{font-size:5px}html.manual-landscape .portrait-feedback b{min-width:34px;font-size:10px}@media (prefers-reduced-motion:reduce){.tile.move-preview,.network-notice,.network-notice i,.portrait-feedback b,.character-mechanic-fx.change-gain,.character-mechanic-fx.change-threshold,.character-mechanic-fx.change-spent{animation:none!important}.portrait-feedback b{opacity:1;transform:none}}.ultimate-border-card{--ub-a:#e8dca8;--ub-b:#fff;--ub-c:#a87d42;--ub-speed:7.2s;--ub-glow:#ffe19694}.battle-hand button.ultimate-border-card,.selected-card-stage button.ultimate-border-card{isolation:isolate;border-color:var(--ub-a)}@supports (color:color-mix(in lab, red, red)){.battle-hand button.ultimate-border-card,.selected-card-stage button.ultimate-border-card{border-color:color-mix(in srgb,var(--ub-a) 74%,#1c2430)}}.battle-hand button.ultimate-border-card,.selected-card-stage button.ultimate-border-card{box-shadow:0 0 0 1px var(--ub-b),inset 0 0 9px var(--ub-a),0 10px 28px #000a}@supports (color:color-mix(in lab, red, red)){.battle-hand button.ultimate-border-card,.selected-card-stage button.ultimate-border-card{box-shadow:0 0 0 1px color-mix(in srgb,var(--ub-b) 25%,transparent),inset 0 0 9px color-mix(in srgb,var(--ub-a) 12%,transparent),0 10px 28px #000a}}.ultimate-border-card>.card-mark,.ultimate-border-card>em,.ultimate-border-card>b,.ultimate-border-card>small,.ultimate-border-card>strong,.ultimate-border-card>mark{z-index:4}.ultimate-card-border{z-index:3;border:2px solid var(--ub-a);position:absolute;inset:-1px}@supports (color:color-mix(in lab, red, red)){.ultimate-card-border{border:2px solid color-mix(in srgb,var(--ub-a) 82%,transparent)}}.ultimate-card-border{pointer-events:none;background:radial-gradient(circle at 0 0,var(--ub-b),transparent 19%),radial-gradient(circle at 100% 0,var(--ub-a),transparent 19%),radial-gradient(circle at 0 100%,var(--ub-c),transparent 19%),radial-gradient(circle at 100% 100%,var(--ub-b),transparent 19%);border-radius:3px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.ultimate-card-border{background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--ub-b) 58%,transparent),transparent 19%),radial-gradient(circle at 100% 0,color-mix(in srgb,var(--ub-a) 52%,transparent),transparent 19%),radial-gradient(circle at 0 100%,color-mix(in srgb,var(--ub-c) 58%,transparent),transparent 19%),radial-gradient(circle at 100% 100%,color-mix(in srgb,var(--ub-b) 52%,transparent),transparent 19%)}}.ultimate-card-border{box-shadow:inset 0 0 0 1px var(--ub-b),inset 0 0 11px var(--ub-c),0 0 11px var(--ub-glow)}@supports (color:color-mix(in lab, red, red)){.ultimate-card-border{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ub-b) 24%,transparent),inset 0 0 11px color-mix(in srgb,var(--ub-c) 24%,transparent),0 0 11px var(--ub-glow)}}.ultimate-card-border{animation:ultimate-border-frame-breathe calc(var(--ub-speed)*.72) ease-in-out infinite}.ultimate-card-border:before,.ultimate-card-border:after{content:"";z-index:1;pointer-events:none;width:36%;height:30%;filter:drop-shadow(0 0 4px var(--ub-glow));opacity:.9;position:absolute}.ultimate-card-border:before{border-left:3px solid var(--ub-a);border-top:3px solid var(--ub-b);border-radius:3px 0 0;top:1px;left:1px}.ultimate-card-border:after{border-right:3px solid var(--ub-a);border-bottom:3px solid var(--ub-b);border-radius:0 0 3px;bottom:1px;right:1px}.ultimate-border-texture{border:1px solid var(--ub-b);position:absolute;inset:3px}@supports (color:color-mix(in lab, red, red)){.ultimate-border-texture{border:1px solid color-mix(in srgb,var(--ub-b) 58%,transparent)}}.ultimate-border-texture{box-shadow:inset 0 0 5px var(--ub-a);border-radius:2px}@supports (color:color-mix(in lab, red, red)){.ultimate-border-texture{box-shadow:inset 0 0 5px color-mix(in srgb,var(--ub-a) 14%,transparent)}}.ultimate-border-texture{opacity:.62;animation:ultimate-border-breathe calc(var(--ub-speed)*.58) ease-in-out infinite}.ultimate-border-node{z-index:2;border:1px solid var(--ub-b);background:var(--ub-a);width:13px;height:13px;box-shadow:0 0 6px var(--ub-b),0 0 14px var(--ub-glow);animation:ultimate-border-node-pulse calc(var(--ub-speed)*.48) ease-in-out infinite;transform-origin:50%;border-radius:50%;position:absolute;top:5px;left:5px}.ultimate-border-node.node-b{background:var(--ub-c);border-color:var(--ub-a);width:10px;height:10px;animation-delay:calc(var(--ub-speed)*-.24);inset:auto 5px 5px auto}.ultimate-border-node.node-c{animation-delay:calc(var(--ub-speed)*-.12);left:auto;right:5px}.ultimate-border-node.node-d{background:var(--ub-c);border-color:var(--ub-a);width:10px;height:10px;animation-delay:calc(var(--ub-speed)*-.36);top:auto;bottom:5px}.ultimate-border-card.selected .ultimate-card-border,.selected-card-stage .ultimate-border-card .ultimate-card-border{box-shadow:inset 0 0 0 2px var(--ub-a),inset 0 0 10px var(--ub-c),0 0 13px var(--ub-glow)}@supports (color:color-mix(in lab, red, red)){.ultimate-border-card.selected .ultimate-card-border,.selected-card-stage .ultimate-border-card .ultimate-card-border{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ub-a) 78%,#fff),inset 0 0 10px color-mix(in srgb,var(--ub-c) 24%,transparent),0 0 13px var(--ub-glow)}}.ultimate-border-card.selected .ultimate-card-border,.selected-card-stage .ultimate-border-card .ultimate-card-border{filter:brightness(1.18)}.ultimate-border-card.selected .ultimate-border-texture,.selected-card-stage .ultimate-border-card .ultimate-border-texture{opacity:.85}.ultimate-border-card.selected>b,.selected-card-stage .ultimate-border-card>b{text-shadow:0 2px 5px #000,0 0 6px var(--ub-a)}@supports (color:color-mix(in lab, red, red)){.ultimate-border-card.selected>b,.selected-card-stage .ultimate-border-card>b{text-shadow:0 2px 5px #000,0 0 6px color-mix(in srgb,var(--ub-a) 40%,transparent)}}.ultimate-border-card.ultimate-border-disabled{filter:saturate(.45)}.ultimate-border-card.ultimate-border-disabled .ultimate-card-border,.ultimate-border-card.ultimate-border-disabled .ultimate-border-texture,.ultimate-border-card.ultimate-border-disabled .ultimate-border-node{opacity:.26;box-shadow:none;animation:none}.ultimate-border-xiangye{--ub-a:#45bfff;--ub-b:#b5fbff;--ub-c:#164f9a;--ub-speed:12s;--ub-glow:#29bfff99}.battle-hand button.ultimate-border-xiangye,.selected-card-stage button.ultimate-border-xiangye{overflow:visible}.ultimate-border-xiangye .ultimate-card-border{box-shadow:none;background:0 0;border:0;animation:none;inset:0;overflow:visible}.ultimate-border-xiangye .ultimate-card-border:before,.ultimate-border-xiangye .ultimate-card-border:after,.ultimate-border-xiangye .ultimate-border-texture{display:none}.ultimate-border-xiangye:before{z-index:1}.ultimate-border-xiangye>.card-artwork{z-index:2}.ultimate-border-xiangye .ultimate-card-border-back{z-index:0}.ultimate-border-xiangye .ultimate-card-border-front{z-index:7}.ultimate-border-xiangye .ultimate-card-border-front,.ultimate-border-xiangye .ultimate-card-border-back{inset:0;overflow:visible}.ultimate-border-xiangye .ultimate-border-node,.ultimate-border-xiangye .ultimate-border-trail{--xy-path:ellipse(68% 46% at 50% 46%);--xy-duration:12s;--xy-delay:0s;offset-path:var(--xy-path);offset-distance:0%;pointer-events:none;position:absolute;inset:0 auto auto 0}.ultimate-border-xiangye .ultimate-border-node{offset-anchor:50% 50%;offset-rotate:0deg;filter:drop-shadow(0 0 7px #5df3ff)drop-shadow(0 0 16px #087edb);background:-webkit-image-set(url(/effects/xiangye-spectral-skull-v7.optimized.webp) 1x type("image/webp"),url(/effects/xiangye-spectral-skull-v7.png) 1x type("image/png")) 50%/contain no-repeat;background:image-set("/effects/xiangye-spectral-skull-v7.optimized.webp" 1x type("image/webp"),"/effects/xiangye-spectral-skull-v7.png" 1x type("image/png")) 50%/contain no-repeat;width:52px;height:52px;transform:none}.ultimate-border-xiangye .ultimate-border-node:before{display:none}.ultimate-border-xiangye .ultimate-border-trail{offset-anchor:100% 50%;offset-rotate:auto;clip-path:polygon(0 43%,68% 12%,100% 31%,100% 69%,68% 88%,0 57%);filter:blur(2px)drop-shadow(0 0 8px #159cff);background:linear-gradient(90deg,#0000 0%,#007be92e 15%,#0a9ffb80 48%,#36dfffc4 76%,#a2fffffa 100%);border-radius:70% 0 0 70%;width:112px;height:24px;display:block}.ultimate-border-xiangye :is(.node-b,.trail-b){--xy-path:ellipse(70% 43% at 50% 50%);--xy-delay:-4s}.ultimate-border-xiangye :is(.node-c,.trail-c){--xy-path:ellipse(66% 48% at 50% 54%);--xy-delay:-8s}.ultimate-border-xiangye .node-b{width:46px;height:46px}.ultimate-border-xiangye .node-c{width:49px;height:49px}.ultimate-border-xiangye .node-d{display:none}.ultimate-border-xiangye .ultimate-card-border-front :is(.ultimate-border-node,.ultimate-border-trail){animation:xiangye-fixed-orbit var(--xy-duration) linear var(--xy-delay) infinite,xiangye-front-plane var(--xy-duration) linear var(--xy-delay) infinite}.ultimate-border-xiangye .ultimate-card-border-back :is(.ultimate-border-node,.ultimate-border-trail){animation:xiangye-fixed-orbit var(--xy-duration) linear var(--xy-delay) infinite,xiangye-back-plane var(--xy-duration) linear var(--xy-delay) infinite}.ultimate-border-xiangye .ultimate-card-border-front .ultimate-border-node{filter:drop-shadow(0 0 8px #82f8ff)drop-shadow(0 0 19px #0789ed)}.ultimate-border-xiangye .ultimate-card-border-back .ultimate-border-node{filter:brightness(.62)saturate(.74)drop-shadow(0 0 5px #087edb)}.ultimate-border-xiangye .ultimate-card-border-back .ultimate-border-trail{filter:blur(2.6px)brightness(.56)drop-shadow(0 0 5px #087edb)}.ultimate-border-card.selected.ultimate-border-xiangye .ultimate-border-node,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .ultimate-border-node{width:68px;height:68px}.ultimate-border-card.selected.ultimate-border-xiangye .node-b,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .node-b{width:60px;height:60px}.ultimate-border-card.selected.ultimate-border-xiangye .node-c,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .node-c{width:64px;height:64px}.ultimate-border-card.selected.ultimate-border-xiangye .ultimate-border-trail,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .ultimate-border-trail{filter:blur(2.4px)drop-shadow(0 0 11px #159cff);width:150px;height:34px}@keyframes xiangye-fixed-orbit{0%{offset-distance:0%}to{offset-distance:100%}}@keyframes xiangye-front-plane{0%{opacity:1}47%{opacity:1}49.2%{opacity:0}97%{opacity:0}99.2%,to{opacity:1}}@keyframes xiangye-back-plane{0%{opacity:0}47%{opacity:0}49.2%{opacity:.52}97%{opacity:.52}99.2%,to{opacity:0}}.ultimate-border-darknight{--ub-a:#8c45ff;--ub-b:#ff456f;--ub-c:#27105c;--ub-speed:3.8s;--ub-glow:#9a39ff88}.ultimate-border-darknight .ultimate-border-texture{border-style:dashed;animation:1.15s steps(2,end) infinite ultimate-border-electric}.ultimate-border-darknight .ultimate-border-node{clip-path:polygon(46% 0,100% 0,63% 39%,92% 39%,18% 100%,39% 55%,5% 55%);background:linear-gradient(#fff,var(--ub-b) 32%,var(--ub-a));border:0;border-radius:0;animation:.62s steps(2,end) infinite ultimate-border-electric}.ultimate-border-lingjing{--ub-a:#79d8ff;--ub-b:#f3ffff;--ub-c:#3873c8;--ub-speed:9.6s;--ub-glow:#75dfff77}.ultimate-border-lingjing .ultimate-border-texture{clip-path:polygon(0 0,48% 0,50% 3%,52% 0,100% 0,100% 48%,97% 50%,100% 52%,100% 100%,52% 100%,50% 97%,48% 100%,0 100%,0 52%,3% 50%,0 48%);border-style:double}.ultimate-border-lingjing .ultimate-border-node{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:linear-gradient(135deg,#fff 0 22%,var(--ub-a) 23% 55%,var(--ub-c) 56%);border-radius:1px}.ultimate-border-qingli{--ub-a:#3dd8e8;--ub-b:#d8ffff;--ub-c:#247bb8;--ub-speed:7.8s;--ub-glow:#37dfee66}.ultimate-border-qingli .ultimate-border-texture{border-style:dotted;border-radius:8px;animation:2.6s ease-in-out infinite ultimate-border-water}.ultimate-border-qingli .ultimate-border-node{box-shadow:inset 1px 1px 2px #fff,0 0 9px var(--ub-a);background:#5ff3f466;border:2px solid #dfffff;border-radius:50%}.ultimate-border-qingli .node-b,.ultimate-border-qingli .node-d{background:0 0}.ultimate-border-songyingxing{--ub-a:#bd233f;--ub-b:#f46b75;--ub-c:#9b6a31;--ub-speed:6.6s;--ub-glow:#c51d3f77}.ultimate-border-songyingxing .ultimate-border-texture{border-style:dashed;border-color:#a56b38;box-shadow:inset 0 0 6px #7d132d55}.ultimate-border-songyingxing .node-a,.ultimate-border-songyingxing .node-c{clip-path:polygon(50% 0,88% 53%,80% 83%,50% 100%,20% 83%,12% 53%);background:linear-gradient(#ff7581,#9e0d2d);border:0}.ultimate-border-songyingxing .node-b,.ultimate-border-songyingxing .node-d{background:#27181a;border:2px dotted #e2a45f;box-shadow:0 0 0 1px #8f1c32,0 0 9px #b76d35}.ultimate-border-liuguanyi{--ub-a:#e1a63b;--ub-b:#fff0a6;--ub-c:#876020;--ub-speed:7s;--ub-glow:#d59c3c77}.ultimate-border-liuguanyi .ultimate-border-texture{border-style:double;border-width:2px;animation:2.2s ease-out infinite ultimate-border-force}.ultimate-border-liuguanyi .ultimate-border-node{background:linear-gradient(135deg,#fff5bd,#b36e1e);border-radius:2px;transform:rotate(45deg);box-shadow:0 0 0 2px #81501788,0 0 10px #f2c14e}.ultimate-border-liuguanyi .node-b,.ultimate-border-liuguanyi .node-d{background:#fff2b1;border-radius:50%}.ultimate-border-jelina{--ub-a:#5f8fff;--ub-b:#ecf8ff;--ub-c:#8d55e8;--ub-speed:8.4s;--ub-glow:#719fff77}.ultimate-border-jelina .ultimate-border-texture{border-style:double;box-shadow:inset 0 0 7px #667cff44}.ultimate-border-jelina .ultimate-border-node{clip-path:polygon(50% 0,90% 28%,100% 72%,50% 100%,0 72%,10% 28%);background:linear-gradient(135deg,#fff 0 24%,#73c7ff 25% 55%,#7451d4 56%);border:0;border-radius:0;width:11px;height:11px}.ultimate-border-xingyu{--ub-a:#6c63ff;--ub-b:#f8e9ff;--ub-c:#343bb8;--ub-speed:10.4s;--ub-glow:#7565ff88}.ultimate-border-xingyu .ultimate-border-texture{border-style:dotted}.ultimate-border-xingyu .ultimate-border-node{clip-path:polygon(50% 0,61% 36%,100% 50%,61% 64%,50% 100%,39% 64%,0 50%,39% 36%);width:15px;height:15px;box-shadow:0 0 6px #fff,0 0 14px var(--ub-a);background:#fff;border:0;border-radius:0}.ultimate-border-xingyu .node-b,.ultimate-border-xingyu .node-d{background:#909cff;width:10px;height:10px}.ultimate-border-lizhang{--ub-a:#a33bdb;--ub-b:#ff574f;--ub-c:#3d145d;--ub-speed:5.2s;--ub-glow:#bc2ccc77}.ultimate-border-lizhang .ultimate-border-texture{border-style:dashed;animation:1.7s steps(2,end) infinite ultimate-border-talisman}.ultimate-border-lizhang .ultimate-border-node{background:repeating-linear-gradient(#5c123c 0 3px,#f0444a 4px 6px);border-color:#ffb275;border-radius:1px;width:10px;height:18px;box-shadow:0 0 9px #c53dff}.ultimate-border-lizhang .node-b,.ultimate-border-lizhang .node-d{background:#5a116c;border-color:#d664ff}.ultimate-border-duo{--ub-a:#f4ba45;--ub-b:#fff;--ub-c:#8ba9ff;--ub-speed:7.4s;--ub-glow:#f5ce6f77}.ultimate-border-duo .ultimate-border-texture{border-style:double;border-color:#f4ba45 #dce6ff #dce6ff #f4ba45}.ultimate-border-duo .node-a,.ultimate-border-duo .node-c{background:#ffd96a;border-color:#fff2b2;box-shadow:0 0 10px #ffc64f}.ultimate-border-duo .node-b,.ultimate-border-duo .node-d{background:#e8eeff;border-color:#9fbdff;width:13px;height:13px;box-shadow:0 0 10px #a9c5ff}.ultimate-border-yanzhou{--ub-a:#080403;--ub-b:#f0ad45;--ub-c:#521c14;--ub-speed:6.4s;--ub-glow:#f0ad456b}.battle-hand button.ultimate-border-yanzhou,.selected-card-stage button.ultimate-border-yanzhou{outline-offset:3px;outline:4px solid #050302;overflow:visible;box-shadow:inset 0 0 0 2px #4a1914,inset 0 0 10px #1d0706,0 0 0 5px #050302,0 12px 32px #000c}.ultimate-border-card.selected.ultimate-border-yanzhou,.selected-card-stage button.ultimate-border-yanzhou{box-shadow:inset 0 0 0 3px #5a2018,inset 0 0 12px #260b08,0 0 0 1px #8c4a29,0 0 0 6px #050302,0 16px 38px #000d,0 0 30px #f0ad4570}.battle-hand:has(button.ultimate-border-yanzhou){padding-top:10px;padding-inline:12px}.ultimate-border-yanzhou .ultimate-card-border{box-shadow:none;opacity:.98;filter:brightness(.63)saturate(.45)contrast(1.15)drop-shadow(0 0 4px #000);animation:yanzhou-ink-gilt-breathe var(--ub-speed) ease-in-out infinite;background:-webkit-image-set(url(/effects/yanzhou-ink-gilt-border-v2.optimized.webp) 1x type("image/webp"),url(/effects/yanzhou-ink-gilt-border-v2.png) 1x type("image/png")) 50%/100% 100% no-repeat;background:image-set("/effects/yanzhou-ink-gilt-border-v2.optimized.webp" 1x type("image/webp"),"/effects/yanzhou-ink-gilt-border-v2.png" 1x type("image/png")) 50%/100% 100% no-repeat;border:0;inset:-9px;overflow:visible}.ultimate-border-yanzhou .ultimate-card-border:before,.ultimate-border-yanzhou .ultimate-card-border:after{display:none}.ultimate-border-yanzhou .ultimate-border-texture{box-shadow:none;opacity:.3;filter:brightness(1.12)saturate(1.14)contrast(1.12)drop-shadow(0 0 3px #f0ad458f);background:-webkit-image-set(url(/effects/yanzhou-ink-gilt-border-v3-gold.optimized.webp) 1x type("image/webp"),url(/effects/yanzhou-ink-gilt-border-v3-gold.png) 1x type("image/png")) 50%/100% 100% no-repeat;background:image-set("/effects/yanzhou-ink-gilt-border-v3-gold.optimized.webp" 1x type("image/webp"),"/effects/yanzhou-ink-gilt-border-v3-gold.png" 1x type("image/png")) 50%/100% 100% no-repeat;border:0;animation:5.6s ease-in-out infinite yanzhou-gold-base-breathe;display:block;inset:0}.ultimate-border-yanzhou .ultimate-border-node{display:none}.ultimate-border-yanzhou .ultimate-border-node.node-a{width:auto;height:auto;box-shadow:none;clip-path:none;opacity:.78;filter:brightness(1.72)saturate(1.34)contrast(1.12)drop-shadow(0 0 9px #ffc660d6);background:-webkit-image-set(url(/effects/yanzhou-ink-gilt-flow-v5.optimized.webp) 1x type("image/webp"),url(/effects/yanzhou-ink-gilt-flow-v5.png) 1x type("image/png")) 50%/100% 100% no-repeat;background:image-set("/effects/yanzhou-ink-gilt-flow-v5.optimized.webp" 1x type("image/webp"),"/effects/yanzhou-ink-gilt-flow-v5.png" 1x type("image/png")) 50%/100% 100% no-repeat;border:0;border-radius:0;display:block;inset:0;transform:none}.selected-card-stage .ultimate-border-card.ultimate-border-yanzhou .ultimate-card-border{inset:-22px}.ultimate-border-card.selected.ultimate-border-yanzhou .ultimate-card-border,.selected-card-stage .ultimate-border-card.ultimate-border-yanzhou .ultimate-card-border{opacity:1;filter:brightness(.76)saturate(.5)contrast(1.22)drop-shadow(0 0 6px #000)}.ultimate-border-card.selected.ultimate-border-yanzhou .ultimate-border-texture,.selected-card-stage .ultimate-border-card.ultimate-border-yanzhou .ultimate-border-texture{opacity:.52;filter:brightness(1.38)saturate(1.26)contrast(1.18)drop-shadow(0 0 7px #ffd27bbd)}.ultimate-border-card.selected.ultimate-border-yanzhou .ultimate-border-node.node-a,.selected-card-stage .ultimate-border-card.ultimate-border-yanzhou .ultimate-border-node.node-a{opacity:1;filter:brightness(2.15)saturate(1.42)contrast(1.16)drop-shadow(0 0 14px #ffe0a0e8)}.ultimate-border-card.ultimate-border-disabled.ultimate-border-yanzhou .ultimate-card-border{opacity:.42;filter:brightness(.46)saturate(.35)}.ultimate-border-card.ultimate-border-disabled.ultimate-border-yanzhou .ultimate-border-texture{opacity:.12;filter:brightness(.62)saturate(.55)}.ultimate-border-card.ultimate-border-disabled.ultimate-border-yanzhou .ultimate-border-node{display:none}@keyframes ultimate-border-frame-breathe{0%,to{opacity:.72;filter:brightness(.88)}50%{opacity:1;filter:brightness(1.16)}}@keyframes ultimate-border-node-pulse{0%,to{opacity:.48}50%{opacity:1}}@keyframes ultimate-border-breathe{0%,to{opacity:.42}50%{opacity:.76}}@keyframes ultimate-border-electric{0%,to{filter:brightness(.72);opacity:.48}45%{filter:brightness(1.55);opacity:.95}52%{filter:brightness(.82);opacity:.58}}@keyframes ultimate-border-water{0%,to{opacity:.42;border-radius:4px}50%{opacity:.78;border-radius:10px}}@keyframes ultimate-border-force{0%{box-shadow:inset 0 0 #e1a63b55}72%,to{box-shadow:inset 0 0 0 5px #0000}}@keyframes ultimate-border-talisman{0%,to{filter:brightness(.75)}48%{filter:brightness(1.3)}52%{filter:brightness(.9)}}@keyframes xiangye-skull-orbit-3d{0%{z-index:0;opacity:.24;top:47%;left:-13%;transform:translate(-50%,-50%)scale(.68)}12.5%{z-index:0;opacity:.3;top:29%;left:5%;transform:translate(-50%,-50%)scale(.72)}25%{z-index:0;opacity:.34;top:19%;left:44%;transform:translate(-50%,-50%)scale(.76)}37.5%{z-index:0;opacity:.3;top:25%;left:86%;transform:translate(-50%,-50%)scale(.72)}49.9%{z-index:0;opacity:.24;top:43%;left:113%;transform:translate(-50%,-50%)scale(.68)}50%{z-index:3;opacity:.8;top:43%;left:113%;transform:translate(-50%,-50%)scale(1)}62.5%{z-index:3;opacity:.9;top:66%;left:95%;transform:translate(-50%,-50%)scale(1.08)}75%{z-index:3;opacity:.96;top:82%;left:55%;transform:translate(-50%,-50%)scale(1.14)}87.5%{z-index:3;opacity:.9;top:74%;left:13%;transform:translate(-50%,-50%)scale(1.08)}99.9%{z-index:3;opacity:.8;top:54%;left:-13%;transform:translate(-50%,-50%)scale(1)}to{z-index:0;opacity:.24;top:47%;left:-13%;transform:translate(-50%,-50%)scale(.68)}}@keyframes xiangye-skull-trail-heading{0%{opacity:.34;transform:translateY(-50%)rotate(-30deg)scaleX(.74)}12.5%{opacity:.4;transform:translateY(-50%)rotate(-16deg)scaleX(.8)}25%{opacity:.44;transform:translateY(-50%)rotate(8deg)scaleX(.86)}37.5%{opacity:.4;transform:translateY(-50%)rotate(31deg)scaleX(.8)}49.9%{opacity:.32;transform:translateY(-50%)rotate(48deg)scaleX(.74)}50%{opacity:.76;transform:translateY(-50%)rotate(132deg)scaleX(1)}62.5%{opacity:.86;transform:translateY(-50%)rotate(157deg)scaleX(1.08)}75%{opacity:.92;transform:translateY(-50%)rotate(-172deg)scaleX(1.16)}87.5%{opacity:.86;transform:translateY(-50%)rotate(-143deg)scaleX(1.08)}99.9%{opacity:.76;transform:translateY(-50%)rotate(-119deg)scaleX(1)}to{opacity:.34;transform:translateY(-50%)rotate(-30deg)scaleX(.74)}}@keyframes xiangye-skull-orbit-a{0%,1.9%{z-index:3;opacity:.96;top:52%;left:-16%;transform:translate(-50%,-50%)scale(1.12)}2%{z-index:0;opacity:.56;top:49%;left:-15%;transform:translate(-50%,-50%)scale(.94)}25%{z-index:0;opacity:.56;top:12%;left:45%;transform:translate(-50%,-50%)scale(.94)}49.9%{z-index:0;opacity:.56;top:37%;left:117%;transform:translate(-50%,-50%)scale(.94)}50%{z-index:3;opacity:.96;top:38%;left:117%;transform:translate(-50%,-50%)scale(1.12)}75%{z-index:3;opacity:.96;top:93%;left:57%;transform:translate(-50%,-50%)scale(1.12)}98%,to{z-index:3;opacity:.96;top:52%;left:-16%;transform:translate(-50%,-50%)scale(1.12)}}@keyframes xiangye-skull-orbit-b{0%,1.9%{z-index:3;opacity:.92;top:70%;left:-18%;transform:translate(-50%,-50%)scale(1.06)}2%{z-index:0;opacity:.52;top:67%;left:-17%;transform:translate(-50%,-50%)scale(.9)}24%{z-index:0;opacity:.52;top:17%;left:34%;transform:translate(-50%,-50%)scale(.9)}49.9%{z-index:0;opacity:.52;top:24%;left:116%;transform:translate(-50%,-50%)scale(.9)}50%{z-index:3;opacity:.92;top:25%;left:117%;transform:translate(-50%,-50%)scale(1.06)}73%{z-index:3;opacity:.92;top:82%;left:72%;transform:translate(-50%,-50%)scale(1.06)}98%,to{z-index:3;opacity:.92;top:70%;left:-18%;transform:translate(-50%,-50%)scale(1.06)}}@keyframes xiangye-skull-orbit-c{0%,1.9%{z-index:3;opacity:.94;top:63%;left:118%;transform:translate(-50%,-50%)scale(1.09)}2%{z-index:0;opacity:.54;top:60%;left:117%;transform:translate(-50%,-50%)scale(.92)}27%{z-index:0;opacity:.54;top:6%;left:61%;transform:translate(-50%,-50%)scale(.92)}49.9%{z-index:0;opacity:.54;top:32%;left:-17%;transform:translate(-50%,-50%)scale(.92)}50%{z-index:3;opacity:.94;top:34%;left:-18%;transform:translate(-50%,-50%)scale(1.09)}74%{z-index:3;opacity:.94;top:89%;left:42%;transform:translate(-50%,-50%)scale(1.09)}98%,to{z-index:3;opacity:.94;top:63%;left:118%;transform:translate(-50%,-50%)scale(1.09)}}@keyframes xiangye-skull-trail-a{0%,2%{opacity:.9;transform:translateY(-50%)rotate(-32deg)}25%{opacity:.58;transform:translateY(-50%)rotate(4deg)}49.9%{opacity:.58;transform:translateY(-50%)rotate(29deg)}50%{opacity:1;transform:translateY(-50%)rotate(142deg)}75%{opacity:1;transform:translateY(-50%)rotate(-173deg)}to{opacity:.9;transform:translateY(-50%)rotate(-128deg)}}@keyframes xiangye-skull-trail-b{0%,2%{opacity:.86;transform:translateY(-50%)rotate(-42deg)}24%{opacity:.54;transform:translateY(-50%)rotate(-8deg)}49.9%{opacity:.54;transform:translateY(-50%)rotate(16deg)}50%{opacity:.96;transform:translateY(-50%)rotate(128deg)}73%{opacity:.96;transform:translateY(-50%)rotate(174deg)}to{opacity:.86;transform:translateY(-50%)rotate(-139deg)}}@keyframes xiangye-skull-trail-c{0%,2%{opacity:.88;transform:translateY(-50%)rotate(-139deg)}27%{opacity:.56;transform:translateY(-50%)rotate(-177deg)}49.9%{opacity:.56;transform:translateY(-50%)rotate(154deg)}50%{opacity:.98;transform:translateY(-50%)rotate(34deg)}74%{opacity:.98;transform:translateY(-50%)rotate(-7deg)}to{opacity:.88;transform:translateY(-50%)rotate(-48deg)}}@keyframes yanzhou-ink-gilt-breathe{0%,to{opacity:.92;filter:brightness(.52)saturate(.38)contrast(1.15)drop-shadow(0 0 3px #000)}50%{opacity:1;filter:brightness(.82)saturate(.54)contrast(1.24)drop-shadow(0 0 7px #000)}}@keyframes yanzhou-gold-base-breathe{0%,to{opacity:.24}50%{opacity:.36}}@media (orientation:landscape) and (height<=600px),(width<=760px){.ultimate-card-border{box-shadow:inset 0 0 0 1px var(--ub-a),0 0 6px var(--ub-glow)}@supports (color:color-mix(in lab, red, red)){.ultimate-card-border{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ub-a) 68%,transparent),0 0 6px color-mix(in srgb,var(--ub-glow) 65%,transparent)}}.ultimate-card-border:before,.ultimate-card-border:after{border-width:2px;width:32%;height:27%}.ultimate-border-texture{opacity:.46;inset:2px}.ultimate-border-node{width:9px;height:9px;box-shadow:0 0 5px var(--ub-glow)}.ultimate-border-xiangye .ultimate-border-node{width:14px;height:18px}.battle-hand button.ultimate-border-yanzhou,.selected-card-stage button.ultimate-border-yanzhou{outline-offset:2px;outline-width:3px}.ultimate-border-yanzhou .ultimate-card-border{opacity:.94;inset:-7px}.ultimate-border-yanzhou .ultimate-border-texture{inset:0}.ultimate-border-yanzhou .ultimate-border-node.node-a{opacity:.68;filter:brightness(1.45)saturate(1.24)contrast(1.1)drop-shadow(0 0 5px #ffc660ad)}.selected-card-stage .ultimate-border-card.ultimate-border-yanzhou .ultimate-card-border{inset:-12px}.ultimate-border-card.selected .ultimate-card-border,.selected-card-stage .ultimate-border-card .ultimate-card-border{box-shadow:inset 0 0 0 1px var(--ub-a),0 0 7px var(--ub-glow)}@supports (color:color-mix(in lab, red, red)){.ultimate-border-card.selected .ultimate-card-border,.selected-card-stage .ultimate-border-card .ultimate-card-border{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ub-a) 80%,#fff),0 0 7px var(--ub-glow)}}.ultimate-border-card.selected.ultimate-border-yanzhou .ultimate-card-border,.selected-card-stage .ultimate-border-card.ultimate-border-yanzhou .ultimate-card-border{box-shadow:none}}html.manual-landscape .ultimate-card-border{box-shadow:inset 0 0 0 1px var(--ub-a),0 0 6px var(--ub-glow)}@supports (color:color-mix(in lab, red, red)){html.manual-landscape .ultimate-card-border{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ub-a) 68%,transparent),0 0 6px color-mix(in srgb,var(--ub-glow) 65%,transparent)}}html.manual-landscape .ultimate-card-border:before,html.manual-landscape .ultimate-card-border:after{border-width:2px;width:32%;height:27%}html.manual-landscape .ultimate-border-texture{opacity:.46;inset:2px}html.manual-landscape .ultimate-border-node{width:9px;height:9px;box-shadow:0 0 5px var(--ub-glow)}html.manual-landscape .battle-hand button.ultimate-border-yanzhou,html.manual-landscape .selected-card-stage button.ultimate-border-yanzhou{outline-offset:2px;outline-width:3px}html.manual-landscape .ultimate-border-yanzhou .ultimate-card-border{opacity:.94;inset:-7px}html.manual-landscape .ultimate-border-yanzhou .ultimate-border-texture{inset:0}html.manual-landscape .ultimate-border-yanzhou .ultimate-border-node.node-a{opacity:.68;filter:brightness(1.45)saturate(1.24)contrast(1.1)drop-shadow(0 0 5px #ffc660ad)}html.manual-landscape .selected-card-stage .ultimate-border-card.ultimate-border-yanzhou .ultimate-card-border{inset:-12px}html.manual-landscape .ultimate-border-card.selected .ultimate-card-border,html.manual-landscape .selected-card-stage .ultimate-border-card .ultimate-card-border{box-shadow:inset 0 0 0 1px var(--ub-a),0 0 7px var(--ub-glow)}@supports (color:color-mix(in lab, red, red)){html.manual-landscape .ultimate-border-card.selected .ultimate-card-border,html.manual-landscape .selected-card-stage .ultimate-border-card .ultimate-card-border{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ub-a) 80%,#fff),0 0 7px var(--ub-glow)}}html.manual-landscape .ultimate-border-card.selected.ultimate-border-yanzhou .ultimate-card-border,html.manual-landscape .selected-card-stage .ultimate-border-card.ultimate-border-yanzhou .ultimate-card-border{box-shadow:none}@media (orientation:landscape) and (height<=600px),(width<=760px){.ultimate-border-xiangye .ultimate-card-border:before,.ultimate-border-xiangye .ultimate-card-border:after{width:126%;height:44%;top:30%;left:-13%}.ultimate-border-xiangye .ultimate-card-border:after{border-width:1px}.ultimate-border-xiangye .ultimate-border-node{filter:drop-shadow(0 0 3px #5be6ff)drop-shadow(0 0 6px #176bd6);width:35px;height:35px}.ultimate-border-xiangye .node-b{width:31px;height:31px}.ultimate-border-xiangye .node-c{width:33px;height:33px}.ultimate-border-card.selected.ultimate-border-xiangye .ultimate-border-node,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .ultimate-border-node{width:46px;height:46px}.ultimate-border-card.selected.ultimate-border-xiangye .node-b,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .node-b{width:40px;height:40px}.ultimate-border-card.selected.ultimate-border-xiangye .node-c,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .node-c{width:43px;height:43px}.ultimate-border-xiangye .ultimate-border-node:before{filter:blur(1.5px)drop-shadow(0 0 5px #188dff);width:62px;height:11px}.ultimate-border-card.selected.ultimate-border-xiangye .ultimate-border-node:before,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .ultimate-border-node:before{width:76px;height:13px}}html.manual-landscape .ultimate-border-xiangye .ultimate-card-border:before,html.manual-landscape .ultimate-border-xiangye .ultimate-card-border:after{width:126%;height:44%;top:30%;left:-13%}html.manual-landscape .ultimate-border-xiangye .ultimate-card-border:after{border-width:1px}html.manual-landscape .ultimate-border-xiangye .ultimate-border-node{filter:drop-shadow(0 0 3px #5be6ff)drop-shadow(0 0 6px #176bd6);width:35px;height:35px}html.manual-landscape .ultimate-border-xiangye .node-b{width:31px;height:31px}html.manual-landscape .ultimate-border-xiangye .node-c{width:33px;height:33px}html.manual-landscape .ultimate-border-card.selected.ultimate-border-xiangye .ultimate-border-node,html.manual-landscape .selected-card-stage .ultimate-border-card.ultimate-border-xiangye .ultimate-border-node{width:46px;height:46px}html.manual-landscape .ultimate-border-card.selected.ultimate-border-xiangye .node-b,html.manual-landscape .selected-card-stage .ultimate-border-card.ultimate-border-xiangye .node-b{width:40px;height:40px}html.manual-landscape .ultimate-border-card.selected.ultimate-border-xiangye .node-c,html.manual-landscape .selected-card-stage .ultimate-border-card.ultimate-border-xiangye .node-c{width:43px;height:43px}html.manual-landscape .ultimate-border-xiangye .ultimate-border-node:before{filter:blur(1.5px)drop-shadow(0 0 5px #188dff);width:62px;height:11px}html.manual-landscape .ultimate-border-card.selected.ultimate-border-xiangye .ultimate-border-node:before,html.manual-landscape .selected-card-stage .ultimate-border-card.ultimate-border-xiangye .ultimate-border-node:before{width:76px;height:13px}@media (orientation:landscape) and (height<=600px),(width<=760px){.ultimate-border-xiangye .ultimate-border-trail{filter:blur(1.6px)drop-shadow(0 0 6px #159cff);width:82px;height:18px}.ultimate-border-card.selected.ultimate-border-xiangye .ultimate-border-trail,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .ultimate-border-trail{width:100px;height:23px}}html.manual-landscape .ultimate-border-xiangye .ultimate-border-trail{filter:blur(1.6px)drop-shadow(0 0 6px #159cff);width:82px;height:18px}html.manual-landscape .ultimate-border-card.selected.ultimate-border-xiangye .ultimate-border-trail,html.manual-landscape .selected-card-stage .ultimate-border-card.ultimate-border-xiangye .ultimate-border-trail{width:100px;height:23px}.ultimate-border-card.ultimate-border-disabled.ultimate-border-xiangye .ultimate-border-trail{opacity:.18;filter:none;animation:none}@media (prefers-reduced-motion:reduce){.ultimate-card-border,.ultimate-border-texture,.ultimate-border-node{animation:none!important}.ultimate-card-border{box-shadow:inset 0 0 0 1px var(--ub-a),0 0 4px var(--ub-glow)}.ultimate-border-node{opacity:.45}.ultimate-border-xiangye .ultimate-card-border{box-shadow:none}.ultimate-border-xiangye .ultimate-border-node{z-index:0;opacity:.36;top:31%;left:8%;transform:translate(-50%,-50%)scale(.72)}.ultimate-border-xiangye .ultimate-border-node.node-b{z-index:3;opacity:.72;inset:68% auto auto 88%;transform:translate(-50%,-50%)scale(.92)}.ultimate-border-xiangye .ultimate-border-node.node-c{z-index:3;opacity:.66;inset:82% auto auto 46%;transform:translate(-50%,-50%)scale(.86)}.ultimate-border-yanzhou .ultimate-card-border{opacity:.96;filter:brightness(.68)saturate(.46)contrast(1.18);box-shadow:none}.ultimate-border-yanzhou .ultimate-border-texture{opacity:.74;filter:brightness(1.8)saturate(1.28)contrast(1.18);box-shadow:none}.ultimate-border-yanzhou .ultimate-border-node.node-a{display:none}.ultimate-border-xiangye .ultimate-border-node:before{opacity:.42;transform:translateY(-50%)rotate(-18deg);animation:none!important}.ultimate-border-xiangye .ultimate-card-border-back{display:none}.ultimate-border-xiangye .ultimate-card-border-front :is(.ultimate-border-node,.ultimate-border-trail){offset-path:none;animation:none!important}.ultimate-border-xiangye .ultimate-card-border-front .ultimate-border-trail{display:none}.ultimate-border-xiangye .ultimate-card-border-front .ultimate-border-node{opacity:.68;transform:translate(-50%,-50%)scale(.88)}.ultimate-border-xiangye .ultimate-card-border-front .node-a{top:24%;left:2%}.ultimate-border-xiangye .ultimate-card-border-front .node-b{top:55%;left:98%}.ultimate-border-xiangye .ultimate-card-border-front .node-c{top:98%;left:48%}}.draft-talents{border-top:1px solid #343a47;min-height:0;margin-top:12px;padding-top:10px}.draft-talents>b{color:var(--draft-accent);letter-spacing:.14em;margin-bottom:7px;font-size:8px;display:block}.draft-talents>div{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--draft-accent) #0b1018;flex-direction:column;gap:6px;max-height:166px;padding-right:5px;display:flex;overflow-y:auto}@supports (color:color-mix(in lab, red, red)){.draft-talents>div{scrollbar-color:color-mix(in srgb,var(--draft-accent) 55%,#526078) #0b1018}}.draft-talents article{border:1px solid #3d4554;border-left:2px solid var(--draft-accent);background:#0c121c;padding:8px 9px}.draft-talents strong{color:#ece9ef;font-size:9px;display:block}.draft-talents p{color:#929cab;margin:4px 0 0;font-size:8px;line-height:1.55}@media (width>=1001px) and (height>=601px){.selected-card-stage{gap:10px;width:clamp(240px,21vw,310px);height:clamp(320px,38vh,400px);top:24%;left:auto;right:9%;transform:none}.selected-card-stage>span{text-align:center;white-space:normal;align-self:stretch;padding:7px 10px;font-size:10px;line-height:1.4}.selected-card-stage button{border-width:2px;padding:20px;box-shadow:0 28px 72px #000e,0 0 38px #ddb45b4d}.selected-card-stage button>em{width:36px;height:36px;font-size:15px;top:13px;right:13px}.selected-card-stage button>b{font-size:18px}.selected-card-stage button>small{margin-top:8px;font-size:11px;line-height:1.55}.selected-card-stage button>strong{margin-top:13px;font-size:9px}.codex-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.codex-card{padding:14px}.codex-card-meta em{width:30px;height:30px;font-size:12px}.codex-card-meta span{font-size:11px}.codex-card-meta strong{overflow-wrap:anywhere;text-align:right;max-width:45%;font-size:9px;line-height:1.25}.codex-card h3{font-size:15px;line-height:1.3}.codex-types{flex-wrap:wrap;justify-content:center;margin:8px 0}.codex-types span{padding:4px 7px;font-size:9px}.codex-card p{overflow-wrap:anywhere;font-size:10px;line-height:1.65}.codex-card>small{font-size:9px}.battle-record header span{font-size:11px;line-height:1.3}.battle-record header b{width:23px;height:23px;font-size:10px}.battle-record p{overflow-wrap:anywhere;padding:8px;font-size:9px;line-height:1.55}.battle-record small{font-size:9px}}.battle-hand button.ultimate-border-card:not(.ultimate-border-yanzhou){border-color:#4a566f;box-shadow:0 10px 28px #000a}.battle-hand button.ultimate-border-card.selected:not(.ultimate-border-yanzhou){border-color:#f0c878;box-shadow:0 0 0 2px #e2b96955,0 12px 30px #000b}.selected-card-stage button.ultimate-border-card:not(.ultimate-border-yanzhou){border-color:#e9c276;box-shadow:0 24px 60px #000c,0 0 30px #ddb45b38}.ultimate-border-card:not(.ultimate-border-yanzhou):not(.ultimate-border-xiangye) .ultimate-card-border{box-shadow:none;background:0 0;border:0;animation:none;overflow:hidden}.ultimate-border-card:not(.ultimate-border-yanzhou):not(.ultimate-border-xiangye) .ultimate-card-border:before,.ultimate-border-card:not(.ultimate-border-yanzhou):not(.ultimate-border-xiangye) .ultimate-card-border:after{display:none}.ultimate-border-card:not(.ultimate-border-yanzhou):not(.ultimate-border-xiangye) .ultimate-border-texture{box-shadow:none;background:linear-gradient(90deg,var(--ub-a),transparent) left top/30% 2px no-repeat, linear-gradient(180deg,var(--ub-b),transparent) left top/2px 24% no-repeat, linear-gradient(270deg,var(--ub-b),transparent) right top/30% 2px no-repeat, linear-gradient(180deg,var(--ub-a),transparent) right top/2px 24% no-repeat, linear-gradient(90deg,var(--ub-c),transparent) left bottom/30% 2px no-repeat, linear-gradient(0deg,var(--ub-a),transparent) left bottom/2px 24% no-repeat, linear-gradient(270deg,var(--ub-a),transparent) right bottom/30% 2px no-repeat, linear-gradient(0deg,var(--ub-b),transparent) right bottom/2px 24% no-repeat;opacity:.68;animation:ultimate-corner-breathe calc(var(--ub-speed)*.58) ease-in-out infinite;border:0;border-radius:0;inset:0}.ultimate-border-card:not(.ultimate-border-yanzhou):not(.ultimate-border-xiangye) .ultimate-border-node{box-shadow:none;filter:drop-shadow(0 0 5px var(--ub-glow));border:0}.ultimate-border-card:not(.ultimate-border-yanzhou):not(.ultimate-border-xiangye) .ultimate-border-node:before{content:"";pointer-events:none;display:block;position:absolute;inset:18%}.ultimate-border-card:not(.ultimate-border-yanzhou):not(.ultimate-border-xiangye).selected .ultimate-border-node,.selected-card-stage .ultimate-border-card:not(.ultimate-border-yanzhou):not(.ultimate-border-xiangye) .ultimate-border-node{filter:brightness(1.24) drop-shadow(0 0 7px var(--ub-glow))}.ultimate-border-card.ultimate-border-xiangye .ultimate-card-border,.ultimate-border-card.ultimate-border-xiangye.selected .ultimate-card-border,.selected-card-stage .ultimate-border-card.ultimate-border-xiangye .ultimate-card-border{box-shadow:none;filter:none;background:0 0;border:0}.ultimate-border-card.ultimate-border-xiangye .ultimate-border-texture{display:none}.ultimate-border-darknight .ultimate-border-texture{background:linear-gradient(118deg,#0000 30%,#ff456f 32% 36%,#0000 38%) 0 0/42% 20% no-repeat,linear-gradient(298deg,#0000 30%,#8c45ff 32% 36%,#0000 38%) 100% 0/42% 20% no-repeat,linear-gradient(62deg,#0000 30%,#8c45ff 32% 36%,#0000 38%) 0 100%/42% 20% no-repeat,linear-gradient(242deg,#0000 30%,#ff456f 32% 36%,#0000 38%) 100% 100%/42% 20% no-repeat}.ultimate-border-darknight .ultimate-border-node{clip-path:polygon(46% 0,100% 0,63% 39%,92% 39%,18% 100%,39% 55%,5% 55%);background:linear-gradient(#fff,#ff456f 35%,#8c45ff);border-radius:0;width:16px;height:20px;animation:.78s steps(2,end) infinite ultimate-thunder-fork}.ultimate-border-darknight .ultimate-border-node:before{display:none}.ultimate-border-lingjing .ultimate-border-texture{background:conic-gradient(from 315deg at 0 0,#f3ffff 0 8deg,#79d8ff 9deg 18deg,transparent 19deg) left top/38% 32% no-repeat, conic-gradient(from 45deg at 100% 0,#f3ffff 0 8deg,#79d8ff 9deg 18deg,transparent 19deg) right top/38% 32% no-repeat, conic-gradient(from 225deg at 0 100%,#3873c8 0 8deg,#79d8ff 9deg 18deg,transparent 19deg) left bottom/38% 32% no-repeat, conic-gradient(from 135deg at 100% 100%,#3873c8 0 8deg,#f3ffff 9deg 18deg,transparent 19deg) right bottom/38% 32% no-repeat}.ultimate-border-lingjing .ultimate-border-node{clip-path:polygon(50% 0,100% 38%,72% 100%,25% 78%,0 34%);background:linear-gradient(135deg,#fff 0 22%,#79d8ff 23% 56%,#3873c8 57%);border-radius:0;width:13px;height:20px;animation:3.1s ease-in-out infinite ultimate-frost-glint}.ultimate-border-lingjing .ultimate-border-node:before{clip-path:polygon(50% 0,100% 100%,0 100%);background:#dfffff;inset:28% 42% -34%}.ultimate-border-qingli .ultimate-border-texture{background:radial-gradient(at 0 0,#0000 0 15%,#d8ffff 16% 18%,#0000 19% 27%,#3dd8e8 28% 30%,#0000 31%) 0 0/42% 32% no-repeat,radial-gradient(at 100% 0,#0000 0 15%,#d8ffff 16% 18%,#0000 19% 27%,#3dd8e8 28% 30%,#0000 31%) 100% 0/42% 32% no-repeat,radial-gradient(at 0 100%,#0000 0 15%,#247bb8 16% 18%,#0000 19% 27%,#3dd8e8 28% 30%,#0000 31%) 0 100%/42% 32% no-repeat,radial-gradient(at 100% 100%,#0000 0 15%,#d8ffff 16% 18%,#0000 19% 27%,#3dd8e8 28% 30%,#0000 31%) 100% 100%/42% 32% no-repeat;animation:2.8s ease-in-out infinite ultimate-water-ripple}.ultimate-border-qingli .ultimate-border-node{background:linear-gradient(145deg,#efffff,#43d9e8 66%,#247bb8);border-radius:72% 28% 64% 36%;width:11px;height:17px;animation:2.4s ease-in-out infinite ultimate-water-drop;transform:rotate(35deg)}.ultimate-border-qingli .ultimate-border-node:before{border:1px solid #d8ffff;border-radius:50%;inset:62% -48% -36%}.ultimate-border-songyingxing .ultimate-border-texture{background:linear-gradient(90deg,#bd233f,#0000) 0 0/34% 2px no-repeat,repeating-linear-gradient(90deg,#9b6a31 0 4px,#0000 4px 8px) 100% 0/34% 2px no-repeat,repeating-linear-gradient(90deg,#9b6a31 0 4px,#0000 4px 8px) 0 100%/34% 2px no-repeat,linear-gradient(270deg,#bd233f,#0000) 100% 100%/34% 2px no-repeat}.ultimate-border-songyingxing .node-a,.ultimate-border-songyingxing .node-c{clip-path:polygon(50% 0,88% 53%,80% 83%,50% 100%,20% 83%,12% 53%);background:linear-gradient(#ff7b86,#9e0d2d);border-radius:54% 46% 58% 42%;width:12px;height:18px;animation:2.1s ease-in-out infinite ultimate-blood-beat}.ultimate-border-songyingxing .node-b,.ultimate-border-songyingxing .node-d{background:repeating-conic-gradient(#f0b568 0 10deg,#3b2418 11deg 28deg);clip-path:polygon(50% 0,61% 18%,82% 9%,88% 31%,100% 50%,82% 61%,91% 82%,68% 88%,50% 100%,39% 82%,18% 91%,12% 68%,0 50%,18% 39%,9% 18%,32% 12%);border-radius:50%;width:15px;height:15px;animation:4.8s steps(12,end) infinite ultimate-cog-tick}.ultimate-border-songyingxing .ultimate-border-node:before{background:#210910;border-radius:50%;inset:35%}.ultimate-border-liuguanyi .ultimate-border-texture{background:repeating-linear-gradient(70deg,#fff0a6 0 2px,#0000 2px 8px) 0 0/38% 12% no-repeat,repeating-linear-gradient(110deg,#e1a63b 0 2px,#0000 2px 8px) 100% 0/38% 12% no-repeat,repeating-linear-gradient(110deg,#876020 0 2px,#0000 2px 8px) 0 100%/38% 12% no-repeat,repeating-linear-gradient(70deg,#fff0a6 0 2px,#0000 2px 8px) 100% 100%/38% 12% no-repeat;animation:2.5s ease-out infinite ultimate-force-throb}.ultimate-border-liuguanyi .ultimate-border-node{background:radial-gradient(circle at 22% 26%,#fff0a6 0 13%,#0000 15%),radial-gradient(circle at 50% 12%,#fff0a6 0 13%,#0000 15%),radial-gradient(circle at 78% 26%,#fff0a6 0 13%,#0000 15%),radial-gradient(at 50% 72%,#c98528 0 31%,#0000 33%);border-radius:45% 45% 52% 52%;width:18px;height:16px;animation:2.5s ease-out infinite ultimate-force-throb;transform:none}.ultimate-border-liuguanyi .ultimate-border-node:before{display:none}.ultimate-border-jelina .ultimate-border-texture{background:conic-gradient(from 225deg at 0 0,#ecf8ff 0 10deg,#5f8fff 11deg 25deg,transparent 26deg) left top/40% 30% no-repeat, conic-gradient(from 315deg at 100% 0,#ecf8ff 0 10deg,#8d55e8 11deg 25deg,transparent 26deg) right top/40% 30% no-repeat, conic-gradient(from 135deg at 0 100%,#5f8fff 0 10deg,#8d55e8 11deg 25deg,transparent 26deg) left bottom/40% 30% no-repeat, conic-gradient(from 45deg at 100% 100%,#ecf8ff 0 10deg,#5f8fff 11deg 25deg,transparent 26deg) right bottom/40% 30% no-repeat}.ultimate-border-jelina .ultimate-border-node{clip-path:polygon(50% 0,90% 28%,100% 72%,50% 100%,0 72%,10% 28%);background:linear-gradient(135deg,#fff 0 24%,#73c7ff 25% 55%,#7451d4 56%);border-radius:0;width:15px;height:17px;animation:3.4s ease-in-out infinite ultimate-prism-breathe}.ultimate-border-jelina .ultimate-border-node:before{clip-path:inherit;opacity:.7;background:#eafaff;inset:24%}.ultimate-border-xingyu .ultimate-border-texture{background:radial-gradient(at 0 0,#0000 20%,#a5a0ff 21% 23%,#0000 24%) 0 0/44% 36% no-repeat,radial-gradient(at 100% 0,#0000 20%,#f8e9ff 21% 23%,#0000 24%) 100% 0/44% 36% no-repeat,radial-gradient(at 0 100%,#0000 20%,#6c63ff 21% 23%,#0000 24%) 0 100%/44% 36% no-repeat,radial-gradient(at 100% 100%,#0000 20%,#a5a0ff 21% 23%,#0000 24%) 100% 100%/44% 36% no-repeat}.ultimate-border-xingyu .ultimate-border-node{clip-path:polygon(50% 0,61% 36%,100% 50%,61% 64%,50% 100%,39% 64%,0 50%,39% 36%);background:linear-gradient(135deg,#fff,#bab3ff 58%,#6c63ff);border-radius:0;width:17px;height:17px;animation:2.7s ease-in-out infinite ultimate-star-twinkle}.ultimate-border-xingyu .ultimate-border-node:before{background:0 0;border:1px solid #a5a0ff;border-radius:50%;inset:-34%}.ultimate-border-lizhang .ultimate-border-texture{background:repeating-linear-gradient(90deg,#ffb275 0 5px,#0000 5px 10px) 0 0/36% 2px no-repeat,repeating-linear-gradient(#a33bdb 0 5px,#0000 5px 10px) 100% 0/2px 30% no-repeat,repeating-linear-gradient(0deg,#ff574f 0 5px,#0000 5px 10px) 0 100%/2px 30% no-repeat,repeating-linear-gradient(270deg,#ffb275 0 5px,#0000 5px 10px) 100% 100%/36% 2px no-repeat;animation:1.9s steps(3,end) infinite ultimate-talisman-flicker}.ultimate-border-lizhang .ultimate-border-node{clip-path:polygon(8% 0,92% 0,100% 78%,70% 68%,50% 100%,30% 68%,0 80%);background:linear-gradient(#ffb275,#be334f 45%,#531251);border-radius:1px;width:12px;height:22px;animation:1.9s steps(3,end) infinite ultimate-talisman-flicker}.ultimate-border-lizhang .ultimate-border-node:before{background:repeating-linear-gradient(#54113f 0 2px,#0000 2px 5px);inset:20% 26%}.ultimate-border-duo .ultimate-border-texture{background:linear-gradient(115deg,#fff4bd 0 3%,#f4ba45 4% 7%,#0000 8%) 0 0/45% 34% no-repeat,linear-gradient(245deg,#edf4ff 0 3%,#8ba9ff 4% 7%,#0000 8%) 100% 0/45% 34% no-repeat,linear-gradient(65deg,#edf4ff 0 3%,#8ba9ff 4% 7%,#0000 8%) 0 100%/45% 34% no-repeat,linear-gradient(295deg,#fff4bd 0 3%,#f4ba45 4% 7%,#0000 8%) 100% 100%/45% 34% no-repeat}.ultimate-border-duo .ultimate-border-node{clip-path:polygon(45% 0,59% 0,56% 57%,90% 35%,100% 47%,58% 72%,52% 100%,43% 72%,0 48%,10% 36%,46% 57%);background:linear-gradient(90deg,#f4ba45 0 48%,#edf4ff 52% 100%);border-radius:0;width:18px;height:20px;animation:3s ease-in-out infinite ultimate-twin-glory}.ultimate-border-duo .node-b,.ultimate-border-duo .node-d{background:linear-gradient(90deg,#edf4ff 0 48%,#8ba9ff 52%)}.ultimate-border-duo .ultimate-border-node:before{display:none}@keyframes ultimate-corner-breathe{0%,to{opacity:.42;filter:brightness(.82)}50%{opacity:.84;filter:brightness(1.18)}}@keyframes ultimate-thunder-fork{0%,to{opacity:.48;filter:brightness(.76)}42%{opacity:1;filter:brightness(1.55)}48%{opacity:.65;filter:brightness(.92)}}@keyframes ultimate-frost-glint{0%,to{opacity:.58;filter:brightness(.88)}50%{opacity:1;filter:brightness(1.25)}}@keyframes ultimate-water-ripple{0%,to{opacity:.38;filter:brightness(.9)}50%{opacity:.78;filter:brightness(1.17)}}@keyframes ultimate-water-drop{0%,to{opacity:.58;scale:.9}50%{opacity:1;scale:1.08}}@keyframes ultimate-blood-beat{0%,to{opacity:.56;scale:.92}14%{opacity:1;scale:1.14}28%{scale:1}}@keyframes ultimate-cog-tick{to{rotate:360deg}}@keyframes ultimate-force-throb{0%,to{opacity:.52;filter:brightness(.82)}58%{opacity:1;filter:brightness(1.28)}}@keyframes ultimate-prism-breathe{0%,to{opacity:.55;filter:hue-rotate(-8deg)brightness(.86)}50%{opacity:1;filter:hue-rotate(8deg)brightness(1.24)}}@keyframes ultimate-star-twinkle{0%,to{opacity:.48;scale:.78}52%{opacity:1;scale:1.12}}@keyframes ultimate-talisman-flicker{0%,to{opacity:.55;filter:brightness(.78)}45%{opacity:1;filter:brightness(1.35)}55%{opacity:.72;filter:brightness(.96)}}@keyframes ultimate-twin-glory{0%,to{opacity:.58;filter:brightness(.9)}50%{opacity:1;filter:brightness(1.3)}}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.ultimate-border-yanzhou .ultimate-border-node.node-a{filter:none!important;background-image:none!important;display:none!important}.ultimate-border-yanzhou .ultimate-card-border{filter:brightness(.66)saturate(.44)contrast(1.14)!important;animation:none!important}.ultimate-border-yanzhou .ultimate-border-texture{filter:none!important;animation:3.6s steps(3,end) infinite yanzhou-mobile-gold-pulse!important}}html.manual-landscape .ultimate-border-yanzhou .ultimate-border-node.node-a{filter:none!important;background-image:none!important;display:none!important}html.manual-landscape .ultimate-border-yanzhou .ultimate-card-border{filter:brightness(.66)saturate(.44)contrast(1.14)!important;animation:none!important}html.manual-landscape .ultimate-border-yanzhou .ultimate-border-texture{filter:none!important;animation:3.6s steps(3,end) infinite yanzhou-mobile-gold-pulse!important}@keyframes yanzhou-mobile-gold-pulse{0%,to{opacity:.28}50%{opacity:.46}}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.game-shell .topbar{height:48px;min-height:48px;padding:4px max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left));gap:4px}.game-shell .brand{flex:0 0 138px;gap:5px;min-width:138px}.game-shell .brand-mark{width:32px;height:32px}.game-shell .brand b{font-size:16px}.game-shell .round-pill{flex:0 176px;gap:4px;min-width:138px;height:36px;padding:4px 6px}.game-shell .round-pill span,.game-shell .round-pill b{font-size:8px}.game-shell .round-pill i{padding:4px 6px;font-size:9px}.game-shell .top-actions{flex:auto;align-self:center;gap:3px;min-width:0;overflow:visible}.game-shell .top-actions .test-mode-status,.game-shell .top-actions .network-state{display:none}.game-shell .top-actions .ghost-btn{flex:0 0 40px;gap:0!important;width:40px!important;height:38px!important;min-height:38px!important;padding:3px!important;position:static!important}.game-shell .top-actions .ghost-btn svg{width:20px;height:20px}.game-shell .top-actions .ghost-btn span{display:none}.game-shell .top-actions .forfeit-entry{flex-basis:48px;white-space:normal!important;width:48px!important;font-size:6px!important;line-height:1.15!important}}html.manual-landscape .game-shell .topbar{gap:4px;height:48px;min-height:48px;padding:4px 8px}html.manual-landscape .game-shell .brand{flex:0 0 138px;gap:5px;min-width:138px}html.manual-landscape .game-shell .brand-mark{width:32px;height:32px}html.manual-landscape .game-shell .brand b{font-size:16px}html.manual-landscape .game-shell .round-pill{flex:0 176px;gap:4px;min-width:138px;height:36px;padding:4px 6px}html.manual-landscape .game-shell .round-pill span,html.manual-landscape .game-shell .round-pill b{font-size:8px}html.manual-landscape .game-shell .round-pill i{padding:4px 6px;font-size:9px}html.manual-landscape .game-shell .top-actions{flex:auto;align-self:center;gap:3px;min-width:0;overflow:visible}html.manual-landscape .game-shell .top-actions .test-mode-status,html.manual-landscape .game-shell .top-actions .network-state{display:none}html.manual-landscape .game-shell .top-actions .ghost-btn{flex:0 0 40px;gap:0!important;width:40px!important;height:38px!important;min-height:38px!important;padding:3px!important;position:static!important}html.manual-landscape .game-shell .top-actions .ghost-btn svg{width:20px;height:20px}html.manual-landscape .game-shell .top-actions .ghost-btn span{display:none}html.manual-landscape .game-shell .top-actions .forfeit-entry{flex-basis:48px;white-space:normal!important;width:48px!important;font-size:6px!important;line-height:1.15!important}@media (prefers-reduced-motion:reduce){.ultimate-border-yanzhou .ultimate-border-texture{animation:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.card-artwork{object-fit:cover;object-position:center;pointer-events:none;-webkit-user-select:none;user-select:none;display:block}.backpack-card,.reward-card-preview,.encounter-reward-card,.codex-card{overflow:hidden}.backpack-card{min-height:300px}.backpack-card h3,.backpack-card p{flex-shrink:0}.backpack-card>.card-artwork{border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff1f;flex:0 0 112px;width:calc(100% + 26px);height:112px;margin:10px -13px 2px}.backpack-card>.card-mark{border-radius:10px;width:38px;height:38px;margin:7px 0}.reward-card-preview>.card-artwork{border-top:1px solid #ffffff16;border-bottom:1px solid #d2a85b55;flex:0 0 158px;width:calc(100% + 32px);height:158px;margin:12px -16px 0}.reward-card-preview>.card-mark{border-radius:12px;width:44px;height:44px;margin:9px auto 6px}.encounter-reward-card>.card-artwork{border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff1f;flex:0 0 155px;width:calc(100% + 32px);height:155px;margin:12px -16px 0}.encounter-reward-card>.card-mark{border-radius:11px;width:40px;height:40px;margin:8px auto 6px}.codex-card{min-height:330px}.codex-card>.card-artwork{border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff1e;flex:0 0 128px;width:calc(100% + 24px);height:128px;margin:10px -12px 0}.codex-card>.card-mark{border-radius:10px;width:38px;height:38px;margin:8px 0 7px}.battle-hand button>.card-artwork,.selected-card-stage button>.card-artwork{z-index:0;object-fit:cover;object-position:center 34%;width:100%;height:100%;position:absolute;inset:0}.battle-hand button:before,.selected-card-stage button:before{z-index:1;opacity:1;pointer-events:none;background:linear-gradient(#0508100a 0,#080c1520 30%,#090d17da 68%,#070a10 100%)}.battle-hand button:after,.selected-card-stage button:after{content:"";z-index:1;pointer-events:none;background:linear-gradient(90deg,#080b1233,#0000 22% 78%,#080b1233),linear-gradient(#0000 42%,#090d17c7 66%,#070a10f5 100%);position:absolute;inset:0}.battle-hand button>em,.battle-hand button>b,.battle-hand button>small,.battle-hand button>strong,.battle-hand button>.card-mark,.battle-hand button>.turn-end-warning,.selected-card-stage button>em,.selected-card-stage button>b,.selected-card-stage button>small,.selected-card-stage button>strong,.selected-card-stage button>.card-mark,.selected-card-stage button>.turn-end-warning{z-index:2;text-shadow:0 2px 5px #000,0 0 10px #000;position:relative}.battle-hand button>em,.selected-card-stage button>em{text-shadow:none;position:absolute}.battle-hand button>.card-mark{border-radius:9px;width:34px;height:34px;position:absolute;top:auto;bottom:65px;left:12px;transform:none;box-shadow:0 4px 14px #000a}.selected-card-stage button>.card-mark{border-radius:11px;width:42px;height:42px;position:absolute;top:auto;bottom:82px;left:14px;transform:none;box-shadow:0 5px 18px #000b}.battle-hand button>b,.selected-card-stage button>b{padding-left:42px;line-height:1.25}.selected-card-stage button>b{padding-left:49px}@media (width<=760px){.backpack-card>.card-artwork{flex-basis:92px;width:calc(100% + 16px);height:92px;margin-left:-8px;margin-right:-8px}.reward-card-preview>.card-artwork{flex-basis:135px;height:135px}.encounter-reward-card>.card-artwork{flex-basis:96px;width:calc(100% + 18px);height:96px;margin-left:-9px;margin-right:-9px}.codex-card{min-height:260px}.codex-card>.card-artwork{flex-basis:92px;width:calc(100% + 18px);height:92px;margin-left:-9px;margin-right:-9px}.battle-hand button>.card-mark{border-radius:7px;width:27px;height:27px;top:auto;bottom:51px;left:7px}.battle-hand button>b{padding-left:31px}.selected-card-stage button>.card-mark{width:31px;height:31px;top:auto;bottom:61px;left:8px}.selected-card-stage button>b{padding-left:36px}}@media (orientation:landscape) and (height<=560px) and (width<=1000px){.backpack-card{min-height:248px}.backpack-card>.card-artwork{flex-basis:72px;width:calc(100% + 16px);height:72px;margin-left:-8px;margin-right:-8px}.backpack-card>.card-mark{border-radius:8px;width:30px;height:30px;margin:5px 0}.backpack-card h3{margin:0 0 4px}.backpack-card p{font-size:7px;line-height:1.45}.battle-hand button>.card-mark{width:24px;height:24px;top:auto;bottom:43px;left:6px}.battle-hand button>b{padding-left:27px}.selected-card-stage button>.card-mark{width:27px;height:27px;top:auto;bottom:48px;left:7px}.selected-card-stage button>b{padding-left:31px}}@media (orientation:landscape) and (height<=600px) and (width<=1200px){.codex-overlay .codex-card{min-height:252px}.codex-overlay .codex-card>.card-artwork{flex-basis:96px;width:calc(100% + 16px);height:96px;margin:7px -8px 0}}html.manual-landscape .codex-overlay .codex-card{min-height:252px}html.manual-landscape .codex-overlay .codex-card>.card-artwork{flex-basis:96px;width:calc(100% + 16px);height:96px;margin:7px -8px 0}@media (width>=1001px) and (height>=601px){.selected-card-stage button>.card-mark{border-radius:14px;width:54px;height:54px;bottom:105px;left:18px}.selected-card-stage button>b{padding-left:64px}.codex-card{min-height:390px}.codex-card>.card-artwork{flex-basis:142px;width:calc(100% + 28px);height:142px;margin:11px -14px 0}.codex-card>.card-mark{width:42px;height:42px;margin:9px 0 8px}}.network-loading-screen{color:#e8edf7;background:radial-gradient(circle at 50% 42%,#607eb52e,#0000 28rem),#070b13;place-items:center;min-height:100svh;display:grid}.network-loading-screen section{text-align:center;background:#0a101ceb;border:1px solid #33415a;width:min(28rem,100vw - 2rem);padding:2.5rem;box-shadow:0 1.5rem 5rem #0009}.network-loading-screen small,.network-loading-screen h1,.network-loading-screen p{margin:0;display:block}.network-loading-screen small{color:#d6ad5e;letter-spacing:.24em}.network-loading-screen h1{margin-top:.8rem;font-size:1.55rem}.network-loading-screen p{color:#8f9bb0;margin-top:.65rem;line-height:1.7}.network-loading-screen i{border:2px solid #30405a;border-top-color:#e0b45c;border-radius:50%;width:2rem;height:2rem;margin:1.3rem auto 0;animation:.8s linear infinite network-spin;display:block}.network-state{color:#aab6c9;letter-spacing:.04em;white-space:nowrap;background:#080d17d6;border:1px solid #2b3850;align-items:center;gap:.45rem;min-height:2rem;padding:0 .7rem;font-size:.72rem;display:inline-flex}.network-state i{background:#d6ad5e;border-radius:50%;width:.48rem;height:.48rem;box-shadow:0 0 .65rem}.network-state.synced i{background:#55d6a5}.network-state.syncing i,.network-state.connecting i{background:#e0b45c;animation:.9s ease-in-out infinite network-pulse}.network-state.offline{color:#e38b91;border-color:#63343e}.network-state.offline i{background:#ef6670;animation:.65s ease-in-out infinite network-pulse}.multiplayer-wait-banner{z-index:28;color:#dce5f3;pointer-events:none;background:#080e19eb;border:1px solid #657ea68c;grid-template-columns:auto auto;align-items:center;gap:.15rem .7rem;min-width:17rem;padding:.55rem .85rem;display:grid;position:fixed;top:4.35rem;left:50%;transform:translate(-50%);box-shadow:0 .65rem 2rem #0008}.multiplayer-wait-banner span{color:#e4ba67;letter-spacing:.12em;border:1px solid #745e35;grid-row:1/3;padding:.28rem .42rem;font-size:.68rem}.multiplayer-wait-banner b{font-size:.78rem;font-weight:600}.multiplayer-wait-banner small{color:#8492a7;font-size:.65rem}.remote-observer button:not([data-local-control=true]){cursor:not-allowed}.remote-deck-zone{align-content:start;min-height:15rem;display:grid}.remote-card-backs{width:min(25rem,72%);height:10rem;margin:1rem auto 0;position:relative}.remote-card-backs i{color:#dab25e9e;letter-spacing:.15em;width:6.1rem;height:8.8rem;transform:translateX(calc(-50% + (var(--remote-card) - 2) * 2.15rem)) rotate(calc((var(--remote-card) - 2) * 4deg));transform-origin:50% 115%;background:linear-gradient(135deg,#0000 18%,#c59d4f2b 18% 19%,#0000 19% 81%,#c59d4f2b 81% 82%,#0000 82%),#121a2a;border:1px solid #59647a;place-items:center;font-size:.55rem;font-style:normal;display:grid;position:absolute;bottom:0;left:50%;box-shadow:0 .8rem 1.8rem #0008}@keyframes network-spin{to{transform:rotate(360deg)}}@keyframes network-pulse{50%{opacity:.35}}@media (width<=820px){.network-state{padding:0 .5rem;font-size:.62rem}.multiplayer-wait-banner{min-width:14rem;padding:.4rem .6rem;top:3.7rem}}.encounter-group-marker.alert-3{filter:drop-shadow(0 0 8px #ff546a);background-position:100% 0;animation:.55s steps(2,end) infinite encounter-group-engaged-pulse}.encounter-group-marker.alert-3:before{animation:.8s ease-out infinite encounter-group-engaged-wave}.encounter-group-marker.alert-3:after{content:"!";color:#fff;background:#bd2338;border-color:#ff8796}.encounter-group-splash>span em{color:#f2c66d;letter-spacing:.08em;font-size:10px;font-style:normal}.encounter-group-mechanics{margin-left:auto;position:relative}.encounter-group-mechanics summary{color:#f2c66d;cursor:pointer;border:1px solid #766035;min-height:28px;padding:5px 9px;list-style:none}.encounter-group-mechanics summary::-webkit-details-marker{display:none}.encounter-group-mechanics>div{z-index:9;background:#0d1420f2;border:1px solid #766035;width:230px;padding:8px;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 12px 30px #000b}.encounter-group-mechanics p{gap:2px;margin:0 0 7px;font-size:10px;display:grid}.encounter-group-mechanics p:last-child{margin-bottom:0}.encounter-group-mechanics p span{color:#aab3c7;line-height:1.45}.encounter-group-unit-list{gap:6px;display:grid}.encounter-group-targets button span>i{color:#e7b761;font-size:9px;font-style:normal;display:block}@media (prefers-reduced-motion:reduce){.encounter-group-marker.alert-3,.encounter-group-marker.alert-3:before{animation:none!important}}@media (width<=900px) and (orientation:landscape){.encounter-group-targets{width:min(42vw,360px)}.encounter-group-splash{min-height:44px}.encounter-group-unit-list{scroll-snap-type:x proximity;overscroll-behavior-inline:contain;gap:6px;padding:3px 4px 7px;overflow:auto hidden;height:auto!important;display:flex!important}.encounter-group-unit-list>button{scroll-snap-align:center;flex:0 0 min(47%,150px);min-width:112px;min-height:48px}.encounter-group-mechanics>div{width:180px}}html.manual-landscape .encounter-group-targets{width:min(42vw,360px)}html.manual-landscape .encounter-group-splash{min-height:44px}html.manual-landscape .encounter-group-unit-list{scroll-snap-type:x proximity;overscroll-behavior-inline:contain;gap:6px;padding:3px 4px 7px;overflow:auto hidden;height:auto!important;display:flex!important}html.manual-landscape .encounter-group-unit-list>button{scroll-snap-align:center;flex:0 0 min(47%,150px);min-width:112px;min-height:48px}html.manual-landscape .encounter-group-mechanics>div{width:180px}.element-card{isolation:isolate;position:relative}.card-element-edges{--element-level:.45;--element-cycle:7.7s;z-index:9;border-radius:inherit;pointer-events:none;opacity:var(--element-level);position:absolute;inset:1px;overflow:hidden}.card-element-edges[data-motion-intensity=standard]{--element-level:.64;--element-cycle:6.3s}.card-element-edges[data-motion-intensity=signature]{--element-level:.78;--element-cycle:5.9s}.card-element-edges[data-motion-intensity=static]{--element-level:.35}.card-element-layer{--element-a:#fff;--element-b:#fff;--element-glow:#fff8;border-radius:inherit;position:absolute;inset:0}.card-element-layer .element-edge{--edge-phase:0s;background:linear-gradient(90deg,transparent,var(--element-b),transparent);opacity:.65;display:block;position:absolute;overflow:visible}.card-element-layer .edge-top,.card-element-layer .edge-bottom{height:1px;left:2px;right:2px}.card-element-layer .edge-top{top:0}.card-element-layer .edge-bottom{--edge-phase:-3.73s;bottom:0}.card-element-layer .edge-left,.card-element-layer .edge-right{background-image:linear-gradient(180deg,transparent,var(--element-b),transparent);width:1px;top:2px;bottom:2px}.card-element-layer .edge-left{--edge-phase:-5.29s;left:0}.card-element-layer .edge-right{--edge-phase:-1.91s;right:0}.card-element-layer .element-edge:before,.card-element-layer .element-edge:after{content:"";background:var(--element-a);opacity:0;width:10px;height:10px;filter:drop-shadow(0 0 3px var(--element-b));animation-duration:var(--element-cycle);animation-timing-function:ease-in-out;animation-delay:calc(var(--element-phase,0s) + var(--edge-phase));animation-iteration-count:infinite;position:absolute;top:0;left:32%}.card-element-layer .element-edge:before{clip-path:polygon(50% 0,65% 35%,100% 50%,65% 65%,50% 100%,35% 65%,0 50%,35% 35%)}.card-element-layer .element-edge:after{width:5px;height:5px;animation-delay:calc(var(--element-phase,0s) + var(--edge-phase) - 2.37s);border-radius:50%;left:71%}.card-element-edges.dual .layer-primary .edge-bottom,.card-element-edges.dual .layer-primary .edge-left,.card-element-edges.dual .layer-secondary .edge-top,.card-element-edges.dual .layer-secondary .edge-right{display:none}.card-element-edges.dual .layer-secondary{opacity:.65}.element-thunder{--element-a:#f4ffff;--element-b:#55dfff;--element-glow:#35a9ffcc}.element-thunder .element-edge{background:repeating-linear-gradient(110deg,#0000 0 7%,#a9f8ff 8% 11%,#0000 12% 18%,#3abfff 19% 22%,#0000 23% 30%) 0 0/240% 100%}.element-thunder .edge-left,.element-thunder .edge-right{background:repeating-linear-gradient(200deg,#0000 0 7%,#a9f8ff 8% 11%,#0000 12% 18%,#3abfff 19% 22%,#0000 23% 30%) 0 0/100% 240%}.element-thunder .element-edge:before{clip-path:polygon(0 45%,30% 28%,44% 52%,66% 0,58% 42%,100% 30%,69% 62%,76% 100%,48% 70%,24% 92%,32% 58%);width:16px;height:11px}.element-thunder .element-edge:after{content:"";clip-path:polygon(0 42%,42% 35%,55% 0,62% 44%,100% 55%,61% 63%,47% 100%,40% 62%);filter:drop-shadow(0 0 4px #4bdfff);opacity:.72;background:#bdfcff;width:13px;height:8px;position:absolute}.element-thunder .edge-top:after,.element-thunder .edge-bottom:after{top:50%;left:0}.element-thunder .edge-left:after,.element-thunder .edge-right:after{top:0;left:50%}.element-fire{--element-a:#fff0a6;--element-b:#ff7a23;--element-glow:#ff3b16cc}.element-fire .element-edge{background:linear-gradient(90deg,#ffb72c22,#ff5a22,#ffd574,#ff5a22,#ffb72c22) 0 0/180% 100%}.element-fire .edge-left,.element-fire .edge-right{background-image:linear-gradient(#ffb72c22,#ff5a22,#ffd574,#ff5a22,#ffb72c22)}.element-fire .element-edge:before{transform-origin:50% 100%;clip-path:polygon(52% 0,71% 29%,94% 46%,83% 81%,52% 100%,18% 83%,5% 50%,29% 31%,37% 58%);background:linear-gradient(#fff3a5 9%,#ff9b25 48%,#e92f18);width:13px;height:17px}.element-fire .element-edge:after{content:"";background:#ffd34f;border-radius:50%;width:4px;height:4px;position:absolute;box-shadow:0 0 7px #ff5a1f}.element-water{--element-a:#bafcff;--element-b:#22a9ee;--element-glow:#167dffb5}.element-water .element-edge{background:repeating-radial-gradient(#a9f7ff 0 2px,#209ee5 3px 5px,#0000 6px 12px)}.element-water .element-edge:before{clip-path:none;background:linear-gradient(135deg,#e6ffff,#2cb7f1 68%);border-radius:62% 38% 63% 37%/72% 44% 56% 28%;transform:rotate(45deg)}.element-ice{--element-a:#efffff;--element-b:#83d9ff;--element-glow:#9fe8ffbf}.element-ice .element-edge{background:repeating-linear-gradient(120deg,#eaffff 0 2px,#74c9ff 2px 4px,#0000 4px 11px)}.element-ice .element-edge:before{background:linear-gradient(135deg,#fff,#8ad8ff 55%,#4b83d9)}.element-wind{--element-a:#e5fff8;--element-b:#74e3c9;--element-glow:#51d9c09e}.element-wind .element-edge{background:repeating-linear-gradient(90deg,#0000 0 8%,#baf5e7 9% 16%,#0000 17% 26%);height:1px}.element-wind .element-edge:before{clip-path:none;width:15px;height:8px;box-shadow:none;filter:drop-shadow(0 0 4px #4ee4c2);background:0 0;border:2px solid #bffbed;border-color:#bffbed #bffbed #0000 #0000;border-radius:50%}.element-earth{--element-a:#ffe0a0;--element-b:#a96e2f;--element-glow:#ca7d2fa3}.element-earth .element-edge{background:repeating-linear-gradient(105deg,#6c421f 0 4px,#d09a4e 5px 7px,#3e2b20 8px 13px)}.element-earth .element-edge:before{clip-path:polygon(16% 18%,67% 0,100% 41%,74% 100%,21% 84%,0 52%);background:linear-gradient(135deg,#ffd58a,#75401d);width:12px;height:13px}.element-light{--element-a:#fffce0;--element-b:#ffd260;--element-glow:#ffd86bc4}.element-light .element-edge{background:linear-gradient(90deg,#0000,#fff2a2 35%,#fff 50%,#fff2a2 65%,#0000)}.element-light .element-edge:before{background:#fffbe5;width:14px;height:14px}.element-dark{--element-a:#c799ff;--element-b:#5e2b8d;--element-glow:#7b28bdc4}.element-dark .element-edge{filter:blur(1px);background:linear-gradient(90deg,#0000,#3e175e,#a866d0,#25103c,#0000);height:4px}.element-dark .element-edge:before{clip-path:none;filter:blur(3px);opacity:.8;background:#6e2b99;border-radius:50%;width:17px;height:9px}.element-star{--element-a:#fff;--element-b:#b89aff;--element-glow:#9878ffcb}.element-star .element-edge{background:repeating-linear-gradient(90deg,#0000 0 13%,#ad8cff 14% 15%,#0000 16% 29%,#fff 30% 31%)}.element-star .element-edge:before{background:radial-gradient(circle,#fff 0 20%,#b493ff 42%,#0000 72%);width:14px;height:14px}.element-blood{--element-a:#ffb5b0;--element-b:#e33b4e;--element-glow:#d61f3fc7}.element-blood .element-edge{background:linear-gradient(90deg,#58111a,#fa4d5e,#7d1522,#ff6b6b,#58111a);height:3px}.element-blood .element-edge:before{clip-path:none;background:linear-gradient(135deg,#ff9d96,#b70e2e 70%);border-radius:70% 30% 58% 42%/73% 41% 59% 27%;width:10px;height:14px}.element-crystal{--element-a:#eaffff;--element-b:#4de0ec;--element-glow:#33c7eac9}.element-crystal .element-edge{background:repeating-linear-gradient(115deg,#aef8ff 0 3px,#3bafce 4px 6px,#0000 7px 13px)}.element-crystal .element-edge:before{clip-path:polygon(25% 7%,73% 0,100% 38%,71% 100%,27% 93%,0 43%);background:linear-gradient(135deg,#fff,#5de3ef 46%,#246fa5);width:13px;height:14px}.element-spirit{--element-a:#e7fff2;--element-b:#5ce6a9;--element-glow:#32d790bd}.element-spirit .element-edge{background:repeating-radial-gradient(#c8ffe2 0 2px,#47c98d 3px 5px,#0000 6px 12px);height:2px}.element-spirit .element-edge:before{clip-path:polygon(52% 0,84% 29%,100% 63%,68% 100%,47% 75%,14% 94%,0 55%,20% 20%);background:linear-gradient(#e9fff3,#55e6a8 70%,#0000);border-radius:58% 42% 68% 32%;width:12px;height:16px}.element-ink{--element-a:#ffd88a;--element-b:#271814;--element-glow:#d69345a8}.element-ink .element-edge{filter:drop-shadow(0 0 2px #d7974a);background:repeating-linear-gradient(103deg,#050303 0 9px,#c18443 10px 11px,#2a0d0a 12px 18px);height:3px}.element-ink .element-edge:before{clip-path:polygon(4% 17%,36% 25%,52% 0,67% 28%,97% 17%,78% 48%,100% 78%,62% 70%,48% 100%,35% 69%,0 81%,20% 48%);background:radial-gradient(circle,#e9aa54 0 12%,#100807 17% 100%);width:15px;height:12px}.element-thunder .element-edge{box-shadow:none;background:0 0}.element-thunder .element-edge:before,.element-thunder .element-edge:after{width:42px;height:9px;animation-name:element-thunder-break;animation-timing-function:step-end}.element-thunder .edge-left:before,.element-thunder .edge-right:before,.element-thunder .edge-left:after,.element-thunder .edge-right:after{width:9px;height:42px}.element-fire .element-edge:before,.element-fire .element-edge:after{transform-origin:50% 100%;animation-name:element-fire-rise}.element-fire .element-edge:after{width:3px;height:3px}.element-water .element-edge:before,.element-water .element-edge:after{border:1px solid var(--element-a);clip-path:none;background:0 0;border-radius:50%;animation-name:element-water-ring}.element-ice .element-edge:before,.element-ice .element-edge:after{animation-name:element-ice-grow}.element-wind .element-edge:before,.element-wind .element-edge:after{animation-name:element-wind-gust}.element-earth .element-edge:before,.element-earth .element-edge:after{animation-name:element-earth-settle}.element-light .element-edge:before,.element-light .element-edge:after{animation-name:element-light-bloom}.element-dark .element-edge:before,.element-dark .element-edge:after{animation-name:element-dark-dissolve}.element-star .element-edge:before,.element-star .element-edge:after{animation-name:element-star-twinkle}.element-blood .element-edge:before,.element-blood .element-edge:after{animation-name:element-blood-heartbeat}.element-crystal .element-edge:before,.element-crystal .element-edge:after{animation-name:element-crystal-refract}.element-spirit .element-edge:before,.element-spirit .element-edge:after{animation-name:element-spirit-drift}.element-ink .element-edge:before,.element-ink .element-edge:after{animation-name:element-ink-bloom}.card-element-layer .edge-top:before,.card-element-layer .edge-bottom:before{top:0;left:32%}.card-element-layer .edge-top:after,.card-element-layer .edge-bottom:after{top:0;left:71%}.card-element-layer .edge-left:before,.card-element-layer .edge-right:before{top:32%;left:0}.card-element-layer .edge-left:after,.card-element-layer .edge-right:after{top:71%;left:0}.card-element-layer .edge-left,.card-element-layer .edge-right{width:2px;height:auto}@keyframes element-thunder-break{0%,63%,66%,70%,to{opacity:0}64%{opacity:.95;clip-path:polygon(0 40%,28% 18%,40% 51%,64% 0,58% 40%,100% 26%,71% 62%,76% 100%,48% 70%,24% 92%,32% 58%);transform:scaleX(.7)}65%,69%{opacity:.45;transform:scaleX(1)}68%{opacity:.85;clip-path:polygon(0 60%,22% 48%,31% 5%,42% 49%,72% 31%,64% 60%,100% 70%,61% 82%,37% 57%,28% 92%,25% 61%);transform:scaleX(-1)}}@keyframes element-fire-rise{0%,58%,to{opacity:0;transform:translateY(3px)scale(.45,.35)}65%{opacity:.9;transform:translate(-1px)scaleX(.8)}74%{opacity:.68;transform:translate(2px,-3px)scale(.65,1.25)rotate(8deg)}87%{opacity:0;transform:translate(-2px,-8px)scale(.2,.7)}}@keyframes element-water-ring{0%,48%,to{opacity:0;transform:scale(.25)}56%{opacity:.8}78%{opacity:0;transform:scale(1.8,.8)}}@keyframes element-ice-grow{0%,37%,to{opacity:.12;transform:scale(.5)}58%{opacity:.7;transform:scale(1)}69%{opacity:.95}82%{opacity:.12;transform:scale(.5)}}@keyframes element-wind-gust{0%,56%,to{opacity:0;transform:translate(-6px,2px)scaleX(.4)}65%{opacity:.8;transform:translateY(-1px)scaleX(1)}79%{opacity:0;transform:translate(9px,-3px)scaleX(1.3)}}@keyframes element-earth-settle{0%,60%,to{opacity:.18;transform:translateY(2px)scale(.65)}67%{opacity:.85;transform:translateY(-2px)scale(.9)}73%{transform:translateY(1px)scale(1)}82%{opacity:.18;transform:translateY(2px)scale(.65)}}@keyframes element-light-bloom{0%,36%,to{opacity:0;transform:scale(.4)}61%{opacity:.85;transform:scale(1.3)}84%{opacity:0;transform:scale(.6)}}@keyframes element-dark-dissolve{0%,to{opacity:.1;transform:scaleX(.6)}41%{opacity:.6;transform:translate(2px,-2px)scale(1.2,.7)}76%{opacity:0;transform:translate(-3px,1px)scaleX(1.7)}}@keyframes element-star-twinkle{0%,51%,76%,to{opacity:0;transform:scale(.35)}58%{opacity:1;transform:scale(1)}65%{opacity:.25;transform:scale(.5)}69%{opacity:.65;transform:scale(.8)}}@keyframes element-blood-heartbeat{0%,40%,75%,to{opacity:.12;transform:scale(.7)}48%{opacity:.9;transform:scale(1.12)}54%{opacity:.3;transform:scale(.8)}61%{opacity:.7;transform:scale(1)}}@keyframes element-crystal-refract{0%,48%,to{opacity:.15;transform:scale(.7)}56%{opacity:1;transform:scale(1)skew(-9deg)}61%{opacity:.35;transform:scale(1)skew(7deg)}73%{opacity:.15;transform:scale(.7)}}@keyframes element-spirit-drift{0%,to{opacity:.12;transform:translateY(2px)scale(.7)}42%{opacity:.65;transform:translate(-2px,-3px)scale(1)}74%{opacity:0;transform:translate(2px,-7px)scale(.5)}}@keyframes element-ink-bloom{0%,41%,to{opacity:.18;transform:scale(.4)}56%{opacity:.85;transform:scaleY(.7)}75%{opacity:0;transform:scaleX(1.5)}}.element-card:is(.selected,[aria-selected=true],:focus-visible)>.card-element-edges,.selected-card-stage .card-element-edges{--element-level:1}.ultimate-border-card>.card-element-edges{opacity:calc(var(--element-level) * .55)}:is(.codex-card,.backpack-card) .card-element-edges .element-edge:before,:is(.codex-card,.backpack-card) .card-element-edges .element-edge:after{opacity:.16;animation-play-state:paused}:is(.codex-card,.backpack-card):is(:hover,:focus-within) .card-element-edges .element-edge:before,:is(.codex-card,.backpack-card):is(:hover,:focus-within) .card-element-edges .element-edge:after{animation-play-state:running}.card-element-edges[data-motion-intensity=static] .element-edge:before,.card-element-edges[data-motion-intensity=static] .element-edge:after,.element-card:is(:disabled,[aria-disabled=true]) .element-edge:before,.element-card:is(:disabled,[aria-disabled=true]) .element-edge:after{opacity:.15;animation:none}.element-card:is(:disabled,[aria-disabled=true])>.card-element-edges{opacity:.22;filter:saturate(.3)}@media (orientation:landscape) and (height<=600px),(width<=760px){.card-element-edges{filter:none;--element-level:.35}.card-element-layer .element-edge:before{filter:none;animation-duration:9.7s}.card-element-layer .element-edge:after{display:none}}html.manual-landscape .card-element-edges{filter:none;--element-level:.35}html.manual-landscape .card-element-layer .element-edge:before{filter:none;animation-duration:9.7s}html.manual-landscape .card-element-layer .element-edge:after{display:none}@media (prefers-reduced-motion:reduce){.card-element-layer,.card-element-layer .element-edge,.card-element-layer .element-edge:before,.card-element-layer .element-edge:after{animation:none!important;transform:none!important}.card-element-layer .element-edge:before{opacity:.2}.card-element-layer .element-edge:after{display:none}.card-element-edges,.card-element-layer .element-edge,.card-element-layer .element-edge:before{filter:none}}@media (width>=1024px) and (height>=601px){html:not(.manual-landscape) .room-lobby{grid-template-columns:minmax(560px,700px) minmax(0,1fr);align-items:center;gap:32px;padding:32px clamp(28px,5vw,96px)}html:not(.manual-landscape) .room-lobby-copy{width:100%;min-width:0;max-width:700px;padding:0;overflow:visible}html:not(.manual-landscape) .room-lobby-copy h1{margin:18px 0 24px;font-size:clamp(60px,5.5vw,88px);line-height:.9}html:not(.manual-landscape) .room-lobby .eyebrow{letter-spacing:.2em;font-size:12px}html:not(.manual-landscape) .room-home>p{color:#b3bed0;max-width:600px;font-size:14px;line-height:1.7}html:not(.manual-landscape) .room-primary-actions button{min-height:50px;font-size:16px}html:not(.manual-landscape) .compact-map-picker{height:auto;min-height:94px;margin-top:16px}html:not(.manual-landscape) .map-picker header b{font-size:14px}html:not(.manual-landscape) .map-picker header span{color:#aeb9cc;font-size:12px}html:not(.manual-landscape) .map-picker button{min-height:62px}html:not(.manual-landscape) .map-picker button b{font-size:15px}html:not(.manual-landscape) .map-picker button small,html:not(.manual-landscape) .map-picker button em{font-size:12px;line-height:1.5}html:not(.manual-landscape) .public-room-list>header{height:40px}html:not(.manual-landscape) .public-room-list>header b,html:not(.manual-landscape) .public-room-list button b{font-size:14px}html:not(.manual-landscape) .public-room-list>header span,html:not(.manual-landscape) .public-room-list button small,html:not(.manual-landscape) .public-room-list button em,html:not(.manual-landscape) .public-room-list>div>small{color:#a7b4c9;font-size:12px}html:not(.manual-landscape) .public-room-list>div{max-height:132px}html:not(.manual-landscape) .single-test-room{grid-template-columns:minmax(0,1fr) minmax(160px,205px) 120px;min-height:76px;padding:12px}html:not(.manual-landscape) .single-test-room b{font-size:14px}html:not(.manual-landscape) .single-test-room small,html:not(.manual-landscape) .single-test-room div span{color:#bdafcf;font-size:12px;line-height:1.5}html:not(.manual-landscape) .single-test-room select,html:not(.manual-landscape) .single-test-room>button{height:40px;font-size:13px}html:not(.manual-landscape) .room-tools>button,html:not(.manual-landscape) .lobby-actions>button{min-height:44px;font-size:14px}html:not(.manual-landscape) .lobby-actions>button span,html:not(.manual-landscape) .lobby-copy>small{color:#a9b5c8;font-size:12px}html:not(.manual-landscape) .room-form,html:not(.manual-landscape) .room-panel{gap:16px;padding:24px}html:not(.manual-landscape) .room-form h2,html:not(.manual-landscape) .room-panel h2{font-size:26px}html:not(.manual-landscape) .room-form>label>span,html:not(.manual-landscape) .room-public-toggle b{color:#c0cada;font-size:14px}html:not(.manual-landscape) .room-form header small,html:not(.manual-landscape) .room-public-toggle small,html:not(.manual-landscape) .room-panel header small,html:not(.manual-landscape) .room-panel header p,html:not(.manual-landscape) .room-panel header p button{color:#afbed3;font-size:12px}html:not(.manual-landscape) .room-form input:not([type=checkbox]){height:46px;font-size:16px}html:not(.manual-landscape) .room-public-toggle{gap:12px;padding:12px}html:not(.manual-landscape) .room-submit{min-height:48px;font-size:16px}html:not(.manual-landscape) .room-error{font-size:14px!important}html:not(.manual-landscape) .room-members article{min-height:112px;padding:12px}html:not(.manual-landscape) .room-members small,html:not(.manual-landscape) .room-members em{color:#aab7ca;font-size:12px;line-height:1.5}html:not(.manual-landscape) .room-members b{font-size:16px}html:not(.manual-landscape) .room-members select{min-height:38px;font-size:14px}html:not(.manual-landscape) .room-panel>footer{flex-wrap:wrap;gap:16px}html:not(.manual-landscape) .room-panel>footer span,html:not(.manual-landscape) .room-panel>footer>b{font-size:14px}html:not(.manual-landscape) .room-panel>footer button{min-height:44px;font-size:16px}html:not(.manual-landscape) .game-layout{grid-template-columns:minmax(220px,260px) minmax(360px,1fr) minmax(240px,280px);gap:18px;max-width:1600px;padding:18px}html:not(.manual-landscape) .board{width:min(100%,760px,100svh - 190px);transform:none}html:not(.manual-landscape) .legend{gap:8px 12px;margin:12px auto;font-size:12px;line-height:1.5}html:not(.manual-landscape) .section-title{gap:8px;height:auto;min-height:48px}html:not(.manual-landscape) .section-title span{letter-spacing:.06em;font-size:14px}html:not(.manual-landscape) .section-title small{letter-spacing:0;color:#9baac0;text-align:right;font-size:12px}html:not(.manual-landscape) .player-data b{font-size:16px}html:not(.manual-landscape) .player-data small,html:not(.manual-landscape) .player-data>div span{color:#a9b7cb;font-size:12px}html:not(.manual-landscape) .player-row{gap:9px;padding:16px 10px}html:not(.manual-landscape) .player-row label{font-size:11px;top:-6px}html:not(.manual-landscape) .stats{flex-wrap:wrap;justify-content:flex-start;gap:5px 10px}html:not(.manual-landscape) .stats span{color:#c0cadd!important;font-size:12px!important}html:not(.manual-landscape) .treasure-box b{letter-spacing:0;font-size:13px}html:not(.manual-landscape) .treasure-box span,html:not(.manual-landscape) .treasure-box small{font-size:12px;line-height:1.6}html:not(.manual-landscape) .dpad{grid-template-rows:repeat(3,54px);grid-template-columns:repeat(3,54px);gap:6px;padding:18px 12px}html:not(.manual-landscape) .dpad button:not(:disabled){color:#e2eaf7;background:#26364b;border-color:#647b9c}html:not(.manual-landscape) .dpad button kbd{font-size:10px}html:not(.manual-landscape) .dpad div{font-size:24px}html:not(.manual-landscape) .dpad div small{color:#a3b0c4;font-size:10px}html:not(.manual-landscape) .end-turn{color:#efd09a;letter-spacing:.05em;background:#251f16;border:1px solid #8b7246;min-height:48px}html:not(.manual-landscape) .end-turn:hover:not(:disabled){background:#3b3020;border-color:#d9b36b}html:not(.manual-landscape) .end-turn>span>b{font-size:14px}html:not(.manual-landscape) .end-turn>span>small{color:#bbab91;font-size:12px}html:not(.manual-landscape) .log-panel{min-height:0;max-height:calc(100svh - 445px);overflow:auto}html:not(.manual-landscape) .log-panel p{font-size:12px;line-height:1.65}html:not(.manual-landscape) .log-panel time{color:#93a1b7;font-size:11px}html:not(.manual-landscape) .map-token.current:after{opacity:1;height:10%;box-shadow:0 0 0 2px #edf5ff,0 0 12px var(--token-color);left:14%;right:14%}}.card-acquisition-notices{z-index:240;top:max(70px,env(safe-area-inset-top));color:#f5edda;width:max-content;max-width:calc(100% - 32px);position:fixed;left:50%;transform:translate(-50%);pointer-events:none!important}.card-acquisition-notices *{pointer-events:none!important}.card-acquisition-batch{animation:.24s ease-out card-acquisition-arrive}.card-acquisition-heading{letter-spacing:.12em;text-shadow:0 1px 5px #000,0 1px 10px #000;justify-content:center;align-items:center;gap:12px;margin-bottom:6px;font-size:12px;font-weight:700;display:flex}.card-acquisition-heading>span{color:#e0c695;letter-spacing:0;font-size:10px}.card-acquisition-row{justify-content:center;align-items:stretch;gap:8px;display:flex}.card-acquisition-mini{isolation:isolate;background:linear-gradient(155deg,#22283b,#10131e 80%);border:1px solid #b49a6099;border-radius:8px;flex-direction:column;width:112px;display:flex;position:relative;overflow:hidden;box-shadow:0 6px 18px #0009,inset 0 0 12px #b2974710}.card-acquisition-art{background:radial-gradient(at 50% 70%,#59476a,#131c2a);height:68px;position:relative;overflow:hidden}.card-acquisition-art .card-artwork{object-fit:cover;opacity:1;filter:none;width:100%;height:100%;position:absolute;inset:0;transform:none;-webkit-mask-image:none;mask-image:none}.card-acquisition-art .card-mark{text-align:center;opacity:.7;font-size:28px;position:absolute;inset:14px 0}.card-acquisition-cost{z-index:2;color:#eef5ff;background:#10192eee;border:1px solid #a9b6d4aa;border-radius:50%;place-items:center;width:20px;height:20px;font-size:12px;font-weight:700;display:grid;position:absolute;top:4px;left:5px}.card-acquisition-copy{z-index:2;padding:5px 7px 7px;position:relative}.card-acquisition-copy>small{color:#beb5a6;font-size:10px;line-height:1.3;display:block}.card-acquisition-copy>b{overflow-wrap:anywhere;color:#fff4da;min-height:2.6em;margin:3px 0;font-size:12px;line-height:1.3;display:block}.card-acquisition-rarity{color:#e9c675;justify-content:space-between;align-items:center;font-size:10px;line-height:1.2;display:flex}.card-acquisition-rarity>em{color:#f6e6c4;font-style:normal;font-weight:700}@keyframes card-acquisition-arrive{0%{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}@media (height<=600px) and (orientation:landscape){.card-acquisition-notices{top:max(8px,env(safe-area-inset-top));max-width:calc(100% - 100px)}.card-acquisition-row{gap:5px}.card-acquisition-mini{width:94px}.card-acquisition-art{height:34px}.card-acquisition-heading{margin-bottom:3px;font-size:10px}.card-acquisition-copy{padding:3px 5px 4px}.card-acquisition-copy>b{margin:2px 0;font-size:11px}}html.manual-landscape .card-acquisition-notices{max-width:calc(100% - 100px);top:8px}html.manual-landscape .card-acquisition-row{gap:5px}html.manual-landscape .card-acquisition-mini{width:94px}html.manual-landscape .card-acquisition-art{height:34px}html.manual-landscape .card-acquisition-heading{margin-bottom:3px;font-size:10px}html.manual-landscape .card-acquisition-copy{padding:3px 5px 4px}html.manual-landscape .card-acquisition-copy>b{margin:2px 0;font-size:11px}@media (prefers-reduced-motion:reduce){.card-acquisition-batch{animation:none}}
