.story-cutscene{color:#fff3d2;background:#101b2b;border:1px solid #c4a876;border-radius:16px;width:min(1040px,96vw);max-width:96vw;max-height:96dvh;margin:auto;padding:0;overflow:auto;box-shadow:0 18px 70px #0009}.story-cutscene::backdrop{background:#040913df}.story-cutscene header{justify-content:space-between;align-items:center;gap:16px;padding:12px 20px;display:flex}.story-cutscene h2{margin:3px 0;font-size:clamp(17px,2.2vw,25px)}.story-cutscene small{letter-spacing:.2em;color:#dac398;font-size:10px}.story-cutscene button{white-space:nowrap;min-height:42px}.story-picture{background:#060c17;justify-content:center;align-items:center;height:min(46dvh,432px);display:flex;overflow:hidden}.story-picture img{object-fit:contain;width:100%;height:100%;display:block}.story-picture p{color:#cdd4e7;padding:30px}.story-dialogue{box-sizing:border-box;background:linear-gradient(120deg,#25243c,#162638);min-height:120px;padding:16px 24px}.story-dialogue strong{letter-spacing:.08em;color:#f5d591;font-size:13px}.story-dialogue p{color:#f1f1f6;margin:8px 0;font-size:clamp(17px,2vw,24px);line-height:1.5}.story-cutscene footer{justify-content:space-between;align-items:center;gap:12px;margin:0!important;padding:12px 20px!important;display:flex!important}.story-cutscene footer span{color:#bbc8d9;font-size:12px}.story-library{padding:22px}.story-library-head{justify-content:space-between;align-items:center;gap:18px;display:flex}.story-library-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;display:grid}.story-library-grid button{text-align:left;color:#e4ebfa;background:#14233d;border:1px solid #50617d;border-radius:12px;padding:0;overflow:hidden}.story-library-grid img{aspect-ratio:16/9;object-fit:contain;background:#080e1c;width:100%}.story-library-grid strong,.story-library-grid small{padding:8px 12px;display:block}.story-library-grid small{color:#b9cfce;padding-top:0}@media (max-height:650px){.story-picture{height:35dvh}.story-dialogue{min-height:90px;padding:10px 20px}.story-dialogue p{font-size:17px}.story-cutscene header,.story-cutscene footer{padding:8px 14px!important}}@media (max-width:500px){.story-cutscene header{align-items:flex-start;padding:10px}.story-cutscene header button{min-height:36px;font-size:11px}.story-dialogue{padding:12px 16px}.story-cutscene footer{padding:10px!important}.story-cutscene footer span{font-size:10px}}.story-speaker-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.story-voice-controls{gap:8px;display:flex}.story-voice-controls button{min-height:32px;padding:5px 10px;font-size:12px}.story-audition{background:linear-gradient(125deg,#25243c,#12283b);border:1px solid #7186a8;border-radius:16px;max-width:1040px;margin:24px 0;padding:24px}.story-audition audio{width:min(100%,560px);margin:16px 0;display:block}.story-audition small{color:#c9d4e9;margin-top:14px;display:block}.story-audition h1{margin:10px 0}@media (max-width:500px){.story-speaker-row{align-items:flex-start}.story-voice-controls{flex-direction:column;gap:3px}.story-voice-controls button{min-height:28px;font-size:10px}.story-audition{padding:16px}}.story-dialogue.has-portrait{min-height:144px;padding-left:154px;position:relative}.story-speaker-portrait{object-fit:cover;border:1px solid #d9b96d;border-radius:10px;width:112px;height:112px;position:absolute;top:16px;left:22px;box-shadow:0 4px 20px #0006}@media (max-height:650px),(max-width:500px){.story-dialogue.has-portrait{min-height:105px;padding-left:94px}.story-speaker-portrait{width:70px;height:80px;top:12px;left:12px}}.storybook-chapter{margin-top:28px}.storybook-chapter>h2{color:#f5d591;border-bottom:1px solid #50617d;padding-bottom:12px;font-size:21px}.story-library-grid button{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.story-library-grid img{flex:none;height:auto;display:block}.story-library-grid .story-locked{opacity:1;cursor:default;color:#aab9d0;border-style:dashed}.story-mystery{aspect-ratio:16/9;color:#c4a4ef;background:linear-gradient(140deg,#182d47,#10182e);place-items:center;display:grid}.story-locked strong{color:#d4dbee}
