@font-face{font-family:Dubai;src:url('/fonts/Dubai-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Dubai;src:url('/fonts/Dubai-Bold.ttf') format('truetype');font-weight:600 900;font-display:swap}
.story-launch{border:1px solid #ffffffaa;background:linear-gradient(125deg,#8a63ee,#5c38b8);border-radius:16px;padding:12px 18px;color:white;box-shadow:0 7px 22px #7d4edb35;cursor:pointer;font-size:17px}.story-launch:hover{filter:brightness(1.08)}
.performance-story{width:min(1450px,96vw);max-width:96vw;max-height:96vh;padding:0;border:1px solid #ffffffa0;border-radius:22px;background:#ede8f8;color:#31234c;box-shadow:0 30px 100px #21144266;overflow:auto}.performance-story::backdrop{background:#211338b0;backdrop-filter:blur(10px)}.performance-story canvas{display:block;width:100%;max-height:74vh;object-fit:contain;background:#eee7fb}.story-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#ffffffc9;letter-spacing:3px;font-size:20px}.story-toolbar small{font-size:11px;color:#8b76ab;margin-left:12px}.performance-story button{border:1px solid #d9ceeb;background:#ffffffbb;color:#4e367d;border-radius:11px;padding:8px 13px;cursor:pointer;font-size:15px}.performance-story button:disabled{opacity:.5;cursor:default}.story-controls{display:flex;align-items:center;gap:10px;padding:10px 18px;flex-wrap:wrap}.story-controls input{flex:1;min-width:120px;accent-color:#8152da}.story-caption{padding:8px 20px 0;color:#6b5389}.story-status{padding:0 20px 12px;font-size:13px;color:#7a688d}.performance-story:fullscreen{width:100vw;max-width:100vw;max-height:100vh;border-radius:0}.performance-story:fullscreen canvas{max-height:80vh}
.performance-story[open]{display:flex;flex-direction:column;height:min(96vh,1050px);overflow:hidden}.performance-story canvas{flex:1;min-height:0;max-height:none;width:100%;object-fit:contain}.performance-story .story-toolbar,.performance-story .story-caption,.performance-story .story-controls,.performance-story .story-status{flex-shrink:0}.performance-story .story-controls{gap:6px}.performance-story:fullscreen canvas{max-height:none}

.performance-story,.performance-story button,.performance-story input{font-family:Dubai,Arial,sans-serif}.story-controls [data-volume]{flex:0 0 90px;min-width:60px;width:90px}.story-volume-label{font-size:13px;color:#665080;display:flex;align-items:center;gap:5px}

.performance-story[open].story-expanded{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;box-sizing:border-box}.performance-story.story-expanded canvas{max-height:none;min-height:0;flex:1;object-fit:contain}

.performance-story{background:#fbf5eb;border-color:#d8c09c}.performance-story .story-toolbar{background:#2c153b;color:#fff}.performance-story .story-toolbar small{color:#ddc7eb}.performance-story .story-controls{background:#fffaf3}.performance-story .story-controls button{border-color:#ddcbb1;background:#fffaf3;color:#402252}.performance-story [data-play],.performance-story [data-export]{background:#7041c9!important;color:white!important;border-color:#8153d9!important}
