:root{--font-display:"Plus Jakarta Sans", "Onest", system-ui, -apple-system, sans-serif;--font-body:"Plus Jakarta Sans", "Onest", system-ui, -apple-system, sans-serif;--font-mono:"Plus Jakarta Sans", "Onest", system-ui, sans-serif;--text:#fff;--text-muted:#ffffffb8;--text-dim:#ffffff80;--surface:#ffffff1a;--surface-2:#ffffff0f;--border:#fff3;--border-strong:#ffffff57;--primary:#f472b6;--primary-2:#60a5fa;--primary-soft:#ffffff24;--primary-glow:#f472b673;--signal:#34d399;--signal-2:#22c55e;--signal-soft:#34d39933;--danger:#fb7185;--danger-soft:#fb718533;--amber:#fbbf24;--amber-soft:#fbbf2429;--radius:24px;--radius-sm:16px;--shadow:0 8px 32px #0003;font-family:var(--font-body);color:var(--text);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;line-height:1.6}*{box-sizing:border-box}html{background:#312e81;min-height:100%}body{min-width:320px;min-height:100dvh;color:var(--text);background:linear-gradient(135deg,#1e1b4b 0%,#312e81 25%,#4c1d95 50%,#7c3aed 75%,#6366f1 100%) fixed;margin:0}body:before,body:after{content:"";z-index:0;pointer-events:none;aspect-ratio:1;filter:blur(80px);opacity:.5;border-radius:50%;width:60vw;max-width:460px;position:fixed}body:before{background:radial-gradient(circle,#f472b6,#0000 65%);top:-10vh;right:-16vw}body:after{background:radial-gradient(circle,#60a5fa,#0000 65%);bottom:-12vh;left:-18vw}button,input,textarea{font:inherit;color:inherit}#root{z-index:1;min-height:100dvh;position:relative}a{color:inherit}button:focus-visible,input:focus-visible{outline-offset:3px;outline:2px solid #ffffffd9}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.app-shell{width:min(100%,30rem);padding:calc(1.4rem + env(safe-area-inset-top)) 1.05rem calc(5rem + env(safe-area-inset-bottom));gap:.95rem;margin:0 auto;display:grid}.app-shell>*{animation:.56s cubic-bezier(.2,.8,.2,1) both rise-in}.app-shell>:first-child{animation-delay:40ms}.app-shell>:nth-child(2){animation-delay:90ms}.app-shell>:nth-child(3){animation-delay:.14s}.app-shell>:nth-child(4){animation-delay:.19s}.app-shell>:nth-child(5){animation-delay:.24s}.app-shell>:nth-child(6){animation-delay:.29s}.app-shell>:nth-child(7){animation-delay:.34s}.app-shell>:nth-child(n+8){animation-delay:.39s}.panel{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);-webkit-backdrop-filter:blur(20px)saturate(1.3);box-shadow:var(--shadow), inset 0 1px 0 #ffffff47;padding:1.2rem;position:relative}.auth-panel,.recorder-panel,.utility-panel{gap:1rem;display:grid}.hero-card{padding:.5rem .4rem .2rem}.hero-topline{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.hero-chip{border:1px solid var(--border);background:var(--surface-2);min-height:1.85rem;color:var(--text-muted);font-family:var(--font-mono);letter-spacing:.14em;text-transform:uppercase;border-radius:999px;align-items:center;gap:.4rem;padding:0 .7rem;font-size:.66rem;font-weight:500;display:inline-flex}.hero-chip:before{content:"";background:var(--signal);width:.42rem;height:.42rem;box-shadow:0 0 10px var(--signal);border-radius:50%}.hero-chip-muted{color:var(--text-dim)}.hero-chip-muted:before{background:var(--text-dim);box-shadow:none}.hero-card h1{font-family:var(--font-display);letter-spacing:-.015em;background:linear-gradient(120deg,#fff 0%,#fbcfe8 52%,#bfdbfe 100%);color:#0000;filter:drop-shadow(0 4px 22px #f472b666);-webkit-background-clip:text;background-clip:text;margin:1rem 0 0;font-size:clamp(2.7rem,13vw,4.1rem);font-weight:900;line-height:.94}.hero-copy,.supporting-text{color:var(--text-muted);margin:0;line-height:1.55}.hero-copy{max-width:30ch;margin-top:.85rem;font-size:1.02rem}.install-banner{border-radius:var(--radius-sm);border:1px dashed var(--border-strong);background:var(--primary-soft);color:var(--text-muted);margin-top:1rem;padding:.85rem .95rem;font-size:.9rem;line-height:1.45}.panel-heading,.utility-line,.history-header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.eyebrow{font-family:var(--font-mono);color:#f9a8d4;letter-spacing:.16em;text-transform:uppercase;margin:0 0 .3rem;font-size:.68rem;font-weight:700}.panel h2,.panel h3{font-family:var(--font-display);letter-spacing:-.01em;color:var(--text);margin:0;font-weight:700}.panel h2{font-size:1.55rem}.panel h3{font-size:1.2rem}.primary-button,.secondary-button,.ghost-button,.record-button,.style-chip,.voice-toggle{cursor:pointer;font:inherit;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,background .2s,border-color .2s,opacity .2s}.primary-button,.secondary-button,.ghost-button{border-radius:var(--radius-sm);min-height:3.1rem;font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;padding:0 1.15rem;font-size:.84rem;font-weight:600}.primary-button{color:#fff;background:linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);box-shadow:0 14px 30px -10px var(--primary-glow), inset 0 1px 0 #ffffff40;border:none}.primary-button:active{transform:scale(.98)}.secondary-button{color:var(--text);border:1px solid var(--border-strong);background:var(--surface-2)}.secondary-button:active{transform:scale(.98)}.ghost-button{color:var(--text-muted);background:0 0;border:1px solid #0000}.ghost-button:hover{color:var(--text);border-color:var(--border)}.primary-button:disabled,.secondary-button:disabled,.ghost-button:disabled,.record-button:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.waveform{border-radius:var(--radius-sm);border:1px solid var(--border);background:radial-gradient(80% 120%,#ffffff14,#0000 70%),#ffffff0d;justify-content:center;align-items:center;gap:.28rem;height:6.5rem;padding:.9rem 1rem;display:flex;overflow:hidden}.wave-bar{transform-origin:50%;background:linear-gradient(#fff9,#ffffff4d);border-radius:999px;width:.4rem;height:64%;transition:transform 90ms linear}.waveform-live{border-color:#34d39959;box-shadow:inset 0 0 24px #34d39929}.waveform-live .wave-bar{background:linear-gradient(180deg, var(--signal), var(--signal-2));box-shadow:0 0 12px #34d3998c}.timer{font-family:var(--font-mono);text-align:center;color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:.02em;margin:.2rem 0 0;font-size:clamp(2.4rem,11vw,3.4rem);font-weight:600;line-height:1}.supporting-text{text-align:center;font-size:.92rem}.auth-panel .supporting-text{text-align:left}.recorder-actions{justify-content:center;align-items:center;gap:1rem;margin-top:.3rem;display:flex}.record-button{color:#fff;background:radial-gradient(circle at 35% 28%, #ffffff73, transparent 42%), linear-gradient(155deg, var(--primary) 0%, var(--primary-2) 100%);width:6.2rem;height:6.2rem;box-shadow:0 22px 44px -14px var(--primary-glow), inset 0 -10px 18px #280c5066, inset 0 2px 4px #ffffff4d;border:none;border-radius:50%;place-items:center;animation:3.4s ease-in-out infinite orb-breathe;display:grid;position:relative}.record-button span{background:#fff;border-radius:50%;width:1.5rem;height:1.5rem;font-size:0;box-shadow:0 0 14px #fff9}.record-button:active{transform:scale(.95)}.record-button-stop{background:radial-gradient(circle at 35% 28%, #fff6, transparent 42%), linear-gradient(155deg, var(--signal) 0%, var(--signal-2) 100%);animation:1.5s ease-in-out infinite orb-live;box-shadow:0 22px 44px -14px #34d39980,inset 0 -10px 18px #083c2866}.record-button-stop span{border-radius:4px;width:1.35rem;height:1.35rem}.field{gap:.5rem;display:grid}.field span{font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);font-size:.7rem}.field input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);width:100%;min-height:3.1rem;font:inherit;color:var(--text);background:#ffffff1a;padding:0 1rem}.field input::placeholder{color:var(--text-dim)}.field input:focus{background:#ffffff29;border-color:#ffffff8c}.warning-text{color:var(--amber)}.style-picker{flex-direction:column;gap:.7rem;display:flex}.style-picker__label{font-family:var(--font-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--text-muted);font-size:.68rem;font-weight:600}.style-picker__chips{flex-wrap:wrap;gap:.5rem;display:flex}.style-chip{appearance:none;border:1px solid var(--border);background:var(--surface-2);min-height:2.5rem;color:var(--text-muted);border-radius:999px;padding:.45rem 1rem;font-size:.9rem;font-weight:500}.style-chip:active{transform:scale(.96)}.style-chip--active{background:linear-gradient(135deg, var(--primary), var(--primary-2));color:#fff;box-shadow:0 10px 22px -8px var(--primary-glow);border-color:#0000}.style-chip:disabled{opacity:.4;cursor:not-allowed}.style-picker__hint{color:var(--text-dim);margin:0;font-size:.86rem}.history-grid{gap:.9rem;display:grid}.history-card{gap:.85rem;display:grid}.history-header{font-family:var(--font-mono);color:var(--text-dim);letter-spacing:.05em;font-size:.72rem}.history-copy{color:var(--text);white-space:pre-wrap;font-size:1.04rem;line-height:1.55}.history-meta{font-family:var(--font-mono);color:var(--text-dim);flex-wrap:wrap;gap:.4rem .9rem;font-size:.72rem;display:flex}.status-pill{min-height:1.6rem;font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;border:1px solid #0000;border-radius:999px;align-items:center;padding:0 .65rem;font-size:.64rem;font-weight:600;display:inline-flex}.status-uploaded,.status-transcribing,.status-rewriting,.status-image_generating,.status-publishing{color:#dbeafe;background:var(--primary-soft);border-color:#ffffff4d}.status-published{color:#9af3c9;background:var(--signal-soft);border-color:#34d39952}.status-failed{color:#ffc2cc;background:var(--danger-soft);border-color:#f43f5e52}.error-box{border-radius:var(--radius-sm);background:var(--danger-soft);color:#ffc2cc;border:1px solid #f43f5e47;padding:.8rem .95rem;font-size:.9rem;line-height:1.45}.history-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.voice-toggle{appearance:none;background:var(--danger-soft);color:#ffc2cc;min-height:2.2rem;font-family:var(--font-mono);letter-spacing:.04em;border:1px solid #f43f5e4d;border-radius:999px;padding:.35rem .85rem;font-size:.7rem;font-weight:600}.voice-toggle--on{background:var(--signal-soft);color:#9af3c9;border-color:#34d39952}.empty-state{color:var(--text-muted);text-align:center;font-size:1rem;line-height:1.5}.outbox-panel{background:linear-gradient(135deg, #f6b86b1a, var(--surface));border-color:#f6b86b52;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;display:flex}.outbox-panel__info{flex-direction:column;gap:.2rem;display:flex}.outbox-panel__count{font-family:var(--font-mono);letter-spacing:.04em;color:var(--amber);font-weight:600}.outbox-panel__hint{color:var(--text-muted);font-size:.82rem}.toast{border-radius:var(--radius-sm);border:1px solid var(--border);-webkit-backdrop-filter:blur(20px);padding:.85rem 1rem;font-size:.92rem;line-height:1.4;animation:.32s rise-in}.toast-error{background:var(--danger-soft);color:#ffc2cc;border-color:#f43f5e4d}.toast-success{background:var(--signal-soft);color:#9af3c9;border-color:#34d3994d}@keyframes rise-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes orb-breathe{0%,to{box-shadow:0 22px 44px -14px var(--primary-glow), inset 0 -10px 18px #280c5066, inset 0 2px 4px #ffffff4d}50%{box-shadow:0 26px 54px -12px var(--primary-glow), 0 0 0 8px #8b5cf614, inset 0 -10px 18px #280c5066}}@keyframes orb-live{0%,to{box-shadow:0 22px 44px -14px #34d39980,0 0 #34d39973,inset 0 -10px 18px #083c2866}60%{box-shadow:0 22px 44px -14px #34d39980,0 0 0 16px #34d39900,inset 0 -10px 18px #083c2866}}@media (width<=380px){.record-button{width:5.4rem;height:5.4rem}}
