:root { --cream:#FAF6EF; --red:#E63B2E; --ink:#1a1a1a; --muted:#6b655c; --line:#e5ddd0; }
* { box-sizing:border-box; }
body { margin:0; background:var(--cream); color:var(--ink); font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; line-height:1.5; }
.topbar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 20px; border-bottom:3px solid var(--ink); background:#fff; flex-wrap:wrap; }
.brand { font-size:20px; }
.tag { background:var(--ink); color:#fff; font-size:12px; padding:2px 8px; border-radius:99px; vertical-align:middle; }
.stub-badge { background:#fff3cd; border:1px solid #d9a400; color:#7a5b00; font-size:12px; padding:2px 8px; border-radius:99px; vertical-align:middle; }
.top-links a { color:var(--ink); margin-left:10px; }
main { max-width:860px; margin:0 auto; padding:20px; }
.hero h1 { font-size:34px; margin:8px 0; line-height:1.15; }
.sub { font-size:18px; color:#333; }
.ref-note { background:#e8f5e9; border:1px solid #81c784; padding:10px 14px; border-radius:8px; }
.panel { background:#fff; border:2px solid var(--ink); border-radius:12px; padding:20px; margin:20px 0; box-shadow:4px 4px 0 var(--ink); }
.panel h2 { margin-top:0; }
.dropzone { border:2px dashed #999; border-radius:10px; padding:28px 16px; text-align:center; cursor:pointer; background:#fdfbf7; }
.dropzone.drag { border-color:var(--red); background:#fff0ee; }
.dropzone img { max-width:100%; max-height:320px; border-radius:8px; margin-top:10px; }
.linklike { background:none; border:none; color:var(--red); cursor:pointer; font-size:inherit; text-decoration:underline; padding:0; }
.consent { display:block; margin:14px 0; font-size:15px; }
.fineprint { color:var(--muted); font-size:13px; }
.err { color:var(--red); font-weight:600; }
input[type=text] { width:100%; padding:12px; font-size:16px; border:2px solid var(--ink); border-radius:8px; background:#fff; }
.styles { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px; margin:12px 0; }
.style-card { border:2px solid var(--ink); border-radius:10px; padding:14px; background:#fff; cursor:pointer; text-align:left; font-size:15px; }
.style-card small { display:block; color:var(--muted); margin-top:6px; font-size:13px; }
.style-card.selected { background:#fff0ee; border-color:var(--red); box-shadow:3px 3px 0 var(--red); }
.style-emoji { font-size:26px; display:block; }
.cta { background:var(--red); color:#fff; border:2px solid var(--ink); border-radius:10px; padding:14px 26px; font-size:18px; font-weight:700; cursor:pointer; box-shadow:3px 3px 0 var(--ink); }
.cta:hover { transform:translate(-1px,-1px); box-shadow:4px 4px 0 var(--ink); }
.cta.secondary { background:#fff; color:var(--ink); }
.cta.ghost { background:transparent; box-shadow:none; }
.actions { display:flex; gap:12px; flex-wrap:wrap; margin:16px 0; }
.steps li { margin:8px 0; color:var(--muted); }
.steps li.done { color:var(--ink); font-weight:700; }
.steps li.done::before { content:"✓ "; color:green; }
.result-wrap { position:relative; max-width:560px; margin:0 auto; }
.result-wrap canvas { width:100%; height:auto; border:3px solid var(--ink); border-radius:10px; display:block; }
.satire-label { position:absolute; top:10px; left:10px; background:var(--red); color:#fff; font-size:12px; font-weight:700; padding:4px 10px; border-radius:99px; border:2px solid #fff; }
.beat-line { font-size:19px; font-weight:700; text-align:center; }
.share { margin:14px 0; display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.share button, .share a { font-size:15px; }
.modal { position:fixed; inset:0; background:rgba(0,0,0,.5); display:flex; align-items:center; justify-content:center; padding:20px; }
.modal-card { background:#fff; border:2px solid var(--ink); border-radius:12px; padding:24px; max-width:420px; box-shadow:5px 5px 0 var(--ink); }
footer { max-width:860px; margin:0 auto; padding:20px; color:var(--muted); font-size:13px; }
@media (max-width:600px){ .hero h1{font-size:26px;} .cta{width:100%;} }
