/* Stickman Shop: ink on paper, with the denim blue from his shorts and a marker-yellow highlight. */
:root {
  --paper: #fbfaf6;
  --paper-dot: #e4e1d6;
  --card: #ffffff;
  --ink: #151515;
  --ink-soft: #4a4a4a;
  --muted: #74716a;
  --denim: #4a72a3;
  --denim-dark: #2f527d;
  --denim-tint: #e7eef7;
  --marker: #ffd84d;
  --sky: #e9f0f8;
  --sky-dot: #d2deec;
  --danger: #c8372d;
  --ok: #2f7d4f;

  --font-hand: "Gochi Hand", "Lalezar", "Comic Sans MS", cursive;
  --font-body: "Nunito", "Cairo", system-ui, sans-serif;

  --wobble: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --wobble-2: 15px 255px 15px 225px / 225px 15px 255px 15px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
}

:root[dir="rtl"] {
  --font-hand: "Lalezar", "Gochi Hand", system-ui, sans-serif;
  --font-body: "Cairo", "Nunito", system-ui, sans-serif;
  --shadow: -4px 4px 0 var(--ink);
  --shadow-lg: -6px 6px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image: radial-gradient(var(--paper-dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--denim); outline-offset: 3px; }

.sketch {
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  background: var(--card);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  box-shadow: 3px 3px 0 var(--ink);
  white-space: nowrap;
}
:root[dir="rtl"] .btn { box-shadow: -3px 3px 0 var(--ink); }
.btn:hover { transform: translate(-1px, -2px); box-shadow: var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-ghost { background: var(--card); }
.btn-ghost:hover { background: var(--denim-tint); }
.btn-lg { padding: 14px 26px; font-size: 1.1rem; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease;
}
.pill:hover { background: var(--marker); }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: var(--denim-dark); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--gutter);
  /* the colour reaches both screen edges even though the bar's content is centred */
  border-image: conic-gradient(color-mix(in srgb, var(--sky) 92%, transparent) 0 0) fill 0 // 0 100vw;
  backdrop-filter: blur(6px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Gochi Hand", cursive;
  font-size: 1.7rem;
  line-height: 1;
  text-decoration: none;
}
.brand img { transition: transform .3s ease; }
.brand:hover img { transform: rotate(-12deg); }
.topbar-actions { display: flex; gap: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(12px, 3vw, 32px) var(--gutter) 48px;
}
/* Light denim band behind the top section, full screen width, ending in a hand-drawn wave. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  pointer-events: none;
}
.hero::before {
  top: -120px;
  bottom: 0;
  background: radial-gradient(var(--sky-dot) 1.2px, transparent 1.2px) 0 0 / 22px 22px, var(--sky);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 23px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 12Q30 2 60 12T120 12V0H0z'/%3E%3C/svg%3E") bottom / 120px 24px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 23px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 12Q30 2 60 12T120 12V0H0z'/%3E%3C/svg%3E") bottom / 120px 24px repeat-x;
}
.hero::after {
  bottom: 0;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 12Q30 2 60 12T120 12' fill='none' stroke='%23151515' stroke-width='2.5'/%3E%3C/svg%3E") bottom / 120px 24px repeat-x;
}
.kicker { margin: 0 0 12px; font-weight: 800; letter-spacing: .02em; }
.kicker span {
  padding: 2px 10px;
  background: linear-gradient(100deg, transparent 2%, var(--marker) 4%, var(--marker) 96%, transparent 98%);
  border-radius: 4px;
  transform: rotate(-1deg);
  display: inline-block;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
}
:root[dir="rtl"] .hero h1 { line-height: 1.25; }
.hero h1 span { display: block; }
.scribble {
  position: relative;
  color: var(--denim);
  width: fit-content;
}
.scribble::after {
  content: "";
  position: absolute;
  inset-inline: -2%;
  bottom: -.12em;
  height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14c40-9 90-11 140-7 50 3 100 2 154-6' fill='none' stroke='%23151515' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero-sub {
  max-width: 34rem;
  margin: 22px 0 28px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* The character is nested so each motion gets its own element:
   .stick (drop-in entrance + lean toward the mouse) > .stick-hop (idle hop, tap jump) > .stickman (sway). */
.stick {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: rotate(var(--lean, 0deg));
  transform-origin: 50% 100%;
  transition: transform .6s ease-out;
  animation: enter .9s cubic-bezier(.3, 1.35, .5, 1) backwards;
  -webkit-tap-highlight-color: transparent;
}
.stick:focus-visible { border-radius: 24px; }
.stick::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 15%;
  bottom: -8px;
  width: 70%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .18), transparent);
  animation: shadow-hop 7s ease-in-out 2.5s infinite;
}
.stick-hop {
  display: block;
  transform-origin: 50% 100%;
  animation: hop 7s ease-in-out 2.5s infinite;
}
.stick.jump .stick-hop { animation: jump .9s ease-in-out; }
.stick.jump::after { animation: shadow-jump .9s ease-in-out; }
.stickman {
  width: clamp(140px, 14vw, 176px);
  height: auto;
  transform-origin: 50% 100%;
  animation: sway 4.5s ease-in-out infinite;
}
.bubble {
  position: relative;
  margin-bottom: 14px;
  padding: 10px 16px;
  background: var(--card);
  font-family: var(--font-hand);
  font-size: 1.3rem;
  line-height: 1.2;
  text-align: center;
  box-shadow: var(--shadow);
  animation: bob 3s ease-in-out infinite;
  max-width: 260px;
}
.bubble.say { animation: say .45s cubic-bezier(.3, 1.5, .5, 1), bob 3s ease-in-out .45s infinite; }
.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 22px;
  height: 22px;
  background: var(--card);
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translateX(-50%) rotate(45deg) skew(8deg, 8deg);
}
.doodle-arrow {
  position: absolute;
  left: 46%;
  bottom: -18px;
  width: 92px;
  color: var(--ink);
  opacity: .8;
}
:root[dir="rtl"] .doodle-arrow { left: auto; right: 46%; transform: scaleX(-1); }

