/* Layout concept: Nairobi matatu signage. Hard yellow and black bands,
   condensed poster type, hazard tape, and an order "slip" like a receipt.
   One brand look on purpose, so every color is set explicitly. */
:root {
  --sun: #FFD21F;       /* brand yellow */
  --sun-deep: #F2B705;  /* pressed / shadow yellow */
  --ink: #111110;       /* brand black */
  --ink-2: #1D1C18;     /* raised black */
  --paper: #FFFAE6;     /* yellow-tinted white */
  --line: #2A2924;
  --muted: #5E5947;     /* text on paper/sun */
  --muted-ink: #B8B29A; /* text on ink */
  --ok: #1F8A4C;
  --bad: #C0362C;

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --r: 14px;
  --shadow: 5px 5px 0 var(--ink);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--sun);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band-ink :focus-visible, .footer :focus-visible { outline-color: var(--sun); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); }

.wrap {
  max-width: 1160px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- type ---------- */
.h2 {
  font: 400 clamp(2.4rem, 6vw, 4.4rem)/0.95 var(--f-display);
  text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 18px;
  text-wrap: balance;
}
.h3 { font: 800 1.35rem/1.2 var(--f-body); margin: 0 0 10px; }
.h4 { font: 700 0.8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.12em; margin: 28px 0 12px; color: var(--muted); }
.eyebrow {
  display: inline-block; font: 700 0.75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.14em;
  background: var(--ink); color: var(--sun); padding: 7px 10px; border-radius: 4px; margin: 0 0 16px;
}
.eyebrow-sun { background: var(--sun); color: var(--ink); }
.lede { font-size: 1.1rem; max-width: 56ch; color: var(--muted); margin: 0 0 18px; }
.band-ink .lede { color: var(--muted-ink); }
.note { font-size: 0.92rem; color: var(--muted); }
.hl { background: var(--ink); color: var(--sun); padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-ink { color: var(--sun); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 14px 20px; border-radius: 999px; border: 2.5px solid var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn-ink { background: var(--ink); color: var(--sun); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-outline-sun { background: transparent; color: var(--sun); border-color: var(--sun); }
.band-ink .btn:hover, .footer .btn:hover { box-shadow: 4px 4px 0 var(--sun); }
.btn-sm { padding: 10px 14px; font-size: 0.88rem; }
.btn-lg { padding: 17px 26px; font-size: 1.08rem; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--sun); border-bottom: 3px solid var(--ink);
}
.topbar-in { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-word { font: 400 1.55rem/0.9 var(--f-display); letter-spacing: 0.02em; display: flex; flex-direction: column; }
.brand-word small { font: 700 0.62rem/1.2 var(--f-mono); letter-spacing: 0.42em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font-weight: 700; text-decoration: none; font-size: 0.95rem; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 820px) { .nav { display: none; } .topbar .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { background: var(--sun); padding-block: 44px 56px; overflow: hidden; }
.sticker {
  display: inline-block; margin: 0 0 18px; transform: rotate(-2deg);
  background: var(--paper); border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font: 700 0.8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 9px 12px; border-radius: 6px;
}
.hero-title {
  font: 400 clamp(3.4rem, 11vw, 8.4rem)/0.88 var(--f-display);
  text-transform: uppercase; margin: 0 0 24px; letter-spacing: 0.005em;
}
.hero-title .hl { display: inline-block; line-height: 1; padding: 0.02em 0.12em 0.04em; margin-top: 0.08em; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 54ch; margin: 0 0 34px; font-weight: 500; }
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .engines { grid-template-columns: 1fr; } }
.engine {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  border: 3px solid var(--ink); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.engine:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.engine-sun { background: var(--paper); }
.engine-ink { background: var(--ink); color: var(--paper); }
.engine-tag { font: 700 0.72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.14em; opacity: .7; }
.engine-name { font: 400 clamp(2rem, 4.4vw, 2.9rem)/0.95 var(--f-display); text-transform: uppercase; }
.engine-ink .engine-name { color: var(--sun); }
.engine-copy { max-width: 40ch; }
.engine-go { font-weight: 800; margin-top: auto; padding-top: 8px; }

/* ---------- ticker (hazard tape with areas) ---------- */
.ticker {
  background: repeating-linear-gradient(-45deg, var(--ink) 0 18px, var(--sun) 18px 36px);
  padding-block: 8px; border-block: 3px solid var(--ink); overflow: hidden;
}
.ticker-track {
  display: flex; gap: 0; width: max-content; background: var(--ink); color: var(--sun);
  font: 400 1.15rem/1 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase;
  padding-block: 9px; animation: tick 60s linear infinite;
}
.ticker-track span { padding-inline: 18px; white-space: nowrap; }
.ticker-track span::after { content: "●"; margin-left: 36px; font-size: 0.6em; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- bands ---------- */
.band { padding-block: 72px; }
.band-paper { background: var(--paper); }
.band-sun { background: var(--sun); border-block: 3px solid var(--ink); }
.band-ink { background: var(--ink); color: var(--paper); }

/* ---------- order ---------- */
.order-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-weight: 600; }
.ticks li::before { content: "✓"; flex: none; width: 24px; height: 24px; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--ink); border-radius: 50%; font-size: 0.8rem; font-weight: 800; }

.ticket {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 8px 8px 0 var(--ink);
  padding: 0 22px 22px; display: grid; gap: 16px; position: relative; min-width: 0;
}
.ticket-head {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-inline: -22px; padding: 12px 22px; background: var(--ink); color: var(--sun);
  font: 700 0.78rem/1.2 var(--f-mono); letter-spacing: 0.12em; border-radius: 10px 10px 0 0;
}
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.9rem; padding: 0; }
.field legend { margin-bottom: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
input[type=text], input[type=tel], input[type=search], textarea, select {
  width: 100%; font: 500 1rem/1.4 var(--f-body); color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 10px; padding: 12px 13px;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #8C866E; }
input:focus, textarea:focus, select:focus { outline: none; box-shadow: 0 0 0 3px var(--sun), 0 0 0 5px var(--ink); }
.is-bad { border-color: var(--bad) !important; background: #FFF1EE !important; }
.loc-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: -4px; }
.loc-status { font-size: 0.88rem; color: var(--muted); }
.loc-status.ok { color: var(--ok); font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 14px; border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; cursor: pointer; background: #fff; user-select: none;
}
.chip input:checked + span { background: var(--ink); color: var(--sun); }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF1EE; color: var(--bad); font-weight: 700; border: 2px solid var(--bad); }
.ticket-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 2.5px dashed var(--ink); padding-top: 18px; }
.fee-line { margin: 0; font-size: 0.92rem; }

.sent { background: var(--sun); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 8px 8px 0 var(--ink); padding: 24px; min-width: 0; }
.sent-msg { background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 14px; white-space: pre-wrap; word-break: break-word; font-size: 0.85rem; max-height: 300px; overflow: auto; }
.sent-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.steps h3 { font: 400 1.8rem/1 var(--f-display); text-transform: uppercase; margin: 12px 0 8px; }
.steps p { margin: 0; color: var(--muted); }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--sun); font: 400 1.5rem/1 var(--f-display); }

/* ---------- plugs ---------- */
.plugs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 28px; }
@media (max-width: 820px) { .plugs-head { grid-template-columns: 1fr; gap: 0; } }
.plug-tools { display: grid; gap: 14px; margin-bottom: 26px; }
.search { background: var(--ink-2) !important; color: var(--paper) !important; border-color: var(--sun) !important; font-size: 1.05rem !important; padding: 15px 16px !important; }
.search::placeholder { color: var(--muted-ink); }
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-chips button {
  font: 700 0.85rem/1 var(--f-body); padding: 10px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--paper); border: 2px solid var(--line);
}
.cat-chips button:hover { border-color: var(--sun); }
.cat-chips button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }

