[hidden] { display: none !important; }
:root {
  --cream: #fff6e6;
  --cream-2: #ffeccc;
  --orange: #ff7a00;
  --orange-dark: #d96400;
  --ink: #2b1b0e;
  --muted: #7a6450;
  --green: #2f7d4f;
  --red: #c2410c;
  --radius: 18px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
.top { display: flex; justify-content: space-between; align-items: center; max-width: 720px; margin: 0 auto; padding: 18px 20px; }
.brand { font-weight: 800; color: var(--ink); text-decoration: none; }
.age { font-size: 12px; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 8px; }
main { max-width: 720px; margin: 0 auto; padding: 0 20px 40px; }
.hero { text-align: center; padding: 20px 0 8px; }
.kicker { color: var(--orange); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.08; margin: 8px 0 12px; letter-spacing: -.02em; }
.sub { color: var(--muted); max-width: 520px; margin: 0 auto; }
.card { background: #fff; border-radius: var(--radius); padding: 22px; margin-top: 24px; box-shadow: 0 10px 30px rgba(43, 27, 14, .08); }
.drop { display: grid; place-items: center; text-align: center; min-height: 170px; border: 2px dashed #f0c48f; border-radius: 14px; background: var(--cream); cursor: pointer; padding: 16px; }
.drop.over { border-color: var(--orange); background: var(--cream-2); }
.drop small { color: var(--muted); }
#preview { max-height: 260px; max-width: 100%; border-radius: 10px; }
.paste { margin: 14px 0 4px; }
.paste summary { cursor: pointer; color: var(--muted); font-size: 14px; }
textarea, input[type=email] { width: 100%; font: inherit; padding: 12px 14px; border: 2px solid #ead7bd; border-radius: 12px; background: #fff; color: var(--ink); margin-top: 10px; }
textarea:focus, input:focus { outline: none; border-color: var(--orange); }
#turnstile { margin-top: 12px; }
.btn { display: block; width: 100%; margin-top: 14px; padding: 15px; font: inherit; font-weight: 800; font-size: 17px; color: #fff; background: var(--orange); border: 0; border-radius: 999px; cursor: pointer; }
.btn:hover { background: var(--orange-dark); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.error { color: var(--red); font-weight: 600; text-align: center; }
.result { text-align: center; }
.label { margin: 0; color: var(--muted); font-weight: 600; }
.big { font-size: clamp(56px, 14vw, 88px); font-weight: 900; color: var(--orange); margin: 0; line-height: 1; letter-spacing: -.03em; }
.oneinn { margin: 6px 0 0; font-weight: 700; }
#headline { font-size: 22px; margin: 18px 0 6px; }
.locked { position: relative; margin-top: 18px; text-align: left; }
.blurred { filter: blur(5px); user-select: none; opacity: .6; }
.row { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid #f1e3cf; }
.unlock { background: var(--cream); border-radius: 14px; padding: 18px; margin-top: 14px; }
.unlock p { margin: 0 0 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 15px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); }
#full { text-align: left; margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat { background: var(--cream); border-radius: 12px; padding: 12px 14px; }
.stat .k { font-size: 13px; color: var(--muted); }
.stat .v { font-size: 22px; font-weight: 800; }
.roast { font-size: 17px; margin: 16px 0; }
.legs { list-style: none; padding: 0; margin: 14px 0; }
.legs li { border: 1px solid #f1e3cf; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.legs .top-line { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.legs .meta { font-size: 13px; color: var(--muted); }
.legs .note { margin-top: 4px; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: 999px; margin-left: 6px; color: #fff; background: var(--red); }
.tag.dw { background: var(--muted); }
.callout { background: #fff1e0; border-left: 4px solid var(--orange); padding: 10px 14px; border-radius: 8px; margin: 12px 0; font-size: 15px; }
.verdict { font-weight: 700; }
.cta { text-align: center; margin-top: 16px; }
footer { max-width: 720px; margin: 0 auto; padding: 10px 20px 40px; text-align: center; font-size: 13px; color: var(--muted); }
footer a { color: var(--ink); }

/* ---- memo build additions ---- */
.tagline { font-size: 19px; color: var(--muted); margin: 0; }
.hero h1 { margin-bottom: 4px; }
.drop-icon { display: block; font-size: 34px; }
#drop-text strong { display: block; font-size: 18px; }
#drop-text small { display: block; margin-top: 2px; }
.ask-title { font-weight: 800; margin: 0 0 6px; }
.q { margin-top: 14px; }
.q label { font-weight: 600; display: block; }
.q input[type=text], .q input[type=number] { width: 100%; font: inherit; padding: 12px 14px; border: 2px solid #ead7bd; border-radius: 12px; margin-top: 8px; }
.q .opt { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-weight: 500; }
.payout { font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.work { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.roast { font-size: 18px; font-weight: 700; margin: 16px 0 0; }
.roast::before { content: "🍊 "; }
.peek .blur { filter: blur(5px); }
.unlock-line { font-size: 15px; }
h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark); margin: 22px 0 8px; }
.damage { background: #fff1e0; border-left: 4px solid var(--red); padding: 12px 14px; border-radius: 8px; font-weight: 600; }
table.droptable { width: 100%; border-collapse: collapse; font-size: 15px; }
table.droptable th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 6px 4px; border-bottom: 2px solid #f1e3cf; }
table.droptable td { padding: 10px 4px; border-bottom: 1px solid #f1e3cf; vertical-align: top; }
table.droptable td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.droptable tr.hit td { background: #fff1e0; font-weight: 700; }
table.droptable tr.now td { font-weight: 700; color: var(--muted); }
.flags { list-style: none; padding: 0; margin: 0; }
.flags li { padding: 10px 12px; border-radius: 10px; background: var(--cream); margin-bottom: 8px; font-size: 15px; }
.flags li::before { content: "🚩 "; }
.flags li.boost::before { content: "🚀 "; }
.cut { background: var(--ink); color: #fff; border-radius: 14px; padding: 16px; }
.cut .v { font-size: 30px; font-weight: 900; color: #ffb35c; }
.cut .w { font-size: 13px; opacity: .8; margin: 4px 0 0; }
.sides { display: grid; gap: 8px; margin-top: 10px; }
.sides label { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.sides input { width: 96px; font: inherit; padding: 8px 10px; border: 2px solid #ead7bd; border-radius: 10px; }
.legwork { font-size: 13px; color: var(--muted); list-style: none; padding: 0; }
.legwork li { padding: 3px 0; }
.closer { margin-top: 22px; }
#card-canvas { width: 100%; border-radius: 14px; display: block; box-shadow: 0 6px 20px rgba(43,27,14,.15); }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-row .btn { margin-top: 10px; }
.kind { background: #f3f7f4; border-left: 4px solid var(--green); padding: 14px; border-radius: 10px; }
.kind p { margin: 6px 0; }
.kind.big-note { font-weight: 700; }
