/* ============================================================
   Dadcoin — clean rebuild, matches website-guide.jpg
   ============================================================ */

/* ---- custom fonts ---- */
@font-face {
  font-family: 'Happy Daddy';
  src: url('assets/fonts/HappyDaddy.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Cindyyos Mom';
  src: url('assets/fonts/CindyyosMom.ttf') format('truetype');
  font-display: swap;
}

/* ---- design tokens ---- */
:root {
  --orange:        #F2A03D;
  --orange-deep:   #E07A1F;
  --orange-soft:   #FFD7A7;
  --cream:         #FFF4E2;
  --paper:         #FBE9CC;
  --ink:           #1B1B1B;
  --ink-2:         #2D2D2D;
  --tg-blue:       #29A5DE;
  --green-up:      #6FE26F;
  --shadow-strong: 0 6px 0 #1B1B1B;
  --shadow-soft:   0 10px 30px rgba(0,0,0,.18);

  --font-heading:  'Ubuntu', 'Caveat Brush', cursive;
  --font-copy:     'Cindyyos Mom', 'Happy Daddy', 'Inter', sans-serif;
  --font-marker:   'Caveat Brush', cursive;
  --font-mono:     'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-copy);
  font-weight: 600;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   01 — TOPBAR + DADS ARE COOKING ticker
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 8px 14px;
  background: var(--orange);
  border-bottom: 3px solid var(--ink);
}
.brand {
  display: flex; align-items: center; gap: 8px;
}
.brand-coin {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
}
.brand-word {
  font-family: 'Ubuntu', 'Caveat Brush', cursive;
  font-weight: 700;
  font-style: italic;
  font-size: 22px; color: #fff;
  letter-spacing: -.5px;
  text-shadow: 2px 2px 0 var(--ink);
}
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; border-radius: 999px;
  border: 2.5px solid var(--ink);
  font-weight: 800; letter-spacing: .3px;
  background: #fff; color: var(--ink);
  cursor: pointer; user-select: none;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
  box-shadow: 0 4px 0 var(--ink);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); background: var(--orange-soft); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.buy-short { display: none; }
.buy-full  { display: inline; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--ink); color: #fff;
  border: 2px solid var(--ink);
  transition: transform .12s, background .12s;
}
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn:active { transform: translateY(1px); }
.icon-btn--tg { background: var(--tg-blue); border-color: var(--ink); }

/* ---- ticker bars ---- */
.ticker {
  background: var(--ink); color: #fff;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.ticker-track {
  display: inline-flex; gap: 32px; white-space: nowrap;
  padding: 7px 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700; font-style: italic;
  letter-spacing: .8px; font-size: 13px;
  animation: ticker-scroll 38s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-jokes .ticker-track { font-size: 13px; letter-spacing: .3px; text-transform: none; font-weight: 700; }
.ticker-watch  { background: var(--orange-deep); color: var(--ink); }

/* ============================================================
   02 — HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #F2A03D 0%, #E07A1F 100%);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 3fr;
  align-items: center;     /* vertically center title + dad in the hero */
  gap: 14px;
  padding: 32px 24px 56px; /* extra bottom for the slant runway */
  max-width: 1200px; margin: 0 auto;
  min-height: 320px;
}
.hero-copy { padding-bottom: 0; }
.hero-dad {
  width: 100%;
  max-width: 280px;
  align-self: center;
  justify-self: center;
  filter: drop-shadow(4px 6px 0 rgba(0,0,0,.2));
  transform-origin: center;
  animation: hero-bob 4.2s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}
@keyframes hero-bob {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%     { transform: translateY(-6px) rotate(1deg); }
}
.hero-copy { padding-bottom: 4px; }
.hero-title {
  font-family: 'Ubuntu', 'Caveat Brush', cursive;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(78px, 17vw, 240px);
  line-height: .82; margin: 0;
  color: #fff;
  text-shadow: 7px 7px 0 var(--ink);
  letter-spacing: -1px;
}
.hero-sub {
  font-family: var(--font-copy);
  font-size: clamp(26px, 4vw, 52px);
  margin: 10px 0 0;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 700;
}
.ca-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  background: rgba(27,27,27,.85);
  color: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s;
  box-shadow: 0 4px 0 var(--ink);
}
.ca-pill .ca-label {
  background: var(--orange);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.ca-pill .ca-value { font-weight: 700; opacity: .9; }
.ca-pill:hover  { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); background: var(--ink); }
.ca-pill:active { transform: translateY(2px);  box-shadow: 0 2px 0 var(--ink); }
.ca-pill.copied { background: var(--green-up); color: var(--ink); }

/* ============================================================
   03 — BBQ scene
   ============================================================ */