.plug-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.plug {
  background: var(--ink-2); border: 2px solid var(--line); border-radius: var(--r); padding: 20px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.plug h3 { margin: 0; font: 800 1.2rem/1.2 var(--f-body); color: var(--paper); }
.plug-meta { font: 500 0.78rem/1.4 var(--f-mono); color: var(--muted-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.plug p { margin: 0; color: var(--muted-ink); }
.plug-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.plug-sample { border: 2.5px dashed var(--sun); background: transparent; }
.plug-sample h3 { color: var(--sun); }
.plug-grid.is-empty { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 720px) { .plug-grid.is-empty { grid-template-columns: 1fr; } }
.empty-plugs { border: 2.5px dashed var(--line); border-radius: var(--r); padding: 28px; text-align: left; }
.empty-plugs h3 { font: 400 2rem/1 var(--f-display); text-transform: uppercase; color: var(--sun); margin: 0 0 10px; }
.empty-plugs p { color: var(--muted-ink); margin: 0 0 16px; max-width: 60ch; }

.badge { display: inline-flex; align-items: center; gap: 6px; font: 700 0.75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 10px; border-radius: 999px; width: fit-content; }
.badge-verified { background: var(--sun); color: var(--ink); }
.badge-trusted { background: var(--paper); color: var(--ink); }
.badge-top { background: linear-gradient(90deg, var(--sun), var(--sun-deep)); color: var(--ink); box-shadow: 0 0 0 2px var(--paper); }

.test { margin-top: 44px; border: 2px solid var(--sun); border-radius: var(--r); padding: 26px; }
.test .h3 { color: var(--sun); font: 400 2rem/1 var(--f-display); text-transform: uppercase; }
.test-sub { color: var(--muted-ink); margin: 0 0 16px; }
.test-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 900px) { .test-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .test-list { grid-template-columns: 1fr; } }
.test-list li { background: var(--ink-2); border-radius: 10px; padding: 14px; color: var(--muted-ink); font-size: 0.92rem; }
.test-list b { display: block; color: var(--paper); margin-bottom: 4px; }
.test-list b::before { content: "✓ "; color: var(--sun); }
.badges { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; max-width: 460px; }
.badge-desc { color: var(--muted-ink); font-size: 0.92rem; }
.plug-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- areas ---------- */
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { border: 2px solid var(--ink); border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: 0.9rem; background: #fff; }
.pill-list-soon li { border-style: dashed; background: transparent; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); border-top: 6px solid var(--sun); padding-block: 44px 24px; }
.footer-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-in p { margin: 0 0 10px; color: var(--muted-ink); max-width: 40ch; }
.footer-brand { font: 400 2.4rem/1 var(--f-display) !important; color: var(--sun) !important; }
.footer-label { font: 700 0.75rem/1 var(--f-mono) !important; text-transform: uppercase; letter-spacing: 0.14em; }
.footer-num { font-size: 1.5rem; color: var(--paper) !important; font-weight: 700; }
.footer-fine { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted-ink); }

/* ---------- Sosi ---------- */
.sosi-fab {
  position: fixed; z-index: 70; border: 0; background: none; padding: 0; cursor: pointer;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px;
}
.sosi-face {
  position: relative; width: 66px; height: 66px; flex: none; border-radius: 22px 22px 26px 26px;
  background: var(--sun); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  display: block; animation: bob 3.2s ease-in-out infinite;
}
.sosi-face::before { /* bag handle */
  content: ""; position: absolute; left: 50%; top: -14px; width: 26px; height: 16px; transform: translateX(-50%);
  border: 3px solid var(--ink); border-bottom: 0; border-radius: 14px 14px 0 0;
}
.sosi-face .eye {
  position: absolute; top: 20px; width: 10px; height: 14px; background: var(--ink); border-radius: 50%;
  animation: blink 5s infinite;
}
.sosi-face .eye:nth-child(1) { left: 16px; }
.sosi-face .eye:nth-child(2) { right: 16px; }
.sosi-face .mouth {
  position: absolute; left: 50%; bottom: 13px; width: 22px; height: 11px; transform: translateX(-50%);
  border: 3px solid var(--ink); border-top: 0; border-radius: 0 0 14px 14px;
}
.sosi-face.is-thinking .mouth { width: 10px; height: 10px; border: 3px solid var(--ink); border-radius: 50%; }
.sosi-face.is-happy { animation: hop .5s ease 2; }
.sosi-face-sm { width: 42px; height: 42px; border-radius: 13px 13px 16px 16px; box-shadow: 2px 2px 0 var(--ink); animation: none; }
.sosi-face-sm::before { top: -10px; width: 16px; height: 11px; border-width: 2.5px; }
.sosi-face-sm .eye { top: 12px; width: 6px; height: 9px; }
.sosi-face-sm .eye:nth-child(1) { left: 10px; }
.sosi-face-sm .eye:nth-child(2) { right: 10px; }
.sosi-face-sm .mouth { bottom: 8px; width: 14px; height: 7px; border-width: 2.5px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes hop { 50% { transform: translateY(-14px) scale(1.06); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
@media (prefers-reduced-motion: reduce) { .sosi-face, .sosi-face .eye { animation: none !important; } }
.sosi-bubble {
  background: var(--ink); color: var(--sun); font-weight: 700; font-size: 0.88rem; padding: 10px 14px;
  border-radius: 16px 16px 4px 16px; white-space: nowrap; box-shadow: 3px 3px 0 var(--sun-deep);
  transition: opacity .3s ease, transform .3s ease;
}
.sosi-bubble.is-gone { opacity: 0; transform: translateX(10px); pointer-events: none; }
@media (max-width: 480px) { .sosi-bubble { display: none; } }

.sosi-panel {
  position: fixed; z-index: 80; display: flex; flex-direction: column;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 32px - env(safe-area-inset-top, 0px)));
  background: var(--paper); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden;
}
.sosi-top { display: flex; align-items: center; gap: 10px; padding: 18px 12px 10px 14px; background: var(--sun); border-bottom: 3px solid var(--ink); }
.sosi-id { display: grid; line-height: 1.2; min-width: 0; margin-right: auto; }
.sosi-id strong { font: 400 1.4rem/1 var(--f-display); letter-spacing: 0.03em; }
.sosi-id small { font-size: 0.75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sosi-toggle { font: 700 0.7rem/1 var(--f-mono); padding: 7px 8px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; white-space: nowrap; }
.sosi-toggle[aria-pressed="false"] { background: transparent; }
.sosi-x { border: 0; background: var(--ink); color: var(--sun); width: 32px; height: 32px; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; flex: none; }
.sosi-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 0.95rem; line-height: 1.45; word-wrap: break-word; animation: pop .22s ease; }
.msg-bot { background: #fff; border: 2px solid var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-me { background: var(--ink); color: var(--sun); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { font-weight: 700; }
.msg-card { background: var(--sun); border: 2px solid var(--ink); border-radius: 12px; padding: 12px; margin-top: 8px; display: grid; gap: 6px; font-size: 0.9rem; }
.msg-card .mono { font-size: 0.8rem; white-space: pre-wrap; }
.msg-card .btn { justify-self: start; }
.msg-typing { display: flex; gap: 4px; padding: 13px 15px; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: dot 1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.meter { height: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--ink); transition: width .4s ease; }
.sosi-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 10px; scrollbar-width: none; }
.sosi-chips::-webkit-scrollbar { display: none; }
.sosi-chips button {
  flex: none; font: 700 0.82rem/1 var(--f-body); padding: 9px 12px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink); border: 2px solid var(--ink); white-space: nowrap;
}
.sosi-chips button:hover { background: var(--sun); }
.sosi-input { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 2px solid var(--ink); background: #fff; }
.sosi-input input { background: var(--paper); }
.sosi-input button { flex: none; width: 46px; border-radius: 12px; border: 2px solid var(--ink); background: var(--ink); color: var(--sun); font-size: 1.1rem; cursor: pointer; }
