/* berry & barny on the web: the app's look (lib/ui/app_theme.dart).
   Cream background, pastel pink and blue, thick ink outlines, chunky
   "pressable" shadows, Baloo 2 headings and Nunito text.
   Shared by index.html and the legal pages (privacy, terms, delete-account). */

@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --ink: #2b1e28;
  --ink-soft: #7a6372;
  --cream: #fff8f1;
  --berry: #ff9ce3;
  --berry-edge: #e56cc4;
  --barny: #9cd5ff;
  --barny-edge: #5faeea;
  --honey: #ffd66b;
  --sky-top: #bfe3ff;
  --sky-mid: #ddf0ff;
  --horizon: #ffe4f2;
  --hill: #cdefd9;
  --ground: #aee5c3;
  --ground-dark: #8fd3aa;
  --pink-soft: #fff0fa;
  --blue-soft: #eef8ff;
  --mint-soft: #eafaf1;
  --honey-soft: #fff5d6;
  --line: 2.5px;          /* AppStyle.outline */
  --radius: 24px;         /* AppStyle.radius */
  --shadow: 0 5px 0 var(--ink);
  --head: "Baloo 2", "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .4em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: #c2459f; font-weight: 700; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px dashed var(--berry-edge); outline-offset: 3px; }
.muted { color: var(--ink-soft); font-size: .95rem; }
.kicker {
  font-family: var(--head); font-weight: 700; letter-spacing: .04em;
  color: var(--berry-edge); margin: 0 0 .2em; font-size: 1.05rem;
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1100px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 248, 241, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 6px 8px 6px 10px;
}
.brand {
  display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink);
  font-family: var(--head); font-weight: 800; font-size: 1.2rem; white-space: nowrap;
}
.brand img { width: 36px; height: 36px; }
.brand .b { color: var(--berry-edge); }
.brand .n { color: var(--barny-edge); }
.sections { display: flex; gap: 4px; margin-left: auto; }
.sections a {
  color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
}
.sections a:hover { background: var(--horizon); }
/* ---------- Buttons ---------- */
.button, .mini-btn {
  display: inline-block; cursor: pointer;
  background: var(--berry); color: var(--ink);
  border: var(--line) solid var(--ink); border-radius: 999px;
  padding: 10px 24px;
  font-family: var(--head); font-weight: 800; font-size: 1.15rem; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .08s, box-shadow .08s;
}
.button:hover, .mini-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.button:active, .mini-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.mini-btn { font-size: 1rem; padding: 4px 16px; background: #fff; box-shadow: 0 3px 0 var(--ink); }

.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store {
  display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15;
  background: var(--ink); color: #fff; border: var(--line) solid var(--ink); border-radius: 16px;
  padding: 8px 18px 9px; min-width: 156px; cursor: not-allowed;
  box-shadow: 0 4px 0 rgba(43, 30, 40, .35);
}
.store-name { font-family: var(--head); font-weight: 800; font-size: 1.2rem; }
.store-soon { font-size: .76rem; font-weight: 800; color: var(--honey); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: var(--line) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.pink { background: var(--pink-soft); }
.blue { background: var(--blue-soft); }
.mint { background: var(--mint-soft); }
.honey { background: var(--honey-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; align-items: center;
  padding-top: 92px;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--horizon) 85%);
}
/* A scalloped edge where the garden meets the page. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 16px; z-index: 8; pointer-events: none;
  background: radial-gradient(circle at 50% 100%, var(--cream) 0 11px, var(--ink) 11.5px 14px, transparent 14.5px) center bottom / 28px 16px repeat-x;
}
.hero-text { position: relative; z-index: 4; text-align: center; padding: 0 20px; max-width: 780px; }
.title {
  font-size: clamp(3rem, 9vw, 5.6rem); font-weight: 800; line-height: .9; margin: .05em 0 .1em;
  -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--ink);
}
.title .b { color: var(--berry); }
.title .n { color: var(--barny); }
.title .amp { color: var(--honey); font-size: .7em; }
.title small {
  display: block; font-size: .36em; color: #fff; margin-top: .25em;
  -webkit-text-stroke-width: 6px; text-shadow: 0 4px 0 var(--ink);
}
.slogan { font-family: var(--head); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2rem); margin: .3em 0 .2em; }
.lede { font-size: 1.1rem; color: #4c3a47; max-width: 560px; margin: 0 auto 1em; }
.date-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  background: #fff; border: var(--line) solid var(--ink); border-radius: 999px;
  padding: 6px 18px 6px 10px; box-shadow: 0 4px 0 var(--ink);
  font-family: var(--head); font-weight: 800; font-size: 1.1rem;
}
.date-pill img { width: 30px; animation: beat 1.4s ease-in-out infinite; }

.sun { position: absolute; top: 96px; right: max(4vw, calc(50% - 600px)); width: clamp(80px, 11vw, 150px); animation: spin 60s linear infinite; z-index: 1; }
.cloud { position: absolute; left: 0; z-index: 2; animation: drift linear infinite; pointer-events: none; }
.c1 { top: 16%; width: clamp(110px, 14vw, 200px); animation-duration: 70s; animation-delay: -12s; }
.c2 { top: 34%; width: clamp(90px, 11vw, 160px); animation-duration: 95s; animation-delay: -60s; opacity: .95; }
.c3 { top: 8%;  width: clamp(80px, 9vw, 130px);  animation-duration: 120s; animation-delay: -95s; opacity: .9; }

/* The garden: İlayda's garden drawing (assets/places/garden_*), placed like
   lib/garden/garden_scene.dart. Sizes follow --house; --lawn is where the
   grass starts (from the bottom of the scene). */
.scene {
  --house: clamp(210px, 22vw, 310px);
  --bear: clamp(124px, 13.5vw, 196px);
  --lawn: 34%;
  position: relative; width: 100%; flex: 1; min-height: clamp(300px, 28vw, 400px); margin-top: 4px;
}
.scene > * { position: absolute; }
.lawn {
  left: -6%; right: -6%; bottom: 0; height: var(--lawn); z-index: 3;
  border-radius: 50% 50% 0 0 / 38px 38px 0 0;
  background: url("img/places/grass_tile.webp") center top / 460px auto repeat-x, #658c3e;
}
/* Two soft hills behind the garden for depth. */
/* The hills reach down behind the lawn, so no sky shows under the lawn's rounded ends. */
.knoll { bottom: 0; height: calc(var(--lawn) + 14%); z-index: 2; background: #84ad55; border-radius: 50% 50% 0 0 / 56px 56px 0 0; }
.knoll.l { left: -12%; width: 52%; }
.knoll.r { right: -14%; width: 56%; height: calc(var(--lawn) + 10%); background: #7aa34b; }
.scene .house { left: 50%; transform: translateX(-50%); width: var(--house); bottom: calc(var(--lawn) - .24 * var(--house)); z-index: 4; }
.gtree { bottom: calc(var(--lawn) - 4%); height: 86%; z-index: 1; }
.gtree.l { left: 0; }
.gtree.r { right: 0; }
.gbush { bottom: calc(var(--lawn) - 9%); height: 27%; z-index: 4; }
.gbush.l { left: 0; }
.gbush.r { right: 0; }
.stones { left: 50%; transform: translateX(-50%); width: calc(.34 * var(--house)); top: calc(100% - var(--lawn) + .215 * var(--house)); z-index: 4; }

.pair { inset: 0; z-index: 6; pointer-events: none; }
.pair .bear { position: absolute; bottom: 3%; width: var(--bear); pointer-events: auto; }
/* The bears stand beside the house, not in front of it: half covering the
   house left slivers of its cream wall peeking out next to their heads. */
.pair { --gap: calc(.5 * var(--house) + .26 * var(--bear)); }
.pair .bear[data-bear="berry"] { left: calc(50% - var(--gap) - var(--bear) / 2); }
.pair .bear[data-bear="barny"] { left: calc(50% + var(--gap) - var(--bear) / 2); }
.tap-hint {
  z-index: 7; left: 50%; bottom: 0; transform: translateX(-50%);
  margin: 0 0 20px; font-family: var(--head); font-weight: 800; color: #fff; font-size: .95rem;
  text-shadow: 0 1px 0 #2b1e28, 0 0 6px rgba(43, 30, 40, .5); white-space: nowrap;
}
/* ---------- The live bear (layers from tool/prepare_site.py) ----------
   Pivots are BearRig's, as % of the 1000x1100 bear box:
   body 50% 92%, neck 50% 54.6%, shoulders 33.4%/66.6% 56.8%, floor 50% 97.2%. */
.bear { position: relative; aspect-ratio: 1000 / 1100; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.bear .l { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bear img { pointer-events: none; -webkit-user-drag: none; }
.bear .shadow {
  position: absolute; left: 28%; width: 44%; top: 94.5%; height: 6%;
  border-radius: 50%; background: rgba(43, 30, 40, .14);
}
.bear .rig { transform-origin: 50% 97.2%; }
.bear .breathe { transform-origin: 50% 92%; animation: breathe 3.2s ease-in-out infinite; }
.bear .headg { animation: bob 3.2s ease-in-out infinite; }
.bear .sway { transform-origin: 50% 54.6%; animation: sway 2.4s ease-in-out infinite alternate; }
.bear[data-bear="barny"] .breathe, .bear[data-bear="barny"] .headg { animation-delay: -1.1s; }
.bear[data-bear="barny"] .sway { animation-delay: -1.7s; }
.bear[data-wave="right"] :is(.arm, .sleeve) { transform-origin: 66.6% 56.8%; }
.bear[data-wave="left"] :is(.arm, .sleeve) { transform-origin: 33.4% 56.8%; }
.bear.waving[data-wave="right"] .sleeve { animation: waveR 2.6s ease-in-out; }
.bear.waving[data-wave="right"] .arm { animation: waveRArm 2.6s ease-in-out; }
.bear.waving[data-wave="left"] .sleeve { animation: waveL 2.6s ease-in-out; }
.bear.waving[data-wave="left"] .arm { animation: waveLArm 2.6s ease-in-out; }
.bear.hop .rig { animation: hop .65s cubic-bezier(.3, .7, .4, 1); }
.bear.hop .shadow { animation: shadowHop .65s ease-out; }
.pop-heart { position: absolute; width: 22%; left: 39%; top: 10%; pointer-events: none; z-index: 10; animation: popUp 1.3s ease-out forwards; }

@keyframes breathe { 0%, 100% { transform: none; } 50% { transform: scale(.988, 1.025); } }
@keyframes bob { 0%, 100% { transform: none; } 50% { transform: translateY(-1%); } }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
/* Waving: the paw goes up and outward (~75°), waves three times and comes
   down. Like the app, the arm turns ~8° further than its sleeve and both
   slide a little towards the body while up. */
@keyframes waveR {
  0%, 100% { transform: none; }
  18% { transform: translateX(-2.5%) rotate(-75deg); }
  31% { transform: translateX(-2.5%) rotate(-58deg); }
  44% { transform: translateX(-2.5%) rotate(-77deg); }
  57% { transform: translateX(-2.5%) rotate(-58deg); }
  70% { transform: translateX(-2.5%) rotate(-77deg); }
  84% { transform: translateX(-2%) rotate(-60deg); }
}
@keyframes waveRArm {
  0%, 100% { transform: none; }
  18% { transform: translateX(-2.5%) rotate(-83deg); }
  31% { transform: translateX(-2.5%) rotate(-66deg); }
  44% { transform: translateX(-2.5%) rotate(-85deg); }
  57% { transform: translateX(-2.5%) rotate(-66deg); }
  70% { transform: translateX(-2.5%) rotate(-85deg); }
  84% { transform: translateX(-2%) rotate(-68deg); }
}
@keyframes waveL {
  0%, 100% { transform: none; }
  18% { transform: translateX(2.5%) rotate(75deg); }
  31% { transform: translateX(2.5%) rotate(58deg); }
  44% { transform: translateX(2.5%) rotate(77deg); }
  57% { transform: translateX(2.5%) rotate(58deg); }
  70% { transform: translateX(2.5%) rotate(77deg); }
  84% { transform: translateX(2%) rotate(60deg); }
}
@keyframes waveLArm {
  0%, 100% { transform: none; }
  18% { transform: translateX(2.5%) rotate(83deg); }
  31% { transform: translateX(2.5%) rotate(66deg); }
  44% { transform: translateX(2.5%) rotate(85deg); }
  57% { transform: translateX(2.5%) rotate(66deg); }
  70% { transform: translateX(2.5%) rotate(85deg); }
  84% { transform: translateX(2%) rotate(68deg); }
}
@keyframes hop {
  0% { transform: none; }
  14% { transform: scale(1.08, .9); }
  45% { transform: translateY(-13%) scale(.95, 1.06); }
  72% { transform: translateY(0) scale(1.07, .92); }
  86% { transform: scale(.98, 1.02); }
  100% { transform: none; }
}
@keyframes shadowHop { 45% { transform: scale(.65); opacity: .5; } }
@keyframes popUp {
  0% { transform: translateY(0) scale(.3); opacity: 0; }
  20% { transform: translateY(-20%) scale(1.1); opacity: 1; }
  100% { transform: translateY(-160%) scale(.9) rotate(12deg); opacity: 0; }
}
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translate(-50%, 0) rotate(-5deg); } 50% { transform: translate(-50%, -18%) rotate(5deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14%); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

/* ---------- Sections ---------- */
.section { max-width: 1140px; margin: 0 auto; padding: 84px 20px; }
.section.band { max-width: none; background: var(--pink-soft); border-block: 3px solid var(--ink); }
.section.band.mint { background: var(--mint-soft); }
.section.band.honey { background: var(--honey-soft); }
.section.band > * { max-width: 1100px; margin-inline: auto; }
.head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.sub { font-size: 1.12rem; color: #4c3a47; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 22px 14px;
}
.feature img { width: 78px; height: 78px; object-fit: contain; display: block; margin-bottom: 8px; }
.feature:hover img { animation: wiggle .5s ease-in-out; }
.feature p { color: #4c3a47; }

/* reveal on scroll (site.js adds .in) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .3, 1.2); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Mood + question ---------- */
.mood-show { display: flex; align-items: center; gap: 18px; margin: 8px 0 16px; }
.mood-big { width: 128px; height: auto; animation: bounce 2.4s ease-in-out infinite; }
.mood-say { font-family: var(--head); font-size: 1.5rem; font-weight: 700; margin: 0; }
.mood-name { color: var(--berry-edge); }
.mood-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mood-picker button {
  background: #fff; border: var(--line) solid var(--ink); border-radius: 18px; padding: 6px;
  cursor: pointer; box-shadow: 0 3px 0 var(--ink); transition: transform .08s;
}
.mood-picker button:hover { transform: translateY(-2px); }
.mood-picker button[aria-pressed="true"] { background: var(--berry); }
.mood-picker img { width: 100%; display: block; }

.question-card { display: flex; flex-direction: column; background: var(--blue-soft); }
.bubble {
  position: relative; background: #fff; border: var(--line) solid var(--ink); border-radius: 22px;
  padding: 22px 24px; margin: 6px 0 26px; min-height: 124px; display: flex; align-items: center;
  box-shadow: 0 4px 0 var(--ink);
}
.bubble::after {
  content: ""; position: absolute; left: 36px; bottom: -13px; width: 22px; height: 22px; background: #fff;
  border-right: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink); transform: rotate(45deg);
}
.question { font-family: var(--head); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.2; margin: 0; transition: opacity .35s, transform .35s; }
.question.out { opacity: 0; transform: translateY(8px); }
.answers { display: grid; gap: 10px; margin-bottom: 14px; }
.answer {
  display: flex; align-items: center; gap: 10px; background: #fff; border: var(--line) solid var(--ink);
  border-radius: 999px; padding: 4px 16px 4px 6px; font-weight: 800;
}
.answer img { width: 44px; }
.answer i { margin-left: auto; font-style: normal; color: var(--ink-soft); font-size: .9rem; font-weight: 700; text-align: right; }
.lock::before { content: "🔒 "; }
.dots { display: inline-flex; gap: 4px; }
.dots b { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); animation: bounce 1s infinite; }
.dots b:nth-child(2) { animation-delay: .15s; }
.dots b:nth-child(3) { animation-delay: .3s; }
/* ---------- Room ----------
   The app's own room (lib/ui/room_scene.dart): flat wall, softly curved floor,
   every piece where İlayda drew it. Boxes from lib/room/room_items.g.dart,
   converted: room = 1 wide x 1.32 tall, the floor line at 0.90 (68.2%). */
.home-two { align-items: center; }
.room {
  position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.32; margin: 0 auto;
  border: 3px solid var(--ink); border-radius: 32px; overflow: hidden; box-shadow: 0 6px 0 var(--ink);
  background: #fdebf3;
}
.floor {
  position: absolute; left: -12%; right: -12%; top: 66.5%; bottom: -5%;
  background: linear-gradient(180deg, #d5b99a, #e2c4a0 18%);
  border-radius: 50% 50% 0 0 / 6% 6% 0 0;
}
.room [data-p] { position: absolute; }
.room [data-p="rug"] { left: 18.70%; top: 72.14%; width: 62.59%; height: 24.83%; }
.room [data-p="lamp"] { left: 40.93%; top: 3.86%; width: 18.15%; height: 17.64%; }
.room [data-p="window_glass"] { left: 37.82%; top: 24.10%; width: 24.35%; height: 27.92%; }
.room [data-p="sky_cloud_1"] { left: 42.36%; top: 41.17%; width: 2.78%; height: 1.27%; }
.room [data-p="sky_cloud_2"] { left: 53.89%; top: 40.89%; width: 4.77%; height: 1.86%; }
.room [data-p="sky_cloud_3"] { left: 40.32%; top: 33.11%; width: 6.94%; height: 2.39%; }
.room [data-p="sky_sun"] { left: 53.43%; top: 32.20%; width: 5.56%; height: 4.24%; }
.room [data-p="window"] { left: 33.52%; top: 21.85%; width: 32.96%; height: 32.58%; }
.room [data-p="decor_frame"] { left: 2.22%; top: 36.97%; width: 17.64%; height: 18.10%; }
.room [data-p="dresser"] { left: 36.53%; top: 56.05%; width: 27.22%; height: 12.35%; }
.room [data-p="plant"] { left: 63.15%; top: 56.43%; width: 13.89%; height: 13.54%; }
.room [data-p="door"] { left: 78.43%; top: 39.35%; width: 19.03%; height: 33.42%; }
.room [data-p="bed"] { left: 0; top: 55.10%; width: 41.76%; height: 27.98%; }
.room [data-p="box_big_left"] { left: 3.29%; top: 59.94%; width: 28.56%; height: 12.83%; }
.room [data-p="box_small_left"] { left: 3.61%; top: 69.23%; width: 18.10%; height: 8.63%; }
.room [data-p="box_big_right"] { left: 69.81%; top: 65.34%; width: 29.68%; height: 13.33%; }
.room [data-p="box_small_right"] { left: 71.94%; top: 74.85%; width: 17.13%; height: 8.45%; }
/* A little picture inside the empty wall frame (in the app: your own photo). */
.room .photo { position: absolute; left: 5.5%; top: 40.5%; width: 11%; }
.item { opacity: 0; transform: scale(.3); transition: opacity .2s, transform .45s cubic-bezier(.3, 1.7, .5, 1); pointer-events: none; }
.item.shown { opacity: 1; transform: none; }
.item.sky.shown { animation: skyFloat 6s ease-in-out infinite; }
@keyframes skyFloat { 0%, 100% { translate: 0 0; } 50% { translate: 8% -6%; } }
.room [data-p="lamp"].shown { transform-origin: 50% 0; animation: swing 4s ease-in-out infinite; }
@keyframes swing { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }
.room-bears { position: absolute; left: 50%; top: 60%; transform: translateX(-50%); width: 64%; display: flex; z-index: 5; pointer-events: none; } /* in front of the boxes */
.room-bears .bear { pointer-events: auto; }
.room-bears .bear { width: 50%; }
.room-bears .bear + .bear { margin-left: -6%; }
.box {
  z-index: 4; border: 0; background: none; padding: 0; cursor: pointer;
  animation: boxIdle 2.8s ease-in-out infinite; transform-origin: 50% 100%;
}
.box img { width: 100%; height: 100%; display: block; }
.box:hover { filter: brightness(1.06); }
.box[data-p="box_small_left"] { animation-delay: -.6s; }
.box[data-p="box_big_right"] { animation-delay: -1.3s; }
.box[data-p="box_small_right"] { animation-delay: -2s; }
.box.opening { animation: boxOpen .45s ease-in forwards; pointer-events: none; }
@keyframes boxIdle { 0%, 88%, 100% { transform: none; } 92% { transform: rotate(-4deg) scale(1.03, .97); } 96% { transform: rotate(4deg); } }
@keyframes boxOpen { 0% { transform: none; } 35% { transform: scale(1.2, .8); } 100% { transform: scale(0) translateY(-40%); opacity: 0; } }
.sparkle { position: absolute; width: 6%; z-index: 6; pointer-events: none; animation: spark .8s ease-out forwards; }
@keyframes spark { from { transform: translate(0, 0) scale(.4); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); opacity: 0; } }
.room-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.room-left {
  background: #fff; border: var(--line) solid var(--ink); border-radius: 999px; padding: 4px 16px;
  font-family: var(--head); font-weight: 800; box-shadow: 0 3px 0 var(--ink);
}

/* ---------- Town ---------- */
.town { align-items: center; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.ticks img { width: 48px; height: 48px; flex: none; object-fit: contain; }
.town-scene {
  position: relative; aspect-ratio: 1 / .92; border: 3px solid var(--ink); border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top), var(--horizon)); box-shadow: 0 6px 0 var(--ink);
}
.town-scene .house { position: absolute; left: 50%; transform: translateX(-50%); bottom: 22%; width: 50%; }
.tground { position: absolute; left: -5%; right: -5%; bottom: 0; height: 27%; background: var(--ground); border-top: 3px solid var(--ink); border-radius: 50% 50% 0 0 / 30px 30px 0 0; }
.tbush { position: absolute; bottom: 16%; width: 26%; }
.tbush.l { left: -8%; }
.tbush.r { right: -8%; }
.npc { position: absolute; bottom: 5%; margin: 0; width: 34%; }
.npc.bizz { left: 5%; }
.npc.bristle { right: 4%; width: 36%; }
.npc .body { width: 100%; display: block; }
.npc.bristle .body { animation: bob2 2.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bob2 { 0%, 100% { transform: none; } 50% { transform: scale(1.02, .97); } }
.bizz-rig { position: relative; animation: hover 2.6s ease-in-out infinite; }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6%); } }
.bizz-rig .wing { position: absolute; inset: 0; width: 100%; height: 100%; }
.wing.wl { transform-origin: 25.6% 61.6%; animation: flapL .22s ease-in-out infinite alternate; }
.wing.wr { transform-origin: 74.7% 61.6%; animation: flapR .22s ease-in-out infinite alternate; }
@keyframes flapL { from { transform: rotate(8deg); } to { transform: rotate(-16deg); } }
@keyframes flapR { from { transform: rotate(-8deg); } to { transform: rotate(16deg); } }
.bizz-rig .body { position: relative; }
.npc figcaption {
  text-align: center; font-size: .8rem; line-height: 1.2; font-weight: 700; color: #4c3a47;
  background: rgba(255, 255, 255, .85); border-radius: 12px; padding: 3px 6px; margin-top: 2px;
}
.npc figcaption b { display: block; font-family: var(--head); font-size: 1rem; color: var(--ink); }
.say {
  position: absolute; bottom: calc(100% + 8px); width: 150%;
  border: var(--line) solid var(--ink); border-radius: 16px; padding: 6px 10px; font-weight: 800; font-size: .9rem; line-height: 1.25;
  box-shadow: 0 3px 0 var(--ink); background: #fff;
}
.say.pink { background: #fff; }
.say.blue { background: #fff; }
.npc.bizz .say { left: 0; }
.npc.bristle .say { right: 0; }

/* ---------- Club ---------- */
.club-star { width: 86px; display: block; margin: 0 auto 4px; animation: wiggle 2.8s ease-in-out infinite; }
.club-two h3 { font-size: 1.45rem; margin: 0; }
.club-two .ticks li { font-weight: 700; }
.ticks .emoji { width: 48px; height: 48px; flex: none; display: grid; place-items: center; font-size: 1.9rem; }
.ticks.soft li { color: var(--ink-soft); }
.plans { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.plan { position: relative; min-width: 220px; text-align: center; padding: 20px 26px; }
.plan.best { background: #fff0fa; }
.plan-name { font-family: var(--head); font-weight: 800; font-size: 1.25rem; margin: 0; }
.price { font-family: var(--head); font-weight: 800; font-size: 2.3rem; margin: 0; line-height: 1.1; }
.price small { font-size: .95rem; color: var(--ink-soft); margin-left: 4px; }
.trial { margin: 4px 0 0; font-weight: 800; color: var(--berry-edge); }
.badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(-3deg); white-space: nowrap;
  background: var(--honey); border: var(--line) solid var(--ink); border-radius: 999px; padding: 2px 12px;
  font-family: var(--head); font-weight: 800; font-size: .9rem;
}
.fine { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: .82rem; color: var(--ink-soft); }

/* ---------- Games + widget ---------- */
.games-card, .widget-card { position: relative; overflow: hidden; }
/* The sweets float around the bouncing bee, scattered on both sides. */
.games-card { display: flex; flex-direction: column; }
.playground { position: relative; flex: 1; min-height: 280px; margin-top: 14px; }
.sweets img {
  position: absolute; width: clamp(46px, 15%, 84px); --r: 0deg;
  animation: sweet 3.4s ease-in-out infinite;
}
@keyframes sweet {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-14px) rotate(calc(var(--r) * -1)); }
}
.sweets img:nth-child(1) { left: 3%;  top: 4%;  --r: -12deg; animation-duration: 3.1s; }
.sweets img:nth-child(2) { left: 20%; top: 18%; --r: 8deg;   animation-duration: 3.7s; animation-delay: -1.2s; }
.sweets img:nth-child(3) { left: 5%;  top: 42%; --r: 10deg;  animation-duration: 3.3s; animation-delay: -2s; }
.sweets img:nth-child(4) { left: 19%; top: 66%; --r: -8deg;  animation-duration: 3.9s; animation-delay: -.6s; }
.sweets img:nth-child(5) { right: 19%; top: 3%; --r: 9deg;   animation-duration: 3.5s; animation-delay: -1.7s; }
.sweets img:nth-child(6) { right: 3%; top: 20%; --r: -10deg; animation-duration: 3.2s; animation-delay: -.3s; }
.sweets img:nth-child(7) { right: 18%; top: 44%; --r: 7deg;  animation-duration: 3.8s; animation-delay: -2.4s; }
.sweets img:nth-child(8) { right: 3%; top: 66%; --r: -6deg;  animation-duration: 4.1s; animation-delay: -1s; width: clamp(58px, 18%, 100px); }
.bee-lane { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; }
.bee-lane .tramp { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 130px; }
.bee-lane .bee { position: absolute; left: 50%; width: 76px; margin-left: -38px; bottom: 36px; animation: jump 1.1s cubic-bezier(.3, 0, .7, 1) infinite; }
@keyframes jump {
  0%, 100% { transform: translateY(0) scale(1.1, .9); }
  10% { transform: translateY(-10px) scale(.95, 1.05); }
  50% { transform: translateY(-96px) rotate(-6deg); }
  90% { transform: translateY(-6px); }
}

.phone {
  width: 230px; margin: 18px auto 6px; aspect-ratio: 9 / 16.5; border: 3px solid var(--ink); border-radius: 34px;
  background: var(--ink); padding: 8px; box-shadow: 0 6px 0 rgba(43, 30, 40, .3); transform: rotate(3deg);
}
.screen {
  height: 100%; border-radius: 26px; padding: 14px 12px;
  background: linear-gradient(180deg, #c9e8ff, #ffe1f1); display: flex; flex-direction: column; gap: 12px;
}
.clock { font-family: var(--head); font-weight: 800; text-align: center; font-size: 1.8rem; color: #fff; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.widget { background: var(--cream); border: var(--line) solid var(--ink); border-radius: 22px; padding: 10px; box-shadow: 0 3px 0 var(--ink); }
.w-bears { display: flex; align-items: center; justify-content: center; }
.w-bears img { width: 40%; }
.w-bears .w-heart { width: 22%; margin: 0 -4%; z-index: 1; animation: beat 1.4s ease-in-out infinite; }
.w-days { text-align: center; font-weight: 800; font-size: .88rem; }
.w-days b { font-family: var(--head); font-size: 1.2rem; color: var(--berry-edge); }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 6px; }
.apps i { aspect-ratio: 1; border-radius: 12px; border: 2px solid var(--ink); background: #fff; }
.apps i:nth-child(3n+1) { background: var(--berry); }
.apps i:nth-child(3n+2) { background: var(--barny); }
.apps i:nth-child(4n) { background: var(--honey); }

/* ---------- Coming soon ---------- */
.soon-card { text-align: center; position: relative; max-width: 860px; margin: 0 auto; padding: 40px 26px; }
.soon-card > p { max-width: 560px; margin-inline: auto; }
.popper { position: absolute; width: 96px; top: -36px; right: 18px; animation: wiggle 2s ease-in-out infinite; }
.insta { margin-top: 28px; }
.insta p { font-weight: 800; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 30px 20px 50px; border-top: 3px solid var(--ink); background: var(--horizon); }
.site-footer > img { width: 54px; }
.site-footer nav { display: flex; gap: 6px 18px; justify-content: center; flex-wrap: wrap; margin: 6px 0 8px; font-family: var(--head); font-size: 1.1rem; }
.site-footer nav a { color: var(--ink); }
.site-footer p { margin: 0 0 4px; }

/* ---------- Legal pages (privacy, terms, delete-account) ---------- */
.page-hero {
  padding: 96px 20px 34px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top), var(--horizon)); border-bottom: 3px solid var(--ink);
}
.page-hero .bear { width: 140px; margin: 0 auto -8px; z-index: 3; }
.page-hero h1 {
  position: relative; z-index: 3;
  font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 800; color: #fff; margin: 0;
  -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink);
}
.page-hero p { position: relative; z-index: 3; margin: 6px 0 0; color: #4c3a47; font-weight: 700; }
.page-hero .cloud.c1 { top: 22%; }
.page-hero .cloud.c2 { top: 55%; }
.doc { max-width: 760px; margin: 0 auto; padding: 36px 18px 70px; }
.doc h2 { font-size: 1.6rem; margin: 34px 0 10px; }
.doc .card { margin: 16px 0; padding: 20px 22px; }
.doc .card > :last-child { margin-bottom: 0; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 5px 0; }
/* ---------- Tablets and phones ---------- */
@media (max-width: 900px) {
  .sections { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .home-two .room-status { justify-content: center; }
  .home-two > div:first-child { text-align: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar { top: 8px; padding: 4px 6px 4px 8px; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 30px; height: 30px; }
  .hero { padding-top: 84px; min-height: auto; }
  .sun { top: 64px; right: -18px; width: 74px; }
  .answer i { font-size: .8rem; }
  .title { -webkit-text-stroke-width: 6px; }
  .title small { -webkit-text-stroke-width: 5px; }
  .lede { font-size: 1rem; }
  .store { min-width: 138px; padding: 6px 14px 7px; }
  .scene { --house: 190px; --bear: 116px; --lawn: 33%; min-height: 320px; }
  .gtree { height: 70%; }
  .gtree.l { left: -16%; }
  .gtree.r { right: -16%; }
  .gbush { height: 20%; }
  .gbush.l { left: -6%; }
  .gbush.r { right: -6%; }
  .section { padding: 60px 16px; }
  .features { grid-template-columns: 1fr; gap: 16px; }
  .feature { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; padding: 16px 16px 8px; }
  .feature img { width: 64px; height: 64px; grid-row: span 2; }
  .feature h3 { margin-bottom: .2em; }
  .card { padding: 20px 18px; }
  .mood-big { width: 96px; }
  .room { border-radius: 26px; }
  .say { font-size: .76rem; padding: 4px 8px; width: 140%; }
  .npc figcaption span { display: none; }
  .popper { width: 70px; top: -26px; right: 8px; }
  .phone { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
