@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Outfit:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap");

:root {
  --paper: #fafaf7;
  --ink: #111111;
  --muted: #66635e;
  --line: #e4e1da;
  --card: #ffffff;
  --yellow: #ffd60a;
  --yellow-soft: #fff3b0;
  --protein: #e4572e;
  --carb: #f2a516;
  --fat: #2e86ab;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  min-height: 100vh;
}

.cb-wrap { max-width: 560px; margin: 0 auto; padding: 18px 18px 40px; }

.cb-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.cb-brand {
  font-family: "Archivo Black", sans-serif; font-size: 15px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.cb-brand .arrow { background: var(--yellow); padding: 0 6px; border-radius: 6px; }
.cb-ep {
  font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 500;
  border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px;
}

h1 {
  font-family: "Archivo Black", sans-serif; font-size: 38px; line-height: 1.02;
  letter-spacing: -0.025em; margin-bottom: 10px;
}
h1 mark { background: var(--yellow); padding: 0 6px; border-radius: 6px; }
.cb-sub { color: var(--muted); font-size: 17px; margin-bottom: 22px; }

.cb-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 16px; box-shadow: 4px 4px 0 var(--ink);
}
.cb-label {
  display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--muted);
  text-transform: none;
}
textarea, input[type="text"] {
  width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font: 500 18px/1.4 "Outfit", sans-serif; color: var(--ink); background: #fff; resize: none;
}
textarea:focus, input[type="text"]:focus { outline: none; border-color: var(--ink); }

.cb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 14px; padding: 15px 18px; border: 2px solid var(--ink);
  border-radius: 14px; background: var(--yellow); color: var(--ink);
  font: 700 19px "Outfit", sans-serif; cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
}
.cb-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.cb-btn.ghost { background: #fff; }

.cb-foot {
  margin-top: 30px; padding-top: 18px; border-top: 2px dashed var(--line);
  font-size: 14px; color: var(--muted);
}
.cb-foot a { color: var(--ink); font-weight: 600; }
.cb-foot p + p { margin-top: 6px; }

mark.buzz { background: var(--yellow); color: var(--ink); padding: 0 3px; border-radius: 4px; }

/* recording-only touch indicator */
#cb-touch {
  position: fixed; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: rgba(17, 17, 17, 0.28); border: 3px solid rgba(255, 255, 255, 0.9);
  pointer-events: none; z-index: 9999; opacity: 0; transform: scale(1);
}
