:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e7e4dc;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0a0a08}*{scrollbar-width:none}::-webkit-scrollbar{display:none}.game-console__transcript,.game-console__chips{-webkit-mask-image:linear-gradient(#0000,#000 14px calc(100% - 14px),#0000);mask-image:linear-gradient(#0000,#000 14px calc(100% - 14px),#0000)}html,body{touch-action:pan-x pan-y;overscroll-behavior:none;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent;height:100%;overflow:hidden}img{-webkit-touch-callout:none;-webkit-user-drag:none}button{-webkit-user-select:none;user-select:none;touch-action:manipulation}body{background:#0a0a08;height:100dvh;margin:0}#root{height:100%}h1,h2,p{margin:0}button{font:inherit}button,a,input,[role=menuitem],[role=button]{-webkit-tap-highlight-color:transparent}button,[role=button],[role=menuitem],.quick-time-event,.game-console__chips{-webkit-user-select:none;user-select:none}.icon{vertical-align:-.125em;flex:none;width:1em;height:1em;display:inline-block}.dice-roll-backdrop{z-index:1000;-webkit-backdrop-filter:blur(2px)saturate(.6);backdrop-filter:blur(2px)saturate(.6);box-sizing:border-box;cursor:pointer;background:radial-gradient(at 50% 45%,#0808068c,#030302e6 70%);justify-content:center;align-items:center;padding:1rem;animation:.25s ease-out diceFade;display:flex;position:fixed;inset:0}@keyframes diceFade{0%{opacity:0}to{opacity:1}}.dice-roll{--dice-line:#c7a24a8c;--dice-accent:#c7a24a;--dice-bone:#e7e4dc;--dice-muted:#e7e4dc94;--dice-fail:#c4573f;box-sizing:border-box;text-align:center;cursor:default;background:linear-gradient(var(--dice-line), var(--dice-line)) top left / 16px 1px no-repeat, linear-gradient(var(--dice-line), var(--dice-line)) top left / 1px 16px no-repeat, linear-gradient(var(--dice-line), var(--dice-line)) top right / 16px 1px no-repeat, linear-gradient(var(--dice-line), var(--dice-line)) top right / 1px 16px no-repeat, linear-gradient(var(--dice-line), var(--dice-line)) bottom left / 16px 1px no-repeat, linear-gradient(var(--dice-line), var(--dice-line)) bottom left / 1px 16px no-repeat, linear-gradient(var(--dice-line), var(--dice-line)) bottom right / 16px 1px no-repeat, linear-gradient(var(--dice-line), var(--dice-line)) bottom right / 1px 16px no-repeat, #0c0d0aeb;border:1px solid #e7e4dc14;width:100%;max-width:440px;padding:1.1rem 1.25rem 1.2rem;animation:.35s ease-out diceRise;position:relative}@keyframes diceRise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.dice-roll--failure{--dice-line:#c4573f99;animation:.4s cubic-bezier(.36,.07,.19,.97) both diceJolt;animation-delay:var(--verdict-delay,0s)}@keyframes diceJolt{0%,to{transform:translate(0)}20%{transform:translate(-5px,1px)}40%{transform:translate(4px,-2px)}60%{transform:translate(-3px,1px)}80%{transform:translate(2px)}}.dice-roll__header{flex-direction:column;align-items:center;gap:.35rem;display:flex}.dice-roll__stat{font-family:Courier New,monospace;font-size:calc(.72rem * var(--ui-scale,1));letter-spacing:.22em;text-transform:uppercase;color:var(--dice-accent);align-items:center;gap:.4rem;display:inline-flex}.dice-roll__stat .icon{width:1em;height:1em}.dice-roll__stake{font-family:Georgia,serif;font-size:calc(1.15rem * var(--ui-scale,1));color:var(--dice-bone);text-wrap:balance;font-weight:400;line-height:1.3}.dice-roll__table{background:radial-gradient(48% 40% at 50% 62%,#d6b26029,#0000 72%),repeating-linear-gradient(0deg,#e7e4dc09 0 1px,#0000 1px 22px),repeating-linear-gradient(90deg,#e7e4dc09 0 1px,#0000 1px 22px);height:clamp(190px,30vh,270px);margin:.6rem -.5rem .5rem;position:relative;-webkit-mask-image:radial-gradient(70% 75% at 50% 55%,#000 55%,#0000 100%);mask-image:radial-gradient(70% 75% at 50% 55%,#000 55%,#0000 100%)}.dice-roll__track{justify-content:center;gap:5px;max-width:340px;margin:0 auto;display:flex}.dice-roll__cell{box-sizing:border-box;border:1px solid #e7e4dc29;flex:1 1 0;max-width:34px;height:10px;transform:skew(-18deg)}.dice-roll__cell--oficio{background:#c7a24a80;border-color:#0000}.dice-roll--settled .dice-roll__cell--suerte{animation:.22s ease-out both diceCellFill;animation-delay:calc(var(--i,0) * .11s)}@keyframes diceCellFill{0%{box-shadow:none;background:0 0}60%{background:#fff1c4}to{background:#e8c766;border-color:#0000;box-shadow:0 0 8px #e8c76673}}.dice-roll__cell--exige{outline:1px solid var(--dice-bone);outline-offset:2px}.dice-roll--success .dice-roll__cell--exige{outline-color:#e8c766}.dice-roll--failure .dice-roll__cell--exige{outline-color:var(--dice-fail)}.dice-roll__legend{font-family:Courier New,monospace;font-size:calc(.66rem * var(--ui-scale,1));letter-spacing:.12em;text-transform:uppercase;color:var(--dice-muted);flex-wrap:wrap;justify-content:center;gap:.35rem 1rem;margin-top:.7rem;display:flex}.dice-roll__legend span{align-items:center;gap:.4rem;display:inline-flex}.dice-roll__swatch{width:12px;height:7px;display:inline-block;transform:skew(-18deg)}.dice-roll__swatch--oficio{background:#c7a24a80}.dice-roll__swatch--suerte{background:#e8c766}.dice-roll__swatch--exige{outline:1px solid var(--dice-bone);outline-offset:1px}.dice-roll__note{font-family:Georgia,serif;font-style:italic;font-size:calc(.82rem * var(--ui-scale,1));color:var(--dice-fail);align-items:center;gap:.4rem;margin-top:.6rem;display:inline-flex}.dice-roll__note .icon{width:1em;height:1em}.dice-roll__verdict{flex-direction:column;align-items:center;gap:.35rem;min-height:7.4rem;margin-top:.9rem;display:flex}.dice-roll__verdict>*{animation:.4s ease-out both diceVerdict;animation-delay:var(--verdict-delay,0s)}.dice-roll__verdict>.dice-roll__line{animation-delay:calc(var(--verdict-delay,0s) + .12s)}.dice-roll__verdict>.dice-roll__continue{animation-delay:calc(var(--verdict-delay,0s) + .26s)}@keyframes diceVerdict{0%{opacity:0;letter-spacing:.3em;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.dice-roll__headline{font-family:Georgia,serif;font-size:calc(1.45rem * var(--ui-scale,1));letter-spacing:.04em;color:#e8c766}.dice-roll--failure .dice-roll__headline{color:var(--dice-fail)}.dice-roll__line{max-width:34ch;font-family:Georgia,serif;font-style:italic;font-size:calc(.92rem * var(--ui-scale,1));color:var(--dice-muted);text-wrap:balance;line-height:1.45}.dice-roll__continue{color:var(--dice-bone);font-family:Courier New,monospace;font-size:calc(.8rem * var(--ui-scale,1));letter-spacing:.18em;text-transform:uppercase;cursor:pointer;background:0 0;border:1px solid #e7e4dc47;align-items:center;gap:.35rem;margin-top:.55rem;padding:.5rem 1.1rem .5rem 1.3rem;transition:border-color .2s,background .2s;display:inline-flex}.dice-roll__continue .icon{width:1em;height:1em}.dice-roll__continue:hover,.dice-roll__continue:focus-visible{border-color:var(--dice-accent);background:#c7a24a1f;outline:none}.dice-roll--instant .dice-roll__cell--suerte,.dice-roll--instant .dice-roll__verdict>*{animation-duration:.01ms;animation-delay:0s}@media (prefers-reduced-motion:reduce){.dice-roll,.dice-roll--settled .dice-roll__cell--suerte,.dice-roll__verdict>*{animation-duration:.01ms!important;animation-delay:0s!important}}@media (width<=700px){.dice-roll{padding:1rem .9rem 1.1rem}.dice-roll__table{height:min(28vh,210px)}}.bottom-sheet-backdrop{z-index:30;align-items:flex-end;display:flex;position:fixed;inset:0}.bottom-sheet-backdrop:before{content:"";-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000073;animation:.2s ease-out bottomSheetVeilIn;position:absolute;inset:0}.bottom-sheet-backdrop--closing:before{animation:.18s ease-in forwards bottomSheetVeilOut}.bottom-sheet{background:#14130f;border-radius:16px 16px 0 0;flex-direction:column;width:100%;max-height:92dvh;transition:height .32s cubic-bezier(.2,.8,.2,1);animation:.26s ease-out bottomSheetUp;display:flex;position:relative;overflow:hidden;box-shadow:0 -10px 40px #0000008c}.bottom-sheet--dragging{transition:none}.bottom-sheet__top{flex:none;padding:0 1rem}.bottom-sheet__grip{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;height:28px;margin:0 -1rem;display:flex}.bottom-sheet--dragging .bottom-sheet__grip{cursor:grabbing}.bottom-sheet__grip:focus-visible{outline-offset:-4px;border-radius:8px;outline:2px solid #c7a24a}.bottom-sheet__bar{background:#c7a24a8c;border-radius:3px;width:44px;height:5px;transition:background .2s,width .2s;box-shadow:0 0 8px #c7a24a40}.bottom-sheet__grip:hover .bottom-sheet__bar,.bottom-sheet--dragging .bottom-sheet__bar{background:#c7a24a;width:56px}.bottom-sheet__body{overscroll-behavior:contain;scrollbar-width:none;flex:auto;min-height:0;overflow-y:auto}.bottom-sheet__body::-webkit-scrollbar{display:none}.bottom-sheet__content{padding:.35rem 1rem calc(.9rem + env(safe-area-inset-bottom))}.bottom-sheet--closing{animation:.2s ease-in forwards bottomSheetDown}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.bottom-sheet{-webkit-backdrop-filter:blur(18px)saturate(160%);backdrop-filter:blur(18px)saturate(160%);background:#14130fb8;box-shadow:inset 0 1px #ffffff14,0 -10px 40px #00000073}}.bottom-sheet__head{justify-content:space-between;align-items:center;margin-bottom:.7rem;display:flex}.bottom-sheet__head h2{letter-spacing:.08em;text-transform:uppercase;color:#c7a24a;align-items:center;gap:.5rem;font:700 .85rem Courier New,monospace;display:flex}.bottom-sheet__title-icon{flex:none;width:1.1rem;height:1.1rem}.bottom-sheet__close{color:#c9c6ba;cursor:pointer;touch-action:manipulation;background:0 0;border:1px solid #514831;border-radius:8px;place-items:center;width:44px;height:44px;display:inline-grid}@keyframes bottomSheetVeilIn{0%{-webkit-backdrop-filter:blur();backdrop-filter:blur();background-color:#0000}to{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#00000073}}@keyframes bottomSheetVeilOut{0%{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#00000073}to{-webkit-backdrop-filter:blur();backdrop-filter:blur();background-color:#0000}}@keyframes bottomSheetUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes bottomSheetDown{0%{transform:translateY(0)}to{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){.bottom-sheet-backdrop:before,.bottom-sheet-backdrop--closing:before,.bottom-sheet,.bottom-sheet--closing{animation:none}.bottom-sheet{transition:none}}.game-console{background:#0d0c0a;border:1px solid #3a372e;border-radius:8px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden;box-shadow:inset 0 0 0 1px #c7a24a0f,0 10px 30px #00000073}@media (width>=701px){.game-console__chip{min-height:38px;font-size:calc(.8rem * var(--ui-scale,1));padding:.55rem .95rem}.game-console__transcript{padding:1.25rem 1.6rem}}.game-console__transcript{overscroll-behavior:contain;flex:1;min-height:0;padding:1rem 1.25rem;font-family:Georgia,serif;overflow-y:auto}.game-console__line{color:#e7e4dc;white-space:pre-line;line-height:1.5;font-size:inherit;margin:0 0 .6rem;animation:.3s ease-out fadeInLine}@keyframes fadeInLine{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.game-console__line:last-child{margin-bottom:0}.game-console__line--input{color:#c7a24a;opacity:.85;font-family:Courier New,monospace}.game-console__typing-cursor{vertical-align:text-bottom;background:#c7a24a;width:.55em;height:1.1em;margin-left:.1em;animation:1.1s step-end infinite game-console-cursor-blink;display:inline-block}@keyframes game-console-cursor-blink{50%{opacity:0}}.game-console__chips{overscroll-behavior:contain;border-top:1px solid #3a372e;flex-wrap:wrap;flex:none;align-items:stretch;gap:.5rem;max-height:132px;padding:.85rem;display:flex;overflow-y:auto}.game-console__chip{color:#e7e4dc;min-width:0;min-height:34px;font-family:Courier New,monospace;font-size:calc(.72rem * var(--ui-scale,1));letter-spacing:.02em;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;touch-action:manipulation;background:linear-gradient(135deg,#17150f 0%,#1a1813 100%);border:1px solid #514831;border-radius:999px;flex:0 auto;justify-content:center;align-items:center;gap:.35rem;padding:.5rem .8rem;transition:all .18s;display:inline-flex;position:relative;overflow:hidden}.game-console__chip-icon{opacity:.8;width:.7em;height:.7em}.game-console__chip{animation:.35s cubic-bezier(.22,1,.36,1) backwards chipIn;animation-delay:calc(var(--i,0) * 45ms)}@keyframes chipIn{0%{opacity:0;transform:translateY(6px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.game-console__result-icon{vertical-align:-.1em;color:#8fd18f;width:.9em;height:.9em}.game-console__result-icon--fail{color:#e07a6a}.game-console__chip--exit{color:#d8d2c4;border-style:dashed}.game-console__objective{font-size:calc(.95rem * var(--ui-scale,1));color:#e6dcc4;background:#c7a24a14;border-left:3px solid #c7a24a;margin:0 0 .5rem;padding:.45rem .75rem;line-height:1.4}.game-console__objective-label{color:#c7a24a;text-transform:uppercase;letter-spacing:.08em;font-size:calc(.75rem * var(--ui-scale,1));margin-right:.35rem}.game-console__chip--blocked{color:#8a8474;opacity:.75}.game-console__blocked-reason{font-size:calc(.9rem * var(--ui-scale,1));color:#c9a58a;margin:0 0 .5rem;line-height:1.4}.game-console__chip:hover{color:#c7a24a;background:linear-gradient(135deg,#1f1d16 0%,#23201a 100%);border-color:#c7a24a;transform:translateY(-1px);box-shadow:0 0 12px #c7a24a38,inset 0 0 6px #c7a24a14}.game-console__chip--open{color:#e2bd65;background:linear-gradient(135deg,#241f15 0%,#2a251c 100%);border-color:#c7a24a;box-shadow:0 0 14px #c7a24a4d,inset 0 0 8px #c7a24a1f}.game-console__chip:focus-visible{outline-offset:2px;outline:2px solid #c7a24a}.game-console__chip:active{transition-duration:80ms;transform:scale(.96)}.game-console__actions-inline{flex:0 auto;min-height:0;max-height:40vh;padding:0 .85rem;animation:.22s ease-out actionsExpand;overflow-y:auto}.game-console__actions-panel{background:linear-gradient(135deg,#17150feb,#12110df5);border:1px solid #c7a24a59;border-radius:8px;flex-direction:column;gap:.4rem;margin-bottom:.85rem;padding:.75rem;animation:.22s ease-out actionsSlide;display:flex;box-shadow:inset 0 0 20px #c7a24a0f}.game-console__actions-head{border-bottom:1px solid #c7a24a2e;justify-content:space-between;align-items:center;gap:.5rem;padding-bottom:.4rem;display:flex}.game-console__actions-title{color:#c7a24a;font-family:Courier New,monospace;font-size:calc(.68rem * var(--ui-scale,1));letter-spacing:.1em;text-transform:uppercase}.game-console__actions-close{color:#a7a397;cursor:pointer;touch-action:manipulation;background:0 0;border:1px solid #514831;border-radius:5px;flex:none;min-height:28px;padding:0 .55rem;font-family:Courier New,monospace;transition:all .15s}.game-console__actions-close:hover{color:#c7a24a;border-color:#c7a24a}.game-console__actions-list{flex-wrap:wrap;gap:.45rem;display:flex}.game-console__actions-list .game-console__blocked-reason{flex:1 0 100%;margin:-.15rem 0 .2rem}.game-console__action{color:#e7e4dc;min-height:34px;font-family:Courier New,monospace;font-size:calc(.74rem * var(--ui-scale,1));cursor:pointer;touch-action:manipulation;background:#ffffff05;border:1px solid #c7a24a59;border-radius:6px;flex:auto;justify-content:center;align-items:center;gap:.45rem;padding:.5rem .8rem;transition:all .15s;display:inline-flex}.game-console__action:hover{color:#e2bd65;background:#c7a24a1a;border-color:#c7a24a;transform:translateY(-1px);box-shadow:0 0 10px #c7a24a33}.game-console__action:active{transform:scale(.97)}.game-console__action:disabled{opacity:.5;cursor:default;box-shadow:none;color:#8b8680;background:0 0;border-color:#c7a24a33;transform:none}.game-console__action:focus-visible{outline-offset:1px;outline:2px solid #c7a24a}@keyframes actionsExpand{0%{opacity:0;max-height:0}to{opacity:1;max-height:200px}}@keyframes actionsSlide{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.game-console__form{background:#c7a24a05;border-top:2px solid #3a372e;align-items:center;gap:.5rem;padding:.6rem 1rem;transition:all .15s;display:flex}.game-console__prompt{color:#c7a24a;font-family:Courier New,monospace;transition:all .15s}.game-console__input{color:#e7e4dc;min-width:0;font-family:Georgia,serif;font-size:calc(1rem * var(--ui-scale,1));background:0 0;border:none;outline:none;flex:1;transition:color .2s}.game-console__input::placeholder{color:#8b8680;opacity:.7}.game-console__form:focus-within{background:#c7a24a0d;border-top-color:#c7a24a;box-shadow:inset 0 -2px 8px #c7a24a26}.game-console__form:focus-within .game-console__prompt{text-shadow:0 0 8px #c7a24a80}.game-console__quick-action:focus-visible{outline-offset:2px;outline:2px solid #c7a24a}@media (width<=700px){.game-console__transcript{-webkit-overflow-scrolling:touch;padding:.75rem .85rem}.game-console__form{min-height:48px;padding:.35rem .75rem;padding-bottom:max(.5rem, env(safe-area-inset-bottom))}.game-console__chips{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-top:1px solid #29271f;gap:.4rem;max-height:96px;padding:.5rem .6rem}.game-console__chip{min-height:44px;font-size:calc(.8rem * var(--ui-scale,1));border-radius:999px;padding:.5rem .75rem}.game-console__actions-inline{padding:0 .6rem}.game-console__actions-list{flex-direction:column}.game-console__action{min-height:48px;font-size:calc(.82rem * var(--ui-scale,1))}.game-console__input{min-height:42px;font-size:max(16px, calc(16px * var(--ui-scale,1)))}}.game-console__actions-inline--closing{animation:.18s ease-in forwards actionsCollapse}.game-console__actions-panel--closing{animation:.18s ease-in forwards actionsSlideOut}@keyframes actionsCollapse{0%{opacity:1;max-height:200px}to{opacity:0;max-height:0}}@keyframes actionsSlideOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-8px)}}.quick-time-event-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-sizing:border-box;background:#050506b8;justify-content:center;align-items:center;padding:1rem;animation:.2s ease-out qteBackdropFade;display:flex;position:fixed;inset:0}@keyframes qteBackdropFade{0%{opacity:0}to{opacity:1}}.quick-time-event{background:linear-gradient(135deg,#14141efa,#280f0ffa);border:2px solid #f44;border-radius:12px;width:100%;max-width:min(90vw,520px);max-height:90vh;padding:2rem;animation:.5s ease-out qtePulse;overflow-y:auto;box-shadow:0 0 40px #f446,inset 0 0 20px #ff44441a}@keyframes qtePulse{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.quick-time-event--urgent{border-color:#fa0;animation:.15s infinite qteUrgent}@keyframes qteUrgent{0%,to{transform:translate(0);box-shadow:0 0 30px #ff44444d,inset 0 0 20px #ff44441a}25%{transform:translate(-2px,1px);box-shadow:0 0 50px #fa0c,inset 0 0 30px #ffaa004d}50%{transform:translate(2px,-1px);box-shadow:0 0 50px #fa0c,inset 0 0 30px #ffaa004d}75%{transform:translate(-1px,-2px);box-shadow:0 0 50px #fa0c,inset 0 0 30px #ffaa004d}}.quick-time-event__prompt-icon{vertical-align:-.1em;width:.9em;height:.9em}.quick-time-event__prompt{font-size:calc(1.5rem * var(--ui-scale,1));color:#fa0;text-align:center;letter-spacing:1px;margin-bottom:.5rem;font-weight:700}.quick-time-event__hint{font-size:calc(.8rem * var(--ui-scale,1));color:#aaa;text-align:center;margin-bottom:1.5rem}.quick-time-event__timer{margin-bottom:1.5rem}.quick-time-event__bar{background:#ffffff1a;border:1px solid #ff44444d;border-radius:4px;height:8px;margin-bottom:.5rem;overflow:hidden}.quick-time-event__bar-fill{background:linear-gradient(90deg,#f44,#fa0);height:100%;transition:width 50ms linear}.quick-time-event__time{text-align:center;color:#f44;font-weight:700;font-size:calc(1.1rem * var(--ui-scale,1))}.quick-time-event__sequences{flex-wrap:wrap;justify-content:center;gap:1rem;display:flex}.quick-time-event__sequence{background:#ff44441f;border:2px solid #ff444480;border-radius:8px;flex-direction:column;align-items:center;gap:.6rem;min-width:140px;padding:.9rem 1rem;transition:all .2s;display:flex}.quick-time-event__sequence--selected{background:#44ff444d;border-color:#4f4;animation:.5s ease-out qteSuccess;box-shadow:0 0 20px #4f49}@keyframes qteSuccess{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.quick-time-event__name{font-size:calc(.85rem * var(--ui-scale,1));color:#ccc;letter-spacing:1px;font-weight:700}.quick-time-event__keys{gap:.4rem;display:flex}.quick-time-event__key{font-family:monospace;font-size:calc(1.1rem * var(--ui-scale,1));color:#fa0;cursor:pointer;touch-action:manipulation;background:#ffaa001a;border:2px solid #ffaa0080;border-radius:6px;justify-content:center;align-items:center;width:2.4rem;height:2.4rem;transition:all .15s;display:flex}.quick-time-event__key:hover:not(:disabled){border-color:#fa0;box-shadow:0 0 10px #ffaa0080}.quick-time-event__key:disabled{cursor:not-allowed}.quick-time-event__key--done{color:#fff;background:#44ff444d;border-color:#4f4}.room-atmosphere{pointer-events:none;position:absolute;inset:0;overflow:hidden}.room-atmosphere canvas{width:100%;height:100%;display:block}.room-image{background:#14130f;border:2px solid #3a372e;border-radius:12px;height:clamp(240px,35vh,460px);transition:box-shadow .3s;position:relative;overflow:hidden;box-shadow:0 0 20px #c7a24a26,inset 0 0 20px #c7a24a0d}.room-image:before{content:"";z-index:2;pointer-events:none;opacity:.7;background:linear-gradient(#c7a24a,#c7a24a) 0 0/26px 2px no-repeat,linear-gradient(#c7a24a,#c7a24a) 0 0/2px 26px no-repeat,linear-gradient(#c7a24a,#c7a24a) 100% 0/26px 2px no-repeat,linear-gradient(#c7a24a,#c7a24a) 100% 0/2px 26px no-repeat,linear-gradient(#c7a24a,#c7a24a) 0 100%/26px 2px no-repeat,linear-gradient(#c7a24a,#c7a24a) 0 100%/2px 26px no-repeat,linear-gradient(#c7a24a,#c7a24a) 100% 100%/26px 2px no-repeat,linear-gradient(#c7a24a,#c7a24a) 100% 100%/2px 26px no-repeat;position:absolute;inset:10px}.room-image:after{content:"";z-index:2;pointer-events:none;background:linear-gradient(90deg,#0000,#c7a24a38,#0000);width:35%;animation:1s cubic-bezier(.4,0,.2,1) .1s both roomSweep;position:absolute;top:0;bottom:0;left:0;transform:translate(-120%)}@keyframes roomSweep{to{transform:translate(320%)}}.room-image img{object-fit:cover;width:100%;height:100%;animation:18s ease-in-out infinite alternate ken-burns,.7s cubic-bezier(.25,.46,.45,.94) room-fade-in}@keyframes ken-burns{0%{transform:scale(1)translate(0)}to{transform:scale(1.12)translate(-2%,-1%)}}@keyframes room-fade-in{0%{opacity:0;filter:brightness(.7)contrast(.8)}to{opacity:1;filter:brightness()contrast()}}.room-image__plate{translate:calc(var(--px,0) * -14px) calc(var(--py,0) * -9px);will-change:translate;transition:translate .7s cubic-bezier(.2,.7,.2,1);position:absolute;inset:-16px}.room-image__plate img{object-fit:cover;width:100%;height:100%}.room-image__fog{mix-blend-mode:screen;opacity:.8;pointer-events:none;background:radial-gradient(38% 30% at 30% 62%,#c7a24a24,#0000 70%),radial-gradient(44% 26% at 72% 38%,#78aaa01a,#0000 70%);animation:22s ease-in-out infinite alternate roomFogDrift;position:absolute;inset:-20%}@keyframes roomFogDrift{0%{transform:translate(-5%,1%)}to{transform:translate(5%,-2%)}}.room-image__overlay{pointer-events:none;background:linear-gradient(#0a0a0a00 45%,#0a0a0ad9 100%);position:absolute;inset:0}.room-image__glow{pointer-events:none;background:radial-gradient(circle,#0000 0%,#14120d66 100%);position:absolute;inset:0}.room-image__scanlines{pointer-events:none;background:repeating-linear-gradient(0deg,#00000026,#00000026 2px,#0000 2px 4px);animation:.15s ease-out scanlineFlicker;position:absolute;inset:0}@keyframes scanlineFlicker{0%{opacity:.3}to{opacity:.08}}.room-image__label{z-index:3;letter-spacing:.08em;text-transform:uppercase;font-family:Courier New,monospace;font-size:calc(.8rem * var(--ui-scale,1));color:#c7a24a;background:#0a0a088c;padding:.2rem .55rem;animation:.5s ease-out .25s both labelIn;position:absolute;bottom:1.2rem;left:1.4rem}@keyframes labelIn{0%{opacity:0;transform:translate(-12px)}to{opacity:1;transform:translate(0)}}.room-image--empty{color:#c9c6ba;letter-spacing:.08em;text-transform:uppercase;font-family:Courier New,monospace;font-size:calc(.8rem * var(--ui-scale,1));background:#14130f;justify-content:center;align-items:center;display:flex}@media (width<=700px){.room-image{height:clamp(150px,27svh,210px)}}@media (prefers-reduced-motion:reduce){.room-image__plate{transition:none;translate:none}.room-image__fog,.room-image img{animation:none}}.room-image--backdrop{height:100%;box-shadow:none;background:#0a0a08;border:0;border-radius:0}.room-image--backdrop:before{display:none}.room-image--backdrop:after{background:linear-gradient(90deg,#0000,#c7a24a1f,#0000);width:22%;animation-duration:1.6s}.room-image--backdrop .room-image__plate{translate:calc(var(--px,0) * -22px) calc(var(--py,0) * -14px);transition:translate 1.1s cubic-bezier(.2,.7,.2,1);inset:-28px}.room-image--backdrop img{animation:30s ease-in-out infinite alternate ken-burns,1.2s cubic-bezier(.25,.46,.45,.94) room-backdrop-in}@keyframes room-backdrop-in{0%{opacity:0;filter:brightness(.4)saturate(.6)blur(6px);transform:scale(1.06)}to{opacity:1;filter:brightness()saturate()blur();transform:scale(1)}}.room-image--backdrop .room-image__overlay{background:linear-gradient(#080806b3 0%,#08080600 16%),linear-gradient(#08080600 22%,#0808068c 55%,#080806eb 100%)}.room-image--backdrop .room-image__scanlines{opacity:.5}.room-image--backdrop.room-image--empty{background:radial-gradient(at 50% 30%,#c7a24a14,#0000 60%),#0a0a08}.room-image--backdrop.room-image--empty>span{display:none}@media (width<=700px){.room-image--backdrop{height:100%}.room-image--backdrop .room-image__overlay{background:linear-gradient(#080806a6 0%,#08080600 14%),linear-gradient(#08080600 20%,#080806b3 50%,#080806f2 100%)}}@media (prefers-reduced-motion:reduce){.room-image--backdrop img{animation:none}}.status-hud{--hud-gold:#c7a24a;--hud-low:#d98a2b;--hud-critical:#d0533f;--hud-line:#c7a24a29;width:auto;font-family:Courier New,monospace;font-size:calc(.88rem * var(--ui-scale,1));color:#c9c6ba;background:#14130f;border:0;border-radius:12px;flex-direction:column;gap:.8rem;padding:1rem 1.1rem;transition:box-shadow .3s;display:flex;box-shadow:0 0 15px #c7a24a1a,inset 0 0 15px #c7a24a0d}.status-hud--critical{animation:1.6s ease-in-out infinite hudCritical;box-shadow:inset 0 0 0 1px #d0533f80,inset 0 0 28px #d0533f29}@keyframes hudCritical{50%{box-shadow:inset 0 0 0 1px #d0533fd9,inset 0 0 40px #d0533f42}}.status-hud__tag{border-bottom:1px solid var(--hud-line);justify-content:space-between;align-items:center;gap:.5rem;padding-bottom:.55rem;display:flex}.status-hud__tag-faction{min-width:0;font-size:calc(.7rem * var(--ui-scale,1));letter-spacing:.14em;text-transform:uppercase;color:var(--hud-gold);align-items:center;gap:.45rem;display:inline-flex}.status-hud__tag-role{color:#8d897b;letter-spacing:.12em;border-left:1px solid #c7a24a59;padding-left:.45rem}.status-hud__tag-icon,.status-hud__money-icon{width:1rem;height:1rem}.status-hud__money{font-size:calc(1.05rem * var(--ui-scale,1));color:#e7d9a8;font-variant-numeric:tabular-nums;align-items:baseline;gap:.35rem;font-weight:700;display:inline-flex}.status-hud__money-icon{color:var(--hud-gold);align-self:center}.status-hud__section{flex-direction:column;gap:.5rem;min-width:0;display:flex}.status-hud__heading{font-size:calc(.68rem * var(--ui-scale,1));letter-spacing:.16em;text-transform:uppercase;color:var(--hud-gold);align-items:center;gap:.5rem;margin:0;font-weight:400;display:flex}.status-hud__heading:after{content:"";background:linear-gradient(90deg,#c7a24a66,#0000);flex:auto;height:1px}.status-hud__vitals{grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;display:grid}.status-hud__vital{--vital:var(--hud-gold);text-align:center;flex-direction:column;align-items:center;gap:.1rem;min-width:0;display:flex}.status-hud__vital--health{--vital:#8fb07a}.status-hud__vital--hydration{--vital:#7ea6c4}.status-hud__vital--low{--vital:var(--hud-low)}.status-hud__vital--critical{--vital:var(--hud-critical)}.status-hud__ring{aspect-ratio:1;width:min(100%,4.4rem);position:relative}.status-hud__ring>svg{width:100%;height:100%;display:block;transform:rotate(-90deg)}.status-hud__ring-track{fill:#00000059;stroke:#ffffff12;stroke-width:6px}.status-hud__ring-fill{fill:none;stroke:var(--vital);stroke-width:6px;stroke-linecap:butt;filter:drop-shadow(0 0 3px var(--vital));transition:stroke-dashoffset .6s cubic-bezier(.22,1,.36,1),stroke .3s}.status-hud__vital--critical .status-hud__ring-fill{animation:.9s ease-in-out infinite ringCritical}@keyframes ringCritical{50%{opacity:.45}}.status-hud__ring-value{font-size:calc(1.05rem * var(--ui-scale,1));color:#e7e4dc;font-variant-numeric:tabular-nums;flex-direction:column;justify-content:center;align-items:center;gap:.05rem;font-weight:700;display:flex;position:absolute;inset:0}.status-hud__ring-icon{width:.85rem;height:.85rem;color:var(--vital)}.status-hud__delta{font-size:calc(.8rem * var(--ui-scale,1));pointer-events:none;font-weight:700;animation:1.6s ease-out forwards hudDelta;position:absolute;top:-.2rem;right:-.3rem}.status-hud__delta--down{color:var(--hud-critical)}.status-hud__delta--up{color:#8fb07a}@keyframes hudDelta{0%{opacity:0;transform:translateY(6px)}15%{opacity:1;transform:translateY(0)}70%{opacity:1}to{opacity:0;transform:translateY(-10px)}}.status-hud__vital-label{font-size:calc(.66rem * var(--ui-scale,1));letter-spacing:.14em;text-transform:uppercase;color:#8d897b;margin-top:.15rem}.status-hud__vital-word{font-family:Georgia,serif;font-size:calc(.8rem * var(--ui-scale,1));color:var(--vital);white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.status-hud__calm{font-family:Georgia,serif;font-size:calc(.82rem * var(--ui-scale,1));color:#8d897b;align-items:center;gap:.45rem;margin:0;display:flex}.status-hud__calm-icon{color:#8fb07a;width:.95rem;height:.95rem}.status-hud__wounds{flex-direction:column;gap:.3rem;margin:0;padding:0;list-style:none;display:flex}.status-hud__wound{border-left:3px solid var(--hud-critical);background:linear-gradient(90deg,#d0533f2e,#d0533f0a);align-items:flex-start;gap:.5rem;padding:.35rem .55rem;animation:.35s ease-out woundIn;display:flex}.status-hud__wound--bleedLight{border-left-color:var(--hud-low);background:linear-gradient(90deg,#d98a2b29,#d98a2b08)}.status-hud__wound strong{font-size:calc(.82rem * var(--ui-scale,1));color:#f0c8bd;letter-spacing:.04em;display:block}.status-hud__wound--bleedLight strong{color:#f1d3a6}.status-hud__wound-effect{font-family:Georgia,serif;font-size:calc(.78rem * var(--ui-scale,1));color:#b9b4a5;display:block}.status-hud__wound-icon{width:1.05rem;height:1.05rem;color:var(--hud-critical);flex:none;margin-top:.1rem}.status-hud__wound--bleedHeavy .status-hud__wound-icon{animation:1.1s ease-in-out infinite ringCritical}.status-hud__wound--bleedLight .status-hud__wound-icon{color:var(--hud-low)}@keyframes woundIn{0%{opacity:0;transform:translate(-8px)}}.status-hud__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .9rem;margin:0;padding:0;list-style:none;display:grid}.status-hud__stat{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label value""pips pips";align-items:center;gap:.2rem .4rem;display:grid}.status-hud__stat-label{grid-area:label}.status-hud__stat-value{grid-area:value}.status-hud__pips{grid-area:pips}.status-hud__stat-label{font-size:calc(.8rem * var(--ui-scale,1));color:#c9c6ba}.status-hud__pips{gap:3px;display:flex}.status-hud__pip{background:#ffffff12;flex:1 1 0;height:.5rem;transition:background .3s;box-shadow:inset 0 0 0 1px #c7a24a2e}.status-hud__pip--on{background:var(--hud-gold);box-shadow:0 0 5px #c7a24a73}.status-hud__pip--lost{background:repeating-linear-gradient(135deg,#d0533fbf 0 2px,#0000 2px 4px);box-shadow:inset 0 0 0 1px #d0533f99}.status-hud__stat-value{text-align:right;color:#e7d9a8;font-variant-numeric:tabular-nums;font-weight:700}.status-hud__reps{flex-direction:column;gap:.45rem;margin:0;padding:0;list-style:none;display:flex}.status-hud__rep{grid-template-columns:5.6rem minmax(0,1fr) 1.8rem;align-items:center;gap:.6rem;display:grid}.status-hud__rep-label{font-size:calc(.8rem * var(--ui-scale,1));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.status-hud__rep-bar{background:#ffffff0f;height:.5rem;position:relative}.status-hud__rep-bar:before{content:"";background:#c9c6ba73;width:1px;position:absolute;top:-3px;bottom:-3px;left:50%}.status-hud__rep-fill{transition:width .5s;position:absolute;top:0;bottom:0}.status-hud__rep--up .status-hud__rep-fill{background:#8fb07a}.status-hud__rep--down .status-hud__rep-fill{background:var(--hud-critical)}.status-hud__rep-value{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.status-hud__rep--up .status-hud__rep-value{color:#a9c79a}.status-hud__rep--down .status-hud__rep-value{color:#e48b7b}.status-hud__vital--button{color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:1px solid #0000;border-radius:8px;padding:.25rem 0 .3rem;transition:border-color .18s,background .18s;position:relative}.status-hud__vital--button:hover,.status-hud__vital--button:focus-visible{background:#c7a24a0d;border-color:#c7a24a47;outline:none}.status-hud__vital--open{border-color:var(--vital);background:#00000040}.status-hud__vital-count{background:var(--vital);color:#14130f;min-width:1.15rem;height:1.15rem;font-size:calc(.66rem * var(--ui-scale,1));border-radius:999px;padding:0 .25rem;font-weight:700;line-height:1.15rem;position:absolute;top:.15rem;right:.3rem}.status-hud__care{background:#0000004d;border:1px solid #c7a24a4d;flex-direction:column;gap:.45rem;margin-top:.15rem;padding:.55rem .6rem;animation:.2s ease-out careIn;display:flex}@keyframes careIn{0%{opacity:0;transform:translateY(-4px)}}.status-hud__care-head{font-size:calc(.68rem * var(--ui-scale,1));letter-spacing:.16em;text-transform:uppercase;color:var(--hud-gold);justify-content:space-between;align-items:center;display:flex}.status-hud__care-close{color:#8d897b;cursor:pointer;background:0 0;border:0;place-items:center;width:32px;height:32px;display:grid}.status-hud__care-close .icon{width:.9rem;height:.9rem}.status-hud__care-empty{font-family:Georgia,serif;font-size:calc(.8rem * var(--ui-scale,1));color:#8d897b;margin:0}.status-hud__care-list{flex-direction:column;gap:.3rem;margin:0;padding:0;list-style:none;display:flex}.status-hud__care-item,.status-hud__wound-cure{color:#e7d9a8;font:inherit;cursor:pointer;touch-action:manipulation;background:#c7a24a14;border:1px solid #c7a24a73;transition:background .18s}.status-hud__care-item{text-align:left;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon name""icon gain";align-items:center;gap:0 .55rem;width:100%;min-height:44px;padding:.35rem .6rem;display:grid}.status-hud__care-item:hover,.status-hud__care-item:focus-visible,.status-hud__wound-cure:hover,.status-hud__wound-cure:focus-visible{background:#c7a24a33;outline:none}.status-hud__care-icon{width:1.15rem;height:1.15rem;color:var(--hud-gold);grid-area:icon}.status-hud__care-name{font-size:calc(.8rem * var(--ui-scale,1));text-overflow:ellipsis;white-space:nowrap;grid-area:name;overflow:hidden}.status-hud__care-gain{font-size:calc(.7rem * var(--ui-scale,1));color:#a9c79a;grid-area:gain}.status-hud__wound-text{flex:auto;min-width:0}.status-hud__wound-cure{min-height:36px;font-size:calc(.72rem * var(--ui-scale,1));flex:none;align-self:center;padding:0 .55rem}@media (width<=700px){.status-hud--caring .status-hud__section--secondary{display:none}.status-hud{gap:.9rem;padding:.55rem .7rem}.status-hud__ring{width:min(100%,4.8rem)}}@media (prefers-reduced-motion:reduce){.status-hud--critical,.status-hud__vital--critical .status-hud__ring-fill,.status-hud__wound--bleedHeavy .status-hud__wound-icon,.status-hud__care{animation:none}}.inventory{color:#c9c6ba;grid-template-columns:minmax(0,1fr) minmax(15rem,19rem);gap:1.1rem;height:100%;min-height:0;font-family:Courier New,monospace;display:grid}.inventory--empty{color:#8a8677;min-height:12rem;font-size:calc(.85rem * var(--ui-scale,1));flex-direction:column;justify-content:center;align-items:center;gap:.6rem;display:flex}.inventory--empty p{margin:0}.inventory__empty-icon{color:#c7a24a73;width:2.6rem;height:2.6rem}.inventory__stash{overscroll-behavior:contain;scrollbar-width:none;flex-direction:column;gap:.85rem;min-height:0;display:flex;overflow-y:auto}.inventory__stash::-webkit-scrollbar{display:none}.inventory__count{font-size:calc(.68rem * var(--ui-scale,1));letter-spacing:.16em;text-transform:uppercase;color:#8d897b;margin:0}.inventory__grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:0;padding:0;list-style:none;display:grid}.inventory__slot{aspect-ratio:1;background:#0000002e;border:1px dashed #c7a24a17}.inventory__cell{aspect-ratio:1;color:#c9c6ba;width:100%;font:inherit;cursor:pointer;touch-action:manipulation;background:linear-gradient(#ffffff06,#ffffff06),repeating-linear-gradient(45deg,#ffffff03 0 6px,#0000 6px 12px),#0f0e0b;border:1px solid #c7a24a29;flex-direction:column;justify-content:center;align-items:center;gap:.35rem;padding:.4rem;transition:border-color .18s,background .18s,transform .18s;display:flex;position:relative}.inventory__cell:hover,.inventory__cell:focus-visible{border-color:#c7a24a80;outline:none}.inventory__cell:active{transform:scale(.96)}.inventory__cell--selected{background:radial-gradient(circle at 50% 40%,#c7a24a2e,#0000 70%),#15130e;border-color:#c7a24a;box-shadow:inset 0 0 0 1px #c7a24a59,0 0 12px #c7a24a2e}.inventory__cell-icon{color:#c7a24a;width:1.7rem;height:1.7rem;transition:transform .2s}.inventory__cell--selected .inventory__cell-icon{color:#e7d9a8;transform:scale(1.12)}.inventory__cell-name{-webkit-line-clamp:2;font-size:calc(.66rem * var(--ui-scale,1));text-align:center;overflow-wrap:anywhere;-webkit-box-orient:vertical;line-height:1.2;display:-webkit-box;overflow:hidden}.inventory__cell-flag{background:#c7a24a;border-radius:50%;width:7px;height:7px;animation:1.8s ease-out infinite cellFlag;position:absolute;top:5px;left:5px;box-shadow:0 0 #c7a24a99}@keyframes cellFlag{to{box-shadow:0 0 0 7px #c7a24a00}}.inventory__detail{background:linear-gradient(#c7a24a12,#00000026);border:1px solid #c7a24a38;flex-direction:column;align-self:start;gap:.75rem;min-height:0;max-height:100%;padding:.9rem 1rem;animation:.25s ease-out detailIn;display:flex}@keyframes detailIn{0%{opacity:0;transform:translateY(6px)}}.inventory__detail-head{align-items:center;gap:.75rem;display:flex}.inventory__detail-icon{color:#e7d9a8;background:radial-gradient(circle,#c7a24a29,#0000 70%);border:1px solid #c7a24a66;flex:none;place-items:center;width:3rem;height:3rem;display:grid}.inventory__detail-icon .icon{width:1.6rem;height:1.6rem}.inventory__detail-title{flex-direction:column;gap:.15rem;min-width:0;display:flex}.inventory__detail-group{font-size:calc(.64rem * var(--ui-scale,1));letter-spacing:.16em;text-transform:uppercase;color:#c7a24a}.inventory__detail-title strong{font-size:calc(.98rem * var(--ui-scale,1));color:#e7e4dc;overflow-wrap:anywhere}.inventory__detail-text{font-family:Georgia,serif;font-size:calc(.86rem * var(--ui-scale,1));color:#b9b4a5;scrollbar-width:none;margin:0;line-height:1.5;overflow-y:auto}.inventory__detail-text::-webkit-scrollbar{display:none}.inventory__actions,.inventory__targets{flex-wrap:wrap;gap:.4rem;display:flex}.inventory__targets{border-top:1px solid #c7a24a29;padding-top:.6rem}.inventory__targets-title{font-size:calc(.64rem * var(--ui-scale,1));letter-spacing:.16em;text-transform:uppercase;color:#8d897b;flex:1 0 100%}.inventory__action{color:#e7d9a8;min-height:44px;font:inherit;font-size:calc(.78rem * var(--ui-scale,1));letter-spacing:.08em;text-transform:uppercase;cursor:pointer;touch-action:manipulation;background:#c7a24a14;border:1px solid #c7a24a80;flex:auto;justify-content:center;align-items:center;gap:.45rem;padding:0 .9rem;transition:background .18s;display:inline-flex}.inventory__action:hover,.inventory__action:focus-visible{background:#c7a24a38;outline:none}.inventory__action .icon{width:1rem;height:1rem}.inventory__action--target{text-transform:none;letter-spacing:.02em;border-style:dashed;flex:0 auto}@media (width<=700px){.inventory{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:.7rem}.inventory__grid{gap:3px}.inventory__cell{gap:.2rem;padding:.25rem}.inventory__cell-name{font-size:calc(.58rem * var(--ui-scale,1))}.inventory__cell-icon{width:1.45rem;height:1.45rem}.inventory__detail{gap:.55rem;padding:.7rem .8rem}.inventory__detail-text{max-height:5.2em}}@media (prefers-reduced-motion:reduce){.inventory__cell-flag,.inventory__detail{animation:none}}.settings-backdrop{z-index:20;place-items:center;padding:1.5rem;display:grid;position:fixed;inset:0}.settings-backdrop:before{content:"";-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000000b3;animation:.2s ease-out settingsVeilIn;position:absolute;inset:0}.settings-backdrop--closing:before{animation:.18s ease-in forwards settingsVeilOut}.settings-panel{color:#e7e4dc;background:#14130f;border:1px solid #514831;border-radius:10px;width:min(100%,440px);max-height:min(90dvh,620px);padding:1.25rem;animation:.22s cubic-bezier(.22,1,.36,1) settingsPanelIn;position:relative;overflow-y:auto;box-shadow:0 18px 70px #0009}.settings-panel--closing{animation:.18s ease-in forwards settingsPanelOut}@keyframes settingsVeilIn{0%{-webkit-backdrop-filter:blur();backdrop-filter:blur();background-color:#0000}to{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background-color:#000000b3}}@keyframes settingsVeilOut{0%{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background-color:#000000b3}to{-webkit-backdrop-filter:blur();backdrop-filter:blur();background-color:#0000}}@keyframes settingsPanelIn{0%{opacity:0;transform:translateY(12px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes settingsPanelOut{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(10px)scale(.97)}}.settings-panel__header,.settings-panel__toggle,.settings-panel__footer{justify-content:space-between;align-items:center;gap:1rem;display:flex}.settings-panel__header{margin-bottom:1.5rem}.settings-panel__eyebrow{color:#c7a24a;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.25rem;font:.7rem Courier New,monospace}.settings-panel h2,.settings-panel__group legend{color:#e7e4dc;text-transform:uppercase;letter-spacing:.06em;font:1rem Courier New,monospace}.settings-panel button{color:#e7e4dc;cursor:pointer;touch-action:manipulation;background:#1b1913;border:1px solid #514831;border-radius:5px;min-height:42px}.settings-panel button:hover,.settings-panel button:focus-visible{color:#c7a24a;border-color:#c7a24a}.settings-panel button:focus-visible,.settings-panel input:focus-visible{outline-offset:2px;outline:2px solid #c7a24a}.settings-panel__close{width:42px;font-size:calc(1.5rem * var(--ui-scale,1))!important}.settings-panel__group{border:0;margin:0 0 1.25rem;padding:0}.settings-panel__group legend{margin-bottom:.45rem}.settings-panel__hint,.settings-panel__footer p{color:#a7a397;font-size:calc(.82rem * var(--ui-scale,1));line-height:1.5}.settings-panel__choices{grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.8rem;display:grid}.settings-panel__choice[aria-pressed=true]{color:#e2bd65;background:#292419;border-color:#c7a24a}.settings-panel__toggle{cursor:pointer;border-top:1px solid #353127;border-bottom:1px solid #353127;padding:1rem 0}.settings-panel__toggle span{gap:.25rem;display:grid}.settings-panel__toggle strong{font-size:calc(.9rem * var(--ui-scale,1))}.settings-panel__toggle small{color:#a7a397;font-size:calc(.78rem * var(--ui-scale,1))}.settings-panel__toggle input{accent-color:#c7a24a;width:1.2rem;height:1.2rem}.settings-panel__footer{flex-direction:column;align-items:flex-start;gap:.5rem;margin-top:1.25rem}.settings-panel__restart{padding:.5rem .8rem;color:#ffaaa0!important;border-color:#75433b!important}.settings-panel__restart:hover{background:#2a1714!important;border-color:#ff7669!important}@media (width<=480px){.settings-panel{border-radius:14px;padding:1rem}}@media (width<=700px){.settings-backdrop{place-items:end center;padding:0}.settings-panel{box-sizing:border-box;border:1px solid #514831;border-bottom:0;border-radius:14px 14px 0 0;width:100%;max-height:85dvh;animation:.24s cubic-bezier(.22,1,.36,1) settingsSheetUp}.settings-panel--closing{animation:.2s ease-in forwards settingsSheetDown}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.settings-panel{-webkit-backdrop-filter:blur(18px)saturate(160%);backdrop-filter:blur(18px)saturate(160%);background:#14130fb8;box-shadow:inset 0 1px #ffffff14,0 -10px 40px #00000073}}}@keyframes settingsSheetUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes settingsSheetDown{0%{transform:translateY(0)}to{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){.settings-backdrop:before,.settings-backdrop--closing:before,.settings-panel,.settings-panel--closing{animation:none}}.settings-panel--embedded{width:100%;max-height:none;box-shadow:none;color:inherit;background:0 0;border:0;border-radius:0;padding:0;animation:none;overflow:visible}.toast-container{z-index:2000;pointer-events:none;flex-direction:column;gap:.75rem;display:flex;position:fixed;top:1rem;right:1rem}.toast{font-family:Courier New,monospace;font-size:calc(.9rem * var(--ui-scale,1));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto;cursor:default;word-break:break-word;border:1px solid;border-radius:6px;align-items:center;gap:.6rem;max-width:300px;padding:.75rem 1.25rem;font-weight:500;animation:.3s ease-out toastSlideIn;display:flex}.toast__icon{flex:none;width:1.1em;height:1.1em}@keyframes toastSlideIn{0%{opacity:0;transform:translate(400px)}to{opacity:1;transform:translate(0)}}@keyframes toastSlideOut{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(400px)}}.toast--success{color:#4f4;background:#44ff441f;border-color:#4f4;box-shadow:0 0 15px #44ff4440}.toast--info{color:#a0c0ff;background:#6496ff1f;border-color:#6496ff;box-shadow:0 0 15px #6496ff40}.toast--warning{color:#fc6;background:#ffaa001f;border-color:#fa0;box-shadow:0 0 15px #ffaa0040}.toast--error{color:#f88;background:#ff44441f;border-color:#f44;box-shadow:0 0 15px #ff444440}.toast--exiting{pointer-events:none;animation:.25s ease-in forwards toastSlideOut}.toast__text{display:block}@media (width<=700px){.toast-container{top:calc(3.6rem + env(safe-area-inset-top));bottom:auto;left:.5rem;right:.5rem}.toast{max-width:calc(100vw - 1rem);margin-left:auto;margin-right:auto}@keyframes toastSlideIn{0%{opacity:0;transform:translateY(-100px)}to{opacity:1;transform:translateY(0)}}@keyframes toastSlideOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-100px)}}}.death-screen{z-index:2500;background:#080606f0;justify-content:center;align-items:center;padding:16px;animation:1.2s ease-out deathFadeIn;display:flex;position:fixed;inset:0}.app[data-reduce-motion=true] .death-screen{animation:none}@keyframes deathFadeIn{0%{opacity:0}to{opacity:1}}.death-screen__panel{color:#e8dcd8;box-sizing:border-box;background:#120d0c;border:1px solid #75433b;border-radius:6px;width:100%;max-width:520px;padding:2rem 1.75rem;font-family:Courier New,monospace}.death-screen__place{font-size:calc(.8rem * var(--ui-scale,1));letter-spacing:.12em;text-transform:uppercase;color:#a08a84;margin:0 0 .5rem}.death-screen__title{font-size:calc(2rem * var(--ui-scale,1));letter-spacing:.1em;text-transform:uppercase;color:#ff7669;margin:0 0 1rem}.death-screen__cause{font-style:italic;font-size:calc(.95rem * var(--ui-scale,1));color:#d4c4bf;border-left:2px solid #75433b;margin:0 0 1rem;padding-left:.85rem;line-height:1.5}.death-screen__text{font-size:calc(.95rem * var(--ui-scale,1));margin:0 0 1.5rem;line-height:1.6}.death-screen__actions{flex-wrap:wrap;gap:.75rem;display:flex}.death-screen__button,.death-bar__button{color:#ffaaa0;font-family:Courier New,monospace;font-size:calc(.9rem * var(--ui-scale,1));cursor:pointer;background:0 0;border:1px solid #75433b;border-radius:4px;padding:.6rem 1rem}.death-screen__button--primary{color:#ffd0c8;background:#2a1714;border-color:#ff7669}.death-screen__button:hover,.death-bar__button:hover{background:#2a1714;border-color:#ff7669}.death-screen__button:focus-visible,.death-bar__button:focus-visible{outline-offset:2px;outline:2px solid #ff7669}.death-bar{z-index:15;font-family:Courier New,monospace;font-size:calc(.85rem * var(--ui-scale,1));color:#e8dcd8;box-sizing:border-box;background:#120d0c;border-top:1px solid #75433b;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;padding:.6rem 16px;display:flex;position:fixed;bottom:0;left:0;right:0}@media (width<=480px){.death-screen__panel{padding:1.5rem 1.1rem}.death-screen__actions{flex-direction:column}.death-screen__button{width:100%}}.ending-screen{z-index:2500;background:#060809f2;justify-content:center;align-items:center;padding:16px;animation:1.6s ease-out endingFadeIn;display:flex;position:fixed;inset:0;overflow-y:auto}.app[data-reduce-motion=true] .ending-screen{animation:none}@keyframes endingFadeIn{0%{opacity:0}to{opacity:1}}.ending-screen__panel{color:#dfe3d8;box-sizing:border-box;overscroll-behavior:contain;background:#0d100d;border:1px solid #4f5b4a;border-radius:6px;width:100%;max-width:620px;max-height:calc(100dvh - 32px);padding:2rem 1.75rem;font-family:Courier New,monospace;overflow-y:auto}.ending-screen__route{font-size:calc(.8rem * var(--ui-scale,1));letter-spacing:.14em;text-transform:uppercase;color:#8f9a86;margin:0 0 .5rem}.ending-screen__title{font-size:calc(1.7rem * var(--ui-scale,1));letter-spacing:.06em;text-transform:uppercase;color:#c9d89a;margin:0 0 1.25rem;line-height:1.2}.ending-screen__epilogue p{font-size:calc(.95rem * var(--ui-scale,1));margin:0 0 .9rem;line-height:1.6}.ending-screen__epilogue p:last-child{color:#f1f4ea;font-style:italic}.ending-screen__chronicle{border-top:1px solid #2c3329;margin:1.25rem 0 0;padding-top:1rem}.ending-screen__subtitle{font-size:calc(.8rem * var(--ui-scale,1));letter-spacing:.12em;text-transform:uppercase;color:#8f9a86;margin:0 0 .6rem}.ending-screen__list{font-size:calc(.88rem * var(--ui-scale,1));color:#c8cdbf;margin:0;padding-left:1.4rem;line-height:1.5}.ending-screen__list li+li{margin-top:.35rem}.ending-screen__meta{font-size:calc(.8rem * var(--ui-scale,1));color:#8f9a86;margin:1rem 0 1.5rem}.ending-screen__actions{flex-wrap:wrap;gap:.75rem;display:flex}.ending-screen__button,.ending-bar__button{color:#c9d89a;font-family:Courier New,monospace;font-size:calc(.9rem * var(--ui-scale,1));cursor:pointer;background:0 0;border:1px solid #4f5b4a;border-radius:4px;padding:.6rem 1rem}.ending-screen__button--primary{color:#e6f0c4;background:#1a2116;border-color:#a8bb6e}.ending-screen__button:hover,.ending-bar__button:hover{background:#1a2116;border-color:#a8bb6e}.ending-screen__button:focus-visible,.ending-bar__button:focus-visible{outline-offset:2px;outline:2px solid #a8bb6e}.ending-bar{z-index:15;padding:.6rem 16px calc(.6rem + env(safe-area-inset-bottom,0px));font-family:Courier New,monospace;font-size:calc(.85rem * var(--ui-scale,1));color:#dfe3d8;box-sizing:border-box;background:#0d100d;border-top:1px solid #4f5b4a;justify-content:space-between;align-items:center;gap:.75rem;display:flex;position:fixed;bottom:0;left:0;right:0}.ending-bar__text{flex:auto;min-width:0;line-height:1.3}.ending-bar__button{flex:none}@media (width<=480px){.ending-bar__button{padding:.5rem .75rem}.ending-screen{align-items:flex-start}.ending-screen__panel{padding:1.5rem 1.1rem}.ending-screen__actions{flex-direction:column}.ending-screen__button{width:100%}}.loading-screen{z-index:9999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(135deg,#0a0a0c 0%,#14130f 100%);justify-content:center;align-items:center;animation:.6s ease-out 1.5s forwards loadingFadeOut;display:flex;position:fixed;inset:0}.loading-screen--fade-out{pointer-events:none}@keyframes loadingFadeOut{0%{opacity:1}to{opacity:0}}.loading-screen__content{text-align:center;z-index:10;position:relative}.loading-screen__title{letter-spacing:.15em;text-transform:uppercase;flex-direction:column;gap:.2rem;margin-bottom:2rem;font-family:Courier New,monospace;display:flex}.loading-screen__word{font-size:calc(clamp(2rem, 8vw, 4rem) * var(--ui-scale,1));color:#c7a24a;text-shadow:0 0 20px #c7a24a,0 0 40px #c7a24a80;font-weight:700;line-height:1;animation:.8s cubic-bezier(.34,1.56,.64,1) backwards titleSlideIn}.loading-screen__word:first-child{animation-delay:0s}.loading-screen__word:nth-child(2){animation-delay:.1s}.loading-screen__word:nth-child(3){animation-delay:.2s}.loading-screen__word:nth-child(4){animation-delay:.3s}@keyframes titleSlideIn{0%{opacity:0;transform:translate(-50px)}to{opacity:1;transform:translate(0)}}.loading-screen__subtitle{font-family:Georgia,serif;font-size:calc(.95rem * var(--ui-scale,1));color:#8b8680;letter-spacing:.05em;margin-bottom:2rem;animation:1.5s ease-in-out infinite subtitlePulse}@keyframes subtitlePulse{0%,to{opacity:.6}50%{opacity:1}}.loading-screen__progress-container{flex-direction:column;gap:.75rem;width:clamp(200px,60vw,400px);display:flex}.loading-screen__progress-bar{background:#ffffff1a;border:1px solid #c7a24a;border-radius:2px;height:4px;overflow:hidden;box-shadow:0 0 10px #c7a24a4d}.loading-screen__progress-fill{background:linear-gradient(90deg,#c7a24a,#fc0);height:100%;transition:width .3s cubic-bezier(.34,1.56,.64,1);box-shadow:0 0 10px #c7a24a}.loading-screen__progress-text{font-family:Courier New,monospace;font-size:calc(.85rem * var(--ui-scale,1));color:#c7a24a;text-align:center;letter-spacing:.1em}.loading-screen__scanlines{pointer-events:none;background:repeating-linear-gradient(0deg,#0000001a,#0000001a 2px,#0000 2px 4px);animation:.8s ease-out scanlineShimmer;position:absolute;inset:0}@keyframes scanlineShimmer{0%{opacity:.3}to{opacity:.08}}.loading-screen__glitch{pointer-events:none;background:linear-gradient(90deg,#0000 0%,#c7a24a1a 50%,#0000 100%);animation:2s ease-in-out infinite glitchShimmer;position:absolute;inset:0}@keyframes glitchShimmer{0%,to{opacity:0}50%{opacity:.3}}@media (width<=700px){.loading-screen__title{margin-bottom:1.5rem}.loading-screen__word{font-size:calc(clamp(1.4rem, 6vw, 2.5rem) * var(--ui-scale,1))}.loading-screen__progress-container{width:clamp(150px,80vw,300px)}}.achievement-container{z-index:1800;pointer-events:none;flex-direction:column;gap:.6rem;display:flex;position:fixed;top:5rem;right:1rem}.achievement{color:#dfe3d8;text-align:left;width:320px;max-width:calc(100vw - 32px);font:inherit;cursor:pointer;pointer-events:auto;background:#0d100df0;border:1px solid #4f5b4a;border-left:3px solid #a8bb6e;border-radius:4px;align-items:center;gap:.85rem;padding:.75rem .9rem;animation:.35s ease-out achievementIn;display:flex;box-shadow:0 8px 24px #00000080}.achievement:hover{border-color:#a8bb6e}.achievement:focus-visible{outline-offset:2px;outline:2px solid #a8bb6e}@keyframes achievementIn{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}.achievement__icon{color:#c9d89a;width:2.25rem;height:2.25rem;font-size:calc(1.1rem * var(--ui-scale,1));border:1px solid #4f5b4a;border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.achievement__content{flex-direction:column;gap:.15rem;min-width:0;display:flex}.achievement__kicker{font-family:Courier New,monospace;font-size:calc(.7rem * var(--ui-scale,1));letter-spacing:.15em;text-transform:uppercase;color:#8f9a7a}.achievement__title{font-family:Courier New,monospace;font-weight:700;font-size:calc(.9rem * var(--ui-scale,1));color:#c9d89a}.achievement__description{font-family:Georgia,serif;font-size:calc(.85rem * var(--ui-scale,1));line-height:1.35}.app[data-reduce-motion=true] .achievement{animation:none}@media (prefers-reduced-motion:reduce){.achievement{animation:none}}@media (width<=700px){.achievement-container{top:4.25rem;left:16px;right:16px}.achievement{width:100%;max-width:none}}.prologue{z-index:2000;color:#e9e4d8;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:#070708;flex-direction:column;animation:1.2s ease-out prologueIn;display:flex;position:fixed;inset:0;overflow:hidden}@keyframes prologueIn{0%{opacity:0}to{opacity:1}}.prologue__plate{opacity:0;transition:opacity 1.4s ease-in-out;position:absolute;inset:0}.prologue__plate img{object-fit:cover;filter:saturate(.7)contrast(1.05);will-change:transform;width:100%;height:100%;transition:transform 0s linear 1.5s;transform:scale(1.04)translate(0,0)}.prologue__plate--active{opacity:.62}.prologue__plate--active img{transition:transform 20s cubic-bezier(.25,.1,.35,1);transform:scale(1.12)translate(-1.2%,-.8%)}.prologue__shade{pointer-events:none;background:radial-gradient(at 50% 40%,#0000 30%,#040405bf 100%),linear-gradient(#040405d9 0%,#0000 22% 42%,#040405f0 82%);transition:background-color 2.4s;position:absolute;inset:0}.prologue--sky .prologue__shade{background-color:#265ca86b}.prologue--sky .prologue__line:last-child{color:#b9d4ff;text-shadow:0 0 22px #5a96ff8c}.prologue__grain{pointer-events:none;opacity:.07;mix-blend-mode:overlay;background-image:repeating-linear-gradient(0deg,#ffffff80 0 1px,#0000 1px 3px);position:absolute;inset:0}.prologue__top,.prologue__bottom{z-index:2;padding:max(1.2rem, env(safe-area-inset-top)) clamp(1rem, 4vw, 3rem) 1.2rem;justify-content:space-between;align-items:center;gap:1rem;display:flex;position:relative}.prologue__bottom{padding:1.2rem clamp(1rem, 4vw, 3rem) max(1.4rem, env(safe-area-inset-bottom))}.prologue__place{font-family:Courier New,monospace;font-size:calc(.78rem * var(--ui-scale,1));letter-spacing:.22em;text-transform:uppercase;color:#c7a24a;flex-direction:column;gap:.35rem;transition:opacity .4s;animation:.9s steps(18,end) both prologueType;display:flex}.prologue__place--hidden{opacity:0}@keyframes prologueType{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}.prologue__count{color:#e9e4d873;letter-spacing:.3em;font-size:.85em}.prologue__skip{color:#e9e4d899;font-family:Courier New,monospace;font-size:calc(.72rem * var(--ui-scale,1));letter-spacing:.18em;text-transform:uppercase;cursor:pointer;touch-action:manipulation;background:#07070866;border:1px solid #e9e4d838;border-radius:999px;flex-shrink:0;padding:.45rem .9rem}.prologue__skip:hover,.prologue__skip:focus-visible{color:#e9e4d8;border-color:#e9e4d880}.prologue__text{z-index:2;box-sizing:border-box;flex-direction:column;flex:1;justify-content:flex-end;gap:.9rem;width:100%;max-width:46rem;min-height:0;padding:0 clamp(1rem,4vw,3rem);transition:opacity .6s ease-in-out;display:flex;position:relative}.prologue__text--hidden{opacity:0}.prologue__line,.prologue__note{opacity:0;margin:0;transition:opacity 1.6s cubic-bezier(.33,0,.2,1),transform 1.6s cubic-bezier(.33,0,.2,1);transform:translateY(6px)}.prologue__line.is-shown,.prologue__note.is-shown{opacity:1;transform:translate(0,0)}.prologue__line{font-family:Georgia,Times New Roman,serif;font-size:calc(1.22rem * var(--ui-scale,1));text-shadow:0 2px 12px #000000d9;line-height:1.6}.prologue--sky .prologue__line:last-child{transition:opacity 1.6s,transform 1.6s,color 2s,text-shadow 2s}.prologue__note{color:#2a2620;font-family:Segoe Print,Bradley Hand,Comic Sans MS,cursive;font-size:calc(1.05rem * var(--ui-scale,1));background:#e6dcc3;align-self:flex-start;padding:.7rem 1.1rem;transform:translateY(8px)rotate(-3deg);box-shadow:0 8px 24px #0000008c}.prologue__note.is-shown{transform:translate(0,0)rotate(-1.6deg)}.prologue__progress{flex:1;gap:.35rem;max-width:14rem;display:flex}.prologue__progress span{background:#e9e4d82e;flex:1;height:2px;transition:background .6s}.prologue__progress .is-done{background:#c7a24a99}.prologue__progress .is-current{background:#c7a24a;box-shadow:0 0 6px #c7a24a99}.prologue__next{color:#f0e6cc8c;font-family:Courier New,monospace;font-size:calc(.8rem * var(--ui-scale,1));letter-spacing:.18em;text-transform:uppercase;cursor:pointer;touch-action:manipulation;background:#07070873;border:1px solid #c7a24a59;border-radius:999px;align-items:center;gap:.4rem;padding:.6rem .8rem .6rem 1.1rem;transition:color .4s,border-color .4s,background .4s;display:inline-flex}.prologue__next .icon{width:1.1em;height:1.1em}.prologue__next--ready{color:#f0e6cc;background:#c7a24a29;border-color:#c7a24a;animation:2.4s ease-in-out infinite prologueReady}@keyframes prologueReady{0%,to{box-shadow:0 0 #c7a24a00}50%{box-shadow:0 0 16px #c7a24a73}}.prologue--blackout>*{opacity:0!important;transition:opacity .5s!important}@media (width<=700px){.prologue__line{font-size:calc(1.05rem * var(--ui-scale,1));line-height:1.55}.prologue__note{font-size:calc(.95rem * var(--ui-scale,1))}.prologue__text{gap:.75rem}}.prologue--still,.prologue--still *{animation:none!important}.prologue--still .prologue__plate img,.prologue--still .prologue__line,.prologue--still .prologue__note{transition:none!important}@media (prefers-reduced-motion:reduce){.prologue,.prologue *{animation:none!important}.prologue__plate img,.prologue__line,.prologue__note{transition:none!important}}.main-menu{z-index:1500;background:#0a0a0c;justify-content:center;align-items:center;animation:.6s ease-out menuFadeIn;display:flex;position:fixed;inset:0;overflow:hidden}@keyframes menuFadeIn{0%{opacity:0}to{opacity:1}}.main-menu__background{position:absolute;inset:0}.main-menu__image{object-fit:cover;opacity:.55;width:100%;height:100%;animation:20s ease-in-out infinite alternate menuKenburns}@keyframes menuKenburns{0%{transform:scale(1)translate(0)}to{transform:scale(1.08)translate(-1%)}}.main-menu__overlay{background:linear-gradient(#0a0a0c8c 0%,#0a0a0cd9 75%,#0a0a0cfa 100%);position:absolute;inset:0}.main-menu__content{z-index:10;text-align:center;flex-direction:column;align-items:center;gap:2.5rem;padding:2rem;display:flex;position:relative}.main-menu__title{letter-spacing:.08em;color:#c7a24a;text-shadow:0 0 30px #c7a24a80,0 4px 20px #000c;flex-direction:column;gap:.3rem;margin:0;font-family:Courier New,monospace;font-weight:700;display:flex}.main-menu__title span:first-child{font-size:calc(2rem * var(--ui-scale,1))}.main-menu__title span:last-child{font-size:calc(2.6rem * var(--ui-scale,1));color:#fc0}.main-menu__actions{flex-direction:column;gap:.9rem;width:100%;max-width:320px;display:flex}.main-menu__button{letter-spacing:.06em;cursor:pointer;color:#d8d2c4;font-family:Courier New,monospace;font-weight:700;font-size:calc(1rem * var(--ui-scale,1));text-transform:uppercase;touch-action:manipulation;animation:.5s cubic-bezier(.22,1,.36,1) backwards menuItemIn;animation-delay:calc(var(--i,0) * 90ms + .25s);background:#14130fb3;border:2px solid #c7a24a66;border-radius:6px;padding:.9rem 2rem;transition:all .2s;position:relative;overflow:hidden}.main-menu__button:after{content:"";pointer-events:none;background:linear-gradient(105deg,#0000 35%,#ffe69659 50%,#0000 65%);transition:transform .6s;position:absolute;inset:0;transform:translate(-120%)}.main-menu__button:hover:after{transform:translate(120%)}.main-menu__button:active{transform:scale(.97)}.main-menu__title span:last-child{animation:7s step-end infinite titleFlicker}@keyframes titleFlicker{0%,91%,94%,to{opacity:1}92%{opacity:.45}93%{opacity:1}96%{opacity:.7}}@media (prefers-reduced-motion:reduce){.main-menu__title span:last-child{animation:none}}@keyframes menuItemIn{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.main-menu__button:hover{background:#c7a24a26;border-color:#c7a24ab3;transform:translateY(-2px)}.main-menu__button--primary{color:#f0e6cc;background:#c7a24a40;border-color:#c7a24a;box-shadow:0 0 20px #c7a24a40}.main-menu__button--primary:hover{background:#c7a24a66;box-shadow:0 0 25px #c7a24a80}.main-menu__footer{font-family:Courier New,monospace;font-size:calc(.8rem * var(--ui-scale,1));color:#8b8680;letter-spacing:.05em;text-transform:uppercase}@media (width<=500px){.main-menu__title span:first-child{font-size:calc(1.6rem * var(--ui-scale,1))}.main-menu__title span:last-child{font-size:calc(2.1rem * var(--ui-scale,1))}.main-menu__actions{max-width:280px}.main-menu__button{font-size:calc(.9rem * var(--ui-scale,1));padding:.8rem 1.5rem}}.dialogue-panel{z-index:1200;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#050605f5;outline:none;place-items:center;display:grid;position:fixed;inset:0;overflow:hidden}.dialogue-panel *,.dialogue-panel :before,.dialogue-panel :after{box-sizing:border-box;min-width:0}.dialogue-panel__stage{background:#14130f;border:1px solid #c7a24a8c;border-radius:16px;flex-direction:column;width:min(100%,680px);height:min(760px,100dvh - 32px);animation:.25s ease-out dialogueFadeIn;display:flex;overflow:hidden;box-shadow:0 24px 80px #000000c7,0 0 48px #c7a24a21}@keyframes dialogueFadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.dialogue-panel__portrait-wrap{background:#090a08;flex:0 0 clamp(210px,37dvh,320px);position:relative;overflow:hidden}.dialogue-panel__portrait{object-fit:cover;object-position:center 20%;width:100%;height:100%;display:block}.dialogue-panel__portrait-fade{pointer-events:none;background:linear-gradient(#0000 42%,#14130f 100%);position:absolute;inset:0}.dialogue-panel__box{z-index:1;background:linear-gradient(#14130fbd,#14130f 22%);border-top:1px solid #c7a24a47;flex-direction:column;flex:auto;gap:.85rem;min-height:0;margin-top:-34px;padding:1.15rem;display:flex;position:relative}.dialogue-panel__stage:not(:has(.dialogue-panel__portrait-wrap)) .dialogue-panel__box{margin-top:0;padding:clamp(1.25rem,5vw,2rem)}.dialogue-panel__speaker{text-transform:uppercase;letter-spacing:.14em;color:#d7b45b;font-family:Courier New,monospace;font-size:calc(.85rem * var(--ui-scale,1));flex:none;font-weight:700}.dialogue-panel__text{overscroll-behavior:contain;color:#f0ece2;min-height:0;font-size:calc(clamp(.98rem, 3.9vw, 1.08rem) * var(--ui-scale,1));white-space:pre-wrap;overflow-wrap:anywhere;flex:auto;padding-right:.25rem;line-height:1.55;overflow-y:auto}.dialogue-panel__player-line{color:#d7d1c5;background:#ffffff0b;border-left:2px solid #c7a24ab3;flex:none;padding:.65rem .8rem}.dialogue-panel__player-line p{font-size:calc(.9rem * var(--ui-scale,1));overflow-wrap:anywhere;margin:0;font-style:italic;line-height:1.35}.dialogue-panel__typing-cursor{vertical-align:-.16em;background:#d7b45b;width:.55ch;height:1.05em;margin-left:.12em;animation:.8s step-end infinite dialogueCursorBlink;display:inline-block}@keyframes dialogueCursorBlink{50%{opacity:0}}@media (prefers-reduced-motion:reduce){.dialogue-panel__typing-cursor{animation:none}}.dialogue-panel__options{overscroll-behavior:contain;flex-direction:column;flex:none;gap:.55rem;min-height:0;max-height:58%;margin:0 -.7rem;padding:.3rem .7rem;display:flex;overflow-y:auto}.dialogue-panel__option{color:#e7e1d4;width:100%;font-family:Courier New,monospace;font-size:calc(clamp(.82rem, 3.45vw, .94rem) * var(--ui-scale,1));text-align:left;overflow-wrap:anywhere;cursor:pointer;touch-action:manipulation;background:#ffffff06;border:1px solid #c7a24a6b;border-radius:8px;align-items:center;gap:.75rem;padding:.78rem;line-height:1.35;transition:background .16s,border-color .16s;display:flex}.dialogue-panel__option-text{overflow-wrap:anywhere;flex:1}.dialogue-panel__option{animation:.4s cubic-bezier(.22,1,.36,1) backwards optionIn;animation-delay:calc(var(--i,0) * 80ms + .18s);transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}@keyframes optionIn{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}.dialogue-panel__option:hover,.dialogue-panel__option:focus-visible{background:#c7a24a21;border-color:#d7b45b;outline:none;transform:translate(4px);box-shadow:0 0 14px #c7a24a33}.dialogue-panel__option:active{transform:scale(.98)}.dialogue-panel__loading{vertical-align:middle;background:radial-gradient(circle,currentColor 2.5px,#0000 3px) 0 0/.6em 6px repeat-x;width:1.8em;height:6px;animation:.6s steps(3,end) infinite dotsMove;display:inline-block}@keyframes dotsMove{to{background-position:1.8em 0}}.dialogue-panel__number{color:#d7b45b;width:28px;height:28px;font-family:Courier New,monospace;font-weight:700;font-size:calc(.82rem * var(--ui-scale,1));border:1px solid #c7a24a9e;border-radius:5px;flex:0 0 28px;place-items:center;display:inline-grid}.dialogue-panel__continue{color:#f0c969;width:100%;font-family:Courier New,monospace;font-size:calc(.9rem * var(--ui-scale,1));letter-spacing:.08em;text-transform:uppercase;cursor:pointer;touch-action:manipulation;background:#c7a24a21;border:1px solid #d7b45b;border-radius:8px;flex:none;margin-top:auto;padding:.86rem 1rem;font-weight:700}.dialogue-panel__continue:hover,.dialogue-panel__continue:focus-visible{background:#c7a24a3d;outline:none}.dialogue-panel__continue-arrow{vertical-align:-.15em;width:1em;height:1em;margin-left:.4rem;animation:1.2s ease-in-out infinite nudge;display:inline-block}.dialogue-panel__continue:active{transform:scale(.98)}@keyframes nudge{0%,to{transform:translate(0)}50%{transform:translate(4px)}}@media (width>=701px){.dialogue-panel__stage{flex-direction:row;width:min(100%,920px);height:min(600px,100dvh - 64px)}.dialogue-panel__portrait-wrap{flex-basis:43%}.dialogue-panel__portrait-fade{background:linear-gradient(90deg,#0000 54%,#14130f 100%)}.dialogue-panel__box{background:linear-gradient(90deg,#14130fc2,#14130f 15%);margin:0 0 0 -42px;padding:2rem}}@media (height<=620px) and (width<=700px){.dialogue-panel__portrait-wrap{flex-basis:180px}.dialogue-panel__box{gap:.6rem;padding:.85rem 1rem}}.object-viewer{z-index:900;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-sizing:border-box;background:#050506cc;justify-content:center;align-items:center;padding:1rem;animation:.2s ease-out objectViewerFade;display:flex;position:fixed;inset:0}@keyframes objectViewerFade{0%{opacity:0}to{opacity:1}}.object-viewer__panel{box-sizing:border-box;background:linear-gradient(135deg,#14141efa,#14180ffa);border:2px solid #c7a24a;border-radius:12px;flex-direction:column;gap:.75rem;width:100%;max-width:560px;padding:1rem;display:flex;box-shadow:0 0 40px #c7a24a40,inset 0 0 20px #c7a24a14}.object-viewer__header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.object-viewer__title{font-size:calc(1rem * var(--ui-scale,1));color:#e8dcb4;align-items:center;gap:.5rem;min-width:0;margin:0;display:flex}.object-viewer__title-icon{color:#c7a24a;flex-shrink:0;width:1.1rem;height:1.1rem}.object-viewer__close,.object-viewer-launch__button{color:#e8dcb4;min-height:44px;font:inherit;font-size:calc(.875rem * var(--ui-scale,1));cursor:pointer;background:#0a0a0ed9;border:1px solid #c7a24a99;border-radius:8px;flex-shrink:0;align-items:center;gap:.4rem;padding:.4rem .8rem;display:inline-flex}.object-viewer__close:hover,.object-viewer-launch__button:hover{background:#c7a24a2e}.object-viewer__close:focus-visible,.object-viewer-launch__button:focus-visible{outline-offset:2px;outline:2px solid #c7a24a}.object-viewer__action{color:#e8dcb4;min-height:44px;font:inherit;font-size:calc(.875rem * var(--ui-scale,1));cursor:pointer;background:#0a0a0ed9;border:1px solid #c7a24a99;border-radius:8px;align-self:center;align-items:center;gap:.4rem;max-width:100%;padding:.4rem .8rem;display:inline-flex}.object-viewer__action:hover{background:#c7a24a2e}.object-viewer__action[aria-pressed=true]{background:#c7a24a40}.object-viewer__action:focus-visible{outline-offset:2px;outline:2px solid #c7a24a}.object-viewer__stage{background:#0b0b0e;border:1px solid #c7a24a40;border-radius:8px;width:100%;height:min(56vh,420px);position:relative;overflow:hidden}.object-viewer__stage canvas{touch-action:none;display:block;width:100%!important;height:100%!important}.object-viewer__fallback{color:#c9bd96;text-align:center;margin:0;padding:1rem}.object-viewer__clue{font-size:calc(.9375rem * var(--ui-scale,1));color:#ece6d6;border-left:2px solid #c7a24a;margin:0;padding:.5rem .75rem;line-height:1.45}.object-viewer__caption{font-size:calc(.875rem * var(--ui-scale,1));color:#c9bd96;text-align:center;margin:0}.object-viewer-launch{flex-wrap:wrap;gap:.5rem;padding:.5rem 0;display:flex}.object-viewer-launch__button .icon{color:#c7a24a;width:1rem;height:1rem}@media (width<=480px){.object-viewer{padding:.5rem}.object-viewer__panel{padding:.75rem}}.deduction-board{z-index:60;background:#040608c7;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.deduction-board__table{color:#d8d4c4;background:radial-gradient(at 50% 0,#7882691f,#0000 70%),linear-gradient(#1d2219,#151a12);border:1px solid #3a3f36;border-radius:6px;flex-direction:column;gap:14px;width:min(680px,100%);max-height:calc(100dvh - 32px);padding:18px;display:flex;overflow-y:auto;box-shadow:inset 0 0 40px #00000080,0 18px 40px #0009}.deduction-board--embedded{z-index:auto;background:0 0;padding:0;display:block;position:static;inset:auto;overflow:visible}.deduction-board--embedded .deduction-board__table{width:100%;max-height:none;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;overflow:visible}.deduction-board__header{justify-content:space-between;align-items:center;display:flex}.deduction-board__title{letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:8px;margin:0;font-size:1.05rem;display:flex}.deduction-board__title .icon{width:1.1rem;height:1.1rem}.deduction-board__close{width:2.25rem;height:2.25rem;color:inherit;cursor:pointer;background:0 0;border:1px solid #4a5044;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.deduction-board__hint,.deduction-board__empty{color:#a6a18c;margin:0;font-size:.9rem}.deduction-board__clues{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.deduction-board__clue{color:#1d1f19;text-align:left;cursor:pointer;background:linear-gradient(#e6dfc9,#cfc6aa);border:1px solid #4a5044;border-radius:4px;flex-direction:column;gap:6px;min-height:118px;padding:12px;transition:transform .15s,box-shadow .15s;display:flex}.deduction-board__clue:hover{transform:translateY(-2px)}.deduction-board__clue--selected{transform:translateY(-3px);box-shadow:0 0 0 2px #c9a24a,0 8px 18px #0006}.deduction-board__clue-title{font-size:.92rem;font-weight:700}.deduction-board__clue-summary{color:#3d4034;font-size:.82rem;line-height:1.35}.deduction-board__actions{gap:8px;display:flex}.deduction-board__associate,.deduction-board__clear{min-height:2.5rem;font:inherit;cursor:pointer;border:1px solid #4a5044;border-radius:4px;padding:0 16px}.deduction-board__associate{color:#1a160c;background:#c9a24a;font-weight:700}.deduction-board__clear{color:inherit;background:0 0}.deduction-board__associate:disabled,.deduction-board__clear:disabled{opacity:.45;cursor:default}.deduction-board__message{background:#00000040;border-left:3px solid #c9a24a;margin:0;padding:10px 12px;line-height:1.45}.deduction-board__ledger{border-top:1px solid #3a3f36;padding-top:10px}.deduction-board__ledger-title{letter-spacing:.06em;text-transform:uppercase;color:#a6a18c;margin:0 0 6px;font-size:.85rem}.deduction-board__list{flex-direction:column;gap:6px;margin:0;padding-left:1.1rem;line-height:1.45;display:flex}@media (width<=700px){.deduction-board__clues{grid-template-columns:1fr}}.map-panel{color:#c9c6ba;flex-direction:column;gap:.75rem;min-height:0;font-family:Courier New,monospace;display:flex}.map-panel__frame{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;background:radial-gradient(at 50% 40%,#c7a24a12,#0000 70%),#0c0b09;border:1px solid #c7a24a38;border-radius:6px;flex:auto;min-height:18rem;position:relative;overflow:hidden;box-shadow:inset 0 0 40px #0009}.map-panel__frame:active{cursor:grabbing}.map-panel__svg{width:100%;height:100%;display:block}.map-panel__zoom{flex-direction:column;gap:4px;display:flex;position:absolute;bottom:.6rem;right:.6rem}.map-panel__zoom button{color:#e7d9a8;cursor:pointer;touch-action:manipulation;background:#0c0b09d9;border:1px solid #c7a24a73;place-items:center;width:40px;height:40px;padding:0;display:grid}.map-panel__zoom button:hover,.map-panel__zoom button:focus-visible{background:#c7a24a38;outline:none}.map-panel__zoom .icon{width:1.1rem;height:1.1rem}.map-panel__grid{stroke:#c7a24a0f;stroke-width:1px}.map-panel__edge{stroke:#c9c6ba73;stroke-width:2.5px}.map-panel__edge--unexplored{stroke:#c9c6ba47;stroke-dasharray:6 7}.map-panel__edge--exit{stroke:#c7a24a;stroke-width:3px;stroke-dasharray:10 6;animation:1.4s linear infinite mapFlow}@keyframes mapFlow{to{stroke-dashoffset:-32px}}.map-panel__node{cursor:pointer;outline:none}.map-panel__hit{fill:#0000}.map-panel__dot{fill:#6f6b5d;stroke:#0c0b09;stroke-width:3px;transition:fill .2s}.map-panel__node--unknown .map-panel__dot{fill:#0c0b09;stroke:#c9c6ba80;stroke-width:2px;stroke-dasharray:3 3}.map-panel__node--reachable .map-panel__dot{fill:#9a8a5c;stroke:#c7a24a;stroke-width:2px;stroke-dasharray:none}.map-panel__node--blocked .map-panel__dot{stroke:#7a3a30}.map-panel__node--here .map-panel__dot{fill:#c7a24a;stroke:#0c0b09}.map-panel__pulse{fill:none;stroke:#c7a24a;stroke-width:2px;transform-origin:0 0;animation:1.8s ease-out infinite mapPulse}@keyframes mapPulse{0%{opacity:.9;transform:scale(.7)}to{opacity:0;transform:scale(2.4)}}.map-panel__label{fill:#a9a596;text-anchor:middle;paint-order:stroke;stroke:#0c0b09;stroke-width:5px;stroke-linejoin:round;pointer-events:none;font-family:Courier New,monospace;font-size:19px}.map-panel__node--unknown .map-panel__label{fill:#7d7a6e;letter-spacing:.08em;font-size:15px}.map-panel__node--here .map-panel__label,.map-panel__node--selected .map-panel__label{fill:#e7d9a8;font-weight:700}.map-panel__node--selected .map-panel__hit{fill:#c7a24a1a;stroke:#c7a24a8c;stroke-width:1.5px}.map-panel__node:focus-visible .map-panel__hit{stroke:#c7a24a;stroke-width:2.5px}.map-panel__node:hover .map-panel__dot{fill:#d8bc6c}.map-panel__info{background:#c7a24a0f;border-left:2px solid #c7a24a;align-items:center;gap:.75rem;padding:.65rem .8rem;display:flex}.map-panel__info-text{flex-direction:column;flex:auto;gap:.15rem;min-width:0;display:flex}.map-panel__region{font-size:calc(.68rem * var(--ui-scale,1));letter-spacing:.14em;text-transform:uppercase;color:#c7a24a}.map-panel__name{font-size:calc(.92rem * var(--ui-scale,1));color:#e7e4dc}.map-panel__hint{font-family:Georgia,serif;font-size:calc(.82rem * var(--ui-scale,1));color:#a9a596}.map-panel__go{color:#e7d9a8;min-height:44px;font-family:inherit;font-size:calc(.85rem * var(--ui-scale,1));letter-spacing:.08em;text-transform:uppercase;cursor:pointer;background:#c7a24a24;border:1px solid #c7a24a;flex:none;align-items:center;gap:.4rem;padding:0 1.1rem;transition:background .2s;display:inline-flex}.map-panel__go:hover,.map-panel__go:focus-visible{background:#c7a24a47;outline:none}.map-panel__go .icon{width:1rem;height:1rem}.map-panel__legend{font-size:calc(.7rem * var(--ui-scale,1));color:#8d897b;flex-wrap:wrap;gap:.4rem 1rem;margin:0;padding:0;list-style:none;display:flex}.map-panel__legend li{align-items:center;gap:.4rem;display:inline-flex}.map-panel__key{background:#6f6b5d;border-radius:50%;width:10px;height:10px}.map-panel__key--here{background:#c7a24a}.map-panel__key--reachable{background:#9a8a5c;box-shadow:0 0 0 1px #c7a24a}.map-panel__key--unknown{box-sizing:border-box;background:0 0;border:1px dashed #a9a596}@media (width<=700px){.map-panel__frame{flex:none;height:min(52svh,30rem);min-height:0}}@media (prefers-reduced-motion:reduce){.map-panel__pulse,.map-panel__edge--exit{animation:none}}.journal{color:#e7e4dc;flex-direction:column;gap:.85rem;min-height:0;display:flex}.journal__tabs{z-index:1;background:#14130f;border-bottom:1px solid #3a372e;gap:.25rem;display:flex;position:sticky;top:0}.journal__tab{color:#8d897b;min-height:44px;font-family:Courier New,monospace;font-size:calc(.78rem * var(--ui-scale,1));letter-spacing:.12em;text-transform:uppercase;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:1 1 0;margin-bottom:-1px;transition:color .2s,border-color .2s}.journal__tab:hover,.journal__tab:focus-visible{color:#c9c6ba;outline:none}.journal__tab--active{color:#c7a24a;border-bottom-color:#c7a24a}.journal__log{flex-direction:column;gap:1.1rem;font-family:Georgia,serif;display:flex}.journal__more{color:#c9c6ba;min-height:40px;font-family:Courier New,monospace;font-size:calc(.75rem * var(--ui-scale,1));cursor:pointer;background:0 0;border:1px solid #3a372e;align-self:center;padding:0 1rem}.journal__more:hover{color:#c7a24a;border-color:#c7a24a}.journal__turn{border-left:1px solid #c7a24a33;padding-left:.85rem}.journal__turn:last-of-type{border-left-color:#c7a24a}.journal__command{color:#c7a24a;font-family:Courier New,monospace;font-size:calc(.82rem * var(--ui-scale,1));letter-spacing:.04em;margin:0 0 .35rem}.journal__line{white-space:pre-line;line-height:1.55;font-size:calc(.92rem * var(--ui-scale,1));color:#d9d5ca;margin:0 0 .45rem}.journal__line:last-child{margin-bottom:0}.journal__section{flex-direction:column;gap:.85rem;display:flex}.journal__empty{color:#8d897b;margin:0;font-family:Georgia,serif;font-style:italic}.journal__decisions{counter-reset:decision;flex-direction:column;gap:.7rem;margin:0;padding:0;font-family:Georgia,serif;line-height:1.5;list-style:none;display:flex}.journal__decisions li{counter-increment:decision;grid-template-columns:2rem 1fr;gap:.4rem;display:grid}.journal__decisions li:before{content:counter(decision, decimal-leading-zero);color:#c7a24a;font-family:Courier New,monospace;font-size:calc(.78rem * var(--ui-scale,1));padding-top:.2rem}.journal__kicker{font-family:Courier New,monospace;font-size:calc(.68rem * var(--ui-scale,1));letter-spacing:.16em;text-transform:uppercase;color:#c7a24a}.journal__objective{background:#c7a24a0f;border-left:2px solid #c7a24a;padding:.7rem .85rem}.journal__objective p{margin:.3rem 0 0;font-family:Georgia,serif;line-height:1.5}.journal__stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0;display:grid}.journal__stats div{text-align:center;border:1px solid #3a372e;padding:.55rem .6rem}.journal__stats dt{font-family:Courier New,monospace;font-size:calc(.62rem * var(--ui-scale,1));letter-spacing:.1em;text-transform:uppercase;color:#8d897b}.journal__stats dd{font-family:Courier New,monospace;font-size:calc(1.3rem * var(--ui-scale,1));color:#e7d9a8;margin:.2rem 0 0}.journal__regions{font-family:Courier New,monospace;font-size:calc(.72rem * var(--ui-scale,1));color:#a9a596;margin:-.3rem 0 0}.journal__milestones{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.journal__milestones li{font-family:Georgia,serif;font-size:calc(.88rem * var(--ui-scale,1));color:#c9c6ba;align-items:flex-start;gap:.65rem;display:flex}.journal__milestones strong{font-family:Courier New,monospace;font-size:calc(.8rem * var(--ui-scale,1));color:#e7d9a8;letter-spacing:.04em;display:block}.journal__milestone-icon{color:#c7a24a;flex:none;width:1.1rem;height:1.1rem;margin-top:.15rem}.panel-modal-backdrop{z-index:30;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0000008c;justify-content:center;align-items:center;padding:2rem;animation:.2s ease-out panelModalVeil;display:flex;position:fixed;inset:0}.panel-modal{background:#14130ff7;border:1px solid #3a372e;border-radius:10px;flex-direction:column;width:min(720px,100%);max-height:min(860px,100%);animation:.26s cubic-bezier(.2,.8,.2,1) panelModalIn;display:flex;overflow:hidden;box-shadow:0 20px 60px #0009,inset 0 0 0 1px #c7a24a0f}.panel-modal--wide{width:min(1180px,100%)}.panel-modal--medium{width:min(960px,100%)}.panel-modal__head{border-bottom:1px solid #3a372e;flex:none;justify-content:space-between;align-items:center;padding:.85rem 1rem .85rem 1.25rem;display:flex}.panel-modal__head h2{font-family:Courier New,monospace;font-size:calc(.95rem * var(--ui-scale,1));letter-spacing:.12em;text-transform:uppercase;color:#c9c6ba;align-items:center;gap:.55rem;margin:0;display:flex}.panel-modal__icon{color:#c7a24a;width:1.1rem;height:1.1rem}.panel-modal__close{color:#c9c6ba;cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.panel-modal__close:hover,.panel-modal__close:focus-visible{color:#c7a24a;border-color:#c7a24a;outline:none}.panel-modal__close .icon{width:1.1rem;height:1.1rem}.panel-modal__body{overscroll-behavior:contain;flex:auto;min-height:0;padding:0 1.25rem 1.35rem;overflow-y:auto}.panel-modal__body>:first-child{margin-top:1.1rem}@keyframes panelModalVeil{0%{opacity:0}}@keyframes panelModalIn{0%{opacity:0;transform:translateY(14px)scale(.98)}}@media (prefers-reduced-motion:reduce){.panel-modal-backdrop,.panel-modal{animation:none}}.panel-modal--default{height:min(760px,100%)}.panel-modal--fill{height:min(720px,100%)}.panel-modal--fill .panel-modal__body{flex-direction:column;padding-top:1.1rem;display:flex;overflow:hidden}.panel-modal--fill .panel-modal__body>:first-child{flex:auto;min-height:0;margin-top:0}.app{box-sizing:border-box;flex-direction:column;max-width:min(95vw,1600px);height:100dvh;margin:0 auto;padding:1.5rem 1rem;display:flex;overflow:hidden}.app:after{content:"";z-index:1;pointer-events:none;background:radial-gradient(#0000 55%,#0000008c 100%),repeating-linear-gradient(0deg,#0000000f 0 1px,#0000 1px 3px);position:fixed;inset:0}.app__header{flex:none;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding-bottom:.6rem;animation:.6s ease-out both headerIn;display:flex;position:relative}.app__header:after{content:"";background:linear-gradient(90deg,#c7a24a,#c7a24a26 45%,#0000);height:1px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}@keyframes headerIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.app__settings-icon{vertical-align:-.12em;width:.95em;height:.95em;margin-right:.35rem}.app__header h1{letter-spacing:.05em;font-family:Courier New,monospace;font-size:calc(1.2rem * var(--ui-scale,1));color:#c9c6ba;text-transform:uppercase}.app__settings{color:#c9c6ba;font-family:Courier New,monospace;font-size:calc(.75rem * var(--ui-scale,1));cursor:pointer;background:0 0;border:1px solid #3a372e;align-items:center;padding:.4rem .85rem;transition:all .2s,transform .12s;display:inline-flex}.app__settings--icon{justify-content:center;width:44px;height:44px;padding:0}.app__settings--icon .app__settings-icon,.app__settings--icon .app__settings-glyph{width:1.25rem;height:1.25rem;margin-right:0}.app__settings:hover{color:#c7a24a;background:#c7a24a0d;border-color:#c7a24a;box-shadow:0 0 12px #c7a24a40}.app__settings:active{transform:scale(.96)}.app__settings-icon{transition:transform .45s}.app__settings:hover .app__settings-icon,.app__settings:focus-visible .app__settings-icon{transform:rotate(90deg)}@media (prefers-reduced-motion:reduce){.app__settings-icon{transition:none}}.app__settings:focus-visible{outline-offset:2px;outline:2px solid #c7a24a}:root{--ui-scale:1}:root[data-font-size=small]{--ui-scale:.9}:root[data-font-size=medium]{--ui-scale:1}:root[data-font-size=large]{--ui-scale:1.2}.app .game-console__line{font-size:calc(1rem * var(--ui-scale,1))}.app .status-hud{font-size:calc(.88rem * var(--ui-scale,1))}.app[data-reduce-motion=true] *,.app[data-reduce-motion=true] :before,.app[data-reduce-motion=true] :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.app__main{flex-direction:column;flex:auto;gap:1.5rem;min-height:0;animation:.5s ease-out mainFadeIn;display:flex;overflow:hidden}@keyframes mainFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.app__scene{z-index:0;position:fixed;inset:0}.app__header,.app__main{z-index:2;position:relative}.app__header h1{text-shadow:0 1px 8px #000c}.app__header .app__settings{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0c0b098c}.app__stage{pointer-events:none;flex:0 0 clamp(150px,34vh,380px);align-items:flex-end;min-width:0;display:flex}.app__location{flex-direction:column;gap:.3rem;max-width:min(720px,100%);padding-bottom:.15rem;display:flex}.app__region{font-family:Courier New,monospace;font-size:calc(.72rem * var(--ui-scale,1));letter-spacing:.32em;text-transform:uppercase;color:#c7a24a;text-shadow:0 1px 6px #000000e6;align-items:center;gap:.6rem;animation:.9s cubic-bezier(.2,.7,.2,1) .15s both locationRegionIn;display:inline-flex}.app__region:after{content:"";transform-origin:0;background:linear-gradient(90deg,#c7a24a,#0000);width:4.5rem;height:1px;animation:1.1s cubic-bezier(.2,.7,.2,1) .35s both locationRule}.app__room-name{font-family:Georgia,serif;font-weight:400;font-size:calc(clamp(1.5rem, 3.2vw, 2.6rem) * var(--ui-scale,1));color:#efe9d8;text-shadow:0 2px 18px #000000d9,0 1px 2px #000000e6;margin:0;line-height:1.1;animation:1.1s cubic-bezier(.2,.7,.2,1) .3s both locationNameIn}@keyframes locationRegionIn{0%{opacity:0;letter-spacing:.7em}to{opacity:1;letter-spacing:.32em}}@keyframes locationRule{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes locationNameIn{0%{opacity:0;filter:blur(6px);transform:translateY(12px)}to{opacity:1;filter:blur();transform:translateY(0)}}.app .game-console{-webkit-backdrop-filter:blur(12px)saturate(1.1);backdrop-filter:blur(12px)saturate(1.1);background:#0b0a08cc;border-color:#c7a24a38}.app .app__status .status-hud{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#100f0cc7;box-shadow:inset 0 0 0 1px #c7a24a24}.app__play-area{flex:auto;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 280px;align-items:stretch;gap:1.5rem;min-height:0;display:grid;overflow:hidden}.app__play-area>.game-console{min-height:0}.app__status{min-height:0;overflow:hidden}@media (width>=701px){.app__status>.status-hud{box-sizing:border-box;overscroll-behavior:contain;height:100%;min-height:0;overflow-y:auto}}@media (width>=1200px){.app{padding:2rem 1.5rem}.app__play-area{grid-template-columns:minmax(0,1fr) 340px;gap:2rem}}@media (width>=1400px){.app__play-area{grid-template-columns:minmax(0,1fr) 360px;gap:2rem}}@media (width<=700px){.app{padding:max(.45rem, env(safe-area-inset-top)) .65rem max(.45rem, env(safe-area-inset-bottom));overflow-x:hidden}.app__header{align-items:center;min-height:34px;margin-bottom:.35rem}.app__header h1{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app__header{justify-content:flex-end}.app__header-actions{flex:auto;justify-content:space-between;max-width:22rem}.app__settings{min-height:36px;padding-inline:.6rem}.app__main{gap:.45rem}.app__stage{flex-basis:clamp(96px,22svh,190px)}.app__room-name{font-size:calc(1.3rem * var(--ui-scale,1))}.app__region{font-size:calc(.62rem * var(--ui-scale,1));letter-spacing:.24em}@keyframes locationRegionIn{0%{opacity:0;letter-spacing:.5em}to{opacity:1;letter-spacing:.24em}}.app__play-area{flex-direction:column;gap:.4rem;min-height:0;display:flex}.app__play-area>.game-console{flex:auto;min-height:0}.app__status{flex:none;max-height:45vh}.app .status-hud{font-size:calc(.72rem * var(--ui-scale,1))}.app__header-actions{gap:.5rem;display:flex}.app .bottom-sheet .status-hud{font-size:calc(.8rem * var(--ui-scale,1));box-shadow:none;background:0 0;border-radius:0;padding:0}.app--typing .app__stage,.app--typing .app__status{display:none}.app--typing .app__play-area>.game-console{flex:100%}}.app.app--with-bar{padding-bottom:calc(3.75rem * var(--ui-scale,1) + env(safe-area-inset-bottom,0px))}@media (width>=701px){.app__main{--status-w:280px;grid-template-columns:minmax(0, 1fr) var(--status-w);grid-template-rows:clamp(150px,34vh,380px) minmax(0,1fr);gap:1.5rem;display:grid}.app__play-area{display:contents}.app__stage{grid-area:1/1}.app__play-area>.game-console{grid-area:2/1}.app__status{flex-direction:column;grid-area:1/2/span 2;align-self:end;max-height:100%;display:flex}}@media (width>=1200px){.app__main{--status-w:340px;gap:2rem}}@media (width>=1400px){.app__main{--status-w:360px}}.app__settings-label,.app__header-sep{display:none}@media (width<=700px){.app__header{margin-bottom:.4rem;padding-bottom:0}.app__header:after{display:none}.app__header-actions{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#161410b8,#0a0907c7);border:1px solid #c7a24a29;border-radius:14px;flex:auto;justify-content:space-between;align-items:stretch;gap:0;max-width:none;padding:.2rem .3rem;display:flex;box-shadow:0 6px 18px #00000073,inset 0 1px #ffffff0a}.app__header .app__settings.app__settings--icon{-webkit-backdrop-filter:none;backdrop-filter:none;color:#a9a497;width:auto;height:auto;min-height:44px;box-shadow:none;background:0 0;border:0;border-radius:10px;flex-direction:column;flex:1 1 0;justify-content:center;gap:.2rem;padding:.3rem 0 .25rem}.app__header .app__settings--icon .app__settings-glyph,.app__header .app__settings--icon .app__settings-icon{width:1.15rem;height:1.15rem}.app__settings-label{font-family:Courier New,monospace;font-size:calc(.56rem * var(--ui-scale,1));letter-spacing:.08em;text-transform:uppercase;color:#c9c6ba9e;line-height:1;transition:color .2s;display:block}.app__header .app__settings--icon:hover,.app__header .app__settings--icon:active{color:#c7a24a;box-shadow:none;background:#c7a24a14}.app__header .app__settings--icon:hover .app__settings-label,.app__header .app__settings--icon:active .app__settings-label{color:#c7a24a}.app__header .app__settings:hover .app__settings-icon{transform:none}.app__header-sep{background:linear-gradient(#0000,#c7a24a47,#0000);flex:0 0 1px;margin:.55rem .15rem;display:block}}.rotate-notice{z-index:5000;padding:1rem calc(1rem + env(safe-area-inset-right)) 1rem calc(1rem + env(safe-area-inset-left));box-sizing:border-box;text-align:center;color:#e7e4dc;touch-action:none;background:radial-gradient(45% 60% at 50% 45%,#d6b2601a,#0000 70%),repeating-linear-gradient(0deg,#e7e4dc08 0 1px,#0000 1px 3px),#0b0c09;flex-direction:column;justify-content:center;align-items:center;gap:.45rem;display:flex;position:fixed;inset:0}.rotate-locked,.rotate-locked body{overflow:hidden}.rotate-notice__device{color:#c7a24a;border:1px solid #c7a24a59;border-radius:50%;justify-content:center;align-items:center;width:4.5rem;height:4.5rem;margin-bottom:.4rem;display:flex}.rotate-notice__device .icon{width:2.4rem;height:2.4rem;animation:2.6s cubic-bezier(.65,0,.35,1) infinite rotateNoticeTurn}.rotate-notice__tag{letter-spacing:.24em;text-transform:uppercase;color:#c7a24acc;font-family:Courier New,monospace;font-size:.68rem;animation:1.6s steps(2,jump-none) infinite rotateNoticeBlink}.rotate-notice__title{letter-spacing:.03em;font-family:Georgia,serif;font-size:1.45rem;font-weight:400}.rotate-notice__text{color:#e7e4dc99;max-width:36ch;font-family:Georgia,serif;font-size:.9rem;font-style:italic;line-height:1.45}@keyframes rotateNoticeTurn{0%,15%{transform:rotate(-90deg)}50%,85%{transform:rotate(0)}to{transform:rotate(-90deg)}}@keyframes rotateNoticeBlink{0%,to{opacity:1}50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.rotate-notice__device .icon,.rotate-notice__tag{animation:none}}