@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes say { from { transform: scale(.6) rotate(-4deg); opacity: .3; } }
@keyframes enter {
  0% { transform: translateY(-70px) rotate(-8deg); opacity: 0; }
  55% { transform: translateY(8px) scale(1.04, .94); opacity: 1; }
  78% { transform: translateY(-6px) rotate(2deg); }
  100% { transform: none; }
}
@keyframes hop {
  0%, 84%, 100% { transform: none; }
  87% { transform: scale(1.05, .94); }
  91% { transform: translateY(-24px) scale(.98, 1.03); }
  95% { transform: scale(1.04, .95); }
  98% { transform: none; }
}
@keyframes shadow-hop {
  0%, 84%, 100% { transform: none; }
  91% { transform: scale(.65); opacity: .5; }
  95% { transform: scale(1.08); }
}
@keyframes jump {
  0% { transform: none; }
  15% { transform: scale(1.08, .88); }
  42% { transform: translateY(-60px) rotate(-7deg) scale(.96, 1.05); }
  58% { transform: translateY(-60px) rotate(7deg); }
  82% { transform: scale(1.07, .91); }
  92% { transform: translateY(-8px); }
  100% { transform: none; }
}
@keyframes shadow-jump {
  0%, 100% { transform: none; }
  15%, 82% { transform: scale(1.1); opacity: 1; }
  42%, 58% { transform: scale(.5); opacity: .45; }
}

/* ---------- shop ---------- */
.shop {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  padding: 28px var(--gutter) 96px;
  scroll-margin-top: 70px;
}
/* The same band continues behind the products, starting under the wave. */
.shop::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -24px;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: radial-gradient(var(--sky-dot) 1.2px, transparent 1.2px) 0 0 / 22px 22px, var(--sky);
  pointer-events: none;
}
.shop-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.shop-head h2 {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
}
.count { color: var(--muted); font-weight: 600; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 18px 0 30px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 260px;
  max-width: 380px;
  padding: 8px 14px;
  background: var(--card);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}
