:root{--ink:#191720;--paper:#f5f0e7;--card:#fffdf8;--muted:#716c72;--line:#ded8cf;--orange:#ed5e3b;--orange-dark:#c74428;--green:#287a5d;--red:#b23a36;--yellow:#b97818;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html{background:var(--paper)}body{color:var(--ink);background:radial-gradient(circle at 80% 0%,#fff9ed 0,transparent 32rem),var(--paper);margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{width:min(1120px,100% - 40px);margin:0 auto;padding-bottom:80px}.topbar{border-bottom:1px solid #1917201f;justify-content:space-between;align-items:center;height:84px;display:flex}.brand{color:var(--ink);letter-spacing:-.03em;align-items:center;gap:11px;font-size:20px;font-weight:850;text-decoration:none;display:flex}.brand-mark{background:var(--orange);border-radius:50%;width:54px;height:54px;position:relative;box-shadow:inset 0 0 0 1px #00000014}.brand-mark span{border-left:19px solid var(--ink);border-top:13px solid #0000;border-bottom:13px solid #0000;position:absolute;top:14px;left:21px}.brand-mark.small{width:36px;height:36px}.brand-mark.small span{border-top-width:9px;border-bottom-width:9px;border-left-width:13px;top:9px;left:14px}.topbar nav{gap:4px;display:flex}.ghost-button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:10px 13px}.ghost-button:hover{color:var(--ink);background:#1917200f}.hero{max-width:740px;padding:68px 0 40px}.eyebrow{letter-spacing:.16em;color:var(--orange-dark);margin:0 0 12px;font-size:11px;font-weight:850}.hero h1{letter-spacing:-.055em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(52px,7.5vw,90px);font-weight:600;line-height:.92}.hero h1 em{color:var(--orange);font-weight:500}.hero>p:last-child{max-width:570px;color:var(--muted);margin:27px 0 0;font-size:18px;line-height:1.6}.add-card,.feed-card,.episode-list,.empty-state{border:1px solid var(--line);background:#fffdf8e6;box-shadow:0 14px 50px #392c1c0f}.add-card{border-radius:20px;padding:20px}.url-row{gap:10px;display:flex}.url-row input{flex:1;min-width:0;font-size:17px}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:10px;outline:none;padding:12px 13px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px #ed5e3b21}.primary-button,.secondary-button,.danger-outline{white-space:nowrap;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;padding:12px 18px;font-weight:750;text-decoration:none;display:inline-flex}.primary-button{color:#fff;background:var(--ink)}.primary-button:hover:not(:disabled){background:#302c38}.primary-button:disabled{opacity:.45;cursor:not-allowed}.secondary-button{color:var(--ink);border-color:var(--line);background:#fff}.secondary-button:hover{border-color:#aaa29a}.options-row{justify-content:space-between;align-items:center;gap:22px;margin-top:14px;display:flex}.quality-field{align-items:center;gap:10px;font-size:13px;font-weight:750;display:flex}.quality-field select{width:auto;min-width:265px;padding:9px 35px 9px 10px}.check-field{color:var(--muted);font-size:13px;line-height:1.4;align-items:flex-start!important;gap:9px!important;font-weight:500!important;display:flex!important}.check-field input{width:17px;height:17px;accent-color:var(--orange);box-shadow:none;margin:1px 0 0}.quality-note{color:var(--muted);margin:13px 0 0;font-size:12px}.notice{border-radius:10px;margin:18px 0 0;padding:12px 15px;font-size:14px}.error-notice{color:#7e211e;background:#fbe4df;border:1px solid #efb7ab}.success-notice{color:#16543e;background:#ddf3e9;border:1px solid #a8d9c4}.feed-card{border-radius:16px;justify-content:space-between;align-items:center;gap:30px;margin-top:26px;padding:24px 26px;display:flex}.feed-card h2,.section-heading h2{letter-spacing:-.03em;margin:0;font-family:Georgia,serif;font-size:31px}.muted{color:var(--muted)}.feed-card .muted{margin:6px 0 0;font-size:14px}.feed-actions{gap:9px;display:flex}.library-section{margin-top:64px}.section-heading{justify-content:space-between;align-items:end;margin-bottom:18px;display:flex}.episode-count{color:var(--muted);padding-bottom:5px;font-size:13px}.episode-list{border-radius:16px;overflow:hidden}.episode-row{border-bottom:1px solid var(--line);grid-template-columns:46px 1fr auto;align-items:center;gap:15px;padding:19px 20px;display:grid}.episode-row:last-child{border-bottom:0}.status-icon{width:42px;height:42px;color:var(--muted);background:#eee9e1;border-radius:50%;justify-content:center;align-items:center;font-size:14px;font-weight:900;display:flex}.status-icon.published{color:var(--green);background:#dff2e9}.status-icon.failed{color:var(--red);background:#f9dfda}.spinner{border:2px solid #1917202e;border-top-color:var(--orange);border-radius:50%;width:17px;height:17px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.episode-title-line{align-items:center;gap:10px;display:flex}.episode-main h3{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:16px;overflow:hidden}.episode-meta{color:var(--muted);margin:6px 0 0;font-size:12px}.episode-error{color:var(--red);margin:8px 0 0;font-size:13px}.status-pill{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);background:#ece7df;border-radius:20px;padding:4px 7px;font-size:10px;font-weight:850}.status-pill.published{color:var(--green);background:#dff2e9}.status-pill.failed{color:var(--red);background:#f9dfda}.status-pill.downloading,.status-pill.converting{color:var(--yellow);background:#fff0d4}.episode-actions{gap:4px;display:flex}.episode-actions button{color:var(--muted);background:0 0;border:0;border-radius:7px;padding:8px;font-size:12px}.episode-actions button:hover:not(:disabled){color:var(--ink);background:#f1ece4}.episode-actions .danger-text:hover:not(:disabled){color:var(--red)}.episode-actions button:disabled{opacity:.35;cursor:not-allowed}.empty-state{text-align:center;border-radius:16px;padding:64px 20px}.empty-icon{width:52px;height:52px;color:var(--orange);background:#efe9e0;border-radius:50%;justify-content:center;align-items:center;margin:0 auto 18px;display:flex}.empty-state h3{margin:0 0 7px}.empty-state p{color:var(--muted);margin:0}.dialog-backdrop{z-index:20;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#12101685;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dialog{background:var(--card);border-radius:18px;width:min(560px,100%);max-height:92vh;padding:25px;overflow:auto;box-shadow:0 30px 100px #00000040}.settings-dialog{width:min(720px,100%)}.dialog-heading{justify-content:space-between;align-items:start;margin-bottom:22px;display:flex}.dialog h2{margin:0;font-family:Georgia,serif;font-size:32px}.close-button{width:34px;height:34px;color:var(--muted);background:#eee9e1;border:0;border-radius:50%;font-size:24px;line-height:1}.dialog>label,.form-grid label{gap:7px;margin-bottom:15px;font-size:13px;font-weight:750;display:grid}.dialog textarea{resize:vertical}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.form-error{color:var(--red);font-size:13px}.form-grid{grid-template-columns:1fr 1fr;gap:0 14px;display:grid}.file-field span{color:var(--muted);font-size:12px;font-weight:400}.file-field input{padding:9px}.token-panel{background:#f0ebe3;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-top:10px;padding:14px;display:flex}.token-panel strong{font-size:13px}.token-panel p{text-overflow:ellipsis;white-space:nowrap;max-width:440px;color:var(--muted);margin:4px 0 0;font-size:11px;overflow:hidden}.danger-outline{color:var(--red);background:0 0;border-color:#d9aaa7;padding:9px 12px}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:var(--card);border:1px solid var(--line);border-radius:22px;width:min(430px,100%);padding:38px;box-shadow:0 25px 80px #392c1c1f}.login-card .brand-mark{margin-bottom:28px}.login-card h1{letter-spacing:-.04em;margin:0 0 13px;font-family:Georgia,serif;font-size:39px;line-height:1.05}.login-card>.muted{margin-bottom:25px;line-height:1.5}.login-form{gap:9px;display:grid}.login-form label{font-size:13px;font-weight:750}.login-form button{margin-top:5px}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}@media (max-width:760px){.app-shell{width:min(100% - 24px,1120px)}.topbar{height:68px}.hero{padding:46px 4px 30px}.hero>p:last-child{font-size:16px}.url-row{flex-direction:column}.options-row{flex-direction:column;align-items:stretch;gap:12px}.quality-field{justify-content:space-between}.quality-field select{width:60%;min-width:0}.feed-card{flex-direction:column;align-items:stretch}.feed-actions>*{flex:1}.library-section{margin-top:48px}.episode-row{grid-template-columns:42px 1fr}.episode-actions{grid-column:2}.form-grid{grid-template-columns:1fr}.token-panel{flex-direction:column;align-items:stretch}.dialog{padding:20px}}@media (max-width:470px){.topbar .brand>span:last-child{display:none}.topbar nav button{padding-inline:8px}.hero h1{font-size:49px}.add-card{padding:13px}.quality-field{gap:7px;display:grid}.quality-field select{width:100%}.feed-actions{flex-direction:column}.episode-row{gap:10px;padding:15px 12px}.status-pill{display:none}.episode-meta{line-height:1.5}.episode-actions{flex-wrap:wrap}}
