.scene-ambience{isolation:isolate;background:var(--surface-iron);border-bottom:1px solid var(--border);height:48px;color:var(--muted-foreground);flex-shrink:0;justify-content:space-between;align-items:center;padding-inline:14px 4px;display:flex;position:relative;overflow:hidden}.scene-ambience__art{z-index:-1;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.scene-ambience__ridge{fill:var(--secondary)}.scene-ambience__label{font:11px/1.4 var(--font-sans);letter-spacing:0;align-items:center;gap:8px;display:flex}.scene-ambience__label svg{width:14px;height:14px;color:var(--primary)}.scene-ambience__toggle{width:44px;height:44px;color:var(--muted-foreground)}.scene-ambience__toggle svg{width:14px;height:14px}.scene-ambience__particle{fill:none;stroke:var(--muted-foreground);stroke-width:1px;opacity:.35;animation:1.8s linear infinite scene-weather}.scene-ambience__particle--1{animation-delay:-.6s}.scene-ambience__particle--2{animation-delay:-1.2s}[data-scene-effect=snow] .scene-ambience__particle{animation-duration:6s}.scene-ambience__drift{fill:none;stroke:var(--primary);stroke-width:1px;opacity:.25;animation:9s ease-in-out infinite alternate scene-drift}[data-scene-effect=mist] .scene-ambience__drift{stroke:var(--muted-foreground);stroke-width:6px;opacity:.16}.scene-ambience__fire{fill:var(--primary);opacity:.45;transform-origin:490px 48px;animation:3s ease-in-out infinite alternate scene-fire}.scene-ambience[data-paused=true] *{animation-play-state:paused}@keyframes scene-weather{0%{transform:translateY(-16px)}to{transform:translateY(48px)}}@keyframes scene-drift{0%{transform:translate(-20px)}to{transform:translate(20px)}}@keyframes scene-fire{0%{opacity:.3;transform:scaleY(.85)}to{opacity:.5;transform:scaleY(1)}}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.prose-journal,.demo-feed-narration){font-family:var(--font-display);color:var(--game-story-ink);max-width:68ch;font-size:16px;line-height:1.8}.adventure-play.saga-play-screen .saga-journal-column{background:var(--surface-paper)}.adventure-play.saga-play-screen .saga-journal-entry--narration{padding:12px 0}.adventure-play .saga-journal-entry--narration>span[aria-hidden=true]{display:none}.adventure-play .saga-journal-entry--narration>.eyebrow{font:10px/1.4 var(--font-mono);letter-spacing:0;color:var(--muted-foreground)}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.saga-choice.saga-move-card,.demo-move-card.demo-choice-button){border:1px solid var(--game-move-border);background:var(--game-move-background);min-height:64px;box-shadow:var(--shadow-page);letter-spacing:0;border-radius:8px;padding:12px 14px;transition:transform .15s,border-color .15s;animation:.28s both game-arrive}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.saga-choice.saga-move-card,.demo-move-card.demo-choice-button):hover:not(:disabled):not([aria-disabled=true]){border-color:var(--primary);background:var(--game-move-background);box-shadow:var(--shadow-lift);transform:translateY(-1px)}:is(.adventure-play,.demo-turn-shell) :is(.saga-move-card__sigil,.demo-move-sigil){background:var(--surface-iron);width:38px;height:38px;color:var(--primary);border:1px solid var(--game-move-border);box-shadow:none;border-radius:6px}:is(.adventure-play,.demo-turn-shell) :is(.saga-move-card__sigil,.demo-move-sigil) svg{width:18px;height:18px}:is(.adventure-play,.demo-turn-shell) :is(.saga-roll-card,.demo-result-panel){border:1px solid var(--game-move-border);background:var(--surface-leather);box-shadow:none;border-radius:8px;padding:14px}:is(.adventure-play,.demo-turn-shell) :is(.saga-roll-card,.demo-result-panel)[data-outcome=miss]{border-color:var(--game-loss-border)}.adventure-play .saga-consequence-effect{background:color-mix(in oklab,var(--primary) 5%,transparent);color:var(--primary);border-radius:6px}.adventure-play .saga-consequence-effect--cost{background:var(--game-loss-background);border-color:var(--game-loss-border);color:var(--game-loss-ink)}.adventure-play .saga-choice-custom-action{border-radius:8px}.adventure-play .action-dice-shell{box-shadow:none;background:0 0;border:0;border-radius:0;padding:12px;transform:none}.adventure-play .action-dice-shell:before,.adventure-play .action-dice-burst,.adventure-play .action-dice-sigil{display:none}.adventure-play .action-dice-shell:hover,.adventure-play .action-dice-shell:active{box-shadow:none;transform:none}.adventure-play .action-dice-outcome{letter-spacing:0;text-shadow:none;font-size:16px}.adventure-play .action-dice-shell--animate .action-dice-facet{animation:.35s both game-arrive}@keyframes game-arrive{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:767px){.adventure-play .scene-ambience{height:44px}.adventure-play.saga-play-screen .saga-journal-scroll{padding:16px}}@media(prefers-reduced-motion:reduce){.scene-ambience *,:is(.adventure-play,.demo-turn-shell) :is(.saga-choice.saga-move-card,.demo-move-card.demo-choice-button,.action-dice-facet){transition:none!important;animation:none!important;transform:none!important}}@media(max-width:400px){:is(.adventure-play.saga-play-screen,.demo-turn-shell).demo-turn-shell .adventure-header__hud{grid-template-columns:repeat(2,minmax(0,1fr))}}.adventure-play.saga-play-screen .saga-journal-column{position:relative}.action-beat{z-index:5;pointer-events:none;justify-content:center;align-items:center;animation:.3s 1.4s forwards action-beat-vanish;display:flex;position:absolute;inset:0}.action-beat__art{opacity:.9;width:min(240px,60%);height:auto}.action-beat__slash{fill:none;stroke:var(--game-story-ink);stroke-width:5px;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100px;animation:.45s ease-out forwards action-beat-draw}.action-beat__slash--echo{stroke-width:2px;opacity:.55;animation-delay:.12s}.action-beat__spatter{fill:var(--primary);opacity:0;transform-box:fill-box;transform-origin:50%;animation:.4s ease-out .35s forwards action-beat-spatter}.action-beat__spatter--2{animation-delay:.45s}.action-beat__spatter--3{animation-delay:.55s}@keyframes action-beat-draw{to{stroke-dashoffset:0}}@keyframes action-beat-spatter{0%{opacity:0;transform:scale(.4)}to{opacity:.8;transform:scale(1)}}@keyframes action-beat-vanish{to{opacity:0}}@media(prefers-reduced-motion:reduce){.action-beat{display:none}}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header{background:var(--surface-leather);border-bottom:1px solid var(--game-move-border);color:var(--foreground);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"location tools""name name""hud hud""goal goal""journey journey";gap:8px 16px;padding:16px 22px;display:grid}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header:after,:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__art{display:none}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__location{grid-area:location;min-width:0}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__eyebrow{color:var(--muted-foreground);letter-spacing:0;align-items:center;gap:6px;font-size:11px;display:flex}.demo-turn-shell .adventure-header__eyebrow svg{width:12px;height:12px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__title{font:20px/1.4 var(--font-display);white-space:normal;overflow-wrap:anywhere;color:var(--foreground);margin:0}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__name{color:var(--muted-foreground);grid-area:name;font-size:12px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__hud{grid-area:hud;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:4px 0;display:grid}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track{--track-ink:var(--game-supply);border:1px solid var(--border);background:var(--surface-iron);min-width:0;color:var(--muted-foreground);box-shadow:var(--shadow-press);border-radius:3px;grid-template-rows:auto auto;grid-template-columns:16px minmax(0,1fr) auto;gap:6px;padding:10px;display:grid;position:relative}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track[data-track=health]{--track-ink:var(--game-health)}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track[data-track=spirit]{--track-ink:var(--game-spirit)}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track[data-track=momentum]{--track-ink:var(--game-momentum)}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track svg{width:14px;height:14px;color:var(--track-ink)}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track>.adventure-header__track-label{font:11px/1.4 var(--font-sans);display:block}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track-value{color:var(--foreground);font:600 16px/1.2 var(--font-sans);font-variant-numeric:tabular-nums;justify-self:end}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.adventure-header__meter,.adventure-header__momentum-meter){background:var(--secondary);grid-area:2/1/auto/-1;height:4px;display:block;overflow:hidden}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.adventure-header__meter,.adventure-header__momentum-meter)>span{background:var(--track-ink);height:100%;transition:width .25s;display:block}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track[data-low=true]{border-color:var(--game-loss-border)}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__delta{background:var(--primary);color:var(--primary-foreground);border-radius:3px;padding:1px 5px;font-size:11px;position:absolute;top:-8px;right:4px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__tools{border:1px solid var(--game-move-border);background:var(--secondary);width:44px;min-width:44px;height:44px;color:var(--primary);border-radius:4px;grid-area:tools;gap:0;padding:0;font-size:0}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__tools svg{width:18px;height:18px}.adventure-play.saga-play-screen .adventure-header__goal{border-left:2px solid var(--primary);grid-area:goal;padding:8px 0 0 12px;display:block}.adventure-play.saga-play-screen .adventure-header__goal-label{color:var(--primary);font:11px/1.4 var(--font-sans)}.adventure-play.saga-play-screen .adventure-header__goal-text{font:14px/1.6 var(--font-display);color:var(--foreground)}.adventure-play.saga-play-screen .adventure-header__goal-detail{color:var(--muted-foreground)}.adventure-play.saga-play-screen .adventure-header__journey{color:var(--muted-foreground);grid-area:journey;justify-self:start;font-size:12px;display:block}.adventure-play.saga-play-screen .adventure-header__journey[open]{grid-area:auto}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.saga-choice.saga-move-card,.demo-move-card.demo-choice-button){border-left:3px solid var(--bronze-dim);min-height:78px;box-shadow:var(--game-card-shadow);border-radius:4px;margin-bottom:4px;padding:14px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.saga-move-card__sigil,.demo-move-sigil){width:42px;height:42px;box-shadow:var(--shadow-press);border-radius:3px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.saga-choice.saga-move-card,.demo-move-card.demo-choice-button):active:not(:disabled):not([aria-disabled=true]){box-shadow:var(--shadow-press);transform:translateY(2px)}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.saga-roll-card,.demo-result-panel){border-left:3px solid var(--primary);background:var(--surface-leather);border-radius:4px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.saga-roll-card,.demo-result-panel)[data-outcome=miss]{border-left-color:var(--game-loss-ink)}.demo-turn-shell .action-dice-shell{box-shadow:none;background:0 0;border:0;padding:12px 0;transform:none}.demo-turn-shell :is(.action-dice-sigil,.action-dice-burst){display:none}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .action-dice-shell--animate{animation:.48s ease-out game-roll-settle}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .action-dice-outcome{letter-spacing:0;text-shadow:none;font-size:17px}.demo-turn-shell .demo-result-banner{background:var(--game-result-wash);border:0;padding:12px}.demo-turn-shell .demo-result-story{font:16px/1.8 var(--font-display);color:var(--game-story-ink)}.demo-turn-shell .demo-aim-card{border:0;border-left:2px solid var(--primary);background:0 0;border-radius:0}.demo-turn-shell .demo-aim-title{color:var(--foreground)}.demo-turn-shell .demo-choices-helper,.demo-turn-shell .demo-sheet-rail-heading,.demo-turn-shell .demo-sheet-rail-name{display:none}.demo-turn-shell .demo-journal-panel{min-width:0}.demo-turn-shell .demo-grid{grid-template-columns:minmax(0,1fr)}.demo-turn-shell .demo-sheet-panel{border:0;padding:0 18px}.demo-turn-shell .demo-sheet-details{border:0;padding:0}.demo-turn-shell .demo-sheet-details>summary{align-content:center;min-height:44px}.demo-turn-shell .demo-codex-panel{border:0;border-top:1px solid var(--border)}.demo-turn-shell .demo-journal-panel.surface-paper{border-inline:0}.demo-turn-shell .demo-journal-viewport{min-height:0}.demo-turn-shell .demo-change-list>li{background:var(--surface-paper);border-color:var(--game-move-border);border-radius:4px}.demo-turn-shell .demo-change-list>li[data-tone=down]{border-color:var(--game-loss-border);color:var(--game-loss-ink)}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .action-dice-header{flex-wrap:wrap;gap:10px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .action-dice-outcome-wrap{min-width:0}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .action-dice-formula{font-size:11px}.demo-turn-shell .demo-move-body{min-width:0}.demo-turn-shell .demo-choice-label{overflow-wrap:anywhere}.demo-turn-shell .demo-choice-stack .demo-choice-hint{font-family:var(--font-sans);letter-spacing:0;text-transform:none;color:var(--muted-foreground);font-size:14px;font-weight:400;line-height:1.5}@keyframes game-roll-settle{0%{background-color:var(--secondary)}to{background-color:#0000}}@media(max-width:767px){:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header{gap:4px 12px;padding:12px 14px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__title{font-size:16px;line-height:1.4}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__hud{gap:6px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track{grid-template-columns:12px 1fr;gap:5px 3px;padding:7px 6px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track>.adventure-header__track-label{grid-column:2;font-size:10px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) .adventure-header__track-value{grid-area:2/1/auto/-1;justify-self:start;font-size:16px}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.adventure-header__meter,.adventure-header__momentum-meter){grid-row:3}.adventure-play.saga-play-screen .adventure-header__goal-detail{display:none}.adventure-play.saga-play-screen .adventure-header__goal-text{font-size:12px}.adventure-play.saga-play-screen .adventure-header__journey{display:block}.adventure-play.saga-play-screen .saga-jumpbar{background:var(--surface-leather);height:auto;padding:4px 12px}.adventure-play.saga-play-screen .saga-jumpbar>button{background:var(--surface-leather);min-height:44px;box-shadow:none;position:static;transform:none}.demo-turn-shell .demo-choice-button{grid-template-columns:38px minmax(0,1fr)}.demo-turn-shell .demo-move-badge{grid-column:2;justify-self:start}:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.saga-move-card__sigil,.demo-move-sigil){width:34px;height:34px}}@media(min-width:768px)and (max-height:900px){.adventure-play.saga-play-screen.game-shell .scene-ambience{display:none}.adventure-play.saga-play-screen.game-shell{padding-block:8px}.adventure-play.saga-play-screen.game-shell .saga-page-head{gap:8px;margin:0;padding-bottom:6px}.adventure-play.saga-play-screen.game-shell .saga-page-head>div:last-child{max-width:none}.adventure-play.saga-play-screen.game-shell .adventure-header{grid-template-columns:minmax(0,1fr) minmax(0,2fr) auto;grid-template-areas:"location hud tools""name goal journey";align-items:center;gap:2px 12px;padding:6px 14px}.adventure-play.saga-play-screen.game-shell .adventure-header__location{display:block}.adventure-play.saga-play-screen.game-shell .adventure-header__title{font-size:18px}.adventure-play.saga-play-screen.game-shell .adventure-header__name{font-size:11px;display:block}.adventure-play.saga-play-screen.game-shell .adventure-header__hud{gap:6px;padding:0}.adventure-play.saga-play-screen.game-shell .adventure-header__track{gap:3px;padding:5px 6px}.adventure-play.saga-play-screen.game-shell .adventure-header__goal{padding:0 0 0 8px}.adventure-play.saga-play-screen.game-shell .adventure-header__journey{justify-self:end;display:block}.adventure-play.saga-play-screen.game-shell .adventure-header__journey>summary{min-height:36px}.adventure-play.saga-play-screen.game-shell :is(.adventure-header__goal,.adventure-header__journey)[open]{grid-area:auto/1/auto/-1;max-height:24dvh;overflow-y:auto}.adventure-play.saga-play-screen.game-shell .saga-composer{padding-block:6px}.adventure-play.saga-play-screen.game-shell .saga-composer-label{margin-bottom:0}}@media(max-width:767px){.adventure-play.saga-play-screen.game-shell .adventure-header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"location tools""name name""hud hud""goal journey"}.adventure-play.saga-play-screen.game-shell .adventure-header__journey{justify-self:end;display:block}.adventure-play.saga-play-screen.game-shell .adventure-header__journey>summary{min-height:44px}.adventure-play.saga-play-screen.game-shell :is(.adventure-header__goal,.adventure-header__journey)[open]{grid-area:auto/1/auto/-1;max-height:24dvh;overflow-y:auto}}.adventure-play.saga-play-screen :is([data-journal-narration-anchor],[data-journal-choices-anchor]):focus-visible,.saga-momentum-decision h3:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.saga-momentum-decision{overscroll-behavior:contain;max-height:40dvh;overflow-y:auto}@media(prefers-reduced-motion:reduce){:is(.adventure-play.saga-play-screen,.demo-turn-shell) :is(.action-dice-shell,.action-dice-facet,.action-dice-score,.demo-die,.adventure-header__delta,.saga-choice,.demo-move-card){transition:none!important;animation:none!important;transform:none!important}}
