:root{color-scheme:light;--ink:#172823;--muted:#52625a;--line:#dce3dc;--bg:#f4f6f2;--paper:#fff;--violet:#6852ae;--mint:#c1f8dc;--radius:19px;font:16px/1.45 "DM Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer;color:inherit;font-size:.91rem;font-weight:650;border:0;background:none}button:disabled{opacity:.52;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #8970d1;outline-offset:3px}button:active{filter:brightness(.94)}[hidden]{display:none!important}.frame{width:min(1144px,calc(100% - 64px));margin:auto}header{background:#fbfcf9;border-bottom:1px solid var(--line)}.mast{height:77px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:9px;font-size:1.42rem;font-weight:760;letter-spacing:-.065em;text-decoration:none;color:var(--ink)}.brandmark{width:35px;height:35px;border-radius:10px;display:grid;place-content:center;background:#1c382f;color:#c2f9d6;font:700 2.35rem/.7 Georgia,serif;padding-bottom:4px}.studio-word{font-weight:400;color:#68796f;margin-left:-3px}.file-area,.actions,.transport,.chips,.seg{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.saved,.sub,.arr-foot,.clock,.meta,.sectionTag{font-size:.84rem}.saved{color:var(--muted);margin-right:10px}.white,.dark,#play,#loop{min-height:41px;padding:8px 15px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.white{background:#fff;border:1px solid #cfd8d0}.white:hover,.text-btn:hover{background:#eff3eb}.dark{background:#234638;color:white}.text-btn{color:#43614e;padding:7px 9px;border-radius:7px}.frame:not(.mast){padding-top:25px;padding-bottom:56px}.hero{isolation:isolate;position:relative;overflow:hidden;min-height:254px;border-radius:22px;background:#162a26;color:white;display:flex;align-items:center}.hero canvas{position:absolute;width:100%;height:100%;inset:0;z-index:-2}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(16,35,29,.77) 0%,rgba(16,35,29,.45) 31%,transparent 64%)}.hero-content{padding:28px 38px 30px}.phase{display:flex;gap:8px;align-items:center;color:#d1eedb;font-size:.87rem;font-weight:570}.phase i{width:7px;height:7px;border-radius:50%;background:#a3bfac}.playing .phase i{background:#a9ffc9;box-shadow:0 0 11px #a9ffc9}.hero h1{margin:8px 0 2px;font-size:clamp(2.8rem,6vw,4.65rem);font-weight:570;line-height:1.03;letter-spacing:-.075em}.meta,.clock,.arr-foot,#barsTotal,output{font-variant-numeric:tabular-nums}.meta{color:#c4d2c8;display:flex;align-items:center;gap:10px;letter-spacing:.015em}.meta b{color:#819c91}.transport{margin-top:24px}.transport button{padding-inline:17px;min-height:43px}.transport #play{background:#c5fcdb;color:#16382a}.playico{display:inline-block;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid currentColor}.playing .playico{width:10px;height:12px;border:0;border-left:3px solid currentColor;border-right:3px solid currentColor}#loop{background:#213d32b8;border:1px solid #6b8b7a;color:#eff9f2}#loop span{font-size:1.2rem;line-height:1}#loop[aria-pressed=true]{background:#e4d6ff;color:#3e2c57;border-color:#ddcbee}.clock{position:absolute;bottom:21px;right:29px;display:flex;gap:8px;color:#d7e3da;font-family:ui-monospace,monospace;background:#12241d80;padding:4px 8px;border-radius:5px}.clock span:first-child{color:#fff}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.heading,.modal-head,.arr-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}h2,h3,p{margin:0}h2{font-size:1.24rem;letter-spacing:-.045em;font-weight:700}.arr{margin-top:16px;padding:19px 24px 15px}.sequence{display:flex;gap:5px;margin:14px 0 10px}.section-btn{position:relative;isolation:isolate;display:flex;align-items:flex-start;flex-direction:column;text-align:left;min-width:0;min-height:57px;border-radius:8px;padding:9px 11px;overflow:hidden;border:2px solid transparent;color:#28362e}.section-btn:before{content:"";position:absolute;inset:0;background:var(--sec);z-index:-1}.section-btn[aria-pressed=true]{border-color:#274834;box-shadow:inset 0 0 0 2px #ffffff8a}.section-btn small{font:500 .73rem/1.2 ui-monospace,monospace;opacity:.75}.section-btn strong{font-size:.91rem;letter-spacing:-.02em}.playmark{position:absolute;top:0;bottom:0;width:2px;background:#204533;left:0;pointer-events:none}.arr-foot,.sub,.desc{color:var(--muted)}.tabs{display:flex;align-items:center;border-bottom:1px solid #ced9ce;gap:25px;margin:25px 0 17px}.tabs button{font-weight:550;color:#59665c;border-bottom:3px solid transparent;margin-bottom:-1px;padding:8px 1px 12px}.tabs .active{color:#1f3c2b;border-color:#355e48}.columns{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:16px;align-items:start}aside{display:grid;gap:15px}.desc{margin:7px 0 16px;font-size:.94rem}.sectionTag{padding:4px 10px;border-radius:99px;background:#eff1e9;white-space:nowrap}.layer{min-height:66px;display:grid;grid-template-columns:37px minmax(95px,.85fr) minmax(80px,1.3fr) 38px 47px;gap:12px;align-items:center;border-top:1px solid #e8ece6}.layer-name{font-size:.96rem;font-weight:620}.layer-icon{background:var(--tile);color:var(--sign);border-radius:9px;width:36px;height:36px;display:grid;place-items:center}.layer-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.layer input,.range-label input{--pct:0%;width:100%;height:6px;cursor:pointer;margin:0;appearance:none;-webkit-appearance:none;border-radius:10px;background:linear-gradient(90deg,var(--sign,#508467) var(--pct),#e4e9e3 var(--pct))}.layer input::-webkit-slider-thumb,.range-label input::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:var(--sign,#508467);border:2px solid white;box-shadow:0 0 0 1px #a9bbae}.layer input::-moz-range-thumb,.range-label input::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:var(--sign,#508467);border:2px solid white}.level{font:500 .82rem ui-monospace,monospace;color:#536158;text-align:right}.solo{min-height:35px;font-size:.82rem;border:1px solid #d9e0d7;border-radius:7px;background:#fafbf8}.solo[aria-pressed=true]{background:#294b39;border-color:#294b39;color:white}.small-wave{height:54px;border-radius:10px;background:#f0ecfa;overflow:hidden;margin-bottom:15px}.small-wave canvas{width:100%;height:100%;display:block}.seg{gap:0;background:#f0f2ed;border-radius:9px;padding:3px}.seg button{border-radius:7px;flex:1;padding:7px 2px;font-size:.86rem}.seg .active{background:white;box-shadow:0 1px 4px #0002;color:#4c3978}.character .sub{margin-top:10px}.field-card{position:relative;background:#e9f1e8}.little-icon{float:right;color:#537761;background:#c1d6c5;border:3px solid #dce8dc;border-radius:50%;box-shadow:0 0 0 1px #a5bea8;width:25px;height:25px;text-align:center;font-size:.72rem;line-height:19px}.field-card .desc{max-width:34ch}.field{display:flex;flex-direction:column;font-size:.9rem;font-weight:650;margin:16px 0 12px;gap:6px}.field select,.modal-input{width:100%;color:var(--ink);border:1px solid #cfdacf;background:#fbfcfa;border-radius:8px;padding:10px 34px 10px 12px}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23455c4b' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.wide{width:100%;margin:6px 0}.rec-dot{width:9px;height:9px;background:#ff9290;border-radius:50%}.recording{background:#8b313b!important}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.range-label{font-size:.9rem;font-weight:620;display:block;margin:12px 0 18px}.range-label output{float:right;font-weight:450;color:var(--muted)}.range-label input{display:block;margin-top:12px}.chips label{display:flex;align-items:center;gap:6px;background:#eff3ed;padding:6px 10px;border-radius:6px;font-size:.9rem}.chips input{width:16px;height:16px;accent-color:#42674d}.chips+.sub{margin:8px 0 15px}#wave{display:block;background:#172d25;width:100%;height:100px;border-radius:9px}#recordStatus:not(:empty){padding-top:8px}.ref{display:grid;grid-template-columns:minmax(160px,1fr) 58px minmax(200px,1.4fr);align-items:center;gap:16px;padding:15px 0;border-top:1px solid var(--line)}.ref strong,.ref small{display:block}.ref small{color:var(--muted);font-size:.85rem}.ref p{font-size:.93rem}.timecode{font:500 .85rem ui-monospace,monospace;color:#565071}.modal-head{margin-bottom:12px}dialog{border:1px solid var(--line);border-radius:16px;padding:22px;color:var(--ink);width:min(90vw,500px);max-height:82dvh;box-shadow:0 18px 75px #10241933}dialog::backdrop{background:#15291f67}.icon-close{font-size:1.5rem;width:35px;height:35px;border-radius:50%;background:#f0f3ee}.fileAction{display:block;text-align:left;width:100%;padding:12px 4px;border-top:1px solid var(--line);font-weight:640}.fileAction small{display:block;font-weight:400;color:var(--muted);margin-top:3px}.dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.dialog-actions .white{padding-inline:10px}.modal-input{font-size:1rem}.progress-msg{margin:10px 0;color:var(--muted)}#toast{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,14px);background:#1c3227;color:white;border-radius:9px;padding:10px 15px;pointer-events:none;opacity:0;transition:.2s;max-width:min(570px,90vw);width:max-content;z-index:9;font-size:.91rem}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:780px){.frame{width:calc(100% - 32px)}.columns{grid-template-columns:1fr}.hero-content{padding:24px}.card{padding:19px}.arr{padding:15px}.section-btn{padding:7px}.sequence{overflow-x:auto}.section-btn{min-width:77px}.layer{gap:9px}.tabs{margin-top:18px}.hero:after{background:linear-gradient(90deg,#122a22bd,transparent 90%)}.ref{grid-template-columns:minmax(100px,1fr) 48px minmax(160px,1fr);gap:8px}}
@media(max-width:540px){.mast{height:62px}.brand{font-size:1.2rem}.brandmark{height:31px;width:31px}.saved{display:none}.file-area .white{min-height:36px;padding:6px 10px}.frame{width:calc(100% - 24px)}.frame:not(.mast){padding-top:12px}.hero{min-height:228px;border-radius:16px}.hero-content{padding:20px 18px 30px}.hero h1{font-size:3rem}.clock{right:12px;bottom:9px;font-size:.74rem}.transport{margin-top:21px}.section-btn{min-width:76px}.arr{margin-top:11px}.arr-foot{font-size:.75rem;gap:5px}.layer{grid-template-columns:28px minmax(75px,.9fr) minmax(52px,1fr) 32px 41px;gap:7px;min-height:60px}.layer-icon{width:28px;height:30px}.layer-icon svg{width:18px}.layer-name{font-size:.88rem}.level{font-size:.75rem}.solo{font-size:.76rem;padding:0}.card{padding:15px;border-radius:14px}.tabs{gap:21px}.ref{grid-template-columns:1fr auto}.ref p{grid-column:1 / -1}.split{gap:14px}.sectionTag{font-size:.77rem}.studio-word{margin-left:-5px}.heading .text-btn{padding-right:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.sequence{position:relative}.section-btn strong{overflow-wrap:anywhere}.sectionTag{max-width:52%;white-space:normal;overflow-wrap:anywhere}#trackTitle{overflow-wrap:anywhere}.layer-name small,.cut small,#pocketPlayer small{display:block;font-size:.8rem;font-weight:450;color:var(--muted)}.layer-name small{overflow-wrap:anywhere}.cut{display:flex;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line)}.cut>div{flex:1}.cut strong{font-size:.92rem}.cut .white{padding:4px 10px;min-height:36px}#cutsArea,#editSound,.reference-import{margin:18px 0}.reference-import{margin-top:0;border-bottom:1px solid var(--line);padding-bottom:20px}#cutsArea h3{font-size:1rem}#editSound{border-block:1px solid var(--line)}#editSound summary{padding:13px 0;cursor:pointer;font-weight:650}.outline-list{display:flex;flex-wrap:wrap;gap:5px}.outline-list span{border-radius:5px;background:#ebf0e8;font-size:.86rem;padding:4px 7px}#outline .sub{margin:12px 0}#pocketPlayer{display:none}#hearPulse{margin-top:5px}#addIntro{margin-right:auto}#roleHelp{margin-bottom:8px}
@media(max-width:780px){.layer input,.range-label input{height:44px;background-size:100% 6px;background-repeat:no-repeat;background-position:center}.layer input::-webkit-slider-thumb,.range-label input::-webkit-slider-thumb{width:21px;height:21px}.solo,.seg button,.text-btn,.tabs button,.actions button,.field select,.chips label,.cut button,.file-area .white,.dialog-actions button{min-height:44px}.cut .white{min-height:44px}.field select{font-size:1rem}.sequence{scroll-snap-type:x proximity}.section-btn{scroll-snap-align:start}.arr-foot{flex-wrap:wrap}.range-label input{margin-top:2px}.layer{grid-template-columns:28px minmax(67px,1fr) minmax(54px,1.3fr) 33px 45px}.tabs{position:sticky;top:0;background:var(--bg);z-index:3}.frame:not(.mast){padding-bottom:100px}#pocketPlayer:not([hidden]){position:fixed;bottom:0;left:0;right:0;z-index:4;background:#f8fbf7;border-top:1px solid #cbd7cd;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 16px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -4px 15px #1728230d}#pocketPlay{min-width:74px;min-height:44px}#toast{bottom:82px}.character{scroll-margin-top:55px}}
@media(max-width:540px){.hero{min-height:188px}.hero-content{padding-bottom:24px}.hero h1{font-size:2.65rem}.tabs{justify-content:space-around;gap:5px}.layer{gap:5px}.arr-foot #arrHint{flex:1}.section-btn{min-width:89px}.layer-icon{width:25px}.brand{gap:6px}.section-btn small{font-size:.77rem}.heading{gap:6px}}

.shape-toggle,.choices label{display:flex;align-items:center;gap:7px}.shape-toggle input,.choices input{accent-color:#355e48;width:17px;height:17px}.shape-toggle{font-weight:650;color:var(--ink);flex-wrap:wrap}.shape-toggle span{font-weight:400}.choices{display:flex;flex-wrap:wrap;gap:5px 14px;border:1px solid var(--line);padding:10px 13px;border-radius:9px;margin:12px 0 16px}.choices legend{font-weight:650}.choices label{min-height:35px}.layer-edit{text-align:left;padding:3px 0;line-height:1.2;overflow-wrap:anywhere}.character details,#outline details{margin:12px 0}.character summary,#outline summary{padding:9px 0;font-weight:630;cursor:pointer}.character .white{margin-top:6px}.character .sub{min-height:2.4em}.character .range-label{margin:12px 0}.character details input[type=range]{accent-color:#66548d}.character .range-label input{height:22px;background-size:100% 5px;background-repeat:no-repeat;background-position:center}.idea{margin:8px 0 14px;font-size:.93rem}.fileAction:disabled{cursor:default}.modal-input[type=file],#seedFile{max-width:100%}#shelf h3{margin:16px 0 5px;font-size:.97rem}#shelf .fileAction{font-weight:550}#createInfo,#keepLayer,#makeTrack{margin-top:12px}.layer-name{min-width:0;overflow-wrap:anywhere}#myIdeas:not(:empty){padding-bottom:15px}.arr-foot .shape-toggle{min-height:36px}
