.is-demo .header-inner{min-height:72px}.demo-shell{width:min(1320px,calc(100% - 80px));margin:24px auto 72px;font-size:20px;line-height:1.5}.demo-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:28px;margin-bottom:18px}.demo-eyebrow{color:#bba1e0;font-size:12px;letter-spacing:2px;margin-bottom:12px}.demo-heading h1{font-size:34px;line-height:1.4}.demo-subtitle{color:var(--muted);margin-top:8px;font-size:20px;max-width:65ch}.demo-badge{flex-shrink:0;padding:7px 0;color:#cbb6ee;font-size:17px}.demo-notice{padding:10px 14px;border:1px solid #3c2b50;background:#120d1c;color:#d0c2e4;font-size:17px}.bridge-entry{margin-top:12px;font-size:18px}.demo-workspace{display:grid;grid-template-columns:minmax(0,1fr) 316px;gap:32px;margin-top:26px;align-items:start}.demo-field,.demo-sidebar{min-width:0}.field-title{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:12px}.field-title h2{font-size:22px}.field-title>span{color:#bba8d3;font-size:17px;white-space:nowrap}.surface-location{display:flex;justify-content:space-between;gap:20px;color:#c9b4df;font-size:17px;margin-bottom:10px}.surface-location>:last-child{white-space:nowrap}.surface-help{color:#bfb0d3;font-size:16px;margin:-8px 0 16px}.map-frame{position:relative;border:1px solid #735a91;background:#080613;box-shadow:4px 4px #1d122d}.map-frame canvas{display:block;width:100%;height:auto;image-rendering:pixelated;cursor:crosshair;touch-action:manipulation}.map-frame canvas:focus-visible{outline-offset:4px}.thought-box{margin:12px;padding:16px 20px;background:#130c1e;border:2px solid #b997dc;box-shadow:4px 4px #080613}.thought-box:focus{outline:none}.thought-box header,.thought-box footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.thought-box header>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px}.thought-box header p{color:#f0d6a6;font-size:17px}.thought-box h3{color:#cbb6df;font-size:16px;font-weight:400}.thought-line{color:#f5eaff;font-size:22px;line-height:1.7;margin-block:12px;max-width:65ch;overflow-wrap:anywhere;text-wrap:pretty}.thought-box footer>p{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;color:#cbb6df;font-size:15px}.thought-page{color:#e3c9fc;white-space:nowrap}.thought-dismiss,.thought-next{flex-shrink:0;min-height:44px;padding:6px 12px;font-size:18px;line-height:1.4;touch-action:manipulation}.thought-dismiss{border:0;background:transparent;color:#d3bde7}.thought-dismiss:hover{color:#fff0ff;background:#291b36}.thought-next{border:1px solid #d9baff;color:#180c27;background:#c3a6f0}.thought-next:hover{background:#e2cbff}.thought-history{display:flex;flex-wrap:wrap;gap:6px 20px;padding-bottom:12px}.thought-recall{min-height:44px;padding:6px 0;border:0;border-bottom:1px solid #705585;background:transparent;color:#d8c2ee;font-size:17px;text-align:start}.thought-recall:hover{color:#fff0ff;border-color:#d8b9fa}.thought-box button:focus-visible,.thought-recall:focus-visible{outline:2px solid #f0d6a6;outline-offset:3px}[lang=ko] .thought-line{word-break:keep-all;overflow-wrap:break-word}.field-controls{display:flex;align-items:center;gap:20px;padding-block:20px}.field-controls>p{flex:1;color:#bfb0d3;font-size:16px;line-height:1.55}.direction-pad{display:grid;grid-template:repeat(2,44px) / repeat(3,44px);gap:4px;flex-shrink:0}.direction{min-width:44px;min-height:44px;padding:0;border:1px solid #705585;background:#171021;color:#e9dcfa;font-size:26px;line-height:1;touch-action:none;user-select:none}.direction:hover{background:#30203f;border-color:#bba1de}.direction:active{background:#55406c}.direction.up{grid-area:1 / 2}.direction.left{grid-area:2 / 1}.direction.down{grid-area:2 / 2}.direction.right{grid-area:2 / 3}.demo-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;padding:10px 13px;border:1px solid #9b7cbc;background:#251632;color:#f0e2ff;font-size:19px;line-height:1.4;text-align:center;overflow-wrap:anywhere;touch-action:manipulation}.demo-button:hover{background:#3b264e;border-color:#d8b9fa}.demo-button:active{transform:translateY(1px)}.demo-button.filled{color:#180c27;background:#c3a6f0;border-color:#d9baff}.demo-button.filled:hover{background:#e2cbff}.demo-button.subtle{background:#100b19}.demo-button.subtle:hover{background:#261b33}.demo-button:disabled,.direction:disabled{color:#a28aaf;background:#17101f;border-color:#4c395b;cursor:not-allowed;transform:none}.interact-button{width:auto;flex-shrink:0;padding-inline:14px}.interact-button kbd{padding:1px 5px;border:1px solid #705984;color:#cdb7e9;font:inherit;font-size:14px}.demo-shell [aria-keyshortcuts=E]:focus-visible:not([data-interact]):after{content:"E";display:inline-block;margin-inline-start:8px;padding:1px 5px;border:1px solid currentColor;font-size:12px;line-height:1.3}.demo-shell .relay-cell:focus-visible:after{position:absolute;right:3px;bottom:3px;margin:0;background:#171120}.signal-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;padding-block:16px;border-bottom:1px solid #3d2b4e}.signal-readout{min-width:0}.signal-readout h3{display:flex;align-items:center;gap:12px;font-size:16px;color:#bfa9d6;margin-bottom:5px}.signal-readout p{font-size:19px;color:#efe2fc;line-height:1.4}.signal-strength{display:inline-flex;align-items:end;gap:3px;height:16px}.signal-strength i{width:5px;height:4px;background:#554267}.signal-strength i:nth-child(2){height:8px}.signal-strength i:nth-child(3){height:12px}.signal-strength i:nth-child(4){height:16px}.signal-strength[data-strength="1"] i:first-child,.signal-strength[data-strength="2"] i:nth-child(-n+2),.signal-strength[data-strength="3"] i:nth-child(-n+3),.signal-strength[data-strength="4"] i{background:#b8e5d4}.probe-button{width:auto;max-width:210px}.probe-button kbd{font:inherit;font-size:14px;color:#cdb7e9}.signal-note{grid-column:1 / -1;color:#bfb0d3;font-size:16px;line-height:1.5;max-width:70ch}.demo-feedback{min-height:62px;padding:13px 16px;background:#181023;border:1px solid #5d4478;color:#e6d6fc;font-size:19px}.demo-feedback.is-error{border-color:#a27a5e;color:#f1c4a4;background:#211620}.demo-sidebar{display:flex;flex-direction:column;gap:22px;padding-top:2px}.mission-panel h2{color:#bea2e2;font-size:17px;margin-bottom:6px}.mission-panel p{color:#f0e3ff;font-size:22px;line-height:1.4}.demo-telemetry{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px;margin:0;padding-block:17px;border-block:1px solid #3d2b4e}.demo-telemetry>div{min-width:0}.demo-telemetry dt{font-size:16px;color:#bfa9d6}.demo-telemetry dd{margin:2px 0 0;font-size:24px;color:#efe2fc;line-height:1.3;overflow-wrap:anywhere}.demo-telemetry small{font-size:16px;color:#bba6d0}.demo-telemetry .energy-readout{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:5px 16px}.energy-readout meter{grid-column:1 / -1;display:block;width:100%;height:5px;appearance:none;border:0;background:#2f203f}.energy-readout meter::-webkit-meter-bar{background:#2f203f;border:0;border-radius:0}.energy-readout meter::-webkit-meter-optimum-value{background:#c0a2ee}.energy-readout meter::-moz-meter-bar{background:#c0a2ee}.beacon-readout{grid-column:1 / -1;display:flex;align-items:baseline;justify-content:space-between;gap:12px}.beacon-readout dd{font-size:19px}.event-panel{padding:20px;background:#120c1c;border:1px solid #72558e}.event-panel h2{font-size:27px;line-height:1.35;margin-bottom:10px;overflow-wrap:anywhere}.event-panel h2:focus{outline-offset:5px}.event-description{font-size:19px;color:#d0bedf}.event-distance{font-size:16px;color:#c2a6e4;margin-block:12px}.event-actions:empty,.puzzle-status:empty{display:none}.event-actions{display:flex;flex-direction:column;gap:13px;margin-top:16px;padding-top:16px;border-top:1px solid #432d56}.event-actions>div+div{border-top:1px solid #392647;padding-top:13px}.event-actions p{color:#cdb6e3;font-size:16px;margin-bottom:8px}.event-actions .demo-button{background:#c3a6f0;color:#180c27;border-color:#d9baff}.event-actions .demo-button:hover{background:#e2cbff}.event-actions .demo-button:disabled{background:#21162b;border-color:#4c395b;color:#ad95bb}.puzzle-status{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #432d56;font-size:17px;color:#d9c7ec}.puzzle-status>p,.puzzle-status>div{display:flex;justify-content:space-between;gap:12px;padding-block:3px}.puzzle-status .pillar-state,.puzzle-status.is-relay{display:block}.is-relay .relay-instructions,.is-relay .relay-legend,.is-relay .relay-state{display:block;font-size:17px;line-height:1.5}.is-relay .relay-stage{position:relative;display:block;padding:0;width:calc(100% - 32px);max-width:300px;margin:24px auto}.relay-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.relay-cell{position:relative;min-height:60px;aspect-ratio:1;padding:0;background:#171120;border:1px solid #705585;color:#d2bce9;touch-action:manipulation}.relay-cell:hover{background:#2c1e3b;border-color:#d8b9fa}.relay-cell:focus-visible{outline:2px solid #f0d6a6;outline-offset:1px}.relay-cell:disabled{cursor:default}.relay-wire,.relay-hub{position:absolute;display:block;background:#a38abf;pointer-events:none}.relay-hub{width:6px;height:6px;left:calc(50% - 3px);top:calc(50% - 3px)}.relay-wire.north{width:4px;height:50%;left:calc(50% - 2px);top:0}.relay-wire.east{width:50%;height:4px;left:50%;top:calc(50% - 2px)}.relay-wire.south{width:4px;height:50%;left:calc(50% - 2px);top:50%}.relay-wire.west{width:50%;height:4px;left:0;top:calc(50% - 2px)}.relay-cell[data-powered=true] .relay-wire,.relay-cell[data-powered=true] .relay-hub{background:#b8e5d4}.relay-number{position:absolute;top:3px;left:5px;font-size:12px;color:#d0bedf}.relay-terminal{position:absolute;width:22px;height:22px;transform:translate(-50%,-50%);text-align:center;line-height:22px;pointer-events:none}.relay-source{color:#f0d6a6;font-size:24px}.relay-receiver{width:14px;height:14px;background:#171120;border:2px solid #a38abf}.relay-receiver.is-lit{border-color:#b8e5d4;background:#b8e5d4}.is-relay .relay-legend{color:#f0d6a6;margin-bottom:12px}.is-relay .relay-state{margin-bottom:14px;color:#d0bedf}.puzzle-status strong,.puzzle-status .is-on,.puzzle-status [data-lit=true]{color:#f0d6a6}.event-hints{margin-top:14px;display:flex;flex-direction:column;gap:4px}.hint-button{min-height:44px;background:transparent;border:0;color:#cbb2ec;font-size:17px;text-decoration:underline;text-underline-offset:4px;padding:8px 4px}.hint-button:hover{color:#f2e3ff}.field-details{border-top:1px solid #3d2b4e;font-size:18px}.field-details summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;min-height:48px;color:#d5bfed}.field-details summary>span{color:#aa8dca}.field-details[open]>summary>span{transform:rotate(45deg)}.field-details p{color:#c3aed8;font-size:18px;margin-block:8px 14px;max-width:70ch}.demo-field>.field-details{margin-top:16px}.location-list{display:flex;flex-wrap:wrap;gap:8px;padding-block:5px 12px}.location-list button{min-height:44px;padding:8px 12px;background:#15101f;border:1px solid #624778;color:#d8c2ee;font-size:17px}.location-list button:hover,.location-list button[aria-pressed=true]{background:#342044;border-color:#b692d6;color:#fff0ff}.field-log ol{list-style:none;padding:0 0 12px;max-height:230px;overflow:auto}.field-log li{position:relative;color:#bda7d2;font-size:17px;padding:8px 0 8px 17px}.field-log li:before{content:"›";position:absolute;left:0;color:#ac88d3}.field-log li:first-child{color:#ecdcff}.journal-records>details{margin-bottom:12px;border-bottom:1px solid #2b1d37;padding-bottom:8px}.journal-records>details>summary{font-size:18px;color:#e3c9fc}.journal-records p{font-size:17px;line-height:1.6;white-space:pre-line}.core-details .connection-state{color:#e5d2fa;margin-top:2px}.core-details .demo-small{font-size:17px}.utility-actions{display:flex;flex-direction:column;gap:10px;margin-block:15px 5px}.utility-actions .demo-button{font-size:17px}.saving-note{color:#b6a1ce;font-size:16px;line-height:1.5;padding-block:16px;border-block:1px solid #33223f;margin-top:28px}.saving-note.is-error,.saving-note.is-warning{color:#f0c7a4;border-color:#8d6755}.demo-footnote{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;margin-top:12px}.demo-footnote .field-details{flex:1;border:0}.demo-footnote .field-details p{font-size:17px}.demo-reset{color:#c8afdf;background:transparent;border:0;padding:10px 0;min-height:48px;font-size:17px;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.demo-reset:hover{color:#f0dcff}.reset-dialog{margin:auto;width:calc(100% - 40px);max-width:490px;padding:28px;border:1px solid #b997dc;color:#f6ebff;background:#130c1e;box-shadow:5px 5px #322043}.reset-dialog::backdrop{background:#04010cdb}.reset-dialog h2{font-size:28px}.reset-dialog p{font-size:20px;color:#cdb7e0;margin-block:16px 24px}.reset-dialog>div{display:flex;gap:12px}.demo-shell [hidden]{display:none!important}@media(max-width:1100px){.demo-shell{width:calc(100% - 48px)}.demo-workspace{grid-template-columns:minmax(0,1fr) 284px;gap:24px}.field-controls{flex-wrap:wrap;gap:14px}.field-controls>p{flex-basis:calc(100% - 160px)}.interact-button{width:100%}.demo-heading h1{font-size:30px}.demo-badge{font-size:16px;max-width:175px}}@media(max-width:840px){.demo-workspace{grid-template-columns:1fr;gap:26px}.demo-sidebar{gap:20px}.demo-telemetry{grid-template-columns:1.3fr 1fr 1fr 1.2fr;gap:20px}.demo-telemetry .energy-readout{grid-column:auto;display:block}.energy-readout meter{margin-top:6px}.beacon-readout{grid-column:auto;display:block}.demo-telemetry dd{font-size:24px}.beacon-readout dd{font-size:19px;margin-top:5px}.field-controls{flex-wrap:nowrap;gap:20px}.field-controls>p{flex-basis:auto}.interact-button{width:auto}.event-panel{padding:22px}.event-panel .demo-button{max-width:420px}.demo-heading{gap:20px}.demo-badge{max-width:140px}}@media(max-width:540px){.thought-box{margin:8px;padding:12px 14px}.thought-box header,.thought-box footer{gap:8px}.thought-box header>div{display:block}.thought-line{font-size:20px;line-height:1.65;margin-block:10px}.thought-shortcuts{display:none}.thought-next,.thought-dismiss{font-size:17px;padding-inline:8px}.signal-panel{grid-template-columns:minmax(0,1fr);gap:12px}.probe-button{width:100%;max-width:none}.signal-note{font-size:15px}.demo-shell{width:calc(100% - 32px);margin-top:18px}.demo-heading{display:block;margin-bottom:14px}.demo-eyebrow{font-size:10px;margin-bottom:10px}.demo-heading h1{font-size:26px}.demo-subtitle{font-size:18px}.demo-badge{display:block;max-width:none;padding:6px 0 0;font-size:15px}.demo-notice{font-size:15px;padding:9px 11px}.demo-workspace{margin-top:20px}.field-title h2{font-size:20px}.field-title>span{font-size:15px}.map-frame{margin-inline:-3px}.field-controls{flex-wrap:wrap;gap:14px;padding-block:16px}.field-controls>p{font-size:15px;flex-basis:calc(100% - 160px)}.interact-button{width:100%}.demo-feedback{font-size:18px}.demo-telemetry{grid-template-columns:1fr 1fr;gap:16px 24px}.demo-telemetry .energy-readout{grid-column:1 / -1;display:grid}.energy-readout meter{margin-top:0}.beacon-readout{grid-column:1 / -1;display:flex}.beacon-readout dd{margin-top:0}.mission-panel p{font-size:22px}.event-panel{padding:18px}.event-panel h2{font-size:26px}.demo-footnote{flex-direction:column;gap:6px}.demo-footnote .field-details{width:100%}.reset-dialog{padding:22px}.reset-dialog>div{flex-direction:column}}@media(prefers-reduced-motion:reduce){.demo-shell *,.demo-shell *:before,.demo-shell *:after{scroll-behavior:auto;transition:none}}.story-nav{display:flex;align-items:center;gap:20px;margin-left:auto;color:#d4bee8;font-size:15px;white-space:nowrap}.story-nav>a,.story-save,.story-menu>summary{display:flex;align-items:center;gap:12px;min-height:36px;padding:5px 0;list-style:none}.story-save{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.story-save:disabled{opacity:.5;cursor:default}.story-nav>a:hover,.story-save:hover,.story-menu>summary:hover{color:#fff0ff}.story-menu>summary::-webkit-details-marker{display:none}.story-menu[open]>summary{color:#f0d6a6}.story-menu-content{position:fixed;z-index:4;top:60px;right:18px;width:min(440px,calc(100vw - 36px));max-height:calc(100dvh - 78px);padding:12px 18px;overflow:auto;overscroll-behavior:contain;border:1px solid #b997dc;background:#130c1e;white-space:normal}.story-menu-content .demo-notice{margin-bottom:12px;padding:10px;font-size:15px}.story-menu-content .field-details{font-size:16px}.story-menu-content .field-details summary{min-height:44px}.story-menu-content .field-details p,.story-menu-content .journal-records p{font-size:16px;line-height:1.6}.story-menu-content .demo-telemetry{grid-template-columns:1fr 1fr;gap:12px 20px;padding-block:12px}.story-menu-content .demo-telemetry .energy-readout{grid-column:1 / -1;display:grid}.story-menu-content .beacon-readout{display:flex;grid-column:1 / -1}.story-menu-content .demo-telemetry dd{font-size:20px}.story-menu-content .demo-button{font-size:16px}.story-menu-content .thought-history{display:flex}.story-other-demos{display:flex;flex-wrap:wrap;gap:8px 16px;padding-block:14px;border-block:1px solid #3d2b4e;font-size:15px}.story-other-demos>p{width:100%;color:#bfa9d6}.story-other-demos a{padding-block:6px;text-decoration:underline;text-underline-offset:4px}.supply-hud{position:absolute;z-index:2;top:16px;right:16px;width:164px;padding:10px 12px;border:1px solid #705585;background:#120c1cf2;color:#e5d9f2;pointer-events:none}.supply-hud .supply-title{margin:0;font-size:14px;line-height:1.4;color:#f0d6a6}.supply-hud .supply-legend{margin:4px 0 9px;color:#bfa9d6;font-size:11px;line-height:1.3;text-align:right}.supply-hud ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}.supply-hud li{display:grid;grid-template-columns:1fr auto;gap:2px 8px;font-size:15px;line-height:1.3}.supply-count{font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}.supply-status{grid-column:1 / -1;color:#bfa9d6;font-size:11px;text-align:right}.supply-hud [data-ready=true] .supply-count,.supply-hud [data-ready=true] .supply-status{color:#b8e5d4}.is-story-game{--story-panel:#120c1c;--story-line:#705585;--interaction-width:320px;--frame-inset:24px;height:100dvh;overflow:hidden}.is-story-game>.site-header,.is-story-game>.site-footer{display:none}.is-story-game #main{height:100%}.is-story-game .demo-shell{display:grid;grid-template-rows:44px minmax(0,1fr) 20px;gap:10px;width:100%;height:100%;margin:0;padding:12px 24px 6px;font-size:16px;line-height:1.5}.is-story-game .demo-heading{align-items:center;gap:20px;margin:0}.is-story-game .demo-heading h1{font-size:24px;line-height:1.3}.is-story-game .demo-eyebrow,.is-story-game .demo-subtitle,.is-story-game .demo-badge{display:none}.is-story-game .demo-workspace{display:block;min-height:0;margin:0}.is-story-game .demo-field{height:100%;min-height:0}.is-story-game .demo-sidebar{display:none}.is-story-game .map-frame{isolation:isolate;height:100%;margin:0;overflow:hidden;border:1px solid #705585;box-shadow:none;background:#0b0918}.is-story-game .map-view{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;container-type:size}.is-story-game .map-view canvas{width:calc(var(--map-columns,32) * var(--map-tile-size,48px));height:calc(var(--map-rows,22) * var(--map-tile-size,48px));flex-shrink:0;max-width:none}.is-story-game .map-view canvas:focus-visible{outline:none}.is-story-game .map-frame:has([data-map]:focus-visible){border-color:#b997dc}.is-story-game .field-title{position:absolute;z-index:1;left:var(--frame-inset);top:16px;display:flex;align-items:center;justify-content:flex-start;gap:16px;margin:0;max-width:calc(100% - var(--interaction-width) - 70px);padding:3px 6px 3px 0;background:#0b0918ed}.is-story-game .field-title h2{font-size:17px;line-height:1.4}.is-story-game .field-title>span{font-size:12px;white-space:nowrap;color:#c7afdb}.is-story-game .surface-location{position:absolute;z-index:1;top:auto;bottom:24px;left:var(--frame-inset);right:auto;margin:0;font-size:12px;color:#bfa9d6;background:#0b0918ed}.is-story-game .surface-location>span:first-child{display:none}.is-story-game .mission-panel{position:absolute;z-index:2;left:var(--frame-inset);top:56px;width:max-content;max-width:min(420px,calc(100% - 48px));padding:0;background:#0b0918ed;border:0}.is-story-game .mission-panel summary{display:flex;gap:8px;align-items:flex-start;padding:4px 8px 4px 0;cursor:pointer;font-size:13px;color:#d9c6e9;list-style:none}.is-story-game .mission-panel summary::-webkit-details-marker{display:none}.is-story-game .mission-panel summary>span:first-child,.is-story-game .mission-toggle{color:#f0d6a6;flex-shrink:0}.is-story-game .mission-panel [data-mission]{margin:10px 0 0;font-size:14px;line-height:1.7;color:#d9c6e9}.is-story-game .mission-panel[open]{padding:10px 12px;border:1px solid #72558e;background:#160f23}.is-story-game .mission-panel[open] [data-mission]{display:block;overflow:visible}.is-story-game .mission-panel[open] .mission-toggle{transform:rotate(45deg)}.is-story-game .event-panel{position:absolute;z-index:2;inset:var(--frame-inset) var(--frame-inset) auto auto;width:var(--interaction-width);max-height:calc(100% - var(--frame-inset) - 90px);display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid #9575ac;background:#130e20fa;box-shadow:4px 4px #07050c}.is-story-game .event-header{display:flex;align-items:center;justify-content:space-between;min-height:44px;flex:0 0 44px;padding-left:20px;border-bottom:1px solid #3c2d4a;background:#1e152b;color:#f0d6a6;font-size:13px}.is-story-game .event-header button{width:44px;min-height:44px;border:0;border-left:1px solid #3c2d4a;background:transparent;color:#c7b2d8;font-size:23px;cursor:pointer}.is-story-game .event-header button:hover{background:#30203f;color:#fff}.is-story-game .event-body{padding:20px;min-height:0;flex:0 1 auto;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#745789 #130e20}.is-story-game .event-panel h2{margin:0 0 12px;font-size:24px;line-height:1.35}.is-story-game .event-description{margin:0;font-size:16px;line-height:1.7;color:#dac9e6;white-space:pre-line}.is-story-game .event-distance{margin-block:10px 0;font-size:12px;color:#bfa9d6}.is-story-game .event-detail>.demo-button{margin-top:12px}.is-story-game .event-footer{flex:0 0 auto;max-height:46%;padding:14px 20px 18px;border-top:1px solid #453152;background:#171021;overflow:auto}.is-story-game .event-actions{display:grid;gap:12px;margin:0;padding:0;border:0}.is-story-game .event-actions>div+div{padding-top:8px}.is-story-game .event-panel[data-toolroom=true] .event-actions{grid-template-columns:1fr 1fr;gap:8px}.is-story-game .event-panel[data-toolroom=true] .event-actions>div+div{padding:0;border:0}.is-story-game .event-panel[data-toolroom=true] .action-cost{display:none}.is-story-game .event-actions p{margin:0 0 8px;color:#cbb5dc;font-size:12px}.is-story-game .event-panel .demo-button{min-height:44px;padding:8px 10px;font-size:16px}.is-story-game .event-panel .demo-button kbd{padding:0 4px;border:1px solid currentColor;font:inherit;font-size:12px}.is-story-game .event-panel .demo-button.filled{background:#ead1a8;border-color:#dfc398;color:#211726}.is-story-game .event-panel .demo-button.filled:hover{background:#f9e5c6}.is-story-game .event-panel .demo-button.filled:disabled{background:#35273e;border-color:#675072;color:#bba6ca}.is-story-game .event-footer:has([data-actions]:empty):has([data-hints][hidden]):not(:has(.puzzle-exit:not([hidden]))){display:none}.is-story-game .event-hints{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.is-story-game .event-hints .demo-button{width:auto;flex:1}.is-story-game .event-hints .hint-button{min-height:44px;font-size:14px}.is-story-game .event-reopen{position:absolute;z-index:2;top:var(--frame-inset);right:var(--frame-inset);display:flex;gap:12px;align-items:center;min-height:44px;padding:8px 14px;border:1px solid #9575ac;color:#f0d6a6;background:#21172e;cursor:pointer;font-size:14px}.is-story-game .event-reopen kbd{font:inherit}.is-story-game .supply-hud{position:absolute;top:var(--frame-inset);right:var(--frame-inset);width:280px;padding:10px 14px;margin:0;border:1px solid #705585;background:#120c1cf2}.is-story-game .supply-hud .supply-title{font-size:12px;color:#e5d9f2}.is-story-game .supply-hud .supply-legend,.is-story-game .supply-hud .supply-status{display:none}.is-story-game .supply-hud ul{display:flex;justify-content:space-between;gap:12px;margin-top:6px}.is-story-game .supply-hud li{display:flex;align-items:center;gap:6px;font-size:14px}.is-story-game .supply-hud li:before{content:"";width:10px;height:8px;background:#ad7c6b}.is-story-game .supply-hud li[data-item=crystals]:before{width:8px;height:12px;background:#b8e5d4}.is-story-game .supply-count{color:#f0d6a6;font-size:16px}.is-story-game .map-frame:has(>.supply-hud:not([hidden])) .event-panel{top:104px;max-height:calc(100% - 194px)}.is-story-game .puzzle-status{margin-top:14px;padding-top:12px;gap:4px;font-size:14px}.is-story-game .event-panel:has(.is-relay) .event-description{font-size:14px}.is-story-game .is-relay .relay-instructions{font-size:14px;line-height:1.6}.is-story-game .is-relay .relay-stage{width:192px;margin:18px auto}.is-story-game .relay-cell{min-height:44px}.is-story-game .is-relay .relay-legend,.is-story-game .is-relay .relay-state{margin-bottom:8px;font-size:12px;line-height:1.5}.is-story-game .field-controls{position:absolute;z-index:2;left:var(--frame-inset);right:var(--frame-inset);bottom:16px;display:flex;align-items:flex-end;gap:12px;margin:0;padding:0;border:0;background:transparent;pointer-events:none}.is-story-game .direction-pad{display:flex;gap:4px}.is-story-game .direction{flex:0 0 44px;width:44px;min-height:44px;font-size:23px;background:#160e23ed}.is-story-game .field-controls>p{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.is-story-game .interact-button{width:auto;min-width:96px;min-height:44px;margin-left:0;padding:8px 12px;font-size:16px;background:#21172eed}.is-story-game .surface-help{display:none}.is-story-game .demo-feedback{position:absolute;z-index:1;left:var(--frame-inset);right:auto;bottom:92px;width:max-content;max-width:min(420px,calc(100% - 48px));max-height:56px;min-height:0;margin:0;padding:8px 12px;overflow:auto;border:1px solid #493450;background:#120c1cf2;color:#d8c5e7;font-size:13px;line-height:1.5}.is-story-game .signal-panel{position:absolute;z-index:1;left:50%;right:auto;bottom:92px;transform:translate(-50%);width:max-content;max-width:calc(100% - 48px);padding:8px 14px;border:1px solid #493450;background:#120c1cf2}.is-story-game .signal-readout h3,.is-story-game .signal-note{display:none}.is-story-game .signal-readout p{font-size:12px;line-height:1.4}.is-story-game .probe-button{width:auto;min-width:104px;min-height:44px;padding:6px 10px;gap:8px;font-size:13px}.is-story-game .saving-note{margin:0;padding:0;min-height:18px;max-height:20px;overflow:auto;border:0;font-size:11px;color:#baa4ce}.is-story-game .thought-box{position:absolute;z-index:4;inset:auto;width:360px;height:224px;max-width:calc(100% - 24px);max-height:calc(100% - 90px);display:flex;flex-direction:column;gap:0;margin:0;padding:12px 16px 10px;overflow:visible;border:2px solid #a98abf;background:#170f25;box-shadow:4px 4px #080610}.is-story-game .thought-box:after{content:"";position:absolute;width:18px;height:18px;bottom:-18px;left:calc(var(--tail-x,50%) - 9px);background:#a98abf;clip-path:polygon(0 0,100% 0,100% 33%,67% 33%,67% 67%,34% 67%,34% 100%,0 100%);pointer-events:none}.is-story-game .thought-box[data-tail=left]:after{left:-18px;top:calc(var(--tail-y,50%) - 9px);bottom:auto;transform:rotate(90deg)}.is-story-game .thought-box[data-tail=right]:after{left:auto;right:-18px;top:calc(var(--tail-y,50%) - 9px);bottom:auto;transform:rotate(-90deg)}.is-story-game .thought-box header{align-items:flex-start;gap:8px;flex-shrink:0}.is-story-game .thought-box header>div{display:block}.is-story-game .thought-box header p{color:#f0d6a6;font-size:14px}.is-story-game .thought-box h3{margin-top:2px;color:#baa2ce;font-size:11px}.is-story-game .thought-line{flex:1;min-height:0;margin-block:12px;overflow:auto;color:#f1e6f6;font-size:18px;line-height:1.65;text-wrap:pretty}.is-story-game .thought-box footer{align-items:center;gap:8px;flex-shrink:0}.is-story-game .thought-box footer>p{font-size:11px}.is-story-game .thought-shortcuts{display:none}.is-story-game .thought-dismiss{min-height:44px;margin-top:-10px;margin-right:-10px;padding:4px 8px;color:#c7b2d8;font-size:12px}.is-story-game .thought-next{min-height:44px;padding:6px 12px;border:1px solid #ddc399;background:#ead1a8;color:#211726;font-size:14px}.is-story-game .thought-next:hover{background:#f9e5c6}.is-story-game .thought-box[data-voice=keeper]{border-color:#9bc9bd}.is-story-game .thought-box[data-voice=keeper]:after{background:#9bc9bd}.is-story-game .thought-box[data-voice=keeper] header p{color:#b8e5d4}.is-story-game [data-talking=true] .mission-panel,.is-story-game [data-talking=true] .signal-panel,.is-story-game [data-talking=true] .field-controls,.is-story-game [data-talking=true] .demo-feedback{visibility:hidden}.chapter-ending{position:absolute;z-index:2;top:110px;left:24px;max-width:320px;padding:10px 12px;border:1px solid #598f93;background:#0e1820;color:#d6eee5;pointer-events:none}.chapter-ending h3{margin:0 0 4px;color:#b8e5d4;font-size:16px}.chapter-ending p{font-size:13px;line-height:1.5}.story-nav :focus-visible,.mission-panel :focus-visible,.event-panel :focus-visible,.event-reopen:focus-visible{outline:2px solid #f0d6a6;outline-offset:2px}@media(max-width:1050px){.is-story-game{--interaction-width:280px;--frame-inset:16px}.is-story-game .demo-shell{padding:8px 12px 4px;grid-template-rows:36px minmax(0,1fr) 18px;gap:6px}.is-story-game .demo-heading h1{font-size:21px}.story-nav{gap:14px;font-size:13px}.is-story-game .event-body{padding:16px}.is-story-game .event-header{padding-left:16px}.is-story-game .event-footer{padding:12px 16px}.is-story-game .thought-box{width:320px}}@media(max-height:500px)and (orientation:landscape){.is-story-game{--interaction-width:268px;--frame-inset:10px}.is-story-game .demo-shell{grid-template-rows:30px minmax(0,1fr) 15px;padding:4px 10px 2px;gap:4px}.is-story-game .demo-heading h1{font-size:18px}.story-nav{gap:12px;font-size:12px}.story-nav>a,.story-save,.story-menu>summary{min-height:30px;padding-block:2px}.story-menu-content{top:38px;right:10px;max-height:calc(100dvh - 48px)}.is-story-game .field-title{top:10px;gap:10px}.is-story-game .field-title h2{font-size:14px}.is-story-game .field-title>span{font-size:11px}.is-story-game .surface-location{display:none}.is-story-game .mission-panel{top:42px}.is-story-game .mission-panel summary{font-size:11px}.is-story-game .mission-panel [data-mission]{-webkit-line-clamp:1}.is-story-game .event-header{min-height:44px;flex-basis:44px;padding-left:14px;font-size:12px}.is-story-game .event-header button{min-height:44px}.is-story-game .event-body{padding:10px 14px}.is-story-game .event-panel h2{font-size:20px;margin-bottom:8px}.is-story-game .event-description{font-size:14px;line-height:1.6}.is-story-game .event-distance{margin-top:6px;font-size:11px}.is-story-game .event-footer{padding:8px 14px 10px}.is-story-game .event-panel .demo-button{font-size:14px;min-height:44px;padding:6px 8px}.is-story-game .event-actions{gap:8px}.is-story-game .event-actions p{margin-bottom:6px;font-size:11px}.is-story-game .event-panel:has(.is-relay) .event-description,.is-story-game .event-panel:has(.is-relay) .event-distance{display:none}.is-story-game .event-panel:has(.is-relay) .event-body{padding-block:8px}.is-story-game .event-panel:has(.is-relay) h2,.is-story-game .is-relay .relay-legend,.is-story-game .is-relay[data-restored=false] .relay-state{display:none}.is-story-game .puzzle-status.is-relay{margin-top:0;padding-top:0;border:0}.is-story-game .is-relay .relay-instructions{font-size:12px;line-height:1.45}.is-story-game .is-relay .relay-stage{width:148px;margin:12px auto}.is-story-game .is-relay .relay-legend,.is-story-game .is-relay .relay-state{font-size:11px;line-height:1.4;margin-bottom:6px}.is-story-game .field-controls{bottom:10px;gap:8px}.is-story-game .interact-button{min-width:74px;padding-inline:6px;font-size:14px;gap:6px}.is-story-game .demo-feedback{bottom:114px;max-height:48px;font-size:12px}.is-story-game .signal-panel{bottom:82px;right:auto}.is-story-game .signal-readout p{font-size:11px}.is-story-game .probe-button{min-width:90px;font-size:12px}.is-story-game .saving-note{font-size:10px;min-height:14px;max-height:15px}.is-story-game .thought-box{width:304px;height:184px;padding:8px 12px;max-height:calc(100% - 52px)}.is-story-game .thought-box h3{display:none}.is-story-game .thought-box header p{font-size:12px}.is-story-game .thought-line{margin-block:6px;font-size:15px;line-height:1.6}.is-story-game .thought-dismiss{margin:-8px -8px 0 0;font-size:11px}.is-story-game .thought-next{font-size:12px;padding:4px 10px}.chapter-ending{top:80px;left:10px;max-width:calc(100% - 310px);padding:8px}.chapter-ending h3{font-size:14px}.chapter-ending p{font-size:11px}}@media(orientation:portrait)and (max-width:700px){.is-story-game .demo-shell:after{content:"请横屏体验星际归途";position:fixed;z-index:10;inset:0;display:grid;place-items:center;padding:24px;background:#100b1cf5;color:#f0d6a6;font-size:24px;text-align:center}}@media(prefers-reduced-motion:reduce){.is-story-game *,.is-story-game *:before,.is-story-game *:after{scroll-behavior:auto;transition:none}}.is-story-game .field-controls button{pointer-events:auto}.is-story-game .direction-pad{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:4px;flex:0 0 auto}.is-story-game .direction-pad .up{grid-area:1 / 2}.is-story-game .direction-pad .left{grid-area:2 / 1}.is-story-game .direction-pad .down{grid-area:2 / 2}.is-story-game .direction-pad .right{grid-area:2 / 3}.is-story-game .direction-pad button{width:44px;height:44px;background:#171021f2}.is-story-game .field-controls .interact-button{margin-left:auto;width:180px;min-height:52px;justify-content:space-between;background:#21172ef5}.is-story-game .actor-probe{position:absolute;z-index:1;width:220px;max-width:calc(100% - 16px);transform:translate(-50%)}.is-story-game .actor-probe .probe-button{display:flex;align-items:center;justify-content:center;width:100%;background:#171021f2}.is-story-game .actor-probe .signal-panel{position:static;transform:none;width:100%;max-width:none;margin-top:4px;padding:6px 10px;text-align:center}.is-story-game .actor-probe .signal-panel p{margin:0;font-size:12px;line-height:1.4}.is-story-game .actor-probe .signal-strength{flex:none}.is-story-game .actor-probe .signal-strength[data-stale=true]{opacity:.4}.is-story-game [data-talking=true] .actor-probe,.is-story-game [data-mode=puzzle] .actor-probe{visibility:hidden}.is-story-game .keyboard-help{display:none;font-size:12px;color:#cbb5dc;background:#120c1ce8;padding:8px 10px}.is-story-game .target-prompt{position:absolute;z-index:1;display:flex;align-items:center;gap:8px;transform:translate(-50%);min-height:36px;max-width:240px;padding:6px 10px;border:1px solid #80638f;background:#120c1cf5;color:#f4e5cb;font-size:14px;cursor:pointer}.is-story-game .target-prompt kbd{font:inherit;padding:0 4px;border:1px solid #ad93b9}.is-story-game .puzzle-controls{margin:0 0 8px;color:#e5d9f2;font-size:12px}.is-story-game .puzzle-exit{width:100%;margin-top:8px}.is-story-game .puzzle-footer{display:flex;align-items:stretch;gap:8px}.is-story-game .puzzle-footer>*{flex:1;min-width:0}.is-story-game .puzzle-footer>div:empty{display:none}.is-story-game .puzzle-footer .demo-button{margin:0;width:100%;font-size:12px}.is-story-game [data-mode=puzzle] .event-actions{grid-template-columns:1fr 1fr;gap:8px}.is-story-game [data-mode=puzzle] .event-actions .action-cost{display:none}.is-story-game [data-mode=puzzle] .event-actions>div+div{padding:0}.is-story-game [data-mode=puzzle] .event-actions:not(:empty){margin-bottom:8px}.is-story-game .event-footer:has(.puzzle-exit:not([hidden])){display:block}.is-story-game [data-mode=puzzle] .event-panel{top:var(--frame-inset);max-height:calc(100% - var(--frame-inset) * 2)}.is-story-game [data-mode=puzzle] .event-panel .event-detail{display:none}.is-story-game [data-mode=puzzle] .event-panel .puzzle-status{border:0;padding-top:0;margin-top:0}.is-story-game [data-mode=puzzle] .field-controls{visibility:hidden}.is-story-game .demo-feedback[data-kind=gain]{bottom:auto;transform:translate(-50%);max-width:180px;overflow:visible;padding:6px 10px;color:#c7f1d9;border-color:#598f93;pointer-events:none}.is-story-game .demo-feedback[data-kind=interaction]{z-index:3;bottom:auto;transform:translate(-50%);max-width:min(280px,calc(100% - 32px));max-height:none;overflow:visible;pointer-events:none}.is-story-game .relay-cell:focus-visible{outline:2px solid #f0d6a6;outline-offset:-3px}@media(min-height:501px)and (hover:hover){.is-story-game .field-controls .direction-pad{display:none}.is-story-game .keyboard-help{display:block}}@media(max-height:500px)and (orientation:landscape){.is-story-game .actor-probe .probe-button{height:44px;min-height:44px;padding:3px 10px 20px}.is-story-game .actor-probe:has([data-probe-panel][hidden]) .probe-button{padding:6px 10px}.is-story-game .actor-probe .signal-panel{position:absolute;inset:23px auto auto 0;margin:0;padding:0 6px;border:0;background:transparent;pointer-events:none}.is-story-game .supply-hud{width:260px;padding:8px 12px}.is-story-game .field-controls .interact-button{width:158px;font-size:14px}.is-story-game .target-prompt{font-size:12px;min-height:32px;padding:4px 8px}.is-story-game .event-panel{max-height:calc(100% - 86px)}.is-story-game .map-frame:has(>.supply-hud:not([hidden])) .event-panel{top:88px;max-height:calc(100% - 164px)}.is-story-game .map-frame .event-panel[data-toolroom=true],.is-story-game .map-frame:has(>.supply-hud:not([hidden])) .event-panel[data-toolroom=true]{top:72px;max-height:calc(100% - 180px)}.is-story-game .event-panel[data-toolroom=true] .event-footer{max-height:none}.is-story-game [data-mode=puzzle] .event-panel{top:10px;max-height:calc(100% - 20px)}.is-story-game .puzzle-controls{font-size:11px}.is-story-game .is-relay .relay-stage{margin:8px auto}.is-story-game .puzzle-exit{margin:0}.is-story-game [data-mode=puzzle] .event-footer{padding:6px 14px}}@media(max-height:380px)and (orientation:landscape){.is-story-game .is-relay .relay-stage{width:140px;margin:4px auto}.is-story-game .event-panel:has(.is-relay) .event-body{padding-block:6px}}.is-spares{display:block}.is-spares>.spare-instruction{display:block;padding:0;margin:0 0 8px;font-size:12px;line-height:1.4;color:#dfcee9}.is-spares>.spare-bench{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center;padding:0}.spare-board{position:relative;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);aspect-ratio:1;background:#0b0914;border:1px solid #705585}.spare-square{border:1px solid #2f243f;pointer-events:none}.spare-piece{z-index:1;margin:0;min-width:0;padding:0;border:2px solid #796b96;background:#383044;color:#e9ddf3;font:inherit;font-size:16px;cursor:pointer}.spare-piece[data-spare-piece="0"]{border-color:#c99b65;background:#674c39;color:#fff1d2}.spare-piece[data-selected=true]{border-color:#f0d6a6;box-shadow:inset 0 0 0 1px #f0d6a6}.spare-piece:focus-visible{outline:2px solid #fff0cb;outline-offset:-5px}.spare-exit{position:absolute;right:-7px;top:25%;height:25%;display:grid;place-items:center;z-index:2;color:#f0d6a6;font-size:18px;pointer-events:none}.spare-moves{display:grid;gap:6px}.spare-moves .demo-button{min-width:44px;min-height:44px;padding:2px!important;font-size:18px!important}.spare-moves [data-spare-take]{font-size:12px!important}.is-story-game .event-panel:has(.is-spares) .event-footer .puzzle-footer>div{flex:2;display:grid;grid-template-columns:1fr 1fr;gap:8px}.is-story-game .event-panel:has(.is-spares) .puzzle-exit kbd{display:none}.is-story-game .event-panel:has(.is-spares) .puzzle-footer button:focus-visible:after{display:none}.is-story-game .event-panel:has(.is-spares) .spare-piece:focus-visible:after,.is-story-game .event-panel:has(.is-spares) .spare-moves button:focus-visible:after{display:none}.is-story-game .event-panel:has(.is-spares) .event-actions:empty{display:none}.is-story-game .supply-hud li[data-item=fuse]:before{width:13px;height:5px;background:#c3cfd1;border-inline:3px solid #e2b87a}.is-story-game .supply-hud li[data-item=harness]:before{width:10px;height:8px;background:#598f93;border:2px solid #b8e5d4}.is-story-game .supply-hud:has([data-item=fuse]) .supply-name{font-size:12px;white-space:nowrap}.is-story-game .supply-hud:has([data-item=fuse]) .supply-count{font-size:14px}@media(max-height:500px)and (orientation:landscape){.is-story-game [data-mode=puzzle] .event-panel:has(.is-spares){top:4px;max-height:calc(100% - 8px)}.is-story-game .event-panel:has(.is-spares) .event-body{padding:0 14px}.is-story-game .event-panel:has(.is-spares) .puzzle-controls{display:none}.is-story-game .event-panel:has(.is-spares) .spare-instruction{font-size:10px;line-height:1.2;margin-bottom:2px}.is-story-game .event-panel:has(.is-spares) .spare-board{width:178px}.is-story-game .event-panel:has(.is-spares) .spare-bench{grid-template-columns:178px 44px;gap:8px}.is-story-game .event-panel:has(.is-spares) .puzzle-status{gap:0}.is-story-game .event-panel:has(.is-spares) .event-footer{padding:4px 14px}.is-story-game .event-panel:has(.is-spares) .puzzle-footer .demo-button{padding:4px;font-size:11px}}.is-demo.is-bridge .header-inner{min-height:44px;height:44px;display:flex;justify-content:space-between}.is-bridge .site-header .desktop-nav,.is-bridge .site-header .mobile-menu,.is-bridge .site-footer{display:none}.is-bridge .site-header .brand-wordmark{font-size:14px}.is-bridge .site-header .language-switch summary{font-size:16px;padding-block:2px}.is-bridge .site-header .wrap{width:calc(100% - 32px)}.is-bridge{overflow:hidden}.bridge-demo{position:relative;width:calc(100% - 24px);height:calc(100dvh - 56px);margin:4px auto 8px;padding:8px 12px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;border:1px solid #705888;background:#080613;font-size:17px}.bridge-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;min-width:0}.bridge-heading h1{font-size:22px;line-height:1.25}.bridge-heading a{display:flex;align-items:center;gap:8px;min-height:32px;flex-shrink:0;color:#d7c0f1;font-size:15px}.bridge-workspace{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:16px;min-height:0}.bridge-field{position:relative;min-width:0;min-height:0;overflow:hidden;background:#080613}.bridge-frame{position:absolute;inset:0;display:grid;place-items:center;container-type:size}.bridge-frame canvas{display:block;width:min(100cqw,100cqh);height:min(100cqw,100cqh);image-rendering:pixelated;touch-action:manipulation;cursor:crosshair}.bridge-frame canvas:focus-visible{outline:1px solid #9273b5;outline-offset:-1px}.bridge-location{position:absolute;z-index:1;top:4px;left:8px;right:8px;display:flex;justify-content:space-between;align-items:baseline;gap:12px;pointer-events:none}.bridge-location h2{color:#c8b4dc;font-size:14px}.bridge-location span{font-size:14px;color:#c8b4dc;white-space:nowrap}.bridge-goal{position:absolute;z-index:1;top:34px;left:8px;max-width:min(460px,calc(100% - 16px));padding:6px 10px;background:#100b19ed;pointer-events:none}.bridge-goal h2{color:#c7addf;font-size:12px;line-height:1.3;margin-bottom:3px}.bridge-goal p{color:#f1e7fc;font-size:18px;line-height:1.4}.bridge-goal[data-complete=true] p{color:#b8e5d4}.bridge-controls{position:absolute;z-index:1;left:8px;bottom:8px}#bridge-controls{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.bridge-messages{position:absolute;z-index:1;right:8px;bottom:8px;left:156px;max-height:38%;overflow:auto;border:1px solid #8c6aab;background:#130c1ef5;padding:10px 12px;scrollbar-width:thin}.bridge-thought h2{color:#efcc93;font-size:13px;margin-bottom:4px}.bridge-thought p{color:#f5eaff;font-size:18px;line-height:1.5}.bridge-feedback{color:#d9c6ed;font-size:17px;line-height:1.5}.bridge-feedback[data-error=true]{color:#f1c4a4}.bridge-demo:not([data-message=feedback]) .bridge-feedback,.bridge-demo[data-message=feedback] .bridge-thought{display:none}.bridge-sidebar{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0;border-left:1px solid #40304e;padding-left:14px}.bridge-readout{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:0;padding-bottom:10px;border-bottom:1px solid #40304e}.bridge-readout>div{min-width:0}.bridge-readout dt{color:#c1acd6;font-size:12px;line-height:1.4}.bridge-readout dd{color:#ede0fc;font-size:15px;line-height:1.35;margin:2px 0 0;overflow-wrap:anywhere}.bridge-actions{display:flex;flex-direction:column;gap:7px;min-height:0}.bridge-actions h2{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.bridge-actions>p{color:#c8b8da;font-size:13px;line-height:1.4}.bridge-actions .bridge-cabinet-help{color:#d9c6ed;font-size:14px;line-height:1.4}.bridge-actions .bridge-cabinet-help[data-unpowered=true]{color:#f1c4a4}.bridge-actions .demo-button{min-height:44px;padding:7px 8px;font-size:16px}.bridge-selector{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:2px 0}.bridge-selector p{grid-column:1/-1;color:#c1acd6;font-size:13px;line-height:1.3}.bridge-selector .demo-button{padding-inline:5px;font-size:15px}.bridge-selector [aria-pressed=true]{border-color:#b8e5d4;box-shadow:inset 0 -3px #799c8d}.bridge-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto}.bridge-manual,.bridge-hints{min-width:0;flex:1;font-size:14px}.bridge-manual summary,.bridge-text-button{display:flex;align-items:center;min-height:44px;padding:5px 0;background:none;border:0;color:#d7c0ed;text-align:start;font-size:14px;line-height:1.35}.bridge-text-button:hover,.bridge-manual summary:hover{color:#fff2ff}.bridge-text-button:disabled{color:#a18caf;cursor:default}.bridge-tools .bridge-text-button{min-width:44px}.bridge-manual-content,.bridge-hint-panel{position:absolute;z-index:3;right:4px;bottom:52px;width:min(360px,calc(100% - 16px));max-height:calc(100% - 64px);overflow:auto;padding:14px 16px;border:1px solid #b997dc;background:#130c1e;box-shadow:4px 4px #080613}.bridge-manual-content h2,.bridge-hint-panel h2{color:#efcc93;font-size:17px}.bridge-manual-content p,.bridge-hint-panel>p{margin-block:10px;color:#e8d9f5;font-size:17px;line-height:1.55}.bridge-manual-content .bridge-notice{color:#c1afd4;font-size:14px}.bridge-hint-panel header{display:flex;justify-content:space-between;align-items:center;gap:12px}.bridge-help-close{flex-shrink:0;width:44px;height:44px;padding:0;color:#e8d9f5;background:#261a34;border:1px solid #755a8d;font-size:24px}.bridge-hint-panel .demo-button{min-height:44px;font-size:16px}.bridge-footer{display:flex;align-items:center;gap:14px;min-width:0;border-top:1px solid #40304e;padding-top:4px;color:#c1afd4;font-size:13px;line-height:1.3}.bridge-footer>p{min-width:0}.bridge-footer [data-bridge-save]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bridge-inventory{flex-shrink:0;color:#d9c8e9}.bridge-inventory span{color:#efcc93}.bridge-footer>span{white-space:nowrap}.bridge-footer .bridge-text-button{flex-shrink:0;padding:2px 0;font-size:13px}.bridge-orientation-notice{display:none}.is-bridge .reset-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 16px)}.bridge-demo [hidden]{display:none!important}@media(max-width:900px){.bridge-workspace{grid-template-columns:minmax(0,1fr) 252px;gap:10px}.bridge-sidebar{padding-left:10px}.bridge-heading h1{font-size:20px}.bridge-back-label{display:none}.bridge-heading a{width:44px;justify-content:center}.bridge-footer{gap:8px;font-size:12px}.bridge-footer .bridge-text-button{font-size:12px}}@media(max-height:600px){.bridge-readout{display:none}.bridge-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.bridge-selector{display:contents}.bridge-selector p{display:none}.bridge-actions>p{grid-column:1/-1;font-size:12px;line-height:1.35}.bridge-actions .bridge-cabinet-help{font-size:13px}.bridge-actions .demo-button{min-height:44px;padding:5px;font-size:14px}.bridge-sidebar{gap:6px}.bridge-tools{gap:8px}.bridge-tools .bridge-text-button,.bridge-tools summary{font-size:13px}.bridge-messages{max-height:35%;padding:7px 10px}.bridge-thought p,.bridge-feedback{font-size:16px;line-height:1.4}.bridge-goal{top:25px;padding:4px 7px}.bridge-goal h2{display:none}.bridge-goal p{font-size:15px}}@media(max-height:460px)and (orientation:landscape){.is-bridge .reset-dialog{padding:12px}.is-bridge .reset-dialog h2{font-size:20px;line-height:1.3}.is-bridge .reset-dialog p{margin-block:10px;font-size:15px;line-height:1.4}.is-bridge .reset-dialog>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.is-bridge .reset-dialog .demo-button{min-height:44px;padding:6px;font-size:15px;line-height:1.3}.is-demo.is-bridge .header-inner{height:32px;min-height:32px}.is-bridge .site-header .brand-wordmark{font-size:12px}.is-bridge .site-header .language-switch summary{font-size:14px;padding:0;line-height:30px}.bridge-demo{width:calc(100% - 12px);height:calc(100dvh - 38px);margin:2px auto 4px;padding:4px 8px;gap:4px}.bridge-heading h1{font-size:17px}.bridge-heading a{min-height:24px}.bridge-workspace{grid-template-columns:minmax(0,1fr) 236px;gap:8px}.bridge-actions>[data-bridge-center-note]{display:none}.bridge-actions{gap:5px}.bridge-actions .demo-button{padding:4px;font-size:13px;line-height:1.25}.bridge-actions .bridge-cabinet-help{font-size:12px;line-height:1.25}.bridge-sidebar{gap:4px}.bridge-location h2,.bridge-location span{font-size:12px}.bridge-footer{gap:8px;padding-top:0}.bridge-footer [data-bridge-save]{font-size:11px}.bridge-footer .bridge-text-button{min-height:44px}.bridge-goal{top:21px}.bridge-messages{left:150px;right:4px;bottom:4px;max-height:42%}.bridge-thought h2{display:none}.bridge-thought p,.bridge-feedback{font-size:14px;line-height:1.35}.bridge-controls{left:4px;bottom:4px}.bridge-manual-content,.bridge-hint-panel{bottom:46px;max-height:calc(100% - 52px);padding:10px 12px}.bridge-hint-panel header h2{font-size:15px}.bridge-manual-content p,.bridge-hint-panel>p{font-size:15px;margin-block:7px}}@media(max-width:700px)and (orientation:portrait){.bridge-demo{overflow:hidden}.bridge-demo>:not(.bridge-orientation-notice){visibility:hidden}.bridge-orientation-notice{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:28px;text-align:center;background:#080613}.bridge-orientation-notice>span{color:#efcc93;font-size:60px}.bridge-orientation-notice h2{font-size:26px}.bridge-orientation-notice p{color:#cdb9df;font-size:18px;line-height:1.6;max-width:28ch}}@media(prefers-reduced-motion:reduce){.bridge-demo *,.bridge-demo *:before,.bridge-demo *:after{scroll-behavior:auto;animation:none;transition:none}}.is-demo.is-lab .header-inner{height:44px;min-height:44px;display:flex;justify-content:space-between}.is-lab .site-header .desktop-nav,.is-lab .site-header .mobile-menu,.is-lab .site-footer{display:none}.is-lab .site-header .wrap{width:calc(100% - 32px)}.is-lab .site-header .brand-wordmark{font-size:14px}.is-lab .site-header .language-switch summary{font-size:16px;padding-block:2px}.is-lab{overflow:hidden}.puzzle-lab{width:calc(100% - 24px);height:calc(100dvh - 56px);margin:4px auto 8px;padding:8px 12px;position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;border:1px solid #705888;background:#080613;font-size:17px;line-height:1.4}.puzzle-lab [hidden]{display:none!important}.lab-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0}.lab-heading h1{font-size:22px;flex-shrink:0}.lab-tabs{display:flex;gap:4px;min-width:0}.lab-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:7px 14px;border:1px solid #443151;background:#100c1a;color:#cbb9dd;font-size:16px}.lab-tabs [aria-selected=true]{color:#f1e5ff;background:#30203f;border-color:#b59acb;box-shadow:inset 0 -3px #a78dc2}.lab-tabs button>:first-child{font-family:var(--display);font-size:12px;color:#edc78d}.lab-tab-check{color:#b9e6ce}.lab-workspace{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:18px;min-height:0}.lab-field{position:relative;min-height:0;min-width:0;background:#0a0718;overflow:hidden}.lab-scene{position:absolute;inset:48px 0 84px;display:grid;place-items:center;container-type:size}.lab-scene canvas{width:min(100cqw,150cqh);height:min(66.6667cqw,100cqh);display:block;image-rendering:pixelated;cursor:pointer;touch-action:manipulation}.lab-scene[data-lab-scene=a]{inset:0}.lab-scene[data-lab-scene=a] canvas{width:min(100cqw,100cqh);height:min(100cqw,100cqh);cursor:crosshair}.lab-scene canvas:focus-visible{outline:1px solid #8f729f;outline-offset:-1px}.lab-goal{position:absolute;z-index:1;top:8px;left:12px;right:12px;padding:6px 10px;background:#100b19ef;pointer-events:none}.lab-goal h2{color:#bda5d4;font-size:12px;margin-bottom:3px}.lab-goal p{color:#f1e6fa;font-size:18px;line-height:1.4}.puzzle-lab[data-complete=true] .lab-goal p{color:#b9e6ce}.lab-message{position:absolute;z-index:1;bottom:8px;left:12px;right:12px;max-height:28%;overflow:auto;background:#130c1ef5;border:1px solid #80658d;padding:10px 12px;scrollbar-width:thin}.lab-message>span{display:block;color:#e8c493;font-size:12px;margin-bottom:3px}.lab-message p{color:#efe4fa;font-size:18px;line-height:1.5}.lab-message[data-error=true] p{color:#f1c6a1}.lab-sidebar{min-height:0;min-width:0;display:flex;flex-direction:column;gap:14px;border-left:1px solid #443151;padding-left:16px}.lab-readout h2{color:#c6aedb;font-size:15px;margin-bottom:8px}.lab-readout p{color:#edc78d;font-size:19px;line-height:1.4}.lab-actions{display:flex;flex-direction:column;gap:10px}.lab-action-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.puzzle-lab button{touch-action:manipulation}.lab-actions button,.lab-tools button,.lab-dialog button{min-height:44px;padding:8px 6px;background:#261a34;color:#e9dcf5;border:1px solid #8c6ba1;font-size:16px;line-height:1.35}.lab-actions button:hover,.lab-tools button:hover,.lab-dialog button:hover{background:#3d2c4e;border-color:#b799cc}.lab-actions button:active,.lab-dialog button:active{background:#4a365d}.lab-actions button:disabled{opacity:.5;cursor:default}.lab-actions [aria-pressed=true]{color:#c6f1dc;border-color:#a2cfb9;background:#263a3c}.lab-direction{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.lab-direction button{font-size:22px;padding:2px}.lab-viewpoints,.lab-sockets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.lab-repair-label{font-size:14px;color:#c7b0d9;margin-bottom:5px}.lab-keys{color:#c6b4d6;font-size:14px;line-height:1.6}.lab-tools{display:grid;grid-template-columns:1fr 1fr 44px;gap:5px;margin-top:auto}.lab-tools button{font-size:14px;padding:5px 2px}.lab-tools [data-lab-restart]{font-size:24px}.lab-back{display:flex;align-items:center;min-height:44px;font-size:14px;color:#d7bfed}.lab-footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #443151;padding-top:6px;font-size:12px;color:#bfa9d0}.lab-footer>p{min-width:0}.lab-footer [data-lab-save]{text-align:end}.lab-dialog{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 20px);border:1px solid #b19bc5;background:#130c1e;padding:24px;color:#f0e4fa}.lab-dialog::backdrop{background:#03020bcc}.lab-dialog h2{font-size:24px;color:#edc78d}.lab-dialog>p{margin:20px 0;font-size:20px;line-height:1.7}.lab-dialog>div{display:flex;justify-content:flex-end;gap:10px}.lab-dialog button{padding:9px 14px}.lab-orientation{display:none}@media(max-width:1000px){.lab-heading h1{font-size:20px}.lab-workspace{grid-template-columns:minmax(0,1fr) 236px;gap:10px}.lab-sidebar{padding-left:10px;gap:10px}.lab-tabs button{padding-inline:10px;font-size:14px;gap:6px}}@media(max-height:600px){.lab-sidebar{gap:8px}.lab-readout h2{font-size:13px;margin-bottom:4px}.lab-readout p{font-size:15px}.lab-actions{gap:6px}.lab-actions button{font-size:14px;padding:4px}.lab-keys{font-size:12px;line-height:1.4}.lab-back{display:none}.lab-goal{top:4px;left:6px;right:6px;padding:4px 7px}.lab-goal h2{display:none}.lab-goal p{font-size:15px}.lab-message{bottom:4px;left:6px;right:6px;padding:6px 8px;max-height:30%}.lab-message>span{display:none}.lab-message p{font-size:15px;line-height:1.4}.lab-scene{inset:34px 0 64px}}@media(max-height:460px)and (orientation:landscape){.is-demo.is-lab .header-inner{height:32px;min-height:32px}.is-lab .site-header .brand-wordmark{font-size:12px}.is-lab .site-header .language-switch summary{font-size:14px;line-height:30px;padding:0}.puzzle-lab{width:calc(100% - 12px);height:calc(100dvh - 38px);margin:2px auto 4px;padding:4px 7px;gap:4px}.lab-heading{gap:8px}.lab-heading h1{font-size:17px}.lab-tabs button{font-size:12px;padding:3px 7px;gap:5px}.lab-tabs button>:first-child{font-size:10px}.lab-workspace{grid-template-columns:minmax(0,1fr) 216px;gap:8px}.lab-sidebar{gap:6px;padding-left:8px}.lab-readout h2{display:none}.lab-readout p{font-size:13px}.lab-tools button{font-size:12px}.lab-keys{font-size:11px}.lab-footer{padding-top:3px;font-size:10px;gap:8px;line-height:1.3}.lab-dialog{padding:14px}.lab-dialog h2{font-size:20px}.lab-dialog>p{font-size:16px;line-height:1.4;margin:12px 0}.lab-dialog button{font-size:15px;padding:6px 10px}}@media(max-width:600px)and (orientation:landscape){.lab-heading h1{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.lab-tabs{width:100%}.lab-tabs button{flex:1}.lab-workspace{grid-template-columns:minmax(0,1fr) 202px;gap:6px}.lab-actions button{font-size:13px}.lab-keys{display:none}.lab-message p{font-size:14px}}@media(max-width:700px)and (orientation:portrait){.puzzle-lab{overflow:hidden}.puzzle-lab>:not(.lab-orientation){visibility:hidden}.lab-orientation{display:flex;position:absolute;z-index:3;inset:0;background:#080613;padding:28px;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center}.lab-orientation>span{color:#edc78d;font-size:60px}.lab-orientation h2{font-size:26px}.lab-orientation p{color:#cdb7de;font-size:18px;line-height:1.7}}@media(prefers-reduced-motion:reduce){.puzzle-lab *,.puzzle-lab *:before,.puzzle-lab *:after{scroll-behavior:auto;animation:none;transition:none}}
