/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial}}}@layer theme{:root,:host{--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:"Spire", serif;--default-mono-font-family:var(--font-geist-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@font-face{font-family:Spire;src:url(/game-assets/Kreon-Regular.ttf)format("truetype");font-weight:400}@font-face{font-family:Spire;src:url(/game-assets/Kreon-Bold.ttf)format("truetype");font-weight:700}@font-face{font-family:Spire Display;src:url(/game-assets/FeDPrm27C.otf)format("opentype")}:root{--void:#100d12;--panel:#20191e;--panel-dark:#151116;--panel-light:#2b2124;--line:#5e4e47;--line-bright:#a8875d;--parchment:#e7d8b5;--dim:#aa9b86;--muted:#7d7064;--ember:#e56a2c;--blood:#9e312d;--gold:#e9b94c;--green:#76a47a;--purple:#9a75bd;--blue:#7595b9;--type-small:10px;--type-ui:12px;--type-body:14px;--type-h3:18px;--type-h2:24px;--type-h1:32px}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{color:var(--parchment);background:#080708;font-family:Spire,Georgia,serif}button,input,summary{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,[role=button]:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button{color:inherit}.game-reference{cursor:help;text-underline-offset:3px;min-width:0;-webkit-text-decoration:underline dotted #b57a4b77;text-decoration:underline dotted #b57a4b77}.game-reference:focus-visible{outline:1px solid var(--gold);outline-offset:3px}.game-glossary{pointer-events:none;z-index:220;background:linear-gradient(145deg,#2e1f1dfa,#0f0c10fc);border:1px solid #8a624a;grid-template-columns:92px minmax(0,1fr);gap:13px;width:320px;min-height:130px;padding:12px;display:grid;position:fixed;box-shadow:0 18px 42px #000d,inset 0 0 0 2px #161015}.glossary-visual{background:#100d11;border:1px solid #4f3d38;justify-content:center;align-items:center;min-height:106px;display:flex;overflow:hidden}.glossary-visual>img{object-fit:cover;width:100%;height:100%}.game-glossary.kind-relic .glossary-visual>img{object-fit:contain;width:78px;height:78px}.game-glossary.kind-enemy .glossary-visual>img{object-fit:contain;width:100%;height:100%;padding:7px}.game-glossary .glossary-visual .potion-sprite{width:72px;height:72px}.glossary-copy{align-content:start;gap:7px;min-width:0;display:grid}.glossary-copy>span,.glossary-copy b{color:#aa8d74;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;font-size:8px}.glossary-copy>strong{color:#f1d9ab;font-family:Spire Display,Spire,serif;font-size:20px;font-weight:400;line-height:1.05}.glossary-copy>div{flex-wrap:wrap;gap:5px;display:flex}.glossary-copy b{color:#d4b986;background:#21191b;border:1px solid #523e38;padding:4px 5px}.glossary-copy p{color:#c5b299;margin:0;font-size:11px;line-height:1.45}.spire-app{background:linear-gradient(#0504068a,#050406e6),url(/game-assets/library-hero.jpg) top/cover fixed;height:100dvh;min-height:760px;overflow:hidden}.topbar{z-index:30;background:#0d0a0ef2;border-bottom:1px solid #5a443b;grid-template-columns:1fr auto 1fr;align-items:center;height:78px;padding:0 20px 0 14px;display:grid;position:relative;box-shadow:0 8px 24px #000a}.topbar:after{background:linear-gradient(90deg, transparent, var(--line-bright), transparent);content:"";opacity:.7;height:1px;position:absolute;bottom:-3px;left:0;right:0}.brand{align-items:center;gap:14px;min-width:0;display:flex}.brand>img{object-fit:contain;width:95px;height:66px}.brand>div{border-left:1px solid #4d3e39;gap:4px;padding-left:14px;display:grid}.brand strong{color:#ead9b1;font-family:var(--font-geist-mono), monospace;letter-spacing:.16em;font-size:11px}.brand span,.topbar-mode span,.topbar-stats span,.run-title>span,.run-meters span,.library-head span,.deck-timeline-head span,.deck-explorer-head span,.deck-overview span,.deck-change-summary span,.floor-stats span,.loadout-meters span,.floor-commentary span,.section-label span,.run-note>span,.build-line>span,.selected-event>span,.section-intro span{color:var(--dim);font-family:var(--font-geist-mono), monospace;letter-spacing:.13em;font-size:10px}.brand span{font-size:9px}.site-nav{align-self:stretch;align-items:stretch;display:flex}.site-nav button{color:#958271;cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.12em;background:0 0;border:0;border-left:1px solid #3f322f;min-width:118px;padding:0 18px;font-size:10px}.site-nav button:last-child{border-right:1px solid #3f322f}.site-nav button:hover{color:#f5d895}.site-nav button.active{box-shadow:inset 0 -3px var(--ember);color:#fff0c6;background:#3a2522}.nav-short{display:none}.topbar-mode{align-items:center;gap:9px;display:flex}.topbar-mode img{width:31px;height:31px}.topbar-mode strong{color:var(--gold);text-shadow:0 1px #000,0 0 10px #8c4310;font-family:Spire Display,Spire,serif;font-size:28px;font-weight:400}.topbar-stats{justify-content:flex-end;align-items:center;gap:20px;display:flex}.topbar-stats>div{text-align:right;gap:2px;display:grid}.topbar-stats strong{font-family:Spire Display,Spire,serif;font-size:22px;font-weight:400}.download-menu{position:relative}.download-menu summary{border:1px solid var(--line-bright);color:var(--parchment);cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.12em;background:#342623;padding:11px 14px;font-size:10px;list-style:none}.download-menu summary::-webkit-details-marker{display:none}.download-menu[open] summary{color:#fff2d1;background:#5d3023}.download-menu>div{border:1px solid var(--line-bright);z-index:50;background:#171217;min-width:230px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 14px 28px #000b}.download-menu a{color:var(--parchment);font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;border-bottom:1px solid #3c302d;justify-content:space-between;padding:14px;font-size:10px;text-decoration:none;display:flex}.download-menu a:hover{color:#fff1c9;background:#3e2822}.download-menu a span{color:var(--ember)}.game-shell{grid-template-columns:286px minmax(500px,1fr) 420px;gap:12px;height:calc(100dvh - 78px);min-height:682px;padding:12px;display:grid}.game-shell.library-collapsed{grid-template-columns:124px minmax(500px,1fr) 420px}.experiment-usage-shell{height:calc(100dvh - 78px);padding:12px;overflow-y:auto}.experiment-usage-shell[hidden],.game-shell[hidden]{display:none}.experiment-usage-shell .usage-view{border:1px solid var(--line);width:100%;max-width:1420px;height:auto;min-height:100%;margin:0 auto;box-shadow:inset 0 0 0 2px #0c090c,0 8px 28px #0008}.run-library,.run-workspace,.inspector{border:1px solid var(--line);background:#161115f7;min-height:0;box-shadow:inset 0 0 0 2px #0c090c,0 8px 28px #0008}.run-library{grid-template-rows:auto auto minmax(0,1fr);min-width:0;display:grid;overflow:hidden}.run-library.collapsed{grid-template-rows:auto auto minmax(0,1fr);display:grid}.library-collapse{color:var(--gold);cursor:pointer;background:#24191b;border:1px solid #5d433a;width:34px;height:34px;position:static}.library-head{border-bottom:1px solid var(--line);background:linear-gradient(90deg,#110d11eb,#110d11b8),url(/game-assets/ironclad3.png) 95% 42%/160px;min-height:84px;padding:17px 16px 14px;position:relative}.library-head>div{gap:5px;display:grid}.library-head strong{font-family:Spire Display,Spire,serif;font-size:22px;font-weight:400}.library-head p{color:#9c8875;margin:7px 0 0;font-size:13px}.sort-control{border-bottom:1px solid var(--line);background:#110e12;grid-template-columns:34px repeat(3,1fr);gap:3px;padding:7px;display:grid}.sort-control button{color:#958271;cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;text-transform:uppercase;background:0 0;border:1px solid #0000;min-height:34px;font-size:9px}.sort-control .library-collapse{color:var(--gold);min-height:34px;font-size:13px}.sort-control button:hover{color:#f0d9a6}.sort-control button.active{color:#ffd77d;background:#3b2925;border-color:#795443}.sort-short{display:none}.model-filter-control{border-bottom:1px solid var(--line);background:#171216;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;min-height:54px;padding:7px;display:grid}.model-filter-control label{gap:3px;min-width:0;display:grid}.model-filter-control label>span,.model-filter-control strong,.model-filter-control strong span{color:#8f7d6e;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;font-size:8px;font-weight:500}.model-filter-control select{appearance:none;color:#e5cfa6;font-family:var(--font-geist-mono), monospace;text-overflow:ellipsis;background:#21181c;border:1px solid #5f443b;border-radius:0;width:100%;min-width:0;height:29px;padding:0 26px 0 8px;font-size:9px;overflow:hidden}.model-filter-control>strong{color:#e1c488;text-align:right;white-space:nowrap}.run-list{scrollbar-color:#6e5141 #181317;scrollbar-width:thin;min-height:0;overflow-y:auto}.run-list>button{cursor:pointer;text-align:left;background:0 0;border:0;border-bottom:1px solid #3a302e;grid-template-columns:38px minmax(0,1fr) auto;gap:5px 10px;width:100%;min-height:82px;padding:12px 14px 13px;display:grid;position:relative;overflow:hidden}.run-list>button:hover{background:#271d20}.run-list>button.active{box-shadow:inset 4px 0 var(--ember);background:#4b2a23}.run-list>button>i{background:#8b3a2a;max-width:100%;height:3px;position:absolute;bottom:0;left:0}.run-list>button.active>i{background:var(--ember);box-shadow:0 0 9px #e56a2c88}.run-order{color:#9f8a75;font-family:var(--font-geist-mono), monospace;grid-row:1/3;padding-top:4px;font-size:11px}.run-list-main{gap:2px;min-width:0;display:grid}.run-list-main strong{color:#eddcb7;font-family:Spire Display,Spire,serif;font-size:20px;font-weight:400}.run-list-main small,.run-list-meta{color:#8f7e70;font-family:var(--font-geist-mono), monospace;font-size:9px}.run-list-meta{letter-spacing:.08em;flex-wrap:wrap;grid-column:2/4;gap:7px;display:flex}.run-list-meta>span+span:before{content:"·";margin-right:7px}.run-library.collapsed .sort-control{grid-template-rows:30px 30px;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:4px}.run-library.collapsed .sort-control button{letter-spacing:0;min-width:0;min-height:30px;font-size:8px}.run-library.collapsed .sort-control .library-collapse{font-size:var(--type-small);letter-spacing:.08em;grid-column:1/-1;width:100%;height:30px;min-height:30px}.run-library.collapsed .sort-long{display:none}.run-library.collapsed .sort-short{display:inline}.run-library.collapsed .model-filter-control{grid-template-columns:minmax(0,1fr);padding:4px;display:grid}.run-library.collapsed .model-filter-control>strong,.run-library.collapsed .model-filter-control label>span{display:none}.run-library.collapsed .model-filter-control select{letter-spacing:0;height:28px;padding:0 4px;font-size:7px}.run-library.collapsed .run-list>button{grid-template:"order main"28px"meta meta"minmax(0,1fr)/auto minmax(0,1fr);gap:5px;min-height:94px;padding:9px 9px 11px}.run-library.collapsed .run-order{font-size:var(--type-small);grid-area:order;align-self:center;padding:0}.run-library.collapsed .run-list-main{grid-area:main;justify-content:flex-end;align-items:center;display:flex}.run-library.collapsed .run-list-main strong{font-size:24px;line-height:1}.run-library.collapsed .spire-prefix,.run-library.collapsed .run-list-main small,.run-library.collapsed .run-state{display:none}.run-library.collapsed .run-list-meta{font-size:var(--type-small);letter-spacing:0;white-space:normal;grid-area:meta;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:3px 7px;line-height:1.2;display:grid;overflow:hidden}.run-library.collapsed .run-list-meta>span:before{content:none}.run-library.collapsed .run-character{color:#ddc9a6;text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:13px;overflow:hidden}.run-library.collapsed .run-model{color:#c7a46e;letter-spacing:.06em;grid-column:1/-1;font-size:8px}.run-library.collapsed .run-ascension,.run-library.collapsed .run-duration,.run-library.collapsed .run-token{color:#9f8b78;white-space:nowrap}.run-state{color:#cb9c73;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;border:1px solid #64443a;align-self:start;padding:5px 6px;font-size:8px}.state-victory,.status-victory{color:#9ed6a3!important}.state-live,.status-live{color:#ffbb73!important}.run-workspace{grid-template-rows:minmax(94px,auto) 50px minmax(0,1fr);min-width:0;display:grid;overflow:hidden}.run-toolbar{border-bottom:1px solid var(--line);background:linear-gradient(90deg,#110d11f0 0 44%,#110d119e),url(/game-assets/library-hero.jpg) 50% 45%/cover;justify-content:space-between;align-items:center;gap:24px;min-width:0;padding:13px 18px;display:flex}.run-title{min-width:0}.run-title>span{color:#b99a70;overflow-wrap:anywhere}.run-title h1{letter-spacing:.03em;text-shadow:0 2px 1px #000;white-space:nowrap;text-overflow:ellipsis;max-width:min(48vw,680px);margin:5px 0 0;font-family:Spire Display,Spire,serif;font-size:31px;font-weight:400;overflow:hidden}.run-title h1 b{color:var(--ember);font-family:var(--font-geist-mono), monospace;letter-spacing:.12em;vertical-align:6px;margin-left:13px;font-size:9px}.run-meters{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;width:min(46vw,520px);min-width:0;max-width:520px;display:grid}.run-meters>div{text-align:center;background:#0f0c0fd6;border:1px solid #685048;align-content:center;justify-items:center;gap:4px;min-width:0;height:62px;padding:6px 8px;display:grid;overflow:hidden}.run-meters span{overflow-wrap:anywhere;white-space:normal;font-size:clamp(8px,.62vw,10px);line-height:1.08}.run-meters strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-family:Spire Display,Spire,serif;font-size:clamp(15px,1.45vw,21px);font-weight:400;line-height:1;overflow:hidden}.run-meters strong.metric-token-value{font-variant-numeric:tabular-nums;letter-spacing:.01em;text-overflow:clip;font-size:clamp(14px,1.25vw,20px);overflow:visible}.run-meters strong.metric-token-value.compact{font-size:clamp(12px,1vw,17px)}.run-meters small{color:#b29c88;font-family:var(--font-geist-mono), monospace;letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:8px;line-height:1;overflow:hidden}.view-tabs{border-bottom:1px solid var(--line);background:#110d11;display:flex}.view-tabs button{color:#a18c77;cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.13em;background:0 0;border:0;border-right:1px solid #403330;min-width:108px;padding:0 18px;font-size:10px}.view-tabs button:hover{color:#f5d895}.view-tabs button.active{box-shadow:inset 0 -3px var(--ember);color:#fff0c6;background:#3a2522}.viewport{background:linear-gradient(#0c090cd1,#0c090ce8),url(/game-assets/redBg.jpg) 50%/100% 100%;min-height:0;position:relative;overflow:hidden}.route-view,.deck-view,.vitals-view,.logs-view,.usage-view{height:100%;min-height:0}.usage-view{scrollbar-color:#76513e #140f13;scrollbar-width:thin;background:radial-gradient(circle at 82% 8%,#6a2c1d33,#0000 34%),linear-gradient(135deg,#140e11fa,#0a080bfa);padding:clamp(18px,3vw,36px);overflow-y:auto}.usage-hero{border-bottom:1px solid #5b433c;justify-content:space-between;align-items:end;gap:24px;padding-bottom:22px;display:flex}.usage-hero>div{gap:7px;display:grid}.usage-hero span,.usage-primary-metrics span,.usage-stat span,.usage-distribution header span{color:#a58d78;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);letter-spacing:.1em}.usage-hero h1{color:#f0dfb8;text-shadow:0 3px 2px #000;margin:0;font-family:Spire Display,Spire,serif;font-size:clamp(28px,4vw,48px);font-weight:400;line-height:1}.usage-hero time{color:#8f7d6d;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);letter-spacing:.08em;white-space:nowrap}.usage-primary-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px;display:grid}.usage-primary-metrics article,.usage-stat,.usage-token-split article,.usage-attempt-split>div{background:#171116dc;border:1px solid #51403b;gap:7px;min-width:0;padding:16px;display:grid}.usage-primary-metrics strong,.usage-stat strong,.usage-token-split strong,.usage-attempt-split strong{color:#f1dfb7;overflow-wrap:anywhere;font-family:Spire Display,Spire,serif;font-size:clamp(20px,2.2vw,30px);font-weight:400;line-height:1}.usage-token-split{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.usage-token-split article{grid-template-columns:minmax(0,1fr) auto;padding:13px 16px}.usage-token-split span,.usage-attempt-detail header span,.usage-attempt-split span,.usage-floor-row{color:#a58d78;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);letter-spacing:.08em}.usage-token-split strong{overflow-wrap:anywhere;grid-column:1;font-size:clamp(18px,1.8vw,25px)}.usage-token-split small{color:#cf9d65;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);grid-area:1/2/span 2;align-self:end}.usage-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.usage-stat strong{font-size:clamp(17px,1.6vw,23px)}.usage-attempt-detail{background:#120e12dd;border:1px solid #51403b;margin-top:8px;padding:16px}.usage-attempt-detail>header{justify-content:space-between;align-items:center;gap:18px;display:flex}.usage-attempt-detail>header>strong{color:#e4cfaa;font-size:var(--type-h3)}.usage-attempt-detail label{align-items:center;gap:8px;display:flex}.usage-attempt-detail select{appearance:none;color:#ead6ad;font:inherit;background:#20171b;border:1px solid #65483d;border-radius:0;min-width:230px;padding:8px 30px 8px 10px}.usage-attempt-split{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px;display:grid}.usage-attempt-split>div{padding:10px 12px}.usage-attempt-split strong{font-size:clamp(16px,1.5vw,21px)}.usage-floor-table{min-width:650px;margin-top:12px}.usage-floor-row{border-top:1px solid #392d2c;grid-template-columns:80px repeat(5,minmax(72px,1fr));align-items:center;gap:10px;min-height:42px;padding:7px 9px;display:grid;position:relative}.usage-floor-row:not(.usage-floor-header):before{content:"";width:var(--floor-usage-width);background:linear-gradient(90deg,#7c352233,#bf673117);position:absolute;top:0;bottom:0;left:0}.usage-floor-row>*{z-index:1;min-width:0;position:relative}.usage-floor-row>span{color:#d2b998;text-align:right}.usage-floor-row>strong{color:#f0c87b;font-size:var(--type-body);gap:7px;display:flex}.usage-floor-row>strong small{color:#7f7167;font-size:8px;font-weight:500}.usage-floor-header{border-top:0;min-height:30px}.usage-floor-header span{color:#756a63}.usage-floor-header span:not(:first-child){text-align:right}.usage-floor-empty{color:#756a63;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);border-top:1px solid #392d2c;justify-content:space-between;align-items:center;min-height:48px;padding:9px;display:flex}.usage-floor-empty strong{color:#a58d78}.usage-distribution{background:#120e12dd;border:1px solid #51403b;margin-top:8px;padding:16px}.usage-distribution>header{justify-content:space-between;align-items:end;display:flex}.usage-distribution header strong{color:#e4cfaa;font-size:var(--type-h3)}.usage-days{gap:14px;display:flex}.usage-bars{grid-auto-columns:minmax(7px,1fr);grid-auto-flow:column;align-items:end;gap:4px;height:190px;margin-top:18px;display:grid;overflow-x:auto}.usage-bars>button{cursor:pointer;background:0 0;border:0;grid-template-rows:1fr auto;align-items:center;min-width:0;height:100%;padding:0;display:grid}.usage-bars>button[aria-pressed=true] i{background:#73d5bb;border-color:#beffee}.usage-bars>button:hover i{filter:brightness(1.3)}.token-value{appearance:none;color:inherit;font:inherit;font-variant-numeric:tabular-nums;letter-spacing:0;text-align:inherit;overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;max-width:100%;padding:2px 0}.number-format-toggle{color:#f0dfb8;cursor:pointer;background:#20171b;border:1px solid #806647;padding:8px 10px;font:12px Spire,serif}.number-format-toggle[aria-pressed=true]{border-color:#70d2b5}.number-format-toggle:focus-visible,.usage-bars>button:focus-visible{outline-offset:4px;outline:2px solid #f4d291}.usage-explanation{color:#bfb3a8;letter-spacing:0;margin:5px 0 0;font:14px/1.6 Spire,serif}.input-breakdown{margin:24px 0 18px}.token-composition-group{margin-top:20px}.token-composition-group>header{color:#d1c8bb;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px;font:14px Spire,serif;display:flex}.input-breakdown>header{color:#eee4d3;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:12px;font-size:16px;display:flex}.input-breakdown>header>span{color:#c9bba8;font-size:14px}.input-composition-bar{background:#302a30;border-radius:4px;height:28px;display:flex;overflow:hidden}.input-uncached{background:#f0b369}.input-cached{background:#70d2b5}.input-reasoning{background:#c6a6f5}.input-output{background:#91bcff}.input-composition-legend>span{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.input-composition-legend i{flex:0 0 9px;width:9px;height:9px;display:inline-block}.input-composition-legend{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:10px;font-size:14px;display:flex}.uncached-color{color:#f0b369}.cached-color{color:#70d2b5}.output-color{color:#91bcff}.reasoning-color{color:#c6a6f5}.usage-token-split article{border-top:3px solid;flex-direction:column;align-items:start;gap:9px;display:flex}.usage-token-split article strong,.usage-token-split article small{color:inherit}.usage-token-split article small{align-self:start;font-size:13px}.usage-token-split article>span{color:#d1c8bb;font-size:11px;line-height:1.5}.usage-token-split article strong{font-family:Spire Display,Spire,serif;font-size:clamp(23px,2.5vw,34px);font-weight:400}.usage-hero h1{font-family:Spire Display,Spire,serif;font-size:clamp(36px,5vw,64px);font-weight:400}.usage-detail-grid{margin:18px 0}.usage-stat{background:0 0;border:0;border-left:1px solid #51403b}.usage-attempt-split>div:first-child strong{color:#f0b369}.usage-attempt-split>div:nth-child(2) strong{color:#70d2b5}.usage-attempt-split>div:nth-child(3) strong{color:#91bcff}.usage-attempt-split>div:nth-child(4) strong{color:#c6a6f5}.usage-floor-row>span:nth-child(2){color:#f0b369}.usage-floor-row>span:nth-child(3){color:#70d2b5}.usage-floor-row>span:nth-child(4){color:#91bcff}.usage-floor-row>span:nth-child(5){color:#c6a6f5}.usage-floor-row{letter-spacing:0;min-height:48px;font-size:12px}.usage-days{flex-wrap:wrap;justify-content:flex-end;max-width:65%}.usage-bars i{background:linear-gradient(#e67d3b,#7f3027);border-top:1px solid #ffc36a;align-self:end;width:100%;min-height:5px}.usage-bars .interrupted_unmeasured i,.usage-bars .failed_before_usage i{background:repeating-linear-gradient(-45deg,#4b403d,#4b403d 3px,#2d2728 3px 6px);border-top-color:#756762}.usage-bars .failed_before_usage i{background:repeating-linear-gradient(-45deg,#653c36,#653c36 3px,#342426 3px 6px);border-top-color:#9a5f52}.usage-bars .partially_recorded i{background:linear-gradient(#b68b43 50%,#45392f 50%);border-top-color:#d9b96f}.usage-bars span{color:#756a63;font-family:var(--font-geist-mono), monospace;text-align:center;padding-top:5px;font-size:7px}.benchmark-view{--benchmark-accent:#d16a35}.benchmark-hero{border-bottom:1px solid #5b433c;justify-content:space-between;align-items:end;gap:24px;padding-bottom:22px;display:flex}.benchmark-hero>div{gap:7px;display:grid}.benchmark-hero span,.benchmark-summary span,.benchmark-panel header span,.benchmark-scorecards>header span,.model-scorecard span,.benchmark-method strong{color:#a58d78;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);letter-spacing:.1em}.benchmark-hero h1{color:#f0dfb8;text-shadow:0 3px 2px #000;margin:0;font-family:Spire Display,Spire,serif;font-size:clamp(28px,4vw,48px);font-weight:400;line-height:1}.benchmark-hero time{color:#8f7d6d;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);letter-spacing:.08em;white-space:nowrap}.benchmark-controls{background:#171116;border:1px solid #51403b;justify-content:space-between;align-items:center;gap:18px;margin-top:16px;padding:10px 12px;display:flex}.benchmark-controls>div:first-child{gap:3px;display:grid}.benchmark-controls strong,.benchmark-controls span,.benchmark-mode-toggle button,.run-system-badge{font-family:var(--font-geist-mono), monospace;letter-spacing:.08em}.benchmark-controls strong{color:#d9c6a4;font-size:9px}.benchmark-controls span{color:#7f7167;font-size:7px}.benchmark-mode-toggle{background:#302526;border:1px solid #59433d;flex:none;gap:1px;padding:2px;display:flex}.benchmark-mode-toggle button{color:#8f7f71;cursor:pointer;background:#171116;border:0;min-height:30px;padding:0 12px;font-size:8px}.benchmark-mode-toggle button:hover,.benchmark-mode-toggle button:focus-visible{color:#f0dab0;outline-offset:-2px;outline:1px solid #b56742}.benchmark-mode-toggle button.active{color:#f3dfb7;background:#6f3529}.benchmark-summary{background:#51403b;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:16px;display:grid}.benchmark-summary article{background:#171116;gap:7px;min-width:0;padding:16px;display:grid}.benchmark-summary strong{color:#f1dfb7;font-family:Spire Display,Spire,serif;font-size:clamp(20px,2.2vw,30px);font-weight:400;line-height:1}.benchmark-comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.benchmark-panel{background:#120e12dd;border:1px solid #51403b;min-width:0;padding:16px}.benchmark-panel>header,.benchmark-scorecards>header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.benchmark-panel header strong,.benchmark-scorecards>header strong{color:#e4cfaa;font-size:var(--type-h3)}.benchmark-panel header span,.benchmark-scorecards>header span{color:#7e7066;text-align:right}.benchmark-chart{margin-top:13px;display:grid}.benchmark-chart-row{border-top:1px solid #392d2c;grid-template-columns:minmax(128px,.8fr) minmax(220px,1.5fr);gap:10px;padding:10px 0;display:grid}.benchmark-chart-row>strong{color:#d9c6a4;font-family:var(--font-geist-mono), monospace;letter-spacing:.05em;align-self:center;font-size:9px;font-weight:500;line-height:1.3}.benchmark-bar-pair{gap:6px;display:grid}.benchmark-bar-pair>div{grid-template-columns:62px minmax(70px,1fr) 45px;align-items:center;gap:7px;display:grid}.benchmark-bar-pair span,.benchmark-bar-pair em{color:#887970;font-family:var(--font-geist-mono), monospace;letter-spacing:.05em;font-size:7px;font-style:normal}.benchmark-bar-pair em{color:#d4b982;text-align:right}.benchmark-bar-pair i{background:#292022;border:1px solid #423432;height:8px;display:block;overflow:hidden}.benchmark-bar-pair i b{background:linear-gradient(90deg,#743526,#d06a36);min-width:2px;height:100%;display:block}.benchmark-bar-pair>div:nth-child(2) i b{background:linear-gradient(90deg,#8d622f,#e0b25e)}.benchmark-scorecards{background:#51403b;border:1px solid #51403b;gap:1px;margin-top:8px;display:grid}.benchmark-scorecards>header{background:#120e12;padding:14px 16px}.model-scorecard{background:linear-gradient(90deg,#211417 0 4px,#0000 4px),#171216;gap:13px;padding:17px 18px 15px 21px;display:grid}.model-scorecard>header{justify-content:space-between;align-items:end;gap:20px;display:flex}.model-scorecard>header>div{gap:4px;display:grid}.model-scorecard h2{color:#f0dab0;margin:0;font-family:Spire Display,Spire,serif;font-size:clamp(21px,2vw,28px);font-weight:400;line-height:1}.run-system-badge{color:#c99a69;border:1px solid #6e4c3d;justify-self:start;padding:3px 5px;font-size:7px;font-weight:500}.model-scorecard>header p,.reasoning-breakdown p{color:#8d7e72;font-family:var(--font-geist-mono), monospace;letter-spacing:.07em;margin:0;font-size:8px}.model-scorecard-metrics{background:#493a36;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;display:grid}.model-scorecard-metrics>div{background:#110e12;gap:6px;min-width:0;padding:12px;display:grid}.model-scorecard-metrics strong{color:#ead8af;overflow-wrap:anywhere;font-family:Spire Display,Spire,serif;font-size:clamp(18px,1.7vw,24px);font-weight:400}.reasoning-breakdown{grid-template-columns:minmax(150px,.7fr) minmax(180px,1.3fr) auto;align-items:center;gap:10px 14px;display:grid}.reasoning-breakdown>div{gap:4px;display:grid}.reasoning-breakdown>div strong{color:#d7b879;font-family:var(--font-geist-mono), monospace;font-size:11px;font-weight:500}.reasoning-breakdown>i{background:#292022;border:1px solid #493936;height:13px;display:block;overflow:hidden}.reasoning-breakdown>i b{background:linear-gradient(90deg,#873829,#e17d3f);min-width:2px;height:100%;display:block}.reasoning-breakdown p{text-align:right;max-width:210px}.model-outcomes{border-top:1px solid #3d302e;flex-wrap:wrap;gap:10px 18px;padding-top:11px;display:flex}.model-outcomes span{color:#8f8074;font-size:8px}.benchmark-method{background:#110e12;border:1px solid #51403b;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;margin-top:8px;padding:14px 16px;display:grid}.benchmark-method strong{color:#c9a96e;white-space:nowrap}.benchmark-method p{color:#918276;margin:0;font-size:11px;line-height:1.5}.choice-unavailable{background:#171317;border-top:1px solid #473a37;gap:4px;padding:10px 12px;display:grid}.choice-unavailable strong{color:#bca990}.choice-unavailable span,.media-unavailable{color:#877a70;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small)}.media-unavailable{letter-spacing:.06em;text-transform:uppercase;align-self:center;padding:0 5px}.route-view{scrollbar-color:#76513e #140f13;scrollbar-width:thin;background:#08060840;overflow-y:auto}.map-toolbar{z-index:20;background:#0d0a0df7;border-bottom:1px solid #453631;justify-content:space-between;align-items:center;height:46px;padding:0 14px;display:flex;position:sticky;top:0}.map-acts{height:100%;display:flex}.map-acts button{color:#98816e;cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.11em;background:0 0;border:0;border-right:1px solid #3d302d;padding:0 15px;font-size:10px}.map-acts button:first-child{border-left:1px solid #3d302d}.map-acts button.active{color:#f0d295;box-shadow:inset 0 -2px var(--ember);background:#2c1c1d}.map-legend{color:#8b796d;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;gap:14px;font-size:9px;display:flex}.map-legend span{align-items:center;gap:6px;display:flex}.map-legend i{background:#292125;border:1px solid #66544a;border-radius:50%;width:9px;height:9px}.map-legend i.taken{background:#a53b26;border-color:#e7b85e;box-shadow:0 0 5px #9a321d}.map-preview{z-index:18;background:#171217;border-bottom:1px solid #4b3a35;grid-template-columns:auto auto minmax(140px,1fr) auto;align-items:center;gap:4px 12px;min-height:78px;padding:12px 16px;display:grid;position:sticky;top:46px}.map-preview.active{box-shadow:inset 3px 0 var(--ember);background:#24191b}.map-preview:not(.active){visibility:hidden}.map-preview>span,.map-preview>small{color:var(--ember);font-family:var(--font-geist-mono), monospace;letter-spacing:.11em;font-size:9px}.map-preview>strong{color:#eed9aa;font-family:Spire Display,Spire,serif;font-size:18px;font-weight:400}.map-preview>p{color:#c7b49c;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;line-height:1.4;overflow:hidden}.map-preview>small{color:#8d7b6b}.route-canvas{width:92%;min-width:500px;max-width:760px;margin:0 auto;position:relative}.route-lines{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.route-lines line{opacity:.32;stroke:#8f8171;stroke-dasharray:4 8;stroke-linecap:round;stroke-width:2px}.route-lines line.taken{opacity:1;stroke:#e3b85f;stroke-dasharray:none;stroke-width:3px}.route-lines line.boss-edge{stroke-dasharray:3 7}.map-node-wrap{z-index:3;position:absolute;transform:translate(-50%,-50%)}.route-node{cursor:default;filter:saturate(.35);opacity:.5;z-index:2;background:#161116;border:2px solid #5d5149;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;padding:4px;transition:border-color .12s,filter .12s,opacity .12s,transform .12s;display:flex;position:relative;box-shadow:0 4px 10px #000,inset 0 0 0 2px #0b080b}.route-node img{filter:drop-shadow(0 2px 2px #000);object-fit:contain;width:30px;height:30px}.map-node-wrap.taken .route-node{cursor:pointer;filter:none;opacity:1;border-color:#a28762;width:48px;height:48px}.map-node-wrap.taken .route-node img{width:36px;height:36px}.route-node:hover,.route-node:focus-visible{border-color:var(--gold);transform:scale(1.08)}.route-node.active{transform:scale(1.12);box-shadow:0 0 0 4px #7d2c1f,0 0 18px #f48931,inset 0 0 0 2px #0b080b;border-color:#ffcf5a!important}.route-node b{color:#e9d7ac;font-family:var(--font-geist-mono), monospace;background:#120e12;border:1px solid #81654d;border-radius:10px;min-width:19px;font-size:8px;line-height:15px;position:absolute;bottom:-8px}.fallback-node{margin:-26px 0 0 -26px;position:absolute}.map-boss{color:inherit;cursor:default;font:inherit;z-index:4;background:0 0;border:0;flex-direction:column;align-items:center;padding:0;display:flex;position:absolute;top:2px;left:50%;transform:translate(-50%)}.map-boss img{filter:grayscale(.8)drop-shadow(0 3px 4px #000);opacity:.48;object-fit:contain;width:70px;height:58px;transition:filter .12s,transform .12s}.map-boss.taken{cursor:pointer}.map-boss.taken img{filter:drop-shadow(0 3px 5px #000);opacity:1}.map-boss span{color:#d3b882;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;text-overflow:ellipsis;white-space:nowrap;background:#140f13;border:1px solid #59433a;max-width:150px;padding:4px 7px;font-size:9px;overflow:hidden}.map-boss.taken:hover img,.map-boss.taken:focus-visible img{filter:drop-shadow(0 0 8px #f48931);transform:scale(1.06)}.map-boss:focus-visible{outline:none}.map-boss.taken:focus-visible span,.map-boss.active span{color:#ffdc85;border-color:#ffcf5a;box-shadow:0 0 0 2px #7d2c1f,0 0 12px #f48931}.deck-view{grid-template-columns:228px minmax(0,1fr);display:grid;overflow:hidden}.deck-timeline{border-right:1px solid var(--line);background:#120f13;grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.deck-timeline-head{border-bottom:1px solid #433532;gap:4px;padding:16px;display:grid}.deck-timeline-head strong{color:#e7cc97;font-family:Spire Display,Spire,serif;font-size:18px;font-weight:400}.deck-timeline-list{scrollbar-color:#6e5141 #181317;scrollbar-width:thin;min-height:0;overflow-y:auto}.deck-timeline-list button{cursor:pointer;text-align:left;background:0 0;border:0;border-bottom:1px solid #3a302e;grid-template-columns:38px 1fr;gap:3px 10px;width:100%;min-height:61px;padding:10px 13px;display:grid}.deck-timeline-list button:hover,.deck-timeline-list button.active{background:#36241f}.deck-timeline-list button.active{box-shadow:inset 3px 0 var(--ember)}.deck-timeline-list button>span{color:var(--gold);font-family:var(--font-geist-mono), monospace;grid-row:1/3;padding-top:3px;font-size:11px}.deck-timeline-list button strong{color:#e5d3ad;font-size:14px}.deck-timeline-list button small{color:#8e7968;font-family:var(--font-geist-mono), monospace;font-size:9px}.deck-explorer{scrollbar-color:#76513e #140f13;scrollbar-width:thin;min-height:0;padding:20px;overflow-y:auto}.deck-explorer-head{border-bottom:1px solid #4d3d38;justify-content:space-between;align-items:center;gap:16px;padding-bottom:16px;display:flex}.deck-explorer-head h2{margin:4px 0 0;font-family:Spire Display,Spire,serif;font-size:30px;font-weight:400}.deck-capture-note,.inventory-provenance{color:#8f7d6d;font-family:var(--font-geist-mono), monospace;letter-spacing:.04em;margin:4px 0 0;font-size:9px}.deck-mode-switch{display:flex}.deck-head-controls{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.deck-mode-switch button{color:#9e8975;cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;background:#171217;border:1px solid #55433d;min-height:38px;padding:0 12px;font-size:9px}.deck-mode-switch button+button{border-left:0}.deck-mode-switch button.active{color:#ffdf94;background:#4a2d25}.deck-overview{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px;display:grid}.deck-overview>div{background:#171217;border:1px solid #4a3b37;gap:5px;min-height:68px;padding:12px;display:grid}.deck-overview strong{font-family:Spire Display,Spire,serif;font-size:23px;font-weight:400}.deck-change-summary{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px;display:grid}.deck-change-summary>div{background:#1b1418;border:1px solid #483936;padding:12px}.deck-change-summary p{color:#c6b39a;margin:7px 0 0;font-size:13px;line-height:1.45}.deck-list-view{background:#372c2a;border:1px solid #4a3b37;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1px;margin-top:20px;display:grid}.deck-list-head{color:#8f7c6b;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);letter-spacing:.1em;background:#100d11;border-bottom:1px solid #5a4740;grid-column:1/-1;justify-content:space-between;align-items:center;min-height:40px;padding:0 12px;display:flex}.deck-list-view>div:not(.deck-list-head){background:#191317;grid-template-columns:34px minmax(0,1fr) 38px;align-items:center;gap:10px;min-height:58px;padding:7px 11px;display:grid}.deck-list-view>div:not(.deck-list-head):hover{background:#261b1c}.deck-list-view strong{color:#dfccaa;font-size:var(--type-body);font-weight:500}.deck-list-view .upgraded strong{color:#ffe19a}.deck-list-view b{color:#9e8875;font-family:var(--font-geist-mono), monospace;font-size:var(--type-ui);font-weight:500}.deck-list-view b:last-child{color:var(--gold);text-align:right}.deck-list-info{gap:3px;min-width:0;display:grid}.deck-list-info>.game-reference{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deck-list-info small{color:#8f7c6b;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);letter-spacing:.03em;text-transform:uppercase}.deck-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:22px 16px;max-width:1080px;margin:20px auto 0;padding:8px 6px 24px;display:grid}.deck-card{--card-accent:#a64d37;--card-edge:#4e201b;--card-deep:#25100f;background:radial-gradient(circle at 50% 0, #fff3 0 7%, transparent 23%), linear-gradient(145deg, var(--card-accent), var(--card-deep) 58%, #080608);box-shadow:0 12px 18px #000a, 0 2px 0 #e4bb7555 inset, inset 0 0 0 3px var(--card-edge), inset 0 0 24px #000b;text-align:center;transform-origin:50% 80%;border:5px solid #140d0c;border-radius:21px 21px 28px 28px;grid-template-rows:44px minmax(126px,1fr) auto auto;min-height:286px;padding:10px 9px 9px;transition:transform .16s,filter .16s;display:grid;position:relative;overflow:hidden}.deck-card:hover{filter:brightness(1.08);z-index:2;transform:translateY(-5px)rotate(-.4deg)}.deck-card.character-silent{--card-accent:#3f7450;--card-edge:#21442e;--card-deep:#102319}.deck-card.character-defect{--card-accent:#3d718c;--card-edge:#1d4054;--card-deep:#10202a}.deck-card.character-watcher{--card-accent:#7c558e;--card-edge:#482958;--card-deep:#27152e}.deck-card.type-skill{--type-glow:#7eb9e3}.deck-card.type-power{--type-glow:#e6bc55}.deck-card.type-curse,.deck-card.type-status{--card-accent:#82658e;--card-edge:#4f315c;--card-deep:#2f2036;--type-glow:#c493d7}.deck-card.type-unknown{--card-accent:#7f7468;--card-edge:#4e443a;--card-deep:#2b2522}.deck-card.upgraded{box-shadow:0 12px 18px #000a,0 0 0 2px #e2b44d,0 0 22px #f3bd4059,inset 0 2px #fff2a477,inset 0 0 0 3px #b68732,inset 0 0 24px #000b}.deck-card:after{content:"";pointer-events:none;background:linear-gradient(115deg,#0000 20%,#fff2 48%,#0000 58%);transition:transform .32s;position:absolute;inset:0;transform:translate(-85%)}.deck-card:hover:after{transform:translate(85%)}.card-cost{color:#fff;text-shadow:0 2px 2px #000;z-index:4;background:radial-gradient(circle at 35% 30%,#9fe7ff,#24628a 58%,#102636);border:2px solid #d6eff5;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-family:Spire Display,Spire,serif;font-size:21px;line-height:1;display:flex;position:absolute;top:-2px;left:-2px;box-shadow:0 2px 5px #000b}.card-name{color:#f0dfba;text-shadow:0 2px 2px #000;z-index:3;background:linear-gradient(90deg,#0000,#110d0ddd 14% 86%,#0000);justify-content:center;align-items:center;min-height:40px;padding:0 14px 0 22px;font-family:Spire Display,Spire,serif;font-size:16px;font-weight:400;line-height:1.05;display:flex;position:relative}.deck-card.upgraded .card-name{color:#ffe59c}.card-art{box-shadow:0 0 0 2px var(--card-accent), inset 0 0 24px #000d, 0 4px 8px #000c;background:#09080a;border:4px solid #191113;border-radius:48% 48% 18% 18%/18% 18% 12% 12%;align-items:center}@supports (color:color-mix(in lab, red, red)){.card-art{box-shadow:0 0 0 2px color-mix(in srgb, var(--card-accent) 65%, #d8b878), inset 0 0 24px #000d, 0 4px 8px #000c}}.card-art{flex-direction:column;justify-content:center;min-height:126px;margin:0 1px 9px;display:flex;position:relative;overflow:hidden}.card-art img{object-fit:cover;width:100%;height:100%}.card-art i{color:#fff0c8;filter:drop-shadow(0 3px 4px #000);z-index:1;font-family:serif;font-size:42px;font-style:normal;line-height:1;position:relative}.card-text{color:#372b24;text-shadow:0 1px #fff7;background:linear-gradient(#dfd1b8,#bba88a);border:3px double #4f3d2d;justify-content:center;align-items:center;min-height:42px;margin:0;padding:6px;font-family:Georgia,serif;font-size:12px;line-height:1.25;display:flex;box-shadow:inset 0 0 10px #614a3555}.deck-card footer{justify-content:space-between;align-items:center;gap:6px;padding:8px 3px 0;display:flex}.deck-card footer small{color:#8f806e;font-family:var(--font-geist-mono), monospace;letter-spacing:.04em;text-align:left;font-size:7px}.deck-card footer b{background:var(--card-accent);color:#fff3d4;font-family:var(--font-geist-mono), monospace;border-radius:10px;padding:3px 6px;font-size:9px}.section-intro{justify-content:space-between;align-items:end;padding:20px 24px 0;display:flex}.section-intro h2{margin:4px 0 0;font-family:Spire Display,Spire,serif;font-size:27px;font-weight:400}.section-intro p{color:#9f8c79;text-align:right;max-width:360px;margin:0;font-size:13px}.vitals-view{grid-template-rows:auto minmax(0,1fr) 48px;padding:0 24px 20px 40px;display:grid}.vitals-chart{align-self:center;min-height:280px;position:relative}.vitals-chart svg{width:100%;height:100%;overflow:visible}.vitals-chart line{stroke:#4c403c;stroke-dasharray:5 8;stroke-width:1px}.vitals-chart polygon{fill:#8b302b44}.vitals-chart polyline{fill:none;stroke:#e48445;stroke-linejoin:round;stroke-width:5px}.vitals-chart circle{cursor:pointer;fill:#b54a33;stroke:#f1c87d;stroke-width:3px}.vitals-chart circle.active{fill:#ffb14c;filter:drop-shadow(0 0 8px #f05f28)}.chart-y-axis{color:#9a8673;font-family:var(--font-geist-mono), monospace;flex-direction:column;justify-content:space-between;font-size:10px;display:flex;position:absolute;top:0;bottom:0;left:-31px}.vitals-floor-axis{scrollbar-width:thin;gap:3px;padding:7px 0;display:flex;overflow-x:auto}.vitals-floor-axis button{color:#9c8975;cursor:pointer;font-family:var(--font-geist-mono), monospace;background:#171217;border:1px solid #453836;flex:0 0 34px;min-height:30px;font-size:9px}.vitals-floor-axis button.active{color:#fff0c8;background:#6b3326;border-color:#e49b4c}.logs-view{grid-template-rows:auto minmax(0,1fr) 48px;padding:18px;display:grid}.log-controls{align-items:center;gap:8px;margin-bottom:12px;display:flex}.log-controls input{color:var(--parchment);font-family:var(--font-geist-mono), monospace;background:#120f12;border:1px solid #66524b;min-width:260px;height:42px;padding:0 13px;font-size:11px}.log-controls input::placeholder{color:#7f6f63}.log-filters{display:flex}.log-filters button,.floor-lock{color:#8f7d6e;cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.06em;background:#171217;border:1px solid #4b3e39;height:42px;padding:0 10px;font-size:9px}.log-filters button+button{border-left:0}.log-filters button.active{color:#f2d497;background:#422a25}.floor-lock{color:#ffdaa0;background:#633326;border-color:#9c5e3f;margin-left:auto}.log-table{scrollbar-width:thin;border:1px solid #51403b;min-height:0;overflow-y:auto}.log-head,.log-table>button{grid-template-columns:42px 42px 64px minmax(0,1fr) 82px;gap:8px;display:grid}.log-head{color:#a68f7a;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;z-index:2;background:#2a2021;border-bottom:1px solid #5b4841;padding:10px;font-size:9px;position:sticky;top:0}.log-table>button{color:#aa9987;cursor:pointer;font-family:var(--font-geist-mono), monospace;text-align:left;background:0 0;border:0;border-bottom:1px solid #352c2b;align-items:center;width:100%;min-height:47px;padding:8px 10px;font-size:10px}.log-table>button:hover,.log-table>button.active{background:#342322}.log-table>button.active{box-shadow:inset 3px 0 var(--ember)}.log-table>button strong{color:#ddcab0;font-family:Spire,serif;font-size:13px;font-weight:400}.log-event-reference{grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.log-event-reference.with-art{grid-template-columns:28px minmax(0,1fr)}.log-event-reference .reward-item-art{width:28px;height:28px}.log-event-reference .reward-item-art.kind-relic img{width:24px;height:24px}.log-event-reference strong{-webkit-line-clamp:2;overflow-wrap:anywhere;white-space:normal;-webkit-box-orient:vertical;min-width:0;line-height:1.2;display:-webkit-box;overflow:hidden}.log-table>button time{text-align:right}.kind-decision{color:var(--ember)}.kind-room{color:var(--gold)}.kind-combat{color:#d88a71}.kind-voice{color:var(--purple)}.kind-result{color:var(--green)}.log-pagination{color:#8f7f70;font-family:var(--font-geist-mono), monospace;justify-content:space-between;align-items:center;padding:10px 2px 0;font-size:10px;display:flex}.log-pagination>div{align-items:center;gap:12px;display:flex}.log-pagination button{cursor:pointer;background:#21181b;border:1px solid #51413c;width:36px;height:31px}.log-pagination button:disabled{cursor:default;opacity:.35}.inspector{scrollbar-color:#76513e #140f13;scrollbar-width:thin;min-width:0;overflow-y:auto}.inspector-backdrop{cursor:zoom-out;z-index:60;background:#0503059e;border:0;position:fixed;inset:78px 0 0 310px}.library-collapsed .inspector-backdrop{left:148px}.game-shell.inspector-expanded .inspector{z-index:70;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;width:min(78vw,1120px);max-width:calc(100vw - 36px);display:grid;position:fixed;top:90px;bottom:12px;right:12px;overflow-y:auto}.game-shell.inspector-expanded .inspector>*{border-right:1px solid #4a3b38}.game-shell.inspector-expanded .inspector-head,.game-shell.inspector-expanded .hp-bar,.game-shell.inspector-expanded .inspector-foot{grid-column:1/-1}.inspector>*{border-bottom:1px solid #4a3b38}.inspector-head{background:linear-gradient(90deg,#140f13f2,#140f13ad),url(/game-assets/ironclad2.png) right 36%/250px;justify-content:space-between;align-items:center;min-height:84px;padding:16px;display:flex}.inspector-head-controls{place-items:flex-end end;gap:6px;display:grid}.inspector-head .inspector-focus{background:0 0;border-color:#67504a;min-height:25px}.inspector-head>div>span{color:#c38b61;font-family:var(--font-geist-mono), monospace;letter-spacing:.11em;font-size:10px}.inspector-head h2{margin:5px 0 0;font-family:Spire Display,Spire,serif;font-size:26px;font-weight:400}.inspector-head button{color:#e9c680;cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;background:#33211f;border:1px solid #8f5d42;min-height:36px;padding:0 9px;font-size:8px}.hp-bar{background:#0c0a0c;height:28px;position:relative;overflow:hidden}.hp-bar>span{background:linear-gradient(90deg,#792525,#c54a33);position:absolute;top:0;bottom:0;left:0}.hp-bar b{font-family:var(--font-geist-mono), monospace;letter-spacing:.06em;z-index:1;font-size:10px;position:absolute;top:7px;left:14px}.floor-stats,.loadout-meters{grid-template-columns:repeat(3,1fr);display:grid}.floor-stats>div,.loadout-meters>div{border-right:1px solid #473a37;gap:5px;min-height:68px;padding:13px;display:grid}.floor-stats>div:last-child,.loadout-meters>div:last-child{border:0}.floor-stats b,.loadout-meters b{font-family:Spire Display,Spire,serif;font-size:22px;font-weight:400}.floor-loadout{background:#171217}.inventory-head,.inventory-label{border-bottom:1px solid #473a37;justify-content:space-between;align-items:center;min-height:44px;padding:0 13px;display:flex}.inventory-head span,.inventory-head b,.inventory-label span,.inventory-label b{color:#a18d79;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;font-size:9px}.inventory-head b,.inventory-label b{color:var(--gold)}.deck-inventory-label{border-top:1px solid #473a37}.floor-deck-list{max-height:148px;padding:5px 13px 9px;display:grid;overflow-y:auto}.inventory-provenance{padding:0 13px 5px}.floor-deck-list>span{color:#cdb897;border-bottom:1px solid #3c302e;justify-content:space-between;align-items:center;min-height:30px;padding:4px 2px;font-size:10px;display:flex}.floor-deck-list b{color:var(--gold);font-weight:500}.inspector-actions{align-items:stretch;gap:7px;display:flex}.inspector-actions .play-floor{color:#ffe0a4;background:#7e2f25;border-color:#b76048}.loadout-meters{border-bottom:1px solid #473a37}.potion-line{padding:12px 13px;display:grid}.potion-chip{border-bottom:1px solid #3c302e;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:8px;min-height:56px;margin:0;padding:5px 2px;display:grid}.potion-reference,.relic-reference{grid-column:1/-1;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:8px;display:grid}.potion-chip figcaption{color:#d4b986;font-size:11px;line-height:1.15}.potion-sprite{flex:0 0 46px;width:46px;height:46px;display:inline-block;position:relative}.potion-sprite.compact{flex-basis:34px;width:34px;height:34px}.potion-sprite>*{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.potion-liquid,.potion-hybrid,.potion-spots{-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.potion-liquid{filter:drop-shadow(0 0 3px);opacity:.95}.potion-hybrid{mix-blend-mode:screen;opacity:.8}.potion-spots{mix-blend-mode:screen;opacity:.55}.potion-glass{mix-blend-mode:screen;opacity:.82}.potion-outline{filter:brightness(.55)sepia(.35);opacity:.9}.empty-note{color:#8e7c6d;margin:0;padding:12px 14px;font-size:12px}.floor-commentary>div{padding:15px 16px}.floor-commentary>div+div{border-top:1px solid #433532}.floor-commentary p,.selected-event p,.run-note p,.build-line p{color:#c7b49b;margin:8px 0 0;font-size:13px;line-height:1.48}.combat-brief{padding:0 14px 12px}.combat-brief-head,.section-label{justify-content:space-between;align-items:center;min-height:45px;display:flex}.combat-brief-head span,.combat-brief-head b{color:#a18d79;font-family:var(--font-geist-mono), monospace;letter-spacing:.1em;font-size:10px}.combat-brief>button{cursor:pointer;text-align:left;background:#171217;border:0;border-top:1px solid #3b302e;grid-template-columns:48px 1fr;gap:8px;width:100%;min-height:40px;padding:9px 5px;display:grid}.combat-brief>button:hover{background:#2a1d1e}.combat-brief>button span{color:#8d7464;font-family:var(--font-geist-mono), monospace;font-size:9px}.combat-brief>button strong{color:#d5c0a0;font-size:12px;font-weight:400}.open-combat-log{letter-spacing:.07em;color:var(--ember)!important;font-family:var(--font-geist-mono), monospace!important;font-size:9px!important;display:block!important}.room-replay,.combat-replay{padding:0 14px 13px}.room-replay>details,.combat-replay>details{background:#171217;border:1px solid #463735;margin-bottom:7px}.room-replay summary,.combat-replay summary{cursor:pointer;align-items:center;gap:8px;min-height:43px;padding:0 10px;list-style:none;display:grid}.room-replay summary{grid-template-columns:1fr auto}.combat-replay summary{grid-template-columns:68px minmax(0,1fr) auto auto}.room-replay summary::-webkit-details-marker{display:none}.combat-replay summary::-webkit-details-marker{display:none}.room-replay summary span,.room-replay summary b,.combat-replay summary span{color:#a18d79;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;font-size:9px}.room-replay summary b{color:var(--gold)}.combat-replay summary strong{color:#d7c19e;font-size:11px;font-weight:500}.combat-replay summary button{color:var(--ember);cursor:pointer;font-family:var(--font-geist-mono), monospace;background:#2b1b1b;border:1px solid #6d453b;min-height:29px;font-size:8px}.room-choice-list,.combat-turn-body{border-top:1px solid #463735}.room-choice-list>div{border-bottom:1px solid #342a29;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;padding:7px 10px;display:grid}.room-choice-list>div:last-child{border-bottom:0}.room-choice-list>div.selected{box-shadow:inset 3px 0 var(--ember);background:#342019}.room-choice-list>div.disabled{opacity:.45}.room-choice-list span,.room-choice-list b{color:#8d7767;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small)}.room-choice-list strong{color:#cbb698;font-size:var(--type-body);font-weight:400}.room-choice-list b{color:var(--gold)}.room-choice-content{grid-template-columns:38px minmax(0,1fr);align-items:center;gap:9px;min-width:0;display:grid}.room-choice-reference{cursor:help;grid-column:1/-1;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:9px;min-width:0;display:grid}.reward-item-art{background:#100d11;border:1px solid #59443d;justify-content:center;align-items:center;width:38px;height:38px;display:flex;overflow:hidden}.reward-item-art img{object-fit:cover;width:100%;height:100%}.reward-item-art.kind-relic img{object-fit:contain;width:32px;height:32px}.reward-item-art.kind-action img{object-fit:contain;width:30px;height:30px}.reward-item-art.empty{color:#806d5f;font-size:var(--type-ui)}.room-choice-copy{gap:3px;min-width:0;display:grid}.room-choice-copy small{color:#8d7767;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);letter-spacing:.04em;text-transform:uppercase}.room-choice-copy strong,.combat-step-reference strong,.enemy-target-reference strong{overflow-wrap:anywhere;min-width:0}.combat-turn-body{display:grid}.turn-hand,.enemy-intents,.turn-actions,.turn-resolution,.turn-rationale{border-bottom:1px solid #3c302e;margin:0;padding:11px}.turn-hand>span,.enemy-intents>span,.turn-resolution>span{color:#8d7767;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;margin-bottom:8px;font-size:8px;display:block}.turn-hand>div{flex-wrap:wrap;gap:5px;display:flex}.turn-card-reference{color:#cfb99a;font-size:var(--type-ui);background:#271a1c;border:1px solid #5a403a;align-items:center;gap:5px;min-height:30px;padding:4px 7px;display:inline-flex}.turn-card-reference.card-status,.combat-step-reference.card-status{background:#29292d;border-color:#73737c}.turn-card-reference.card-status b{background:#686872}.turn-card-reference.card-status strong{color:#dedee3}.turn-card-reference.card-curse,.combat-step-reference.card-curse{background:#241b2d;border-color:#76558b}.turn-card-reference.card-curse b{background:#65437a}.turn-card-reference.card-curse strong{color:#d9bee8}.turn-card-reference.card-power,.combat-step-reference.card-power{border-color:#9b8750}.turn-card-reference.card-attack,.combat-step-reference.card-attack{border-color:#8a4b43}.turn-card-reference:hover,.turn-card-reference:focus-visible{background:#3b2927;border-color:#9b6b50}.turn-card-reference b{color:#fff;background:#326b91;border-radius:50%;justify-content:center;align-items:center;width:17px;height:17px;font-size:8px;display:inline-flex}.turn-card-reference strong{color:#d8c3a4;font-size:var(--type-ui);font-weight:500}.enemy-reference{background:linear-gradient(90deg,#1b1518,#21181a);border:1px solid #443533;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:6px;min-height:48px;margin-top:6px;padding:3px 7px 3px 3px;text-decoration:none;display:grid}.enemy-reference:hover,.enemy-reference:focus-visible{background:#302024;border-color:#8a5a4c}.enemy-portrait{background:radial-gradient(circle,#3c2b2d,#151116 72%);justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden}.enemy-portrait img{object-fit:contain;width:38px;height:38px}.enemy-portrait.fallback{background:radial-gradient(circle at 52% 30%,#594248 0 14%,#0000 15%),radial-gradient(at 50% 82%,#3f3036 0 34%,#0000 35%),#151116;border:1px solid #4c393b}.enemy-portrait.fallback b{color:#bea68f;text-shadow:0 1px 2px #000;font-family:Spire Display,Spire,serif;font-size:18px;font-weight:400}.enemy-portrait.compact{flex:0 0 26px;width:26px;height:26px}.enemy-portrait.compact img{width:24px;height:24px}.enemy-portrait.compact.fallback b{font-size:12px}.enemy-reference strong,.enemy-reference b{color:#d5bfa0;font-size:var(--type-small);min-width:0;font-weight:500}.enemy-reference>span:not(.enemy-portrait){color:#e58d75;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);background:#382023;padding:4px 5px}.turn-token-breakdown{background:#171419;border-bottom:1px solid #3c302e;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 10px;padding:9px 11px;display:grid}.turn-token-breakdown>span{color:#9d896f;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);letter-spacing:.08em}.turn-token-breakdown strong{color:#e0c582;font-size:var(--type-body);justify-self:end}.turn-token-breakdown small{color:#93877d;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);overflow-wrap:anywhere;grid-column:1/-1}.turn-token-breakdown.unmeasured strong,.turn-token-badge.unmeasured{color:#8e8178}.turn-rationale{color:#bea98f;background:#20171a;font-size:11px;font-style:italic;line-height:1.45}.turn-actions{padding:8px 10px;list-style:none}.turn-actions li{color:#8e796c;background:#191519;border:1px solid #352b2d;gap:5px;margin-bottom:6px;padding:6px 7px;display:grid}.turn-actions li:last-child{margin-bottom:0}.turn-actions small{color:#867368;font-family:var(--font-geist-mono), monospace;text-transform:uppercase;font-size:8px}.turn-actions strong{color:#d6bea0;font-size:11px;font-weight:500}.combat-action-steps{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.combat-step{flex-wrap:wrap;align-items:center;gap:6px;min-height:22px;display:flex}.combat-step>i{color:#806f62;font-style:normal}.combat-step-reference{border:1px solid #0000;grid-template-columns:minmax(0,1fr);align-items:center;gap:7px;min-height:28px;padding:4px 7px;text-decoration:none;display:inline-grid}.combat-step-reference.with-art{grid-template-columns:28px minmax(0,1fr);min-height:32px;padding:2px 7px 2px 2px}.combat-step-reference strong{white-space:nowrap;line-height:1.15}.combat-action-glyph{color:#d9c3a0;font-family:var(--font-geist-mono), monospace;background:#342b2c;border:1px solid #66504b;justify-content:center;align-items:center;width:28px;height:28px;font-size:15px;display:flex}.combat-step-reference:hover,.combat-step-reference:focus-visible{background:#332226;border-color:#795044}.combat-step-reference .reward-item-art{width:28px;height:28px}.combat-step-reference .reward-item-art.kind-relic img{width:24px;height:24px}.enemy-target-reference,.enemy-resolution-reference{background:#21191b;border:1px solid #4f3a36;align-items:center;gap:5px;min-height:28px;padding:3px 6px 3px 3px;text-decoration:none;display:inline-flex}.enemy-target-reference>img,.enemy-resolution-reference>img{display:none}.enemy-target-reference:hover,.enemy-target-reference:focus-visible,.enemy-resolution-reference:hover,.enemy-resolution-reference:focus-visible{background:#342226;border-color:#845448}.enemy-target-reference img,.enemy-resolution-reference img{object-fit:contain;width:22px;height:22px}.enemy-target-reference strong{font-size:var(--type-ui)}.turn-resolution{border-bottom:0}.turn-resolution>strong{color:#dfc38e;font-size:11px}.turn-resolution>div{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.turn-resolution>div>span{color:#bda68b;background:#22191b;border:1px solid #4f3a36;padding:4px 5px;font-size:9px}.turn-resolution>div>.enemy-resolution-reference{padding:3px 6px 3px 3px}.selected-event{background:#21171b;gap:6px;padding:15px 16px;display:grid;box-shadow:inset 3px 0 #b24d31}.selected-event strong{color:#ead4aa;font-size:17px}.relic-rack{padding:0 14px 14px}.section-label b{color:var(--gold);font-family:var(--font-geist-mono), monospace;font-size:11px}.relic-rack>div:last-child{grid-template-columns:minmax(0,1fr);padding-top:8px;display:grid}.relic-rack figure{border-bottom:1px solid #3c302e;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:8px;min-height:56px;margin:0;padding:5px 2px;display:grid;overflow:hidden}.relic-rack img,.relic-rack i{object-fit:contain;width:46px;height:46px}.relic-rack i{font-family:var(--font-geist-mono), monospace;background:#241a1e;justify-content:center;align-items:center;font-size:10px;display:flex}.relic-rack figcaption{color:#d4b986;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;line-height:1.15;overflow:hidden}.run-media{background:#130f13}.run-media summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:48px;padding:0 15px;list-style:none;display:flex}.run-media summary::-webkit-details-marker{display:none}.run-media summary span,.run-media summary b,.run-media-body>a{color:#b9a58b;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;font-size:9px}.run-media summary span{align-items:center;gap:7px;display:flex}.run-media summary span i{background:#f15244;border-radius:50%;width:7px;height:7px;box-shadow:0 0 6px #f15244}.run-media summary b{color:var(--gold)}.run-media-body{border-top:1px solid #463633;padding:12px}.theater-launch{cursor:pointer;background:radial-gradient(circle at 16%,#ba4b36 0 2px,#0000 3px),linear-gradient(90deg,#291719,#171116);border:1px solid #754638;justify-content:space-between;align-items:center;width:100%;min-height:44px;margin:0 0 10px;padding:0 11px;display:flex}.theater-launch span,.theater-launch b{color:#d9b881;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;font-size:9px}.theater-launch b{color:var(--ember)}.run-media-body>a{margin:0 0 9px;text-decoration:none;display:block}.run-media iframe,.vod-link{aspect-ratio:16/9;border:1px solid #645047;width:100%;display:block}.vod-link{margin:0;position:relative;overflow:hidden}.vod-link img{object-fit:cover;opacity:.66;width:100%;height:100%}.vod-link>b{color:#fff;text-shadow:0 2px 6px #000;font-size:31px;position:absolute;top:50%;left:50%;transform:translate(-50%,-58%)}.vod-link>span{color:#f0d5a1;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;text-align:center;background:#1b1115dc;padding:8px;font-size:9px;position:absolute;bottom:0;left:0;right:0}.run-note,.build-line{padding:15px 16px}.run-note strong{color:#dfc28e;margin-top:7px;font-size:15px;display:block}.inspector-foot{color:#806f62;font-family:var(--font-geist-mono), monospace;letter-spacing:.06em;justify-content:space-between;align-items:center;padding:15px 16px 18px;font-size:9px;display:flex;border-bottom:0!important}.inspector-foot a{color:var(--gold);text-decoration:none}.theater-overlay{color:#ead8b5;z-index:100;background:radial-gradient(circle at 22% 18%,#612c2638,#0000 30%),linear-gradient(145deg,#120d10,#070607 70%);grid-template-rows:72px minmax(0,1fr);width:100vw;height:100dvh;display:grid;position:fixed;inset:0}.theater-header{border-bottom:1px solid #61443c;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 22px;display:grid;box-shadow:0 8px 28px #0009}.theater-header>div:first-child,.theater-clock{gap:5px;display:grid}.theater-header span,.theater-header button,.theater-controls span,.theater-metrics span,.theater-live-panel section>span,.theater-thoughts span,.theater-loadout>div>span{color:#9d8877;font-family:var(--font-geist-mono), monospace;letter-spacing:.1em;font-size:9px}.theater-header strong{font-family:Spire Display,Spire,serif;font-size:18px;font-weight:400}.theater-clock{justify-items:center}.theater-clock b{color:var(--gold);font-family:Spire Display,Spire,serif;font-size:28px;font-weight:400;line-height:1}.theater-header>button{color:#d8b88b;cursor:pointer;background:0 0;border:1px solid #6c4a40;justify-self:end;min-height:36px;padding:0 13px}.theater-stage{grid-template-columns:minmax(0,1.65fr) minmax(330px,.72fr);gap:14px;min-height:0;padding:14px;display:grid}.theater-screen{grid-template-rows:minmax(300px,1fr) 56px 112px;gap:10px;min-height:0;display:grid}.synced-youtube-player{background:#000;border:1px solid #5f433b;min-height:0;overflow:hidden;box-shadow:0 20px 42px #000b}.synced-youtube-player iframe{border:0;width:100%;height:100%}.theater-vod-fallback{color:inherit;background:#050505;border:1px solid #5f433b;min-height:0;text-decoration:none;display:block;position:relative;overflow:hidden}.theater-vod-fallback>img{object-fit:cover;opacity:.48;width:100%;height:100%}.theater-vod-fallback>span{color:#fff;text-shadow:0 5px 18px #000;font-size:clamp(42px,6vw,82px);position:absolute;top:44%;left:50%;transform:translate(-50%,-50%)}.theater-vod-fallback>div{background:linear-gradient(#0000,#090709ee 34%);padding:54px 25px 24px;position:absolute;bottom:0;left:0;right:0}.theater-vod-fallback strong{color:#f3cf8a;font-family:Spire Display,Spire,serif;font-size:24px;font-weight:400}.theater-vod-fallback p{color:#bca994;max-width:560px;margin:8px 0 0;font-size:12px;line-height:1.45}.theater-controls{background:#171116;border:1px solid #4f3a35;grid-template-columns:1fr auto 1fr;display:grid}.theater-controls button{color:#c9ae85;cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.07em;text-align:left;background:0 0;border:0;padding:0 15px;font-size:9px}.theater-controls button:last-child{text-align:right}.theater-controls button:disabled{color:#5f534b}.theater-controls>div{border-left:1px solid #4f3a35;border-right:1px solid #4f3a35;align-content:center;justify-items:center;min-width:90px;display:grid}.theater-controls b{color:var(--gold);font-family:Spire Display,Spire,serif;font-size:22px;font-weight:400}.theater-moment-strip{gap:7px;min-width:0;padding:1px 0 7px;display:flex;overflow-x:auto}.theater-moment-strip button{cursor:pointer;text-align:left;background:#151014;border:1px solid #473633;flex:0 0 190px;gap:5px;padding:11px;display:grid}.theater-moment-strip button.active{border-color:var(--ember);box-shadow:inset 3px 0 var(--ember);background:#2d1a1a}.theater-moment-strip time,.theater-moment-strip span{color:#907c6e;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;font-size:8px}.theater-moment-strip strong{color:#d6c09f;font-size:12px;line-height:1.25}.theater-live-panel{background:#110d11;border:1px solid #4d3935;min-height:0;overflow-y:auto}.theater-floor-title{background:linear-gradient(90deg,#371c1cdd,#0000),url(/game-assets/floor.png) 50%/cover;border-bottom:1px solid #5d4038;min-height:110px;padding:22px 20px}.theater-floor-title span{color:#cf875c;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;font-size:9px}.theater-floor-title h2{margin:8px 0 0;font-family:Spire Display,Spire,serif;font-size:31px;font-weight:400}.theater-metrics{border-bottom:1px solid #4a3733;grid-template-columns:repeat(3,1fr);display:grid}.theater-metrics>div{gap:5px;padding:14px;display:grid}.theater-metrics>div+div{border-left:1px solid #4a3733}.theater-metrics b{font-family:Spire Display,Spire,serif;font-size:22px;font-weight:400}.theater-current{border-bottom:1px solid #493532;gap:7px;padding:16px 18px;display:grid;box-shadow:inset 4px 0 #a94c38}.theater-current strong{color:#efd8ad;font-size:17px}.theater-current p,.theater-thoughts p{color:#baa68e;margin:0;font-size:12px;line-height:1.5}.theater-thoughts>div{border-bottom:1px solid #493532;gap:8px;padding:16px 18px;display:grid}.theater-thoughts>div:first-child{background:linear-gradient(100deg,#24191a,#0000)}.theater-loadout{border-bottom:1px solid #493532;gap:16px;padding:16px 18px;display:grid}.theater-relics>div,.theater-potions>div{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.theater-relics img{object-fit:contain;background:#191319;border:1px solid #4f3d38;width:40px;height:40px;padding:2px}.theater-potions>div>span{background:#191319;border:1px solid #4f3d38;width:40px;height:40px;display:inline-block}.theater-youtube-link{color:var(--gold);font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;padding:18px;font-size:9px;text-decoration:none;display:block}.brand strong,.brand span,.site-nav button,.topbar-mode span,.topbar-stats span,.download-menu summary,.download-menu a,.sort-control button,.run-order,.run-list-main small,.run-list-meta,.run-state,.run-title>span,.run-title h1 b,.run-meters span,.view-tabs button,.map-toolbar button,.map-preview>span,.map-boss span,.deck-timeline-head span,.deck-timeline-list button small,.deck-explorer-head span,.deck-overview span,.deck-change-summary span,.deck-list-head,.deck-list-info small,.deck-mode-switch button,.section-intro span,.log-head,.inventory-head span,.inventory-head b,.inventory-label span,.inventory-label b,.floor-commentary span,.combat-brief-head span,.combat-brief-head b,.room-replay summary span,.room-replay summary b,.combat-replay summary span,.turn-hand>span,.enemy-intents>span,.turn-resolution>span,.turn-actions li>span,.turn-actions small,.section-label span,.run-media summary span,.run-media summary b,.run-media-body>a,.theater-launch span,.theater-launch b,.inspector-foot,.theater-header span,.theater-header button,.theater-controls span,.theater-metrics span,.theater-live-panel section>span,.theater-thoughts span,.theater-loadout>div>span{font-size:var(--type-small)}.glossary-copy p,.map-preview>p,.deck-change-summary p,.section-intro p,.log-table>button strong,.empty-note,.floor-commentary p,.selected-event p,.run-note p,.build-line p,.room-choice-list strong,.combat-replay summary strong,.turn-rationale,.turn-actions strong,.turn-resolution>strong,.potion-chip figcaption,.relic-rack figcaption,.theater-moment-strip strong,.theater-vod-fallback p{font-size:var(--type-body)}.glossary-copy>strong,.deck-timeline-head strong,.deck-overview strong,.floor-stats b,.loadout-meters b,.selected-event strong,.run-note strong,.theater-header strong,.theater-controls b{font-size:var(--type-h3)}.topbar-mode strong,.topbar-stats strong,.deck-explorer-head h2,.section-intro h2,.inspector-head h2,.theater-vod-fallback strong{font-size:var(--type-h2)}.run-title h1{font-size:var(--type-h1)}@media (width<=1480px){.game-shell{grid-template-columns:250px minmax(480px,1fr) 390px}.game-shell.library-collapsed{grid-template-columns:120px minmax(480px,1fr) 390px}.run-workspace{grid-template-rows:auto 50px minmax(0,1fr)}.run-toolbar{flex-direction:column;justify-content:center;align-items:stretch;gap:9px;min-height:166px}.run-meters{width:100%;max-width:none}.run-meters strong{font-size:19px}.map-preview{grid-template-columns:auto auto minmax(120px,1fr)}.map-preview>small{display:none}.log-controls{flex-wrap:wrap;align-items:stretch}.log-controls input{flex:240px}}@media (width<=1180px){.spire-app{height:auto;min-height:100dvh;overflow:visible}.topbar{position:sticky;top:0}.experiment-usage-shell{height:auto;min-height:calc(100dvh - 78px)}.benchmark-comparison-grid{grid-template-columns:minmax(0,1fr)}.game-shell{grid-template-columns:258px minmax(0,1fr);grid-template-areas:"library stage""details details";height:auto;min-height:0}.game-shell.library-collapsed{grid-template-columns:120px minmax(0,1fr)}.run-library{grid-area:library;height:760px}.run-workspace{grid-area:stage;height:760px}.inspector{grid-area:details;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;display:grid;overflow:visible}.game-shell.inspector-expanded .inspector{grid-template-columns:repeat(2,minmax(0,1fr));width:min(82vw,960px);max-width:calc(100vw - 36px);display:grid;top:90px;bottom:12px;right:12px}.inspector>*{border-right:1px solid #4a3b38}.inspector-head,.hp-bar,.floor-stats,.inspector-foot{grid-column:1/-1}.relic-rack>div:last-child{grid-template-columns:minmax(0,1fr)}.theater-stage{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)}}@media (width<=820px){.topbar{grid-template-columns:1fr auto auto;height:70px;padding:0 10px}.brand>img{width:78px;height:56px}.brand>div{padding-left:9px}.brand strong{font-size:9px}.brand span{display:none}.site-nav button{min-width:0;padding:0 11px}.topbar-stats{gap:10px}.topbar-stats>div:first-child,.topbar-stats>div:nth-child(3){display:none}.download-menu summary{padding:10px}.experiment-usage-shell{min-height:calc(100dvh - 70px);padding:8px}.benchmark-summary,.model-scorecard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.reasoning-breakdown{grid-template-columns:minmax(0,1fr)}.reasoning-breakdown p{text-align:left;max-width:none}.benchmark-method{grid-template-columns:minmax(0,1fr)}.game-shell{padding:8px;display:block}.run-library,.run-workspace,.inspector{height:auto;margin-bottom:8px}.run-library{max-height:420px}.run-library.collapsed{max-height:220px}.run-library.collapsed .run-list{grid-auto-columns:112px;grid-auto-flow:column;max-height:104px;display:grid;overflow:auto hidden}.run-list{max-height:286px}.run-workspace{grid-template-rows:auto 48px 720px}.run-toolbar{flex-direction:column;align-items:flex-start;gap:12px;padding:14px}.run-title{width:100%}.run-title h1{text-overflow:clip;white-space:normal;max-width:100%;font-size:27px;line-height:1;overflow:visible}.run-meters{grid-template-columns:repeat(5,minmax(0,1fr));width:100%}.run-meters strong{text-overflow:clip;font-size:16px;overflow:visible}.run-meters span{font-size:9px}.view-tabs button{flex:1 1 0;min-width:0;padding:0 7px}.usage-view{padding:16px}.usage-hero{flex-direction:column;align-items:start}.usage-primary-metrics{grid-template-columns:1fr}.usage-detail-grid,.usage-token-split,.usage-attempt-split{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-attempt-detail{overflow-x:auto}.usage-attempt-detail>header{flex-direction:column;align-items:stretch}.usage-attempt-detail label{justify-content:space-between}.usage-attempt-detail select{width:min(100%,260px);min-width:0}.usage-distribution>header{flex-direction:column;align-items:start;gap:10px}.usage-bars{gap:2px}.map-preview{grid-template-columns:auto 1fr;align-items:start}.map-preview>p{white-space:normal;grid-column:1/-1}.map-legend{display:none}.route-canvas{width:100%;min-width:480px}.deck-view{display:block;overflow-y:auto}.deck-timeline{border-bottom:1px solid var(--line);border-right:0;display:block}.deck-timeline-list{display:flex;overflow-x:auto}.deck-timeline-list button{flex:0 0 150px}.deck-explorer-head{flex-direction:column;align-items:flex-start}.deck-head-controls{justify-content:flex-start}.deck-list-view{grid-template-columns:minmax(0,1fr)}.deck-overview{grid-template-columns:repeat(2,1fr)}.deck-change-summary{grid-template-columns:1fr}.section-intro{flex-direction:column;align-items:flex-start;gap:8px}.section-intro p{text-align:left}.vitals-view{padding-left:38px}.logs-view{padding:12px}.log-filters{width:100%;overflow-x:auto}.floor-lock{margin-left:0}.log-head,.log-table>button{grid-template-columns:42px 42px 64px minmax(0,1fr);min-width:0}.log-head span:last-child,.log-table>button time{display:none}.inspector{display:block}.inspector-backdrop,.library-collapsed .inspector-backdrop{top:70px;left:0}.game-shell.inspector-expanded .inspector{width:auto;display:block;inset:78px 8px 8px}.relic-rack>div:last-child{grid-template-columns:minmax(0,1fr)}.inspector-actions{flex-direction:column;align-items:stretch}.theater-overlay{display:block;overflow-y:auto}.theater-header{z-index:4;grid-template-columns:1fr auto;height:64px;padding:0 12px;position:sticky;top:0}.theater-header>div:first-child{display:none}.theater-clock{justify-items:start}.theater-clock b{font-size:22px}.theater-stage{padding:8px;display:block}.theater-screen{grid-template-rows:auto 52px 106px;display:grid}.synced-youtube-player,.theater-vod-fallback{aspect-ratio:16/9;min-height:0}.theater-vod-fallback strong{font-size:17px}.theater-vod-fallback p{display:none}.theater-controls button{padding:0 8px;font-size:7px}.theater-live-panel{margin-top:8px;overflow:visible}}@media (width<=560px){.brand>div{display:none}.site-nav button{padding:0 8px;font-size:9px}.site-nav .nav-long{display:none}.site-nav .nav-short{display:inline}.benchmark-hero{flex-direction:column;align-items:start;gap:10px}.benchmark-controls{flex-direction:column;align-items:stretch}.benchmark-mode-toggle{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.benchmark-panel,.model-scorecard{padding:13px}.benchmark-panel>header,.benchmark-scorecards>header,.model-scorecard>header{flex-direction:column;align-items:start;gap:6px}.benchmark-panel header span,.benchmark-scorecards>header span{text-align:left}.benchmark-chart-row{grid-template-columns:minmax(0,1fr)}.benchmark-bar-pair>div{grid-template-columns:58px minmax(70px,1fr) 43px}.model-scorecard-metrics{grid-template-columns:minmax(0,1fr)}.model-outcomes{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.run-meters{grid-template-columns:repeat(6,minmax(0,1fr))}.run-meters>div{grid-column:span 2}.run-meters>div:nth-child(n+4){grid-column:span 3}}.run-loading{color:#f1d7a0;letter-spacing:.12em;place-content:center;justify-items:center;gap:14px;min-height:calc(100vh - 78px);display:grid}.run-loading img{object-fit:contain;width:58px;height:58px}.run-loading button,.context-open{color:#f5d89e;font:inherit;letter-spacing:.1em;cursor:pointer;background:#271919e6;border:1px solid #dcae6285;padding:8px 11px;font-size:11px;font-weight:800}.run-context-row{flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;display:flex}.key-progress{color:#f0d7a9;background:#0e0e13b8;border:1px solid #af997b3d;align-items:center;gap:7px;min-height:36px;padding:3px 9px 3px 3px;display:inline-flex}.key-assembly{flex:0 0 30px;width:30px;height:30px;display:inline-block;position:relative}.key-assembly img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.key-progress>b{letter-spacing:.06em;text-transform:uppercase;font-size:10px;line-height:1}.key-progress.compact{min-height:38px;padding:2px}.key-progress.compact .key-assembly{flex-basis:30px;width:30px;height:30px}.floor-facts{flex-wrap:wrap;align-items:stretch;gap:8px;margin:0 0 12px;display:flex}.floor-facts>div,.floor-facts>strong{background:#111014b3;border:1px solid #b4966738;min-height:50px;padding:7px 9px}.floor-facts>div>span,.floor-facts>strong{letter-spacing:.1em;font-size:10px}.floor-facts>div>span{color:#938b7e;margin-bottom:4px;display:block}.floor-facts .key-acquired{color:#f1d18e;align-items:center;gap:7px;display:flex}.key-acquired img{object-fit:contain;width:31px;height:31px}.room-token-usage{flex:260px;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;display:grid}.room-token-usage>span{grid-column:1/-1}.room-token-usage strong{color:#d9c29b;font-size:16px}.room-token-usage small{color:#99928a;font-size:10px;line-height:1.35}.route-node .map-key{z-index:4;object-fit:contain;filter:drop-shadow(0 2px 2px #050506);width:25px;height:25px;position:absolute;bottom:-10px;right:-13px}.turn-token-badge{color:#d5b875;letter-spacing:.08em;white-space:nowrap;border:1px solid #cfab6059;padding:3px 6px;font-size:10px}.run-loading-overlay{-webkit-backdrop-filter:blur();backdrop-filter:blur();opacity:0;pointer-events:none;visibility:hidden;z-index:110;background:#08060900;justify-content:center;align-items:center;transition:opacity .28s,-webkit-backdrop-filter .32s,backdrop-filter .32s,background-color .32s,visibility .32s;display:flex;position:fixed;inset:78px 0 0}.run-loading-overlay.visible{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);opacity:1;pointer-events:auto;visibility:visible;background:#08060952;transition-delay:0s}.run-loading-overlay>div{opacity:0;background:linear-gradient(145deg,#502d2361,#0000 55%),#120e12f5;border:1px solid #d3a9637a;place-items:center;gap:10px;min-width:220px;padding:18px 24px;transition:opacity .24s 50ms,transform .32s cubic-bezier(.2,.75,.2,1) 50ms;display:grid;transform:translateY(10px)scale(.985);box-shadow:0 18px 50px #000c}.run-loading-overlay.visible>div{opacity:1;transform:translateY(0)scale(1)}.run-loading-overlay img{object-fit:contain;width:46px;height:46px;animation:1.8s ease-in-out infinite alternate run-loading-breathe}.run-loading-overlay span{color:#f1d7a0;font-family:var(--font-geist-mono), monospace;font-size:var(--type-ui);letter-spacing:.1em}.run-loading-overlay button{color:#edc982;cursor:pointer;font-family:var(--font-geist-mono), monospace;font-size:var(--type-small);background:#2b1c1d;border:1px solid #875848;padding:7px 10px}@keyframes run-loading-breathe{0%{filter:drop-shadow(0 0 #0000);opacity:.78;transform:translateY(1px)scale(.98)}to{filter:drop-shadow(0 0 8px #e3a14a66);opacity:1;transform:translateY(-1px)scale(1)}}@media (prefers-reduced-motion:reduce){.run-loading-overlay,.run-loading-overlay>div{transition-duration:1ms}.run-loading-overlay img{animation:none}}.context-modal{z-index:120;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.context-backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#040407d4;border:0;position:absolute;inset:0}.context-modal>article{background:linear-gradient(145deg,#361f1c59,#0000 35%),#111116;border:1px solid #dcb5687a;width:min(1080px,94vw);max-height:90vh;position:relative;overflow:auto;box-shadow:0 26px 90px #000000b8}.context-modal>article>header{z-index:2;background:#111116f5;border-bottom:1px solid #caaa6f40;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;display:flex;position:sticky;top:0}.context-modal header span,.context-grid>section>span{color:#bd9d68;letter-spacing:.13em;font-size:11px;font-weight:800}.context-modal h2{color:#f2ddba;margin:4px 0 0;font-size:22px}.context-modal header button{color:#d7c5a7;font:inherit;letter-spacing:.1em;cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:800}.context-grid{background:#c9ab7424;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid}.context-grid>section{background:#121217;min-width:0;padding:20px}.context-grid p,.context-grid li,.context-grid pre{color:#d4cec4;font-size:14px;line-height:1.65}.context-grid pre{white-space:pre-wrap;margin:10px 0 0;font-family:inherit}.context-grid ol{margin:11px 0 0;padding-left:20px}.context-grid li+li{margin-top:8px}.context-grid .reflection-panel{grid-column:1/-1}.reflection-panel h3{color:#f0d7aa;margin:10px 0 15px;font-size:17px;line-height:1.45}.memory-operations{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.memory-operations article{background:#1a181cbf;border:1px solid #be9c5d38;padding:13px}.memory-operations b{color:#b38e54;letter-spacing:.1em;margin-bottom:7px;font-size:10px;display:block}.memory-operations strong{color:#e2d8c8;font-size:14px;line-height:1.45;display:block}.memory-operations p{color:#9f9990;margin:7px 0 0;font-size:12px}@media (width<=760px){.context-modal{padding:8px}.context-modal>article{width:100%;max-height:96vh}.context-grid,.memory-operations{grid-template-columns:1fr}.context-grid .reflection-panel{grid-column:auto}.combat-replay summary{grid-template-columns:58px minmax(0,1fr) auto;align-items:center;padding:7px 8px}.combat-replay summary button{grid-column:2/-1;justify-self:end}.enemy-reference{grid-template-columns:38px minmax(0,1fr) auto}.enemy-reference>span:not(.enemy-portrait){grid-column:2/-1;justify-self:start}.enemy-portrait{width:36px;height:36px}.enemy-portrait img{width:34px;height:34px}.run-loading-overlay{inset:70px 0 0}}:where(button,a,summary,select,input,[tabindex]):focus-visible{outline:2px solid var(--gold,#e3b979);outline-offset:3px}.run-workspace{scroll-margin-top:86px}.run-list,.deck-timeline-list,.inspector,.context-modal>article,.theater-live-panel{overscroll-behavior:contain}.game-glossary{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}.run-loading-overlay,.run-loading-overlay.visible{-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;background:0 0;inset:auto 16px 16px auto}.run-loading-overlay>div{pointer-events:auto}@media (width<=820px){.run-workspace{grid-template-rows:auto minmax(48px,auto) minmax(440px,72dvh);scroll-margin-top:78px}.run-library{max-height:min(340px,42dvh)}.run-list{max-height:min(230px,28dvh);scroll-padding-block:8px}.site-nav button,.sort-control button,.view-tabs button,.deck-mode-toggle button,.log-pagination button,.inspector-actions button,.inspector-focus,.context-open,.context-modal header button,.theater-header button,.download-menu summary{min-height:44px}.log-pagination button{min-width:44px}.model-filter-control select,.usage-attempt-detail select,.log-controls input{min-height:44px;font-size:16px}.model-filter-control,.run-toolbar,.run-title,.usage-view,.benchmark-view{min-width:0}.log-filters{flex-wrap:wrap;gap:6px;overflow:visible}.log-controls{flex-direction:column;align-items:stretch}.log-controls input{width:100%;min-width:0}.log-filters button{min-height:36px}.logs-view{grid-template-rows:auto minmax(0,1fr) auto}.inspector-head-controls,.deck-head-controls{flex-wrap:wrap}.run-loading-overlay,.run-loading-overlay.visible{bottom:max(8px, env(safe-area-inset-bottom));max-width:calc(100vw - 16px);right:8px}}@media (width<=560px){.topbar{grid-template-columns:minmax(0,1fr) auto;gap:0 8px;height:auto;min-height:106px;padding-inline:8px}.brand>img{object-fit:contain;width:72px}.site-nav{grid-area:2/1/auto/-1;min-width:0;min-height:44px}.site-nav button{flex:1;min-width:44px;padding-inline:7px}.topbar-stats{grid-area:1/2;gap:10px}.run-workspace{scroll-margin-top:114px}.game-shell.inspector-expanded .inspector{top:114px}.inspector-backdrop,.library-collapsed .inspector-backdrop{top:106px}.run-title h1{font-size:clamp(22px,6.4vw,27px)}.run-meters>div{min-width:0}.log-head,.log-table>button{grid-template-columns:30px 38px 54px minmax(0,1fr);gap:6px}.log-table>button{padding-block:10px}}@media (height<=760px) and (width>=1181px){.spire-app,.game-shell{min-height:0}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}.ux-prototype .experiment-usage-shell{width:100%;max-width:1600px;height:auto;margin:auto;padding:20px;overflow:visible}.ux-prototype .experiment-usage-shell .usage-view{width:100%;max-width:none;min-height:0;overflow:visible}.ux-prototype{--type-small:12px;--type-ui:14px;--type-body:16px;--dim:#c0ae96;--muted:#ad9b88;--font-geist-mono:"Spire";--font-geist-sans:"Spire";height:auto;min-height:100dvh;overflow:visible}.ux-prototype button,.ux-prototype select,.ux-prototype input,.ux-prototype summary{font-family:Spire,serif}.ux-prototype button,.ux-prototype summary,.ux-prototype select{cursor:pointer}.ux-prototype button:disabled{cursor:default;opacity:.45}.ux-prototype .topbar{height:auto;min-height:78px;position:relative}.ux-prototype .site-nav button{letter-spacing:.04em;min-height:48px;font-size:14px}.ux-prototype .number-format-toggle{letter-spacing:0;min-height:44px;font-size:14px}.ux-prototype .game-shell{grid-template-columns:270px minmax(0,1fr);grid-template-areas:none;align-items:start;gap:16px;max-width:1600px;height:auto;min-height:0;margin:auto;padding:20px}.ux-prototype .game-shell.library-collapsed{grid-template-columns:minmax(0,1fr)}.run-browser-bar{color:var(--dim);grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;font-size:14px;display:flex}.run-browser-bar button,.recap-actions button,.overview-columns header button,.floor-navigation button,.empty-note button{border:1px solid var(--line-bright);background:#241b1d;min-height:44px;padding:10px 16px}.run-browser-bar button span{color:var(--gold);margin-left:12px}.ux-prototype .run-library{text-align:left;grid-area:auto;grid-template-rows:auto auto auto minmax(0,1fr);width:100%;max-width:none;height:auto;max-height:calc(100dvh - 32px);position:sticky;top:16px}.ux-prototype .run-library.collapsed,.ux-prototype .run-library .library-collapse{display:none}.ux-prototype .sort-control{display:flex}.ux-prototype .sort-control button{flex:1;min-height:44px;font-size:13px}.ux-prototype .model-filter-control{padding:12px;display:block}.ux-prototype .model-filter-control label{width:100%}.ux-prototype .model-filter-control strong{margin-top:8px;font-size:13px;display:block}.run-search-controls,.deck-filter-controls{gap:12px;padding:12px;display:grid}.run-search-controls label,.deck-filter-controls label,.floor-select{color:var(--dim);gap:6px;min-width:0;font-size:14px;display:grid}.ux-prototype input,.ux-prototype select{color:var(--parchment);border:1px solid var(--line);background:#141114;width:100%;min-width:0;min-height:44px;padding:8px;font-size:16px}.ux-prototype .run-list{max-height:none;overflow-y:auto}.ux-prototype .run-list>button{grid-template-columns:40px minmax(0,1fr) auto;gap:8px;min-height:120px;padding:12px}.ux-prototype .run-list-main strong{font-size:23px}.ux-prototype .run-list-main small,.ux-prototype .run-list-meta{color:var(--dim);letter-spacing:0;font-size:13px}.ux-prototype .run-list-meta{flex-wrap:wrap;grid-column:1/-1;gap:6px;display:flex}.ux-prototype .run-list-meta .run-token,.ux-prototype .run-list-meta .run-character,.ux-prototype .run-list-meta .run-ascension,.ux-prototype .spire-prefix{display:none}.ux-prototype .run-list-meta .run-model{display:block}.ux-prototype .run-workspace{grid-area:auto;min-width:0;height:auto;display:block;overflow:visible}.ux-prototype .run-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:20px;min-height:0;padding:24px;display:grid}.ux-prototype .run-title>span{letter-spacing:.03em;font-size:14px;line-height:1.6}.ux-prototype .run-title h1{white-space:normal;max-width:none;margin:10px 0;font-size:clamp(26px,3vw,38px);line-height:1.2;overflow:visible}.ux-prototype .run-context-row{margin:8px 0}.recap-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.recap-actions .primary-action{background:#733725;border-color:#bd7951}.ux-prototype .run-meters{grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;width:280px;max-width:none}.ux-prototype .run-meters>div{border:0;border-left:1px solid var(--line);text-align:left;background:0 0;grid-area:auto;justify-items:start;height:auto;min-height:64px;padding:8px 16px}.ux-prototype .run-meters>div:nth-child(3){display:none}.ux-prototype .run-meters span{font-size:13px}.ux-prototype .run-meters strong,.ux-prototype .run-meters strong.metric-token-value{white-space:normal;overflow-wrap:anywhere;font-size:24px;line-height:1.2}.ux-prototype .view-tabs{z-index:25;flex-wrap:wrap;min-height:52px;position:sticky;top:0}.floor-detail-jump{display:none}#floor-details,#run-map{scroll-margin-top:60px}.ux-prototype .view-tabs button{letter-spacing:.04em;min-width:0;min-height:48px;padding:12px 22px;font-size:14px}.exploration-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr);align-items:start;display:grid}.exploration-overview,.exploration-deck{grid-template-columns:minmax(0,1fr)}.ux-prototype .exploration-overview>.inspector,.ux-prototype .exploration-deck>.inspector{display:none}.ux-prototype .viewport{min-width:0;overflow:visible}.run-overview{padding:28px}.run-overview h2{margin:0;font-family:Spire Display,Spire,serif;font-size:25px;font-weight:400}.run-overview header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.run-overview header>span{color:var(--dim);font-size:14px}.act-journey{border-block:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));gap:0;display:grid}.act-journey button{border:0;border-right:1px solid var(--line);text-align:center;background:#181317;justify-items:center;gap:12px;min-width:0;padding:20px 16px;display:grid}.act-journey button:last-child{border-right:0}.act-journey button:hover:not(:disabled){background:#33221e}.act-journey span{color:var(--gold);letter-spacing:.06em;font-size:13px}.act-journey img{object-fit:contain;width:40px;height:40px}.act-journey strong{font-family:Spire Display,Spire,serif;font-size:23px;font-weight:400}.act-journey small{color:var(--dim);font-size:14px}.overview-columns{grid-template-columns:1fr 1fr;gap:36px;margin-top:30px;display:grid}.overview-columns p{color:var(--dim);font-size:16px;line-height:1.6}.overview-columns header button{padding:8px 12px;font-size:14px}.deck-type-summary button{text-align:left;background:0 0;border:0;grid-template-columns:70px 1fr 30px;align-items:center;gap:14px;width:100%;min-height:44px;display:grid}.deck-type-summary i{background:#3a2d2c;height:8px}.deck-type-summary b{background:#d39f59;height:100%;display:block}.overview-moments>button{text-align:left;background:0 0;border:0;border-bottom:1px solid #493b35;align-items:center;gap:14px;width:100%;min-height:60px;padding:12px 0;display:flex}.overview-moments>button:hover{background:#2c201d}.overview-moments img{object-fit:contain;width:32px;height:32px}.overview-moments span{flex:1;font-size:17px}.overview-moments small{color:var(--dim);margin-top:4px;font-size:14px;display:block}.overview-moments b{color:var(--gold);font-size:14px;font-weight:400}.overview-data{border-top:1px solid var(--line);color:var(--dim);margin-top:28px;padding-top:16px;line-height:1.6}.overview-data summary{min-height:44px}.overview-data a{color:var(--gold)}.ux-prototype .inspector{height:auto;max-height:900px;box-shadow:none;border-top:0;border-right:0;grid-area:auto;display:block;position:sticky;top:12px;overflow-y:auto}.ux-prototype .inspector-head{flex-wrap:wrap;gap:16px;padding:20px}.ux-prototype .inspector-head h2{font-size:28px}.ux-prototype .inspector-head-controls{gap:10px}.ux-prototype .inspector-head button{min-height:44px;padding:8px 12px;font-size:13px}.floor-navigation{flex-wrap:wrap;align-items:end;gap:8px;padding:16px;display:flex}.floor-navigation button{flex:1;padding:8px;font-size:14px}.floor-select{flex:100%;order:-1}.floor-change-recap{padding:20px;font-size:16px;line-height:1.6}.floor-change-recap h3{margin:0 0 8px;font-size:20px}.floor-change-recap p{color:var(--dim);margin:8px 0 0}.ux-prototype .floor-loadout>summary,.ux-prototype .relic-rack>summary{min-height:52px;padding:16px;font-size:16px}.ux-prototype .room-token-usage small{font-size:13px;line-height:1.6;display:block}.ux-prototype .empty-note{font-size:15px;line-height:1.6}.ux-prototype .floor-deck-list{max-height:none;font-size:16px}.ux-prototype .route-view{height:min(850px,100dvh);overflow-y:auto}.ux-prototype .map-toolbar{z-index:5;background:#151115;flex-wrap:wrap;position:sticky;top:0}.ux-prototype .map-acts button{min-height:44px;font-size:14px}.ux-prototype .deck-view{grid-template-columns:190px minmax(0,1fr);height:auto;overflow:visible}.ux-prototype .deck-timeline{align-self:start;max-height:85dvh;position:sticky;top:0}.ux-prototype .deck-explorer{min-width:0;padding:24px;overflow:visible}.ux-prototype .deck-explorer-head{flex-wrap:wrap;gap:16px}.ux-prototype .deck-explorer-head h2{font-size:28px}.ux-prototype .deck-mode-switch button{min-height:44px;font-size:14px}.deck-filter-controls{grid-template-columns:1fr 1fr;padding:16px 0}.ux-prototype .deck-list-view{min-width:0}.ux-prototype .deck-list-info strong{font-size:18px}.ux-prototype .deck-list-info small,.ux-prototype .deck-capture-note{font-size:13px}.ux-prototype .vitals-view{height:auto;padding:24px 24px 24px 44px;display:block}.ux-prototype .section-intro{margin:0 0 30px;padding:0;display:block;position:static}.ux-prototype .section-intro h2{margin:8px 0;font-size:28px}.ux-prototype .section-intro p{text-align:left;max-width:none;margin:0;font-size:16px;line-height:1.6}.ux-prototype .chart-y-axis{color:var(--dim);font-size:13px}.ux-prototype .vitals-chart{height:280px;min-height:0;margin:16px 0}.ux-prototype .vitals-chart svg{height:100%}.ux-prototype .vitals-floor-axis{flex-wrap:wrap;overflow:visible}.ux-prototype .vitals-floor-axis button{flex-basis:44px;min-height:44px;font-size:14px}.health-readout{flex-wrap:wrap;align-items:center;gap:12px;margin-block:16px;font-size:16px;display:flex}.health-readout strong{color:var(--gold)}.health-axis-labels{color:var(--dim);justify-content:space-between;font-size:14px;display:flex}.health-floor-picker{gap:8px;margin-top:20px;display:grid}.health-floor-picker input{accent-color:var(--ember);border:0;padding:0}.ux-prototype .vitals-chart .act-boundary{stroke:#b39c7380}.ux-prototype .vitals-chart .boss-point{fill:var(--gold);stroke:#fff1bd}.ux-prototype .logs-view{height:auto;display:block}.ux-prototype .log-table{max-height:650px;overflow-y:auto}.ux-prototype .usage-hero h1 .token-value{font-family:Spire Display,Spire,serif;font-size:clamp(28px,5vw,48px);line-height:1.25}.ux-prototype .input-composition-legend{flex-wrap:wrap;gap:10px 24px}.ux-prototype .run-list-meta:before,.ux-prototype .run-list-meta:after,.ux-prototype .run-list-meta>span:before,.ux-prototype .run-list-meta>span:after{content:none}@media (width<=1100px){.ux-prototype .brand strong{display:none}.floor-detail-jump{color:var(--gold);min-height:44px;padding:12px 16px;font-size:14px;display:block}.floor-navigation .floor-detail-jump{order:-2;width:100%;padding:0}.ux-prototype .game-shell,.ux-prototype .game-shell.library-collapsed{grid-template-columns:minmax(0,1fr)}.ux-prototype .run-library{max-height:460px;position:static}.ux-prototype .run-list{max-height:220px}.ux-prototype .run-search-controls{grid-template-columns:1fr 1fr}.ux-prototype .topbar-stats>div{display:none}.ux-prototype .run-toolbar{grid-template-columns:1fr}.ux-prototype .run-meters{grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.exploration-layout{grid-template-columns:minmax(0,1fr)}.ux-prototype .inspector{border-left:0;max-height:none;position:static}.ux-prototype .route-view{height:560px}}@media (width<=700px){.ux-prototype .topbar{grid-template-columns:minmax(0,1fr) auto;gap:4px;padding:8px}.ux-prototype .brand>img{width:64px;height:48px}.ux-prototype .brand strong{display:none}.ux-prototype .site-nav{grid-area:2/1/auto/-1;width:100%}.ux-prototype .site-nav button{flex:1;padding:10px 6px;font-size:13px}.ux-prototype .topbar-stats{grid-area:1/2;gap:8px}.ux-prototype .download-menu summary{min-height:44px;padding:10px;font-size:12px}.ux-prototype .game-shell{gap:12px;padding:12px}.run-browser-bar{flex-wrap:wrap;gap:8px}.run-browser-bar>span{font-size:13px}.ux-prototype .run-toolbar{gap:16px;padding:20px 16px}.ux-prototype .run-meters{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-prototype .run-meters>div{padding:8px 12px}.ux-prototype .view-tabs{grid-template-columns:repeat(5,minmax(0,1fr));display:grid;overflow:visible}.ux-prototype .view-tabs button{letter-spacing:0;width:auto;padding:10px 3px;font-size:12px}.run-overview{padding:20px 16px}.act-journey{grid-template-columns:1fr 1fr}.act-journey button{border-bottom:1px solid var(--line);padding:16px 10px}.act-journey button:nth-child(2n){border-right:0}.act-journey strong{font-size:21px}.overview-columns{grid-template-columns:1fr;gap:28px}.ux-prototype .deck-view{display:block}.ux-prototype .deck-timeline{border-right:0;max-height:none;position:static}.ux-prototype .deck-timeline-list{max-height:none;display:flex;overflow-x:auto}.ux-prototype .deck-timeline-list button{flex:0 0 130px}.ux-prototype .deck-explorer{padding:16px}.ux-prototype .deck-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-prototype .deck-change-summary{grid-template-columns:1fr}.ux-prototype .deck-head-controls{align-items:stretch;width:100%}.ux-prototype .deck-mode-switch{width:100%}.ux-prototype .deck-mode-switch button{flex:1}.ux-prototype .deck-filter-controls{grid-template-columns:1fr}.ux-prototype .inspector{width:auto}.ux-prototype .vitals-chart{height:220px}.ux-prototype .map-legend{font-size:12px}.ux-prototype .run-search-controls{grid-template-columns:1fr}}@media (width<=400px){.ux-prototype.numbers-exact .run-meters .token-meter{grid-column:1/-1}.ux-prototype .run-browser-bar>span{width:100%;display:block}}@media (prefers-reduced-motion:reduce){.ux-prototype *,.ux-prototype :before,.ux-prototype :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.ux-prototype .floor-details{background:#191419;max-height:none;position:static;overflow:visible}.ux-prototype .floor-details>*{border-right:0;min-width:0}.ux-prototype .floor-details .inspector-head{background:#21191e;padding:24px;display:block}.ux-prototype .floor-details .inspector-head h2{margin:8px 0 18px;font-size:30px;line-height:1.2}.ux-prototype .floor-details .inspector-head-controls{justify-items:stretch;width:100%;display:block}.ux-prototype .floor-details .inspector-actions{flex-flow:wrap;justify-content:flex-start;gap:10px;width:100%;display:flex}.ux-prototype .floor-details .inspector-actions button{letter-spacing:.02em;font-size:14px}.ux-prototype .floor-details .floor-navigation{grid-template-columns:1fr 1fr;padding:20px 24px;display:grid}.ux-prototype .floor-details .floor-select,.ux-prototype .floor-details .floor-detail-jump{grid-column:1/-1}.ux-prototype .floor-details .floor-change-recap{padding:20px 24px}.ux-prototype .floor-details .floor-facts{padding:0;display:block}.ux-prototype .floor-details .floor-facts>div{border:0;padding:16px 24px}.ux-prototype .floor-details .floor-facts>div>span{color:var(--dim);font-size:13px}.ux-prototype .floor-details .room-token-usage{border:0;border-top:1px solid var(--line);padding:0;display:block}.ux-prototype .floor-details .room-token-usage>summary{min-height:56px;padding:16px 24px;font-size:16px}.ux-prototype .floor-details .room-token-usage>summary strong{float:right;margin-left:10px;font-family:Spire Display,Spire,serif;font-size:22px}.ux-prototype .floor-details .input-breakdown{margin:0;padding:0 24px 20px;font-size:14px}.ux-prototype .floor-details .input-breakdown header{flex-wrap:wrap;gap:10px;display:flex}.ux-prototype .floor-details .hp-bar{background:#291b1c;border:1px solid #65443b;height:30px;margin:20px 24px}.ux-prototype .floor-details .hp-bar b{padding:5px 10px;font-size:15px}.ux-prototype .floor-details summary{min-height:48px;font-size:16px;line-height:1.5}.ux-prototype .floor-details .run-note{padding:16px 24px}.ux-prototype .floor-details .run-note>summary{color:var(--parchment)}.ux-prototype .floor-details .run-note>strong{margin-top:12px}.ux-prototype .floor-details :is(.combat-brief-head,.inventory-label,.inventory-head,.section-label,.turn-hand>span,.enemy-intents>span,.turn-resolution>span){letter-spacing:.04em;color:var(--dim);font-size:13px}.ux-prototype .floor-details :is(.combat-action-steps,.floor-commentary p,.room-choice-content strong,.turn-rationale){font-size:16px;line-height:1.6}.ux-prototype .floor-details :is(.room-choice-meta,.turn-actions small,.inventory-provenance,.run-note>span,.inspector-foot){color:var(--dim);font-size:13px;line-height:1.5}.ux-prototype .floor-details .run-media summary{align-items:center;gap:12px;padding:16px;display:flex}.ux-prototype .floor-details .run-media summary span{white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:14px}.ux-prototype .floor-details .floor-deck-list{overflow:visible}@media (width<=700px){.ux-prototype .floor-details .inspector-head,.ux-prototype .floor-details .floor-navigation,.ux-prototype .floor-details .floor-change-recap{padding:20px 16px}.ux-prototype .floor-details .hp-bar{margin-inline:16px}.ux-prototype .floor-details .room-token-usage>summary,.ux-prototype .floor-details .input-breakdown{padding-inline:16px}}.ux-prototype .token-value[role=button]{cursor:pointer;border-bottom:1px dotted #b8a282;border-radius:0}.ux-prototype .token-value[role=button]:hover{color:#ffdda0}.ux-prototype .token-value[role=button]:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.ux-prototype .run-meters .token-value,.benchmark-measure .token-value{font:inherit;color:inherit;letter-spacing:inherit}.ux-prototype .library-header-toggle{border:1px solid var(--line-bright);width:44px;height:44px;color:var(--parchment);background:0 0;justify-content:center;align-items:center;display:inline-flex}.ux-prototype .library-header-toggle[aria-expanded=true]{color:var(--gold);background:#583621}.ux-prototype .exploration-layout{display:block}.ux-prototype .exploration-layout>.floor-details,.ux-prototype .exploration-floor>.viewport{display:none}.ux-prototype .exploration-floor>.floor-details{border-left:0;width:100%;max-width:1040px;margin:auto;display:block}.ux-prototype .route-view{height:auto;max-height:none;overflow:visible}.ux-prototype .map-toolbar{height:auto;padding:0;position:static}.ux-prototype .map-legend{padding:12px}.ux-prototype .map-preview{display:none}.ux-prototype .route-canvas{width:100%;max-width:850px;min-height:0;margin-inline:auto}.ux-prototype .log-table{max-height:none;overflow:visible}.ux-prototype .map-floor-preview{border:0;border-block:1px solid var(--line);text-align:left;background:#241b1d;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:16px 24px;font-size:18px;display:flex}.ux-prototype .map-floor-preview span{color:var(--gold);font-size:14px}.ux-prototype .floor-back{text-align:left;width:100%;min-height:52px;color:var(--gold);border:0;border-bottom:1px solid var(--line);background:#151115;padding:16px 24px;font-size:16px;display:block}.ux-prototype .floor-details .floor-detail-jump{display:none}.ux-prototype .floor-details .inspector-head{justify-content:space-between;align-items:center;display:flex}.ux-prototype .floor-details .inspector-head-controls{width:auto}.ux-prototype .floor-details .inspector-head h2{margin-bottom:0}.ux-prototype .floor-details .floor-navigation{grid-template-columns:1fr minmax(180px,2fr) 1fr;display:grid}.ux-prototype .floor-details .floor-select{order:0;grid-column:2}.ux-prototype .floor-details .floor-navigation button{align-self:end}.ux-prototype .floor-details .hp-bar{height:36px;position:relative;overflow:hidden}.ux-prototype .floor-details .hp-bar>span{height:100%;position:absolute;inset:0 auto 0 0}.ux-prototype .floor-details .hp-bar b{justify-content:center;align-items:center;padding:0;font-size:16px;line-height:1;display:flex;position:absolute;inset:0}.ux-prototype .floor-details .floor-section{border-top:1px solid var(--line);padding:0;display:block}.ux-prototype .floor-details .floor-section>summary{align-items:center;gap:12px;padding:18px 24px;font-size:19px;display:flex}.ux-prototype .floor-details .floor-section>summary:before{content:"+";color:var(--gold)}.ux-prototype .floor-details .floor-section[open]>summary:before{content:"−"}.ux-prototype .floor-details .floor-section>summary span{color:var(--dim);margin-left:auto;font-size:14px}.ux-prototype .floor-details .floor-section>details{margin:0 24px 12px}.ux-prototype .health-readout button{border:1px solid var(--line-bright);background:#241b1d;margin-left:auto;padding:12px 16px;font-size:16px}.ux-prototype .benchmark-view{height:auto;padding:0;overflow:visible}.benchmark-explorer{padding:28px}.benchmark-explorer-head{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px;display:flex}.benchmark-explorer-head h1{margin:0 0 12px;font-family:Spire Display,Spire,serif;font-size:36px;font-weight:400}.benchmark-explorer-head p,.benchmark-explorer-head>span{color:var(--dim);margin:0;font-size:16px;line-height:1.5}.benchmark-explorer-controls{border-block:1px solid var(--line);grid-template-columns:2fr 1.5fr 1.5fr;gap:20px;padding:20px 0;display:grid}.benchmark-explorer-controls label{color:var(--dim);gap:8px;font-size:14px;display:grid}.benchmark-key{flex-wrap:wrap;gap:18px;margin:24px 0 12px;display:flex}.benchmark-key span{align-items:center;gap:8px;font-size:14px;display:flex}.benchmark-key i{width:12px;height:12px}.benchmark-key .victory,.benchmark-outcome-bar .victory{background:#dbc078}.benchmark-key .death,.benchmark-outcome-bar .death{background:#a95c48}.benchmark-key .interrupted,.benchmark-outcome-bar .interrupted{background:#9b93ac}.benchmark-key .abandoned,.benchmark-outcome-bar .abandoned{background:#686063}.benchmark-scope{color:var(--dim);margin-bottom:24px;font-size:14px;line-height:1.6}.benchmark-tree{border-top:1px solid var(--line-bright)}.benchmark-tree-row{padding:22px 16px 22px calc(16px + var(--level) * 22px);border-bottom:1px solid var(--line);grid-template-columns:minmax(230px,1.2fr) minmax(200px,1fr) minmax(150px,.75fr);align-items:center;gap:28px;display:grid}.depth-0>.benchmark-tree-row{background:#261c1c}.depth-1>.benchmark-tree-row{background:#1c171b}.depth-2>.benchmark-tree-row{background:#171317}.benchmark-identity button{text-align:left;background:0 0;border:0;align-items:center;gap:12px;min-height:44px;padding:8px 0;font-size:21px;display:flex}.benchmark-identity button>span{color:var(--gold);flex-shrink:0;width:18px;font-size:24px}.benchmark-identity>strong{padding:8px 0;font-size:19px;font-weight:400;display:block}.benchmark-tree-row small{color:var(--dim);margin-top:8px;font-size:14px;line-height:1.5;display:block}.benchmark-measure>div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.benchmark-measure span{color:var(--dim);font-size:14px}.benchmark-measure strong{white-space:normal;overflow-wrap:anywhere;font-size:22px}.benchmark-measure-track{background:#342b2b;height:10px;margin-top:12px}.benchmark-measure-track i{background:#d1a76b;height:100%;display:block}.benchmark-outcome-bar{width:100%;height:10px;display:flex;overflow:hidden}.benchmark-outcome-bar i{height:100%;display:block}.benchmark-definitions{color:var(--dim);padding:24px 0 0;font-size:16px;line-height:1.6}.benchmark-definitions summary{color:var(--parchment);min-height:44px}.classic-benchmark{border-top:1px solid var(--line)}.classic-benchmark>summary{color:var(--gold);padding:24px 28px;font-size:18px}@media (width<=1100px){.benchmark-tree-row{grid-template-columns:1fr 1fr;gap:16px 24px}.benchmark-outcome-strip{grid-column:2}.benchmark-explorer-controls{grid-template-columns:1fr 1fr}.benchmark-explorer-controls label:first-child{grid-column:1/-1}}@media (width<=700px){.benchmark-explorer{padding:20px 16px}.benchmark-explorer-head h1{font-size:28px}.benchmark-explorer-controls{grid-template-columns:1fr 1fr;gap:12px;padding-block:16px}.benchmark-explorer-head{gap:12px;margin-bottom:16px}.benchmark-explorer-head>span{display:none}.benchmark-key{gap:10px 14px;margin-block:16px 8px}.benchmark-scope{margin-bottom:16px;line-height:1.4}.benchmark-tree-row{padding:18px 12px 18px calc(12px + var(--level) * 10px);grid-template-columns:1fr;gap:16px}.benchmark-outcome-strip{grid-column:1}.benchmark-identity button{font-size:19px}.numbers-exact .benchmark-measure>div:first-child{display:block}.numbers-exact .benchmark-measure strong{margin-top:8px;display:block}.ux-prototype .floor-details .floor-navigation{grid-template-columns:1fr 1fr}.ux-prototype .floor-details .floor-select{order:-1;grid-column:1/-1}.ux-prototype .floor-details .floor-section>details{margin-inline:12px}.ux-prototype .floor-details .floor-section>summary{padding:16px}.ux-prototype .health-readout button{margin-left:0}}.ux-prototype .exploration-floor>.floor-details{background:#161216;grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;gap:16px;max-width:none;padding:24px;display:grid}.ux-prototype .floor-details>*{grid-column:1/-1;min-width:0;margin:0}.ux-prototype .floor-details .floor-back{background:0 0;border:0;padding:8px 0}.ux-prototype .floor-details .inspector-head{border-bottom:1px solid var(--line);background:0 0;padding:0 0 20px}.ux-prototype .floor-details .floor-navigation{border:0;padding:0}.ux-prototype .floor-details .floor-change-recap{border:1px solid var(--line);background:#20191d;grid-column:span 7;padding:20px}.ux-prototype .floor-details .floor-facts{border:1px solid var(--line);background:#20191d;grid-column:span 5}.ux-prototype .floor-details .hp-bar{grid-column:1/-1;height:36px;margin:0}.ux-prototype .floor-details .floor-loadout{border:1px solid var(--line);background:#1c171b;grid-column:span 4}.ux-prototype .floor-details .floor-loadout[open]{grid-column:1/-1}.ux-prototype .floor-details:has(.floor-loadout[open]) .room-replay{grid-column:1/-1}.ux-prototype .floor-details .floor-loadout[open] .floor-deck-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:8px 20px;display:grid}.ux-prototype .floor-details .room-replay{border:1px solid var(--line);background:#1c171b;grid-column:span 8}.ux-prototype .floor-details .combat-replay{border:1px solid var(--line);background:#1c171b;grid-column:1/-1}.ux-prototype .floor-details .combat-replay[open]{grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));align-items:start;gap:12px;padding:0 16px 16px;display:grid}.ux-prototype .floor-details .combat-replay>summary{grid-column:1/-1}.ux-prototype .floor-details .combat-replay>details{border:1px solid var(--line);min-width:0;margin:0}.ux-prototype .floor-details .relic-rack{border:1px solid var(--line);background:#1c171b;grid-column:span 4}.ux-prototype .floor-details .run-media{border:1px solid var(--line);grid-column:span 4}.ux-prototype .floor-details .run-note{border:1px solid var(--line);grid-column:span 4;padding:16px}.ux-prototype .floor-details .inspector-foot{padding:16px 0 0}.ux-prototype .floor-details .run-media summary{flex-wrap:wrap}.ux-prototype .brand{gap:16px}.ux-prototype .brand .library-header-toggle{flex:0 0 44px}.comparison-controls{border-block:1px solid var(--line);flex-wrap:wrap;align-items:start;gap:12px;padding:16px 0;display:flex}.control-menu{flex:1;min-width:240px;position:relative}.control-menu>summary{border:1px solid var(--line-bright);background:#241b1d;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 16px;font-size:16px;display:flex}.control-menu>summary:after{content:"⌄";color:var(--gold)}.control-menu summary b{color:var(--dim);font-size:14px;font-weight:400}.control-menu>div{z-index:40;border:1px solid var(--line-bright);background:#211a20;padding:12px;position:absolute;inset:100% 0 auto;box-shadow:0 12px 24px #0008}.control-menu p{color:var(--dim);margin:4px 8px 8px;font-size:14px}.control-menu label{cursor:pointer;align-items:center;gap:10px;min-height:44px;padding:8px;font-size:16px;display:flex}.ux-prototype .control-menu input{width:18px;height:18px;min-height:18px;accent-color:var(--gold);padding:0}.comparison-sort{align-items:center;gap:12px;font-size:14px;display:flex}.comparison-sort select{width:auto}.comparison-controls>button,.group-card-dialog button{border:1px solid var(--line-bright);background:#261d20;min-height:44px;padding:10px 16px;font-size:16px}.comparison-guide{color:var(--dim);margin:20px 0;font-size:14px;line-height:1.6}.comparison-grid-heading,.comparison-row{grid-template-columns:minmax(230px,.9fr) minmax(0,1.15fr) minmax(0,1.15fr);gap:32px;padding:24px;display:grid}.comparison-grid-heading{color:var(--gold);border-bottom:1px solid var(--line-bright);padding-block:12px;font-size:16px}.comparison-row{border-bottom:1px solid var(--line);background:#181418;align-items:start}.comparison-row.level-1{background:#261d1d}.comparison-identity{min-width:0}.comparison-identity>div{align-items:center;gap:8px;display:flex}.comparison-identity button{min-height:44px;color:var(--parchment);background:0 0;border:0}.comparison-identity .group-expand{color:var(--gold);flex:0 0 28px;padding:0;font-size:24px}.comparison-identity .group-title{text-align:left;overflow-wrap:anywhere;padding:0;font-size:21px}.comparison-identity .group-best{color:var(--gold);white-space:nowrap;flex-shrink:0;padding:0 8px;font-size:14px}.comparison-identity .group-best:hover{background:#c6a36b1f;border-radius:6px}.comparison-identity .group-best:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:6px}.comparison-identity .group-info{color:var(--gold);flex:0 0 36px;justify-content:center;align-items:center;margin-left:auto;display:flex}.comparison-identity small{color:var(--dim);margin-top:10px;font-size:14px;line-height:1.6;display:block}.comparison-depth,.comparison-tokens{gap:20px;min-width:0;display:grid}.comparison-metric{min-width:0}.distribution-metric{--plot:#d5a867}.distribution-metric.farthest{--plot:#c57f59}.distribution-metric.tokensPerRoom{--plot:#7caeb4}.distribution-metric.tokensPerRun{--plot:#b293ca}.distribution-values{flex-wrap:wrap;gap:4px 16px;margin-top:5px;display:flex}.composition-choice{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.composition-choice[aria-pressed=true]{color:var(--gold);text-underline-offset:3px;text-decoration:underline}.composition-choice:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.composition-track .composition-segment{cursor:pointer;border:0;border-radius:0;min-width:0;height:100%;padding:0;display:block;position:relative}.composition-segment:after{content:"";position:absolute;inset:-5px 0}.composition-segment[aria-pressed=true],.composition-segment:focus-visible{outline:2px solid var(--parchment);outline-offset:2px;z-index:1}.distribution-values strong{font-size:17px}.distribution-values>span{white-space:nowrap}.distribution-plot{cursor:crosshair;touch-action:pan-y;background:0 0;border:0;width:100%;height:48px;padding:0;display:block;position:relative;overflow:visible}.distribution-plot:focus-visible{outline:2px solid var(--plot);outline-offset:4px}.distribution-plot .distribution-rail{background:#3b3033;height:6px;position:absolute;top:22px;left:0;right:0}.distribution-plot .distribution-fill{background:var(--plot);opacity:.45;height:6px;position:absolute;top:22px;left:0}.distribution-plot .distribution-dot{background:var(--plot);opacity:.55;border-radius:50%;width:7px;height:7px;position:absolute;transform:translate(-50%,-50%)}.distribution-plot .distribution-dot.victory{opacity:.95;background:#f4d178;box-shadow:0 0 0 1px #241c18}.distribution-plot .distribution-dot.selected{opacity:1;z-index:3;width:11px;height:11px;box-shadow:0 0 0 2px #f8ecdb}.distribution-plot .distribution-average{color:var(--plot);font-size:16px;line-height:16px;position:absolute;top:29px;transform:translate(-50%)}.distribution-plot .distribution-median{background:#fff0d9;width:2px;height:26px;position:absolute;top:8px;transform:translate(-50%);box-shadow:0 0 0 1px #211a19}.distribution-caption{min-height:18px;color:var(--dim);justify-content:space-between;gap:8px;font-size:13px;line-height:1.4;display:flex}.distribution-metric{position:relative}.distribution-tooltip{z-index:5;border:1px solid var(--line-bright);pointer-events:none;background:#171316;gap:2px;padding:7px 10px;font-size:14px;display:grid;position:absolute;bottom:18px;left:0;right:0;box-shadow:0 4px 16px #0008}.distribution-tooltip small{color:var(--gold);font-size:12px}.distribution-caption b{color:var(--ink);font-weight:400}.distribution-caption span{font-size:13px}.comparison-metric>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.comparison-metric span{color:var(--dim);font-size:14px}.comparison-metric strong{overflow-wrap:anywhere;font-size:22px;line-height:1.3}.comparison-metric .token-value{font:inherit;color:inherit}.comparison-track,.outcome-track{background:#3b3033;height:10px;margin-top:10px}.comparison-track>i{height:100%;display:block}.deathFloor .comparison-track>i,.metric-swatch.deathFloor{background:#d5a867}.farthest .comparison-track>i,.metric-swatch.farthest{background:#c57f59}.tokensPerRoom .comparison-track>i,.metric-swatch.tokensPerRoom{background:#7caeb4}.tokensPerRun .comparison-track>i,.metric-swatch.tokensPerRun{background:#b293ca}.outcome-track{display:flex}.outcome-track .wins{background:#d9c879}.outcome-track .deaths,.metric-swatch.outcomes{background:#a86255}.outcome-track .unfinished{background:#9692a4}.outcomes small{color:var(--dim);margin-top:8px;font-size:14px;line-height:1.5;display:block}.metric-swatch{flex:0 0 12px;width:12px;height:12px;display:inline-block}.group-card-dialog{width:min(900px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--parchment);border:1px solid var(--gold);background:#1d171d;margin:auto;padding:0;position:fixed;inset:0;overflow:auto}.group-card-dialog::backdrop{background:#080608c9}.metric-swatch.composition{background:#7eaa83}.token-composition{grid-column:1/-1}.composition-pair{gap:10px;margin-top:10px;display:grid}.composition-labels{flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:14px;display:flex}.composition-labels b{font-weight:400}.composition-track{background:#3b3033;height:10px;margin-top:6px;display:flex}.composition-track i{height:100%;display:block}.composition-uncached{background:#c6a36b}.composition-cached{background:#7eaa83}.composition-reasoning{background:#b293ca}.composition-output{background:#7caeb4}.composition-labels span:before{content:"";background:var(--segment);width:8px;height:8px;margin-right:5px;display:inline-block}.token-composition>small{color:var(--dim);margin-top:8px;font-size:13px;display:block}.group-card-dialog article{padding:28px}.group-card-dialog header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:24px;padding-bottom:20px;display:flex}.group-card-dialog header span{color:var(--dim);font-size:14px}.group-card-dialog h2{margin:12px 0;font:32px Spire Display,Spire,serif}.group-card-dialog p{color:var(--dim);font-size:16px;line-height:1.6}.group-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0;display:grid}.group-card-metrics>div>strong{margin-top:12px;font-size:23px;display:block}.group-card-metrics>div>span{color:var(--dim);font-size:14px}.group-card-dialog footer{border-top:1px solid var(--line);justify-content:space-between;gap:16px;padding-top:20px;display:flex}.ux-prototype .floor-details .combat-replay>details>summary{flex-wrap:wrap;gap:10px;padding:12px;display:flex}.ux-prototype .floor-details .combat-replay>details>summary>strong{flex:170px;font-size:16px}.ux-prototype .floor-details .combat-replay>details>summary>button{flex:none;min-width:110px;min-height:44px;padding:10px;font-size:14px}@media (width<=1100px){.comparison-grid-heading,.comparison-row{grid-template-columns:1fr 1fr;gap:24px}.comparison-grid-heading>span:first-child{display:none}.comparison-identity{grid-column:1/-1}.ux-prototype .floor-details .floor-loadout,.ux-prototype .floor-details .room-replay{grid-column:span 6}}@media (width<=700px){.ux-prototype .experiment-usage-shell{padding:12px}.ux-prototype .brand{gap:8px}.ux-prototype .exploration-floor>.floor-details{gap:12px;padding:16px}.ux-prototype .floor-details>*{grid-column:1/-1!important}.comparison-controls{grid-template-columns:1fr 1fr;display:grid}.control-menu{grid-column:1/-1;min-width:0}.comparison-sort{display:block}.comparison-sort select{width:100%}.comparison-controls>button{align-self:end}.comparison-grid-heading{display:none}.comparison-row{grid-template-columns:1fr;gap:24px;padding:20px 12px}.comparison-depth:before{content:"Run depth & outcomes";color:var(--gold)}.comparison-tokens:before{content:"Official token load";color:var(--gold)}.comparison-depth:empty,.comparison-tokens:empty{display:none}.group-card-dialog article{padding:20px 16px}.group-card-metrics{grid-template-columns:1fr}.group-card-dialog header{gap:12px}.group-card-dialog h2{font-size:26px}}.ux-prototype .exploration-floor>.floor-details{gap:16px 24px;padding:20px 24px}.ux-prototype .floor-details .floor-back{grid-column:1/-1;justify-self:start;min-height:32px;padding:0}.ux-prototype .floor-details .inspector-head{border:0;grid-column:1/7;align-items:center;gap:16px;padding:0}.ux-prototype .floor-details .inspector-head h2{margin:4px 0 0;font-size:30px}.ux-prototype .floor-details .inspector-actions button{padding:10px 12px;font-size:14px}.ux-prototype .floor-details .inspector-actions button:not(.play-floor){display:none}.ux-prototype .floor-details .floor-navigation{grid-column:7/-1;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.ux-prototype .floor-details .floor-navigation button{min-height:44px;padding:10px}.ux-prototype .floor-details .floor-select{gap:4px;font-size:13px}.ux-prototype .floor-details .floor-select select{min-height:44px;font-size:14px}.ux-prototype .floor-details .floor-facts{border:0;border-block:1px solid var(--line);background:0 0;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:12px 28px;padding:12px 0;display:flex}.ux-prototype .floor-details .floor-facts>div{border:0;min-width:0;padding:0}.ux-prototype .floor-details .floor-facts>div>span{margin:0 0 4px;font-size:12px}.floor-hp-summary strong,.floor-gold-summary strong{font-size:20px}.ux-prototype .floor-details .floor-facts .key-progress{margin:0}.ux-prototype .floor-details .room-token-usage{border:0;margin-left:auto;padding:0}.ux-prototype .floor-details .room-token-usage summary{align-items:center;gap:16px;padding:8px 0;font-size:14px;display:flex}.ux-prototype .floor-details .room-token-usage summary:before{content:"▸"}.ux-prototype .floor-details .room-token-usage[open]{flex:100%}.floor-section-heading{justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;display:flex}.floor-section-heading h3{color:var(--gold);margin:0;font-size:22px;font-weight:400}.floor-section-heading>span{color:var(--dim);font-size:14px}.combat-workspace{background:0 0;border:0;min-width:0}.turn-picker{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.turn-picker button{border:1px solid var(--line);text-align:left;background:#211b20;flex-direction:column;gap:4px;min-width:104px;min-height:56px;padding:9px 14px;display:flex}.turn-picker strong{font-size:16px;font-weight:400}.turn-picker span{color:var(--dim);font-size:13px}.turn-picker button[aria-pressed=true]{border-color:var(--gold);color:var(--gold);box-shadow:inset 0 -2px var(--gold);background:#493226}.selected-turn{border:1px solid var(--line-bright);background:#211b20;min-width:0}.selected-turn-heading{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:14px;padding:12px 16px;display:flex}.selected-turn-heading>span{color:var(--gold);font-size:18px}.selected-turn-heading>strong{font-size:16px;font-weight:400}.selected-turn-heading .turn-token-badge{margin-left:auto;font-size:14px}.selected-turn-heading button{border:1px solid var(--line-bright);background:#513023;min-height:44px;padding:10px 14px;font-size:14px}.ux-prototype .floor-details .combat-turn-body{grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);gap:16px 24px;padding:16px;display:grid}.turn-situation,.turn-sequence{min-width:0}.turn-situation h4,.turn-sequence h4{color:var(--gold);margin:0 0 16px;font-size:17px;font-weight:400}.ux-prototype .turn-hand,.ux-prototype .enemy-intents,.ux-prototype .turn-actions,.ux-prototype .turn-rationale,.ux-prototype .turn-resolution,.ux-prototype .turn-token-breakdown{border:0;margin:0;padding:0}.ux-prototype .turn-hand{margin-bottom:20px}.ux-prototype .turn-hand>span,.ux-prototype .enemy-intents>span{margin-bottom:8px;font-size:12px}.ux-prototype .turn-hand>div{flex-wrap:wrap;gap:6px;display:flex}.ux-prototype .turn-card-reference{flex:0 auto;min-width:0;padding:8px;font-size:14px}.ux-prototype .turn-card-reference strong{font-size:14px}.ux-prototype .enemy-intents .enemy-reference{min-width:0}.ux-prototype .turn-rationale{margin-bottom:16px;font-size:16px;line-height:1.6}.ux-prototype .turn-actions{counter-reset:action;list-style:none}.ux-prototype .turn-actions li{border-bottom:1px solid var(--line);margin:0 0 12px;padding:0 0 12px 30px;position:relative}.ux-prototype .turn-actions li:before{counter-increment:action;content:counter(action);color:var(--gold);font-size:15px;position:absolute;top:10px;left:0}.ux-prototype .turn-actions li:last-child{border:0;margin:0;padding-bottom:0}.ux-prototype .turn-actions small{padding-top:6px;font-size:13px;line-height:1.5;display:block}.ux-prototype .combat-step-reference strong,.ux-prototype .enemy-target-reference strong{font-size:16px}.ux-prototype .turn-resolution{border-top:1px solid var(--line);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:12px 20px;padding-top:14px;display:flex}.ux-prototype .turn-resolution>span{margin:0}.ux-prototype .turn-resolution>strong{margin:0;font-size:16px}.ux-prototype .turn-resolution>div{gap:10px;margin:0}.ux-prototype .turn-token-breakdown{color:var(--dim);flex-wrap:wrap;grid-column:1/-1;align-items:baseline;gap:8px 14px;font-size:13px;display:flex}.ux-prototype .turn-token-breakdown strong{font-size:16px}.ux-prototype .turn-token-breakdown small{font-size:13px}.turn-pagination{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.turn-pagination button{border:1px solid var(--line);background:#261d20;min-height:44px;padding:10px 14px;font-size:14px}.turn-pagination span{color:var(--dim);font-size:14px}.ux-prototype .floor-details .floor-loadout{border:0;border-top:1px solid var(--line);background:0 0;grid-column:1/8;padding:16px 0 0}.ux-prototype .floor-details .relic-rack{border:0;border-top:1px solid var(--line);background:0 0;grid-column:8/-1;padding:16px 0 0}.ux-prototype .floor-details .inventory-head{align-items:center;gap:12px;padding:0 0 12px;font-size:12px;display:flex}.ux-prototype .floor-details .inventory-head>b{display:none}.ux-prototype .floor-details .inventory-label{margin:10px 0;padding:0}.ux-prototype .floor-details .inventory-provenance{margin:0 0 8px;font-size:12px}.ux-prototype .floor-details .floor-deck-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:0 16px;max-height:none;padding:0;display:grid}.ux-prototype .floor-deck-list>span{border-bottom:1px solid #ffffff0c;padding:7px 0;font-size:15px}.ux-prototype .floor-details .relic-rack .section-label{margin:0 0 12px;padding:0;font-size:12px}.ux-prototype .floor-details .relic-rack>div:last-child{grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:12px;display:grid}.ux-prototype .floor-details .relic-rack figure{min-width:0;margin:0;padding:0}.ux-prototype .floor-details .relic-rack figcaption{font-size:13px;line-height:1.4}.ux-prototype .floor-details .run-note{border:0;border-top:1px solid var(--line);grid-column:1/-1;padding:12px 0}.room-decisions{border:0}.decision-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));align-items:start;gap:16px;display:grid}.decision-record{border:1px solid var(--line);background:#211b20;min-width:0;padding:16px}.decision-record>header{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.decision-record h4{margin:0;font-size:19px;font-weight:400}.decision-record header>span{color:var(--dim);font-size:13px}.decision-result{color:var(--gold);margin:12px 0;font-size:15px;line-height:1.5}.ux-prototype .decision-record .room-choice-list{padding:0}.ux-prototype .decision-record .room-choice-list>div{gap:8px;padding:10px 0}.ux-prototype .decision-record .room-choice-list>div.selected{background:#33433355;border-left:2px solid #91af83;padding:10px}.ux-prototype .decision-record .room-choice-list>div>span:first-child{display:none}.ux-prototype .decision-record .room-choice-copy strong{font-size:16px}.ux-prototype .decision-record .room-choice-copy small{font-size:13px}.room-evidence{color:var(--dim);margin-top:12px;font-size:14px}.room-evidence summary{min-height:44px;padding:12px 0}.room-evidence p{margin:8px 0;line-height:1.5}@media (width<=1000px){.ux-prototype .floor-details .inspector-head,.ux-prototype .floor-details .floor-navigation{grid-column:1/-1}.ux-prototype .floor-details .inspector-head{justify-content:space-between}.ux-prototype .floor-details .combat-turn-body{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:16px}}@media (width<=700px){.ux-prototype .exploration-floor>.floor-details{gap:16px;padding:16px 12px}.ux-prototype .floor-details .floor-navigation{grid-template-columns:auto minmax(0,1fr) auto}.ux-prototype .floor-details .floor-select{order:0;grid-column:auto}.ux-prototype .floor-details .floor-facts{gap:12px 20px}.ux-prototype .floor-details .room-token-usage{margin-left:0}.ux-prototype .floor-details .combat-turn-body{grid-template-columns:1fr;padding:14px}.turn-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.turn-picker button{min-width:0;padding:8px}.turn-picker strong{font-size:15px}.turn-picker span{font-size:12px}.selected-turn-heading{gap:10px;padding:12px}.selected-turn-heading .turn-token-badge{margin-left:0}.ux-prototype .floor-details .inspector-head h2{font-size:27px}.ux-prototype .floor-details .inspector-actions{flex-wrap:wrap}.turn-pagination button{padding:10px}}.ux-prototype .turn-actions li{border:0;border-bottom:1px solid var(--line);background:0 0;padding:0 0 12px 28px}.ux-prototype .turn-actions small{text-transform:none;color:#b4a397}.combat-choice{gap:6px;padding-top:8px;font-size:14px;display:grid}.combat-choice>strong{color:var(--gold)}.combat-choice>span{color:var(--dim);line-height:1.5}.ux-prototype .decision-record .room-choice-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:6px 12px;display:grid}.ux-prototype .decision-record .room-choice-list>div{flex-wrap:wrap;align-items:center;min-width:0;display:flex}.ux-prototype .decision-record .room-choice-reference{gap:8px}.ux-prototype .decision-record .room-choice-reference img{object-fit:contain;max-width:36px;max-height:42px}.ux-prototype .decision-record .room-choice-list>div>b{font-size:12px}.ux-prototype .floor-details .floor-loadout .empty-note{margin:8px 0;padding:0}.ux-prototype .floor-details .floor-facts .room-token-usage{margin-left:auto}.ux-prototype .floor-details .inspector-head,.ux-prototype .floor-details .floor-facts>div{min-height:0}.ux-prototype .floor-details .room-token-usage{flex:0 auto;min-height:0}.ux-prototype .floor-details .room-token-usage summary{min-height:44px}.ux-prototype .floor-details .inventory-head{min-height:0;padding-bottom:8px}.ux-prototype .floor-details .floor-deck-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}.ux-prototype .floor-details .potion-line{padding:0}.ux-prototype .decision-record .reward-item-art.kind-action,.ux-prototype .decision-record .reward-item-art.empty{display:none}.turn-situation{align-self:start;position:sticky;top:20px}@media (width<=700px){.ux-prototype .floor-details .floor-facts{grid-template-columns:1fr 1fr;gap:12px;display:grid}.ux-prototype .floor-details .floor-facts .room-token-usage{margin:0}.ux-prototype .floor-details .room-token-usage[open]{grid-column:1/-1}.ux-prototype .floor-details .floor-facts .key-progress{width:36px}.turn-situation{position:static}}.ux-prototype .floor-details .room-token-usage summary{flex-wrap:wrap;gap:8px}.ux-prototype .floor-details .room-token-usage summary strong{white-space:nowrap;font-size:18px}.ux-prototype.numbers-exact .floor-details .room-token-usage summary strong{white-space:normal;overflow-wrap:anywhere}.composition-labels span:before{content:none}.composition-labels>span:before{content:""}.comparison-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:8px 24px;padding:12px 18px}.comparison-identity{grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;display:flex}.comparison-identity>div{min-width:0}.comparison-identity small{text-align:right;margin:0}.comparison-identity .group-info{margin-left:8px}.comparison-depth,.comparison-tokens{align-content:start;gap:8px}.comparison-identity .identity-outcomes{flex:0 300px;margin-left:auto;display:block}.identity-outcomes .comparison-metric>span{display:none}.identity-outcomes .comparison-metric small{text-align:left;margin-top:3px;font-size:12px;line-height:1.3}.identity-outcomes .outcome-track{height:7px;margin:0}.comparison-composition{align-content:start;gap:14px;min-width:0;display:grid}.distribution-inline-detail{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.distribution-inline-detail b{color:var(--parchment);font-weight:400}.comparison-track,.outcome-track{margin-top:6px}.comparison-guide{margin:14px 0}.benchmark-explorer-head{margin-bottom:16px}@media (width<=1000px){.comparison-row{grid-template-columns:1fr 1fr;gap:16px 24px}.comparison-composition{grid-column:1/-1}.comparison-composition .composition-pair{grid-template-columns:1fr 1fr;gap:24px}}@media (width<=700px){.comparison-row{grid-template-columns:1fr;gap:10px;padding:12px}.comparison-identity .identity-outcomes{max-width:300px;margin:6px 0}.comparison-identity{display:block}.comparison-identity small{text-align:left;margin-top:4px}.comparison-composition .composition-pair{grid-template-columns:1fr;gap:12px}.comparison-depth:before,.comparison-tokens:before{content:none}.ux-prototype .floor-details .room-token-usage summary{grid-template-columns:1fr;gap:4px;padding:0;display:grid}.ux-prototype .floor-details .room-token-usage summary:before{content:none}}.ux-prototype .floor-details .enemy-reference{background:#191519;grid-template-columns:48px minmax(0,1fr) auto;gap:4px 10px;padding:10px;display:grid}.ux-prototype .floor-details .enemy-reference .enemy-portrait{grid-row:1/3;width:48px;height:48px}.ux-prototype .floor-details .enemy-reference .enemy-portrait img{width:46px;height:46px}.ux-prototype .floor-details .enemy-reference>strong{font-size:16px}.ux-prototype .floor-details .enemy-reference>span:not(.enemy-portrait){background:0 0;grid-area:2/2/auto/-1;padding:0;font-size:14px}.ux-prototype .floor-details .enemy-reference>b{font-size:14px;font-weight:400}.comparison-depth:empty,.comparison-tokens:empty{display:none}.ux-prototype .decision-record .room-choice-content{flex:100%;width:100%;min-width:0}.ux-prototype .decision-record .room-choice-reference{grid-template-columns:36px minmax(0,1fr);width:100%;display:grid}:is(.ux-prototype .decision-record .room-choice-reference:has(.kind-action),.ux-prototype .decision-record .room-choice-reference:has(.reward-item-art.empty)){grid-template-columns:minmax(0,1fr)}.ux-prototype .decision-record .room-choice-copy{min-width:0}.ux-prototype .decision-record .room-choice-copy small{text-transform:none}#selected-combat-turn{scroll-margin-top:20px}@media (width<=400px){.ux-prototype .floor-details .floor-navigation button{width:44px;padding:8px;font-size:0}.ux-prototype .floor-details .floor-navigation button:first-of-type:before{content:"←";font-size:18px}.ux-prototype .floor-details .floor-navigation button:last-of-type:before{content:"→";font-size:18px}}.ux-prototype .floor-details .inspector-head{align-self:end;align-items:end}.ux-prototype .floor-details .inspector-head-controls{align-self:end}.ux-prototype .floor-details .play-floor,.ux-prototype .floor-details .floor-navigation button,.ux-prototype .floor-details .floor-select select{box-sizing:border-box;height:44px}.output-usage-label{align-items:center;gap:.4rem;display:flex}.output-usage-info{text-transform:none;flex:none;display:inline-block;position:relative}.output-usage-info>summary{color:#c6a36b;width:24px;height:24px;font:inherit;cursor:pointer;border:1px solid;border-radius:50%;place-items:center;padding:0;font-size:14px;line-height:1;list-style:none;display:grid}.output-usage-info>summary::-webkit-details-marker{display:none}.output-usage-info>summary:focus-visible{outline-offset:3px;outline:2px solid #e1c78e}.output-usage-info>p{z-index:200;box-sizing:border-box;color:#e6dccb;width:min(280px,100vw - 24px);font:inherit;letter-spacing:normal;text-align:left;background:#201d19;border:1px solid #8b7856;margin:0;padding:12px;font-size:14px;line-height:1.5;position:fixed;box-shadow:0 6px 20px #0008}.ux-prototype .run-context-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.ux-prototype .watch-run{color:var(--gold)}.ux-prototype .route-canvas{min-width:0}.ux-prototype .floor-peek{z-index:80;border:1px solid var(--line-bright);background:#1d171b;flex-direction:column;width:420px;max-width:calc(100vw - 24px);height:auto;max-height:calc(100dvh - 40px);padding:0;position:fixed;top:20px;bottom:auto;right:20px;overflow:hidden;box-shadow:0 16px 60px #0009;display:flex!important}.ux-prototype .floor-peek>*{width:100%}.peek-header{justify-content:space-between;align-items:center;gap:16px;padding:16px 20px 8px;display:flex}.peek-header span{color:var(--gold);font-size:14px}.peek-header h2{margin:4px 0;font-size:28px;line-height:1.15}.floor-peek button{border:1px solid var(--line);min-width:44px;min-height:44px;color:var(--parchment);background:#2b2024;padding:8px 12px;font-size:16px}.peek-header>button{background:0 0;border:0;font-size:26px}.peek-character{object-fit:contain;width:40px;height:40px}.peek-controls{border-bottom:1px solid var(--line);grid-template-columns:44px minmax(0,1fr) 44px auto;gap:6px;padding:8px 16px 16px;display:grid}.peek-controls select{height:44px}.peek-scroll{overscroll-behavior:contain;min-height:0;padding:0 20px 20px;overflow-y:auto}.peek-state{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:16px 24px;padding:16px 0;display:flex}.peek-state span,.peek-state strong{display:block}.peek-state span{color:var(--dim);margin-bottom:4px;font-size:14px}.peek-state strong{color:var(--parchment);font-size:24px}.peek-state strong small{color:var(--dim);font-size:16px;font-weight:400}.peek-state .key-progress{width:48px}.peek-battle{grid-template-columns:1fr auto;align-items:center;gap:6px 12px;padding:20px 0;display:grid}.peek-battle strong{font-size:20px}.peek-battle span{color:var(--dim);grid-column:1;font-size:14px}.peek-battle button{color:var(--gold);grid-area:1/2/3}.peek-decision{border-bottom:1px solid var(--line);padding:16px 0}.peek-choice{align-items:center;gap:12px;display:flex}.peek-choice img{object-fit:contain;width:48px;height:48px}.peek-choice strong,.peek-choice small{display:block}.peek-choice strong{font-size:20px;line-height:1.35}.peek-choice small{color:var(--dim);margin-bottom:4px;font-size:14px}.peek-decision p,.peek-change{color:#d1c39e;margin:8px 0;font-size:16px;line-height:1.5}.floor-peek summary{min-height:44px;color:var(--dim);padding:12px 0;font-size:16px}.peek-decision details ul{margin:0;padding-left:20px;font-size:16px;line-height:1.6}.peek-equipment{padding:16px 0 0}.peek-equipment h3{color:var(--dim);margin:0 0 10px;font-size:16px;font-weight:400}.peek-potions{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:16px;display:flex}.peek-potions h3{width:100%;margin:0}.peek-potions .glossary-reference{align-items:center;gap:6px;font-size:14px;display:flex}.peek-relics>div{flex-wrap:wrap;gap:6px;display:flex}.peek-relics .glossary-reference{justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.peek-relics img{object-fit:contain;width:40px;height:40px}.peek-deck{border-block:1px solid var(--line);margin-top:16px}.peek-deck .floor-deck-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:4px 0 16px;font-size:16px;display:grid}.peek-evidence{color:var(--dim);margin-top:4px;font-size:14px;line-height:1.6}.peek-evidence a{color:var(--gold)}.ux-prototype .floor-peek.replay-expanded{width:min(1160px,100vw - 40px)}.replay-expanded .peek-scroll{grid-template-columns:minmax(0,1fr) 270px;gap:0 24px;display:grid}.replay-expanded .peek-state,.replay-expanded .peek-story,.replay-expanded .peek-replay{grid-column:1}.replay-expanded .peek-equipment{border-left:1px solid var(--line);grid-area:1/2/4;padding-left:20px}.replay-expanded .peek-evidence{grid-column:1/-1}.peek-replay .turn-workspace{margin:0}.peek-replay .combat-workspace>header{display:none}.replay-expanded .peek-battle{padding:12px 0}.ux-prototype .floor-peek .turn-token-badge,.ux-prototype .floor-peek .turn-token-breakdown{display:none}.ux-prototype .floor-peek .turn-situation{position:static}.ux-prototype .floor-peek .combat-turn-body{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px}.ux-prototype .route-view .map-preview.active{z-index:70;pointer-events:none;border:1px solid var(--line-bright);background:#241c21;width:280px;padding:16px;display:block;position:fixed;top:auto;bottom:24px;left:24px;box-shadow:0 8px 30px #0008}.ux-prototype .map-preview p{margin:8px 0;font-size:18px}.ux-prototype .map-preview small{color:var(--dim);font-size:12px}@media (width>=1600px){.ux-prototype .floor-peek{right:max(20px,50vw - 780px)}}@media (width<=1100px){.ux-prototype .has-floor-peek .exploration-layout>.viewport{margin-right:0}.ux-prototype .floor-peek{width:400px;max-height:64dvh;top:auto;bottom:12px;right:12px}.ux-prototype .floor-peek.replay-expanded{width:calc(100vw - 24px);max-height:none;top:12px;bottom:12px}.replay-expanded .peek-scroll{display:block}.replay-expanded .peek-equipment{border-left:0;padding-left:0}}@media (width<=600px){.ux-prototype .floor-peek{width:calc(100vw - 16px);max-width:none;max-height:62dvh;bottom:8px;right:8px}.ux-prototype .floor-peek.replay-expanded{width:calc(100vw - 16px);top:8px;bottom:8px;right:8px}.peek-header{padding:12px 14px 4px}.peek-header h2{font-size:24px}.peek-controls{padding:8px 12px 12px}.peek-scroll{padding:0 14px 16px}.peek-controls .peek-play{padding:6px;font-size:14px}.ux-prototype .floor-peek .combat-turn-body{grid-template-columns:1fr}.ux-prototype .route-view .map-preview.active{display:none}}.ux-prototype .floor-peek{width:520px}.scene-heading{align-items:center;gap:12px;margin:16px 0;display:flex}.scene-heading>img{object-fit:contain;width:52px;height:52px}.scene-heading h3{color:var(--gold);margin:0;font-size:24px;font-weight:400}.scene-heading small{color:var(--dim);margin-left:auto;font-size:13px}.shop-shelf{border-bottom:1px solid var(--line);margin-bottom:16px;padding:0 0 16px}.shop-shelf h4{color:var(--dim);margin:0 0 12px;font-size:14px;font-weight:400}.scene-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.shop-shelf .scene-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.scene-item{text-align:center;background:#231c20;border:1px solid #594c3b;min-width:0;padding:10px 6px;position:relative}.scene-item-reference{flex-direction:column;align-items:center;gap:8px;display:flex;border:0!important;text-decoration:none!important}.scene-item .reward-item-art{flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;display:flex}.scene-item .reward-item-art img{object-fit:contain;width:60px;height:60px}.scene-item.card .reward-item-art{background:#17131a;border:1px solid #8f7955;padding:4px}.scene-item strong{overflow-wrap:anywhere;font-size:16px;font-weight:400;line-height:1.2;display:block}.scene-item small{color:var(--dim);margin-top:6px;font-size:12px;display:block}.scene-item .scene-price{color:#e9bb68;justify-content:center;align-items:center;gap:5px;font-size:16px;display:flex}.scene-price img{object-fit:contain;width:16px;height:16px}.scene-item.chosen{background:#353120;border-color:#d9b866;box-shadow:inset 0 0 0 1px #a2834144}.scene-item.chosen strong{color:#f6dda0}.scene-item.offered{background:#19171b;border-color:#39353a}.scene-item.offered .reward-item-art{filter:grayscale(.9);opacity:.55}.scene-item.offered strong{color:#bdb1aa}.scene-item.offered:hover .reward-item-art,.scene-item.offered:focus-within .reward-item-art{filter:none;opacity:1}.scene-status{color:var(--dim);margin-top:8px;font-size:12px;display:block}.chosen .scene-status{color:#e5c77e}.scene-caption{color:var(--dim);margin:12px 0;font-size:13px;line-height:1.5;display:block}.scene-loot{flex-wrap:wrap;gap:8px;padding:12px 0;display:flex}.scene-loot .scene-item{text-align:left;background:#29281e;border-color:#7d6b3d;align-items:center;padding:6px 10px;display:flex}.scene-loot .scene-item-reference{flex-direction:row}.scene-loot .reward-item-art,.scene-loot .reward-item-art img{width:32px;height:32px}.scene-loot .scene-item.card .reward-item-art{border:0;padding:0}.scene-loot .scene-item small{display:none}.campfire-options{border-block:1px solid var(--line);background:#2c201b;flex-wrap:wrap;justify-content:center;gap:10px;padding:16px 0;display:flex}.campfire-options .scene-item{background:0 0;border:0;flex:1;min-width:80px}.campfire-options .scene-item.chosen{background:#4a3320;box-shadow:inset 0 -3px #d9a75d}.campfire-options .reward-item-art,.campfire-options .reward-item-art img{width:68px;height:68px}.scene-subchoice{align-items:center;gap:12px;padding:14px 0;display:flex}.scene-subchoice>span{color:var(--dim);font-size:14px}.scene-subchoice .scene-item{box-shadow:none;background:0 0;border:0;flex:1;padding:0}.scene-subchoice .scene-item-reference{text-align:left;flex-direction:row}.scene-subchoice .reward-item-art,.scene-subchoice .reward-item-art img{width:42px;height:42px}.scene-subchoice .scene-status{display:none}.reward-offer{padding:8px 0 16px}.event-choice{border-bottom:1px solid var(--line);padding:12px 0}.event-choice>.scene-item{text-align:left;box-shadow:none;background:0 0;border:0}.event-choice>.scene-item .scene-item-reference{flex-direction:row}.event-choice>.scene-item .scene-status{display:none}.battle-enemies{flex-wrap:wrap;grid-column:1/-1;gap:12px;margin-bottom:12px;display:flex}.battle-enemies .game-reference{border:0;align-items:center;gap:8px;display:flex}.battle-enemies .game-reference>span:last-child{color:var(--dim);font-size:16px}.peek-battle .battle-enemies+strong{grid-column:1}.peek-battle:has(.battle-enemies)>button{grid-row:2/4}.floor-peek:not(.replay-expanded) .combat-turn-body{grid-template-columns:1fr}.peek-replay{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.ux-prototype .route-view .map-preview.active{width:340px;max-width:calc(100vw - 48px)}.preview-heading{align-items:center;gap:12px;display:flex}.preview-heading>img{object-fit:contain;width:40px;height:40px}.preview-heading strong{font-size:22px;display:block}.preview-heading small{color:var(--dim);font-size:14px}.preview-vitals{align-items:center;gap:10px;margin:12px 0;display:flex}.preview-vitals>img{object-fit:contain;width:32px;height:32px}.preview-vitals strong{font-size:18px}.preview-enemies .enemy-portrait{width:36px;height:36px}.preview-enemies b{color:var(--gold);font-size:14px;font-weight:400}.compact-scene .scene-loot{padding:4px 0}.peek-change img{vertical-align:middle;width:24px;height:24px;margin-right:8px}.hp-change{margin-top:4px;font-size:14px;display:inline-block}.hp-change.healed{color:#9ac98c}.hp-change.hurt{color:#ec9c91}@media (width<=1100px){.ux-prototype .has-floor-peek .exploration-layout>.viewport{margin-right:0}.ux-prototype .floor-peek{width:480px}}@media (width<=600px){.ux-prototype .floor-peek{width:calc(100vw - 16px)}.scene-grid{gap:6px}.shop-shelf .scene-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-item{padding:8px 4px}.scene-item strong{font-size:14px}.scene-item .reward-item-art,.scene-item .reward-item-art img{width:44px;height:44px}.scene-loot .reward-item-art,.scene-loot .reward-item-art img{width:28px;height:28px}.scene-item small{font-size:12px}.peek-state{gap:12px}.peek-character{width:30px;height:30px}.peek-state strong{font-size:20px}}.player-hud{border:1px solid var(--line);background:#242027;border-radius:8px;margin:14px 0;overflow:hidden}.player-hud header{background:#30252d;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex}.player-hud header>img{object-fit:contain;width:46px;height:46px}.player-hud h3,.player-hud h4{margin:0}.player-hud h3{font-size:20px}.player-hud small{color:var(--dim);font-size:13px}.player-hud header>div{flex:1;min-width:100px}.player-hud .hud-health{color:#f4a2a4;white-space:nowrap;font-size:20px}.player-hud .hud-gold{color:var(--gold);align-items:center;gap:4px;font-size:20px;display:flex}.hud-gold img{object-fit:contain;width:22px;height:22px}.hud-inventory{grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:16px;padding:12px;display:grid}.hud-inventory h4{color:var(--parchment);gap:8px;margin-bottom:8px;font-size:15px;display:flex}.hud-items{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.hud-items>.game-reference{align-items:center;gap:5px;min-height:40px;display:flex}.hud-items img{object-fit:contain;width:36px;height:36px}.hud-items .potion-sprite{flex-shrink:0}.hud-deck{border-top:1px solid var(--line);padding:10px 12px}.hud-deck summary{cursor:pointer;min-height:24px;font-size:16px}.hud-card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:12px;display:grid}.hud-card-list>.game-reference{align-items:center;gap:8px;font-size:15px;display:flex}.hud-card-list .reward-item-art,.hud-card-list .reward-item-art img{object-fit:contain;flex-shrink:0;width:42px;height:42px}.hud-floor-delta{gap:12px;padding:0 0 10px}.scene-item.effect-gain{background:#213b2e;border:1px solid #5c9670}.scene-item.effect-remove{background:#49272d;border:1px solid #c5737e}.scene-item.effect-upgrade{background:#253e54;border:1px solid #73a8d1}.scene-loot .scene-item .effect-label,.scene-item .effect-label{font-size:12px;font-weight:700;line-height:1.4;display:block}.effect-gain .effect-label{color:#a6e8b3}.effect-remove .effect-label{color:#ffadb3}.effect-upgrade .effect-label{color:#a9d7ff}.preview-enemies{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.preview-enemies>span{align-items:center;gap:6px;display:flex}.preview-enemies .enemy-portrait,.preview-enemies .enemy-portrait img{object-fit:contain;max-height:none;width:64px!important;height:64px!important}.preview-enemies .enemy-portrait{flex:0 0 64px}.battle-enemies .enemy-portrait{flex:0 0 56px;width:56px;height:56px}.battle-enemies .enemy-portrait img{object-fit:contain;width:56px;height:56px}.preview-enemies small{color:var(--parchment);font-size:15px}.compact-scene .scene-loot{margin-top:8px}.compact-scene .scene-item strong{font-size:15px}.floor-token-section{border-top:1px solid var(--line);padding:14px 0}.floor-token-section summary{cursor:pointer;min-height:28px;font-size:18px}.floor-token-section summary>strong{float:right;color:var(--gold)}.floor-token-section .token-breakdown{margin-top:14px}.ux-prototype .floor-peek.replay-expanded .peek-scroll>.player-hud{grid-area:1/2/4;align-self:start}.ux-prototype .has-floor-peek .exploration-layout>.viewport{margin-right:0!important}.map-workspace{min-width:0}.map-tools{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 12px;display:flex}.map-tools>span{color:var(--dim);font-size:14px}.map-tools button{min-width:44px;min-height:44px;color:var(--parchment);border:1px solid var(--line);background:#30252d;padding:8px}.map-tools output{text-align:center;min-width:42px;font-size:15px}.map-pan{overscroll-behavior:contain;cursor:grab;scrollbar-width:thin;border:1px solid var(--line);touch-action:pan-x pan-y pinch-zoom;border-radius:6px;max-height:70dvh;overflow:auto}.map-pan:active{cursor:grabbing}.map-pan .route-canvas{-webkit-user-select:none;user-select:none}.map-pan img{-webkit-user-drag:none}.theater-live-panel .player-hud{margin:12px 0}.theater-recap{border-top:1px solid var(--line);padding:16px 0}.theater-recap>h3{margin:0;font-size:20px}.theater-recap>small{color:var(--dim)}.theater-recap .room-scene{margin-top:12px}.theater-live-panel{scrollbar-width:thin}.theater-current strong{font-size:20px}.theater-thoughts{font-size:15px}.theater-live-panel>.player-hud,.theater-recap{margin:12px}.theater-live-panel .player-hud h3,.theater-live-panel .player-hud h4,.theater-live-panel .player-hud small,.theater-live-panel .player-hud strong{letter-spacing:normal;text-transform:none;font-family:inherit}@media (width<=700px){.hud-inventory{gap:10px}.player-hud header{gap:8px}.player-hud header>img{width:36px;height:36px}.player-hud .hud-health{font-size:18px}.ux-prototype .floor-peek.replay-expanded .peek-scroll>.player-hud{grid-area:auto/1}.map-tools>span{flex-basis:100%}.map-pan{max-height:65dvh}}@media (width<=600px){.ux-prototype .floor-peek{width:auto;max-width:none;left:8px;right:8px}.player-hud header>div{min-width:80px}.player-hud header>div>small{font-size:12px}.player-hud .hud-gold{font-size:18px}.hud-items>.game-reference{min-height:32px}.hud-deck summary{padding:0!important}.player-hud .hud-inventory{padding:10px}}@media (width<=420px){.player-hud header{grid-template-columns:32px minmax(0,1fr) auto;gap:5px 8px;display:grid}.player-hud header>img{grid-row:1/3;width:32px;height:32px}.player-hud header>div{grid-column:2/-1}.player-hud .hud-health{grid-column:2}.player-hud .hud-inventory{grid-template-columns:1fr}.hud-inventory>section{grid-template-columns:44px minmax(0,1fr);gap:6px;display:grid}.hud-inventory h4{flex-direction:column;gap:2px;font-size:13px}.hud-items{gap:4px}.hud-items img{width:32px;height:32px}}.floor-surface{display:contents}.ux-prototype .route-view .map-preview.active{max-height:calc(100dvh - 24px);overflow:hidden}.mobile-library-heading{display:none}@media (width<=600px){.ux-prototype .run-library:not(.collapsed){z-index:110;width:auto;max-width:none;height:100dvh;max-height:100dvh;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#1d171b;border:0;flex-direction:column;margin:0;display:flex;position:fixed;inset:0;overflow:hidden}.ux-prototype .run-library .mobile-library-heading{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.mobile-library-heading h2{color:var(--parchment);margin:0;font-size:24px}.mobile-library-heading button{min-width:44px;min-height:44px;color:var(--parchment);background:0 0;border:0;font-size:28px}.ux-prototype .run-library>.sort-control,.ux-prototype .run-library>.model-filter-control,.ux-prototype .run-library>.run-search-controls{flex-shrink:0}.ux-prototype .run-library .run-list{overscroll-behavior:contain;flex:1;min-height:0;max-height:none;overflow-y:auto}}.floor-backdrop{display:none}.floor-player-unit{z-index:80;overscroll-behavior:contain;border:1px solid var(--line-bright);background:#1d171b;width:310px;max-height:calc(100dvh - 40px);position:fixed;top:20px;right:560px;overflow-y:auto;box-shadow:0 16px 60px #0009}.floor-player-unit>.player-hud{border:0;border-radius:0;margin:0}.floor-player-unit .player-hud header{grid-template-columns:36px minmax(0,1fr) auto;gap:6px 8px;display:grid}.floor-player-unit .player-hud header>img{grid-row:1/3;width:36px;height:36px}.floor-player-unit .player-hud header>div{grid-column:2/-1}.floor-player-unit .player-hud .hud-health{grid-column:2}.floor-player-unit .hud-inventory{grid-template-columns:1fr}.floor-player-unit .hud-items{gap:8px}.floor-player-unit .hud-deck summary{min-height:40px;padding:8px 0}.floor-player-inline{display:none}.ux-prototype .floor-surface .floor-peek{right:20px}.peek-heading-copy{flex:1;min-width:0}.floor-heading-state{flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 0;display:flex}.floor-heading-state .hp-change{font-size:16px}.floor-heading-state .key-progress{width:42px;height:34px}.peek-header .floor-key-gain{align-items:center;gap:5px;font-size:14px;display:inline-flex}.floor-key-gain img{object-fit:contain;width:22px;height:22px}.peek-header>button{align-self:flex-start}.ux-prototype .floor-surface.is-expanded .floor-peek{width:calc(100vw - 370px);max-width:none}.floor-surface.is-expanded .floor-player-unit{left:20px;right:auto}.floor-surface.is-expanded .peek-scroll{display:block}.map-workspace{position:relative}.ux-prototype .map-workspace .route-canvas{width:100%;min-width:0;max-width:none}.map-workspace .map-pan{cursor:auto;touch-action:pan-y pinch-zoom;overflow-x:hidden}.map-workspace .map-pan:active{cursor:auto}@media (width>=701px){.map-workspace .route-node{width:48px;height:48px}.map-workspace .route-node>img:not(.map-key){width:36px;height:36px}.map-workspace .taken .route-node{width:54px;height:54px}.map-workspace .taken .route-node>img:not(.map-key){width:42px;height:42px}.map-workspace .map-boss>img{width:78px;height:64px}}.map-workspace .map-tools{z-index:10;border:1px solid var(--line-bright);background:#241b20;border-radius:5px;flex-wrap:nowrap;gap:0;margin:0;display:flex;position:absolute;top:12px;left:12px;overflow:hidden;box-shadow:0 3px 12px #0008}.map-workspace .map-tools button{border:0;border-right:1px solid var(--line);background:0 0;place-items:center;width:44px;min-width:44px;height:44px;padding:0;font-size:22px;display:grid}.map-workspace .map-tools button:last-of-type{border-right:0}.map-workspace .map-tools button:disabled{opacity:.4}.map-workspace .map-tools button:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}.map-workspace .map-zoom-status{clip-path:inset(50%);width:1px;min-width:0;height:1px;position:absolute;overflow:hidden}@media (width<=1100px){.floor-backdrop{z-index:79;cursor:default;background:#08060a99;border:0;display:block;position:fixed;inset:0}.floor-player-unit{display:none}.floor-player-inline{display:block}.ux-prototype .floor-surface .floor-peek,.ux-prototype .floor-surface.is-expanded .floor-peek{width:auto;max-width:none;height:auto;max-height:none;inset:24px}.floor-surface .peek-scroll{flex:1;min-height:0}.floor-surface .floor-peek>header,.floor-surface .peek-controls{flex-shrink:0}.floor-player-inline .player-hud{margin:12px 0}.floor-surface .peek-battle>button{display:none}}@media (width<=600px){.ux-prototype .floor-surface .floor-peek,.ux-prototype .floor-surface.is-expanded .floor-peek{width:auto;height:100dvh;max-height:100dvh;box-shadow:none;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);border:0;inset:0}.floor-heading-state{gap:6px 10px;margin:4px 0}.floor-heading-state .hp-change{font-size:14px}.floor-surface .peek-header{padding-top:10px}.floor-surface .peek-header h2{margin:3px 0}.floor-surface .peek-scroll{padding-bottom:24px}}.deck-change-gallery{border-block:1px solid var(--line);margin:16px 0;padding:16px 0}.deck-change-gallery h3{color:var(--parchment);margin:0 0 12px;font-size:18px}.deck-change-gallery p{color:var(--dim);margin:0;font-size:14px}.deck-change-items{flex-wrap:wrap;gap:8px;display:flex}.deck-change-items .deck-change-item{border:1px solid;align-items:center;gap:10px;min-width:150px;max-width:100%;padding:8px 12px;display:flex}.deck-change-item>span:last-child{flex-direction:column;gap:4px;display:flex}.deck-change-item strong{color:var(--parchment);font-size:16px}.deck-change-item small{font-size:13px}.deck-effect-gain{color:#a6e8b3}.deck-effect-remove{color:#ffadb3}.deck-effect-upgrade{color:#a9d7ff}.deck-change-item.deck-effect-gain{background:#213b2e}.deck-change-item.deck-effect-remove{background:#49272d}.deck-change-item.deck-effect-upgrade{background:#253e54}.deck-change-item .reward-item-art,.deck-change-item .reward-item-art img{object-fit:contain;flex-shrink:0;width:44px;height:44px}.deck-history-effects{gap:10px;font-size:14px;display:flex}.act-journey .journey-boss-art{justify-content:center;align-items:center;gap:4px;width:100%;height:112px;display:flex}.act-journey .journey-boss-art img{object-fit:contain;filter:drop-shadow(0 4px 5px #0008);width:min(45%,112px);height:104px}.act-journey .journey-boss-art .journey-boss-fallback{opacity:.5;width:40px;height:40px}@media (width<=600px){.act-journey .journey-boss-art{height:88px}.act-journey .journey-boss-art img{height:82px}}.ux-prototype .deck-list-view{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));display:grid}.ux-prototype .deck-list-head{grid-column:1/-1}.ux-prototype .deck-list-view>.deck-inventory-row{grid-template-columns:52px 28px minmax(0,1fr) 40px;align-items:center;gap:12px;padding:10px 12px;display:grid}.deck-list-art,.deck-list-art .reward-item-art,.deck-list-art .reward-item-art img{object-fit:contain;width:52px;height:44px}.ux-prototype .deck-list-info strong{white-space:normal;text-overflow:clip;font-size:18px;line-height:1.25;overflow:visible}.ux-prototype .deck-list-info>.game-reference{white-space:normal;overflow:visible}.ux-prototype .deck-list-info small{text-transform:none;letter-spacing:0;font-size:13px;line-height:1.4}@media (width<=600px){.ux-prototype .deck-list-view>.deck-inventory-row{grid-template-columns:40px 22px minmax(0,1fr) 30px;gap:7px;padding:10px 6px}.deck-list-art,.deck-list-art .reward-item-art,.deck-list-art .reward-item-art img{width:40px;height:40px}.ux-prototype .deck-list-info strong{font-size:16px}.deck-change-items .deck-change-item{flex:150px;min-width:0;padding:8px}}