.search:focus-within { box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 38px;
  padding: 4px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  font-weight: 700;
  cursor: pointer;
}
.chip:hover { background: var(--denim-tint); }
.chip[aria-pressed="true"] { background: var(--denim); color: #fff; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px 26px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: 18px 6px 20px 8px / 8px 20px 6px 18px;
  box-shadow: var(--shadow);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .2s ease, box-shadow .2s ease;
  opacity: 0;
}
/* Added by app.js when the card scrolls into view. */
.card.in {
  opacity: 1;
  animation: pop .5s cubic-bezier(.3, 1.4, .5, 1) backwards;
  animation-delay: var(--delay, 0s);
}
.card:nth-child(3n + 1) { --tilt: -.7deg; }
.card:nth-child(3n + 2) { --tilt: .5deg; }
.card:nth-child(3n) { --tilt: -.3deg; }
.card:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--shadow-lg); }

.card-img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  margin: 10px 10px 0;
  overflow: hidden;
  background: #f4f2ec;
  border: 2px solid var(--ink);
  border-radius: 12px 4px 14px 6px / 6px 14px 4px 12px;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform .3s ease;
}
.card:hover .card-img img { transform: scale(1.04); }
.card-img img.fallback { object-fit: contain; padding: 18%; background: #f4f2ec; }
.sticker {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  padding: 2px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--marker);
  font-weight: 800;
  font-size: .8rem;
  transform: rotate(-6deg);
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 14px 16px 16px;
}
.card-cat {
  align-self: flex-start;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--denim-tint);
  color: var(--denim-dark);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.card-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}
.card-actions .btn { width: 100%; }

@keyframes pop {
  from { opacity: 0; transform: translateY(26px) scale(.94) rotate(calc(var(--tilt, 0deg) * 4)); }
  to { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
}

/* rolling head that brings you back to the top */
.to-top {
  --off: 160%;
  --spin: 360deg;
  position: fixed;
  z-index: 30;
  bottom: 18px;
  inset-inline-end: 18px;
  width: 60px;
  height: 60px;
  padding: 3px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--marker);
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateX(var(--off)) rotate(var(--spin));
  visibility: hidden;
  transition: transform .7s cubic-bezier(.3, 1.2, .5, 1), visibility 0s .7s;
}
:root[dir="rtl"] .to-top { --off: -160%; --spin: -360deg; }
.to-top.show {
  transform: none;
  visibility: visible;
  transition: transform .7s cubic-bezier(.3, 1.2, .5, 1), visibility 0s;
}
.to-top img { width: 100%; height: 100%; transition: transform .25s ease; }
.to-top:hover img { transform: translateY(-3px) rotate(-12deg); }

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 0;
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-hand);
  font-size: 1.5rem;
}
.empty img { animation: sway 3s ease-in-out infinite; }
.empty p { margin: 0; }

.skeleton {
  aspect-ratio: .72;
  border: 2.5px dashed var(--paper-dot);
  border-radius: 18px 6px 20px 8px / 8px 20px 6px 18px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .03), transparent) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- footer ---------- */
.footer {
  position: relative;
  padding: 54px var(--gutter) 34px;
  background: var(--ink);
  color: #e9e6dd;
  text-align: center;
}
/* wavy top edge */
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -23px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 12Q30 2 60 12T120 12V24H0z' fill='%23151515'/%3E%3C/svg%3E") bottom / 120px 24px repeat-x;
}
.footer-peek {
  position: absolute;
  top: -58px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform .3s ease;
  animation: look 7s ease-in-out 3s infinite;
}
.footer:hover .footer-peek { animation: none; transform: translateX(-50%) translateY(-6px) rotate(-6deg); }
/* now and then the head looks around */
@keyframes look {
  0%, 78%, 100% { transform: translateX(-50%); }
  82% { transform: translateX(-50%) rotate(-14deg); }
  88% { transform: translateX(-50%) rotate(12deg); }
  93% { transform: translateX(-50%) translateY(-8px); }
}
.footer-ig {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--marker);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.disclosure { margin: 14px auto 0; max-width: 46rem; font-size: .95rem; }
.disclosure:empty { display: none; }
.fine { margin: 8px auto 0; max-width: 46rem; color: #a9a59a; font-size: .85rem; }

/* ---------- background scenery (built by doodles.js) ---------- */
.scenery {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  overflow: hidden;
  pointer-events: none;
}
/* The outer span moves with the scroll (depth); the drawing inside floats on its own. */
.doodle {
  position: absolute;
  inset-inline-start: var(--x);
  top: var(--y);
  width: var(--s);
  color: var(--ink);
  opacity: .2;
  transform: translateY(var(--py, 0px));
}
.doodle.blue { color: var(--denim); opacity: .42; }
.doodle svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(var(--r));
  animation: drift var(--t) ease-in-out var(--delay) infinite alternate;
}
.doodle svg * { vector-effect: non-scaling-stroke; }
.doodle.twinkle svg { animation-name: twinkle; }
@keyframes drift { to { transform: translate(6px, -14px) rotate(calc(var(--r) + 9deg)); } }
@keyframes twinkle { to { transform: rotate(calc(var(--r) + 20deg)) scale(1.3); } }

