/*! 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-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--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-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{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.relative{position:relative}.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}.contents{display:contents}.hidden{display:none}.table{display:table}.resize{resize:both}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-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,)}}:root{--ink:#05070a;--panel:#0b0f15;--panel-2:#111722;--line:#344150;--gold:#c99b4e;--gold-light:#f2d18a;--blue:#22a9ef;--red:#ef503b;--text:#ece7dc;--muted:#9aa2ae;--green:#53d365}*{box-sizing:border-box}html,body{min-height:100%;color:var(--text);background:#030509;margin:0}body{font-family:var(--font-geist-sans), Arial, sans-serif;overflow:hidden}button,a,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,[tabindex="0"]:focus-visible{outline-offset:3px;outline:2px solid #fff}.sr-only{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.startup-screen{isolation:isolate;background:#05070a;width:100%;height:100svh;min-height:min(480px,100svh);position:relative;overflow:hidden}.startup-background{z-index:-2;object-fit:cover;object-position:center center;width:100%;height:100%;animation:1s ease-out both startup-reveal}.startup-screen:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#02040a38 0%,#0000 42%,#02030929 76%,#02030975 100%);position:absolute;inset:0}.startup-content{z-index:1;flex-direction:column;align-items:center;height:100svh;padding-top:clamp(0px,1.2vh,18px);display:flex;position:relative;overflow:hidden}.startup-title{flex:none;width:clamp(300px,23.2vw,360px);margin:0;line-height:0;animation:.85s cubic-bezier(.2,.75,.25,1) .12s both startup-logo-in}.startup-logo{filter:drop-shadow(0 10px 18px #000b);width:100%;height:auto;display:block}.startup-action{appearance:none;color:#f4ead5;cursor:pointer;letter-spacing:.23em;text-indent:.23em;text-shadow:0 1px 2px #000,0 0 8px #6d5fb957;clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px);background:linear-gradient(#3a3d48 0%,#191c25 18%,#0b0e16 58%,#20212a 100%);border:1px solid #b88b45;place-items:center;width:clamp(170px,13.5vw,240px);min-height:clamp(46px,3.75vw,62px);padding:0;font:650 clamp(15px,1.05vw,18px)/1 Georgia,Times New Roman,serif;text-decoration:none;transition:border-color .2s,color .2s,filter .2s,translate .2s,box-shadow .2s;animation:.7s ease-out .48s backwards startup-action-in;display:grid;position:absolute;top:50%;left:50%;translate:-50% -50%;box-shadow:inset 0 1px #f0d49a4d,inset 0 -5px 10px #000b,0 8px 22px #000b}.startup-action:before{content:"";pointer-events:none;background:linear-gradient(100deg,#0000 12%,#7765c31c 48%,#0000 76%);border:1px solid #645c76;position:absolute;inset:5px}.startup-action:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#9e83f088,#0000);height:2px;position:absolute;inset:-3px 18px auto;box-shadow:0 0 8px #6f59c573}.startup-action span{z-index:1;position:relative}.startup-action:hover:not(:active){color:#fff9e9;filter:brightness(1.13);border-color:#e2bd73;translate:-50% calc(-50% - 2px);box-shadow:inset 0 1px #f5deb46b,inset 0 -5px 10px #000b,0 10px 28px #000d,0 0 12px #6f5bc340}.startup-action:hover:active,.startup-action:active{color:#fff9e9;filter:brightness(.9);border-color:#e2bd73;transition:none;translate:-50% calc(1px - 50%);box-shadow:inset 0 4px 10px #000d,0 4px 12px #000c}.startup-action:focus-visible{outline-offset:5px;outline:3px solid #f7e6bd}.startup-dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#020308dc;place-items:center;padding:clamp(14px,3vw,40px);display:grid;position:fixed;inset:0;overflow:auto}.startup-dialog{color:#eee5d5;text-align:center;background:radial-gradient(circle at 50% 0,#242035,#0a0d13 48%,#06080c);border:1px solid #bc914b;width:min(980px,100%);max-height:calc(100svh - 28px);padding:clamp(24px,4vw,46px);overflow:auto;box-shadow:0 24px 80px #000,inset 0 0 35px #ba80331c}.startup-dialog>small{color:#d7ad62;letter-spacing:.24em;font-size:10px}.startup-dialog h2{color:#ffe7b1;margin:8px 0;font:600 clamp(28px,4vw,42px)/1.1 Georgia,Times New Roman,serif}.startup-dialog>p{color:#b6b5bb;max-width:680px;margin:0 auto 22px;line-height:1.55}.startup-choice-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:28px auto 16px;display:grid}.startup-choice-actions button{color:#f8e5bc;cursor:pointer;background:linear-gradient(145deg,#24202a,#0b0e14);border:1px solid #8f6c39;place-content:center;gap:9px;min-height:124px;display:grid}.startup-choice-actions button:hover:not(:disabled),.save-slot-card:hover:not(:disabled){border-color:#e0b762;box-shadow:inset 0 0 22px #d69c3030,0 0 15px #ca8f2733}.startup-choice-actions button:disabled{cursor:not-allowed;opacity:.38;filter:grayscale()}.startup-choice-actions strong{font:600 22px Georgia,Times New Roman,serif}.startup-choice-actions span{color:#a9abb2;letter-spacing:.08em;font-size:11px}.load-game-unavailable{font-size:12px;color:#d2b981!important}.startup-dialog-cancel,.overwrite-actions button,.startup-dialog-error button{color:#d9d1c2;cursor:pointer;letter-spacing:.08em;background:#111319;border:1px solid #6d665d;min-height:42px;padding:0 18px}.startup-dialog-cancel:hover:not(:disabled),.overwrite-actions button:hover:not(:disabled){color:#fff0c9;border-color:#d1ab62}.startup-dialog-cancel:disabled,.overwrite-actions button:disabled{cursor:wait;opacity:.5}.startup-dialog-status{min-height:20px;font-size:12px;color:#d7bb82!important}.startup-dialog-error{color:#ffafa1;background:#210d0f;border:1px solid #934b42;gap:8px;max-width:620px;margin:18px auto;padding:14px;display:grid}.startup-dialog-error span{color:#e0c6c2;font-size:12px;line-height:1.45}.startup-dialog-error button{border-color:#9d625a;justify-self:center}.startup-dialog-error.compact{color:#ffafa1;display:block}.save-slot-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:26px 0 18px;display:grid}.save-slot-card{color:#dce3eb;cursor:pointer;text-align:left;background:linear-gradient(155deg,#151a22,#090b10);border:1px solid #4a5360;align-content:center;gap:7px;min-width:0;min-height:184px;padding:16px 12px;display:grid}.save-slot-card.occupied{background:linear-gradient(155deg,#242015,#0b0c0f);border-color:#8b6836}.save-slot-card.active{box-shadow:inset 0 0 20px #4aaef029}.save-slot-card:disabled{cursor:not-allowed;opacity:.38;filter:grayscale()}.save-slot-number{color:#d7ac60;letter-spacing:.2em;font-size:10px}.save-slot-card strong{color:#f2dfb7;font:600 20px Georgia,Times New Roman,serif}.save-slot-card>span:not(.save-slot-number){color:#aeb4bd;min-height:30px;font-size:11px;line-height:1.35}.save-slot-card small{color:#888f99;font-size:9px;line-height:1.45}.save-slot-card small b{color:#65c4f3}.overwrite-actions{justify-content:center;gap:12px;margin-top:28px;display:flex}.overwrite-actions .destructive{color:#ffd5cd;background:linear-gradient(#6c241e,#35100e);border-color:#b85447}.startup-field{color:#d7ad62;letter-spacing:.18em;text-align:left;gap:8px;max-width:520px;margin:24px auto;font-size:10px;display:grid}.startup-field input{color:#f3eadb;min-height:48px;font:600 16px/1.2 var(--font-geist-mono), monospace;background:#070a10;border:1px solid #66583e;padding:0 14px}.startup-field input:focus-visible{outline-offset:2px;outline:2px solid #e2bd73}.recovery-code{color:#ffe3a7;width:fit-content;max-width:100%;font:700 clamp(16px, 3vw, 25px)/1.2 var(--font-geist-mono), monospace;letter-spacing:.16em;-webkit-user-select:all;user-select:all;background:#080b11;border:1px solid #d7ad62;margin:24px auto 14px;padding:16px 22px;display:block}.recovery-confirmation{color:#d7d0c5;text-align:left;justify-content:center;align-items:flex-start;gap:10px;max-width:560px;margin:18px auto;line-height:1.45;display:flex}.recovery-confirmation input{accent-color:#d7ad62;margin-top:3px}.public-account-actions{justify-content:center;gap:12px;margin:18px 0;display:flex}.public-account-actions button,.startup-dialog>button{color:#e5d4b3;cursor:pointer;background:#111319;border:1px solid #80683d;min-height:42px;padding:0 18px}.public-account-actions button:disabled,.startup-dialog>button:disabled{cursor:wait;opacity:.45}@keyframes startup-reveal{0%{opacity:0;transform:scale(1.015)}to{opacity:1;transform:scale(1)}}@keyframes startup-logo-in{0%{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:translateY(0)}}@keyframes startup-action-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (width<=720px){.startup-title{width:clamp(180px,65vw,300px)}.startup-dialog-backdrop{align-items:start;padding:10px}.startup-dialog{max-height:calc(100svh - 20px);padding:24px 14px}.startup-choice-actions{grid-template-columns:1fr}.startup-choice-actions button{min-height:92px}.save-slot-grid{grid-template-columns:1fr}.save-slot-card{min-height:118px}.overwrite-actions,.public-account-actions{flex-direction:column;align-items:stretch}}@media (width>=1600px){.startup-title{width:clamp(360px,22.5vw,540px)}}.stage-selection-screen{background:radial-gradient(circle at 50% 48%,#2c2116 0%,#080a0e 56%,#020306 100%);place-items:center;width:100%;height:100svh;min-height:360px;display:grid;overflow:hidden}.stage-map-frame{isolation:isolate;width:100vw;height:100svh;position:relative;overflow:hidden;box-shadow:0 0 70px #000}.stage-map-canvas{z-index:0;aspect-ratio:1672/941;width:max(100vw,177.683svh);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.stage-map-canvas:after{content:"";z-index:1;pointer-events:none;background:radial-gradient(#0000 58%,#0203088a 100%);position:absolute;inset:0}.stage-map-image{z-index:0;object-fit:cover;width:100%;height:100%}.stage-map-navigation{z-index:4;pointer-events:none;justify-content:space-between;align-items:flex-start;display:flex;position:absolute;inset:clamp(10px,1.4vw,24px)}.stage-map-route{color:#efd99d;letter-spacing:.09em;text-transform:uppercase;text-shadow:0 1px 3px #000;pointer-events:auto;opacity:.72;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:linear-gradient(#11151dc4,#07090dcc);border:1px solid #a7864f99;border-radius:4px;align-items:center;gap:9px;min-height:44px;padding:0 clamp(10px,1vw,16px);font-size:clamp(8px,.72vw,12px);text-decoration:none;transition:border-color .16s,color .16s,opacity .16s,transform .16s;display:inline-flex;box-shadow:0 4px 20px #0009,inset 0 0 16px #b9892f17}.stage-map-route span{color:#f2cf7b;font:clamp(19px,1.65vw,28px)/1 Georgia,serif}.stage-map-route:hover,.stage-map-route:focus-visible{opacity:1;color:#fff0bf;border-color:#f0c86e;transform:translateY(-1px)}.stage-map-route:focus-visible{outline-offset:3px;outline:3px solid #fff1bd}.debug-route{z-index:4;position:absolute;bottom:clamp(10px,1.4vw,24px);right:clamp(10px,1.4vw,24px)}.manual-dialog-backdrop{z-index:8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#030509b8;place-items:center;padding:clamp(14px,3vw,44px);display:grid;position:absolute;inset:0;overflow:auto}.manual-dialog{color:#f4ead4;background:linear-gradient(145deg,#111820 0%,#080b10 58%,#151006 100%);border:1px solid #b68b3c;border-radius:5px;width:min(100%,560px);box-shadow:0 25px 70px #000c,inset 0 0 38px #bd8c321e}.manual-dialog-embedded{color:#f4ead4;width:min(100%,1500px);height:min(92vh,920px);box-shadow:none;background:0 0;border:0;border-radius:0;position:relative;overflow:hidden}.manual-dialog-content{height:100%;min-height:0;overflow:hidden}.manual-dialog-content .manual-page{height:100%;padding:clamp(16px,2vw,30px)}.manual-dialog-content .manual-page-embedded>.manual-back{cursor:pointer;background:0 0;border:0;margin-bottom:18px}.manual-dialog-content .gallery-compendium,.manual-dialog-content .gallery-browser{min-height:0}.manual-dialog-content .instruction-page>section{padding-bottom:30px}.manual-dialog>header{border-bottom:1px solid #6f542a;justify-content:space-between;align-items:flex-start;gap:18px;padding:clamp(18px,3vw,28px);display:flex}.manual-dialog>header small{color:#d8b66e;letter-spacing:.16em;text-transform:uppercase;font-size:9px}.manual-dialog>header h2{margin:7px 0 0;font:600 clamp(25px,3vw,36px)/1 Georgia,serif}.manual-close{color:#f3d68d;background:#13100b;border:1px solid #a68242;width:38px;min-height:38px;font:28px/1 Georgia,serif}.manual-options{gap:9px;padding:clamp(16px,2.5vw,25px);display:grid}.manual-options button{color:#efe8d9;text-align:left;background:linear-gradient(105deg,#0e151e,#0a0c10);border:1px solid #51442c;grid-template-columns:38px 1fr;align-items:center;column-gap:13px;min-height:72px;padding:12px 16px;display:grid}.manual-options button>span{color:#e4b95d;text-align:center;grid-row:1/3;font:26px/1 Georgia,serif}.manual-options button strong{letter-spacing:.025em;font:600 17px/1.1 Georgia,serif}.manual-options button small{color:#aeb6c1;letter-spacing:.1em;margin-top:4px;font-size:8px}.manual-options button:hover,.manual-options button:focus-visible{background:linear-gradient(105deg,#182539,#151006);border-color:#e7bc62;box-shadow:inset 0 0 23px #e3a83d1c,0 0 20px #d99a3430}@media (width<=620px){.manual-dialog-backdrop{padding:12px}.manual-dialog>header{padding:18px}.manual-options{padding:14px}.manual-options button{min-height:64px}}.manual-page{scrollbar-gutter:stable;color:#eee6d6;background:radial-gradient(circle at 50% 10%,#18263b 0%,#080b10 52%,#030406 100%);height:100svh;min-height:0;padding:clamp(24px,5vw,80px);overflow:hidden auto}.hero-gallery-page{color:#ede4d3;background:linear-gradient(#02060bcc,#02060bee),url(/game-images/Stage_Map/valley_of_champions.png) 50%/cover fixed}.hero-gallery-page>.manual-back{z-index:1;position:relative}.gallery-compendium{background:#050a0fed;border:1px solid #8b6b35;grid-template-columns:minmax(330px,.75fr) minmax(0,1.45fr);max-width:1450px;margin:auto;display:grid;box-shadow:0 25px 80px #000c}.gallery-browser{background:linear-gradient(135deg,#07111d,#05080d);border-right:1px solid #71582f;flex-direction:column;min-height:760px;padding:clamp(22px,3vw,38px);display:flex}.gallery-browser header h1{color:#e8bd64}.gallery-browser .manual-filter{border-block:1px solid #314052;margin:24px 0 15px;padding:12px 0}.gallery-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.gallery-cards button{grid-template-columns:1fr;min-height:160px;padding:5px}.gallery-cards span{padding:2px 6px}.gallery-cards span>strong{color:#e8bd64}.gallery-cards em.owned{color:#72d590}.gallery-cards em.locked{color:#d2a852}.gallery-cards em.unavailable{color:#8d98a6}.hero-profile{background:radial-gradient(circle at 20% 35%,#27374b55,#0000 38%),#071019;border:0;grid-template-columns:minmax(230px,.65fr) minmax(300px,1fr);padding:0}.hero-profile-art{object-fit:contain;object-position:center bottom;align-self:stretch;width:100%;height:100%;min-height:440px;max-height:620px;-webkit-mask-image:linear-gradient(#000 70%,#0000 100%);mask-image:linear-gradient(#000 70%,#0000 100%)}.hero-profile-copy{padding:clamp(22px,3vw,42px) clamp(18px,2.4vw,34px) 16px}.hero-gallery-page .hero-profile-copy>small{color:#e8bd64;letter-spacing:.06em;text-transform:uppercase;font:600 clamp(34px,4vw,54px)/1 Georgia,serif;display:block}.hero-gallery-page .hero-profile-copy h2{color:#f2e7d2;letter-spacing:.04em;text-transform:uppercase;overflow-wrap:anywhere;margin:8px 0 12px;font:600 clamp(20px,2vw,28px)/1.15 Georgia,serif}.battle-style,.base-properties{background:#07111acf;border:1px solid #384b5c;margin-top:18px;padding:15px}.battle-style h3,.base-properties h3{color:#e6bd61;text-transform:uppercase;margin:0;font:600 17px/1 Georgia,serif}.base-properties h4{color:#e6bd61;margin:14px 0 4px}.skill-tabs{grid-column:1/-1;padding:0 28px 30px}.skill-tabs [role=tablist]{border-bottom:1px solid #a57a36;display:flex}.skill-tabs [role=tab]{color:#d7dce3;background:#081019;border:1px solid #42546a;min-width:180px;padding:11px}.skill-tabs [role=tab][aria-selected=true]{color:#fff0c7;background:#241b0c;border-color:#e6b54f #e6b54f #09121c}.skill-tabs details{background:#071019;border:1px solid #42546a;border-top:0;padding:12px 14px}.skill-tabs summary{color:#f1e6d0;cursor:pointer}.skill-tabs details p,.ownership-copy{margin:8px 0 0!important}.ownership-copy{font-size:13px;color:#c7b58b!important}@media (width<=950px){.gallery-compendium{grid-template-columns:1fr}.gallery-browser{border-bottom:1px solid #71582f;border-right:0;min-height:0}.gallery-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-profile{grid-template-columns:minmax(190px,.55fr) 1fr}}@media (width<=620px){.hero-gallery-page{background-attachment:scroll;padding:18px 10px}.gallery-browser{padding:20px 14px}.gallery-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-profile{grid-template-columns:1fr}.hero-profile-art{order:0;min-height:300px;max-height:420px}.hero-profile-copy{padding:22px 16px}.hero-gallery-page .hero-profile-copy>small{font-size:clamp(32px,11vw,46px)}.hero-gallery-page .hero-profile-copy h2{font-size:clamp(18px,6vw,24px)}.skill-tabs{padding:0 16px 22px}.skill-tabs [role=tab]{flex:1;min-width:0}.base-properties dl{grid-template-columns:1fr}}.manual-page>header,.manual-page>section{max-width:1100px;margin:0 auto}.manual-page small{color:#d5af65;letter-spacing:.16em;font-size:9px}.manual-page h1{margin:10px 0;font:600 clamp(34px,5vw,58px)/1 Georgia,serif}.manual-page h2{color:#f1e6d0;font:600 clamp(22px,3vw,32px)/1.15 Georgia,serif}.manual-page p{color:#c5c8cd;max-width:760px;line-height:1.65}.manual-back{color:#eccb80;text-transform:uppercase;letter-spacing:.12em;margin-bottom:clamp(26px,4vw,48px);font-size:11px;text-decoration:none;display:inline-block}.manual-filter{flex-wrap:wrap;gap:8px;max-width:1100px;margin:28px auto 16px;display:flex}.manual-filter button{color:#d9dfeb;background:#0b1119;border:1px solid #526174;padding:8px 14px}.manual-filter button[aria-pressed=true]{color:#fff0c8;background:#261d0b;border-color:#d9ab49}.gallery-layout{grid-template-columns:minmax(240px,.72fr) minmax(0,1.45fr);gap:22px;max-width:1100px;margin:auto;display:grid}.gallery-cards{align-content:start;gap:8px;max-height:70svh;display:grid;overflow:auto}.gallery-cards button{color:#eee;text-align:left;background:#0a1018;border:1px solid #384657;grid-template-columns:68px 1fr;gap:10px;padding:7px;display:grid}.gallery-cards button[aria-pressed=true]{border-color:#e4b454;box-shadow:inset 0 0 16px #da9f3230}.gallery-cards img,.gallery-cards .asset-fallback{object-fit:cover;width:68px;height:68px}.gallery-cards span{align-content:center;gap:2px;display:grid}.gallery-cards small{color:#b7c5d6}.gallery-cards em{color:#d2a852;text-transform:uppercase;font-size:10px;font-style:normal}.hero-profile{background:#0a0e14;border:1px solid #725a2e;grid-template-columns:minmax(180px,.5fr) 1fr;gap:24px;padding:clamp(18px,3vw,32px);display:grid}.hero-profile-art{object-fit:contain;align-self:start;width:100%;max-height:420px}.hero-profile dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0 18px;display:grid}.hero-profile dl div{border-bottom:1px solid #293441;justify-content:space-between;gap:8px;padding:6px;display:flex}.hero-profile dt{color:#aebdce}.hero-profile dd{color:#e7c46d;margin:0}.hero-profile details{background:#0d141e;border:1px solid #394759;margin:7px 0;padding:9px}.hero-profile summary{cursor:pointer;color:#f0e5ce}.hero-profile details p{margin:8px 0 0}.manual-na{color:#9fa7b0}.manual-error{color:#ffd0c5}.manual-loading{margin:50px auto}@media (width<=760px){.gallery-layout,.hero-profile{grid-template-columns:1fr}.gallery-cards{max-height:none}.hero-profile-art{max-height:300px}.manual-page{padding:22px 16px}}.hero-profile-identity{gap:7px;min-width:0;display:grid}.hero-profile-faculty-row{align-items:center;gap:14px;min-width:0;display:flex}.hero-gallery-page .hero-profile-faculty-row>small{color:#e8bd64;letter-spacing:.06em;text-transform:uppercase;min-width:0;font:600 clamp(34px,4vw,54px)/1 Georgia,serif;display:block}.hero-profile-identity h2{width:100%;margin:0}.hero-profile-profession-art{flex:0 0 68px;width:68px;height:68px;display:block}.hero-profile-profession-icon{object-fit:contain;width:100%;height:100%;display:block}.hero-profile-profession-art .asset-fallback{color:#e8bd64;place-items:center;font:600 26px/1 Georgia,serif;display:grid}.hero-profile-profession-art .asset-fallback small{display:none}@media (width<=950px){.hero-profile-profession-art{flex-basis:64px;width:64px;height:64px}}@media (width<=620px){.hero-profile-identity{gap:6px}.hero-profile-faculty-row{gap:12px}.hero-profile-profession-art{flex-basis:56px;width:56px;height:56px}.hero-gallery-page .hero-profile-faculty-row>small{font-size:clamp(30px,10vw,42px)}.hero-gallery-page .hero-profile-identity h2{text-wrap:balance;font-size:clamp(18px,4.7vw,22px)}}.stage-hotspot{left:var(--stage-left);top:var(--stage-top);z-index:2;width:var(--stage-width);height:var(--stage-height);color:#fff0c2;clip-path:ellipse(50% 48%);cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg stroke='%23f4d58d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4l4 9 14 14M25 4l-4 9L7 27'/%3E%3Cpath d='M4 7l3-3 3 7M28 7l-3-3-3 7M5 25l2 2 2-2M27 25l-2 2-2-2'/%3E%3C/g%3E%3C/svg%3E") 16 16,crosshair;background:0 0;border:0;border-radius:50%;padding:0;position:absolute;overflow:hidden}.stage-hotspot-glow{opacity:0;background:radial-gradient(at 50% 55%,#ffbd4c52 0%,#d9771d2e 44%,#0000 73%);border-radius:50%;transition:opacity .2s;position:absolute;inset:4% 3%;box-shadow:inset 0 0 18px #ffd07a61,0 0 30px #d9822970}.stage-hotspot-label{opacity:0;color:#fff0c8;text-align:center;text-shadow:0 1px 3px #000;background:#110d08d9;border:1px solid #e0b669;min-width:37%;padding:clamp(3px,.45vw,8px) clamp(8px,.75vw,14px);transition:opacity .2s,transform .2s;display:grid;position:absolute;bottom:9%;left:50%;transform:translate(-50%)translateY(5px);box-shadow:0 3px 12px #000b,inset 0 0 10px #bb772229}.stage-hotspot-label strong{letter-spacing:.08em;font:600 clamp(10px,1vw,17px)/1 Georgia,Times New Roman,serif}.stage-hotspot-label small{color:#e7bc6f;letter-spacing:.18em;text-transform:uppercase;margin-top:3px;font-size:clamp(5px,.42vw,8px)}.stage-hotspot:hover .stage-hotspot-glow,.stage-hotspot:focus-visible .stage-hotspot-glow,.stage-hotspot.is-active .stage-hotspot-glow{opacity:1;animation:1.8s ease-in-out infinite stage-arena-pulse}.stage-hotspot:hover .stage-hotspot-label,.stage-hotspot:focus-visible .stage-hotspot-label,.stage-hotspot.is-active .stage-hotspot-label{opacity:1;transform:translate(-50%)translateY(0)}.stage-hotspot:focus-visible{outline-offset:-5px;outline:3px solid #fff0bd}.stage-hotspot-debug{color:#fff2a6;font:700 clamp(8px, .8vw, 13px)/1 var(--font-geist-mono), monospace;letter-spacing:.1em;text-shadow:0 1px 3px #000;background:#ff9d1838;border:2px dashed #ffd55e;border-radius:50%;place-items:center;display:none;position:absolute;inset:0}.debug-hotspots .stage-hotspot-debug{display:grid}@media (width<=620px){.stage-map-route strong{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.stage-map-route{justify-content:center;width:44px;padding:0}.stage-map-navigation{inset:9px}}@keyframes stage-arena-pulse{50%{opacity:.65;filter:brightness(1.12)}}.battle-shell{--browser-size-rate:1;--battle-header-base-height:82px;--battle-header-height:var(--battle-header-base-height);--battle-side-panel-base-width:340px;--battle-side-panel-width:var(--battle-side-panel-base-width);--battle-command-deck-base-height:220px;--battle-command-deck-height:var(--battle-command-deck-base-height);--battle-command-acting-base-width:280px;--battle-command-acting-width:var(--battle-command-acting-base-width);--battle-command-skills-width:.9fr;--battle-command-log-min-width:420px;--battle-command-log-width:1.25fr;grid-template-rows:var(--battle-header-height) minmax(0,1fr) var(--battle-command-deck-height) 55px;background:radial-gradient(circle at 50% 20%,#14213c,#0000 40%),#05070b;border:1px solid #242d36;min-width:0;height:100dvh;display:grid;position:relative;overflow:hidden}.battle-header{z-index:10;background:linear-gradient(#090c11,#05070a);border-bottom:1px solid #26394a;grid-template-columns:100px 1fr 250px 1fr 100px;align-items:start;display:grid;position:relative}.header-tools{gap:9px;padding:12px;display:flex}.header-tools.right{justify-content:flex-end}.header-tools button,.header-tools a{color:#c7b284;cursor:pointer;background:#111319;border:1px solid #635337;border-radius:5px;place-items:center;width:38px;height:38px;text-decoration:none;display:grid}.side-banner{border-bottom:1px solid;align-items:center;gap:16px;height:58px;padding:0 28px;display:flex;transform:skew(-12deg)}.side-banner>*{transform:skew(12deg)}.side-banner strong{letter-spacing:.05em;font-size:15px}.side-banner i{letter-spacing:.2em;opacity:.55;margin-left:auto;font-size:9px}.side-banner.friendly{background:linear-gradient(90deg,#061933,#082b55);border-color:#1b72ac}.side-banner.enemy{background:linear-gradient(90deg,#3b0a0b,#1a0809);border-color:#9b2d26;justify-content:flex-end}.crest{border:1px solid var(--gold);width:44px;height:44px;color:var(--gold-light);background:#090b10;border-radius:50%;place-items:center;font-family:Georgia,serif;font-size:24px;display:grid}.round{clip-path:polygon(8% 0,92% 0,100% 78%,92% 100%,8% 100%,0 78%);background:#0d0c0f;border:1px solid #594832;border-top:0;flex-direction:column;align-items:center;height:72px;padding-top:10px;display:flex}.round strong{letter-spacing:.08em;font-family:Georgia,serif;font-size:20px}.round span{color:#c5af85;letter-spacing:.14em;margin-top:4px;font-size:11px}.turn-order{clip-path:polygon(4% 0,96% 0,100% 55%,96% 100%,4% 100%,0 55%);background:#080b11e8;border:1px solid #5a482d;border-top:0;gap:4px;padding:6px 14px 8px;display:flex;position:absolute;top:57px;left:50%;transform:translate(-50%)}.turn-order>span{background:#15111d;border:1px solid #665132;width:38px;height:38px;position:relative}.turn-order>span:focus-visible{outline-offset:3px;outline:2px solid #f5bf50}.turn-order-art{width:100%;height:100%;display:block}.turn-order-art img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.turn-order-art .asset-fallback{width:100%;height:100%}.turn-order .asset-fallback{border:0;min-height:36px;font-size:10px}.turn-order .asset-fallback small,.turn-order small{display:none}.turn-order b{background:#050505;padding:1px 3px;font-size:9px;position:absolute;bottom:0;right:1px}.turn-order .current{border-color:#f5bf50;transform:translateY(2px)scale(1.12);box-shadow:0 0 12px #f2ab34}.turn-order .acted{filter:grayscale();opacity:.55}.turn-order-name-popup{z-index:1000;pointer-events:none;color:#f5e8cc;white-space:normal;overflow-wrap:anywhere;text-align:center;background:#0a0d12f2;border:1px solid #8a6a36;border-radius:3px;width:max-content;max-width:min(240px,100vw - 16px);padding:5px 9px;font-size:11px;line-height:1.25;position:fixed;box-shadow:0 5px 18px #000b,0 0 10px #b37a282e}.battle-layout{grid-template-columns:var(--battle-side-panel-width) minmax(0,1fr) var(--battle-side-panel-width);min-height:0;padding-top:4px;display:grid}.battle-orientation-guard{z-index:500;color:#fff0c8;text-align:center;background:#05070bf2;align-content:center;place-items:center;gap:12px;padding:28px;display:grid;position:fixed;inset:0}.battle-orientation-guard strong{color:#e3b95e;letter-spacing:.14em;font:28px Georgia,serif}.battle-orientation-guard span{color:#c6c9d0;font-size:13px}.team-panel{z-index:3;background:linear-gradient(#0b111a,#080a0f);border:1px solid #263f56;grid-template-rows:30px minmax(0,1fr);padding:8px;display:grid}.team-panel.enemy{border-color:#572d29}.team-panel>header{color:#3bbdfa;letter-spacing:.08em;border-bottom:1px solid #265a7d;align-items:center;gap:8px;padding:0 6px;font-size:12px;display:flex}.team-panel.enemy>header{color:#ff6753;border-color:#7c342b}.team-panel>header small{color:var(--muted);margin-left:auto}.team-cards{grid-template-rows:repeat(3,minmax(0,1fr));gap:6px;min-height:0;padding:7px 0;display:grid}.hero-card{--sidebar-portrait-size:100px;grid-template-columns:var(--sidebar-portrait-size) minmax(0,1fr);background:linear-gradient(100deg,#0b1018,#080a0e);border:1px solid #2d3947;gap:9px;min-height:0;padding:7px;transition:background .18s,box-shadow .18s;display:grid;position:relative}.hero-stats-button{z-index:3;color:#e5bd68;cursor:pointer;background:linear-gradient(145deg,#21190c,#090b0f 72%);border:1px solid #aa8039;place-items:center;width:25px;height:23px;padding:3px;display:grid;position:absolute;bottom:6px;right:6px;box-shadow:inset 0 0 8px #b9892c24}.hero-stats-button svg{fill:currentColor;width:14px;height:14px;display:block}.hero-stats-button:hover,.hero-stats-button:focus-visible{color:#ffe29f;border-color:#f1c96f;box-shadow:inset 0 0 11px #d8a44135,0 0 9px #c8963b40}.hero-card .status-row{padding-right:30px}.hero-card.friendly.active{border-color:#2caeea;box-shadow:inset 4px 0 #38bdfa,0 0 16px #1574a84d}.hero-card.enemy{border-color:#482a2a}.hero-card.enemy.active{border-color:#ef5949}.hero-card.target-highlighted{background:radial-gradient(105% 150%,#0000 40%,#d99b2b12 78%,#b875191c 100%),linear-gradient(100deg,#0b1018,#080a0e)}.hero-card.target-highlighted:after{content:"";z-index:0;pointer-events:none;background:radial-gradient(#0000 46%,#efbf5f0d 100%);position:absolute;inset:0;box-shadow:0 0 10px 2px #f3cb6b65,0 0 24px 6px #d89a2d55,0 0 46px 11px #91571338}.hero-card.target-highlighted>:not(.hero-stats-button){z-index:1;position:relative}.hero-card.defeated .portrait,.hero-card.defeated .hero-data{filter:grayscale();opacity:.5}.asset-fallback{color:#dcc4ff;text-align:center;background:radial-gradient(circle at 50% 30%,#52317a,#17101f 42%,#08090c 72%);border:1px solid #8063a1;align-content:center;place-items:center;min-height:55px;font:600 18px Georgia,serif;display:grid;overflow:hidden}.asset-fallback:before{content:"";background:#08080caa;border-radius:50% 50% 40% 40%;width:28px;height:28px;position:absolute}.asset-fallback small{letter-spacing:.14em;color:#b5a8c0;margin-top:5px;font:6px Arial,sans-serif;position:relative}.portrait{width:100%;height:100%;min-height:62px;position:relative}.hero-data{flex-direction:column;gap:5px;min-width:0;display:flex}.hero-title{justify-content:space-between;min-width:0;display:flex}.hero-title h3{white-space:nowrap;text-overflow:ellipsis;margin:0;font:600 13px Georgia,serif;overflow:hidden}.hero-title p{color:var(--muted);margin:2px 0 0;font-size:10px}.profession-icon-frame{flex:0 0 26px;width:26px;height:26px;display:block;position:relative}.profession-icon-frame:after{content:"";z-index:1;pointer-events:none;background:linear-gradient(#8b713d 0 0) 0 0/7px 1px no-repeat,linear-gradient(#8b713d 0 0) 0 0/1px 7px no-repeat,linear-gradient(#8b713d 0 0) 100% 0/7px 1px no-repeat,linear-gradient(#8b713d 0 0) 100% 0/1px 7px no-repeat,linear-gradient(#8b713d 0 0) 0 100%/7px 1px no-repeat,linear-gradient(#8b713d 0 0) 0 100%/1px 7px no-repeat,linear-gradient(#8b713d 0 0) 100% 100%/7px 1px no-repeat,linear-gradient(#8b713d 0 0) 100% 100%/1px 7px no-repeat;position:absolute;inset:0}.class-icon{object-fit:cover;background:#080808;border:0;width:26px;height:26px;display:block}.class-icon.asset-fallback{min-height:26px;font-size:8px}.class-icon.asset-fallback small{display:none}.meter-row{font:9px var(--font-geist-mono), monospace;grid-template-columns:1fr auto;align-items:center;gap:5px;display:grid}.meter{background:#050606;border:1px solid #283037;border-radius:2px;height:8px;overflow:hidden}.meter span{height:100%;transition:width .45s;display:block}.meter.hp span{background:linear-gradient(90deg,#18872d,#64df65)}.meter.resource span{background:linear-gradient(90deg,#176494,#2eb6f1)}.status-row{gap:4px;min-height:18px;margin-top:auto;display:flex}.status-icon{cursor:help;border:1px solid;place-items:center;width:18px;height:18px;font-size:10px;display:inline-grid;position:relative;overflow:visible}.status-icon-art{object-fit:cover;width:100%;height:100%;display:block}.status-icon.harmful{color:#dba7ff;background:#261335;border-color:#7846a4}.status-icon.helpful{color:#8bd9ff;background:#0b2740;border-color:#387bb4}.status-stack-badge{z-index:2;color:#ffe04b;min-width:10px;height:10px;font:700 7px/1 var(--font-geist-mono),monospace;letter-spacing:-.04em;text-shadow:0 1px 1px #000;pointer-events:none;background:0 0;border:0;place-items:center;padding:0 1px;display:grid;position:absolute;bottom:-5px;right:-5px}.status-icon [role=tooltip]{width:190px;color:var(--text);border:1px solid var(--gold);z-index:30;background:#050609;padding:8px;font-size:10px;line-height:1.4;display:none;position:absolute;bottom:25px;left:0}.status-icon [role=tooltip] strong{color:var(--gold-light);display:block}.status-icon:hover [role=tooltip],.status-icon:focus [role=tooltip]{display:block}.summon-rounds{border:1px solid #6e5b79;padding:2px 4px;font-size:8px}.empty-slot{color:#424751;background:#07090d;border:1px dashed #343a43;align-content:center;place-items:center;gap:5px;display:grid}.empty-slot span{font-size:28px}.empty-slot small{letter-spacing:.16em;font-size:8px}.hero-stats-dialog{color:#ece7dc;background:radial-gradient(circle at 15% 0,#1b2230 0%,#0a0f16 42%,#07090d 100%);border:1px solid #bd9145;width:min(720px,100vw - 28px);max-height:calc(100dvh - 28px);margin:auto;padding:0;overflow:auto;box-shadow:0 28px 90px #000,inset 0 0 45px #c18a2815}.hero-stats-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#010205d9}.hero-stats-header{background:linear-gradient(105deg,#17202b,#0a0d12 58%,#1b1308);border-bottom:1px solid #765a2d;grid-template-columns:96px minmax(0,1fr) 34px;align-items:center;gap:16px;min-height:116px;padding:14px 16px;display:grid;position:relative}.hero-stats-portrait{object-fit:cover;object-position:center 24%;background:#080a0e;border:1px solid #8e713e;width:96px;height:88px;min-height:88px}.hero-stats-header small{color:#d9af5e;letter-spacing:.18em;font-size:9px}.hero-stats-header h2{color:#f4e5c7;margin:5px 0 4px;font:600 28px/1 Georgia,serif}.hero-stats-header p{color:#aeb5bf;margin:0;font-size:11px}.hero-stats-close{color:#d9bc82;cursor:pointer;background:#0c0e12;border:1px solid #715d3c;align-self:start;place-items:center;width:34px;height:34px;padding:0;font:24px/1 Arial,sans-serif;display:grid}.hero-stats-close:hover,.hero-stats-close:focus-visible{color:#fff0c8;border-color:#e2b75f}.hero-stats-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.hero-stats-current-hp{background:#0b121a;border:1px solid #324455;grid-column:1/-1;justify-content:space-between;align-items:baseline;padding:12px 14px;display:flex}.hero-stats-current-hp span,.hero-stats-section h3{color:#d9b05e;letter-spacing:.14em;font-size:10px}.hero-stats-current-hp strong{color:#edf0ea;font:700 24px var(--font-geist-mono),monospace;font-variant-numeric:tabular-nums}.hero-stats-section{background:#090e14;border:1px solid #303d4b;min-width:0}.hero-stats-section h3{background:#0d141d;border-bottom:1px solid #273541;margin:0;padding:10px 12px}.hero-stats-section dl{margin:0;padding:4px 12px 9px}.hero-stats-section dl>div{border-bottom:1px solid #222d36;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:12px;padding:8px 0;display:grid}.hero-stats-section dl>div:last-child{border-bottom:0}.hero-stats-section dt{color:#b5bcc5;font-size:11px}.hero-stats-section dd{text-align:right;margin:0}.hero-stat-value{font-family:var(--font-geist-mono),monospace;font-variant-numeric:tabular-nums;align-items:baseline;gap:6px;display:inline-flex}.hero-stat-value strong{font-size:13px}.hero-stat-value small{font-size:10px}.hero-stat-value.positive{color:#66db77}.hero-stat-value.negative{color:#ff7265}.hero-stat-value.neutral{color:#eee6d6}.hero-stats-updating{color:#d7b86e;letter-spacing:.04em;font-size:10px}.hero-stats-effects{grid-column:1/-1}.hero-stats-effects>p{color:#9ea6b0;margin:0;padding:16px;font-size:11px}.hero-stats-effects ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:10px;list-style:none;display:grid}.hero-stats-effects li{background:#0b1017;border:1px solid #27333f;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:7px;display:grid}.hero-stats-effects li>span:not(.status-icon){gap:2px;min-width:0;display:grid}.hero-stats-effects li>span>strong{color:#e7dcc6;text-overflow:ellipsis;white-space:nowrap;font:600 11px Georgia,serif;overflow:hidden}.hero-stats-effects li>span>small{color:#8f98a4;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.hero-stats-effects li>em{color:#d9bd7c;font:normal 9px var(--font-geist-mono),monospace;white-space:nowrap}@media (width<=620px){.hero-stats-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 18px)}.hero-stats-header{grid-template-columns:72px minmax(0,1fr) 34px;gap:11px;padding:11px}.hero-stats-portrait{width:72px;height:72px;min-height:72px}.hero-stats-header h2{font-size:22px}.hero-stats-body{grid-template-columns:1fr;padding:10px}.hero-stats-current-hp,.hero-stats-effects{grid-column:1}.hero-stats-effects ul{grid-template-columns:1fr}}.battlefield{isolation:isolate;background-color:#090d1b;background-image:var(--battle-background-image);background-position:50%;background-repeat:no-repeat;background-size:cover;min-width:0;position:relative;overflow:hidden}.battle-entry-countdown{z-index:250;cursor:wait;background:radial-gradient(circle,#07101b18,#03040a8f 76%);place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.entry-countdown-value{box-sizing:border-box;text-align:center;color:#fff1c8;font-variant-numeric:tabular-nums;letter-spacing:0;text-indent:0;text-shadow:0 2px 10px #000;transform-origin:50%;background:#05070bd9;border:1px solid #e0b65c;place-items:center;width:190px;height:142px;padding:0;font-family:Georgia,serif;font-size:72px;font-weight:700;line-height:1;animation:1s ease-out entry-countdown-pulse;display:grid;box-shadow:0 0 42px #d29a3f75,inset 0 0 28px #d29a3f25}.entry-countdown-value.start{letter-spacing:.12em;text-indent:.12em;width:280px;font-size:58px}.battlefield:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(#0000 46%,#06070c80 100%);position:absolute;inset:0}.battlefield:after{content:"";pointer-events:none;z-index:5;background:linear-gradient(90deg,#050912b8,#0000 18% 82%,#170809b8),radial-gradient(#0000 50%,#03040a 100%);position:absolute;inset:0}.battlefield-caption{z-index:6;text-align:center;opacity:.55;letter-spacing:.2em;font-size:8px;position:absolute;bottom:7px;left:50%;transform:translate(-50%)}.battlefield-caption small{margin-top:3px;display:block}.battle-viewport-readout{z-index:6;color:#e9dfc8;min-width:112px;font-family:var(--font-geist-mono),monospace;letter-spacing:.08em;pointer-events:none;background:#070a0dbd;border:1px solid #a9833f77;gap:2px;padding:7px 9px;line-height:1.15;display:grid;position:absolute;top:12px;right:14px;box-shadow:inset 0 0 14px #c6922a18,0 2px 10px #0008}.battle-viewport-readout small{color:#d1a551;font-size:7px}.battle-viewport-readout strong{font-variant-numeric:tabular-nums;font-size:11px}.battle-viewport-readout span{color:#90bddd;text-transform:uppercase;font-size:7px}.formation-slot{z-index:3;width:0;height:0;position:absolute}.formation-slot[data-slot=rear]{z-index:3}.formation-slot[data-slot=centre]{z-index:4}.formation-slot[data-slot=front]{z-index:5}.formation-slot .battle-figure{top:-416px;left:-125px}.battle-figure{--figure-frame-height:202px;width:250px;height:416px;color:var(--text);z-index:3;pointer-events:none;background:0 0;border:0;padding:0;transition:transform .32s,filter .2s;position:absolute}.battle-target-control{width:calc(var(--figure-frame-width) - 5px);height:calc(var(--figure-frame-height) - 5px);color:inherit;pointer-events:auto;transform:translateX(-50%) scale(calc(var(--figure-scale) * var(--browser-size-rate)));transform-origin:bottom;background:0 0;border:0;padding:0;position:absolute;bottom:0;left:50%}.battle-target-control.target-cursor-damage:not(:disabled),.battle-target-control.target-cursor-damage.target-selection-pending{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg stroke='%23f4d58d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4l4 9 14 14M25 4l-4 9L7 27'/%3E%3Cpath d='M4 7l3-3 3 7M28 7l-3-3-3 7M5 25l2 2 2-2M27 25l-2 2-2-2'/%3E%3C/g%3E%3C/svg%3E") 16 16,crosshair}.battle-target-control.target-cursor-healing:not(:disabled),.battle-target-control.target-cursor-healing.target-selection-pending{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%2348dc72' stroke='%23092313' stroke-width='1.5' stroke-linejoin='round' d='M11 3h10v8h8v10h-8v8H11v-8H3V11h8z'/%3E%3Cpath fill='none' stroke='%23b6ffca' stroke-width='1.2' stroke-linejoin='round' d='M12 4h8v8h8v8h-8v8h-8v-8H4v-8h8z'/%3E%3C/svg%3E") 16 16,crosshair}.battle-target-control:disabled{opacity:1}.figure-footprint{width:172px;height:var(--figure-frame-height);z-index:2;position:absolute;bottom:17px;left:50%;transform:translate(-50%)}.figure-art{clip-path:polygon(30% 0,70% 0,82% 22%,72% 36%,94% 100%,6% 100%,28% 36%,18% 22%);z-index:2;background:radial-gradient(circle at 50% 20%,#7561a6,#161224 35%,#09090d 70%);border:0;border-radius:48% 48% 20% 20%;width:100%;height:100%;min-height:0;transition:opacity .22s;position:absolute;inset:0}.battle-figure.shadow-evasion-active .figure-art{opacity:.5}img.figure-art.fallback-requested{object-fit:contain;object-position:center bottom;clip-path:none;background:0 0;border-radius:0}.battle-figure.enemy img.figure-art.fallback-requested{transform:scaleX(-1)}.figure-art.asset-fallback:before,.figure-art.asset-fallback small{display:none}.figure-art.asset-fallback{height:100%;min-height:0;font-size:10px;inset:0}.enemy .figure-art{background:radial-gradient(circle at 50% 20%,#a85d55,#281317 35%,#0a090b 70%)}.figure-aura{z-index:1;background:#2584ff2e;border-radius:50%;width:100px;height:35px;position:absolute;bottom:-12px;left:50%;transform:translate(-50%);box-shadow:0 0 22px #2988ff}.enemy .figure-aura{background:#e3403025;box-shadow:0 0 22px #e34130}.battle-figure.acting .figure-aura{animation:1.2s infinite pulse-centered}.overhead{bottom:calc((var(--figure-frame-height) + 17px) * var(--figure-scale) * var(--browser-size-rate) + 12px);z-index:5;background:#06080ce8;border:1px solid #525a6a;width:132px;padding:3px 4px;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 2px 8px #000}.overhead-health{grid-template-columns:minmax(0,1fr);gap:2px;display:grid}.overhead .meter-row{grid-template-columns:minmax(0,1fr) auto;font-size:10px}.overhead .meter{height:9px}.overhead .sr-only{position:absolute}.format-duel .overhead{transform:translateX(-50%) scale(calc(1.5 * var(--browser-size-rate)));transform-origin:bottom}.overhead-name{color:#ece7dc;text-align:left;text-overflow:ellipsis;text-shadow:0 1px 3px #000;white-space:nowrap;min-width:0;font-size:10px;font-weight:600;line-height:1.2;display:block;overflow:hidden}.battle-figure.selectable{filter:drop-shadow(0 0 8px #e34838)}:is(.battle-figure.selectable:has(.battle-target-control:not(:disabled):hover),.battle-figure.selectable:has(.battle-target-control:focus-visible),.battle-figure.targeted){filter:drop-shadow(0 0 14px #ffca60)}.target-preview-card{left:50%;bottom:calc((var(--figure-frame-height) + 17px) * var(--figure-scale) * var(--browser-size-rate) + 14px);z-index:30;color:#ece7dc;pointer-events:none;text-align:left;background:linear-gradient(145deg,#151005f2,#07090df5 66%);border:1px solid #a9834f;width:178px;padding:8px 9px;position:absolute;transform:translate(-50%);box-shadow:0 4px 16px #000d,inset 0 0 15px #b7812420}.target-preview-card>strong{color:#f1d28f;letter-spacing:.04em;text-align:center;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #5d4a2f;justify-content:center;align-items:center;gap:12px;padding-bottom:5px;font:600 9px/1.25 Georgia,serif;display:flex;overflow:hidden}.target-preview-card .target-preview-arrow{color:#e7bc62;letter-spacing:0;text-shadow:0 0 6px #d69a3588;transform-origin:50%;vertical-align:-1px;flex:none;font-family:Georgia,serif;font-size:15px;font-weight:700;line-height:8px;display:inline-block;transform:scaleX(1.4)}.target-preview-card p{color:#b7b1a5;margin:7px 0 1px;font-size:9px}.target-preview-card.loading p:after{content:"";vertical-align:bottom;width:10px;margin-left:3px;animation:1s steps(4,end) infinite preview-ellipsis;display:inline-block;overflow:hidden}.target-preview-card.unavailable{color:#a9a49c;border-color:#716657}.target-preview-card dl{gap:3px;margin:6px 0 0;display:grid}.target-preview-card dl>div{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:7px;display:grid}.target-preview-card dt{color:#a7a29a;font-size:8px}.target-preview-card dd{color:#f3e3bd;font:600 9px var(--font-geist-mono),monospace;font-variant-numeric:tabular-nums;text-align:right;margin:0}.target-preview-card .preview-consequence{border-top:1px solid #59442680;margin-top:2px;padding-top:4px}.target-preview-card .preview-consequence dt,.target-preview-card .preview-consequence dd{color:#e7b958}.target-preview-dock{z-index:30;pointer-events:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:min(360px,100% - 18px);display:none;position:absolute;top:9px;left:9px}.target-preview-dock>.target-preview-card{width:auto;min-width:0;position:relative;inset:auto;transform:none}.target-preview-dock>.target-preview-card:only-child{grid-column:1/-1;max-width:210px}.combat-text{z-index:20;text-shadow:0 2px 4px #000;font:700 20px Georgia,serif;animation:2.5s both float-text;position:absolute;top:24%;left:50%}.combat-text.damage{color:#ff5d4a}.combat-text.heal{color:#66f284}.combat-text.evade{color:#f7e6a9;font-size:14px}.combat-text.prevented{color:#fff0a6;text-shadow:0 2px 4px #000,0 0 10px #ffc942;font-size:24px}.battle-figure.friendly.fx-damageApplied{animation:.35s target-shake-friendly}.battle-figure.enemy.fx-damageApplied{animation:.35s target-shake-enemy}.fx-healingApplied .figure-art{filter:drop-shadow(0 0 18px #46f087)}.fx-healingApplied.priest-healing-target .figure-art{filter:drop-shadow(0 0 18px #edca6b)}.fx-healingApplied.paladin-healing-target .figure-art{filter:drop-shadow(0 0 12px #fff0ab)drop-shadow(0 0 28px #e5a627)}.fx-attackEvaded.evade-friendly{animation:.5s evade-friendly}.fx-attackEvaded.evade-enemy{animation:.5s evade-enemy}.fx-characterSummoned{animation:.7s summon-in}.movement-lunge.lunge-friendly{animation:.5s lunge-friendly}.movement-lunge.lunge-enemy{animation:.5s lunge-enemy}.target-effect{pointer-events:none;z-index:3;position:absolute;left:50%}.target-effect.effect-healing,.target-effect.effect-priest-healing{filter:drop-shadow(0 0 15px #35d66f);background:radial-gradient(at bottom,#55ff8a4d,#0000 65%);width:108px;height:160px;animation:.7s ease-out healing-rise;bottom:-2px;transform:translate(-50%)}.target-effect.effect-priest-healing{filter:drop-shadow(0 0 15px #edca6b);background:radial-gradient(at bottom,#f5d98266,#0000 65%)}.priest-healing-caster{pointer-events:none;z-index:4;position:absolute;inset:0}.priest-rune{opacity:0;border:2px solid #f2d17b;border-radius:50%;width:180px;animation:.5s ease-out forwards priest-rune-appear;position:absolute;left:50%;box-shadow:0 0 10px #f1cf75,0 0 20px #c9973f88}.priest-rune:after{content:"";opacity:.8;border:1px solid #fff0b4;border-radius:50%;position:absolute;inset:4px}.priest-rune-crown{height:40px;top:-26px;transform:translate(-50%)rotateX(62deg)}.priest-rune-foot{height:56px;animation-delay:80ms;bottom:-18px;transform:translate(-50%)rotateX(62deg)}.target-effect.effect-buff,.target-effect.effect-debuff{border:3px solid;border-radius:50%;width:104px;height:42px;animation:.75s ease-out effect-rings;bottom:4px;transform:translate(-50%);box-shadow:0 0 20px}.target-effect.effect-buff:after,.target-effect.effect-debuff:after{content:"";border:2px solid;border-radius:50%;position:absolute;inset:7px 12px}.target-effect.effect-buff{color:#39a9ff}.target-effect.effect-debuff{color:#ff4f46}.target-effect.effect-paladin-healing{filter:drop-shadow(0 0 13px #fff4bc)drop-shadow(0 0 24px #d99820);background:radial-gradient(76px 48px at 50% 94%,#fff7c785 0%,#efb6324d 43%,#0000 74%),radial-gradient(52px 68px at 50% 42%,#fffce536 0%,#f6c64a18 48%,#0000 76%);width:118px;height:166px;animation:.78s ease-out both paladin-healing-settle;bottom:-4px;overflow:visible;transform:translate(-50%)}.target-effect.effect-paladin-healing:before{content:"";filter:blur(2px);background:radial-gradient(circle,#fffef1cc 0%,#fff2ad9c 24%,#efba4657 52%,#0000 76%);border-radius:50%;width:92px;height:92px;animation:.78s cubic-bezier(.2,.7,.2,1) both paladin-healing-descend;position:absolute;top:-28px;left:50%;transform:translate(-50%)}.target-effect.effect-paladin-healing:after{content:"";filter:blur(3px);background:radial-gradient(#fff9d5a8 0%,#f3bd4470 34%,#0000 72%);border-radius:50%;width:142px;height:56px;animation:.78s ease-out both paladin-healing-ground;position:absolute;bottom:-4px;left:50%;transform:translate(-50%)}.target-effect.effect-damage-prevented{color:#ffd76d;filter:drop-shadow(0 0 12px #f5b82f);width:76px;height:90px;animation:1s ease-out both shield-protection;bottom:100px;transform:translate(-50%)}.target-effect.effect-damage-prevented:before,.target-effect.effect-damage-prevented:after{content:"";clip-path:polygon(50% 0,92% 16%,84% 70%,50% 100%,16% 70%,8% 16%);position:absolute}.target-effect.effect-damage-prevented:before{background:linear-gradient(145deg,#fff4b8,#d79b18 48%,#7d4a08);inset:0}.target-effect.effect-damage-prevented:after{background:radial-gradient(circle at 48% 32%,#fffbd9cc,#d8941933 55%),#2a1d09cc;inset:5px}.effect-layer{z-index:2;pointer-events:none;position:absolute;inset:0}.effect-layer.magic span{background:linear-gradient(90deg,#0000,#b75cff,#ecdcff,#0000);width:38%;height:3px;animation:.55s beam;position:absolute;top:50%;left:28%;box-shadow:0 0 20px #a442ff}.effect-layer.summon span{background:linear-gradient(90deg,#0000,#8f52ff55,#0000);width:100px;height:170px;position:absolute;top:48%;left:6%;box-shadow:0 0 30px #8f52ff}.command-deck{grid-template-columns:var(--battle-command-acting-width) minmax(0,var(--battle-command-skills-width)) minmax(var(--battle-command-log-min-width),var(--battle-command-log-width));background:linear-gradient(#090b10,#05070a);border-top:1px solid #625137;gap:8px;min-height:0;padding:8px;display:grid}.acting-card{background:#0a0d12;border:1px solid #6c5735;grid-template-columns:92px 1fr;gap:12px;padding:7px;display:grid;position:relative}.acting-card h2{margin:4px 0;font:600 20px Georgia,serif}.acting-card p{color:var(--muted);margin:0;font-size:11px}.acting-card small{color:var(--gold);letter-spacing:.15em;font-size:8px}.acting-card .portrait{min-height:0}.acting-card.battle-ended{background:radial-gradient(circle at 18%,#2c2414,#0a0d12 45%);border-color:#927642}.ended-crest{color:#f1cf82;text-shadow:0 0 18px #dca933;place-items:center;font-size:44px;display:grid}.turn-intent{color:#d2ae67;letter-spacing:.08em;margin-top:25px;font-size:8px;display:block}.self-preview-card{z-index:4;box-sizing:border-box;color:#ece7dc;pointer-events:none;background:linear-gradient(145deg,#161106fa,#07090dfd 68%);border:1px solid #a9834f;width:max(100% - 12px,220px);padding:7px 8px;position:absolute;inset:6px auto 6px 6px;overflow:hidden;box-shadow:inset 0 0 18px #b7812426}.self-preview-card header{border-bottom:1px solid #5d4a2f;justify-content:space-between;align-items:baseline;gap:8px;padding-bottom:4px;display:flex}.self-preview-card header small{color:#d8b664;letter-spacing:.1em;text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.self-preview-card header strong{color:#f1d28f;white-space:nowrap;flex:none;font:600 9px/1.2 Georgia,serif}.self-preview-card p{color:#b7b1a5;margin:8px 0;font-size:8px}.self-preview-card dl{gap:2px;margin:5px 0 0;display:grid}.self-preview-card dl>div{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:6px;min-width:0;display:grid}.self-preview-card dt{color:#a7a29a;text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.self-preview-card dd{color:#f3e3bd;font:600 8px var(--font-geist-mono),monospace;font-variant-numeric:tabular-nums;text-align:right;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.self-preview-card .preview-consequence{border-top:1px solid #59442670;margin-top:1px;padding-top:2px}.self-preview-card .preview-consequence dt,.self-preview-card .preview-consequence dd{color:#e7b958}.self-preview-card.unavailable{border-color:#716657}.self-preview-card.unavailable p{color:#a9a49c}.skills{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:6px;min-width:0;min-height:0;display:grid}.skill-card{min-width:0;height:100%;min-height:0;color:var(--text);text-align:left;cursor:pointer;background:radial-gradient(circle at 12% 78%,#9a6f201c,#0000 30%),linear-gradient(145deg,#0a1010,#101016 58%,#171308);border:1px solid #51452e;grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:52px 1fr;align-self:stretch;gap:7px;padding:8px;display:grid;position:relative;overflow:hidden}.skill-card:hover:not(:disabled),.skill-card.selected{border-color:#e0b65c;box-shadow:inset 0 0 25px #b8882422}.skill-card.selected:after{content:"SELECTED";color:var(--gold-light);letter-spacing:.12em;font-size:7px;position:absolute;top:4px;right:5px}.skill-card:disabled{opacity:.52;cursor:not-allowed}.skill-glyph{aspect-ratio:1;color:#90ff6f;background:radial-gradient(circle,#376b2b,#0b160a 65%);border:1px solid #6f5430;grid-area:1/1;place-items:center;width:100%;font:36px Georgia,serif;display:grid;overflow:hidden}.skill-glyph-art{object-fit:cover;width:100%;height:100%;display:block}.skill-card.red .skill-glyph{color:#ff6d4f;background:radial-gradient(circle,#72251c,#170808)}.skill-card.violet .skill-glyph{color:#d391ff;background:radial-gradient(circle,#512773,#110a17)}.skill-card.passive{opacity:1;cursor:default;background:radial-gradient(circle at 12% 78%,#c7962829,#0000 42%),linear-gradient(145deg,#111008,#17130b 58%,#231b09);border-color:#8d722c}.skill-card.passive .skill-glyph{color:#ffe49a;background:radial-gradient(circle,#8a681d,#1b1305 68%)}.skill-card.passive .skill-meta{color:#f1cf72}.skill-card.passive-display:hover{box-shadow:none;border-color:#8d722c}.skill-placeholder{color:#8b929b;cursor:default;filter:grayscale(.72);background:linear-gradient(145deg,#0a0d11,#11141a 58%,#0b0d10);border-color:#3d4249}.skill-placeholder .skill-glyph{color:#9ca5af;background:radial-gradient(circle,#333943,#101319 68%);border-color:#4c535d}.skill-placeholder .skill-copy strong,.skill-placeholder .skill-copy em,.skill-placeholder .skill-meta{color:#8c949e}.skill-placeholder .skill-copy span{color:#727b86}.skill-placeholder .skill-ornament{opacity:.38;border-color:#39404a}.skill-placeholder .skill-ornament i{background:#59616b}.skill-copy{flex-direction:column;grid-area:1/2/3;min-width:0;display:flex}.skill-copy strong{font:600 13px Georgia,serif}.skill-copy span{color:#b3b2b5;margin-top:7px;font-size:9px;line-height:1.4}.skill-copy em{color:#d7ba7e;text-transform:uppercase;letter-spacing:.08em;margin-top:auto;padding-top:7px;font-size:7px}.skill-ornament{opacity:.75;background:linear-gradient(135deg,#0000 20%,#b78c2512 20% 22%,#0000 22% 48%,#b78c2512 48% 50%,#0000 50%);border:1px solid #4b3d27;border-top:0;grid-area:2/1/4;align-content:center;align-self:stretch;place-items:center;gap:7px;display:grid}.skill-ornament i{background:#8f7139;width:22px;height:1px;display:block;transform:rotate(45deg)}.skill-ornament i:nth-child(2){width:12px;transform:rotate(-45deg)}.skill-meta{color:#48bff5;border-top:1px solid #25303c;grid-area:3/2;padding-top:6px;font-size:8px}.locked{color:#cf8b80;font-size:8px;position:absolute;bottom:8px;right:8px}.battle-log{background:#080a0e;border:1px solid #59472e;grid-template-rows:31px minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.battle-log header{color:var(--gold-light);letter-spacing:.08em;border-bottom:1px solid #584629;align-items:center;padding:0 10px;font-size:10px;display:flex}.battle-log header button{color:var(--gold-light);cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:9px}.battle-log ol{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;margin:0;padding:7px 10px;font-size:11px;line-height:1.5;list-style:none;overflow-y:auto}.battle-log li{color:#adb1b8}.battle-log li span{color:#b26cff;width:18px;display:inline-block}.battle-log .damageApplied{color:#e99185}.battle-log .healingApplied{color:#71d98d}.battle-log .attackEvaded{color:#e5d598}.battle-log .battleLog{color:#c8c5bd}.battle-controls{letter-spacing:.06em;background:#080b0f;border-top:1px solid #242a31;align-items:center;gap:16px;padding:6px 12px;font-size:9px;display:flex}.speed{align-items:center;gap:3px;display:flex}.speed span,.demo-controls>span{color:#9ca3ad;margin-right:6px}.speed button,.demo-controls button{color:#aeb4bd;cursor:pointer;background:#0c0f14;border:1px solid #343942;height:30px;padding:0 11px}.speed button.selected{color:#f0d294;background:#271b0c;border-color:#bf8d3c}.demo-controls{align-items:center;gap:3px;margin:auto;display:flex}.demo-controls button{height:26px;padding:0 7px;font-size:8px}.demo-controls button:hover:not(:disabled){color:#fff;border-color:#b08d51}.toggle{cursor:pointer;align-items:center;gap:8px;display:flex}.toggle input{opacity:0;position:absolute}.toggle span{background:#1a1d22;border:1px solid #454950;border-radius:12px;width:42px;height:21px;position:relative}.toggle span:before{content:"";background:#b7bbc0;border-radius:50%;width:15px;height:15px;transition:all .2s;position:absolute;top:2px;left:3px}.toggle input:checked+span{background:#123a57;border-color:#3194d1}.toggle input:checked+span:before{background:#57c7ff;transform:translate(19px)}.toggle input:focus-visible+span{outline-offset:3px;outline:2px solid #fff}.end-turn{color:#fff0cb;cursor:pointer;background:linear-gradient(#6c4819,#39220b);border:1px solid #d3a64f;width:136px;height:37px}.end-turn:disabled{filter:grayscale();opacity:.4}.resign-battle{color:#ffd0c8;letter-spacing:.09em;cursor:pointer;background:linear-gradient(#54211e,#260d0e);border:1px solid #93443d;min-width:96px;height:37px;margin-left:auto}.resign-battle:hover,.resign-battle:focus-visible{color:#fff1ed;border-color:#ff8073}.resign-battle:focus-visible{outline-offset:3px;outline:2px solid #fff}.battle-resign-backdrop{z-index:300;background:#000b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.battle-resign-dialog{color:#ece7dc;background:linear-gradient(145deg,#210d0f,#08090d);border:1px solid #a74a42;width:min(460px,100%);padding:28px;box-shadow:0 20px 64px #000}.battle-resign-dialog small{color:#ff887a;letter-spacing:.18em;font-size:9px}.battle-resign-dialog h2{margin:8px 0 12px;font:28px Georgia,serif}.battle-resign-dialog p{color:#c3adb0;line-height:1.55}.battle-resign-dialog>div{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.battle-resign-dialog button{color:#ffd8d2;cursor:pointer;background:#2b1213;border:1px solid #8e443d;min-height:38px;padding:0 20px}.battle-resign-dialog button:first-child{background:#60221d;border-color:#d66e60}.battle-resign-dialog button:focus-visible{outline-offset:3px;outline:2px solid #fff}.fixture-note{letter-spacing:.08em;color:#646a72;z-index:20;margin:0;font-size:6px;position:absolute;bottom:57px;right:10px}.ui-error{z-index:50;color:#fff;background:#3a1111;border:1px solid #f06b5a;margin:0;padding:8px 14px;font-size:10px;position:absolute;top:84px;left:50%;transform:translate(-50%)}.loading-screen{color:#d7bc84;letter-spacing:.2em;background:#05070a;align-content:center;place-items:center;gap:16px;height:100vh;display:grid}.loading-rune{font-size:42px;animation:1.2s infinite pulse-aura}.connection-state{text-align:center;letter-spacing:normal;background:#160b0d;border:1px solid #7b3b35;max-width:520px;padding:28px}.connection-state strong{color:#ff8f7d;letter-spacing:.14em}.connection-state p{color:#c5bbc0;line-height:1.5}.connection-state button{border:1px solid var(--gold);color:#f8dfae;cursor:pointer;background:#2c1b09;padding:9px 15px}.dev-toolbar{z-index:100;background:#05070aee;border:1px solid #725a34;align-items:center;gap:4px;padding:4px;font-size:8px;display:flex;position:fixed;top:4px;left:50%;transform:translate(-50%)}.dev-toolbar span{color:#b89a63;padding:0 5px}.dev-toolbar a{color:#aaa;border:1px solid #30343b;padding:4px 7px;text-decoration:none}.dev-toolbar a[aria-current=page]{color:#ffe2a0;border-color:#c18d3c}.format-duel .team-cards{grid-template-rows:repeat(3,minmax(0,1fr));padding:7px 0}.format-duel .hero-card{grid-template-columns:100px 1fr;align-self:stretch;max-height:none}.format-duel .empty-slot{opacity:.45;filter:grayscale();display:grid}.team-builder{scrollbar-gutter:stable;overscroll-behavior-y:contain;height:100dvh;min-height:0;color:var(--text);background:radial-gradient(circle at 50% 0,#182851 0,#0000 42%),linear-gradient(135deg,#05070b,#080b12 48%,#100707);grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-rows:max-content;gap:18px;padding:clamp(24px,4vw,56px) max(24px,6vw);display:grid;overflow:hidden auto}.team-builder::-webkit-scrollbar{width:12px}.gallery-shell::-webkit-scrollbar{width:12px}.arena-run-hub::-webkit-scrollbar{width:12px}.team-builder::-webkit-scrollbar-track{background:#090c12}.gallery-shell::-webkit-scrollbar-track{background:#090c12}.arena-run-hub::-webkit-scrollbar-track{background:#090c12}.team-builder::-webkit-scrollbar-thumb{background:#705a37;border:2px solid #090c12;border-radius:8px}.gallery-shell::-webkit-scrollbar-thumb{background:#705a37;border:2px solid #090c12;border-radius:8px}.arena-run-hub::-webkit-scrollbar-thumb{background:#705a37;border:2px solid #090c12;border-radius:8px}.builder-title{border-bottom:1px solid #725b35;grid-column:1/-1;align-items:center;gap:20px;padding-bottom:22px;display:flex}.builder-title p{color:var(--gold);letter-spacing:.22em;margin:0;font-size:9px}.builder-title h1{margin:5px 0;font:clamp(30px,4vw,48px) Georgia,serif}.builder-title span{color:#aeb4bd;font-size:12px}.builder-crest{background:radial-gradient(circle,#222b42,#07090d 65%);border-radius:50%;flex:none;place-items:center;width:74px;height:74px;display:grid;box-shadow:0 0 35px #3379b844;color:#f2d18a!important;border:1px solid #d0a854!important;font:42px Georgia,serif!important}.builder-options,.team-composer,.hero-roster{background:#090d14db;border:1px solid #344150;padding:18px}.builder-options{grid-column:1/-1;grid-template-columns:auto repeat(3,minmax(180px,1fr)) minmax(150px,.6fr);align-items:end;gap:16px;display:grid}.builder-options h2{color:#e9cf95;align-self:center;margin:0;font:20px Georgia,serif}.builder-options fieldset{border:0;margin:0;padding:0}.builder-options legend,.seed-field>span{color:#9fa8b5;letter-spacing:.11em;text-transform:uppercase;margin-bottom:8px;font-size:12px;display:block}.choice-row{gap:5px;display:flex}.choice-row label{cursor:pointer;flex:1}.choice-row input{opacity:0;position:absolute}.choice-row span{color:#c4c9d0;background:#0c1119;border:1px solid #3c4653;place-items:center;height:38px;font-size:16px;display:grid}.choice-row input:checked+span{color:#ffe4a8;background:#2a1c0b;border-color:#d4a64d;box-shadow:inset 0 0 14px #c68f2926}.choice-row input:focus-visible+span{outline-offset:3px;outline:2px solid #fff}.seed-field small{color:#68717d}.seed-field input,.team-slot select{color:#ece7dc;background:#070a0f;border:1px solid #3c4653;width:100%;height:38px;padding:0 10px}.seed-field input:focus,.team-slot select:focus{outline-offset:2px;border-color:#d4a64d;outline:2px solid #fff}.structured-battle-summary{background:linear-gradient(110deg,#231707,#0b0d12 55%,#15100a);border:1px solid #8b6735;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 24px;padding:18px 22px;display:grid;box-shadow:inset 0 0 24px #c4851820}.structured-battle-summary div{grid-row:1/3}.structured-battle-summary small{color:#d9ad5b;letter-spacing:.18em;font-size:8px}.structured-battle-summary h2{color:#f3ddae;margin:5px 0 2px;font:24px Georgia,serif}.structured-battle-summary p{color:#9ca4ae;letter-spacing:.08em;margin:0;font-size:9px}.structured-battle-summary>strong{color:#ffe2a1;justify-self:end;font:26px Georgia,serif}.structured-battle-summary>span{color:#c4b28f;letter-spacing:.08em;text-transform:uppercase;justify-self:end;font-size:9px}.structured-battle-summary>.structured-reward-context{color:#d6c49f;border-top:1px solid #765b303d;grid-column:1/-1;margin-top:8px;padding-top:9px;line-height:1.45}.structured-battle-steps{background:#080b10;border:1px solid #3d4650;grid-column:1/-1;grid-template-columns:repeat(9,minmax(0,1fr));gap:7px;padding:10px;display:grid}.structured-battle-steps button{color:#b7bec7;cursor:pointer;background:#10151c;border:1px solid #49515b;align-content:center;place-items:center;gap:3px;min-height:54px;display:grid}.structured-battle-steps button strong{font:18px Georgia,serif}.structured-battle-steps button small{letter-spacing:.08em;text-transform:uppercase;font-size:7px}.structured-battle-steps button.completed{color:#8ee0a4;background:#0b1d13;border-color:#4c8a61}.structured-battle-steps button.current{color:#ffe3a2;border-color:#d3a64f;box-shadow:inset 0 0 14px #c18d3438,0 0 8px #c18d3430}.structured-battle-steps button:disabled{cursor:not-allowed;opacity:.42;filter:grayscale(.65)}.structured-battle-steps button.current:disabled{opacity:1;filter:none}.fixed-formation-note{background:#19130a;border-color:#6f5733}.fixed-formation-note strong{color:#e3bd71}.fixed-formation-note span{color:#cbbb9c}.team-composer{min-height:235px}.team-composer.friendly{border-color:#285d83}.team-composer.enemy{border-color:#78362e}.team-composer>header,.hero-roster>header{border-bottom:1px solid #29333f;justify-content:space-between;align-items:end;margin-bottom:13px;padding-bottom:12px;display:flex}.team-composer small{color:#43bffc;letter-spacing:.18em;font-size:16px}.team-composer.enemy small{color:#ff725f}.team-composer h2,.hero-roster h2{margin:3px 0 0;font:28px Georgia,serif}.team-composer header strong,.hero-roster header span{letter-spacing:.14em;color:#8e97a3;font-size:18px}.team-slot-list{gap:9px;display:grid}.team-slot{grid-template-columns:100px 1fr;align-items:center;gap:10px;display:grid}.team-slot>span{color:#aab2bd;font-size:10px}.random-team-note{background:#100b0d;border:1px dashed #53352f;justify-content:center;align-items:center;gap:20px;min-height:130px;padding:24px;display:flex}.random-team-note>span{color:#ff806e;border:1px solid #a44d40;border-radius:50%;place-items:center;width:55px;height:55px;font:28px Georgia,serif;display:grid}.random-team-note p{color:#aaa4a6;max-width:380px;font-size:11px;line-height:1.6}.hero-roster{grid-column:1/-1}.hero-roster>div{grid-template-columns:repeat(8,minmax(95px,1fr));gap:8px;display:grid}.hero-roster article{text-align:center;background:#080b10;border:1px solid #303a47;flex-direction:column;align-items:center;min-width:0;padding:12px 8px;display:flex}.hero-roster i{color:#dcafff;background:#211331;border:1px solid #735b9c;place-items:center;width:38px;height:38px;font-size:18px;font-style:normal;display:grid}.hero-roster strong{margin-top:8px;font:12px Georgia,serif}.hero-roster article span{color:#9098a3;overflow-wrap:anywhere;margin-top:3px;font-size:8px}.builder-footer{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:24px;display:flex}.builder-footer p{color:#75d68b;margin:0;font-size:10px}.builder-footer p.validation-error{color:#ff8d7d}.builder-footer button,.completion-dialog button{color:#fff0cb;letter-spacing:.1em;cursor:pointer;background:linear-gradient(#755022,#3b230b);border:1px solid #d3a64f;height:48px;padding:0 28px}.builder-footer button:disabled{opacity:.42;filter:grayscale();cursor:not-allowed}.completion-backdrop{z-index:200;background:#020307d9;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.completion-dialog{text-align:center;background:radial-gradient(circle at 50% 10%,#25233b,#090b10 55%);border:1px solid #d1a754;width:min(520px,100%);padding:38px;box-shadow:0 0 70px #000}.completion-crest{color:#f4d888;border:1px solid #d1a754;border-radius:50%;place-items:center;width:70px;height:70px;margin:0 auto 18px;font-size:30px;display:grid}.completion-dialog small{color:var(--gold);letter-spacing:.2em}.completion-dialog h2{margin:8px;font:30px Georgia,serif}.completion-dialog p{color:#aab0ba;margin:0 0 26px}.completion-dialog .completion-error{color:#ff9a8b;margin:-12px 0 18px;font-size:12px;line-height:1.45}.completion-dialog button:disabled{cursor:wait;opacity:.62}.reward-notification-backdrop{z-index:220}.reward-notification{border-color:#e4bd66;box-shadow:0 0 70px #000,0 0 28px #c99b4e38}.reward-notification #reward-notification-message p{color:#f1dbac;margin:0 0 26px;font:20px/1.45 Georgia,serif}@media (width<=1100px){body{overflow:auto}.team-builder{grid-template-columns:1fr}.builder-options,.team-composer,.hero-roster,.builder-footer,.builder-title{grid-column:1}.builder-options{grid-template-columns:1fr 1fr}.builder-options h2{grid-column:1/-1}.hero-roster>div{grid-template-columns:repeat(4,1fr)}}@media (width<=620px){.team-builder{padding:18px 12px}.builder-title{align-items:flex-start}.builder-crest{width:52px;height:52px;font-size:28px!important}.builder-options{grid-template-columns:1fr}.builder-options h2{grid-column:1}.hero-roster>div{grid-template-columns:repeat(2,1fr)}.team-slot{grid-template-columns:1fr}.builder-footer{flex-direction:column;align-items:stretch}.builder-footer button,.structured-mode-selector{width:100%}.structured-mode-selector label{flex:1}.structured-mode-selector label>span{min-width:0}}.team-builder>.builder-back{color:#e5c98d;letter-spacing:.06em;background:linear-gradient(#171819,#090b0e);border:1px solid #79603a;grid-column:1;justify-self:start;align-items:center;gap:9px;min-height:42px;padding:0 15px;font:600 11px Georgia,serif;text-decoration:none;display:inline-flex;box-shadow:inset 0 0 12px #d29b2920}.team-builder>.builder-back:hover{color:#fff0c4;border-color:#d0a556}.team-builder>.builder-title{border-bottom:0;grid-column:1;align-self:center;padding:5px 0 18px}.team-builder>.builder-title h1{font-size:clamp(30px,3.2vw,48px)}.current-stage{isolation:isolate;background:#0a0c0f;border:1px solid #8a6935;grid-area:1/2/3;min-height:178px;position:relative;overflow:hidden;box-shadow:inset 0 0 25px #000,0 8px 24px #0007}.current-stage:after{content:"";z-index:1;pointer-events:none;background:linear-gradient(90deg,#07090de6 0%,#07090d94 36%,#0000 72%),linear-gradient(#0003,#0000 55%,#0007);position:absolute;inset:0}.current-stage-copy{z-index:2;text-shadow:0 2px 5px #000;flex-direction:column;justify-content:center;max-width:45%;height:100%;padding:24px 28px;display:flex;position:relative}.current-stage-copy small{color:#d5af65;letter-spacing:.18em;font-size:8px}.current-stage-copy h2{margin:8px 0 4px;font:600 clamp(22px,2vw,32px) Georgia,serif}.current-stage-copy span{color:#c8c3ba;font-size:10px}.current-stage-media{position:absolute;inset:0;overflow:hidden}.current-stage-map{object-fit:cover;filter:saturate(.86)contrast(1.04);transform:scale(1.85)}.team-composer{background:linear-gradient(145deg,#080d14e8,#07090de8);flex-direction:column;min-height:0;padding-bottom:24px;display:flex}.team-composer.friendly{box-shadow:inset 0 0 30px #1769a214}.team-composer.enemy{box-shadow:inset 0 0 30px #a3292914}.team-composer>header{flex:none;align-items:center}.team-composer>header h2{color:#dcefff}.team-composer.enemy>header h2{color:#ffd7d0}.visual-team-slots,.enemy-slot-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:10px;min-height:0;display:grid}.player-slot-card,.matrix-hero-card{min-width:0;color:var(--text);cursor:pointer;text-align:left;background:linear-gradient(150deg,#0c121a,#07090d);border:1px solid #364454;padding:7px;position:relative}.player-slot-card{grid-template-rows:350px auto auto auto;gap:4px;min-height:440px;display:grid}.player-slot-card.active{border-color:#45bbff;box-shadow:inset 0 0 22px #158ed23b,0 0 14px #1da8ff54}.player-slot-card:hover:not(:disabled){border-color:#378bc0}.player-slot-card:disabled,.enemy-slot-card.disabled{opacity:.38;filter:grayscale();cursor:default}.player-slot-card .slot-number{color:#55c6ff;letter-spacing:.14em;font-size:15px}.player-slot-card strong{font:600 17px Georgia,serif}.player-slot-card small{color:#98a6b4;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.disabled-slot-mark{color:#515966;place-items:center;width:100%;height:100%;font:34px Georgia,serif;display:grid}.formation-selector{border:0;min-width:0;margin:0 0 14px;padding:0}.formation-selector legend{color:#9fa8b5;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px;font-size:12px}.formation-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.formation-choices.options-3{grid-template-columns:repeat(3,minmax(0,1fr))}.formation-choices label{cursor:pointer;min-width:0}.formation-choices input{opacity:0;position:absolute}.formation-choices label>span{color:#d9e9f5;background:#0a131d;border:1px solid #31516b;align-content:center;gap:5px;min-height:64px;padding:9px 11px;display:grid}.formation-selector.enemy .formation-choices label>span{color:#f2dbd7;background:#180d0e;border-color:#653833}.formation-choices strong{font:600 14px Georgia,serif}.formation-choices small{white-space:normal;line-height:1.35;overflow:visible;color:#86bddd!important;letter-spacing:.03em!important;font-size:11px!important}.formation-selector.enemy .formation-choices small{color:#d89b93!important}.formation-choices input:checked+span{border-color:#52c4ff;box-shadow:inset 0 0 18px #159cdd3d,0 0 9px #1a8fc64d}.formation-selector.enemy .formation-choices input:checked+span{border-color:#ff7464;box-shadow:inset 0 0 18px #d83a303d,0 0 9px #b8342c4d}.formation-choices input:focus-visible+span{outline-offset:3px;outline:2px solid #fff}.formation-computer-note{color:#e7cac5;background:#150d0e;border:1px dashed #70423d;gap:5px;min-height:64px;margin:0 0 14px;padding:10px 12px;display:grid}.formation-computer-note strong{font:600 14px Georgia,serif}.formation-computer-note span{color:#c7958e;font-size:11px;line-height:1.45}.formation-readonly-card{color:#f2dbd7;cursor:default;background:#180d0e;border:1px solid #653833;align-content:center;gap:5px;min-height:64px;padding:9px 11px;display:grid}.formation-selector.enemy .formation-readonly-card.selected{border-color:#ff7464;box-shadow:inset 0 0 18px #d83a303d,0 0 9px #b8342c4d}.builder-hero-media{background:radial-gradient(circle at 50% 24%,#1e2b3a,#090b10 68%);border:1px solid #313d49;place-items:center;width:100%;height:350px;min-height:350px;display:grid;position:relative;overflow:hidden}.builder-hero-media>.builder-hero-image{object-fit:cover;object-position:center top;border:0;width:100%;height:100%;min-height:0;position:relative}.builder-hero-media>.asset-fallback.builder-hero-image{min-height:0;font-size:28px;position:relative}.builder-hero-media>.asset-fallback.builder-hero-image small{font-size:6px;display:block}.enemy-slot-card{background:linear-gradient(150deg,#180c0e,#08090c);border:1px solid #6c302e;grid-template-rows:350px auto auto auto;gap:5px;min-width:0;min-height:440px;padding:7px;display:grid}.enemy-slot-card .builder-hero-media{background:radial-gradient(circle at 50% 24%,#3a1718,#0b090c 68%);border-color:#693430}.enemy-slot-card>.slot-number{color:#ff8272;letter-spacing:.14em;font-size:15px}.enemy-slot-card>strong{text-overflow:ellipsis;white-space:nowrap;font:600 17px Georgia,serif;overflow:hidden}.enemy-slot-card>small{color:#a58d8d;letter-spacing:.08em;font-size:12px}.enemy-slot-card .team-slot{grid-template-columns:1fr;gap:5px;display:grid}.enemy-slot-card .team-slot select{border-color:#673733;min-width:0;font-size:9px}.random-team-note{background:0 0;border:0;min-height:0;padding:0;display:block}.random-enemy-slots{width:100%}.random-slot .disabled-slot-mark{color:#ad5049}.fixed-enemy-slot:not(.disabled){border-color:#974238;box-shadow:inset 0 0 18px #b52d1d1c}.selectable-enemy-slot{color:var(--text);cursor:pointer;text-align:left}.selectable-enemy-slot.active{border-color:#ff7768;box-shadow:inset 0 0 22px #d33f343b,0 0 14px #ec4e4354}.selectable-enemy-slot:hover:not(:disabled){border-color:#b94e45}.empty-slot-prompt{color:#aeb8c4;letter-spacing:.08em;text-align:center;place-items:center;width:100%;height:100%;padding:10px;font:600 10px Georgia,serif;display:grid}.hero-specialization{color:#d2ad68!important}.hero-selection-matrix{background:linear-gradient(145deg,#0c0f14f2,#07090df2)}.hero-selection-matrix>header{align-items:center}.hero-selection-matrix>header small{color:#d2ad68;letter-spacing:.14em;margin-bottom:4px;font-size:17px;display:block}.hero-selection-matrix>.matrix-toolbar{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.faculty-filter{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.faculty-filter button,.matrix-navigation button{color:#acb3bc;cursor:pointer;background:#0a0d12;border:1px solid #414955;min-height:34px;padding:0 13px}.faculty-filter button[aria-pressed=true]{color:#ffe0a0;background:#2a1c0b;border-color:#c99b4e}.faculty-filter button:hover,.matrix-navigation button:hover:not(:disabled){color:#fff;border-color:#b48b48}.matrix-navigation{flex:none;align-items:center;gap:6px;display:flex}.matrix-navigation button{color:#e7c77f;width:38px;padding:0;font-size:16px}.matrix-navigation button:disabled{opacity:.32;cursor:default}.matrix-page-status{color:#9da5af;min-width:42px;font:12px var(--font-geist-mono),monospace;text-align:center}.hero-selection-matrix>.hero-matrix-grid{grid-template-columns:repeat(6,minmax(100px,1fr));gap:8px;display:grid}.matrix-hero-card{grid-template-rows:300px auto auto;gap:4px;min-height:360px;padding:6px;display:grid}.matrix-hero-card .builder-hero-media{height:300px;min-height:300px}.matrix-hero-card:hover{border-color:#bb914e;box-shadow:inset 0 0 14px #c78e2224}.matrix-hero-card.assigned{border-color:#43baff;box-shadow:inset 0 0 18px #138fd23b,0 0 11px #168fd052}.matrix-hero-card strong{text-overflow:ellipsis;white-space:nowrap;font:600 17px Georgia,serif;overflow:hidden}.matrix-hero-card small{color:#8f99a5;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.matrix-assigned{color:#fff;background:#12649c;border:1px solid #8bdcff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;display:grid;position:absolute;top:7px;right:7px;box-shadow:0 0 10px #3cbcff}.builder-footer{padding-top:3px}.structured-mode-selector{background:#07090d;border:1px solid #59482c;margin:0 auto 0 0;padding:0;display:flex;box-shadow:inset 0 0 12px #bc84200d}.structured-mode-selector label{display:block;position:relative}.structured-mode-selector input{opacity:0;pointer-events:none;position:absolute}.structured-mode-selector label>span{color:#aeb3ba;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;border-right:1px solid #59482c;justify-content:center;align-items:center;gap:8px;min-width:112px;height:40px;padding:0 14px;font-size:10px;font-weight:700;display:flex}.structured-mode-selector label:last-child>span{border-right:0}.structured-mode-selector input:checked+span{color:#ffe1a0;background:linear-gradient(#61431d,#2c1b09);box-shadow:inset 0 0 12px #d9a64f30}.structured-mode-selector input:focus-visible+span{outline-offset:2px;outline:2px solid #f0c66d}.structured-mode-selector label.locked>span{color:#686b71;cursor:not-allowed}.structured-mode-selector svg{fill:none;stroke:currentColor;stroke-width:1.6px;width:15px;height:15px}.structured-mode-selector i{color:#d2a451;font-size:12px;font-style:normal}.structured-mode-selector label.locked svg,.structured-mode-selector label.locked i{color:#756649}@media (width<=1320px){.hero-selection-matrix>.hero-matrix-grid{grid-template-columns:repeat(6,minmax(90px,1fr))}.current-stage-copy{max-width:52%;padding:20px}}@media (width<=1100px){.team-builder>.builder-back,.team-builder>.builder-title,.current-stage{grid-column:1}.team-builder>.builder-back{grid-row:auto}.current-stage{grid-row:auto;min-height:210px}.team-builder>.builder-title{grid-row:auto}}@media (width<=720px){.current-stage{min-height:170px}.current-stage-copy{max-width:64%;padding:16px}.current-stage-map{transform:scale(1.6)}.structured-battle-summary{grid-template-columns:1fr}.structured-battle-summary div{grid-row:auto}.structured-battle-summary>strong,.structured-battle-summary>span{justify-self:start}.structured-battle-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.formation-choices,.formation-choices.options-3,.visual-team-slots,.enemy-slot-list{grid-template-columns:1fr}.player-slot-card,.enemy-slot-card{grid-template-rows:auto auto auto;grid-template-columns:92px minmax(0,1fr);min-height:112px}.player-slot-card .builder-hero-media,.enemy-slot-card .builder-hero-media{grid-row:1/4}.hero-selection-matrix>.matrix-toolbar{flex-direction:column;align-items:stretch}.matrix-navigation{align-self:flex-end}.hero-selection-matrix>.hero-matrix-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.matrix-hero-card{min-height:140px}}.current-stage-media>.current-stage-map{transform:translate(var(--stage-preview-offset-x),var(--stage-preview-offset-y)) scale(var(--stage-preview-scale))}.gallery-shell{scrollbar-gutter:stable;overscroll-behavior-y:contain;height:100dvh;min-height:0;color:var(--text);background:radial-gradient(circle at 50% 0,#152140,#05070a 40%);padding:40px max(30px,6vw);overflow:hidden auto}.gallery-shell>header{border-bottom:1px solid #59482f;justify-content:space-between;align-items:end;padding-bottom:26px;display:flex}.gallery-shell h1{margin:4px 0;font:42px Georgia,serif}.gallery-shell header p{color:var(--gold);letter-spacing:.2em;font-size:10px}.gallery-shell header span{color:var(--muted)}.gallery-shell a{color:var(--gold-light);border:1px solid #735b35;padding:10px 14px;text-decoration:none}.gallery-shell section{margin-top:34px}.gallery-shell h2{color:#d7c39b;font:20px Georgia,serif}.gallery-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.gallery-grid article{background:#0a0e15;border:1px solid #303945;flex-direction:column;gap:8px;min-height:145px;padding:12px;display:flex}.gallery-grid article>.asset-fallback,.gallery-grid article>img{object-fit:cover;width:85px;height:85px;min-height:0;position:relative}.gallery-grid strong{text-transform:capitalize;font-size:12px}.gallery-grid small{color:var(--muted);font-size:9px;line-height:1.4}.asset-facts{gap:3px;margin:0;font-size:8px;display:grid}.asset-facts div{grid-template-columns:72px 1fr;gap:5px;display:grid}.asset-facts dt{color:#7f8996;text-transform:uppercase}.asset-facts dd{color:#c8cbd0;overflow-wrap:anywhere;margin:0}.glyph-card span{color:#bd7cff;font:44px Georgia,serif}.glyph-card.green span{color:#7cf07c}.glyph-card.red span{color:#f26e59}.glyph-card.blue span{color:#66caff}.effect-gallery{grid-template-columns:repeat(5,1fr);gap:12px;display:grid}.effect-swatch{text-transform:uppercase;background:#090d13;border:1px solid #3b414c;align-content:center;place-items:center;gap:8px;height:150px;font-size:10px;display:grid}.effect-swatch span{background:#8f52ff33;border-radius:50%;width:65px;height:65px;box-shadow:0 0 25px #8f52ff}.effect-swatch.healing span{background:#4fff8033;box-shadow:0 0 25px #4fff80}.effect-swatch.melee span{background:#ff654733;border-radius:3px;box-shadow:0 0 25px #ff6547}.effect-swatch.status span{background:0 0;border:2px solid #bf63ff;box-shadow:0 0 25px #bf63ff}.effect-swatch.summon span{background:linear-gradient(90deg,#0000,#7d4fff77,#0000);border-radius:0;box-shadow:0 0 25px #7d4fff}@keyframes pulse-aura{50%{opacity:.55;transform:scale(1.16)}}@keyframes pulse-centered{50%{opacity:.55;transform:translate(-50%)scale(1.16)}}@keyframes entry-countdown-pulse{0%{opacity:.3;transform:scale(.72)}to{opacity:1;transform:scale(1)}}@keyframes float-text{to{opacity:0;transform:translateY(-150px)}}@keyframes target-shake-friendly{25%{transform:translate(-7px)}60%{transform:translate(6px)}}@keyframes target-shake-enemy{25%{transform:translate(7px)}60%{transform:translate(-6px)}}@keyframes evade-friendly{50%{transform:translate(22px)}}@keyframes evade-enemy{50%{transform:translate(-22px)}}@keyframes lunge-friendly{50%{transform:translate(65px)}}@keyframes lunge-enemy{50%{transform:translate(-65px)}}@keyframes summon-in{0%{opacity:0;filter:brightness(3);transform:translateY(30px)}}@keyframes healing-rise{0%{opacity:0;transform:translate(-50%)translateY(18px)scale(.75)}to{opacity:1;transform:translate(-50%)translateY(0)scale(1)}}@keyframes paladin-healing-settle{0%{opacity:0;transform:translate(-50%)translateY(-8px)scale(.9)}45%{opacity:1}to{opacity:.45;transform:translate(-50%)translateY(0)scale(1)}}@keyframes paladin-healing-descend{0%{opacity:0;transform:translate(-50%)translateY(-20px)scale(.72)}50%{opacity:1;transform:translate(-50%)translateY(44px)scale(1)}to{opacity:.2;transform:translate(-50%)translateY(74px)scale(1.18)}}@keyframes paladin-healing-ground{0%{opacity:0;transform:translate(-50%)scale(.55)}56%{opacity:.9;transform:translate(-50%)scale(1)}to{opacity:.3;transform:translate(-50%)scale(1.18)}}@keyframes priest-rune-appear{0%{opacity:0;filter:brightness();transform:translate(-50%)rotateX(62deg)scale(.6)}45%{opacity:1;filter:brightness(1.35);transform:translate(-50%)rotateX(62deg)scale(1.04)}to{opacity:.55;filter:brightness();transform:translate(-50%)rotateX(62deg)scale(1)}}@keyframes effect-rings{0%{opacity:0;transform:translate(-50%)scale(.55)}50%{opacity:1}to{opacity:.2;transform:translate(-50%)scale(1.15)}}@keyframes shield-protection{0%{opacity:0;transform:translate(-50%)scale(.55)}55%{opacity:1;transform:translate(-50%)scale(1.5)}to{opacity:.88;transform:translate(-50%)scale(1.5)}}@keyframes beam{0%{transform:scaleX(.05)}to{transform:scaleX(1)}}@keyframes preview-ellipsis{0%{content:""}25%{content:"."}50%{content:".."}75%,to{content:"..."}}@media (width<=1600px){.battle-shell{--battle-header-base-height:76px;--battle-side-panel-base-width:240px;--battle-command-deck-base-height:196px;--battle-command-acting-base-width:240px;--battle-command-skills-width:.85fr;--battle-command-log-min-width:390px;--battle-command-log-width:1.3fr;grid-template-rows:var(--battle-header-height) minmax(0,1fr) var(--battle-command-deck-height) 50px}.hero-card{--sidebar-portrait-size:56px;padding:5px}.acting-card{grid-template-columns:76px 1fr}.skill-card{grid-template-columns:44px 1fr;padding:7px}.skill-glyph{font-size:28px}.demo-controls button{padding:0 5px}}@media (width<=1450px){.battle-shell{--battle-header-base-height:68px;--battle-side-panel-base-width:218px;--battle-command-deck-base-height:170px;--battle-command-acting-base-width:210px;--battle-command-skills-width:.8fr;--battle-command-log-min-width:350px;--battle-command-log-width:1.35fr;grid-template-rows:var(--battle-header-height) minmax(0,1fr) var(--battle-command-deck-height) 44px}.acting-card{grid-template-columns:62px 1fr}.acting-card h2{font-size:16px}.skill-copy span{display:none}.skill-card{grid-template-columns:38px 1fr}.skill-glyph{font-size:23px}.demo-controls>span{display:none}.demo-controls button{padding:0 4px;font-size:7px}.team-panel{grid-template-rows:28px minmax(0,1fr)}}@media (width<=1370px){.battle-shell{--battle-header-base-height:68px;--battle-side-panel-base-width:200px;--battle-command-deck-base-height:170px;--battle-command-acting-base-width:180px;--battle-command-skills-width:.75fr;--battle-command-log-min-width:320px;--battle-command-log-width:1.4fr;grid-template-rows:var(--battle-header-height) minmax(0,1fr) var(--battle-command-deck-height) 44px}.hero-card{--sidebar-portrait-size:48px}.hero-title h3{font-size:11px}.hero-title p,.meter-row{font-size:8px}.acting-card{grid-template-columns:54px 1fr;gap:7px}.focus-pips{margin-top:10px}.skill-card{grid-template-columns:34px 1fr}.skill-glyph{font-size:20px}.skill-copy strong,.battle-log ol{font-size:10px}.demo-controls button:nth-of-type(2n){display:none}.battle-controls{gap:8px}.fixture-note{display:none}}.battle-shell[data-presentation-mode=laptop-large]{--battle-side-panel-width:calc(var(--battle-side-panel-base-width) * .8);--battle-command-deck-height:calc(var(--battle-command-deck-base-height) * .75);--battle-command-acting-width:calc(var(--battle-command-acting-base-width) * .75)}.battle-shell[data-presentation-mode=monitor]{--battle-header-height:calc(var(--battle-header-base-height) * 1.5)}.battle-shell[data-presentation-mode=monitor] .header-tools button,.battle-shell[data-presentation-mode=monitor] .header-tools a{font-size:19px}.battle-shell[data-presentation-mode=monitor] .side-banner strong{font-size:18px}.battle-shell[data-presentation-mode=monitor] .side-banner i{font-size:12px}.battle-shell[data-presentation-mode=monitor] .crest{font-size:27px}.battle-shell[data-presentation-mode=monitor] .round strong{font-size:23px}.battle-shell[data-presentation-mode=monitor] .round span{font-size:14px}.battle-shell[data-presentation-mode=monitor] .turn-order .asset-fallback{font-size:13px}.battle-shell[data-presentation-mode=monitor] .turn-order b{font-size:12px}.battle-shell[data-presentation-mode=monitor] .team-panel>header{font-size:15px}.battle-shell[data-presentation-mode=monitor] .asset-fallback{font-size:21px}.battle-shell[data-presentation-mode=monitor] .asset-fallback small{font-size:9px}.battle-shell[data-presentation-mode=monitor] .class-icon.asset-fallback{font-size:11px}.battle-shell[data-presentation-mode=monitor] .hero-title h3{font-size:16px}.battle-shell[data-presentation-mode=monitor] .hero-title p{font-size:13px}.battle-shell[data-presentation-mode=monitor] .meter-row{font-size:12px}.battle-shell[data-presentation-mode=monitor] .status-icon{font-size:13px}.battle-shell[data-presentation-mode=monitor] .status-stack-badge{font-size:10px}.battle-shell[data-presentation-mode=monitor] .status-icon [role=tooltip]{font-size:13px}.battle-shell[data-presentation-mode=monitor] .summon-rounds{font-size:11px}.battle-shell[data-presentation-mode=monitor] .empty-slot span{font-size:31px}.battle-shell[data-presentation-mode=monitor] .empty-slot small{font-size:11px}.battle-shell[data-presentation-mode=monitor] .battle-entry-countdown{font-size:19px}.battle-shell[data-presentation-mode=monitor] .entry-countdown-value{font-size:75px}.battle-shell[data-presentation-mode=monitor] .entry-countdown-value.start{font-size:61px}.battle-shell[data-presentation-mode=monitor] .battlefield-caption{font-size:11px}.battle-shell[data-presentation-mode=monitor] .battle-viewport-readout small{font-size:10px}.battle-shell[data-presentation-mode=monitor] .battle-viewport-readout strong{font-size:14px}.battle-shell[data-presentation-mode=monitor] .battle-viewport-readout span{font-size:10px}.battle-shell[data-presentation-mode=monitor] .figure-art.asset-fallback,.battle-shell[data-presentation-mode=monitor] .overhead .meter-row,.battle-shell[data-presentation-mode=monitor] .overhead-name{font-size:13px}.battle-shell[data-presentation-mode=monitor] .combat-text{font-size:23px}.battle-shell[data-presentation-mode=monitor] .combat-text.evade{font-size:17px}.battle-shell[data-presentation-mode=monitor] .combat-text.prevented{font-size:27px}.battle-shell[data-presentation-mode=monitor] .acting-card h2{font-size:23px}.battle-shell[data-presentation-mode=monitor] .acting-card p{font-size:14px}.battle-shell[data-presentation-mode=monitor] .acting-card small{font-size:11px}.battle-shell[data-presentation-mode=monitor] .ended-crest{font-size:47px}.battle-shell[data-presentation-mode=monitor] .turn-intent{font-size:11px}.battle-shell[data-presentation-mode=monitor] .skill-card.selected:after{font-size:10px}.battle-shell[data-presentation-mode=monitor] .skill-glyph{font-size:39px}.battle-shell[data-presentation-mode=monitor] .skill-copy strong{font-size:16px}.battle-shell[data-presentation-mode=monitor] .skill-copy span{font-size:12px}.battle-shell[data-presentation-mode=monitor] .skill-copy em{font-size:10px}.battle-shell[data-presentation-mode=monitor] .skill-meta,.battle-shell[data-presentation-mode=monitor] .locked{font-size:11px}.battle-shell[data-presentation-mode=monitor] .battle-log header{font-size:13px}.battle-shell[data-presentation-mode=monitor] .battle-log header button{font-size:12px}.battle-shell[data-presentation-mode=monitor] .battle-log ol{font-size:14px}.battle-shell[data-presentation-mode=monitor] .battle-controls{font-size:12px}.battle-shell[data-presentation-mode=monitor] .demo-controls button{font-size:11px}.battle-shell[data-presentation-mode=monitor] .battle-resign-dialog{font-size:19px}.battle-shell[data-presentation-mode=monitor] .battle-resign-dialog small{font-size:12px}.battle-shell[data-presentation-mode=monitor] .battle-resign-dialog h2{font-size:31px}.battle-shell[data-presentation-mode=monitor] .fixture-note{font-size:9px}.battle-shell[data-presentation-mode=monitor] .ui-error{font-size:13px}.battle-shell[data-presentation-mode=monitor] .dev-toolbar{font-size:11px}.battle-shell[data-presentation-mode=monitor] .battle-header{grid-template-columns:120px 1fr 300px 1fr 120px;align-items:center}.battle-shell[data-presentation-mode=monitor] .header-tools{gap:12px;padding:18px}.battle-shell[data-presentation-mode=monitor] .header-tools button,.battle-shell[data-presentation-mode=monitor] .header-tools a{width:48px;height:48px}.battle-shell[data-presentation-mode=monitor] .side-banner{gap:18px;height:80px;padding:0 32px}.battle-shell[data-presentation-mode=monitor] .crest{width:56px;height:56px}.battle-shell[data-presentation-mode=monitor] .round{height:100px;padding-top:16px}.battle-shell[data-presentation-mode=monitor] .turn-order{gap:5px;padding:8px 18px 9px;top:92px}.battle-shell[data-presentation-mode=monitor] .turn-order>span{width:46px;height:46px}.battle-shell[data-presentation-mode=monitor] .turn-order .asset-fallback{min-height:44px}@media (width<=1600px){.battle-shell[data-presentation-mode=monitor] .skill-glyph{font-size:31px}}.battle-shell[data-presentation-mode=pad]{--battle-side-panel-width:clamp(152px,17vw,200px);--battle-command-acting-width:clamp(144px,16vw,180px);--battle-command-log-min-width:clamp(240px,27vw,320px)}.battle-shell[data-presentation-mode=pad-mini]{--battle-side-panel-width:clamp(120px,17vw,152px);--battle-command-acting-width:clamp(116px,16vw,144px);--battle-command-log-min-width:clamp(190px,27vw,240px)}.battle-shell[data-presentation-mode=phone]{--battle-side-panel-width:clamp(96px,17vw,120px);--battle-command-acting-width:clamp(96px,16vw,116px);--battle-command-log-min-width:clamp(160px,27vw,190px)}.battle-shell:is([data-presentation-mode=pad],[data-presentation-mode=pad-mini],[data-presentation-mode=phone]) .target-preview-dock{display:grid}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.target-effect.effect-damage-prevented,.combat-text.prevented{opacity:1!important;animation:none!important}.target-effect.effect-paladin-healing,.target-effect.effect-paladin-healing:before,.target-effect.effect-paladin-healing:after{animation:none!important}.target-effect.effect-paladin-healing{opacity:.8;transform:translate(-50%)!important}.target-effect.effect-paladin-healing:before{opacity:.52;transform:translate(-50%)translateY(32px)!important}.target-effect.effect-paladin-healing:after{opacity:.65}}.acting-card .portrait{height:92px;min-height:92px}.hero-card .portrait{width:var(--sidebar-portrait-size);height:var(--sidebar-portrait-size);min-height:var(--sidebar-portrait-size);object-fit:cover;object-position:center;image-rendering:auto;align-self:start}.format-duel .hero-card{grid-template-columns:var(--sidebar-portrait-size) minmax(0,1fr)}.arena-run-hub{scrollbar-gutter:stable;overscroll-behavior-y:contain;height:100dvh;min-height:0;color:var(--text);background:radial-gradient(circle at 50% 0,#34220c 0,#0000 36%),linear-gradient(135deg,#05070b,#090b10 50%,#120806);padding:clamp(24px,4vw,56px) max(24px,6vw);overflow:hidden auto}.arena-back{color:#e5c98d;letter-spacing:.06em;background:#0b0d11;border:1px solid #79603a;align-items:center;min-height:42px;padding:0 15px;font:600 11px Georgia,serif;text-decoration:none;display:inline-flex}.arena-back:hover,.arena-back:focus-visible{color:#fff0c4;border-color:#d0a556}.arena-back:focus-visible{outline-offset:3px;outline:2px solid #fff}.arena-run-title{border-bottom:1px solid #795c31;justify-content:space-between;align-items:end;margin:18px 0;padding:18px 0 24px;display:flex}.arena-run-title small,.arena-squad-builder header small,.arena-node-builder header small,.arena-completed small{color:#d2a850;letter-spacing:.2em;font-size:9px}.arena-run-title h1{margin:5px 0 0;font:clamp(36px,5vw,64px) Georgia,serif}.arena-run-title>span{color:#c8ad75;letter-spacing:.1em;font:20px Georgia,serif}.arena-inline-error{color:#ff9c8c;background:#230d0d;border:1px solid #a4463a;padding:12px 16px}.arena-eligibility,.arena-completed{text-align:center;background:radial-gradient(circle at 50% 20%,#292033,#0a0c10 63%);border:1px solid #7b5e34;align-content:center;place-items:center;gap:12px;width:min(660px,100%);min-height:360px;margin:7vh auto 0;padding:44px;display:grid;box-shadow:0 18px 50px #0009}.arena-eligibility>span{color:#8a6f43;font:58px Georgia,serif}.arena-eligibility h2,.arena-completed h2{margin:0;font:32px Georgia,serif}.arena-eligibility strong{color:#ffdb8b;font:42px Georgia,serif}.arena-eligibility p,.arena-completed p,.arena-squad-builder>p{color:#aeb3bb;max-width:580px;line-height:1.6}.arena-completed button,.arena-squad-builder footer button,.arena-node-builder footer button{color:#fff0cb;letter-spacing:.09em;cursor:pointer;background:linear-gradient(#755022,#3b230b);border:1px solid #d3a64f;min-height:48px;padding:0 24px}.arena-completed button:focus-visible,.arena-squad-builder button:focus-visible,.arena-node-builder button:focus-visible{outline-offset:3px;outline:2px solid #fff}.arena-squad-builder,.arena-node-builder{background:#090d14e8;border:1px solid #715937;padding:22px}.arena-squad-builder>header,.arena-node-builder>header{border-bottom:1px solid #39424d;justify-content:space-between;align-items:end;padding-bottom:16px;display:flex}.arena-squad-builder h2,.arena-node-builder h2{margin:5px 0 0;font:28px Georgia,serif}.arena-squad-builder header>strong,.arena-node-builder header>strong{color:#d0b374;letter-spacing:.12em}.arena-squad-grid{grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;margin-top:18px;display:grid}.arena-squad-grid>button{min-width:0;color:var(--text);text-align:left;cursor:pointer;background:#090d13;border:1px solid #364454;grid-template-rows:170px auto auto;gap:5px;padding:7px;display:grid;position:relative}.arena-squad-grid>button.selected{border-color:#d4a64d;box-shadow:inset 0 0 18px #c5902f38,0 0 10px #d2a24430}.arena-squad-grid>button>b,.arena-node-squad>button>b{color:#fff4ce;background:#684515;border:1px solid #ffe09c;border-radius:50%;place-items:center;width:25px;height:25px;display:grid;position:absolute;top:8px;right:8px}.arena-squad-portrait{border:1px solid #353f4b;min-height:0;display:block;position:relative;overflow:hidden}.arena-squad-portrait>.builder-hero-image{object-fit:cover;object-position:center top;width:100%;height:100%;min-height:0}.arena-squad-grid>button>strong{font:16px Georgia,serif}.arena-squad-grid>button>small{color:#d2ad68;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.arena-squad-builder>footer,.arena-node-builder>footer{justify-content:flex-end;align-items:center;gap:22px;margin-top:20px;display:flex}.arena-squad-builder footer>span,.arena-node-builder footer>span{color:#a9b0ba;font-size:11px}.arena-squad-builder footer button:disabled,.arena-node-builder footer button:disabled{cursor:not-allowed;opacity:.42;filter:grayscale()}.arena-squad-grid>button{grid-template-rows:auto auto auto}.arena-squad-portrait{aspect-ratio:1;width:100%}.arena-run-steps{background:#080b10;border:1px solid #3d4650;grid-column:1/-1;grid-template-columns:repeat(12,minmax(64px,1fr));gap:7px;padding:10px;display:grid}.arena-run-steps>span{color:#747c87;background:#10151c;border:1px solid #49515b;align-content:center;place-items:center;gap:3px;min-height:54px;display:grid}.arena-run-steps strong{font:18px Georgia,serif}.arena-run-steps em{text-transform:uppercase;font-size:8px;font-style:normal}.arena-run-steps .completed{color:#8ee0a4;background:#0b1d13;border-color:#4c8a61}.arena-run-steps .current{color:#ffe3a2;background:#241807;border-color:#d3a64f;box-shadow:inset 0 0 14px #c18d3438,0 0 8px #c18d3430}.arena-give-up{color:#ffb4aa;letter-spacing:.1em;cursor:pointer;background:#210c0d;border:1px solid #93443d;height:38px;margin-right:auto;padding:0 12px;font-size:10px}.arena-give-up:hover,.arena-give-up:focus-visible{color:#ffe1da;border-color:#ff8073}.arena-give-up:focus-visible{outline-offset:3px;outline:2px solid #fff}.arena-give-up-backdrop{z-index:300;background:#000b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.arena-give-up-dialog{color:#ece7dc;background:linear-gradient(145deg,#210d0f,#08090d);border:1px solid #a74a42;width:min(460px,100%);padding:28px;box-shadow:0 20px 64px #000}.arena-give-up-dialog small{color:#ff887a;letter-spacing:.18em;font-size:9px}.arena-give-up-dialog h2{margin:8px 0 12px;font:28px Georgia,serif}.arena-give-up-dialog p{color:#c3adb0;line-height:1.55}.arena-give-up-dialog>div{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.arena-give-up-dialog button{color:#ffd8d2;cursor:pointer;background:#2b1213;border:1px solid #8e443d;min-height:38px;padding:0 20px}.arena-give-up-dialog button:first-child{background:#60221d;border-color:#d66e60}.arena-give-up-dialog button:focus-visible{outline-offset:3px;outline:2px solid #fff}.arena-enemy-preview{background:#170c0d;border:1px solid #773b34;justify-content:space-between;align-items:center;gap:20px;margin:16px 0;padding:14px 17px;display:flex}.arena-enemy-preview>div{gap:5px;display:grid}.arena-enemy-preview small{color:#e66f5f;letter-spacing:.16em;font-size:8px}.arena-enemy-preview strong{color:#ffd1c8;font:18px Georgia,serif}.arena-enemy-preview ol{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0;padding:0;list-style:none;display:flex}.arena-enemy-preview li{color:#d9b9b4;border:1px solid #61352f;padding:8px 11px;font-size:10px}.arena-formation-options{border:0;align-items:center;gap:7px;margin:0 0 16px;padding:0;display:flex}.arena-formation-options legend{color:#9fa8b5;letter-spacing:.1em;text-transform:uppercase;margin-right:8px;font-size:10px}.arena-formation-options label{cursor:pointer}.arena-formation-options input{opacity:0;position:absolute}.arena-formation-options span{color:#bfc6ce;background:#0b1118;border:1px solid #3c4854;place-items:center;min-height:40px;padding:0 14px;display:grid}.arena-formation-options input:checked+span{color:#ffe2a1;background:#261a09;border-color:#d3a64f}.arena-formation-options input:focus-visible+span{outline-offset:3px;outline:2px solid #fff}.arena-node-squad{grid-template-columns:repeat(6,minmax(110px,1fr));gap:8px;display:grid}.arena-node-squad>button{min-width:0;color:var(--text);cursor:pointer;text-align:left;background:#090d13;border:1px solid #344250;grid-template-rows:150px auto;gap:7px;padding:7px;display:grid;position:relative}.arena-node-squad>button.selected{border-color:#45bbff;box-shadow:inset 0 0 18px #158ed23b,0 0 10px #1da8ff44}.arena-node-squad .builder-hero-image{object-fit:cover;object-position:center top;width:100%;height:150px;min-height:0}.arena-node-squad>button>span{gap:3px;display:grid}.arena-node-squad strong{font:15px Georgia,serif}.arena-node-squad small{color:#d2ad68;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=1100px){.arena-squad-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}.arena-run-steps{grid-template-columns:repeat(6,minmax(64px,1fr))}.arena-node-squad{grid-template-columns:repeat(3,minmax(110px,1fr))}}@media (width<=620px){.arena-run-hub{padding:16px 12px}.arena-run-title{flex-direction:column;align-items:start;gap:10px}.arena-squad-grid,.arena-node-squad{grid-template-columns:repeat(2,minmax(110px,1fr))}.arena-squad-builder,.arena-node-builder{padding:14px}.arena-squad-builder>header,.arena-node-builder>header,.arena-enemy-preview,.arena-squad-builder>footer,.arena-node-builder>footer{flex-direction:column;align-items:flex-start}.arena-run-steps{grid-template-columns:repeat(4,minmax(58px,1fr))}.arena-formation-options{flex-direction:column;align-items:stretch}.arena-formation-options legend{margin-bottom:4px}.arena-formation-options label,.arena-formation-options span{width:100%}}.hero-gallery-page .gallery-cards{min-width:0;overflow:hidden auto}.hero-gallery-page .gallery-cards>button,.hero-gallery-page .gallery-cards>button>span{min-width:0}.hero-gallery-page .gallery-cards>button>span{overflow-wrap:anywhere;align-content:start}.hero-gallery-page .hero-profile{align-content:start}.hero-gallery-page .hero-profile-art{transform:scale(var(--hero-figure-scale,1));transform-origin:bottom}.hero-gallery-page .skill-reference-summary-content{vertical-align:middle;align-items:center;gap:10px;max-width:calc(100% - 12px);display:inline-flex}.hero-gallery-page .skill-reference-summary-art{aspect-ratio:1;color:#e8bd64;background:#0a1017;border:1px solid #806436;flex:0 0 40px;place-items:center;width:40px;font:600 22px/1 Georgia,serif;display:inline-grid;overflow:hidden;box-shadow:inset 0 0 10px #d8a54824}.hero-gallery-page .skill-reference-summary-art img{object-fit:cover;width:100%;height:100%;display:block}.hero-gallery-page .skill-reference-calculation-dialog p{white-space:pre-line}.hero-gallery-page .skill-reference-copy>p{white-space:pre-wrap;overflow-wrap:anywhere}.structured-mode-selector label.locked{inset:auto}.structured-mode-selector label>span{line-height:1}.structured-mode-selector label.locked>span>*{flex:none}.structured-mode-selector i{place-items:center;line-height:1;display:grid}.battle-shell>.manual-dialog-backdrop{z-index:400;position:fixed}.hero-gallery-page .skill-reference-copy{padding-top:2px}.hero-gallery-page .skill-reference-copy>p{margin:8px 0 12px!important}.hero-profile .skill-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.hero-profile .skill-reference-grid>div{background:#09121b;border:1px solid #2e3b49;min-width:0;padding:9px 10px;display:block}.hero-profile .skill-reference-grid dt{color:#9eabba;letter-spacing:.1em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:8px;margin:0 0 5px;font-size:10px;display:flex}.hero-profile .skill-reference-grid dd{color:#eed08a;overflow-wrap:anywhere;gap:5px;margin:0;display:grid}.hero-profile .skill-reference-grid dd>strong{font:600 14px/1.2 Georgia,serif}.hero-profile .skill-reference-grid dd>small{color:#b9c2cd;letter-spacing:0;font-size:11px;line-height:1.45}.hero-profile .skill-reference-grid ul{border-top:1px solid #283544;gap:3px;margin:2px 0 0;padding:6px 0 0;list-style:none;display:grid}.hero-profile .skill-reference-grid li{color:#b9c2cd;justify-content:space-between;gap:10px;font-size:11px;display:flex}.hero-profile .skill-reference-grid li strong{color:#e7c46d;white-space:nowrap}.skill-reference-calculation-trigger{color:#1b1004;cursor:pointer;background:radial-gradient(circle at 35% 30%,#fff2b8,#b67920 65%,#482307);border:1px solid #e4bd66;border-radius:50%;width:18px;height:18px;padding:0;font:700 13px/16px Georgia,serif;box-shadow:0 0 10px #e5ad4f80}.skill-reference-calculation-trigger:hover,.skill-reference-calculation-trigger:focus-visible{filter:brightness(1.18);box-shadow:0 0 16px #ffd36ea8}.skill-reference-calculation-trigger:focus-visible{outline-offset:2px;outline:2px solid #fff4ce}.skill-reference-calculation-backdrop{z-index:350;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#010307b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.skill-reference-calculation-dialog{color:#eee6d6;background:radial-gradient(circle at 50% 0,#2a2416,#0a0c11 64%);border:1px solid #c99b4e;width:min(440px,100%);padding:25px 28px;position:relative;box-shadow:0 20px 66px #000,0 0 24px #c9984238}.skill-reference-calculation-dialog>button{color:#ffe5ac;cursor:pointer;background:#17130b;border:1px solid #8c7040;width:29px;height:29px;font:22px/1 Georgia,serif;position:absolute;top:9px;right:9px}.skill-reference-calculation-dialog>button:hover,.skill-reference-calculation-dialog>button:focus-visible{border-color:#f0c76d;box-shadow:0 0 12px #e6b45280}.skill-reference-calculation-dialog>button:focus-visible{outline-offset:2px;outline:2px solid #fff4ce}.skill-reference-calculation-dialog small{color:#dcb766;letter-spacing:.16em;font-size:9px}.skill-reference-calculation-dialog h3{color:#fff0c5;margin:8px 0 14px;font:600 26px/1.1 Georgia,serif}.skill-reference-calculation-dialog p{color:#d7d6d0;margin:0;font:15px/1.6 Georgia,serif}.skill-reference-tips{background:#171309;border-left:2px solid #c99639;gap:6px;margin-top:10px;padding:10px 12px;display:grid}.skill-reference-tips p{grid-template-columns:max-content 1fr;gap:10px;display:grid;margin:0!important}.skill-reference-tips strong{color:#e6bd61;text-transform:uppercase;font-size:11px}.skill-reference-tips p{color:#cdd2d8;font-size:12px}@media (width<=620px){.hero-gallery-page .skill-reference-summary-content{gap:8px}.hero-gallery-page .skill-reference-summary-art{flex-basis:34px;width:34px}.hero-profile .skill-reference-grid{grid-template-columns:1fr}.skill-reference-tips p{grid-template-columns:1fr;gap:3px}.skill-reference-calculation-dialog{padding:23px 20px}}.instruction-page{background:radial-gradient(circle at 62% 0,#1b2841 0,#0000 42%),linear-gradient(135deg,#05070a,#0a0e15 58%,#0f0906);flex-direction:column;gap:14px;padding:clamp(18px,2.8vw,42px);display:flex}.instruction-page .instruction-header{border-bottom:1px solid #5e4b2d;width:min(1380px,100%);max-width:none;margin:0 auto;padding:0 0 15px}.instruction-header .manual-back{margin:0 0 13px}.instruction-header h1{margin:5px 0 7px;font-size:clamp(30px,3.7vw,48px)}.instruction-header>p{color:#aeb7c4;max-width:760px;margin:0;font-size:14px;line-height:1.55}.instruction-header>small,.instruction-chapter-heading>small{color:#d8ad59;letter-spacing:.2em}.instruction-compendium{flex:1;grid-template-columns:240px minmax(0,1fr);gap:18px;width:min(1380px,100%);min-height:0;margin:0 auto;display:grid}.instruction-chapters{background:#080c12cc;border:1px solid #3e4855;align-content:start;gap:6px;padding:9px;display:grid}.instruction-chapters button{color:#abb4c1;text-align:left;cursor:pointer;background:#0c121a;border:1px solid #0000;grid-template-columns:32px 1fr;align-items:center;min-height:48px;padding:7px 10px;display:grid}.instruction-chapters button span{color:#78694f;font:11px Georgia,serif}.instruction-chapters button[aria-selected=true]{color:#fff0c8;background:linear-gradient(90deg,#3a2609,#17130b);border-color:#c99d49;box-shadow:inset 3px 0 #efc56e}.instruction-chapters button:hover,.instruction-chapters button:focus-visible{color:#ffe5ad;border-color:#8f713c}.instruction-chapters button:focus-visible,.instruction-page button:focus-visible,.instruction-page select:focus-visible,.instruction-page a:focus-visible{outline-offset:2px;outline:2px solid #fff0bd}.instruction-reader{scrollbar-gutter:stable;background:linear-gradient(150deg,#0b1018f2,#070a0ff2);border:1px solid #5b4a31;min-width:0;min-height:0;padding:clamp(18px,2.5vw,34px);overflow:hidden auto;box-shadow:0 20px 60px #0006}.instruction-chapter-heading{border-bottom:1px solid #303a47;padding-bottom:20px}.instruction-chapter-heading h2{color:#f2e4c9;margin:7px 0 8px;font-size:clamp(27px,3.3vw,41px)}.instruction-chapter-heading h2:focus{outline:none}.instruction-chapter-heading>p{color:#bdc4ce;max-width:920px;margin:0;font-size:14px;line-height:1.62}.instruction-reader h3{color:#f0dfbd;margin:0;font:600 17px/1.25 Georgia,serif}.instruction-reader p{color:#bfc5cd;max-width:none;margin:5px 0 0;font-size:13px;line-height:1.55}.instruction-reader ul{color:#c4cad2;margin:9px 0 0;padding-left:18px;font-size:12px;line-height:1.65}.instruction-mobile-select{display:none}.instruction-command-flow{grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px;margin-top:20px;display:grid}.instruction-command-flow article{background:#0a111a;border:1px solid #394657;min-width:0;padding:16px 12px 14px;position:relative}.instruction-command-flow article:not(:last-child):after{content:"›";z-index:2;color:#e6b75d;font:24px Georgia,serif;position:absolute;top:40%;right:-8px}.instruction-command-flow article>span{color:#ffe6ac;background:#2c1d08;border:1px solid #d0a14c;border-radius:50%;place-items:center;width:27px;height:27px;margin-bottom:10px;font:13px Georgia,serif;display:grid}.instruction-command-flow h3{font-size:15px}.instruction-command-flow p{font-size:12px}.instruction-callout{background:#171309;border-left:3px solid #d4a854;grid-template-columns:130px 1fr;gap:16px;margin-top:18px;padding:15px 18px;display:grid}.instruction-callout strong{color:#e8bd63;font:16px Georgia,serif}.instruction-callout p{margin:0}.instruction-format-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.instruction-format-grid>article{background:#091019;border:1px solid #3c4857;flex-direction:column;min-width:0;padding:16px;display:flex}.instruction-format-grid header{border-bottom:1px solid #2a3541;justify-content:space-between;align-items:end;gap:10px;padding-bottom:10px;display:flex}.instruction-format-grid header strong{color:#ffe1a0;font:29px Georgia,serif}.instruction-team-diagram{justify-content:center;align-items:center;gap:5px;min-height:70px;margin-top:13px;display:flex}.instruction-team-diagram i{color:#bce9ff;background:#0a3350;border:1px solid #48b8ef;border-radius:16px 16px 7px 7px;place-items:center;width:31px;height:43px;font:13px Georgia,serif;display:grid}.instruction-team-diagram i.enemy{color:#ffd1c9;background:#491816;border-color:#e16c58}.instruction-team-diagram b{color:#806e51;margin:0 5px;font-size:10px}.instruction-format-facts{gap:12px;margin:14px 0 0;display:grid}.instruction-format-facts>div{border-top:1px solid #26313c;grid-template-columns:minmax(128px,.85fr) minmax(0,1.15fr);gap:12px;padding-top:10px;display:grid}.instruction-format-facts dt{color:#c69d51;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:700;line-height:1.45}.instruction-format-facts dd{color:#d9e0e8;flex-wrap:wrap;gap:3px 12px;min-width:0;margin:0;font-size:12px;line-height:1.45;display:flex}.instruction-format-facts dd span{white-space:normal}.instruction-format-facts dd strong{color:#ffe1a0;font:18px Georgia,serif}.instruction-formation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px;display:grid}.instruction-formation-card{background:#091019;border:1px solid #364252;padding:13px}.instruction-formation-card:last-child{grid-column:1/-1}.instruction-formation-board{background:#060a0f;border:1px solid #27323e;grid-template-columns:repeat(7,1fr);align-items:center;gap:5px;min-height:75px;margin-top:10px;padding:8px;display:grid}.instruction-formation-board>span{background:#0d2b3b;border:1px solid #378fc1;border-radius:50%;align-content:center;place-items:center;min-height:46px;display:grid}.instruction-formation-board>span.rear{opacity:.84;transform:scale(.82)}.instruction-formation-board>span.enemy{background:#351313;border-color:#b74e45}.instruction-formation-board>span b{font:14px Georgia,serif}.instruction-formation-board>span small{color:#b6c4d1;font-size:8px}.instruction-formation-board>i{color:#887453;text-align:center;font:9px Georgia,serif}.instruction-rule-separation{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px;display:grid}.instruction-rule-separation article{background:#10141a;border-top:2px solid #a17c3e;padding:13px}.instruction-rule-separation strong{color:#e6bd67;text-transform:uppercase;font-size:11px}.instruction-rule-separation p{font-size:11px}.instruction-attack-types{border:1px solid #4b4030;grid-template-columns:180px minmax(0,1fr);margin-top:16px;display:grid}.instruction-attack-types>div{background:#080c11;align-content:start;display:grid}.instruction-attack-types button{color:#aeb8c4;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #2c3540;min-height:41px;padding:8px 11px}.instruction-attack-types button[aria-selected=true]{color:#ffe2a3;background:#2b1e09;box-shadow:inset 3px 0 #e0ad50}.instruction-attack-types>article{background:#0d1218;padding:17px}.instruction-fine-print{background:#0c0f13;border-left:2px solid #7e6a48;padding:10px 12px;color:#9ea6b0!important;font-size:11px!important}.instruction-interface-guide{margin-top:20px}.instruction-battle-reference{background:#05080d;border:1px solid #9d793d;position:relative;overflow:hidden;box-shadow:0 12px 35px #0008}.instruction-battle-reference>img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.instruction-battle-reference>small{color:#e3bc6d;letter-spacing:.12em;background:#020407c9;padding:4px 7px;font-size:8px;position:absolute;bottom:7px;left:8px}.instruction-battle-schematic{aspect-ratio:16/9;color:#acb8c6;background:radial-gradient(circle,#43351f,#111721 50%,#06080c);grid-template-rows:12% 1fr 28% 10%;grid-template-columns:19% 1fr 19%;width:100%;font-size:clamp(7px,1vw,12px);display:grid;position:relative}.instruction-battle-schematic span{border:1px solid #80663655;place-items:center;display:grid}.instruction-battle-schematic .top{grid-column:1/-1}.instruction-battle-schematic .left{grid-row:2}.instruction-battle-schematic .field{background:radial-gradient(#5e4b2b55,#0b1018);grid-area:2/2}.instruction-battle-schematic .right{grid-area:2/3}.instruction-battle-schematic .acting{grid-row:3}.instruction-battle-schematic .skills{grid-area:3/2}.instruction-battle-schematic .log{grid-area:3/3}.instruction-battle-schematic .controls{grid-area:4/1/auto/-1}.instruction-marker{color:#fff1c9;cursor:pointer;background:#171006e6;border:2px solid #ffda82;border-radius:50%;place-items:center;width:28px;height:28px;font:700 12px Georgia,serif;display:grid;position:absolute;box-shadow:0 0 12px #e6ab49}.instruction-marker[aria-pressed=true]{color:#160d02;background:#f0bd59;transform:scale(1.14)}.instruction-marker.marker-6{top:70%;left:52%}.instruction-marker.marker-8{top:91%;left:14%}.instruction-marker.marker-9{bottom:2%;right:2%}.instruction-marker-detail{background:#12100c;border:1px solid #665335;grid-template-columns:43px 1fr;gap:12px;min-height:84px;margin-top:10px;padding:14px;display:grid}.instruction-marker-detail>span{color:#ffe3a5;border:1px solid #d7a94f;border-radius:50%;place-items:center;width:39px;height:39px;font:20px Georgia,serif;display:grid}.instruction-marker-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:8px;display:grid}.instruction-marker-list button{color:#b7c1ce;text-align:left;cursor:pointer;background:#0b1118;border:1px solid #35414f;align-items:center;gap:8px;min-height:36px;padding:6px 8px;display:flex}.instruction-marker-list button[aria-pressed=true]{color:#ffe4ad;background:#281c0b;border-color:#c99743}.instruction-marker-list button span{color:#dfb65f;background:#26313e;border-radius:50%;place-items:center;width:20px;height:20px;font-size:9px;display:grid}.instruction-turn-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;display:grid}.instruction-turn-grid article{background:#0a1017;border:1px solid #3d4856;padding:18px}.instruction-turn-grid article>span,.instruction-worked-example>span{color:#dbae55;letter-spacing:.18em;font-size:9px}.instruction-timeout-order{background:#0d1117;border:1px solid #4d4639;margin-top:16px;padding:17px}.instruction-timeout-order ol{counter-reset:timeout;grid-template-columns:repeat(4,1fr);gap:7px;margin:13px 0;padding:0;list-style:none;display:grid}.instruction-timeout-order li{color:#ddc48f;text-align:center;background:#17130c;border:1px solid #51442f;place-items:center;min-height:54px;padding:7px;font-size:11px;display:grid}.instruction-worked-example{background:linear-gradient(135deg,#211707,#0a0e14);border:1px solid #786039;margin-top:12px;padding:17px}.instruction-worked-example>div{gap:8px;margin-top:12px;display:flex}.instruction-worked-example strong{color:#f1ce7b;text-align:center;border:1px solid #6d5836;flex:1;padding:10px}.instruction-effect-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:20px;display:grid}.instruction-effect-card{background:#0a1017;border:1px solid #35414f;grid-template-columns:50px 1fr;gap:11px;padding:12px;display:grid}.instruction-effect-card>span{color:#8ddaff;background:#0b2332;border:1px solid #4281a6;place-items:center;width:48px;height:48px;font:24px Georgia,serif;display:grid;overflow:hidden}.instruction-effect-card>span.harmful{color:#ff9e92;background:#301413;border-color:#a34d47}.instruction-effect-card img{object-fit:cover;width:100%;height:100%}.instruction-scenario-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:17px;display:grid}.instruction-scenario-grid article{background:#13120f;border-top:2px solid #b18847;padding:14px}.instruction-scenario-grid small{color:#c59c51;text-transform:uppercase;margin-top:10px;font-size:8px;display:block}.instruction-gallery-link{background:#17120a;border:1px solid #745c37;justify-content:space-between;align-items:center;gap:18px;margin-top:17px;padding:15px;display:flex}.instruction-gallery-link a,.instruction-gallery-link button{color:#ffe2a7;cursor:pointer;background:#2c1e09;border:1px solid #c49643;flex:none;padding:10px 13px;text-decoration:none}.instruction-pagination{border-top:1px solid #34404c;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-top:25px;padding-top:15px;display:grid}.instruction-pagination button{color:#e7c57c;cursor:pointer;background:#14110b;border:1px solid #735e3c;justify-self:start;min-height:38px;padding:7px 12px}.instruction-pagination button:last-child{justify-self:end}.instruction-pagination button:disabled{cursor:not-allowed;opacity:.35}.instruction-pagination span{color:#8993a0;font-size:10px}@media (width<=980px){.instruction-page{padding:18px 15px}.instruction-compendium{grid-template-columns:1fr}.instruction-chapters{display:none}.instruction-mobile-select{align-items:center;gap:12px;width:min(1380px,100%);margin:0 auto;display:flex}.instruction-mobile-select label{color:#d5ae60;letter-spacing:.14em;text-transform:uppercase;font-size:10px}.instruction-mobile-select select{color:#f2dfb7;background:#0b1017;border:1px solid #9c783d;width:min(420px,100%);min-height:40px;padding:6px 34px 6px 11px}.instruction-reader{overflow-y:visible}.instruction-command-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.instruction-command-flow article:not(:last-child):after{display:none}.instruction-format-grid,.instruction-formation-grid{grid-template-columns:1fr}.instruction-formation-card:last-child{grid-column:auto}.instruction-marker-list{grid-template-columns:repeat(2,minmax(0,1fr))}.instruction-rule-separation{grid-template-columns:1fr}.instruction-timeout-order ol{grid-template-columns:repeat(2,1fr)}}@media (width<=620px){.instruction-header h1{font-size:30px}.instruction-reader{padding:15px}.instruction-command-flow,.instruction-effect-grid,.instruction-scenario-grid,.instruction-turn-grid{grid-template-columns:1fr}.instruction-formation-board{grid-template-columns:repeat(7,minmax(30px,1fr));overflow-x:auto}.instruction-attack-types{grid-template-columns:1fr}.instruction-attack-types>div{grid-template-columns:repeat(3,1fr)}.instruction-attack-types button{text-align:center}.instruction-marker{width:24px;height:24px}.instruction-marker-list{grid-template-columns:1fr}.instruction-gallery-link{flex-direction:column;align-items:stretch}.instruction-gallery-link a,.instruction-gallery-link button{text-align:center}.instruction-worked-example>div{flex-direction:column}.instruction-callout{grid-template-columns:1fr;gap:5px}.instruction-pagination{grid-template-columns:1fr 1fr}.instruction-pagination button{white-space:nowrap;grid-row:2;padding-inline:7px;font-size:11px}.instruction-pagination span{grid-area:1/1/auto/-1;justify-self:center}.instruction-format-facts>div{grid-template-columns:1fr}.instruction-format-facts dd{gap:3px 10px}}.instruction-page .instruction-header{display:grid}.instruction-header .manual-back{justify-self:start}.instruction-formation-board.formation-map{height:170px;min-height:0;display:block;position:relative;overflow:hidden}.instruction-formation-note{color:#c9af76;margin:5px 0 0;font-size:11px}.instruction-formation-board.formation-map--trio{height:264px}.instruction-formation-board.formation-map .instruction-formation-slot{flex-direction:column;align-items:center;gap:4px;width:32px;display:flex;position:absolute;transform:translate(-50%,-50%)}.instruction-formation-board.formation-map .instruction-formation-slot small{color:#b6c4d1;white-space:nowrap;font-size:9px}.instruction-formation-board.formation-map .instruction-formation-vs{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (width<=360px){.instruction-formation-board.formation-map .instruction-formation-vs{font-size:8px}}.instruction-duel-reference{margin-top:20px}.instruction-duel-reference .instruction-formation-card{padding:13px}.instruction-duel-reference .formation-map{height:126px}.instruction-formation-demo{background:linear-gradient(145deg,#0c131d,#070a0f);border:1px solid #5d4b31;margin-top:12px;padding:16px}.instruction-formation-demo>header{justify-content:space-between;align-items:end;gap:12px;display:flex}.instruction-formation-demo>header h3{font-size:22px}.instruction-formation-demo>header p{margin-top:5px}.instruction-demo-control{border:0;gap:5px;min-width:0;margin:14px 0 0;padding:0;display:flex}.instruction-demo-control legend{float:left;color:#d8b56d;letter-spacing:.12em;text-transform:uppercase;width:100%;margin-bottom:6px;font-size:9px}.instruction-demo-control button{color:#b8c2ce;text-align:left;cursor:pointer;background:#0b121a;border:1px solid #3c4856;min-height:40px;padding:7px 11px}.instruction-demo-control button:hover{color:#ffe5ad;border-color:#8f713c}.instruction-demo-control button[aria-pressed=true]{color:#ffe8b2;background:linear-gradient(#382407,#171208);border-color:#e1b250;box-shadow:inset 0 -2px #e8b956}.instruction-demo-control button span{color:#c3933f;letter-spacing:.12em;font-size:8px;display:block}.instruction-demo-formations{flex-wrap:wrap}.instruction-demo-formations button{flex:150px}.instruction-demo-attacks button{text-align:center;flex:1 1 0}.instruction-demo-message{color:#b9c3cf;text-align:center;background:#070b10;border:1px solid #2f3a46;place-items:center;min-height:180px;margin-top:15px;padding:20px;display:grid}.instruction-demo-message.is-error{color:#f0a99e;border-color:#773f38}.instruction-demo-message button{color:#ffe1a0;cursor:pointer;background:#291b08;border:1px solid #bb8f43;margin-top:9px;padding:8px 15px}.instruction-demo-heading{justify-content:space-between;align-items:center;gap:14px;margin-top:17px;display:flex}.instruction-demo-heading h3{font-size:19px}.instruction-demo-switch{color:#d4c3a0;cursor:pointer;align-items:center;gap:8px;font-size:11px;display:flex}.instruction-demo-switch input{accent-color:#d6a544;cursor:pointer;width:32px;height:17px}.instruction-demo-board{background:radial-gradient(#151b22,#05080c 68%);border-color:#344352;height:330px;min-height:0;margin-top:10px;padding:8px;display:block;position:relative;overflow:hidden}.instruction-demo-board.is-trio{height:460px}.instruction-demo-board .instruction-formation-vs{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.instruction-demo-slot{color:#c4d0dd;text-align:center;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;width:78px;min-height:98px;display:flex;position:absolute;transform:translate(-50%,-50%)}.instruction-demo-slot.friendly{cursor:pointer}.instruction-demo-slot.friendly:hover i{border-color:#8bd8ff;box-shadow:0 0 13px #43b7f070}.instruction-demo-slot.friendly:focus-visible{outline-offset:4px;outline:2px solid #fff0bd}.instruction-demo-slot i{flex:none}.instruction-demo-slot small{white-space:nowrap;font-size:12px;line-height:1.2}.instruction-demo-slot>strong{color:#8492a1;letter-spacing:.04em;min-height:16px;font-size:11px;font-weight:600;line-height:1.25}.instruction-demo-slot.is-attacker i{border-color:#f2c35f;box-shadow:0 0 0 2px #6d4c12,0 0 15px #e7b34f99}.instruction-demo-slot.is-attacker>strong{color:#f2c968}.instruction-demo-slot.is-defeated{opacity:.44}.instruction-demo-state-symbol{background:#0b1810;border:1px solid #44624a;border-radius:50%;place-items:center;width:22px;height:22px;color:#80d895!important;min-height:22px!important;font-size:14px!important;display:grid!important}.instruction-demo-slot.is-reduced .instruction-demo-state-symbol{color:#e5b758!important}.instruction-demo-slot.is-protectedByFrontLine .instruction-demo-state-symbol{background:#1d0d0c;border-color:#6e3934;color:#f08f82!important}.instruction-demo-slot.is-defeated .instruction-demo-state-symbol{background:#171a1e;border-color:#59616b;color:#c0c6ce!important}.instruction-demo-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px;display:grid}.instruction-demo-result{color:#80d895;background:#0b1810;border:1px solid #44624a;border-radius:3px;grid-template-columns:auto 1fr;gap:4px 10px;min-width:0;padding:10px 11px;display:grid}.instruction-demo-result>strong{color:#dce4ec;font-size:12px}.instruction-demo-result>small{color:#aeb8c4;text-transform:uppercase;justify-self:end;font-size:10px}.instruction-demo-result>span{grid-column:1/-1;align-items:center;gap:7px;font-size:12px;display:flex}.instruction-demo-result>span b{font-size:15px}.instruction-demo-result.is-reduced>span{color:#e5b758}.instruction-demo-result.is-protectedByFrontLine{color:#f08f82;background:#1d0d0c;border-color:#6e3934}.instruction-demo-result.is-defeated{color:#c0c6ce;background:#171a1e;border-color:#59616b}.instruction-demo-explanation{background:#151108;border-left:3px solid #d3a64f;min-height:48px;padding:11px 13px;color:#e0c999!important;margin-top:10px!important}.instruction-fine-print{margin-top:10px!important}@media (width<=620px){.instruction-formation-demo{padding:11px}.instruction-demo-control{grid-template-columns:1fr 1fr;display:grid}.instruction-demo-control legend,.instruction-demo-attacks button:last-child{grid-column:1/-1}.instruction-demo-formations button{min-width:0}.instruction-demo-heading{flex-direction:column;align-items:flex-start}.instruction-demo-board{height:370px;overflow:hidden}.instruction-demo-board.is-trio{height:500px}.instruction-demo-slot{width:56px}.instruction-demo-slot[data-side=friendly]{transform:translate(calc(-50% - 14px),-50%)}.instruction-demo-slot[data-side=enemy]{transform:translate(calc(14px - 50%),-50%)}.instruction-demo-results{grid-template-columns:1fr}.instruction-rule-separation{margin-top:10px}}.instruction-battle-reference>img{aspect-ratio:auto;object-fit:contain;height:auto}.instruction-battle-reference:not(.is-schematic)>small{display:none}.instruction-battle-schematic{aspect-ratio:1919/954}.instruction-marker{transform:translate(-50%,-50%)}.instruction-marker[aria-pressed=true]{transform:translate(-50%,-50%)scale(1.14)}.instruction-marker:focus-visible{outline-offset:2px;outline:2px solid #fff1c9}.instruction-marker.marker-1{top:28.2%;left:10%}.instruction-marker.marker-2{top:14.8%;left:49.5%}.instruction-marker.marker-3{top:56.1%;left:57.4%}.instruction-marker.marker-4{top:18%;left:69.4%}.instruction-marker.marker-5{top:51.7%;left:17%}.instruction-marker.marker-6{top:83.8%;bottom:auto;left:6.4%}.instruction-marker.marker-7{top:83.8%;left:30%}.instruction-marker.marker-8{top:96.5%;bottom:auto;left:25.8%}.instruction-marker.marker-9{top:84.7%;left:60%}.instruction-marker.marker-10{top:95.5%;bottom:auto;left:6.3%}.instruction-marker.marker-11{inset:95.5% auto auto 91.4%}@media (width<=620px){.instruction-marker{border-width:1px;width:18px;height:18px;font-size:9px}.instruction-marker.marker-2{top:7.5%}.instruction-marker.marker-6,.instruction-marker.marker-7,.instruction-marker.marker-9{top:80%}.instruction-marker.marker-6{left:11%}.instruction-marker.marker-8,.instruction-marker.marker-10,.instruction-marker.marker-11{top:90%}.instruction-marker.marker-10{left:4%}.instruction-marker.marker-11{left:95%}}@media (width<=360px){.instruction-marker{width:14px;height:14px;font-size:8px}}.battle-inactivity-warning{z-index:120;top:calc(var(--battle-header-height,58px) + 12px);color:#f4d89b;letter-spacing:.04em;text-align:center;pointer-events:none;background:#171107ed;border:1px solid #c99b49;width:min(520px,100vw - 32px);padding:10px 16px;font-size:12px;position:fixed;left:50%;translate:-50%;box-shadow:0 0 24px #d99d3638}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@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}
