.start-panel input[data-v-7c4c5a77]{color:#24180c}.start-panel input[data-v-7c4c5a77]::placeholder{color:#735b3a;opacity:1}.vue-flow{position:relative;width:100%;height:100%;overflow:hidden;z-index:0;direction:ltr}.vue-flow__container{position:absolute;height:100%;width:100%;left:0;top:0}.vue-flow__pane{z-index:1}.vue-flow__pane.draggable{cursor:grab}.vue-flow__pane.selection{cursor:pointer}.vue-flow__pane.dragging{cursor:grabbing}.vue-flow__transformationpane{transform-origin:0 0;z-index:2;pointer-events:none}.vue-flow__viewport{z-index:4;overflow:clip}.vue-flow__selection{z-index:6}.vue-flow__edge-labels{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible{outline:none}.vue-flow .vue-flow__edges{pointer-events:none;overflow:visible}.vue-flow__edge-path,.vue-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.vue-flow__edge{pointer-events:visibleStroke;cursor:pointer}.vue-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__edge.animated path.vue-flow__edge-interaction{stroke-dasharray:none;animation:none}.vue-flow__edge.inactive{pointer-events:none}.vue-flow__edge.selected,.vue-flow__edge:focus,.vue-flow__edge:focus-visible{outline:none}.vue-flow__edge.selected .vue-flow__edge-path,.vue-flow__edge:focus .vue-flow__edge-path,.vue-flow__edge:focus-visible .vue-flow__edge-path{stroke:#555}.vue-flow__edge-textwrapper{pointer-events:all}.vue-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vue-flow__connection{pointer-events:none}.vue-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.vue-flow__connectionline{z-index:1001}.vue-flow__nodes{pointer-events:none;transform-origin:0 0}.vue-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.vue-flow__node.draggable{cursor:grab;pointer-events:all}.vue-flow__node.draggable.dragging{cursor:grabbing}.vue-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.vue-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.vue-flow__nodesselection-rect.dragging{cursor:grabbing}.vue-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px}.vue-flow__handle.connectable{pointer-events:all;cursor:crosshair}.vue-flow__handle-bottom{left:50%;bottom:0;transform:translate(-50%,50%)}.vue-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.vue-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.vue-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.vue-flow__edgeupdater{cursor:move;pointer-events:all}.vue-flow__panel{position:absolute;z-index:5;margin:15px}.vue-flow__panel.top{top:0}.vue-flow__panel.bottom{bottom:0}.vue-flow__panel.left{left:0}.vue-flow__panel.right{right:0}.vue-flow__panel.center{left:50%;transform:translate(-50%)}@keyframes dashdraw{0%{stroke-dashoffset:10}}:root{--vf-node-bg: #fff;--vf-node-text: #222;--vf-connection-path: #b1b1b7;--vf-handle: #555}.vue-flow__edge.updating .vue-flow__edge-path{stroke:#777}.vue-flow__edge-text{font-size:10px}.vue-flow__edge-textbg{fill:#fff}.vue-flow__connection-path{stroke:var(--vf-connection-path)}.vue-flow__node{cursor:grab}.vue-flow__node.selectable:focus,.vue-flow__node.selectable:focus-visible{outline:none}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{padding:10px;border-radius:3px;width:150px;font-size:12px;text-align:center;border-width:1px;border-style:solid;color:var(--vf-node-text);background-color:var(--vf-node-bg);border-color:var(--vf-node-color)}.vue-flow__node-default.selected,.vue-flow__node-default.selected:hover,.vue-flow__node-input.selected,.vue-flow__node-input.selected:hover,.vue-flow__node-output.selected,.vue-flow__node-output.selected:hover{box-shadow:0 0 0 .5px var(--vf-box-shadow)}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible,.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible,.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid #555}.vue-flow__node-default .vue-flow__handle,.vue-flow__node-input .vue-flow__handle,.vue-flow__node-output .vue-flow__handle{background:var(--vf-handle)}.vue-flow__node-default.selectable:hover,.vue-flow__node-input.selectable:hover,.vue-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.vue-flow__node-input{--vf-node-color: var(--vf-node-color, #0041d0);--vf-handle: var(--vf-node-color, #0041d0);--vf-box-shadow: var(--vf-node-color, #0041d0);background:var(--vf-node-bg);border-color:var(--vf-node-color, #0041d0)}.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible{outline:none;border:1px solid var(--vf-node-color, #0041d0)}.vue-flow__node-default{--vf-handle: var(--vf-node-color, #1a192b);--vf-box-shadow: var(--vf-node-color, #1a192b);background:var(--vf-node-bg);border-color:var(--vf-node-color, #1a192b)}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible{outline:none;border:1px solid var(--vf-node-color, #1a192b)}.vue-flow__node-output{--vf-handle: var(--vf-node-color, #ff0072);--vf-box-shadow: var(--vf-node-color, #ff0072);background:var(--vf-node-bg);border-color:var(--vf-node-color, #ff0072)}.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{outline:none;border:1px solid var(--vf-node-color, #ff0072)}.vue-flow__nodesselection-rect,.vue-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible,.vue-flow__selection:focus,.vue-flow__selection:focus-visible{outline:none}.vue-flow__handle{width:6px;height:6px;background:var(--vf-handle);border:1px solid #fff;border-radius:100%}.vue-flow__controls{box-shadow:0 0 2px 1px #00000014}.vue-flow__controls-button{background:#fefefe;border:none;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;user-select:none;padding:5px}.vue-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.vue-flow__controls-button:hover{background:#f4f4f4}.vue-flow__controls-button:disabled{pointer-events:none}.vue-flow__controls-button:disabled svg{fill-opacity:.4}.vue-flow__minimap{background-color:#fff}.vue-flow__minimap.pannable{cursor:grab}.vue-flow__minimap.dragging{cursor:grabbing}.vue-flow__minimap-mask.pannable{cursor:grab}/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;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:where(:not(iframe)){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]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance: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{.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.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))}}:root{font-family:Georgia,serif;color:#f6ead2;background:#17130f;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:#24180c;background:#d6a44d;border:0;border-radius:6px;padding:.75rem 1rem;font-weight:700}button:disabled{cursor:wait;opacity:.6}input{width:100%;padding:.7rem;border:1px solid #8d7042;border-radius:5px;background:#fff8e7}.page-shell{max-width:980px;margin:0 auto;padding:3rem 1.25rem}header{margin-bottom:2rem}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,7vw,3.5rem);margin-bottom:0}.eyebrow,.step-id{color:#d6a44d;letter-spacing:.12em;font-size:.75rem;text-transform:uppercase}.panel{background:#2a211a;border:1px solid #59442d;border-radius:10px;padding:1.5rem;box-shadow:0 12px 30px #0004}.start-panel{max-width:420px}form{display:grid;gap:.8rem}.game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:-.5rem -.5rem .75rem;padding:.5rem;border-bottom:1px solid #59442d}.toolbar-title{color:#d6a44d;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.character-button{padding:.45rem .7rem;font-size:.9rem}.character-modal,.inventory-modal,.travel-modal,.settings-modal{width:min(92vw,420px);max-height:min(90vh,620px);overflow-y:auto}.settings-new-game{width:100%;margin-top:.75rem;background:#9b443a;color:#f6ead2}.travel-list{display:grid;gap:.5rem}.travel-list button{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left}.travel-list small{color:#59442d}.inventory-summary{color:#c9b9a0;font-size:.9rem}.inventory-list{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}.inventory-list li{display:flex;justify-content:space-between;gap:1rem;padding:.7rem .75rem;border:1px solid #806039;border-radius:6px;background:#17130f88}.inventory-list strong{color:#d6a44d}.modal-backdrop{position:fixed;z-index:10;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:1rem;background:#000b}.modal-header{display:flex;align-items:center;justify-content:space-between}.icon-button{width:2.25rem;height:2.25rem;padding:0;font-size:1.5rem;line-height:1}.modal-close{width:100%;margin-top:1rem}.combat-outcome-modal{width:min(92vw,430px);overflow:hidden;padding:2rem 1.5rem 1.5rem;text-align:center}.combat-outcome-victory .combat-outcome-modal{border-color:#d6a44d;background:radial-gradient(circle at 50% 0,#57401f,#2a211a 55%)}.combat-outcome-defeat .combat-outcome-modal{border-color:#9b443a;background:radial-gradient(circle at 50% 0,#542a27,#2a211a 55%)}.outcome-emblem{display:grid;width:4.5rem;height:4.5rem;margin:0 auto .75rem;place-items:center;border:3px solid #f6ead2;border-radius:50%;font-size:2.2rem;background:#2a211a;box-shadow:0 5px 16px #0008}.outcome-kicker{margin-bottom:.2rem;color:#d6a44d;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase}.combat-outcome-modal h2{margin-bottom:.6rem;font-size:2rem}.outcome-message{color:#f6ead2;font-size:1.05rem}.combat-outcome-modal h3{margin:1.25rem 0 .5rem;color:#d6a44d;font-size:.85rem;text-align:left}.mock-rewards{display:grid;gap:.45rem;margin:0;padding:0;list-style:none;text-align:left}.mock-rewards li{padding:.65rem .75rem;border:1px solid #806039;border-radius:6px;background:#17130f88}.outcome-hint{color:#c9b9a0;font-size:.9rem}.game-layout{display:block}.resource{display:flex;justify-content:space-between;margin:.5rem 0}dl{display:grid;grid-template-columns:1fr auto;margin:0}dt,dd{border-top:1px solid #59442d;padding:.35rem 0}dd{margin:0}.story-text{white-space:pre-line;font-size:1.25rem;min-height:6rem}.choices{display:grid;gap:.75rem;margin-top:1.5rem}.choices button{text-align:left}.dice-result{gap:.45rem;margin:1rem 0;padding:.75rem;border-radius:6px;font-family:ui-monospace,monospace}.dice-stage{position:relative}.dice-box{position:relative;width:100%;height:260px;overflow:hidden;border-radius:5px;background:radial-gradient(circle,#57401f,#21170d)}.dice-box canvas{width:100%;height:100%}.server-die-value{position:absolute;white-space:nowrap;padding:20px;z-index:1;top:50%;left:50%;display:grid;min-width:6.5rem;min-height:6.5rem;place-content:center;border:2px solid #f6ead2;border-radius:10px;color:#24180c;background:#d6a44d;box-shadow:0 4px 18px #0008;text-align:center;transform:translate(-50%,-50%)}.server-die-value small{font-size:.55rem;font-weight:700;letter-spacing:.08em}.server-die-value strong{font-size:3.2rem;line-height:1}.server-die-value.rolling{opacity:0;transform:translate(-50%,-50%) scale(.7)}.dice-fallback{margin:0}.success{background:#1f5033}.failure{background:#6a2c24}.error{background:#6a2c24;border-radius:6px;padding:.75rem 1rem}.discovery-notice{margin:.75rem auto;max-width:900px;padding:.65rem 1rem;border:1px solid #508a7b;border-radius:6px;color:#d9f4e9;background:#19352f}@media(max-width:700px){.game-layout{grid-template-columns:1fr}.character-panel{order:2}}.combatants{display:grid;gap:.75rem;margin:1rem 0}.combat-dice{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.combat-dice .dice-result{margin:.25rem 0;padding:.35rem}.combat-dice .dice-box{height:150px}.combat-dice h3{font-size:.9rem}.combat-dice h3{margin-bottom:.35rem}.combat-dice:not(.enemy-dice) h3{color:#d6a44d}.combat-dice:not(.enemy-dice) .dice-box{background:radial-gradient(circle,#57401f,#21170d)}.combat-dice:not(.enemy-dice) .server-die-value{border-color:#f6ead2}.combat-dice.enemy-dice .dice-box{background:radial-gradient(circle,#572626,#21100d)}.combat-dice.enemy-dice .server-die-value{border-color:#e07070}.combat-rules{color:#d8c6a6;font-size:.95rem}.combatant{display:grid;gap:.25rem;padding:.85rem;border:1px solid #59442d;border-radius:6px}.combatant.active{border-color:#d6a44d;box-shadow:0 0 0 1px #d6a44d}.combatant.defeated{opacity:.5;text-decoration:line-through}.combatant span{color:#d8c6a6;font-size:.9rem}.combatant button{justify-self:start;margin-top:.35rem}.turn-status{color:#d6a44d;font-weight:700}.combat-log{margin-top:.5rem;border-top:1px solid #59442d;padding-top:.5rem}.combat-log ol{margin:.4rem 0 0;padding-left:1.25rem}.combat-log li{margin:.2rem 0;font-size:.8rem}@media(max-width:700px){.page-shell{min-height:100dvh;padding:.75rem .65rem}header{margin-bottom:.65rem}header h1{font-size:1.55rem}.panel{padding:.8rem;border-radius:8px}.story-panel{min-height:calc(100dvh - 5rem)}.story-text{min-height:0;font-size:1.05rem;line-height:1.45}.choices{margin-top:.75rem;gap:.5rem}.choices button{padding:.6rem .7rem}.combat-rules{margin-bottom:.5rem;font-size:.78rem;line-height:1.3}.combatants{gap:.35rem;margin:.5rem 0}.combatant{grid-template-columns:1fr auto;gap:.15rem .5rem;padding:.45rem .55rem;font-size:.82rem}.combatant span{font-size:.72rem}.combatant button{grid-column:1 / -1;margin-top:.15rem;padding:.45rem .6rem;font-size:.78rem}.combat-dice .dice-box{height:90px}.server-die-value{min-width:4rem;min-height:4rem}.server-die-value strong{font-size:1.5rem}}@media(min-width:701px){.combat-dice .dice-box{height:190px}}.page-shell.game-active{display:flex;flex-direction:column;height:100dvh;overflow:hidden}.game-active header{flex:0 0 auto}.game-active .game-layout{display:flex;flex:1 1 auto;min-height:0}.story-panel{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;overflow:hidden;padding-bottom:.8rem}.story-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:.15rem}.combatants{display:block;margin:.55rem 0}.combatant{transition:opacity .25s ease,border-color .25s ease,transform .25s ease,box-shadow .25s ease}.combatant.active{animation:active-pulse 1.8s ease-in-out infinite}.combat-player .combatant{border-color:#7c633b;background:linear-gradient(135deg,#30271d,#261d16)}.combat-enemies .combatant{border-color:#704040;background:linear-gradient(135deg,#322020,#261919)}.combat-dice{display:block;width:100%;min-width:0;margin:clamp(.45rem,1.8vh,1rem) 0;padding:clamp(.35rem,1.2vw,.75rem);border:1px solid #806536;border-radius:10px;background:#1d1712;box-shadow:inset 0 0 0 1px #0005,0 6px 18px #0004}.combat-dice h3{margin:0 0 .35rem;color:#d6a44d;font-size:clamp(.8rem,2.5vw,1rem)}.enemy-dice{border-color:#8b4545}.enemy-dice h3{color:#e07070}.combat-dice .dice-result{margin:0;padding:clamp(.25rem,1vw,.6rem)}.combat-dice .dice-box{height:auto;aspect-ratio:2.7 / 1;min-height:3.5rem;max-height:11rem}.combat-dice .server-die-value{min-width:clamp(3.5rem,18vw,6rem);min-height:clamp(3.5rem,18vw,6rem)}.combat-dice .server-die-value strong{font-size:clamp(1.5rem,7vw,2.8rem)}.dice-switch-enter-active,.dice-switch-leave-active{transition:opacity .25s ease,transform .25s ease}.dice-switch-enter-from{opacity:0;transform:translateY(-.5rem)}.dice-switch-leave-to{opacity:0;transform:translateY(.5rem)}.story-panel>.dice-result{margin-bottom:.75rem}.bottom-toolbar{position:fixed;z-index:5;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,1fr);gap:.25rem;padding:.4rem max(.45rem,env(safe-area-inset-left)) calc(.4rem + env(safe-area-inset-bottom)) max(.45rem,env(safe-area-inset-right));border-top:1px solid #59442d;background:#17130fee;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.bottom-tool{display:grid;place-items:center;gap:.1rem;min-width:0;padding:.35rem .15rem;color:#aa997e;background:transparent;border-radius:8px;font-size:clamp(1rem,4.5vw,1.35rem);transition:color .2s ease,background .2s ease,transform .2s ease}.bottom-tool small{overflow:hidden;max-width:100%;font-size:clamp(.6rem,2.3vw,.75rem);white-space:nowrap;text-overflow:ellipsis}.bottom-tool.active,.bottom-tool:hover{color:#f6ead2;background:#59442d88}.bottom-tool:active{transform:scale(.9)}.modal-enter-active,.modal-leave-active{transition:opacity .2s ease}.modal-enter-active .character-modal,.modal-leave-active .character-modal{transition:transform .25s ease,opacity .25s ease}.modal-enter-from,.modal-leave-to{opacity:0}.modal-enter-from .character-modal,.modal-leave-to .character-modal{opacity:0;transform:translateY(1rem) scale(.97)}button{transition:filter .2s ease,transform .15s ease,box-shadow .2s ease}button:hover:not(:disabled){filter:brightness(1.1);box-shadow:0 4px 12px #0005}button:active:not(:disabled){transform:translateY(1px) scale(.98)}@keyframes active-pulse{0%,to{box-shadow:0 0 0 1px #d6a44d66}50%{box-shadow:0 0 0 3px #d6a44d22,0 0 16px #d6a44d22}}@media(max-width:700px){.page-shell{min-height:100dvh;padding:.75rem .65rem calc(4.8rem + env(safe-area-inset-bottom))}header{margin-bottom:.65rem}header h1{font-size:1.55rem}.panel{padding:.8rem;border-radius:8px}.story-text{min-height:0;font-size:1.05rem;line-height:1.45}.combat-rules{margin-bottom:.4rem;font-size:.76rem;line-height:1.25}.combatant{grid-template-columns:1fr auto;gap:.15rem .5rem;padding:.45rem .55rem;font-size:.82rem}.combatant span{font-size:.72rem}.combatant button{grid-column:1 / -1;padding:.45rem .6rem;font-size:.78rem}.combat-log ol{max-height:4.5rem}}@media(min-width:701px){.story-panel{padding-bottom:.8rem}.bottom-toolbar{right:auto;bottom:1rem;left:50%;width:min(520px,90vw);border:1px solid #59442d;border-radius:12px;transform:translate(-50%)}}.combat-frame{display:grid;grid-template-rows:auto auto auto auto auto 1fr;gap:clamp(.45rem,1.5vh,.85rem);min-height:100%}.combat-header{margin:0;text-align:center}.combat-header .step-id{margin-bottom:.2rem}.combat-header h2{margin-bottom:0;font-size:clamp(1rem,4vw,1.4rem)}.combat-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.combat-roster .combatants{display:block;margin:0;min-width:0}.combat-roster .combatant{height:100%;min-height:5.7rem;place-content:center;text-align:center}.turn-status{justify-self:center;margin:0;padding:.3rem .75rem;border:1px solid #d6a44d;border-radius:4px;text-transform:uppercase;font-size:clamp(.72rem,2.8vw,.9rem);letter-spacing:.07em}.combat-frame .combat-dice{margin:0}.combat-frame .combat-log{min-height:3.25rem;margin:0 auto;width:min(100%,26rem);padding:.45rem .65rem;border:1px solid #59442d;border-radius:6px}.combat-actions{align-self:end;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:.45rem;padding-top:.3rem}.combat-actions button{width:100%;padding:.65rem .8rem;border:1px solid #f6ead2;border-radius:3px;font-size:clamp(.9rem,3.5vw,1.1rem)}@media(max-width:700px){.combat-frame{gap:.45rem}.combat-roster .combatant{min-height:4.6rem;padding:.35rem}.combat-roster .combatant span{font-size:.65rem}.combat-frame .combat-dice .dice-box{max-height:min(22dvh,8rem)}.combat-frame .combat-log{min-height:2.7rem}}.combat-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:.28rem;padding:.28rem;border:2px solid #3c2a1c;border-radius:.35rem;background:linear-gradient(#57432f,#1d211e)}.combat-actions .action-tile{display:grid;min-height:4.25rem;align-content:center;gap:.08rem;padding:.25rem .12rem;border:1px solid #9d8053;border-radius:.28rem;color:#f8e4af;background:linear-gradient(145deg,#5d4731,#272b29);text-align:center}.action-tile>span{color:#f2c657;font-size:1.25rem;text-shadow:0 0 7px #ed7e28}.action-tile b{font-size:.58rem;text-transform:uppercase}.action-tile small{color:#d1b98b;font-size:.48rem}.combat-actions .attack-tile{border-color:#e4a94a;background:linear-gradient(145deg,#8b4826,#3c2820)}.combat-actions .action-tile:disabled:not(.attack-tile){cursor:not-allowed;opacity:.57}.combat-frame .combat-dice{padding:.32rem .42rem .45rem;border:2px solid #226477;border-radius:.35rem;background:linear-gradient(#173a43,#0b1c25);box-shadow:inset 0 0 12px #082e3b}.combat-frame .combat-dice h3{display:flex;justify-content:space-between;margin:0 0 .2rem;color:#e9d395;font-size:.64rem;letter-spacing:.08em;text-transform:uppercase}.combat-dice h3 span{color:#73e6ed;font-size:.54rem}.combat-frame .combat-dice .dice-result{padding:0;background:transparent}.combat-frame .combat-dice .dice-box{height:clamp(5.25rem,17dvh,7.5rem);border:1px solid #33ccdd;background:radial-gradient(circle,#185b69,#071720);box-shadow:inset 0 0 14px #19dbea66}.combat-frame .combat-dice .server-die-value{min-width:3.8rem;min-height:3.8rem;border-color:#6ff4ff;color:#07323e;background:#72e4e9}.combat-frame .combat-dice .server-die-value strong{font-size:.9rem}.combat-frame .combat-dice .server-die-value small{font-size:.42rem}@media(min-width:701px){.combat-frame{max-width:35rem;margin:auto}.combat-roster .combatant{min-height:5.3rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.combat-frame{grid-template-rows:auto auto auto minmax(8rem,1fr) auto auto auto;gap:.38rem;color:#f7edcf}.combat-header{display:none}.combat-roster{position:relative;z-index:2;gap:.38rem}.combat-roster .combatant{display:flex;align-items:center;min-height:4.5rem;padding:.3rem;text-align:left;border:2px solid #a67c39;border-radius:.45rem;background:linear-gradient(135deg,#123a4aee,#071b2ae8);box-shadow:inset 0 0 0 1px #071017,0 2px 7px #000a}.combat-enemies .combatant{border-color:#9b443a;background:linear-gradient(135deg,#432424ed,#19151ae8)}.combat-roster .combatant.active{border-color:#f5ca62;box-shadow:inset 0 0 0 1px #fff0a5,0 0 10px #f5bd4177}.combat-portrait{display:grid;flex:0 0 3.35rem;width:3.35rem;height:3.35rem;place-items:center;border:2px solid #d7ae58;border-radius:50%;color:#fff2b0;font-size:1.7rem;text-shadow:0 2px 3px #000;background:radial-gradient(circle at 38% 30%,#a5d4db,#285367 48%,#101b27 72%);box-shadow:inset 0 0 12px #000b}.enemy-portrait{border-color:#c06643;color:#f1c763;background:radial-gradient(circle at 38% 30%,#9aaf56,#526430 48%,#251b20 72%)}.combatant-info{display:grid;min-width:0;flex:1;gap:.13rem;padding-left:.35rem}.combatant-info strong{overflow:hidden;color:#fff0ad;font-size:clamp(.72rem,3vw,.88rem);white-space:nowrap;text-overflow:ellipsis}.combatant-info>span{color:#c9dbe0;font-size:.61rem}.hp-line{display:grid;grid-template-columns:1.15rem 1fr auto;align-items:center;gap:.18rem;color:#f5d878;font-size:.58rem}.hp-line i{display:block;height:.42rem;overflow:hidden;border:1px solid #e8c86c;border-radius:99px;background:#33191a}.hp-line em{display:block;height:100%;background:linear-gradient(90deg,#ee4b42,#f39843);box-shadow:0 0 5px #ef6e3d}.hp-line small{color:#fff4d1;font-size:.55rem}.turn-status{position:relative;z-index:2;width:min(94%,22rem);padding:.3rem .5rem;border:1px solid #b7853b;border-radius:.25rem;color:#fff1b0;background:linear-gradient(90deg,#1d2630,#503b24,#1d2630);box-shadow:0 2px 5px #0008;font-size:.68rem;letter-spacing:.03em;text-align:center;text-transform:none}.combat-frame .combat-log{width:100%;min-height:0;padding:.36rem .55rem;border:2px solid #866039;border-radius:.25rem;color:#2d2115;background:linear-gradient(100deg,#e9d3a8,#f7e6c0 48%,#c99e69);box-shadow:inset 0 0 14px #70431f55}.combat-frame .combat-log-title{color:#50371e;font-size:.67rem;font-weight:800;text-align:left;text-transform:uppercase}.combat-log-title span{float:right}.combat-log ol{margin:.22rem 0 0;padding-left:1rem}.combat-log li{font-size:.65rem;line-height:1.25}.combat-frame>.combat-dice{min-height:0;width:100%}.combat-frame>.combat-dice .dice-result{padding-inline:.6rem}.combat-frame>.combat-dice .dice-box{width:100%;height:10.5rem;max-height:none}@media(min-width:701px){.combat-frame>.combat-dice .dice-box{height:15rem}}html,body,#app{min-height:100%}.page-shell h1{font-size:1.55rem;line-height:1.2}.page-shell header{margin-bottom:.65rem}body{background:#0d0a08}.page-shell{width:min(100%,430px);max-width:430px;min-height:100dvh;margin:0 auto;padding:.75rem .65rem calc(4.8rem + env(safe-area-inset-bottom))}.page-shell:not(.game-active){display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.page-shell:not(.game-active) .start-panel{width:100%;max-width:none}.page-shell.game-active{width:min(100%,430px);max-width:430px;height:100dvh;min-height:100dvh;padding:.75rem .65rem calc(4.8rem + env(safe-area-inset-bottom))}.page-shell.game-active .story-panel{width:100%}.bottom-toolbar{right:auto;bottom:0;left:50%;width:min(100%,430px);border:0;border-top:1px solid #59442d;border-radius:0;transform:translate(-50%)}.combat-frame{max-width:none}.combat-frame>.combat-dice .dice-box{height:10.5rem}@media(min-width:431px){.page-shell{box-shadow:0 0 0 1px #302217,0 0 6rem #0009}.page-shell.game-active{border-right:1px solid #302217;border-left:1px solid #302217}.bottom-toolbar{bottom:0;border-right:1px solid #59442d;border-left:1px solid #59442d;border-radius:12px 12px 0 0}}@media(max-width:430px){.page-shell,.page-shell.game-active{width:100%;max-width:none}}.page-shell{font-size:1rem}.story-text{min-height:0;font-size:1.05rem;line-height:1.45}.eyebrow,.step-id{font-size:.75rem}.toolbar-title{font-size:1rem}.start-panel h2,.story-content h2,.character-modal h2{font-size:1.5rem}.start-panel h3,.story-content h3,.character-modal h3{font-size:1.17rem}.page-shell button,.page-shell input{font-size:1rem}.combat-dice h3{font-size:.8rem}.combat-dice h3 span{font-size:.54rem}.combat-dice .server-die-value strong{font-size:1.5rem}.combat-dice .server-die-value small{font-size:.42rem}.combatant-info strong{font-size:.88rem}.combatant-info>span{font-size:.61rem}.hp-line{font-size:.58rem}.hp-line b{font-size:.57rem}.hp-line small{font-size:.55rem}.turn-status{font-size:.68rem}.combat-frame .combat-log-title{font-size:.67rem}.combat-frame .combat-log li{font-size:.65rem}.combat-actions .action-tile>span{font-size:1.25rem}.combat-actions .action-tile b{font-size:.58rem}.combat-actions .action-tile small{font-size:.48rem}.bottom-tool{font-size:1rem}.bottom-tool small{font-size:.6rem}.page-shell,.page-shell.game-active{padding:.75rem .65rem calc(4.8rem + env(safe-area-inset-bottom))}.page-shell header,.game-active header{margin-bottom:.65rem}.panel{padding:.8rem;border-radius:8px}.game-toolbar{gap:.75rem;margin:-.5rem -.5rem .75rem;padding:.5rem}form{gap:.8rem}.game-layout{gap:0}.story-panel{padding-bottom:.8rem}.story-content{padding-right:.15rem}.story-text{margin-bottom:0}.choices{gap:.5rem;margin-top:.75rem}.choices button{padding:.6rem .7rem}.dice-result{gap:.45rem;margin:1rem 0;padding:.75rem}.combat-frame{gap:.38rem;margin:0;padding:0}.combat-roster{gap:.38rem;margin:0}.combat-roster .combatants{margin:0}.combat-roster .combatant{min-height:4.6rem;padding:.35rem}.combatant-info{gap:.13rem;padding-left:.35rem}.combat-dice,.combat-frame .combat-dice{margin:0;padding:.32rem .42rem .45rem}.combat-dice .dice-result,.combat-frame .combat-dice .dice-result{margin:0;padding:0}.combat-frame .combat-dice .dice-box{height:10.5rem;max-height:8rem}.combat-frame .combat-log{min-height:2.7rem;margin:0 auto;padding:.36rem .55rem}.combat-log ol{margin:.22rem 0 0}.combat-actions{gap:.28rem;padding:.28rem}.combat-actions .action-tile{min-height:4.25rem;gap:.08rem;padding:.25rem .12rem}.combat-actions button{padding:.65rem .8rem}.modal-backdrop{padding:1rem}.character-modal{padding:.8rem}.combat-outcome-modal{padding:2rem 1.5rem 1.5rem}.mock-rewards{gap:.45rem}.mock-rewards li{padding:.65rem .75rem}.resource{margin:.5rem 0}dt,dd{padding:.35rem 0}.modal-close{margin-top:1rem}.bottom-toolbar{gap:.25rem;padding:.4rem max(.45rem,env(safe-area-inset-left)) calc(.4rem + env(safe-area-inset-bottom)) max(.45rem,env(safe-area-inset-right))}.bottom-tool{gap:.1rem;padding:.35rem .15rem}.bottom-tool img{display:block;width:1.35rem;height:1.35rem;object-fit:contain}.story-dice-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:1rem;background:radial-gradient(circle at 50% 42%,#d6a44d24,transparent 42%),#030201b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.story-dice-modal{display:grid;width:min(100%,25rem);justify-items:center;padding:1rem;color:#f6ead2}.story-dice-kicker{margin-bottom:.25rem;color:#d6a44d;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase}.story-dice-modal h2{margin-bottom:.35rem;font-size:1.5rem}.story-dice-choice{max-width:20rem;margin-bottom:.75rem;color:#d8c6a6;font-size:.82rem}.story-dice-stage{position:relative;width:100%;perspective:52rem}.story-dice-stage .dice-result{margin:0;padding:0;background:transparent}.story-dice-stage .dice-box{height:min(15rem,42dvh);background:radial-gradient(circle,#7c581f99,#17100a55 48%,transparent 72%);transform:rotateX(5deg)}.story-dice-value{position:absolute;inset:50% auto auto 50%;display:grid;width:4.5rem;height:4.5rem;place-items:center;border-radius:50%;color:#2b1805;font-size:2rem;font-weight:800;background:radial-gradient(circle at 35% 30%,#fff3b7,#d6a44d 64%,#895719);box-shadow:0 0 1.5rem #e9bd5177,0 .5rem 1rem #0009;transform:translate(-50%,-50%) rotateX(-5deg)}.story-dice-button{min-width:10rem;margin-top:.85rem;border:1px solid #ffe19a;border-radius:999px;color:#fff2bd;font-weight:800;letter-spacing:.18em;background:linear-gradient(145deg,#a66b20,#4c2c0e);box-shadow:inset 0 1px #fff3c255,0 .55rem 1.25rem #0009,0 0 1.25rem #d6a44d55}.story-dice-confirm{background:linear-gradient(145deg,#2b806d,#123d36)}.story-dice-cancel{margin-top:.55rem;padding:.25rem .75rem;color:#c9b9a0;font-size:.75rem;font-weight:400;background:transparent;box-shadow:none}.story-dice-modal .server-die-value{display:none}.story-dice-modal .dice-result>strong,.story-dice-modal .dice-result>span{display:none}.story-dice-modal-enter-active,.story-dice-modal-leave-active{transition:opacity .2s ease}.story-dice-modal-enter-active .story-dice-modal,.story-dice-modal-leave-active .story-dice-modal{transition:opacity .25s ease,transform .25s ease}.story-dice-modal-enter-from,.story-dice-modal-leave-to{opacity:0}.story-dice-modal-enter-from .story-dice-modal,.story-dice-modal-leave-to .story-dice-modal{opacity:0;transform:scale(.94) translateY(.75rem)}.admin-story-page{min-height:100dvh;padding:1.25rem;color:#f6ead2;background:#17130f}.admin-story-header{display:flex;justify-content:space-between;align-items:start;gap:1rem;max-width:none;margin:0 0 1rem}.admin-story-header h1{margin:0;font-size:clamp(1.5rem,4vw,2.4rem)}.admin-story-header p{margin:.25rem 0 0;color:#c9b9a0}.admin-story-header a{padding:.55rem .8rem;color:#24180c;background:#d6a44d;border-radius:6px;font-weight:700;text-decoration:none}.admin-story-actions{display:flex;align-items:center;gap:.65rem}.admin-story-actions button{padding:.55rem .8rem}.admin-story-actions span{color:#c9b9a0;font-size:.8rem}.admin-story-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:1rem;height:calc(100dvh - 8.5rem)}.admin-story-canvas{overflow:hidden;border:1px solid #59442d;border-radius:10px;background:#211912}.admin-story-inspector{overflow-y:auto;padding:1rem;border:1px solid #59442d;border-radius:10px;background:#2a211a}.admin-story-inspector h2{margin-bottom:.6rem;color:#d6a44d;font-size:1rem;word-break:break-word}.admin-story-inspector ul{padding-left:1.1rem;color:#c9b9a0;font-size:.85rem}.admin-story-inspector p{white-space:pre-line;font-size:.9rem;line-height:1.55}.admin-story-loading{padding:2rem;text-align:center;color:#c9b9a0}.admin-story-canvas .vue-flow__edges{z-index:1}.admin-story-canvas .vue-flow__nodes{z-index:2}.admin-story-canvas .vue-flow__node{z-index:2;width:fit-content;max-width:260px;padding:.5rem .65rem;border:1px solid #806039;border-radius:7px;color:#f6ead2;font-size:.75rem;line-height:1.35;white-space:nowrap;background:#2a211a;box-shadow:0 4px 12px #0007}.admin-story-canvas .story-node-start{border-color:#d6a44d;background:#47351b}.admin-story-canvas .story-node-combat{border-color:#b84b3e;background:#4a2420}.admin-story-canvas .story-node-end{border-color:#7b6c84;background:#302938}.admin-story-canvas .story-node-choice{border-color:#508a7b;color:#d9f4e9;background:#19352f}.admin-story-canvas .story-node-highlight{border-color:#ffe19a;box-shadow:0 0 0 2px #d6a44d,0 0 22px #d6a44d99,0 4px 12px #0007}.admin-story-canvas .vue-flow__edge-path{stroke:#b69763;stroke-width:1.5}.admin-story-canvas .story-edge-highlight .vue-flow__edge-path,.admin-story-canvas .vue-flow__edge.selected .vue-flow__edge-path{stroke:#ffe19a;stroke-width:3;filter:drop-shadow(0 0 4px #d6a44d)}.admin-story-canvas .vue-flow__handle{width:8px;height:8px;border:2px solid #f6ead2;background:#806039}@media(max-width:800px){.admin-story-page{padding:.75rem}.admin-story-layout{grid-template-columns:1fr;grid-template-rows:minmax(55dvh,1fr) auto;height:auto}.admin-story-inspector{max-height:25dvh}}.world-status{display:flex;gap:1rem;margin-left:auto;color:#a9a9a9;font-size:.8rem}@media(max-width:700px){.world-status{gap:.5rem;font-size:.7rem;flex-wrap:wrap;justify-content:flex-end}}
