:root{color-scheme:dark;--bg:#111113;--panel:#1d1d21;--text:#faf9f6;--muted:#c1bdc8;--line:#3a373f;--accent:#baff5a;font:16px/1.55 system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}button,a,input{outline-offset:5px}button{cursor:pointer}header{border-bottom:1px solid var(--line)}.bar,main,footer{width:min(1180px,calc(100% - 48px));margin:auto}.bar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:8px;font-weight:850;letter-spacing:-.035em}.mark{display:inline-grid;place-items:center;background:var(--accent);color:#131710;width:34px;height:34px;border-radius:10px;font-size:15px}.ai,.category,.crumb a,.section-head a{color:var(--accent)}nav{display:flex;gap:24px}nav a{font-weight:650}main{padding-bottom:64px}section{margin-top:48px}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.75rem,6.4vw,6.2rem);line-height:.98;letter-spacing:-.075em}h2{font-size:clamp(1.55rem,3.5vw,2.35rem);line-height:1.15;letter-spacing:-.043em}h3{font-size:1.15rem;line-height:1.2}p{color:var(--muted)}em{color:var(--accent);font-style:normal}.hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:56px;border-radius:24px;background:radial-gradient(ellipse at 76% 25%,#433558,transparent 62%),#1c1921;padding:clamp(24px,5vw,64px);margin-top:30px}.hero-copy p{font-size:1.17rem;max-width:34ch;margin-top:22px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.button{border:1px solid transparent;border-radius:10px;padding:12px 18px;background:var(--accent);color:#151810;font-weight:800;display:inline-flex;justify-content:center}.button:hover{text-decoration:none;filter:brightness(.93)}.button:disabled{cursor:wait;opacity:.65}.secondary{background:transparent;border-color:var(--line);color:var(--text)}.hero-media{max-width:300px;width:100%;justify-self:center}.sample,#output{display:block;aspect-ratio:9/16;width:100%;object-fit:cover;background:#09090b;border-radius:16px}.hero-media .sample{aspect-ratio:3/4}.hero-caption,.section-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.hero-caption{margin-top:12px;font-size:.9rem}.hero-caption span{color:var(--muted)}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.filters button{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:99px;padding:6px 14px}.filters button[aria-pressed=true]{background:var(--accent);color:#151810;border-color:var(--accent)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.card{border:1px solid var(--line);background:var(--panel);border-radius:16px;overflow:hidden}.card a{display:block}.card:hover{border-color:var(--accent)}.card-media{aspect-ratio:4/3;position:relative;overflow:hidden}.card img{width:100%;height:100%;object-fit:cover}.duration{position:absolute;bottom:10px;right:10px;background:#18151d;color:white;padding:2px 9px;border-radius:8px}.card-copy{padding:14px 16px}.category{font-size:.88rem;font-weight:800}.card-copy p:last-child{margin-top:4px;font-size:.9rem}.page-intro h1,.studio h1{font-size:clamp(2.5rem,5vw,4.6rem)}.page-intro p,.studio h1+p,.workbench p{margin-top:10px}.crumb{margin-top:28px;gap:8px;color:var(--muted)}.studio{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:40px;margin-top:24px}.studio .sample{max-width:290px;margin-top:16px}.spec{margin-top:10px}.workbench{padding:24px;border-radius:18px;background:var(--panel);border:1px solid var(--line)}.upload{display:block;padding:20px 12px;border:1px dashed #77717f;border-radius:10px;margin-top:18px;font-weight:750;cursor:pointer}.upload span{display:block;color:var(--muted);font-size:.9rem}input[type=file]{display:block;margin:12px 0;width:100%;color:var(--muted)}#photo-preview{max-height:150px;max-width:100%;border-radius:8px;display:block;margin:0 0 14px}#output{max-width:230px;margin:12px 0}#result{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.note,#status{font-size:.9rem}#status:empty{display:none}footer{border-top:1px solid var(--line);padding:20px 0 30px;display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.9rem}footer a{color:var(--text)}
@media(max-width:700px){.bar,main,footer{width:calc(100% - 28px)}.bar{gap:8px}.bar nav{gap:12px;font-size:.88rem}.brand{font-size:.87rem;gap:5px}.mark{width:25px;height:25px;font-size:12px}.hero,.studio{grid-template-columns:1fr;gap:22px}.hero-media{max-width:240px;justify-self:start}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.section-head{align-items:start}.section-head a{font-size:.9rem}.card-copy{padding:10px}.studio .sample{max-width:215px}}
