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ff");font-display:swap}@font-face{font-family:Switchyard;src:url(data:font/woff;base64,d09GRgABAAAAAAu4AAoAAAAAO8AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABZAAAADQAAABgZWLpu2NtYXAAAAGoAAAAxQAAAQSsEfOgZ2x5ZgAAAygAAAaKAAA0SLfiHmloZWFkAAAA9AAAADYAAAA2Lu/8amhoZWEAAAEsAAAAHwAAACQFFgH2aG10eAAAAZgAAAANAAAAuAJYAABsb2NhAAACcAAAALgAAAC4jpucNW1heHAAAAFMAAAAGAAAACAAcABSbmFtZQAACbQAAACgAAABFLOwLd1wb3N0AAAKVAAAAWIAAAJnypJgywABAAAAAQAAi5GnEF8PPPUAAQPoAAAAAObz3AMAAAAA5vPcAwAAAGQB9AMgAAAAAwACAAAAAAAAeJxjYGRgYFb4b8HAwBTBwMCQwviFASiCAhgBTAMDEQB4nGNgZGBgiGYIYBBhAAEmBjQAABOWAMN4nGNgZopgnMDAysDCQAA0MDAwMzAoJMD49kAApBRUjzMr/LcASiownEDTosDAAAAD+QZoeJxjimAYkgAAQRAAWwAAAHicTY7LCkFRGIU/l2RghAFFbeqQXJMJEkou57iMXCIDr6G8gzI09QoyMDLyCMpAHsEbbL+T4q+912qtb7d/wAm45ATldtjq5iWaQYnzEccgRZ4yVWrUmbNkzYmbCqqwiqpEbBc7xv3GVWt5pYROkqZAxaabLFjZdECFVETo7R+d5jMevPKrR19An/Veb+yUZxYeh0fpvpO9MhLkKPKbwldz4j75r3PQwsKkz4CObNCmQZchPUbi29KY0luMmTJh9ga/JCkxAAAAAAAAOQA5AKgBIQFuAd0CRQKXAwMDbQPEBA4EZQSlBRMFfQXhBjwGpQcTB2wHrAgLCF4IxgkYCVYJrgoECmUKqAsLC2YLqQwKDGAMlwzQDRkNVA2vDfsORw6dDvIPKg95D7sQBxBCEI0QxxEdEWsR3xIbEm8SyBMdE4AT4RQiFIsU7BUIFSoVXRWWFbwV9RYXFk4WexanFrgW1RcCFy4XbxewGAQ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iaVo2CrJJMY3lzTN2HES0z008YpzYSVHL8WDr5h5oIhhocPjkb3o2Y2Dr1zqy+Nmar1g3xmebTxib2I3drp5hmQTU5ndJaqkaddhKdP8P+r+wRwAAeJxtjM0KglAQRo+/0Q9BEK2CXLcQfYGeoJWCe1FRQRSuivgiPW/32o1cNIvhzJlvBjjwwkCVwW7pqkw2cvqwxZGTZnuVcdhz0+wu3sKwt9KcuWs25e1Ds8WVp2Z7lXG4UGl2lY+nesiqORV5VJRjk4qf8EI/SArR112rkJiJmoFMfphJEeREFJSMNMv8L+ER4hOQyKSgl/uO9mvfyvwiUXicfZCJWtUwGER7KBfcQGRxRRFEQAG92ZrEFQUEFAE3XHiAvv8bOP99APp9M2mSM8m0zVhz+XPRNIzRMs6ACSa5wlWucZ0bTDHNTWa4xSxzzLPAbe5wl3vc5wGLPOQRSzxmmRWesMpT1lhng2c8Z5MttnnBS4Y4PIFIoiNTqLziNW94yzves8MHPrLLHvt84oBDjvjMF475ygmnnPGN7/zgJ7845zd/+Ms/Lto++LbvktRJWSpSbfs8lJyk/RykKInL4rK4LC6LK+KKuCKuiCviirgirogr4oq4Kq5qXjWvdbx3w6GZM/NmwSyaJbPOLJsVM0s4SzhLOEs4SzhLOEs4SzhLOEs4S3hLeEt41Yu6OqpKUpWkyklrSZWTKidVTqqcVDFqjLYmPokPYjopiok22mcoG2xPXNR5UedVk/aD/Ua7tISB/ktQCe+SXlP1I48jDyO39c7XQV+77P4DBohjOwAA)format("woff");font-display:swap}:root{color:#f4e5be;--ink:#101d28;--brass:#b8a780;--muted:#87a3a2;--line:#625842;--accent:#f4c77a;font-synthesis:none;background:#080f19;font-family:Switchyard,monospace;font-size:20px}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit;line-height:24px}button{white-space:nowrap;color:#f4e5be;cursor:pointer;background:#182b32;border:1px solid #8b805e;padding:6px 8px}button:hover:not(:disabled),button.selected,.primary{background:#514033;border-color:#f4c77a}button:disabled{opacity:.45;cursor:default}a{color:#b8a780}h1,h2,h3,p{margin:0;font-family:Switchyard,monospace;font-size:20px;font-weight:400;line-height:24px}h2,h3{color:#f4c77a}small{color:#87a3a2;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}[hidden]{display:none!important}button:focus-visible,a:focus-visible,#canvas:focus-visible{outline-offset:1px;outline:1px solid #f4c77a}.pixel-source{transform-origin:0 0;opacity:0;position:fixed}.pixel-output{z-index:100;pointer-events:none;image-rendering:pixelated;position:fixed}.phaser-host{opacity:0;pointer-events:none;width:1008px;height:480px;position:fixed;top:0;left:-12000px}.world-input{display:block;position:absolute}.game-shell{background:#101d28;grid-template-rows:40px 24px 480px 208px 16px;grid-template-columns:minmax(0,1fr);width:100%;height:100%;display:grid;overflow:hidden}.topbar{border-bottom:1px solid #b8a780;justify-content:space-between;align-items:center;gap:8px;padding:0 8px;display:flex}.brand{align-items:center;gap:12px;min-width:0;display:flex}.brand h1{white-space:nowrap;color:#f4c77a}.brand span{white-space:nowrap;border-left:1px solid #625842;max-width:260px;padding-left:12px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px;overflow:hidden}.topbar nav{flex-shrink:0;gap:8px;display:flex}.topbar button{padding:4px 8px}.initiative{white-space:nowrap;background:#182b32;border-bottom:1px solid #625842;align-items:center;min-width:0;padding:0 8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px;display:flex;overflow:auto hidden}.initiative .turn{border-right:1px solid #625842;flex-shrink:0;height:22px;padding:0 12px}.initiative .turn.active{color:#f4c77a;background:#35535a}.initiative .round{flex-shrink:0;padding-right:16px}.stage-wrap{background:#080f19;min-height:0;position:relative;overflow:hidden}#canvas{outline:none;position:absolute;inset:0}.scene-layer{pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.scene-layer>*{pointer-events:auto}.scene-panel{background:#101d28;border:1px solid #f4c77a;width:calc(100% - 32px);max-width:720px;padding:24px}.scene-panel h2{margin-bottom:16px;font-family:Switchyard,monospace;font-size:40px;line-height:48px}.chapter-name{color:#b8a780;margin-bottom:16px}.panel-content p+p{margin-top:12px}.panel-actions{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}.panel-actions button:first-child{background:#35535a;border-color:#f4c77a}.dialogue{background:#101d28;border:1px solid #f4c77a;gap:16px;min-height:156px;max-height:calc(100% - 16px);padding:12px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.dialogue-portrait{background:#182b32;border:1px solid #625842;flex:0 0 130px;align-self:center;width:130px;height:130px;overflow:hidden}.dialogue-portrait img{object-fit:none;width:128px;height:128px;display:block}.dialogue-copy{flex-direction:column;flex:1;min-width:0;min-height:0;padding-right:16px;display:flex}.dialogue h2{flex-shrink:0;margin-bottom:12px}.dialogue-copy p{min-height:0;overflow:auto}.dialogue-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;margin-top:12px;display:flex}.dialogue-actions button{white-space:normal;max-width:100%;padding:4px 8px}.dialogue-page{color:#8b805e;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px;position:absolute;bottom:8px;right:12px}.ticket-mark{text-align:center;padding-top:52px;display:block}.controls{background:#101d28;border-top:1px solid #b8a780;min-height:0;display:flex;overflow:hidden}.controls .identity{border-right:1px solid #625842;flex:0 0 304px;align-items:center;gap:12px;padding:12px;display:flex}.identity img{object-fit:none;background:#182b32;border:1px solid #625842;flex-shrink:0;width:130px;height:130px;display:block}.identity h2{margin-bottom:8px}.identity .role{color:#87a3a2;margin-bottom:8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.vitals{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.bar{background:#182b32;border:1px solid #625842;width:112px;height:8px;margin:4px 0 8px}.bar span{background:#aa4d42;height:100%;display:block}.bar.focus span{background:#557179}.command-panel{flex:1;min-width:0;padding:8px;overflow:auto}.actions{flex-wrap:wrap;gap:8px;display:flex}.actions button{min-height:34px;padding:4px 6px}.hint{color:#dac9a0;margin-top:8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.confirmation{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.confirmation button{padding:4px 8px}.prediction{color:#f4c77a;flex-basis:100%;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.world-party{border-right:1px solid #625842;align-items:center;gap:16px;padding:12px;display:flex}.world-hero{align-items:center;gap:8px;display:flex}.world-hero img{object-fit:none;width:80px;height:80px;display:block}.world-hero strong{color:#f4c77a;font-weight:400}.world-hero small{margin-top:8px;display:block}.world-objective{flex:1;align-self:center;min-width:0;padding:12px 16px}.world-objective h3{margin-bottom:12px}.world-actions{align-items:center;gap:8px;padding:8px;display:flex}.dpad{grid-template-areas:".up.""left down right";gap:4px;display:none}.dpad button{touch-action:none;min-width:32px;min-height:32px;padding:2px 6px}.dpad button:first-child{grid-area:up}.dpad button:nth-child(2){grid-area:left}.dpad button:nth-child(3){grid-area:down}.dpad button:nth-child(4){grid-area:right}.game-shell footer{color:#87a3a2;background:#080f19;justify-content:space-between;gap:8px;padding:0 8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px;display:flex;overflow:hidden}.game-shell footer #status{white-space:nowrap;overflow:hidden}.game-shell footer a{white-space:nowrap;text-decoration:none}.modal-backdrop{z-index:20;background:#080f19;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0}.modal{background:#101d28;border:1px solid #f4c77a;flex-direction:column;width:min(800px,100%);max-height:100%;display:flex}.modal header{border-bottom:1px solid #625842;justify-content:space-between;align-items:center;padding:16px;display:flex}.modal-content{padding:16px;line-height:24px;overflow:auto}.modal-content h3{margin-bottom:12px}.modal-content p+p{margin-top:12px}.modal-content article+article{border-top:1px solid #625842;margin-top:16px;padding-top:16px}.modal-actions{flex-wrap:wrap;gap:8px;padding:0 16px 16px;display:flex}.close-modal{padding:4px 8px}.save-row{border-bottom:1px solid #625842;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.save-row p{max-width:420px;margin-top:8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.slot-buttons{gap:8px;display:flex}.equipment-row{justify-content:space-between;align-items:center;gap:16px;margin-top:16px;display:flex}.equipment-row p{margin-top:8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.equipment-row button{white-space:nowrap}.toast{z-index:30;text-align:center;color:#f4e5be;background:#35535a;border:1px solid #b8a780;max-width:90%;padding:8px 12px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}@media (width<=1023px){.game-shell{grid-template-rows:56px 24px 456px 216px 16px}.topbar{flex-direction:column;justify-content:center;gap:4px;padding:4px 8px}.brand span{display:none}.topbar button{padding:4px 8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.topbar nav{gap:8px}.initiative{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.initiative .turn{flex-shrink:0;padding:4px 8px}.controls{flex-wrap:wrap}.world-party{border-bottom:1px solid #625842;flex:0 0 100%;justify-content:center;gap:12px;height:96px;padding:8px}.world-hero{flex:1;gap:4px;min-width:0}.world-hero div{min-width:0}.world-hero small{margin-top:4px}.world-objective{padding:8px}.world-objective h3{margin-bottom:8px}.world-objective p{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.world-actions{flex-direction:column;flex-shrink:0;gap:4px;width:132px;padding:4px}.world-actions .dpad{display:grid}.interact-action button{min-height:28px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.controls .identity{flex-basis:156px;padding:8px;display:block}.identity h2{margin:4px 0;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.identity .role{margin-bottom:4px}.identity img{width:130px;height:130px}.bar{width:112px;height:4px;margin:2px 0 4px}.command-panel{padding:8px}.actions{gap:4px}.actions button{min-height:28px;padding:4px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.confirmation button{min-height:28px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.dialogue{gap:12px;padding:8px}.dialogue h2{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.dialogue-copy{padding-right:0}.dialogue-actions button{min-height:28px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.scene-panel{padding:16px}.scene-panel h2{font-family:Switchyard,monospace;font-size:20px;line-height:24px}.scene-panel p{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.panel-actions button{min-height:32px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.modal-backdrop{padding:8px}.modal header,.modal-content{padding:12px}.modal header h2,.modal-content p{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.modal-actions{padding:0 12px 12px}.modal-actions button,.slot-buttons button{min-height:28px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.save-row{gap:8px}.save-row p{max-width:168px}.save-row h3{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.equipment-row{gap:8px}.equipment-row h3,.equipment-row button{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.game-shell footer a{display:none}}.battle-pan{z-index:1;background:#101d28;border:1px solid #8b805e;gap:4px;padding:4px;display:flex;position:absolute;top:8px;right:8px}.battle-pan button{width:32px;height:28px;padding:4px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.shopkeeper{align-items:center;gap:16px;margin-bottom:12px;display:flex}.shopkeeper img{object-fit:none;background:#182b32;flex:0 0 128px;width:128px;height:128px}.cinema-bar{color:#f4c77a;background:#080f19;border-bottom:1px solid #625842;justify-content:space-between;align-items:center;height:36px;padding:0 12px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px;display:flex;position:absolute;top:0;left:0;right:0}.cinema-bar button{padding:4px 8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.cinematic .dialogue{background:#080f19;border-color:#b8a780}.cinema-document{color:#382c29;background:#eadab4;border:2px solid #625842;width:min(600px,100% - 32px);padding:12px 16px;position:absolute;top:48px;left:50%;transform:translate(-50%);box-shadow:4px 4px #080f19}.cinema-document h3{margin-bottom:8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.cinema-document p{margin:0 0 8px;font-family:Switchyard,monospace;font-size:20px;line-height:24px}.cinema-document strong{color:#7f342d;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px;display:block}.cinema-document canvas{width:192px;height:32px;image-rendering:pixelated;margin-top:4px;display:block}@media (width<=1023px){.cinema-document{padding:8px;top:44px}.cinema-document p{margin-bottom:4px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.cinema-document h3{margin-bottom:4px}.cinema-bar{padding:0 8px}.cinematic .dialogue{max-height:calc(100% - 200px)}}.cinema-document h3{color:#382c29}.cinematic[data-dialogue-position=top] .dialogue{top:44px;bottom:auto}.cinematic[data-dialogue-position=top] .dialogue-linear{height:184px}@media (width<=1023px){.cinematic[data-dialogue-position=top] .dialogue-portrait{flex-basis:98px;width:98px;height:98px}.cinematic[data-dialogue-position=top] .dialogue-portrait img{object-fit:contain;width:96px;height:96px}.dialogue-copy p{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:16px}}.signatures{flex-wrap:wrap;gap:8px 24px;display:flex}.signature-copy{width:192px}.signature-copy span{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px;display:block}@media (width<=1023px){.world-party[data-size="3"] .world-hero{text-align:center;justify-content:center}.world-party[data-size="3"] .world-hero img{display:none}.world-party[data-size="3"] .world-hero small{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}}img[src*="/art/vector/"]{image-rendering:pixelated}.boss-battle .battle-pan{top:50px;right:4px}.world-party{flex-shrink:0}.world-hero small{white-space:nowrap;margin-top:4px}.world-objective h3.nearby{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.dialogue-linear{height:184px}.dialogue-linear .dialogue-copy p{flex:1}.dialogue-linear .dialogue-actions{justify-content:flex-end;margin-top:8px}.dialogue-linear .dialogue-actions button{width:144px;min-height:36px}.dialogue-linear .dialogue-page{bottom:20px;left:174px;right:auto}.invalid-target{color:#c6aaa0}@media (width<=1023px){.world-party[data-size="3"]{height:80px}.world-actions{width:112px}.dialogue-linear{height:232px}.dialogue-linear .dialogue-actions button{width:104px;min-height:28px}.dialogue-linear .dialogue-page{bottom:12px;left:12px}}.command-panel{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.confirmation{flex-shrink:0;align-content:flex-start;min-height:36px;max-height:84px;overflow:auto}.title-panel{max-height:calc(100% - 16px);padding:12px;overflow:auto}.title-panel h2{margin-bottom:8px}.title-panel .chapter-name{margin-bottom:8px;font:10px/12px SwitchyardCompact,monospace}.title-panel .panel-actions{gap:4px;margin-top:12px}.title-panel button{white-space:normal;min-height:32px;padding:4px 8px;font:10px/12px SwitchyardCompact,monospace}.canonical-saves{border-top:1px solid #625842;margin-top:12px;padding-top:8px}.canonical-saves h3{margin-bottom:8px;font:10px/12px SwitchyardCompact,monospace}.canonical-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}@media (width<=1023px){.title-panel .panel-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.canonical-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.music-rooms{margin:8px 0}.music-rooms summary{color:#f4e5be;cursor:pointer;background:#182b32;border:1px solid #8b805e;padding:6px}.music-rooms .music-parts{margin-top:6px}.command-panel{flex-direction:column;display:flex;overflow:hidden}.command-list{flex:1;min-height:0;overflow:auto}.confirmation{background:#101d28;flex:none;max-height:96px;overflow:auto}.actions button{white-space:normal;text-align:left}.world-actions{flex-direction:column;justify-content:center;align-items:stretch}.interact-action{display:flex}.interact-action>button,.world-actions>button{width:100%}@media (width<=1023px){.world-actions{gap:2px}.world-actions>.dpad{align-self:center}.world-actions>button{min-height:28px;padding:4px 8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}}.battle-controls .command-panel{grid-template-rows:minmax(0,1fr) 64px;gap:4px;padding:8px;display:grid;overflow:hidden}.battle-controls .command-list{flex-direction:column;gap:6px;display:flex;overflow:auto}.battle-controls .actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.battle-controls .actions button{overflow-wrap:anywhere;min-width:0;min-height:34px;padding:4px;font:10px/12px SwitchyardCompact,monospace}.battle-controls .actions .team-skill:not(.unavailable){background:#234047;border-color:#87a3b3}.battle-controls .actions .team-skill.selected{background:#35535a;border-color:#f4c77a}.battle-controls .hint{display:none}.battle-controls .vital{display:block}.battle-overlay{pointer-events:none;position:absolute;inset:0}.battle-overlay>button{pointer-events:auto}.battle-log-button{min-height:28px;padding:6px 8px;font:10px/12px SwitchyardCompact,monospace;position:absolute;top:8px;left:8px}.boss-battle .battle-log-button{top:50px}.battle-history p{border-bottom:1px solid #234047;padding:8px 0;font:10px/16px SwitchyardCompact,monospace}.battle-controls .confirmation{grid-template-rows:minmax(0,1fr) 32px;grid-template-columns:repeat(3,minmax(0,1fr));align-content:stretch;align-items:stretch;gap:4px;min-height:0;max-height:none;margin:0;display:grid;overflow:hidden}.battle-controls .confirmation button{white-space:normal;grid-row:2;min-width:0;min-height:0;padding:2px 4px;font:10px/12px SwitchyardCompact,monospace}.battle-controls .confirmation .prediction{grid-area:1/1/auto/-1;min-height:0;font:10px/12px SwitchyardCompact,monospace;overflow:auto}.battle-controls .confirmation:not(:has(button)) .prediction{grid-row:1/-1}.battle-controls .confirmation:not(:has(button:nth-of-type(3))) button:first-of-type{grid-column:span 2}@media (width<=1023px){.battle-controls{grid-template-rows:40px minmax(0,1fr);grid-template-columns:minmax(0,1fr);display:grid}.battle-controls .identity{border-bottom:1px solid #625842;border-right:0;gap:8px;min-width:0;padding:0 8px;display:flex;overflow:hidden}.battle-controls .identity img{object-fit:fill;width:40px;height:40px}.battle-controls .identity>div{flex:1;min-width:0}.battle-controls .identity h2{margin:0 0 2px}.battle-controls .identity .role{max-height:12px;margin:0;overflow:auto}.battle-controls .vitals{gap:12px;display:flex}.battle-controls .bar{display:none}.battle-controls .command-panel{grid-template-rows:minmax(0,1fr) 40px;gap:2px;padding:2px 8px}.battle-controls .command-list{gap:0}.battle-controls .actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}.battle-controls .actions button{min-height:28px;padding:0 4px}.battle-controls .skill-badge{border-width:1px;margin-left:4px;padding:0 2px}.battle-controls .confirmation{grid-template-rows:minmax(0,1fr) 28px;gap:0}}.help-credits{max-width:768px;margin:0 auto}.help-credits canvas{width:100%;height:auto;image-rendering:pixelated;border:1px solid #625842;display:block}.credit-list{text-align:center;grid-template-columns:1fr 1fr;gap:24px 32px;padding:24px 12px;display:grid}.credit-entry{min-width:0}.credit-entry:nth-child(-n+3){grid-column:1/-1}.credit-list .credit-entry h3{color:#b8a780;margin-bottom:8px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:16px}.credit-list .credit-entry p{color:#f4e5be;margin:0;font-size:20px;line-height:24px}.credit-list .credit-game-title h3{color:#f4c77a;font-family:inherit;font-size:24px;line-height:32px}@media (width<=1023px){.credit-list{grid-template-columns:1fr;gap:24px;padding:24px 0}.credit-list .credit-entry p{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:16px}.credit-list .credit-game-title h3{font-size:20px;line-height:24px}}.ending-controls{flex-direction:column;justify-content:center;gap:16px;width:100%;padding:20px 24px;display:flex;overflow:auto}.ending-controls h2{color:#f4c77a;margin-bottom:8px}.ending-controls p{color:#b8c4b2;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:16px}.ending-controls .panel-actions{flex-wrap:wrap;gap:8px;display:flex}.ending-controls button{min-height:32px}.ending-controls .ending-keys{color:#87a3a2}.ending-film-open .scene-layer,.crossing-film-open .scene-layer{pointer-events:none}.crossing-controls{gap:12px;padding-top:12px;padding-bottom:12px}.ending-workshop{grid-template-columns:minmax(0,1fr) 256px;gap:24px;display:grid}.ending-workshop canvas{width:100%;max-width:512px;height:auto;image-rendering:pixelated;border:2px solid #625842;display:block}.ending-workshop h2{margin-bottom:12px}.ending-workshop p{margin:12px 0;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:16px}.ending-shot-list{align-content:start;gap:8px;display:grid}.ending-shot-list button{text-align:left;white-space:normal;min-height:44px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:14px}@media (width<=1023px){.ending-controls{gap:12px;padding:12px}.ending-controls h2{font-size:20px}.ending-controls button{min-height:32px;padding:6px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.ending-controls .ending-keys{display:none}.ending-workshop{flex-direction:column;gap:12px;display:flex}.ending-shot-list{grid-template-columns:1fr 1fr}.ending-workshop h2{font-size:20px}}.item-icon{vertical-align:middle;width:32px;min-width:32px;height:32px;image-rendering:pixelated;object-fit:contain;flex:0 0 32px;display:inline-block}.icon-label{vertical-align:middle;align-items:center;gap:8px;max-width:100%;display:inline-flex}.icon-label>span{min-width:0}button:has(>.item-icon){justify-content:center;align-items:center;gap:4px;display:inline-flex}.reward-list{flex-wrap:wrap;gap:8px 20px;margin:8px 0;padding:0;list-style:none;display:flex}.reward-list li{align-items:center;gap:8px;min-width:0;display:flex}.reward-list span{min-width:0}.ci-items .icon-label,.inv-item .icon-label{display:flex}.ci-items button>small{display:block}.ci-details h3,.inv-details h2{align-items:center;gap:8px;display:flex}.campaign-inventory .ci-supplies{flex-wrap:wrap;gap:8px 16px;display:flex}.shop-status:has(.item-icon){align-items:center;gap:8px;display:flex}.game-shell footer .item-icon{width:16px;min-width:16px;height:16px}.game-shell footer #status{align-items:center;gap:4px;display:flex}.toast .reward-list{justify-content:center;margin:0}.toast .reward-list:not(:first-child){margin-top:8px}.toast:has(.reward-list){width:max-content}.toast p{font:inherit;line-height:inherit;margin:0}.skill-cards{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;display:grid}.skill-cards>.skill-card{background:#182b32;border:2px solid #625842;min-width:0;margin:0;padding:8px}.skill-card-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 8px;display:flex}.skill-card .skill-card-heading h3{margin:0;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:14px}.skill-card p,.skill-card small,.skill-card summary,.skill-summary,.skill-characters button{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:14px}.skill-card p,.modal-content .skill-card p+p{margin:4px 0 0}.skill-current{color:#a8bfba;margin-top:6px}.skill-current summary{cursor:pointer}.skill-current p{color:#f4e5be}.skill-next{border-top:2px solid #405955;margin-top:6px;padding-top:6px}.skill-stats{color:#f4c77a}.skill-summary{flex-wrap:wrap;gap:4px 12px;margin:8px 0;display:flex}.skill-summary strong{color:#f4c77a}.skill-characters{flex-wrap:wrap;gap:4px;display:flex}.skill-characters button{min-height:28px;padding:4px 8px}.skill-identity{align-items:center;gap:8px;margin-top:8px;display:flex}.skill-identity img{flex-shrink:0;width:48px;height:48px}.skill-identity h2{margin:0}.skill-gains{color:#f4c77a;margin:8px 0;padding-left:20px}@media (width<=700px){.skill-cards{grid-template-columns:1fr}}.skill-badge{color:#f4c77a;border:2px solid #728574;margin-left:6px;padding:0 4px;font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px;display:inline-block}.skill-combination{color:#adc9bb;border-left:2px solid #728574;padding-left:8px}.actions button.unavailable{color:#909b9d;background:#1d2a30;border-color:#566265}.actions button.unavailable.selected{background:#354047;border-color:#9aa5a6}.supply-shop .shopkeeper{align-items:center;gap:16px;display:flex}.supply-shop .shopkeeper img{object-fit:contain;aspect-ratio:1;flex:0 0 80px;width:80px;height:80px}.shop-tabs{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.shop-wallet{color:#f4c77a}.shop-status{color:#bce1c8;min-height:16px}.shop-status,.supply-shop small,.supply-shop p,.shop-items p,.shop-items small{font:10px/12px SwitchyardCompact,monospace}.supply-shop h3{font:14px/20px Switchyard,monospace}.supply-shop .equipment-row{border-bottom:1px solid #625842;margin:0;padding:12px 0}.supply-shop .equipment-row>div{min-width:0}.supply-shop .equipment-row h3{margin:0}.supply-shop .equipment-row small{margin-top:8px;display:block}.shop-sale{border:1px solid #f4c77a;margin:8px 0;padding:12px}.shop-sale button{margin:12px 8px 0 0}.shop-items .equipment-row{align-items:start}.shop-items .equipment-row button{flex-shrink:0}.shop-items .equipment-row h3{margin-bottom:8px}@media (width<=1023px){.supply-shop .equipment-row,.shop-items .equipment-row{flex-wrap:wrap;align-items:start;gap:8px}.supply-shop .equipment-row>div,.shop-items .equipment-row>div{flex:180px}.supply-shop .equipment-row button{min-height:28px;font:10px/12px SwitchyardCompact,monospace}.supply-shop .shopkeeper{align-items:start}.supply-shop .shopkeeper img{flex-basis:64px;width:64px;height:64px}.shop-tabs button{min-height:28px;font:10px/12px SwitchyardCompact,monospace}}.campaign-inventory{min-width:0}.ci-characters{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.ci-grid{grid-template-columns:160px minmax(0,1fr);gap:20px;display:grid}.ci-character{min-width:0}.ci-character>img{object-fit:none;background:#182b32;flex-shrink:0;width:128px;max-width:none;height:128px;display:block}.ci-character h2{margin-top:12px}.campaign-inventory h3{margin:12px 0 8px}.campaign-inventory p,.campaign-inventory small,.campaign-inventory button{font-family:SwitchyardCompact,monospace;font-size:10px;line-height:12px}.campaign-inventory p{margin:8px 0}.campaign-inventory button{white-space:normal;min-height:28px;padding:6px}.ci-characters button{min-width:72px}.ci-stats{justify-content:space-between;gap:8px;margin:16px 0;display:flex}.ci-slot{border-top:1px solid #625842;padding:10px 0}.ci-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ci-items button{text-align:left;min-height:56px}.ci-items small{margin-top:6px;display:block}.ci-details{background:#182b32;border:1px solid #625842;margin-top:16px;padding:0 12px 12px}.ci-comparison{margin:12px 0}.ci-message{color:#f4c77a;min-height:12px}@media (width<=1023px){.ci-grid{flex-direction:column;gap:12px;display:flex}.ci-character{grid-template-columns:128px minmax(0,1fr);align-items:start;gap:0 12px;display:grid}.ci-character>img{grid-area:1/1/4}.ci-character h2,.ci-character>p,.ci-character>.ci-stats{grid-column:2}.ci-character h2{margin:0;font-family:Switchyard,monospace;font-size:20px;line-height:24px}.ci-character>.ci-stats{flex-wrap:wrap;justify-content:start;margin:8px 0}.ci-character>h3,.ci-slot{grid-column:1/-1}.ci-slot{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;display:grid}.ci-slot small,.ci-slot p{grid-column:1}.ci-slot button{grid-area:1/2/3}.ci-bag{min-width:0}.ci-items{grid-template-columns:repeat(2,minmax(0,1fr))}}.ci-items button.incompatible{opacity:.45}
