@import "https://fonts.googleapis.com/css2?family=Anton&family=Barlow+Condensed:wght@600&display=swap";@import "https://fonts.googleapis.com/css2?family=Anton&family=Poppins:wght@400;500;600;700&display=swap";.VisualNovelScreen{--vn-red:#e5191c;--vn-red-dark:#8f0a0d;--vn-black:#0b0b0b;--vn-white:#fff;--vn-font-display:"Anton", Impact, "Arial Narrow", sans-serif;--vn-font-body:"Barlow Condensed", "Arial Narrow", sans-serif;--vn-snap:cubic-bezier(.34, 1.56, .64, 1);--vn-outline:drop-shadow(3px 0 0 var(--vn-white)) drop-shadow(-3px 0 0 var(--vn-white)) drop-shadow(0 3px 0 var(--vn-white)) drop-shadow(0 -3px 0 var(--vn-white));--vn-dim:#0000008c;isolation:isolate;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:linear-gradient(160deg, transparent 62%, var(--vn-black) 62%), var(--vn-red);position:fixed;inset:0;overflow:hidden}.VisualNovelBackground{z-index:-3;object-fit:cover;width:100%;height:100%;animation:.4s ease-out both dm-fade-in;position:absolute;inset:0}.DmScreen-dim{background:var(--vn-dim);opacity:0;pointer-events:none;transition:opacity .3s;position:absolute;inset:0}.VisualNovelScreen--player-turn .DmScreen-dim{opacity:1}.CharacterImage{object-fit:contain;height:92%;filter:var(--vn-outline) drop-shadow(10px 6px 0 var(--vn-black)) drop-shadow(8px 4px 0 var(--vn-red));transition:transform .25s var(--vn-snap);position:absolute;bottom:0;right:14%}.CharacterImage:hover{transform:translate(-10px)rotate(-1.5deg)}.TextBox{--shadow:10px;min-height:25%;filter:var(--vn-outline) drop-shadow(var(--shadow) var(--shadow) 0 var(--vn-red));transition:translate .18s var(--vn-snap), filter .18s var(--vn-snap);padding:4rem 5.5rem 3.5rem;position:absolute;bottom:4%;left:3%;right:3%;rotate:-1deg}.TextBox--advance{cursor:pointer;-webkit-user-select:none;user-select:none}.TextBox--advance:hover{--shadow:15px;translate:-4px -4px}.TextBox--advance:active{--shadow:4px;transition-duration:50ms;translate:5px 5px}.TextBox:before{content:"";z-index:-1;background:var(--vn-black);clip-path:polygon(0% 3%,14% 0%,40% 2.5%,63% .5%,90% 0%,99% 2%,100% 64%,97% 100%,62% 97%,30% 99.5%,4% 97%,0% 50%);position:absolute;inset:-.8rem -.4rem -.2rem}.TextBox-tail{--overlap:2rem;bottom:calc(100% - var(--overlap));left:var(--tail-x);width:3.4rem;height:calc(var(--tail-length) + var(--overlap));transform-origin:bottom;translate:-50%;rotate:var(--tail-angle);background:var(--vn-black);clip-path:polygon(0 100%,30% 55%,22% 52%,52% 0,66% 48%,74% 46%,100% 100%);pointer-events:none;position:absolute}.TextBox-text{color:var(--vn-white);font-family:var(--vn-font-body);margin:0;font-size:clamp(1.3rem,2.6vw,2.1rem);font-weight:600;line-height:1.35}.TextBox--advance:after{content:"";background:var(--vn-red);clip-path:polygon(0 0,100% 0,50% 100%);width:1.3rem;height:1.1rem;animation:.7s steps(2,jump-none) infinite alternate vn-bob;position:absolute;bottom:1.4rem;right:2.4rem}.VisualNovelScreen--player-turn .CharacterImage{height:78%;left:1%;right:auto}.VisualNovelScreen--player-turn .TextBox{right:33%}.PlayerPortrait{width:34%;filter:var(--vn-outline) drop-shadow(-10px 0 0 var(--vn-black)) drop-shadow(-6px 0 0 var(--vn-red));animation:vn-cut-in .3s var(--vn-snap) both;position:absolute;top:-2%;bottom:-2%;right:0}.PlayerPortrait-frame{background:repeating-linear-gradient(115deg, var(--vn-black) 0 14px, var(--vn-red-dark) 14px 17px);clip-path:polygon(30% 0,100% 0,100% 100%,4% 100%);height:100%;overflow:hidden}.PlayerPortrait-image{object-fit:cover;object-position:50% 0;transform-origin:55% 8%;width:100%;height:100%;display:block;scale:1.5}.PlayerInput{width:min(34rem,50%);filter:drop-shadow(3px 0 0 var(--vn-black)) drop-shadow(-3px 0 0 var(--vn-black)) drop-shadow(0 3px 0 var(--vn-black)) drop-shadow(0 -3px 0 var(--vn-black)) drop-shadow(9px 9px 0 var(--vn-red));animation:vn-pop .25s var(--vn-snap) .1s both;align-items:flex-end;gap:.8rem;padding:1.8rem 1.6rem 1.8rem 2rem;display:flex;position:absolute;top:24%;right:37%}.PlayerInput:before{content:"";z-index:-1;background:var(--vn-white);clip-path:polygon(.6rem .7rem,38% 0,72% .5rem,100% 0,calc(100% - .5rem) 52%,100% 100%,60% calc(100% - .6rem),24% 100%,0 calc(100% - .7rem),.4rem 48%);position:absolute;inset:0}.PlayerInput:after{content:"";background:var(--vn-white);clip-path:polygon(0 35%,100% 0,0 100%);z-index:-1;width:5.5rem;height:3.2rem;position:absolute;top:.4rem;left:calc(100% - 1rem)}.PlayerInput-field{resize:none;border:0;border-bottom:3px solid var(--vn-black);min-width:0;max-height:40vh;color:var(--vn-black);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;line-height:1.3;font-family:var(--vn-font-body);background:0 0;flex:1;padding:.3rem .2rem;font-size:clamp(1.2rem,2.2vw,1.8rem);font-weight:600;overflow-y:auto}.PlayerInput-field::placeholder{color:#0006}.PlayerInput-field:focus{border-bottom-color:var(--vn-red);outline:none}.PlayerInput-submit{background:var(--vn-black);width:2.8rem;height:2.8rem;color:var(--vn-white);cursor:pointer;transition:translate .15s var(--vn-snap), background-color .15s;border:0;flex:none;font-size:1.1rem}.PlayerInput-submit:hover:not(:disabled),.PlayerInput-submit:focus-visible{background:var(--vn-red);outline:none;translate:2px -2px}.PlayerInput-submit:disabled{opacity:.3;cursor:default}@media (width<=640px){.PlayerPortrait{width:42%;bottom:45%}.VisualNovelScreen--player-turn .TextBox{right:3%}.PlayerInput{width:auto;padding:1.6rem 1rem 1.6rem 1.3rem;top:18%;left:4%;right:46%}.PlayerInput:after{width:3rem}.VisualNovelScreen.VisualNovelScreen--player-turn .DmStage{right:44%}.VisualNovelScreen .DmScreen-interrupt{font-size:.9rem}.VisualNovelScreen .DmScreen-thinking{text-align:center;max-width:60%;font-size:.9rem;top:3.5rem}.VisualNovelScreen .DmScreen-extras{max-width:45%;font-size:.85rem;top:7.5rem}.VisualNovelScreen.VisualNovelScreen--player-turn .DmScreen-extras{max-height:max(2.6rem,18% - 4.5rem);top:3.5rem}}.TextBoxName{background:var(--vn-white);color:var(--vn-black);font-family:var(--vn-font-display);text-transform:uppercase;letter-spacing:.06em;box-shadow:inset 0 -.3rem 0 var(--chr-color,transparent);margin:0;padding:.5rem 1.8rem;font-size:clamp(1.4rem,3vw,2.2rem);line-height:1;position:absolute;bottom:calc(100% + .4rem);left:2rem}.DmStage{pointer-events:none;position:absolute;inset:8% 2% 0}.VisualNovelScreen--player-turn .DmStage{right:36%}.VisualNovelScreen .DmStage .DmStage-slot{top:0;bottom:0;left:calc((var(--slot-index) + .5) * 100% / var(--slot-count));width:calc(100% / var(--slot-count));animation:.3s ease-out both dm-fade-in;position:absolute;translate:-50%}.VisualNovelScreen .DmStage .DmStage-portrait{transform-origin:50% 100%;width:auto;min-width:0;max-width:100%;height:auto;min-height:0;max-height:100%;margin:0 auto;position:absolute;inset:auto 0 0;transform:none}.VisualNovelScreen .DmStage .DmStage-portrait--placeholder{opacity:.85;filter:var(--vn-outline) drop-shadow(10px 6px 0 var(--vn-black)) drop-shadow(8px 4px 0 var(--vn-red))}.VisualNovelScreen .DmStage .DmStage-slot--dim{filter:brightness(.55)}.VisualNovelScreen .DmStage .DmStage-portrait[data-motion=hop]{animation:.6s ease-out dm-hop}.VisualNovelScreen .DmStage .DmStage-portrait[data-motion=shake]{animation:.4s linear dm-shake}.VisualNovelScreen .DmStage .DmStage-portrait[data-motion=jolt]{animation:.3s ease-out dm-jolt}.VisualNovelScreen .DmStage .DmStage-portrait[data-motion=recoil]{animation:.5s ease-out dm-recoil}.VisualNovelScreen .DmStage .DmStage-portrait[data-motion=tilt]{animation:.6s ease-in-out dm-tilt}.VisualNovelScreen .DmStage .DmStage-portrait[data-motion=droop]{animation:.8s ease-in-out dm-droop}.VisualNovelScreen .DmStage .DmStage-portrait[data-motion=pulse]{animation:.8s ease-in-out dm-pulse}.DmEffect{top:4%;left:calc((var(--slot-index) + .5) * 100% / var(--slot-count));font-family:var(--vn-font-display);color:var(--vn-white);-webkit-text-stroke:2px var(--vn-black);text-shadow:4px 4px 0 var(--vn-red);animation:dm-effect 1.1s var(--vn-snap) both;font-size:clamp(2rem,6vw,4.5rem);line-height:1;position:absolute;translate:-50%}.DmEffect--heart,.DmEffect--anger,.DmEffect--shock{color:var(--vn-red);text-shadow:4px 4px 0 var(--vn-black)}.DmEffect--impact{font-size:clamp(2.6rem,8vw,6rem);rotate:-8deg}.DmEffect--sweat{top:12%;left:calc((var(--slot-index) + .75) * 100% / var(--slot-count));background:var(--vn-white);border:3px solid var(--vn-black);border-radius:50% 0 50% 50%;width:2.5rem;height:2.5rem;rotate:-45deg}.DmScreen-interrupt{font-family:var(--vn-font-display);color:var(--vn-white);background:var(--vn-red);border:3px solid var(--vn-black);box-shadow:4px 4px 0 var(--vn-black);cursor:pointer;padding:.4rem 1.1rem;font-size:1.1rem;position:absolute;top:.75rem;right:.75rem;transform:skew(-8deg)}.DmScreen-interrupt:hover{background:var(--vn-red-dark)}.DmScreen-interrupt:focus-visible{outline:3px solid var(--vn-white);outline-offset:2px}.DmScreen-extras{box-sizing:border-box;width:max-content;max-width:min(16rem,45%);max-height:40%;color:var(--vn-black);background:var(--vn-white);border:3px solid var(--vn-black);box-shadow:4px 4px 0 var(--vn-black);font-family:var(--vn-font-body);padding:.5rem .6rem;font-size:.95rem;position:absolute;top:3.75rem;right:.75rem;overflow-y:auto}.DmScreen-extras-title{font-family:var(--vn-font-display);color:var(--vn-red);margin:0 0 .35rem;font-size:1rem}.DmScreen-extras-list{gap:.35rem;margin:0;padding:0;list-style:none;display:grid}.DmScreen-extras-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.DmScreen-extras-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.DmScreen-extras-keep{font-family:var(--vn-font-display);color:var(--vn-white);background:var(--vn-red);border:2px solid var(--vn-black);cursor:pointer;padding:.15rem .7rem;font-size:.85rem}.DmScreen-extras-keep:hover:not(:disabled){background:var(--vn-red-dark)}.DmScreen-extras-keep:focus-visible{outline:3px solid var(--vn-black);outline-offset:2px}.DmScreen-extras-keep:disabled{opacity:.55;cursor:not-allowed}.DmScreen-extras-error{color:var(--vn-red-dark);flex-basis:100%;font-size:.8rem}.DmScreen-extras-note{max-width:14rem;margin:.4rem 0 0;font-size:.8rem}.VisualNovelScreen--player-turn .DmScreen-extras{max-height:max(2.6rem,24% - 4.5rem);top:3.5rem;left:.75rem;right:auto}.DmScreen-thinking{font-family:var(--vn-font-display);color:var(--vn-black);background:var(--vn-white);border:3px solid var(--vn-black);padding:.3rem 1rem;animation:.6s ease-in-out infinite alternate dm-bob;position:absolute;top:.9rem;left:50%;translate:-50%}.DmScreen-notice{width:min(32rem,90%);color:var(--vn-black);background:var(--vn-white);border:4px solid var(--vn-black);box-shadow:8px 8px 0 var(--vn-red);font-family:var(--vn-font-body);padding:1.5rem 1.75rem;position:absolute;top:50%;left:50%;translate:-50% -50%}.DmScreen-notice-title{font-family:var(--vn-font-display);color:var(--vn-red);margin:0 0 .5rem}.DmScreen-notice-text{margin:0 0 1rem}.DmScreen-notice button{font-family:var(--vn-font-display);color:var(--vn-white);background:var(--vn-red);border:3px solid var(--vn-black);box-shadow:4px 4px 0 var(--vn-black);cursor:pointer;padding:.4rem 1.1rem;font-size:1.1rem}.DmScreen-notice button:hover{background:var(--vn-red-dark)}.DmScreen-notice button:focus-visible{outline:3px solid var(--vn-black);outline-offset:2px}@keyframes vn-cut-in{0%{translate:100%}}@keyframes vn-pop{0%{opacity:0;scale:.6}}@keyframes vn-bob{to{translate:0 5px}}@keyframes dm-bob{0%{translate:-50%}to{translate:-50% 5px}}@keyframes dm-fade-in{0%{opacity:0}}@keyframes dm-effect{0%{opacity:0;scale:.4}20%{opacity:1;scale:1.15}35%{scale:1}75%{opacity:1}to{opacity:0;translate:-50% -20%}}@keyframes dm-hop{0%{translate:0}20%{translate:0 -18px}45%{translate:0}70%{translate:0 -12px}to{translate:0}}@keyframes dm-shake{0%{translate:0}20%{translate:-6px}40%{translate:6px}60%{translate:-6px}80%{translate:6px}to{translate:0}}@keyframes dm-jolt{0%{translate:0}40%{translate:0 -10px}to{translate:0}}@keyframes dm-recoil{0%{translate:0}25%{translate:-10px 6px}50%{translate:10px 6px}75%{translate:-6px 3px}to{translate:0}}@keyframes dm-tilt{0%{rotate:0deg}33%{rotate:-4deg}66%{rotate:3deg}to{rotate:0deg}}@keyframes dm-droop{0%{translate:0}50%{translate:0 8px}to{translate:0}}@keyframes dm-pulse{0%{scale:1}25%{scale:1.04}50%{scale:1}75%{scale:1.04}to{scale:1}}@media (prefers-reduced-motion:reduce){.TextBox--advance:after,.PlayerPortrait,.PlayerInput,.VisualNovelBackground,.VisualNovelScreen .DmStage .DmStage-slot,.VisualNovelScreen .DmStage .DmStage-portrait[data-motion],.DmEffect,.DmScreen-thinking{animation:none}.VisualNovelScreen *{transition:none}}.Studio,.PlayControls{--st-accent:#ff4e67;--st-accent-2:#9747ff;--st-accent-ink:#fff;--st-gradient:linear-gradient(100deg, #9747ff 0%, #ff4e67 100%);--st-bg:#121214;--st-surface:#1c1c1f;--st-raised:#27272b;--st-well:#161618;--st-ink:#ededef;--st-muted:#9d9da7;--st-line:#2d2d32;--st-line-strong:#43434b;--st-warn:#f7b54a;--st-error:#ff5d72;--st-focus:#9747ff73;--st-radius:16px;--st-radius-sm:10px;--st-shadow:0 10px 30px -12px #000000b3;--st-font:"Poppins", system-ui, sans-serif;--st-font-display:"Anton", Impact, "Arial Narrow", sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:var(--st-font)}.Studio{background:radial-gradient(60rem 30rem at 0% -10%, #9747ff12, transparent 70%), radial-gradient(50rem 26rem at 100% -10%, #ff4e670d, transparent 70%), var(--st-bg);min-height:100vh;color:var(--st-ink);background-attachment:fixed;font-size:14.5px;line-height:1.5}.Studio--centered{text-align:center;place-content:center;justify-items:center;gap:.5rem;padding:1rem;display:grid}.Studio h2{text-transform:uppercase;letter-spacing:.1em;color:var(--st-muted);align-items:center;gap:.5rem;margin:0 0 .75rem;font-size:.75rem;font-weight:600;display:flex}.Studio h3{font-weight:600}.Studio a:not([class]){color:#cfb2ff;text-underline-offset:3px}.Studio a:not([class]):hover{color:#fff}.Studio .muted{color:var(--st-muted);margin:0}.Studio .mono{font-family:ui-monospace,monospace;font-size:.85rem}.Studio ::selection{background:#9747ff73}.Studio,.Studio *{scrollbar-width:thin;scrollbar-color:var(--st-line-strong) transparent}.Studio input:not([type=file],[type=color],[type=checkbox],[type=radio],[type=range]),.Studio select,.Studio textarea{font:inherit;color:inherit;background:var(--st-well);border:1px solid var(--st-line);border-radius:var(--st-radius-sm);min-width:0;padding:.5rem .75rem;transition:border-color .15s,box-shadow .15s}.Studio :is(input,select,textarea)::placeholder{color:var(--st-muted);opacity:.7}.Studio :is(input,select,textarea):hover:not(:disabled){border-color:var(--st-line-strong)}.Studio :is(input,select,textarea):focus-visible{border-color:var(--st-accent-2);box-shadow:0 0 0 3px var(--st-focus);outline:none}.Studio textarea{resize:vertical;box-sizing:border-box;width:100%}.Studio input[type=color]{border:1px solid var(--st-line);background:var(--st-well);cursor:pointer;border-radius:8px;width:2.5rem;height:2rem;padding:.15rem}.Studio :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--st-accent-2)}.Studio :is(button,.button):focus-visible,.PlayControls :is(button,.button):focus-visible{outline:2px solid var(--st-accent-2);outline-offset:2px}.Studio button,.Studio .button,.PlayControls .button,.PlayControls button{font:inherit;color:var(--st-ink);border:1px solid var(--st-line-strong);border-radius:var(--st-radius-sm);cursor:pointer;white-space:nowrap;background:#ffffff0a;justify-content:center;align-items:center;gap:.35rem;padding:.45rem .9rem;font-size:.875rem;font-weight:500;line-height:1.4;text-decoration:none;transition:background-color .15s,border-color .15s,box-shadow .15s,transform .15s,filter .15s;display:inline-flex}.Studio button:hover:not(:disabled),.Studio .button:hover,.PlayControls :is(button,.button):hover{border-color:var(--st-muted);background:#ffffff17}.Studio button:active:not(:disabled),.Studio .button:active{transform:translateY(1px)}.Studio button:disabled{opacity:.45;cursor:not-allowed}.Studio .primary{background:var(--st-gradient);color:var(--st-accent-ink);border-color:#0000;font-weight:600;box-shadow:0 6px 18px -8px #ff4e67b3}.Studio .primary:hover:not(:disabled),.Studio .button.primary:hover{background:var(--st-gradient);filter:brightness(1.1);border-color:#0000;box-shadow:0 8px 22px -8px #ff4e67e6}.Studio .danger{color:var(--st-error)}.Studio button.danger:hover:not(:disabled){border-color:var(--st-error);background:#ff5d721f}.Studio button.icon{min-width:2rem;padding:.25rem .55rem}.Studio button.link{font-weight:inherit;color:inherit;text-align:left;white-space:normal;text-decoration:underline;-webkit-text-decoration-color:var(--st-line-strong);text-decoration-color:var(--st-line-strong);text-underline-offset:3px;background:0 0;border:0;padding:0;display:inline}.Studio button.link:hover:not(:disabled){-webkit-text-decoration-color:var(--st-accent);text-decoration-color:var(--st-accent);background:0 0}.Field{flex-direction:column;flex:1;gap:.35rem;margin-bottom:.9rem;display:flex}.Field>span:first-child{font-size:.85rem;font-weight:500}.Field small{color:var(--st-muted);margin-left:.4rem;font-weight:400}.Field-error{color:var(--st-error);font-size:.85rem}.Field--inline{flex-direction:row;align-items:center;gap:.6rem}.Row{flex-wrap:wrap;gap:.75rem;display:flex}.Badge{text-transform:uppercase;letter-spacing:.06em;color:#cfb2ff;background:#9747ff2e;border:1px solid #9747ff66;border-radius:99px;padding:.12rem .55rem;font-size:.68rem;font-weight:600}.Panel{background:var(--st-surface);border:1px solid var(--st-line);border-radius:var(--st-radius);box-shadow:var(--st-shadow);padding:1.1rem 1.2rem}.Avatar{box-sizing:border-box;object-fit:cover;object-position:top;background:var(--st-raised);border:2px solid var(--speaker-color,var(--st-line-strong));border-radius:50%;flex:none;width:36px;height:36px;display:inline-block}.Avatar--empty{background:linear-gradient(135deg, var(--st-raised), var(--st-line))}.Studio-bar{z-index:5;box-sizing:border-box;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--st-line);background:#121214cc;align-items:center;gap:.75rem;min-height:60px;padding:.6rem clamp(1rem,3vw,2rem);display:flex;position:sticky;top:0}.Studio-back{color:var(--st-muted);white-space:nowrap;border-radius:8px;padding:.3rem .6rem;font-size:.9rem;text-decoration:none;transition:color .15s,background-color .15s}.Studio .Studio-back{color:var(--st-muted)}.Studio .Studio-back:hover{color:var(--st-ink);background:#ffffff0f}.Studio-title{font-family:var(--st-font);letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;margin:0 auto 0 0;font-size:1.35rem;font-weight:700;overflow:hidden}.Studio-title span{background:var(--st-gradient);color:#0000;-webkit-background-clip:text;background-clip:text}.SaveState{color:var(--st-muted);white-space:nowrap;font-size:.8rem}.SaveState--error{color:var(--st-error);font-weight:600}.Library-section{max-width:1180px;margin:0 auto;padding:2rem clamp(1rem,3vw,2rem) 4rem}.Library-heading{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1.25rem;display:flex}.Studio .Library-heading h2{text-transform:none;letter-spacing:-.01em;color:var(--st-ink);margin:0 auto 0 0;font-size:1.5rem;font-weight:700}.CardGrid{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:1.1rem;margin:0;padding:0;list-style:none;display:grid}.StoryCard{box-sizing:border-box;background:radial-gradient(22rem 9rem at 100% 0%, #9747ff0f, transparent 70%), var(--st-surface);border:1px solid var(--st-line);border-radius:var(--st-radius);height:100%;box-shadow:var(--st-shadow);flex-direction:column;gap:.6rem;padding:1.25rem 1.25rem 1.1rem;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex;position:relative;overflow:hidden}.StoryCard:before{content:"";background:var(--st-gradient);height:3px;position:absolute;inset:0 0 auto}.StoryCard:hover{border-color:#9747ff80;transform:translateY(-3px);box-shadow:0 16px 36px -14px #9747ff73}.StoryCard h3{align-items:center;gap:.5rem;margin:0;font-size:1.1rem;line-height:1.3;display:flex}.StoryCard>.muted{-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;font-size:.9rem;display:-webkit-box;overflow:hidden}.StoryCard-meta{color:var(--st-muted);margin:auto 0 0;font-size:.78rem}.StoryCard-actions{border-top:1px solid var(--st-line);flex-wrap:wrap;gap:.4rem;padding-top:.75rem;display:flex}.StoryCard-actions :is(button,.button){padding:.35rem .75rem;font-size:.8rem}.StoryCard-cast{margin:.15rem 0 0;padding:0;list-style:none;display:flex}.StoryCard-cast li+li{margin-left:-10px}.StoryCard-cast .Avatar{border-color:var(--st-surface);width:34px;height:34px;box-shadow:0 0 0 1px var(--st-line-strong)}.StoryEditor{grid-template-rows:auto 1fr;grid-template-columns:minmax(260px,340px) minmax(0,1fr);display:grid}.StoryEditor .Studio-bar{grid-column:1/-1}.Studio input.StoryEditor-title{font-family:var(--st-font);background:0 0;border-color:#0000;flex:1;font-size:1.25rem;font-weight:700}.Studio .StoryEditor-title:hover{border-color:var(--st-line)}.Studio .StoryEditor-title:focus-visible{background:var(--st-well)}.StoryEditor-side{box-sizing:border-box;flex-direction:column;align-self:start;gap:1rem;max-height:calc(100vh - 60px);padding:1.25rem .5rem 1.25rem clamp(1rem,2vw,1.5rem);display:flex;position:sticky;top:60px;overflow-y:auto}.StoryEditor-beats{max-width:800px;padding:1.25rem clamp(1rem,3vw,2rem) 4rem}.ProblemList{gap:.4rem;margin:0;padding:0;font-size:.85rem;list-style:none;display:grid}.ProblemList li{border-radius:8px;align-items:baseline;gap:.5rem;padding:.4rem .6rem;display:flex}.ProblemList .error{color:var(--st-error);background:#ff5d721a}.ProblemList .error:before{content:"●"}.ProblemList .warning{color:var(--st-warn);background:#f7b54a1a}.ProblemList .warning:before{content:"▲"}@media (width<=800px){.StoryEditor{grid-template-columns:1fr}.StoryEditor-side{max-height:none;padding:1rem;position:static}}.BeatList h2,.AssetList h2{margin:0 0 .5rem}.AssetList{margin-top:2rem}.BeatList-items,.AssetList-items{gap:.75rem;margin:.75rem 0;padding:0;list-style:none;display:grid}.BeatList-item,.AssetList-item{background:var(--st-surface);border:1px solid var(--st-line);border-radius:var(--st-radius-sm);box-shadow:var(--st-shadow);transition:border-color .15s;overflow:hidden}.BeatList-item:focus-within,.AssetList-item:focus-within{border-color:#9747ff99}.BeatList-header,.AssetList-header{border-bottom:1px solid var(--st-line);background:#ffffff05;align-items:center;gap:.5rem;padding:.4rem .5rem .4rem .75rem;display:flex}.BeatList-index,.AssetList-index{box-sizing:border-box;background:var(--st-gradient);color:#fff;font-variant-numeric:tabular-nums;border-radius:99px;place-items:center;min-width:1.6rem;height:1.6rem;padding:0 .3rem;font-size:.75rem;font-weight:600;display:inline-grid}.BeatList-actions,.AssetList-actions{gap:.25rem;margin-left:auto;display:flex}.BeatList-actions button,.AssetList-actions button{background:0 0;border-color:#0000}.Studio .BeatList-text{background:0 0;border:0;border-radius:0;padding:.75rem .9rem;display:block}.Studio .BeatList-text:focus-visible{box-shadow:none;background:#ffffff05}.Studio .BeatList-empty,.Studio .AssetList-empty{text-align:center;border:1px dashed var(--st-line-strong);border-radius:var(--st-radius-sm);margin:.75rem 0;padding:1.25rem}.AssetList-fields{gap:8px;padding:.75rem .9rem;display:grid}.AssetList-fields .Field{margin-bottom:0}.AssetList-fields input,.AssetList-fields textarea{box-sizing:border-box;width:100%;min-width:0}.AssetList-add{margin-top:.25rem}.CastList{gap:.2rem;margin:0 0 .75rem;padding:0;list-style:none;display:grid}.CastList-item{border-radius:var(--st-radius-sm);color:inherit;align-items:center;gap:.65rem;padding:.4rem .5rem;text-decoration:none;transition:background-color .15s;display:flex}.CastList-item:hover{background:var(--st-raised)}.CastList-name{text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:500;overflow:hidden}.CastList-item .muted{font-size:.75rem}.CastPanel-actions{flex-wrap:wrap;gap:.4rem;margin-bottom:1rem;display:flex}.CastPanel-player{margin-bottom:0}.Studio-dialog{box-sizing:border-box;border:1px solid var(--st-line-strong);border-radius:var(--st-radius);background:var(--st-surface);width:min(560px,100% - 2rem);max-height:min(80vh,700px);color:var(--st-ink);padding:1.5rem;box-shadow:0 30px 80px -20px #000c}.Studio-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000a6}.Studio .Studio-dialog h2{text-transform:none;letter-spacing:0;color:var(--st-ink);margin-bottom:.25rem;font-size:1.15rem}.Studio-dialog-actions{justify-content:flex-end;gap:.5rem;margin-top:1.25rem;display:flex}.CopyDialog-sources{gap:.75rem;margin-top:1rem;display:grid}.CopyDialog-sources fieldset{border:1px solid var(--st-line);border-radius:var(--st-radius-sm);margin:0;padding:.5rem .75rem .75rem}.CopyDialog-sources legend{padding:0 .3rem;font-weight:600}.CopyDialog-option{cursor:pointer;border-radius:8px;align-items:center;gap:.6rem;padding:.3rem .35rem;display:flex}.CopyDialog-option:hover{background:var(--st-raised)}.CopyDialog-option .Avatar{width:30px;height:30px}.CharacterEditor-forms{gap:1rem;display:grid}.CopyTo select{flex:1}.CharacterEditor-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.5rem;max-width:1040px;margin:0 auto;padding:1.75rem clamp(1rem,3vw,2rem) 4rem;display:grid}@media (width<=700px){.CharacterEditor-layout{grid-template-columns:1fr}}.DangerZone{border-top:1px solid var(--st-line);flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.5rem;padding-top:1rem;display:flex}.DangerZone p{flex-basis:100%;margin:0}.CharacterPreview{aspect-ratio:4/5;border-radius:var(--st-radius);border:1px solid var(--st-line);box-shadow:var(--st-shadow);background:linear-gradient(160deg,#0000 62%,#0b0b0b 62%),#e5191c;margin:0;position:relative;overflow:hidden}.CharacterPreview-portrait{object-fit:contain;filter:drop-shadow(3px 0 #fff)drop-shadow(-3px 0 #fff)drop-shadow(0 -3px #fff);height:92%;position:absolute;bottom:0;left:50%;translate:-50%}.CharacterPreview-empty{color:#fff;font-family:var(--st-font-display);opacity:.7;place-items:center;font-size:1.5rem;display:grid;position:absolute;inset:0}.CharacterPreview-box{color:#0b0b0b;background:#fff;border:3px solid #0b0b0b;padding:1.4rem 1rem 1rem;font-size:1.05rem;font-weight:600;position:absolute;bottom:6%;left:6%;right:6%}.CharacterPreview-name{color:#0b0b0b;text-transform:uppercase;font-family:var(--st-font-display);background:#fff;border:3px solid #0b0b0b;padding:.15rem .7rem;font-size:1.2rem;font-weight:400;position:absolute;top:-1rem;left:.75rem;transform:skew(-8deg)}.PlayControls{z-index:11;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:.65;background:#121214a6;border:1px solid #ffffff14;border-radius:14px;align-items:center;gap:.35rem;padding:.3rem;transition:opacity .15s;display:flex;position:fixed;top:.75rem;left:.75rem}.PlayControls:hover,.PlayControls:focus-within{opacity:1}.PlayControls :is(button,.button){border-color:#0000;padding:.35rem .7rem;font-size:.8rem}.PlayControls-mute[aria-pressed=true]{color:var(--st-accent)}.PlayControls-volume{width:6rem;accent-color:var(--st-accent);margin:0 .4rem}.Brainstorm{background:radial-gradient(30rem 10rem at 0% 0%, #9747ff0f, transparent 70%), var(--st-surface);border:1px solid var(--st-line);border-radius:var(--st-radius);box-shadow:var(--st-shadow);margin-bottom:1.75rem;padding:1.1rem 1.2rem}.Studio .Brainstorm-toggle,.Studio .PortraitGen-toggle{text-align:left;width:100%;color:var(--st-ink);font-family:var(--st-font);cursor:pointer;background:0 0;border:0;padding:0;font-size:1.05rem;font-weight:600;display:block}.Studio .Brainstorm-toggle:hover:not(:disabled),.Studio .PortraitGen-toggle:hover:not(:disabled){color:#fff;background:0 0}.Brainstorm-log{gap:.6rem;max-height:420px;margin:.9rem 0;padding:0 .25rem 0 0;list-style:none;display:grid;overflow-y:auto}.Brainstorm-msg{border:1px solid var(--st-line);background:var(--st-raised);border-radius:14px;max-width:88%;padding:.6rem .85rem}.Brainstorm-msg--user{background:linear-gradient(100deg,#9747ff38,#ff4e6738);border-color:#ff4e6759;border-bottom-right-radius:4px;justify-self:end}.Brainstorm-msg--assistant{border-bottom-left-radius:4px;justify-self:start}.Brainstorm-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.Brainstorm-error{color:var(--st-error);margin:.25rem 0 0}.Brainstorm-card{background:var(--st-well);border:1px solid var(--st-line);border-radius:var(--st-radius-sm);margin-top:.6rem;padding:.6rem .8rem}.Brainstorm-card ul{margin:.25rem 0;padding-left:1.25rem}.Brainstorm-label{color:var(--st-muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.25rem;font-size:.72rem;font-weight:600;display:block}.Brainstorm-actions{align-items:center;gap:.5rem;margin-top:.5rem;display:flex}.Brainstorm-form{align-items:flex-end;gap:.5rem;margin-top:.75rem;display:flex}.Brainstorm-form textarea{resize:vertical;flex:1;min-width:0}.PortraitGen{background:var(--st-surface);border:1px solid var(--st-line);border-radius:var(--st-radius);box-shadow:var(--st-shadow);gap:.75rem;padding:1.1rem 1.2rem;display:grid}.PortraitGen-form{gap:.5rem;display:grid}.PortraitGen-status{color:var(--st-muted);min-height:1.2em;margin:0}.PortraitGen-error{color:var(--st-error);margin:0}.PortraitGen-preview{justify-items:start;gap:.5rem;display:grid}.PortraitGen-previewImg{border:1px solid var(--st-line);border-radius:var(--st-radius-sm);max-width:100%;max-height:360px}.PortraitGen-previewImg,.PortraitGen-thumb{background-color:var(--st-well);background-image:conic-gradient(var(--st-line) 25%, transparent 0 50%, var(--st-line) 0 75%, transparent 0);background-size:16px 16px}.PortraitGen-assign{margin:0}.PortraitGen-slots{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.PortraitGen-slot{justify-items:center;gap:.3rem;font-size:.8rem;display:grid}.PortraitGen-thumb{object-fit:cover;border:1px solid var(--st-line);border-radius:var(--st-radius-sm);width:72px;height:108px}.PortraitGen-heading{margin:.75rem 0 .25rem;font-size:.9rem;font-weight:600}.PortraitGen-empty{width:72px;height:108px;color:var(--st-muted);border:1px dashed var(--st-line-strong);border-radius:var(--st-radius-sm);place-items:center;font-size:.75rem;display:grid}.PortraitGen-slotActions{flex-wrap:wrap;justify-content:center;gap:.25rem;display:flex}.Studio .PortraitGen-slotActions button{border-radius:8px;padding:.15rem .5rem;font-size:.72rem}.PortraitGen-add{align-items:flex-end;margin-top:.75rem}.PortraitGen-add .Field{margin:0}.PortraitGen-queue{gap:.5rem;margin:.75rem 0;display:grid}.PortraitGen-queueHead{align-items:center}.PortraitGen-queueHead .PortraitGen-heading{margin:0 auto 0 0}.PortraitGen-jobs{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.PortraitGen-job{background:var(--st-well);border:1px solid var(--st-line);border-radius:var(--st-radius-sm);gap:.4rem;padding:.6rem .75rem;display:grid}.PortraitGen-job--review{border-color:var(--st-accent);box-shadow:0 0 0 1px #ff4e6740}.PortraitGen-jobHead{flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.85rem;display:flex}.Studio .PortraitGen-jobHead button{border-radius:8px;margin-left:auto;padding:.15rem .5rem;font-size:.72rem}.PortraitGen-compare{gap:.75rem;display:flex}.PortraitGen-compare figure{justify-items:center;gap:.2rem;margin:0;font-size:.75rem;display:grid}.PortraitGen-check{align-items:center;gap:.35rem;font-size:.85rem;display:inline-flex}.PortraitGen-job small{font-size:.75rem}.PortraitGen-allowance{color:var(--st-muted);margin:0;font-size:.85rem}.SignIn{gap:1rem}.SignIn .Studio-title{letter-spacing:-.03em;background:var(--st-gradient);color:#0000;-webkit-background-clip:text;background-clip:text;margin:0;font-size:clamp(2.5rem,8vw,4rem);overflow:visible}.SignIn>.muted{margin-bottom:.75rem;font-size:1rem}.SignIn-buttons{background:var(--st-surface);border:1px solid var(--st-line);border-radius:var(--st-radius);min-width:min(20rem,85vw);box-shadow:var(--st-shadow);gap:.6rem;padding:1.5rem;display:grid}.Studio .SignIn-buttons button{padding:.7rem 1rem;font-size:.95rem}.AccountMenu{align-items:center;gap:.6rem;min-width:0;margin-left:auto;display:flex}.AccountMenu-avatar{object-fit:cover;width:30px;height:30px;box-shadow:0 0 0 2px var(--st-bg), 0 0 0 3px var(--st-accent-2);border-radius:50%}.AccountMenu-name{text-overflow:ellipsis;white-space:nowrap;max-width:12rem;color:var(--st-muted);font-size:.875rem;overflow:hidden}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#ededef;--up:#2e9d5b;--down:#d1453b;background:#121214;font-family:Poppins,system-ui,sans-serif}body{min-height:100vh;margin:0}.subtitle{opacity:.7;margin-top:-.5rem}.status-list{padding:0;list-style:none}.status-list li{border-bottom:1px solid color-mix(in srgb, currentColor 15%, transparent);justify-content:space-between;padding:.5rem 0;display:flex}.up{color:var(--up);font-weight:600}.down{color:var(--down);font-weight:600}