.scene {
  position: relative;
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.scene-bg { width: 100%; display: block; }
/* a <video> may be the bg directly — same display rules so layout matches */
video.scene-bg { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.scene-dad {
  position: absolute;
  bottom: 6%;
  width: clamp(180px, 26vw, 320px);
  filter: drop-shadow(4px 6px 0 rgba(0,0,0,.25));
  user-select: none;
}
/* sprites have their props baked in — anchor with breathing room */
.bbq-dad   { left: 22%; bottom: 14%; width: clamp(240px, 32vw, 460px); }
.lake-dad  { left: 50%; bottom: 26%; width: clamp(280px, 38vw, 540px);
             transform: translateX(-50%); }
/* wojak crowd composited over the empty hardware backdrop */
.crowd-wojak {
  position: absolute;
  filter: drop-shadow(3px 5px 0 rgba(0,0,0,.3));
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  z-index: 1;
  transition: transform .15s ease;
}
.crowd-wojak:hover { transform: translateY(-4px) rotate(-2deg); }
.crowd-w1 { left:  3%; bottom:  4%; width: clamp(120px, 17vw, 230px); z-index: 2; }
.crowd-w2 { left: 14%; bottom:  6%; width: clamp(110px, 14vw, 195px); z-index: 1; }
.crowd-w3 { left: 25%; bottom:  3%; width: clamp(120px, 16vw, 220px); z-index: 2; }
.crowd-w4 { right: 25%; bottom: 3%; width: clamp(120px, 16vw, 220px); z-index: 2; }
.crowd-w5 { right: 12%; bottom: 5%; width: clamp(110px, 14vw, 195px); z-index: 1; }
.crowd-w6 { right:  2%; bottom: 4%; width: clamp(120px, 17vw, 230px); z-index: 2; }
.crowd-w7 { left: 50%; bottom:  2%; width: clamp(140px, 18vw, 250px); transform: translateX(-50%); z-index: 3; }
.crowd-w7:hover { transform: translateX(-50%) translateY(-4px) rotate(-2deg); }

.cta {
  position: absolute;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-family: 'Caveat Brush', cursive;
  font-size: clamp(22px, 3.4vw, 36px);
  letter-spacing: 1px;
  border: 3px solid var(--ink); border-radius: 22px;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 0 var(--ink);
}
.cta:hover  { transform: translate(-2px, -3px); box-shadow: 0 11px 0 var(--ink); }
.cta:active { transform: translate(0, 4px);     box-shadow: 0 4px 0 var(--ink); }
.cta-buy { right: 8%; bottom: 18%; background: var(--orange); color: #fff; text-shadow: 2px 2px 0 var(--ink); }
.cta-tg  { left: 50%; top: 50%; transform: translate(-50%, -50%);
           background: var(--tg-blue); color: #fff; text-shadow: 2px 2px 0 var(--ink);
           padding: 22px 44px; font-size: clamp(28px, 4.4vw, 50px);
           z-index: 5; }
.cta-tg:hover  { transform: translate(calc(-50% - 2px), calc(-50% - 3px)); }
.cta-tg:active { transform: translate(-50%, calc(-50% + 4px)); }

/* ============================================================
   04 — GARAGE (full-page interactive)
   ============================================================ */
.garage {
  position: relative;
  height: 200vh;
  background: linear-gradient(180deg, #ffe0bf 0%, #ffd09a 100%);
  border-bottom: 3px solid var(--ink);
}
.garage-pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.garage-frame {
  position: relative;
  width: min(1180px, 96vw);
  margin: 0;
  aspect-ratio: 16 / 10;
  max-height: 78vh;
  border: 6px solid var(--ink);
  border-radius: 18px;
  background: #1f1610;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.garage-interior {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .35s ease;
  /* dim the bg so foreground props read clearly */
  filter: brightness(.62) saturate(.9);
}

/* clickable PROPS — full-brightness foreground sprites with their own captions */
.g-prop {
  position: absolute;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform .2s ease;
  user-select: none;
}
.g-prop img {
  display: block;
  width: 100%; height: auto;
  filter: drop-shadow(3px 4px 0 rgba(0,0,0,.5));
  pointer-events: none;
}
.g-prop:hover { transform: translateY(-6px) scale(1.03); }
.g-prop:focus-visible { outline: 3px solid #ffd66b; outline-offset: 4px; }

/* layered positions:
   tshirt = left-back wall · dad = left-front · camera = right-front
   ALL props sit BELOW the door on z-index so the door covers them when closed */
.g-prop--tshirt { left:  6%; top: 16%; width: 12%; z-index: 2; }
.g-prop--dad    { left:  8%; bottom: 4%; width: 18%; z-index: 3; }
.g-prop--camera { right: 6%; bottom: 4%; width: 26%; z-index: 3; }

.g-tag {
  position: absolute;
  left: 50%; bottom: -22px;
  transform: translateX(-50%) rotate(-3deg);
  font-family: var(--font-copy);
  font-size: clamp(14px, 1.6vw, 18px);
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--ink);
  pointer-events: none;
}
.g-tag--right { transform: translateX(-50%) rotate(2deg); background: var(--green-up); }

.garage-caption {
  position: absolute;
  font-family: var(--font-copy);
  color: #fff;
  text-shadow: 2px 2px 0 var(--ink);
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 1;
}
.garage-caption--top {
  top: 8%; left: 50%; transform: translateX(-50%) rotate(-1.5deg);
  font-size: clamp(20px, 2.4vw, 32px);
}
.garage-caption--bot {
  bottom: 4%; right: 4%;
  font-size: clamp(12px, 1.4vw, 18px);
  background: rgba(27,27,27,.55);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1.5px solid #fff;
}

/* hotspots — invisible buttons over scene props */
.g-hot {
  position: absolute;
  background: transparent;
  border: 2px dashed transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.g-hot:hover {
  background: rgba(255, 200, 50, .12);
  border-color: rgba(255, 200, 50, .55);
  transform: scale(1.02);
}
.g-hot:focus-visible {
  outline: 3px solid #ffd66b;
  outline-offset: 2px;
}
.g-hot.flash {
  background: rgba(255, 220, 90, .35);
  border-color: #ffd66b;
  border-style: solid;
  border-width: 3px;
  animation: bbox-flash .9s ease-out;
}
@keyframes bbox-flash {
  0%   { transform: scale(1);    box-shadow: 0 0 0  0 rgba(255,214,107,.7); }
  50%  { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(255,214,107,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0  0 rgba(255,214,107,0); }
}
/* hotspots over the new bg's actual props — workbench tools, boombox-area, lawnmower spot, briefcase/car */
.g-hot[data-prop="tools"]     { left:  4%; top: 10%; width: 32%; height: 38%; }
.g-hot[data-prop="boombox"]   { left: 14%; top: 38%; width: 22%; height: 18%; }
.g-hot[data-prop="lawnmower"] { left:  8%; top: 78%; width: 24%; height: 18%; }
.g-hot[data-prop="briefcase"] { left: 60%; top: 56%; width: 38%; height: 38%; }

/* the door — single illustrated PNG that translates up on scroll */
.garage-door {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-bottom: 4px solid var(--ink);
  transform: translateY(0%);
  will-change: transform;
  z-index: 5;
  pointer-events: none;
}
.garage-floor-shadow {
  position: absolute; left: 0; right: 0; bottom: -4%;
  height: 14%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent 70%);
  pointer-events: none;
}
.garage-hint {
  text-align: center;
  font-family: 'Caveat Brush', cursive;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--ink); margin: 12px 0 0;
}
.garage-tip {
  position: fixed;
  pointer-events: none;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  padding: 6px 12px;
  border: 2px solid #fff;
  border-radius: 8px;
  font-family: 'Caveat Brush', cursive;
  font-size: 20px;
  letter-spacing: .5px;
  transform: translate(-50%, -100%);
  animation: tip-fade 1.4s ease-out forwards;
}
@keyframes tip-fade {
  0%   { opacity: 0; transform: translate(-50%, -80%); }
  20%  { opacity: 1; transform: translate(-50%, -110%); }
  100% { opacity: 0; transform: translate(-50%, -160%); }
}

/* ============================================================
   05 — DadBook (laptop opens on scroll)
   ============================================================ */
.dadbook {
  background:
    radial-gradient(900px 500px at 50% 0%, #fff7e6 0%, transparent 60%),
    var(--cream);
  padding: 80px 16px 24px;
  border-bottom: 3px solid var(--ink);
}
.laptop-stage {
  position: relative;
  max-width: 980px; margin: 0 auto;
  perspective: 1500px;
}
.laptop {
  position: relative;
  margin: 0 auto;
  width: min(900px, 92vw);
  transform-style: preserve-3d;
}
.laptop-screen {
  position: relative;
  background: #1a1a1a;
  border: 6px solid #111;
  border-radius: 14px 14px 4px 4px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  transform-origin: bottom center;
  transform: rotateX(-95deg);
  transition: transform .15s linear;
  box-shadow: 0 -10px 30px rgba(0,0,0,.2);
}
.laptop-screen.open { transform: rotateX(0deg); }
.laptop-base {
  position: relative;
  margin: -2px auto 0;
  height: 28px;
  background: linear-gradient(180deg,#cdcdcd,#9a9a9a 80%, #707070);
  border: 3px solid #111;
  border-top: none;
  border-radius: 4px 4px 14px 14px;
  width: 100%;
  box-shadow: 0 18px 30px rgba(0,0,0,.18);
}
.laptop-base::before {
  content: ""; position: absolute;
  left: 50%; top: 0; transform: translateX(-50%);
  width: 22%; height: 6px; border-radius: 0 0 10px 10px;
  background: #555;
}

/* DadBook inline reply composer (one per post) */
.db-feed { position: relative; }
.db-inline-composer {
  display: none;
  margin-top: 8px;
  gap: 6px;
  padding: 6px;
  background: #fff7e6;
  border: 2px solid #111;
  border-radius: 8px;
  box-shadow: 2px 2px 0 #111;
}
.db-inline-composer.open { display: flex; }
.db-inline-composer input {
  flex: 1 1 0;
  border: 1.5px solid #111; outline: none;
  background: #fff;
  border-radius: 6px;
  padding: 6px 8px;
  font: inherit; font-size: 12px;
  font-weight: 600;
  min-width: 0;
}
.db-inline-composer input:focus { box-shadow: 0 0 0 2px rgba(242,160,61,.5); }
.db-inline-composer button {
  border: 2px solid #111; background: var(--orange); color: #fff;
  border-radius: 6px; padding: 4px 10px;
  font-weight: 800; font-size: 11px; cursor: pointer;
  box-shadow: 2px 2px 0 #111;
  white-space: nowrap;
}
.db-inline-composer button:active { transform: translate(2px,2px); box-shadow: 0 0 0 #111; }
.db-reply {
  margin-top: 6px;
  padding: 6px 8px;
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}
.db-reply b { color: var(--orange-deep); }

/* ============================================================
   Slanted-marquee section seams. Sections themselves stay
   rectangular (clean layout). A short rotated banner overlays
   the seam to give the slant feel without breaking flow.
   ============================================================ */
.slant-band {
  position: relative;
  z-index: 6;
  margin: -16px 0;            /* eats into both neighbors so the rotated bar overlaps cleanly */
  padding: 8px 0;
  background: var(--ink);
  color: #fff;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-1.6deg) scale(1.06);  /* slight tilt + overscan so edges hide */
  transform-origin: center;
}
.slant-band--reverse { transform: rotate(1.6deg) scale(1.06); }
.slant-band--orange  { background: var(--orange-deep); color: var(--ink); }
.slant-band .ticker-track {
  font-size: 13px; letter-spacing: 1.6px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
}
.cta-buy { bottom: 22%; }

.db {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: auto auto 1fr;
  background: #f1efe7; color: #111;
  font-weight: 600;
  opacity: 0; transition: opacity .4s ease .1s;
}
.db.lit { opacity: 1; }
.db-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  color: #fff; border-bottom: 2px solid var(--ink);
}
.db-bar img { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid #fff; }
.db-bar strong { font-size: 16px; letter-spacing: .5px; }
.db-tabs { font-size: 12px; opacity: .9; margin-left: auto; }

/* live $DAD price ribbon under the title bar */
.db-price {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 10px;
  background: #1c1c1c; color: #c9ffc9;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .8px;
  border-bottom: 2px solid var(--ink);
  overflow: hidden; white-space: nowrap;
}
.db-price b { color: var(--orange); }
.db-price .up { color: #6fe26f; }
.db-price .pulse { color: var(--orange); animation: db-pulse 1.6s ease-in-out infinite; }
@keyframes db-pulse { 0%,100% { opacity: 1 } 50% { opacity: .55 } }

/* two-column body: feed + sidebar */
.db-body {
  display: grid; grid-template-columns: 1.6fr 1fr;
  min-height: 0; overflow: hidden;
}
.db-feed {
  padding: 8px; overflow-y: auto; display: grid; gap: 8px;
  border-right: 2px solid var(--ink);
}
.db-side {
  padding: 8px; overflow-y: auto; display: grid; gap: 8px;
  background: #fff7e6;
}
.db-side-card {
  background: #fff; border: 2px solid #111; border-radius: 10px;
  box-shadow: 2px 2px 0 #111;
  padding: 8px;
}
.db-side-card h5 {
  margin: 0 0 4px;
  font-size: 12px; letter-spacing: .5px;
  text-transform: uppercase; color: var(--ink);
}
.db-coin-card {
  text-align: center;
}
.db-coin-card img {
  width: 44px; height: 44px; margin: 0 auto;
  border-radius: 50%; border: 2px solid #111;
}
.db-coin-card .symbol {
  font-family: 'Caveat Brush', cursive; font-size: 22px;
  color: var(--orange-deep); text-shadow: 1.5px 1.5px 0 #111;
  margin-top: 2px;
}
.db-coin-card .pct {
  color: var(--green-up); font-weight: 800; font-size: 13px;
}
.db-mini-chart { width: 100%; height: 40px; margin-top: 4px; }
.db-mini-chart path.line { fill: none; stroke: var(--green-up); stroke-width: 2; }
.db-mini-chart path.fill { fill: rgba(111,226,111,.18); }
.db-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin-top: 6px; font-size: 10px;
}
.db-stats div {
  background: #fff7e6; border: 1.5px solid #111; border-radius: 6px;
  padding: 4px 6px;
}
.db-stats span { display: block; opacity: .65; font-size: 9px; letter-spacing: .5px; text-transform: uppercase; }
.db-stats b { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #111; }
.db-buy {
  display: block; width: 100%;
  margin-top: 6px;
  background: var(--green-up); color: var(--ink);
  border: 2.5px solid #111; border-radius: 8px;
  text-align: center; padding: 8px;
  font-family: 'Caveat Brush', cursive; font-size: 22px;
  cursor: pointer; box-shadow: 0 4px 0 #111;
  text-decoration: none;
  transition: transform .1s, box-shadow .1s;
}
.db-buy:hover  { transform: translateY(-1px); box-shadow: 0 5px 0 #111; }
.db-buy:active { transform: translateY(2px);  box-shadow: 0 2px 0 #111; }

.db-trending ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.db-trending li { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.db-trending li img {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1.5px solid #111;
  object-fit: cover; object-position: top center;
}
.db-trending li .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-trending li .meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--orange-deep); }

/* compose-new-post at top of feed */
.db-compose {
  background: #fff; border: 2px solid #111; border-radius: 10px;
  padding: 8px; box-shadow: 2px 2px 0 #111;
  display: grid; grid-template-columns: 32px 1fr auto; gap: 6px;
  align-items: center;
}
.db-compose img { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #111; background: #fff; }
.db-compose input {
  border: 1.5px solid #111; outline: none;
  background: #fff7e6; border-radius: 6px;
  padding: 6px 8px;
  font: inherit; font-size: 12px;
  min-width: 0;
}
.db-compose input:focus { box-shadow: 0 0 0 2px rgba(242,160,61,.5); }
.db-compose button {
  border: 2px solid #111; background: var(--orange); color: #fff;
  border-radius: 6px; padding: 5px 10px;
  font-weight: 800; font-size: 11px; cursor: pointer;
  box-shadow: 2px 2px 0 #111;
}
.db-compose button:active { transform: translate(2px,2px); box-shadow: 0 0 0 #111; }

/* "X is typing..." indicator */
.db-typing {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 8px;
  background: #fff7e6; border: 1.5px dashed var(--orange-deep);
  border-radius: 8px;
  font-size: 11px; color: var(--ink-2);
  font-style: italic;
}
.db-typing .dots span {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--orange-deep); margin: 0 1px;
  animation: typing 1.2s infinite;
}
.db-typing .dots span:nth-child(2) { animation-delay: .15s; }
.db-typing .dots span:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* Notification badge */
.db-notif {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: #ff5e3a; color: #fff;
  border-radius: 8px;
  font-size: 10px; font-weight: 800;
  margin-left: auto;
}
.db-post {
  display: grid; grid-template-columns: 40px 1fr;
  gap: 10px; padding: 10px;
  background: #fff; border: 2px solid #111;
  border-radius: 10px;
  box-shadow: 3px 3px 0 #111;
  transition: transform .15s ease, box-shadow .15s ease;
}
.db-post:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 #111; }
.db-post.pinned { background: #fff7e6; }
.db-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 2px solid #111;
  overflow: hidden; display: grid; place-items: center;
}
.db-avatar img { width: 110%; max-width: none; }
.db-avatar.coin { background: var(--orange); }
.db-avatar.coin img { width: 70%; }
.db-post h4 { margin: 0 0 2px; font-size: 13px; }
.db-post h4 span { font-weight: 500; opacity: .7; font-size: 11px; }
.db-post p { margin: 0; font-size: 13px; line-height: 1.35; }
.db-actions { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.db-actions button {
  border: 2px solid #111; background: #fff; border-radius: 6px;
  font-size: 11px; padding: 3px 8px; cursor: pointer;
  box-shadow: 2px 2px 0 #111;
  transition: transform .1s, background .15s;
  font-weight: 700;
}
.db-actions button:hover  { background: #fff7e6; }
.db-actions button:active { transform: translate(2px,2px); box-shadow: 0 0 0 #111; }
.db-actions button.liked  { background: var(--orange); color:#fff; }

.laptop-hint {
  text-align: center;
  font-family: 'Caveat Brush', cursive;
  font-size: clamp(16px, 2.2vw, 22px);
  margin-top: 14px; opacity: .85;
}

/* ============================================================
   06 — JOKES CORNER (interactive with audio)
   ============================================================ */
.jokes {
  /* warm patterned bg — paper texture w/ subtle dots + a soft orange spotlight */
  background:
    radial-gradient(ellipse at 50% 20%, rgba(242,160,61,.22) 0%, transparent 55%),
    radial-gradient(circle at 12% 18%, rgba(242,160,61,.18) 0 6px, transparent 7px),
    radial-gradient(circle at 88% 30%, rgba(242,160,61,.18) 0 6px, transparent 7px),
    radial-gradient(circle at 30% 80%, rgba(242,160,61,.18) 0 6px, transparent 7px),
    radial-gradient(circle at 78% 76%, rgba(242,160,61,.18) 0 6px, transparent 7px),
    radial-gradient(circle at 55% 50%, rgba(242,160,61,.10) 0 4px, transparent 5px),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(27,27,27,.025) 18px 19px),
    var(--paper);
  padding: 80px 16px 72px;
  border-bottom: 3px solid var(--ink);
  text-align: center;
}
.jokes h2 {
  font-family: 'Ubuntu', cursive;
  font-weight: 700; font-style: italic;
  font-size: clamp(40px, 7vw, 78px);
  color: var(--ink);
  margin: 0 0 4px;
  text-shadow: 4px 4px 0 var(--orange);
  letter-spacing: -1px;
}
.jokes-sub {
  font-family: 'Caveat Brush', cursive;
  font-size: clamp(18px, 2.4vw, 26px);
  margin: 0 0 28px;
  color: var(--orange-deep);
}
.joke-stage {
  position: relative;
  max-width: 740px; margin: 0 auto;
  perspective: 1400px;
}
.joke-card {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 12px 0 var(--ink);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .55s ease, box-shadow .15s ease;
  min-height: 280px;
  background: #fff;
}
.joke-card:hover { box-shadow: 0 14px 0 var(--ink); }
.joke-card.flipped { transform: rotateY(180deg); }
.joke-face {
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 32px;
  backface-visibility: hidden;
  border-radius: 19px;
}
.joke-face.front { background: #fff; }
.joke-face.back  { background: var(--orange); color: #fff; transform: rotateY(180deg); }
.joke-q {
  font-family: 'Caveat Brush', cursive;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.15; color: var(--ink);
  margin: 0;
}
.joke-a {
  font-family: 'Caveat Brush', cursive;
  font-size: clamp(24px, 3.8vw, 40px);
  line-height: 1.15; color: #fff;
  text-shadow: 2px 2px 0 var(--ink);
  margin: 0;
}
/* live OUTSIDE the flipping card so it doesn't mirror */
.joke-tap-hint {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 11px; opacity: .65; letter-spacing: 1.5px; text-transform: uppercase;
}
.joke-controls {
  margin-top: 20px;
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.joke-controls .btn { background: #fff; }
.joke-controls .btn-primary {
  background: var(--orange); color: #fff;
  text-shadow: 1px 1px 0 var(--ink);
}
.joke-meta {
  margin-top: 14px;
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 1.5px;
  color: var(--ink-2); opacity: .8;
}

/* ============================================================
   07 — Lake / 08 — Crowd (basic scenes)
   ============================================================ */
.lake  { background: #fbe1c2; }
.crowd { background: #f4e0c4; }

/* ============================================================
   09 — CHART / Buy widget
   ============================================================ */
/* ============================================================
   Bottom CTA — illustrated monitor + buy widget + black ribbon
   ============================================================ */
.chart-sec {
  background:
    /* sketchy hand-drawn hatching */
    repeating-linear-gradient(45deg,  transparent 0 7px, rgba(0,0,0,.03) 7px 8px),
    repeating-linear-gradient(135deg, transparent 0 7px, rgba(0,0,0,.03) 7px 8px),
    var(--paper);
  padding: 70px 16px 24px;
  border-bottom: 3px solid var(--ink);
}
.monitor-stage {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}
.monitor {
  position: relative;
  background: #fff;
  border: 5px solid var(--ink);
  border-radius: 20px 20px 0 0;
  padding: 5px;
  box-shadow: 0 12px 0 var(--ink);
}
.monitor-screen {
  background: #fffaf0;
  border: 4px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
}
.monitor-bar {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  color: #fff;
  padding: 7px 10px;
  border-bottom: 3px solid var(--ink);
}
.monitor-bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--ink);
}
.monitor-bar img {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--ink);
  margin-left: 4px;
}
.monitor-bar strong {
  font-family: 'Ubuntu', cursive;
  font-weight: 700; font-style: italic;
  font-size: 16px;
  letter-spacing: -.5px;
}
.monitor-x {
  margin-left: auto;
  width: 22px; height: 22px;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-weight: 800; font-size: 16px;
  line-height: 1; cursor: pointer;
  color: var(--ink);
}

.monitor-tabs {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: #fff;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 1.5px;
}
.monitor-tabs .tab {
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 2px 8px;
  background: #f3ead3;
  color: var(--ink);
}
.monitor-tabs .tab--on {
  background: #1b3b1b; color: var(--green-up);
}
.monitor-tabs .tab--pct {
  margin-left: auto;
  background: var(--green-up);
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 800;
}

.monitor-body {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  min-height: 280px;
}
.monitor-chart {
  position: relative;
  border-right: 3px solid var(--ink);
  background:
    repeating-linear-gradient(0deg,  transparent 0 11px, rgba(60,183,106,.06) 11px 12px),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(60,183,106,.06) 11px 12px),
    #fffaf0;
  padding: 6px 6px 0;
  display: grid; grid-template-rows: 1fr auto;
}
.monitor-chart .m-chart {
  width: 100%; height: 220px; display: block;
}
.m-grid line { stroke: rgba(60,183,106,.18); stroke-width: 1; }
.m-axis { font-family: 'JetBrains Mono', monospace; font-size: 11px; fill: #3CB76A; opacity: .8; text-anchor: end; }
.m-x-axis {
  display: flex; justify-content: space-between;
  padding: 4px 8px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #3CB76A;
}
/* dad floats OUTSIDE the chart box, peeking from the left of the monitor frame */
.monitor-dad {
  position: absolute;
  left: -6%;
  bottom: -2%;
  width: 22%; max-width: 200px;
  z-index: 6;        /* above monitor frame */
  filter: drop-shadow(3px 5px 0 rgba(0,0,0,.25));
  pointer-events: none;
  user-select: none;
}

.monitor-buy {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  padding: 10px;
  background:
    repeating-linear-gradient(45deg, transparent 0 6px, rgba(255,255,255,.06) 6px 7px),
    linear-gradient(180deg, var(--orange), var(--orange-deep));
  align-content: stretch;
}
.m-tag {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 8px;
  background: var(--orange-deep);
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  color: #fff;
  font-family: 'Ubuntu', cursive;
  font-weight: 700; font-style: italic;
  text-shadow: 1.5px 1.5px 0 var(--ink);
  letter-spacing: -.5px;
  box-shadow: 2px 2px 0 var(--ink);
}
.m-tag img { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; }
.m-buy, .m-sell {
  display: grid; place-items: center;
  border: 4px solid var(--ink);
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-heading), 'Caveat Brush', cursive;
  font-weight: 700; font-style: italic;
  text-align: center;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.m-buy {
  background: var(--green-up); color: #fff;
  font-size: clamp(38px, 5.4vw, 64px);
  padding: 18px 8px;
  letter-spacing: 1px;
  box-shadow: 0 6px 0 var(--ink);
  line-height: .9;
  text-shadow: 2px 2px 0 var(--ink);
}
.m-buy:hover  { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); background: #82ec82; }
.m-buy:active { transform: translateY(4px);  box-shadow: 0 2px 0 var(--ink); }
.m-sell {
  background: #5a4f3f; color: #fff;
  font-size: 18px; padding: 6px 8px;
  box-shadow: 0 4px 0 var(--ink);
  text-shadow: 1px 1px 0 var(--ink);
}
.m-sell:hover  { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.m-sell:active { transform: translateY(2px);  box-shadow: 0 2px 0 var(--ink); }

.monitor-bezel {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(180deg, #e7d9bd, #c3b294);
  border-top: 3px solid var(--ink);
  padding: 8px 12px;
  position: relative;
  border-radius: 0 0 18px 18px;
  margin: 0 -5px -5px;   /* tuck back into the monitor frame */
  border: 5px solid var(--ink);
  border-top: 3px solid var(--ink);
}
.monitor-bezel .dots-row {
  display: inline-flex; gap: 4px;
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
}
.monitor-bezel .dots-row i {
  width: 8px; height: 8px; border-radius: 50%; background: #1b1b1b;
  display: block;
}
.monitor-bezel .bezel-word {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--ink);
  font-weight: 700;
}
.monitor-bezel .bezel-led {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-up);
  box-shadow: 0 0 6px var(--green-up);
}

.pointer-hand {
  position: absolute;
  right: 4%;
  bottom: 56px;
  width: 88px; height: auto;
  z-index: 5;
  filter: drop-shadow(3px 4px 0 rgba(0,0,0,.25));
  pointer-events: none;
  animation: pt-bob 1.6s ease-in-out infinite;
}
@keyframes pt-bob {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%     { transform: translateY(4px)  rotate(-1deg); }
}

.monitor-ribbon {
  margin-top: 22px;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  box-shadow: 0 6px 0 var(--ink);
}
.monitor-ribbon .btn-buy {
  background: var(--tg-blue); color: #fff;
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  font-size: 14px; padding: 8px 18px;
}
.monitor-ribbon .icon-btn { background: #fff; color: var(--ink); border-color: var(--ink); }
.monitor-ribbon .icon-btn--tg { background: var(--tg-blue); color: #fff; }
.crt {
  position: relative;
  background: linear-gradient(180deg, #2a2a2a 0%, #1c1c1c 90%, #0e0e0e 100%);
  border: 10px solid #d8d0bd;   /* chunky beige bezel, retro CRT vibe */
  border-radius: 24px 24px 18px 18px;
  padding: 14px 18px 44px;
  color: #c9ffc9;
  font-family: 'JetBrains Mono', monospace;
  box-shadow:
    0 14px 0 #111,
    inset 0 0 60px rgba(0,255,140,.06),
    inset 0 0 0 3px #1b1b1b;
}
.crt::before {
  /* power LED dot bottom-right */
  content: ""; position: absolute;
  right: 18px; bottom: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #6FE26F;
  box-shadow: 0 0 8px #6FE26F;
}
.crt-bar {
  display: flex; align-items: center; gap: 10px;
  border-bottom: 2px solid #2c2c2c; padding-bottom: 8px; margin-bottom: 8px;
}
.crt-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.crt-bar img { width: 18px; height: 18px; border-radius: 50%; }
.crt-bar strong { color: var(--orange); }
.crt-bar small { margin-left: auto; color: var(--green-up); font-weight: 700; }
.crt-chart {
  width: 100%; height: 240px;
  background: radial-gradient(ellipse at center, #062004, #02100a);
  border-radius: 8px;
}
.crt-chart .grid line { stroke: #103a16; stroke-width: 1; }
.crt-x {
  display: flex; justify-content: space-between;
  font-size: 11px; padding-top: 8px; color: #6FE26F;
}
.crt-bezel-bottom {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 4px; color: #555;
}
/* Trading-widget styled buy panel — orange header, big white BUY, small SELL */
.buy-panel {
  position: relative;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 12px 0 var(--ink);
  overflow: hidden;
  display: grid; grid-template-rows: auto 1fr;
}
.buy-panel-head {
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  padding: 14px 14px 12px;
  display: grid; justify-items: center; gap: 4px;
  border-bottom: 4px solid var(--ink);
}
.buy-coin { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; }
.buy-panel-head h3 {
  font-family: 'Caveat Brush', cursive;
  font-size: clamp(26px, 3.4vw, 36px); margin: 0;
  color: #fff;
  text-shadow: 2px 2px 0 var(--ink);
  line-height: .95;
}
.buy-panel-head .ticker-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  color: #fff; opacity: .9;
}
.buy-panel-body {
  padding: 16px 14px 18px;
  display: grid; gap: 10px;
  align-content: start;
}
.buy-btn, .sell-btn {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 14px;
  font-family: 'Caveat Brush', cursive;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
  text-align: center;
  text-decoration: none;
}
.buy-btn  {
  background: #fff; color: var(--ink);
  font-size: clamp(38px, 4.8vw, 56px);
  padding: 18px 20px;
  box-shadow: 0 8px 0 var(--ink);
  letter-spacing: 1px;
}
.sell-btn {
  background: #f0e6d2; color: var(--ink-2);
  font-size: 22px; padding: 8px 16px;
  box-shadow: 0 4px 0 var(--ink);
}
.buy-btn:hover  { transform: translateY(-2px); box-shadow: 0 10px 0 var(--ink); background: var(--orange-soft); }
.buy-btn:active { transform: translateY(4px);  box-shadow: 0 4px 0 var(--ink); }
.sell-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.sell-btn:active{ transform: translateY(2px);  box-shadow: 0 2px 0 var(--ink); }
.buy-pct {
  font-family: 'JetBrains Mono', monospace;
  text-align: center;
  font-size: 13px; color: var(--green-up);
  background: #062004; padding: 6px;
  border-radius: 8px; border: 2px solid var(--ink);
}
.chart-dad {
  position: absolute; left: -14%; bottom: -8%;
  width: clamp(140px, 16vw, 220px);
  filter: drop-shadow(4px 6px 0 rgba(0,0,0,.25));
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   10 — FOOTER
   ============================================================ */
.footer {
  background: var(--orange);
  color: var(--ink);
  padding: 28px 16px 24px;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  border-top: 3px solid var(--ink);
}

/* ============================================================
   coin rain
   ============================================================ */
.coin-layer {
  position: fixed; inset: 0; pointer-events: none; z-index: 1000;
  overflow: hidden;
}
.coin-layer .coin {
  position: absolute; top: -40px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--ink);
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Caveat Brush', cursive;
  font-size: 18px;
  animation: coin-fall var(--d, 2.4s) ease-in forwards;
}
.coin-layer .coin::after { content: "Đ"; font-weight: 800; }
@keyframes coin-fall {
  to { transform: translate3d(var(--xt, 0), 110vh, 0) rotate(var(--rt, 360deg)); opacity: .9; }
}

/* ============================================================
   floating buy
   ============================================================ */
.float-buy {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--ink);
  padding: 10px 14px; border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  font-family: 'Caveat Brush', cursive; font-size: 22px;
  cursor: pointer; user-select: none;
  text-decoration: none;
  animation: float-pulse 2.4s ease-in-out infinite;
}
.float-buy:hover  { transform: translateY(-2px); }
.float-buy:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.float-buy img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); }
@keyframes float-pulse {
  0%,100% { box-shadow: 0 6px 0 var(--ink), 0 0 0 0 rgba(242,160,61,.6); }
  50%     { box-shadow: 0 6px 0 var(--ink), 0 0 0 14px rgba(242,160,61,0); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 760px) {
  .topbar { padding: 6px 8px; gap: 4px; }
  .topbar-actions { gap: 4px; }
  .topbar-actions .icon-btn { width: 30px; height: 30px; border-radius: 6px; }
  .topbar-actions .icon-btn svg { width: 14px; height: 14px; }
  .btn { padding: 6px 10px; font-size: 12px; box-shadow: 0 3px 0 var(--ink); }
  .topbar .buy-full { display: none; }
  .topbar .buy-short { display: inline; }
  .brand-coin { width: 24px; height: 24px; }
  .brand-word { font-size: 20px; text-shadow: 1.5px 1.5px 0 var(--ink); }
  .ticker-track { font-size: 11px; gap: 22px; }

  .hero-inner {
    grid-template-columns: minmax(118px, 34vw) minmax(0, 1fr);
    align-items: center;
    padding: 20px 10px 24px 0;
    gap: 0;
    min-height: 268px;
  }
  .hero-copy {
    min-width: 0;
    padding-right: 4px;
  }
  .hero-dad {
    width: min(34vw, 136px);
    max-width: none;
    justify-self: center;
    align-self: center;
  }
  .hero-title {
    font-size: clamp(48px, 14.9vw, 58px);
    line-height: .9;
    letter-spacing: -1px;
    text-shadow: 4px 4px 0 var(--ink);
    text-wrap: balance;
  }
  .hero-sub {
    font-size: clamp(17px, 5.1vw, 22px);
    letter-spacing: .8px;
    line-height: 1.05;
    margin-top: 8px;
  }
  .ca-pill {
    max-width: 100%;
    margin-top: 12px;
    font-size: 11px;
    padding: 6px 11px 6px 5px;
    letter-spacing: .4px;
  }
  .ca-pill .ca-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .scene {
    min-height: 390px;
    height: 56dvh;
    max-height: 560px;
    background: var(--paper);
  }
  .scene-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
  .scene-dad {
    width: 38vw;
    z-index: 2;
  }

  .bbq { height: 58dvh; min-height: 440px; }
  .bbq .scene-bg { object-position: 53% center; }
  .bbq-dad {
    left: 50%;
    bottom: 1%;
    transform: translateX(-50%);
    width: min(82vw, 340px);
    max-width: none;
  }

  .lake { height: 48dvh; min-height: 350px; }
  video.scene-bg { aspect-ratio: auto; object-position: center; }
  .lake-dad {
    left: 50%;
    bottom: 18%;
    transform: translateX(-50%);
    width: min(86vw, 390px);
    max-width: none;
  }

  .crowd { height: 54dvh; min-height: 420px; }
  .crowd .scene-bg { object-position: 50% center; }
  .crowd-wojak { width: 25vw !important; }
  .crowd-w1 { left: -4%; bottom: 2% !important; }
  .crowd-w2 { display: block; left: 10%; bottom: 0 !important; }
  .crowd-w3 { left: 22%; bottom: 1% !important; }
  .crowd-w4 { right: 22%; bottom: 1% !important; }
  .crowd-w5 { display: block; right: 10%; bottom: 0 !important; }
  .crowd-w6 { right: -5%; bottom: 2% !important; }
  .crowd-w7 {
    left: 50%;
    bottom: -1% !important;
    width: 32vw !important;
  }
  .cta-buy {
    right: 5%;
    bottom: 7%;
    padding: 11px 20px;
    font-size: clamp(24px, 7vw, 31px);
    z-index: 4;
  }
  .cta-tg {
    top: 57%;
    padding: 15px 30px;
    font-size: clamp(24px, 7vw, 31px);
    z-index: 5;
  }

  .garage {
    height: auto;
    padding: 16px 0 22px;
    background: linear-gradient(180deg, #fbd7a7 0%, #f8c98c 100%);
  }
  .garage-pin {
    position: relative;
    height: auto;
    padding: 0;
    display: block;
  }
  .garage-frame {
    width: calc(100vw - 16px);
    aspect-ratio: 9 / 13;
    max-height: none;
    margin: 0 auto;
    border-width: 5px;
    border-radius: 16px;
  }
  .garage-interior {
    object-position: 50% center;
    filter: brightness(.78) saturate(.98);
  }
  .garage-door { transform: translateY(-100%) !important; }
  .garage-hint { display: none; }
  .g-prop--tshirt { left: 5%; top: 15%; width: 24%; }
  .g-prop--dad    { left: 5%; bottom: 4%; width: 38%; }
  .g-prop--camera { right: 5%; bottom: 4%; width: 47%; }
  .g-tag { font-size: 11px; padding: 1px 6px; bottom: -15px; }
  .garage-caption--top {
    width: max-content;
    max-width: 84%;
    font-size: 16px;
    top: 5%;
    padding: 0 6px;
  }
  .garage-caption--bot { display: none; }

  .chart-wrap { grid-template-columns: 1fr; }
  .chart-dad { display: none; }
  .crt-chart { height: 180px; }

  .chart-sec { padding: 36px 10px 18px; }
  .monitor { padding: 4px; border-width: 4px; box-shadow: 0 8px 0 var(--ink); }
  .monitor-screen { border-width: 3px; border-radius: 10px; }
  .monitor-bar { padding: 6px 8px; gap: 6px; }
  .monitor-bar img { width: 18px; height: 18px; margin-left: 2px; }
  .monitor-bar strong { font-size: 14px; }
  .monitor-x { width: 18px; height: 18px; font-size: 14px; }
  .monitor-tabs { padding: 3px 6px; gap: 3px; }
  .monitor-tabs .tab { padding: 1px 5px; font-size: 9px; letter-spacing: 1px; }
  .monitor-body { grid-template-columns: 1fr; min-height: 0; }
  .monitor-chart { border-right: 0; border-bottom: 3px solid var(--ink); padding: 4px 4px 0; }
  .monitor-chart .m-chart { height: 150px; }
  .monitor-dad { width: 25%; max-width: 92px; bottom: 11%; left: 3%; }
  .m-x-axis { font-size: 9px; padding: 2px 6px 4px; }
  .m-axis { font-size: 9px; }
  .monitor-buy { padding: 8px; gap: 6px; }
  .m-tag { padding: 3px 6px; font-size: 14px; }
  .m-tag img { width: 18px; height: 18px; }
  .m-buy  { font-size: clamp(36px, 11vw, 56px); padding: 14px 6px; box-shadow: 0 4px 0 var(--ink); }
  .m-sell { font-size: 14px; padding: 4px 6px; box-shadow: 0 3px 0 var(--ink); }
  .monitor-bezel { padding: 6px 10px; }
  .monitor-bezel .bezel-word { font-size: 10px; letter-spacing: 3px; }
  .monitor-bezel .dots-row { left: 10px; gap: 3px; }
  .monitor-bezel .dots-row i { width: 6px; height: 6px; }
  .monitor-bezel .bezel-led { right: 10px; width: 6px; height: 6px; }
  .pointer-hand { right: 12%; bottom: 100px; width: 48px; }
  .monitor-ribbon { margin-top: 16px; padding: 8px 10px; gap: 8px; border-radius: 12px; }
  .monitor-ribbon .btn-buy { font-size: 13px; padding: 8px 16px; }
  .monitor-ribbon .icon-btn { width: 32px; height: 32px; }
  .monitor-ribbon .icon-btn svg { width: 14px; height: 14px; }

  .dadbook { padding: 38px 8px 18px; }
  .laptop { width: calc(100vw - 12px); }
  .laptop-screen {
    transform: rotateX(0deg) !important;
    border-width: 5px;
    aspect-ratio: 16 / 11;
  }
  .db { opacity: 1 !important; }
  .db-tabs, .db-notif { display: none; }
  .db-bar { padding: 6px 8px; gap: 7px; }
  .db-price { padding: 3px 7px; gap: 7px; font-size: 9px; }
  .db-feed { padding: 6px; gap: 6px; }
  .db-post {
    grid-template-columns: 32px 1fr;
    gap: 7px;
    padding: 7px;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #111;
  }
  .db-avatar { width: 32px; height: 32px; }
  .db-post p { font-size: 11px; line-height: 1.28; }
  .db-post h4 { font-size: 11px; }
  .db-post h4 span { font-size: 10px; }
  .db-actions { gap: 4px; margin-top: 5px; }
  .db-actions button { font-size: 10px; padding: 2px 6px; }
  .db-compose {
    grid-template-columns: 28px 1fr auto;
    padding: 6px;
  }
  .db-compose img { width: 28px; height: 28px; }
  .db-compose input { font-size: 11px; padding: 5px 6px; }
  .db-compose button { font-size: 10px; padding: 4px 8px; }
  .laptop-base { height: 18px; }
  .laptop-hint { display: none; }
  .db-body { grid-template-columns: 1fr; }
  .db-feed { border-right: none; border-bottom: 2px solid var(--ink); }
  .db-side { display: none; }

  .jokes { padding: 52px 16px 54px; }
  .jokes h2 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: .98;
    text-shadow: 3px 3px 0 var(--orange);
  }
  .jokes-sub {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .joke-card {
    min-height: 250px;
    border-radius: 20px;
    box-shadow: 0 10px 0 var(--ink);
  }
  .joke-face { padding: 24px; }
  .joke-q { font-size: clamp(24px, 8vw, 34px); }
  .joke-a { font-size: clamp(23px, 7.4vw, 32px); }
  .joke-controls {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 9px;
  }
  .joke-controls .btn {
    width: 100%;
    min-height: 38px;
    padding: 7px 8px;
    font-size: 11px;
  }
  .joke-meta {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 1.1px;
  }

  .float-buy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .garage-door { transform: translateY(-100%) !important; }
  .laptop-screen { transform: rotateX(0deg) !important; }
  .db { opacity: 1 !important; }
}
