:root {
  --ink: #0e1116;
  --ink-2: #3a414c;
  --muted: #6b7380;
  --line: #e6e8ec;
  --line-strong: #d3d7de;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --accent: #1b3fd1;
  --accent-ink: #ffffff;
  --accent-soft: #eef1fd;
  --success: #0f7a4a;
  --success-soft: #e8f5ee;
  --danger: #b4232c;
  --radius: 10px;
  --radius-sm: 6px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-feature-settings: "tnum" 1, "cv11" 1;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.7px;
  color: var(--ink);
}
.wordmark-igo {
  background: linear-gradient(90deg, #2746d9 0%, #a21caf 50%, #ea580c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark-tld { color: var(--muted); font-weight: 500; }
.wordmark-sm { font-size: 16px; gap: 8px; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; transition: transform 0.2s ease; }
.wordmark:hover .brand-mark { transform: scale(1.05); }
.brand-mark-sm { width: 22px; height: 22px; }

.main-nav { display: flex; gap: 4px; flex: 1; }
.nav-link {
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-link:hover { color: var(--ink); background: #f2f3f5; }
.nav-link.active { color: var(--ink); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -13px;
  height: 2px;
  background: var(--ink);
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.lang-btn {
  background: var(--surface);
  border: none;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--muted);
  cursor: pointer;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--line-strong); }
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--ink); color: #fff; }

/* ---------- Main ---------- */
.main { flex: 1; padding: 56px 0 80px; }

/* ---------- Home (light theme) ---------- */
body.is-home { background: #fbfaf8; }
body.is-home .main { padding: 0; }
body.is-home .header {
  background: rgba(251, 250, 248, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(14, 17, 22, 0.06);
}

.home {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  padding: 72px 0 0;
  min-height: calc(100vh - 64px);
}
.home-inner { position: relative; z-index: 2; }

/* Animated background */
.home-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.orb-1 { width: 620px; height: 620px; background: #c7d2fe; opacity: 0.7; top: -260px; left: -160px; animation: drift1 18s ease-in-out infinite alternate; }
.orb-2 { width: 520px; height: 520px; background: #fed7aa; opacity: 0.6; top: 60px; right: -200px; animation: drift2 22s ease-in-out infinite alternate; }
.orb-3 { width: 460px; height: 460px; background: #f5d0fe; opacity: 0.5; bottom: -240px; left: 35%; animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(160px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 80px) scale(0.9); } }
@keyframes drift3 { to { transform: translate(120px, -100px) scale(1.1); } }
.grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14, 17, 22, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 30% 0%, #000 20%, transparent 70%);
}

/* Hero */
.hero { max-width: 820px; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 7px 14px;
  border: 1px solid rgba(14, 17, 22, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 2px rgba(14, 17, 22, 0.04);
  margin-bottom: 26px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.hero-title {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -2.4px;
  margin-bottom: 24px;
  color: var(--ink);
}
.rotator { display: inline-block; position: relative; height: 1.08em; overflow: hidden; vertical-align: bottom; }
.rotator-word {
  display: inline-block;
  background: linear-gradient(90deg, #1b3fd1, #a21caf 55%, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wordIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.rotator-word.out { animation: wordOut 0.45s cubic-bezier(0.6, 0, 0.8, 0.2) both; }
@keyframes wordIn { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wordOut { to { transform: translateY(-100%); opacity: 0; } }

.hero-lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 620px; }

/* Entrance reveal */
.reveal { opacity: 0; transform: translateY(28px); animation: reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: var(--d, 0ms); }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* Photo tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tile {
  position: relative;
  display: block;
  height: 480px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  color: #fff;
  background: #e9e7e3;
  box-shadow: 0 1px 2px rgba(14, 17, 22, 0.06), 0 24px 48px -24px rgba(14, 17, 22, 0.35);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  transform-style: preserve-3d;
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 4;
}
.tile-img {
  position: absolute; inset: -2%;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
  filter: saturate(0.95);
  z-index: 0;
}
.tile-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.25) 0%, rgba(5, 6, 9, 0) 28%, rgba(5, 6, 9, 0.35) 58%, rgba(5, 6, 9, 0.88) 100%);
}
.tile-top {
  position: absolute; top: 22px; left: 24px; right: 24px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.6px;
}
.tile-index { color: rgba(255, 255, 255, 0.9); }
.tile-count {
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-2);
}
.tile-count strong { color: var(--ink); }
.tile-content { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 3; }
.tile-title { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.6px; margin-bottom: 4px; }
.tile-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s ease;
}
.tile-more > * { overflow: hidden; }
.tile-desc { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); padding-top: 8px; }
.tile-sources { font-size: 12px; color: rgba(255, 255, 255, 0.6); padding-top: 8px; }
.tile-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px; font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}
.cta-line {
  position: relative;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cta-line::after {
  content: "";
  position: absolute; right: 0; top: -3.5px;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* Hover state */
.tile:hover { transform: translateY(-8px); box-shadow: 0 2px 4px rgba(14, 17, 22, 0.06), 0 40px 70px -30px rgba(14, 17, 22, 0.45); }
.tile:hover .tile-img { transform: scale(1.12); filter: saturate(1.1); }
.tile:hover .tile-more { grid-template-rows: 1fr; opacity: 1; }
.tile:hover .tile-cta { background: var(--accent); color: #fff; }
.tile:hover .cta-line { width: 36px; }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Facts */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-value { display: block; font-size: 36px; font-weight: 700; letter-spacing: -1px; color: var(--ink); }
.fact-label { font-size: 13.5px; color: var(--muted); }

/* Marquee */
.marquee {
  position: relative; z-index: 2;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  padding: 22px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #a3a9b2;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.marquee-track span:hover { color: var(--ink); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.wordmark:focus { outline: none; }
.wordmark:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 960px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { height: 340px; }
  .tile-more { grid-template-rows: 1fr; opacity: 1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .orb, .marquee-track, .rotator-word { animation: none !important; opacity: 1; transform: none; }
}

/* ---------- Category pages ---------- */
.cat-view {
  position: relative;
}
.cat-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 18px 45px -28px rgba(14, 17, 22, 0.14);
}
.cat-hero-copy {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cat-hero-media {
  background-size: cover;
  background-position: center;
  min-height: 190px;
  position: relative;
}
.cat-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, rgba(14, 17, 22, 0.08) 100%);
}
.cat-hero-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.cat-hero-sources span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  background: #f4f5f8;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

.page-head { margin-bottom: 28px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: var(--line-strong); }
.page-title { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; letter-spacing: -1px; line-height: 1.15; margin-bottom: 8px; }
.page-lead { font-size: 15.5px; color: var(--ink-2); max-width: 580px; }

.stepper {
  list-style: none;
  display: inline-flex;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 600;
}
.step.active {
  color: var(--ink);
  background: #f4f5f9;
  font-weight: 600;
}
.step.active .step-num {
  background: linear-gradient(135deg, #2746d9 0%, #a21caf 55%, #ea580c 100%);
  border-color: transparent;
  color: #fff;
}
.step.done { color: var(--ink-2); }
.step.done .step-num { background: var(--success-soft); border-color: var(--success); color: var(--success); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 24px;
  box-shadow: 0 18px 45px -28px rgba(14, 17, 22, 0.14);
}

.form-row { display: grid; gap: 16px; align-items: end; }
.form-food, .form-market { grid-template-columns: 200px 1fr auto; }
.form-cosmetics, .form-address { grid-template-columns: 1fr auto; }

.field label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field-req, .field-opt { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.field-req::before { content: "· "; }
.field-opt::before { content: "· "; }
.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.field input::placeholder { color: #a1a7b0; }
.field input:hover { border-color: #b9bfc8; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27, 63, 209, 0.12); }

.btn {
  height: 46px;
  padding: 0 24px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #2746d9 0%, #a21caf 55%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(39, 70, 217, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(162, 28, 175, 0.55);
}
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); height: 36px; padding: 0 14px; font-size: 13px; }
.btn-secondary:hover { border-color: var(--ink); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.suggestions-label { font-size: 12.5px; color: var(--muted); margin-right: 6px; }
.link-chip {
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.link-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* Address step */
.address-step { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.address-head { margin-bottom: 14px; }
.address-head h3 { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.address-head p { font-size: 13.5px; }
.address-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
}
.address-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  margin: 0 -1px -1px 0;
  background: var(--surface);
}
.address-option:hover { background: #fafbfc; }
.radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
  position: relative;
}
.address-option.selected { background: var(--accent-soft); }
.address-option.selected .radio { border-color: var(--accent); }
.address-option.selected .radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

/* Summary bar */
.summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--success);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
}
.summary-label { font-size: 12px; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }

/* Status line */
.status-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
}
.status-head { color: var(--ink); font-weight: 600; margin-right: 4px; }
.status-item { display: inline-flex; align-items: center; gap: 7px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status-dot.is-live { background: var(--success); }
.status-live { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; color: var(--success); background: var(--success-soft); padding: 1px 5px; border-radius: 4px; }
.status-ms { color: #9aa1ab; }

/* Toolbar */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.result-count { font-size: 14px; color: var(--ink-2); }
.result-count strong { color: var(--ink); }
.toolbar-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.select {
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' stroke='%236b7380' stroke-width='1.5' fill='none'/></svg>") no-repeat right 12px center;
  appearance: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

/* Results list */
.results {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.results:empty { display: none; }
.result {
  display: grid;
  grid-template-columns: 160px 1fr 150px 170px;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  position: relative;
}
.result + .result { border-top: 1px solid var(--line); }
.result:hover { background: #fcfcfd; }
.result.best { background: #fbfdfc; }
.result.best::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--success);
}

.vendor { display: flex; flex-direction: column; gap: 4px; }
.vendor-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.vendor-mark { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.vendor-domain { font-size: 12px; color: var(--muted); padding-left: 16px; }

.product-title { font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.product-sub { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.attrs { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--muted); }
.attrs span strong { color: var(--ink-2); font-weight: 500; }

.price-col { text-align: right; }
.label-best {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: 4px;
}
.price { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1; }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.price-discount { font-size: 12.5px; font-weight: 600; color: var(--danger); }
.price-unit { font-size: 12px; color: var(--muted); margin-top: 2px; }

.action-col { text-align: right; }
.action-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.btn-list-add {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.btn-list-add:hover { border-color: var(--ink); color: var(--ink); }
.btn-list-add.added { border-color: var(--success); color: var(--success); background: var(--success-bg); }

/* 4-column tiles on home */
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles-4 { grid-template-columns: 1fr; } }

/* Prospekte grid */
.prospekte-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 900px) { .prospekte-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .prospekte-grid { grid-template-columns: 1fr; } }
.prospekt-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.prospekt-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.prospekt-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  background-size: cover;
  background-position: center;
}
.prospekt-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prospekt-store { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--accent); }
.prospekt-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.prospekt-sub { font-size: 13px; color: var(--muted); flex: 1; }
.prospekt-cta { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }

/* Einkaufsliste */
.shopping-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.shopping-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
}
.shopping-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.shopping-row:last-child { border-bottom: none; }
.shopping-row.done .shopping-title { text-decoration: line-through; color: var(--muted); }
.shopping-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.shopping-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shopping-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 600;
}
.shopping-price { font-weight: 600; font-size: 14px; min-width: 64px; text-align: right; }

.btn-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.btn-offer:hover { background: var(--accent); }
.result:not(.best) .btn-offer { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.result:not(.best) .btn-offer:hover { border-color: var(--ink); }
.offer-note { display: block; font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* Loading */
.prospekte-grid .loading { grid-column: 1 / -1; }
.loading {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.loading-logo-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
}
.loading-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  border-top-color: #2746d9;
  border-right-color: #a21caf;
  border-bottom-color: #ea580c;
  animation: logoSpin 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}
.loading-logo {
  width: 42px;
  height: 42px;
  animation: logoPulse 1.4s ease-in-out infinite;
}
@keyframes logoSpin { to { transform: rotate(360deg); } }
@keyframes logoPulse {
  0%, 100% { transform: scale(0.94); opacity: 0.92; }
  50% { transform: scale(1.04); opacity: 1; }
}
.loading-bar {
  width: 180px;
  height: 2px;
  background: var(--line);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.loading-bar::after {
  content: "";
  position: absolute;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, #2746d9, #a21caf, #ea580c);
  animation: load 1s ease-in-out infinite;
}
@keyframes load { to { left: 100%; } }

/* Promo Video Showcase */
.promo-section {
  margin-top: 56px;
}
.promo-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.promo-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
}
.promo-heading {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.promo-player {
  background: var(--surface);
  color: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(17, 19, 28, 0.08);
}
.promo-stage {
  position: relative;
  min-height: 290px;
  padding: 40px 44px;
  background: radial-gradient(circle at 84% 18%, rgba(162, 28, 175, 0.09), transparent 45%),
              radial-gradient(circle at 16% 86%, rgba(39, 70, 217, 0.09), transparent 45%),
              radial-gradient(circle at 50% 100%, rgba(234, 88, 12, 0.06), transparent 50%),
              #ffffff;
  display: flex;
  align-items: center;
}
.promo-scene {
  display: none;
  width: 100%;
  animation: promoFadeIn 0.5s var(--ease) both;
}
.promo-scene.active { display: block; }
@keyframes promoFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ps-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.ps-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 10px;
}
.ps-sub {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.ps-mock-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.ps-mock-plz { font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--ink); }
.ps-mock-city { font-size: 13.5px; color: var(--ink-2); }
.ps-mock-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, #2746d9, #a21caf, #ea580c);
  color: #fff;
}
.ps-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.ps-card {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ps-card-best {
  background: #fff7ed;
  border-color: #ea580c;
}
.ps-store { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--success); }
.ps-card strong { font-size: 14.5px; color: var(--ink); }
.ps-price { font-size: 20px; font-weight: 700; margin-top: 4px; color: var(--ink); }
.ps-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.ps-flyers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}
.ps-flyers span {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.ps-list-mock {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ps-list-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.ps-list-share {
  margin-top: 4px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 6px;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ps-outro-brand .wordmark { color: var(--ink); font-size: 26px; }
.promo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
.promo-play-btn {
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.promo-chapters { display: flex; flex-wrap: wrap; gap: 6px; }
.promo-chap {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
}
.promo-chap.active { background: var(--surface); color: var(--ink); font-weight: 600; border: 1px solid var(--line); }
.promo-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.promo-progress-track { height: 3px; background: var(--line); }
.promo-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #2746d9, #a21caf, #ea580c); transition: width 0.2s linear; }
@media (max-width: 760px) {
  .promo-stage { padding: 26px 20px; }
  .ps-cards, .ps-split { grid-template-columns: 1fr; }
}

/* Floating Cookie & Mobile Shortcut Banners */
.floating-card {
  position: fixed;
  z-index: 90;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(17, 19, 28, 0.14);
  padding: 16px 18px;
  max-width: 340px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cookie-banner {
  left: 20px;
  bottom: 20px;
}
.pwa-banner {
  right: 20px;
  bottom: 20px;
}
.pwa-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
}
.floating-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.floating-title { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.floating-desc { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.floating-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.btn-xs { height: 32px; padding: 0 12px; font-size: 12px; }
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .pwa-banner { left: 12px; right: 12px; bottom: 148px; max-width: none; }
}

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 26px 0; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; font-size: 12.5px; color: var(--muted); }
.footer-brand { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.footer-nonprofit { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.45; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.footer-meta p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color 0.2s ease, color 0.2s ease; }
.footer-links a:hover { color: #2746d9; border-bottom-color: #2746d9; }
.footer-sep { color: var(--line-strong); }

/* Responsive */
@media (max-width: 900px) {
  .result { grid-template-columns: 1fr auto; gap: 12px 20px; }
  .vendor { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; }
  .vendor-domain { padding-left: 0; }
  .price-col { text-align: left; }
}
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px 10px; }
  .header-inner .lang-switch { margin-left: auto; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
  }
  .nav-toggle-bars {
    display: flex;
    flex-direction: column;
    gap: 3.5px;
    width: 14px;
  }
  .nav-toggle-bars span {
    display: block;
    height: 1.8px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5.3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5.3px) rotate(-45deg); }
  .main-nav {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    transition: max-height 0.28s var(--ease), opacity 0.2s var(--ease), padding 0.25s var(--ease);
  }
  .main-nav.open {
    max-height: 260px;
    opacity: 1;
    padding-top: 10px;
    border-top-color: var(--line);
  }
  .main-nav .nav-link {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
  }
  .main-nav .nav-link.active { background: var(--surface-2); }
  .cat-hero { grid-template-columns: 1fr; }
  .cat-hero-copy { padding: 22px 20px; }
  .cat-hero-media { min-height: 140px; }
  .panel { padding: 20px; }
  .form-food, .form-market, .form-cosmetics, .form-address { grid-template-columns: 1fr; }
  .category-row { grid-template-columns: 1fr 20px; padding: 22px 20px; }
  .category-index, .category-count { display: none; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: none; padding-left: 0; border-top: 1px solid var(--line); margin-top: 20px; }
  .stepper { display: flex; overflow-x: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-meta { align-items: flex-start; text-align: left; }
  .footer-links { justify-content: flex-start; }
  .toast-stack { top: 68px; right: 12px; left: 12px; max-width: none; }
}

/* ---------- Slide-in Toast Notifications ---------- */
.toast-stack {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid #ea580c;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast.toast-error {
  border-left-color: #dc2626;
}

.toast.toast-info {
  border-left-color: #2746d9;
}

.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #fff7ed;
  color: #ea580c;
  margin-top: 1px;
}

.toast-error .toast-icon {
  background: #fef2f2;
  color: #dc2626;
}

.toast-info .toast-icon {
  background: #eff6ff;
  color: #2746d9;
}

.toast-msg {
  flex: 1;
}

.toast-close {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 6px;
}

.toast-close:hover {
  background: var(--surface-2);
  color: var(--ink);
}

/* ---------- Animated Logo Mascot & Feedback Widget ---------- */
.mascot-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.mascot-fab-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mascot-bubble {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  animation: mascotBubbleNudge 4.5s ease-in-out infinite;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mascot-bubble:hover {
  transform: translateY(-2px);
}

.mascot-fab {
  width: 58px;
  height: 58px;
  padding: 0;
  border: none;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(39, 70, 217, 0.28);
  animation: mascotFloat 3.2s ease-in-out infinite;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mascot-fab:hover {
  transform: scale(1.07) translateY(-3px);
  box-shadow: 0 18px 36px rgba(162, 28, 175, 0.34);
}

.mascot-svg {
  width: 58px;
  height: 58px;
  display: block;
}

.mascot-eye {
  transform-origin: center;
  animation: mascotBlink 4.2s infinite;
}

.mascot-dot {
  animation: mascotPulse 2.4s ease-in-out infinite;
}

.mascot-panel {
  width: 340px;
  max-width: calc(100vw - 24px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
  padding: 16px;
  animation: mascotPanelIn 0.24s var(--ease);
}

.mascot-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mascot-panel-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mascot-panel-id strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.mascot-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.mascot-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 8px;
}

.mascot-close:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.mascot-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mascot-ai-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2746d9, #a21caf, #ea580c);
  color: #ffffff;
  vertical-align: middle;
  margin-left: 4px;
}

.mascot-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px 2px;
  margin-bottom: 8px;
}

.mascot-msg {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.42;
  word-wrap: break-word;
}

.mascot-msg.bot {
  align-self: flex-start;
  background: var(--surface-2);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.mascot-msg.user {
  align-self: flex-end;
  background: #111827;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.mascot-msg.note {
  align-self: center;
  font-size: 11.5px;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 5px 10px;
}

.mascot-chat-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}

.mascot-input-row {
  display: flex;
  gap: 6px;
}

.mascot-input-row .mascot-input {
  flex: 1;
}

.mascot-send-btn {
  padding: 9px 14px;
  font-size: 13px;
  flex-shrink: 0;
}

.mascot-direct-btn {
  border: none;
  background: transparent;
  color: #2746d9;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  padding: 2px 0;
}

.mascot-direct-btn:hover {
  text-decoration: underline;
}

.mascot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mascot-chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mascot-chip.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.mascot-input,
.mascot-textarea {
  width: 100%;
  font-size: 13px;
  padding: 9px 11px;
}

.mascot-textarea {
  resize: vertical;
  min-height: 78px;
  font-family: inherit;
}

.mascot-submit {
  width: 100%;
  justify-content: center;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes mascotBubbleNudge {
  0%, 78%, 100% { transform: translateX(0); }
  84% { transform: translateX(-4px); }
  90% { transform: translateX(2px); }
}

@keyframes mascotBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}

@keyframes mascotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes mascotPanelIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .mascot-widget { right: 12px; bottom: 14px; }
  .mascot-bubble { display: none; }
  .mascot-fab, .mascot-svg { width: 52px; height: 52px; }
}
