:root{color-scheme:dark;--bg:#101010;--panel:#191919;--ink:#ffffff;--muted:#cccccc;--line:#494949;--accent:#ff0000;--hot:#ff0000;--red-text:#ff5757;font-family:system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--ink)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% 25%,#321216,transparent 62%);display:flex;flex-direction:column}.shell{width:min(100% - 36px,980px);margin-inline:auto}.top,footer{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:20px 0}.brand,nav a{text-decoration:none;color:var(--ink)}.brand{font-weight:850;letter-spacing:-.035em;font-size:1.22rem}.brand span{color:var(--accent);font-size:.8em;letter-spacing:.04em;margin-right:5px}nav a{font-size:.85rem;color:var(--muted)}nav a:hover{color:var(--red-text)}main{flex:1;padding:clamp(30px,6vw,65px) 0 38px}.intro{text-align:center;margin:0 auto 28px;max-width:680px}.intro p:not(.eyebrow){color:var(--muted);line-height:1.55;margin:16px auto 0;max-width:370px}.eyebrow,.console-top,footer,.steps{font:700 .72rem ui-monospace,monospace;letter-spacing:.13em}.eyebrow{color:var(--red-text)}.eyebrow i{display:inline-block;background:var(--accent);width:7px;height:7px;border-radius:50%;margin-right:7px;box-shadow:0 0 13px var(--accent)}h1{font-size:clamp(3.5rem,10vw,6.9rem);line-height:.88;margin:20px 0 0;letter-spacing:-.085em}h1 em{color:var(--accent);font-style:normal}.console{max-width:540px;margin:auto;background:var(--panel);border:1px solid var(--line);border-radius:24px;box-shadow:0 22px 80px #00000080;overflow:hidden}.console-top{padding:15px 20px;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);color:var(--muted)}.console-top span:last-child{color:var(--red-text)}.studio{text-align:center;padding:21px 20px 4px}.timer{font:600 1rem ui-monospace,monospace;color:var(--muted)}.timer strong{font-size:1.95rem;color:var(--ink);letter-spacing:-.06em}progress{display:block;width:min(180px,100%);height:5px;margin:10px auto 25px;appearance:none;border:0;border-radius:8px;background:var(--line);overflow:hidden}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--hot)}progress::-moz-progress-bar{background:var(--hot)}button{font:inherit;cursor:pointer;border-radius:12px;border:1px solid transparent;font-weight:700;padding:10px 15px}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.record{display:grid;place-items:center;margin:auto;width:88px;height:88px;border-radius:50%;background:var(--accent);color:#000000;box-shadow:0 0 0 8px #ff000024,0 0 35px #ff000024;transition:background .2s,transform .2s}.record:hover:enabled{transform:scale(1.05)}.record svg{width:36px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round}.record.active{background:var(--hot);box-shadow:0 0 0 8px #ff000050,0 0 35px #ff000050}.record.active svg{display:none}.record.active::after{content:"";width:24px;height:24px;border-radius:5px;background:currentColor}#hint,.status{color:var(--muted);font-size:.88rem}.status{margin:0 20px 18px;text-align:center}.status:empty{display:none}#review{padding:4px 0 16px}.consent{display:flex;text-align:left;align-items:flex-start;gap:8px;margin:14px auto;color:var(--muted);max-width:350px;font-size:.9rem}.consent input{accent-color:var(--accent);width:17px;height:17px;flex:none}.actions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.primary{background:var(--accent);color:#000000}.secondary{background:transparent;border-color:var(--line);color:var(--ink)}.steps{display:flex;justify-content:center;gap:clamp(10px,5vw,40px);margin:25px 0 0;color:var(--muted);letter-spacing:.04em}.steps b{color:var(--red-text)}footer{border:0;border-top:1px solid var(--line);color:var(--muted)}.editor-intro h1{font-size:clamp(2.85rem,8vw,5rem)}.inbox{max-width:720px;padding:20px}.inbox-header,.item{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.item{padding:13px 0;border-top:1px solid var(--line)}.item p,.empty{color:var(--muted);margin:6px 0;font-size:.9rem}.item .actions{justify-content:flex-start}#login label{display:block;margin-bottom:8px}#login .actions{justify-content:flex-start}#key{font:inherit;background:var(--bg);color:var(--ink);padding:10px;border:1px solid var(--line);border-radius:10px;flex:1;min-width:160px}#editor-message:not(:empty){margin:16px 0 0}[hidden]{display:none!important}

.waveform{display:block;width:min(100%,400px);height:64px;margin:-8px auto 22px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--accent)}

.audio-player{display:grid;grid-template-columns:42px auto minmax(36px,1fr) auto;align-items:center;gap:9px;width:min(100%,350px);margin-inline:auto;padding:8px 11px 8px 8px;border:1px solid var(--line);border-radius:14px;background:var(--bg);text-align:left}
.player-toggle{display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:9px;background:var(--accent);color:#000}
.player-toggle:hover{background:var(--red-text)}
.player-toggle svg{width:24px;height:24px;fill:currentColor}
.player-time,.player-duration{font:700 .75rem ui-monospace,monospace;font-variant-numeric:tabular-nums}
.player-duration{color:var(--muted)}
.player-seek{appearance:none;width:100%;min-width:0;margin:0;height:30px;border-radius:5px;background:linear-gradient(to right,var(--accent) var(--played,0%),var(--line) var(--played,0%)) center/100% 4px no-repeat;cursor:pointer}
.player-seek::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;border:0;background:var(--ink)}
.player-seek::-moz-range-thumb{width:12px;height:12px;border-radius:50%;border:0;background:var(--ink)}
.player-seek:disabled{opacity:.5;cursor:default}
.player-error{grid-column:1/-1;margin:0;color:var(--red-text);font-size:.8rem}
.item .audio-player{width:min(240px,100%);margin:0}
