/* Jimbo Home Base */
.hb-top { color: #fff; padding-block: calc(clamp(var(--space-12), 7vw, var(--space-20)) + 64px) var(--space-8);
  background: radial-gradient(900px 380px at 80% -10%, rgb(47 191 113 / .16), transparent 60%), radial-gradient(800px 340px at 10% 0, rgb(245 166 35 / .14), transparent 60%), #0b0c0d; }
.hb-top .eyebrow--accent { color: var(--amber); }
.hb-top__title { font-family: var(--font-display); font-stretch: 115%; font-weight: 900; font-size: var(--text-hero); line-height: .95; letter-spacing: -.03em; max-width: 13ch; text-wrap: balance; margin-top: var(--space-3); }
.hb-top__title span { color: var(--amber); }
.hb-top__lede { color: #c9c7c2; max-width: 60ch; margin-top: var(--space-4); font-size: var(--text-lg); }
.hb-top__pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-6); max-width: 980px; }
.hb-top__pts li { background: #16171a; border: 1px solid #2c2d31; border-radius: var(--radius-lg); padding: var(--space-4); color: #b9b7b2; font-size: var(--text-sm); }
.hb-top__pts b { display: block; color: #fff; font-family: var(--font-display); margin-bottom: 2px; }
.hb-sec { background: #0b0c0d; color: #f2f0ec; padding-top: 0; }
.hb-wrap { display: grid; gap: var(--space-4); }
.hb-body { display: grid; gap: var(--space-4); }

.hb-card { background: #141518; border: 1px solid #2a2b2f; border-radius: var(--radius-lg); padding: var(--space-5); display: grid; gap: var(--space-3); }
.hb-card h2 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); line-height: 1.1; }
.hb-h { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
.hb-k { font-family: var(--font-display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a3a19c; font-weight: 800; }
.hb-sub { color: #b9b7b2; font-size: var(--text-sm); }
.hb-fine { color: #8d8b86; font-size: 12.5px; line-height: 1.5; }
.hb-link { background: none; border: 0; padding: 6px 0; color: var(--amber); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.hb-link.is-dim { color: #a3a19c; }
.hb-link.is-danger { color: #ff8a8a; }
.hb-btns { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.hb-sec .btn--ghost { border-color: #44454b; color: #f2f0ec; }
.hb-sec .btn { padding: var(--space-3) var(--space-5); }
.hb-sec .btn:disabled { opacity: .55; }
.hb-sec input, .hb-sec textarea { width: 100%; font: inherit; font-size: 16px; color: #fff; background: #1b1c1f; border: 1px solid #3a3b40; border-radius: var(--radius); padding: 11px 12px; color-scheme: dark; }
.hb-sec textarea { resize: vertical; min-height: 64px; }
.hb-sec input:focus, .hb-sec textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: transparent; }
.hb-av { border-radius: 50%; object-fit: cover; background: #2a2b2f; flex: none; }
.hb-av--txt { display: inline-grid; place-items: center; background: linear-gradient(135deg, #f5a623, #c97a00); color: #111; font-weight: 800; line-height: 1; }
.hb-err b { font-family: var(--font-display); font-size: var(--text-lg); }
.hb-signin { justify-items: start; text-align: left; padding: var(--space-8) var(--space-6); border-style: dashed; }
.hb-signin p { color: #b9b7b2; max-width: 56ch; }

/* tabs */
.hb-tabs { display: flex; gap: 6px; background: #141518; border: 1px solid #2a2b2f; border-radius: 999px; padding: 5px; width: max-content; max-width: 100%; position: sticky; top: 76px; z-index: 5; }
.hb-tab { position: relative; border: 0; background: none; color: #b9b7b2; font-family: var(--font-display); font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.hb-tab.is-on { background: var(--amber); color: #141414; }
.hb-badge { display: inline-block; margin-left: 6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #e5262b; color: #fff; font: 800 12px/20px var(--font-display); font-style: normal; }

/* share card */
.hb-share { border-left: 4px solid #3a3b40; }
.hb-share.is-on { border-left-color: #2fbf71; background: linear-gradient(90deg, rgb(47 191 113 / .1), transparent 50%), #141518; }
.hb-share__top { display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; }
.hb-live { color: #cfcdc8; font-size: var(--text-sm); margin-top: 4px; }
.is-on .hb-live { color: #8fe6b5; }
.hb-switch { flex: none; width: 74px; height: 42px; border-radius: 21px; border: 0; background: #3a3b40; position: relative; cursor: pointer; transition: background .2s; }
.hb-switch i { position: absolute; top: 4px; left: 4px; width: 34px; height: 34px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); box-shadow: 0 2px 6px rgb(0 0 0 / .4); }
.hb-switch.is-on { background: #2fbf71; }
.hb-switch.is-on i { transform: translateX(32px); }
.hb-share__opts { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.hb-share__opts > div { display: grid; gap: 6px; }
.hb-chips, .hb-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.hb-chip, .hb-seg button { border: 1px solid #3a3b40; background: #1b1c1f; color: #e6e4df; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.hb-chip.is-on, .hb-seg button.is-on { background: #fff; color: #141414; border-color: #fff; }

/* status beacons */
.hb-beacons { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-2); }
.hb-beacon { display: flex; align-items: center; gap: 10px; text-align: left; padding: 14px; border-radius: var(--radius-lg); border: 1px solid #2f3034; background: #1a1b1e; color: #f2f0ec; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .15s, border-color .15s; min-height: 58px; }
.hb-beacon:hover { border-color: var(--amber); }
.hb-beacon:active { transform: scale(.97); }
.hb-beacon .hb-ic { color: var(--amber); }
.hb-beacon.is-on { border-color: var(--amber); background: rgb(245 166 35 / .12); }
.hb-ic { display: inline-grid; place-items: center; flex: none; }

/* trip plan */
.hb-row { display: grid; gap: 6px; }
.hb-place { grid-template-columns: 1fr; }
.hb-place__in { position: relative; }
.hb-place__a { display: flex; gap: var(--space-4); }
.hb-sugg { position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 4px); background: #1d1e21; border: 1px solid #3a3b40; border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 40px rgb(0 0 0 / .5); }
.hb-sugg[hidden] { display: none; }
.hb-sugg button { display: block; width: 100%; text-align: left; padding: 12px 14px; background: none; border: 0; color: #f2f0ec; font: inherit; font-size: 15px; cursor: pointer; border-bottom: 1px solid #2a2b2f; }
.hb-sugg button:hover { background: #26272b; }

/* postcard */
.hb-pc__card { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-4); background: #fffdf6; color: #222; border-radius: 10px; padding: 12px; box-shadow: 0 10px 30px rgb(0 0 0 / .35); transform: rotate(-.6deg); }
.hb-pc__img { aspect-ratio: 4 / 3; border-radius: 6px; border: 2px dashed #c9c2ae; display: grid; place-items: center; text-align: center; color: #7d7563; font-size: 14px; font-weight: 700; cursor: pointer; overflow: hidden; background: #f2ecdc; }
.hb-pc__img img { width: 100%; height: 100%; object-fit: cover; }
.hb-pc__r { display: grid; gap: 10px; align-content: space-between; }
.hb-pc .hb-pc__r textarea { background: transparent; color: #222; border: 0; border-bottom: 2px solid #e2dccb; border-radius: 0; font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; font-size: 18px; padding: 6px 2px; color-scheme: light; }
.hb-pc__r .btn { justify-self: end; }

/* fridge */
.hb-fridge { display: grid; gap: var(--space-3); }
.hb-honks { padding: 10px 14px; border-radius: var(--radius); background: rgb(245 166 35 / .1); border: 1px solid rgb(245 166 35 / .35); font-size: 14px; color: #f6d9a6; }
.hb-honks b { color: var(--amber); }
.hb-magnets { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius-lg); background: linear-gradient(180deg, #d9dde2, #c4c9cf); }
.hb-mag { position: relative; margin: 0; background: #fff8b8; color: #2a2a2a; padding: 14px 12px 10px; border-radius: 3px; transform: rotate(var(--r, 0deg)); box-shadow: 0 8px 16px rgb(0 0 0 / .2); display: grid; gap: 8px; align-content: start; }
.hb-mag::before { content: ''; position: absolute; top: -9px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff7a74, #c81d1d); box-shadow: 0 3px 5px rgb(0 0 0 / .3); }
.hb-mag--draw, .hb-mag--postcard { background: #fff; }
.hb-mag--postcard::before { background: radial-gradient(circle at 35% 35%, #7fd3ff, #1f6fd1); }
.hb-mag img { width: 100%; border-radius: 2px; display: block; }
.hb-mag p { font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.hb-mag figcaption { font-size: 12px; color: #6b6b6b; font-weight: 600; }
.hb-mag__x { position: absolute; top: 2px; right: 4px; border: 0; background: none; color: #8a8a8a; font-size: 18px; cursor: pointer; }

/* circle */
.hb-people { display: grid; gap: var(--space-2); }
.hb-people li { display: flex; align-items: center; gap: var(--space-3); padding: 10px 0; border-bottom: 1px solid #222327; flex-wrap: wrap; }
.hb-people li:last-child { border-bottom: 0; }
.hb-people__t { flex: 1; min-width: 180px; display: grid; gap: 4px; }
.hb-people__t b { font-family: var(--font-display); }
.hb-people__t span { font-size: 13px; color: #a3a19c; }
.hb-people__a { display: flex; gap: var(--space-3); align-items: center; }
.hb-asks { border-color: var(--amber); }
.hb-empty { color: #a3a19c; font-size: var(--text-sm); }
.hb-invite { display: flex; gap: var(--space-5); align-items: center; flex-wrap: wrap; }
.hb-invite__t { display: grid; gap: 8px; flex: 1; min-width: 220px; justify-items: start; }
.hb-code { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 6vw, 52px); letter-spacing: .12em; line-height: 1; color: #fff; }
.hb-qr { width: 150px; flex: none; }
.hb-qr svg { width: 100%; display: block; border-radius: 10px; }
.hb-qr:empty { display: none; }

/* following */
.hb-follow__bar { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.hb-who { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid #2f3034; background: #16171a; color: #f2f0ec; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.hb-who.is-on { border-color: var(--amber); background: rgb(245 166 35 / .12); }
.hb-who small { color: #a3a19c; font-weight: 600; }
.hb-dot { width: 9px; height: 9px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 0 rgb(47 191 113 / .6); animation: hb-ping 1.8s infinite; }
@keyframes hb-ping { 70% { box-shadow: 0 0 0 8px rgb(47 191 113 / 0); } 100% { box-shadow: 0 0 0 0 rgb(47 191 113 / 0); } }
.hb-join { display: flex; gap: 6px; margin-left: auto; }
.hb-join input { width: 120px; text-transform: uppercase; letter-spacing: .1em; padding: 9px 12px; }
.hb-join .btn { padding: 9px 16px; }
.hb-empty-card { justify-items: center; text-align: center; padding: var(--space-10) var(--space-5); }
.hb-empty-card .hb-sub { max-width: 52ch; }

.hb-trip { display: grid; gap: var(--space-4); }
.hb-hero { display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; flex-wrap: wrap; }
.hb-hero__who { display: flex; gap: var(--space-4); align-items: center; }
.hb-hero__who h2 { font-family: var(--font-display); font-weight: 900; font-size: var(--text-2xl, 32px); line-height: 1.05; }
.hb-hero__a { display: flex; gap: var(--space-3); align-items: center; }
.hb-status { margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hb-status small { color: #a3a19c; }
.hb-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px; background: rgb(245 166 35 / .15); color: #ffcf7a; font-weight: 800; font-size: 14px; }
.hb-pill--delivered, .hb-pill--arrived, .hb-pill--home { background: rgb(47 191 113 / .16); color: #8fe6b5; }
.hb-pill--night { background: rgb(139 77 255 / .18); color: #cdb6ff; }
.hb-local { color: #b9b7b2; font-size: 14px; margin-top: 4px; }
.hb-kidsbtn { border: 1px solid #44454b; background: none; color: #f2f0ec; border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.hb-kidsbtn.is-on { background: #8b4dff; border-color: #8b4dff; }

.hb-road { background: linear-gradient(180deg, #13202a, #101114); border: 1px solid #2a2b2f; border-radius: var(--radius-lg); padding: var(--space-5) var(--space-5) var(--space-3); overflow: hidden; }
.is-kids .hb-road { background: linear-gradient(180deg, #2a6fd1, #7fc3ff 70%, #2a2b2f 70.1%); }
.hb-road__h { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.hb-road__h > div:first-child { display: grid; gap: 2px; }
.hb-road__h b { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.05; }
.hb-road__h span { color: #c9c7c2; }
.is-kids .hb-road__h span { color: #fff; }
.hb-sleeps { text-align: center; background: #fff; color: #141414; border-radius: 18px; padding: 10px 16px; transform: rotate(3deg); box-shadow: 0 8px 20px rgb(0 0 0 / .25); }
.hb-sleeps b, .hb-road__h .hb-sleeps b { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1; color: #8b4dff; }
.hb-sleeps span, .is-kids .hb-sleeps span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #333; }
.hb-road__svg { width: 100%; height: auto; display: block; margin-top: var(--space-2); font-family: var(--font-display); }
.hb-truck { transition: transform 1.6s cubic-bezier(.25, .9, .3, 1); }
.hb-truck.is-moving > g { animation: hb-bounce .5s ease-in-out infinite alternate; }
@keyframes hb-bounce { to { transform: translate(-34px, -28px); } }
.hb-road .hb-fine { margin-top: 4px; }
.is-kids .hb-road .hb-fine { color: #ddd; }

.hb-mapcard { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #2a2b2f; background: #141518; }
.hb-mapcard[hidden] { display: none; }
.hb-map { height: clamp(280px, 46vh, 460px); }
.hb-map__note { padding: 10px 14px; font-size: 12.5px; color: #8d8b86; }
.hb-mpin { display: grid; place-items: center; }
.hb-mpin span { background: #f5a623; color: #141414; font: 800 12px/1 var(--font-display); padding: 6px 9px; border-radius: 999px; box-shadow: 0 4px 10px rgb(0 0 0 / .4); border: 2px solid #0b0c0d; }
.hb-mpin.is-home span { background: #2fbf71; }
.hb-mpin.is-truck { width: 46px; height: 46px; position: relative; }
.hb-mpin.is-truck img { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #f5a623; object-fit: cover; position: relative; z-index: 1; background: #222; }
.hb-mpin.is-truck i { position: absolute; inset: -10px; }
.hb-mpin.is-truck i::before { content: ''; position: absolute; left: 50%; top: 0; margin-left: -8px; border: 8px solid transparent; border-bottom: 12px solid #f5a623; border-top: 0; }
.hb-mpin.is-truck:not(:has(img))::after { content: ''; width: 20px; height: 20px; border-radius: 50%; background: #f5a623; border: 3px solid #fff; }
.hb-mpin.is-moving::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #f5a623; animation: hb-ping2 1.6s infinite; }
@keyframes hb-ping2 { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* family actions */
.hb-acts { grid-template-columns: 260px 1fr; align-items: stretch; }
.hb-acts .hb-fine { grid-column: 1 / -1; }
.hb-honk { display: grid; justify-items: center; align-content: center; gap: 4px; border: 0; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 30%, #ffbf4d, #f5a623 60%, #d7860a); color: #141414; padding: var(--space-5); cursor: pointer; box-shadow: 0 8px 0 #9c5f00, 0 14px 30px rgb(245 166 35 / .25); transition: transform .08s, box-shadow .08s; }
.hb-honk:active { transform: translateY(6px); box-shadow: 0 2px 0 #9c5f00; }
.hb-honk b { font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 1; }
.hb-honk small { font-size: 13px; font-weight: 700; opacity: .8; }
.hb-honk.is-go .hb-honk__ic { animation: hb-honk .6s ease-out; }
@keyframes hb-honk { 20% { transform: scale(1.3) rotate(-8deg); } 45% { transform: scale(1.15) rotate(6deg); } 100% { transform: none; } }
.hb-acts__note { display: grid; gap: var(--space-3); align-content: start; }
.hb-leave { text-align: center; }

/* drawing */
.hb-draw { border: 0; padding: 0; border-radius: var(--radius-lg); background: #141518; color: #fff; width: min(760px, calc(100% - 16px)); }
.hb-draw::backdrop { background: rgb(0 0 0 / .7); }
.hb-draw__h, .hb-draw__f { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: 12px 16px; flex-wrap: wrap; }
.hb-draw__h b { font-family: var(--font-display); font-size: var(--text-lg); }
.hb-draw canvas { display: block; width: 100%; height: auto; touch-action: none; background: #fffdf6; cursor: crosshair; }
.hb-pal { display: flex; gap: 8px; }
.hb-pal button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #2a2b2f; cursor: pointer; }
.hb-pal button.is-on { border-color: #fff; transform: scale(1.1); }
.hb-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #34353a; background: #1d1e21; color: #fff; font-size: 22px; cursor: pointer; }

.hb-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 100; background: #f2f0ec; color: #141414; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; max-width: min(520px, calc(100% - 32px)); box-shadow: 0 10px 30px rgb(0 0 0 / .4); transition: transform .25s, opacity .25s; text-align: center; }
.hb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .hb-top__pts { grid-template-columns: 1fr; }
  .hb-acts { grid-template-columns: 1fr; }
  .hb-pc__card { grid-template-columns: 1fr; }
  .hb-join { margin-left: 0; width: 100%; }
  .hb-join input { flex: 1; width: auto; }
  .hb-tabs { width: 100%; justify-content: space-between; top: 68px; }
  .hb-tab { padding: 10px 12px; font-size: 14px; flex: 1; }
  .hb-card { padding: var(--space-4); }
  .hb-magnets { grid-template-columns: 1fr 1fr; gap: var(--space-3); padding: var(--space-3); }
  .hb-road { padding: var(--space-4) var(--space-3) var(--space-2); }
  .hb-sleeps b { font-size: 34px; }
  .hb-hero__a { width: 100%; }
  .hb-hero__a .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .hb-truck, .hb-truck > g, .hb-dot, .hb-mpin::before { transition: none !important; animation: none !important; } }

/* ---------- v3: more of home ---------- */
.hb-stack { display: grid; gap: var(--space-4, 16px); }
.hb-stack:empty { display: none; }
.hb-seg--sm button { padding: 5px 10px; font-size: 12.5px; }
.hb-people__t .hb-seg { margin-top: 6px; }

/* voice notes */
.hb-rec { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hb-rec__btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #3a3b40; background: #1b1c1f; color: #f3f1ec; border-radius: 999px; padding: 10px 18px 10px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.hb-rec__btn:disabled { opacity: .5; cursor: not-allowed; }
.hb-rec__dot { width: 22px; height: 22px; border-radius: 50%; background: #e5262b; box-shadow: inset 0 0 0 5px #3a1212; flex: none; }
.hb-rec.is-on .hb-rec__btn { border-color: #e5262b; background: #2a1414; }
.hb-rec.is-on .hb-rec__dot { animation: hb-rec 1s ease-in-out infinite; }
@keyframes hb-rec { 50% { box-shadow: inset 0 0 0 2px #3a1212, 0 0 0 6px rgb(229 38 43 / .25); } }
.hb-rec__t { font-size: 13px; color: #a9a7a2; }
.hb-talk__r { display: grid; gap: 12px; }
.hb-acts__note .hb-rec { margin-top: 10px; }
.hb-play { display: inline-flex; align-items: center; gap: 10px; border: 0; background: #141414; color: #fff; border-radius: 999px; padding: 8px 14px 8px 8px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; justify-self: start; }
.hb-play i { width: 26px; height: 26px; border-radius: 50%; background: #f5a623; position: relative; flex: none; }
.hb-play i::after { content: ''; position: absolute; left: 10px; top: 7px; border-left: 10px solid #141414; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hb-play.is-on i::after { left: 8px; top: 8px; width: 3px; height: 10px; border: 0; background: #141414; box-shadow: 6px 0 0 #141414; }
.hb-play.is-load i { animation: hb-rec 1s infinite; }
.hb-play--big { padding: 12px 22px 12px 12px; font-size: 16px; background: #8b4dff; }
.hb-play--big i { width: 36px; height: 36px; background: #fff; }
.hb-play--big i::after { left: 14px; top: 10px; border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
.hb-play--big.is-on i::after { left: 12px; top: 11px; height: 14px; width: 4px; box-shadow: 7px 0 0 #141414; }
.hb-mag--voice, .hb-mag--story { background: #e8f1ff; }
.hb-mag--story { background: #efe6ff; }
.hb-mag img.is-loading { min-height: 120px; background: repeating-linear-gradient(45deg, #eee, #eee 10px, #f6f6f6 10px, #f6f6f6 20px); }
.hb-mag figcaption { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hb-heart { margin-left: auto; border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; color: #8a8883; display: inline-flex; align-items: center; gap: 3px; padding: 4px; min-width: 28px; min-height: 28px; }
.hb-heart::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 5.3 3 1.7-1.9 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 5.3 3 1.7-1.9 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hb-heart.is-on { color: #e5262b; }
.hb-heart.is-on::before { animation: hb-pop .35s ease-out; }
@keyframes hb-pop { 50% { transform: scale(1.35); } }

/* porch light */
.hb-porch { padding: 0; overflow: hidden; }
.hb-porch__btn, .hb-porch--in { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; border: 0; background: linear-gradient(180deg, #121826, #0e1118); color: #f3f1ec; padding: 16px 20px; font: inherit; cursor: pointer; border-radius: inherit; }
.hb-porch--in { cursor: default; padding: 16px 20px; }
.hb-porch__btn.is-on, .hb-porch--in { background: linear-gradient(180deg, #2a2210, #15130c); }
.hb-porch b { display: block; font-size: 17px; }
.hb-porch small { display: block; color: #c9c7c2; font-size: 13.5px; margin-top: 2px; }
.hb-house { width: 96px; height: 72px; flex: none; }
.hb-house__glow { animation: hb-glow 2.6s ease-in-out infinite; transform-origin: 84px 52px; }
@keyframes hb-glow { 50% { opacity: .65; transform: scale(.92); } }

/* calendar */
.hb-cal { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.hb-cal__i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #2c2d31; border-radius: 12px; background: #16171a; }
.hb-cal__i.is-call { border-color: rgb(47 191 113 / .45); }
.hb-cal__i.is-soon { background: rgb(47 191 113 / .12); }
.hb-cal__d { display: grid; text-align: center; min-width: 58px; padding: 4px 6px; border-radius: 8px; background: #222327; }
.hb-cal__d b { font-size: 13px; color: #f5a623; text-transform: uppercase; letter-spacing: .04em; }
.hb-cal__d small { font-size: 12px; color: #d5d3ce; }
.hb-cal__t { flex: 1; min-width: 0; display: grid; }
.hb-cal__t b { overflow-wrap: anywhere; }
.hb-cal__t span { font-size: 13px; color: #a9a7a2; }
.hb-cal__i .hb-mag__x { position: static; }
.hb-cal__add { display: grid; gap: 10px; }
.hb-cal__row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.hb-cal__row input { min-width: 0; }
@media (max-width: 640px) { .hb-cal__row { grid-template-columns: 1fr auto; } .hb-cal__row input:first-child { grid-column: 1 / -1; } }

/* sticker book */
.hb-stickers { display: flex; flex-wrap: wrap; gap: 12px; }
.hb-sticker { display: grid; place-items: center; width: 86px; height: 64px; border-radius: 12px; background: #fff; color: #141414; transform: rotate(var(--r, 0deg)); box-shadow: 0 6px 14px rgb(0 0 0 / .3), inset 0 0 0 3px #f5a623; text-align: center; }
.hb-sticker b { font-family: var(--font-display); font-size: 24px; line-height: 1; }
.hb-sticker small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.is-kids .hb-sticker { width: 104px; height: 78px; }
.hb-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.hb-confetti i { position: absolute; top: -12px; width: 10px; height: 14px; border-radius: 2px; animation: hb-fall 2.2s cubic-bezier(.3, .6, .4, 1) forwards; }
@keyframes hb-fall { to { transform: translate(var(--x), 105vh) rotate(540deg); } }

/* trip stats / scrapbook */
.hb-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.hb-stats div { background: #16171a; border: 1px solid #2c2d31; border-radius: 12px; padding: 12px 8px; text-align: center; display: grid; }
.hb-stats b { font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: #f5a623; }
.hb-stats span { font-size: 12px; color: #a9a7a2; }
.hb-scrap.is-done { border-color: #2fbf71; }
@media (max-width: 640px) { .hb-stats { grid-template-columns: repeat(3, 1fr); } .hb-stats b { font-size: 22px; } }

/* bedtime + story */
.hb-bed, .hb-story { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(160deg, #1d1840, #120f24); border-color: #3c3470; }
.hb-bed__moon { width: 56px; height: 56px; border-radius: 50%; flex: none; box-shadow: inset -14px -6px 0 0 #f7e7a1; transform: rotate(-20deg); margin-top: 4px; }
.hb-bed h2, .hb-story h2 { margin: 0 0 4px; }
.hb-bed .hb-rec { margin-top: 10px; }
.hb-story .hb-play { margin-top: 10px; }

/* start over */
.hb-danger { border-color: rgb(229 38 43 / .35); }
.hb-danger__btn { border-color: rgb(229 38 43 / .6) !important; color: #ff8a85 !important; }
@media (prefers-reduced-motion: reduce) { .hb-house__glow, .hb-rec.is-on .hb-rec__dot, .hb-heart.is-on::before, .hb-confetti { animation: none !important; } }
.hb-road[hidden], .hb-card[hidden] { display: none; }

/* Moving lock (added on the website side): full-screen, nothing tappable underneath */
.hb-lock { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 24px; background: #0b0c0d; color: #f2f0ec; isolation: isolate; text-align: center; }
.hb-lock__in { max-width: 460px; }
.hb-lock .hb-lock__k { margin: 0 0 8px; color: #f5a623; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.hb-lock h2 { margin: 0 0 12px; font-size: clamp(30px, 7vw, 44px); line-height: 1.05; }
.hb-lock p:not(.hb-lock__k) { margin: 0; font-size: 18px; line-height: 1.45; color: #cfcdc8; }

/* Voice check */
.hb-vc { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.hb-vc li { display: grid; gap: 2px; padding: 10px 12px 10px 40px; border-radius: 12px; background: #16171a; border: 1px solid #2c2d31; position: relative; }
.hb-vc li::before { content: ''; position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; border-radius: 50%; }
.hb-vc li.is-ok::before { background: #2fbf71; box-shadow: inset 0 0 0 5px #123d26; }
.hb-vc li.is-warn::before { background: #f5a623; box-shadow: inset 0 0 0 5px #4a3410; }
.hb-vc li.is-bad { border-color: rgb(229 38 43 / .45); }
.hb-vc li.is-bad::before { background: #e5262b; box-shadow: inset 0 0 0 5px #3a1212; }
.hb-vc b { font-size: 15px; }
.hb-vc span { font-size: 13.5px; color: #c9c7c2; }
.hb-vc__sum { font-weight: 700; margin: 0 0 12px; }
.hb-play.is-bad { background: #3a1212; color: #ffb3ae; }
.hb-play.is-bad i { background: #e5262b; }