/* a tiny stickman who now and then walks along the wave */
.walker {
  position: absolute;
  bottom: 13px;
  inset-inline-start: -70px;
  width: 38px;
  animation: walk-across 30s linear 4s infinite;
}
.walker svg { display: block; width: 100%; height: auto; animation: step-bob .5s ease-in-out infinite; }
:root[dir="rtl"] .walker svg { scale: -1 1; }
.walker .limb-a { animation: swing .5s ease-in-out infinite alternate; }
.walker .limb-b { animation: swing .5s ease-in-out infinite alternate-reverse; }
.walker .arm { transform-origin: 22px 35px; }
.walker .leg { transform-origin: 22px 56px; }
.walker svg * { transform-box: view-box; }
@keyframes walk-across { 0% { inset-inline-start: -70px; } 55%, 100% { inset-inline-start: calc(100% + 30px); } }
@keyframes step-bob { 50% { transform: translateY(-2px); } }
@keyframes swing { from { rotate: -24deg; } to { rotate: 24deg; } }

/* his head peeks in from the side of the screen and waves */
.peek {
  --hide: -160%;
  --show: -30%;
  --tip: 18deg;
  position: fixed;
  z-index: 15;
  top: 58vh;
  inset-inline-start: 0;
  width: 70px;
  pointer-events: none;
  transform: translateX(var(--hide));
  animation: peek 24s ease-in-out 10s infinite;
}
:root[dir="rtl"] .peek { --hide: 160%; --show: 30%; --tip: -18deg; }
.peek img { width: 100%; height: auto; }
.peek svg {
  position: absolute;
  bottom: 4px;
  inset-inline-end: -34px;
  width: 34px;
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 2.5px;
  stroke-linecap: round;
  transform-origin: 50% 100%;
  animation: wave 24s ease-in-out 10s infinite;
}
:root[dir="rtl"] .peek svg { scale: -1 1; }
@keyframes peek {
  0%, 82%, 100% { transform: translateX(var(--hide)); }
  86%, 95% { transform: translateX(var(--show)) rotate(var(--tip)); }
}
@keyframes wave {
  0%, 87%, 95%, 100% { transform: none; }
  88.5%, 91.5% { transform: rotate(-24deg); }
  90%, 93% { transform: rotate(18deg); }
}

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 12px;
    padding-top: 8px;
  }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .hero-sub { margin: 14px 0 20px; }
  .hero-art {
    align-self: start;
    height: 300px;
    overflow: hidden;
    padding-top: 4px;
  }
  .stickman { width: 104px; }
  .stick::after { display: none; }
  .to-top { width: 52px; height: 52px; bottom: 14px; inset-inline-end: 14px; }
  .bubble { font-size: 1rem; padding: 6px 8px; margin-bottom: 10px; }
  .bubble::after { width: 14px; height: 14px; bottom: -9px; }
  .doodle-arrow { display: none; }
  .doodle { width: calc(var(--s) * .7); }
  .doodle.wide { display: none; }
  .walker { width: 30px; }
  .peek { width: 54px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .card-body { padding: 10px 10px 12px; }
  .card h3 { font-size: 1rem; }
  .card-note { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card-actions .btn { padding: 8px 6px; font-size: .86rem; white-space: normal; text-align: center; }
  .search { max-width: none; }
  .brand { font-size: 1.4rem; }
  .brand img { width: 38px; height: 38px; }
  .pill { padding: 6px 10px; font-size: .88rem; }
  .topbar-actions { gap: 6px; }
}
@media (max-width: 380px) {
  .topbar-actions .pill-ink span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
