/* Bunnimoo 6.2.0-beta — "מחבואים עם באנימו" (bm-hs.js). Soft colours, round corners, big buttons; reduced motion = no movement. */
.hs { padding-bottom: 24px; }
.hs-head h1 { flex: 1; font-size: 1.25rem; }
.hs-head .hs-mute { margin-inline-start: auto; }
.hs-col { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin: 16px auto 0; max-width: 420px; }
.hs-big { min-height: 58px; font-size: 1.12rem; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.hs-big svg { width: 30px; height: 30px; }
.hs-q { text-align: center; font-size: 1.3rem; margin: 12px 0 14px; }
.center { text-align: center; }

/* hero bunny peeking over leaves */
.hs-hero { position: relative; width: 210px; height: 190px; margin: 6px auto 4px; overflow: hidden; }
.hs-hero.small { width: 150px; height: 150px; }
.hs-hero .hs-herobun { position: absolute; inset-inline: 0; margin: auto; width: 150px; top: 6px; }
.hs-hero.small .hs-herobun { width: 120px; }
.hs-hero .hs-herobun svg { width: 100%; height: auto; }
.hs-heroleaf { position: absolute; bottom: -6px; inset-inline: -10px; height: 92px; }
.hs-heroleaf .hs-lv { width: 100%; height: 100%; }
html:not(.rm) .hs-intro .hs-herobun { animation: hsPeekUp 2.4s ease-in-out infinite alternate; }
@keyframes hsPeekUp { from { transform: translateY(26px); } to { transform: translateY(4px); } }
.hs-rest .faces, .hs-rest { filter: saturate(.95); }

/* speech bubble with caption + repeat */
.hs-say { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 22px; padding: 10px 12px; margin: 10px auto; max-width: 460px; box-shadow: 0 4px 14px rgba(70, 60, 90, .08); }
.hs-say .hs-saybun { width: 54px; flex: 0 0 54px; }
.hs-say .hs-saybun svg { width: 100%; height: auto; }
.hs-say .hs-cap { flex: 1; margin: 0; font-size: 1.1rem; line-height: 1.45; font-weight: 600; color: #463c5a; }
.hs-say .hs-rep { flex: 0 0 auto; width: 44px; height: 44px; }
.hs-say.flash { outline: 3px solid #ffcf5c; outline-offset: 2px; }

/* place choice */
.hs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hs-choice { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px; border-radius: 26px; background: #fff; border: 3px solid #e6def7; font: inherit; font-size: 1.15rem; font-weight: 700; color: #463c5a; min-height: 150px; justify-content: center; cursor: pointer; }
.hs-choice svg { width: 64px; height: 64px; }
.hs-choice:active { transform: scale(.97); }

/* gate + parent setup (clearly an adult area: lilac panel, smaller text) */
.hs-gatecard { text-align: center; }
.hs-gatei svg { width: 56px; height: 56px; }
.hs-hold { margin: 10px auto; }
.hs-adult { background: #f4f0fd; border: 2px dashed #cfc2f0; }
.hs-safe { font-size: 1.02rem; line-height: 1.5; margin: 0 0 8px; }
.hs-setup h3 { font-size: 1rem; margin: 12px 0 8px; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-chip { min-height: 46px; padding: 8px 16px; border-radius: 999px; border: 2px solid #ddd3f3; background: #fff; font: inherit; font-weight: 600; color: #463c5a; cursor: pointer; }
.hs-chip.sel { background: #e9e1fd; border-color: #9a86d4; }
.hs-chip.sel::before { content: '✓ '; }
.hs-prefs { display: flex; gap: 10px; flex-wrap: wrap; }
.hs-spotrow + .hs-spotrow { border-top: 1px solid #eee8f8; margin-top: 8px; }
.hs-big[disabled] { opacity: .5; }

/* capability check */
.hs-modes { display: flex; flex-direction: column; gap: 10px; }
.hs-mode { display: flex; gap: 12px; align-items: flex-start; text-align: start; padding: 14px; border-radius: 20px; background: #fff; border: 2px solid #e6def7; font: inherit; color: #463c5a; cursor: pointer; }
.hs-mode > svg { width: 40px; height: 40px; flex: 0 0 40px; }
.hs-mode span { display: flex; flex-direction: column; gap: 4px; }
.hs-mode small { font-size: .9rem; line-height: 1.4; color: #6a6180; }
.hs-mode.sel { border-color: #9a86d4; background: #f4f0fd; }
.hs-mode.off { opacity: .62; cursor: default; background: #faf9fc; }
.hs-rec { font-style: normal; font-size: .75rem; background: #dff3e6; color: #2f6b45; border-radius: 999px; padding: 2px 8px; margin-inline-start: 6px; }
.hs-camnote2 { text-align: center; }

/* the stage */
.hs-stage { position: relative; width: 100%; max-width: 520px; margin: 6px auto 0; border-radius: 26px; overflow: hidden; background: #e3f3ff; box-shadow: 0 6px 18px rgba(70, 60, 90, .1); }
.hs-scene { position: relative; aspect-ratio: 4 / 3.3; }
.hs-scene .hs-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-cam { position: relative; aspect-ratio: 3 / 4; max-height: 62vh; width: 100%; background: #2f2a3a; }
.hs-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-camnote { position: absolute; top: 8px; inset-inline: 8px; margin: 0; display: flex; gap: 6px; align-items: center; background: rgba(255, 255, 255, .88); border-radius: 14px; padding: 6px 10px; font-size: .85rem; color: #463c5a; }
.hs-camnote svg { width: 22px; height: 22px; flex: 0 0 22px; }

/* a hiding spot = big tap target: leaves (+ the bunny behind them when he is there) */
.hs-spot { position: absolute; width: 40%; height: 44%; border: 0; padding: 0; background: transparent; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; border-radius: 24px; }
.hs-spot:focus-visible { outline: 4px solid #9a86d4; }
.hs-spot .hs-lv { position: absolute; bottom: 0; inset-inline: 0; width: 100%; height: auto; aspect-ratio: 120 / 70; z-index: 2; pointer-events: none; overflow: visible; }
.hs-spot .hs-lv-l, .hs-spot .hs-lv-r, .hs-spot .hs-lv-m { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.hs-bunbox { position: absolute; inset-inline: 0; margin: auto; bottom: 0; width: 60%; z-index: 1; transform: translateY(100%); transition: transform .7s cubic-bezier(.3, 1.3, .5, 1); pointer-events: none; }
.hs-bunbox .charwrap, .hs-bunbox .charwrap svg { width: 100%; height: auto; display: block; }
.hs-spot.has-bun .hs-bunbox { transform: translateY(19%); }
.hs-spot.peek1 .hs-bunbox { transform: translateY(11%); }
.hs-spot.peek2 .hs-bunbox { transform: translateY(5%); }
.hs-spot.peek3 .hs-bunbox { transform: translateY(0); }
html:not(.rm) .hs-spot.has-bun .ear-l { animation: hsEar 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 90%; }
@keyframes hsEar { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(6deg); } 86% { transform: rotate(-3deg); } }
.hs-ring { position: absolute; inset: 6%; border-radius: 50%; border: 5px dashed #ffcf5c; opacity: 0; z-index: 3; pointer-events: none; }
.hs-spot.ringon .hs-ring { opacity: 1; }
html:not(.rm) .hs-spot.ringon .hs-ring { animation: hsSpin 8s linear infinite; }
@keyframes hsSpin { to { transform: rotate(360deg); } }
.hs-note { position: absolute; top: 6%; inset-inline-end: 12%; font-size: 1.6rem; color: #9a86d4; opacity: 0; z-index: 3; pointer-events: none; }
.hs-spot.giggle .hs-note { opacity: 1; }
html:not(.rm) .hs-spot.giggle .hs-note { animation: hsNote 1.4s ease-out 2; }
@keyframes hsNote { 0% { transform: translateY(10px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }
html:not(.rm) .hs-spot.rustle .hs-lv-l { animation: hsRusL .8s ease-in-out; }
html:not(.rm) .hs-spot.rustle .hs-lv-r { animation: hsRusR .8s ease-in-out; }
@keyframes hsRusL { 25% { transform: rotate(-7deg); } 60% { transform: rotate(4deg); } }
@keyframes hsRusR { 25% { transform: rotate(7deg); } 60% { transform: rotate(-4deg); } }
html.rm .hs-spot.rustle .hs-lv { filter: brightness(1.08); }
/* found: the leaves part and Bunnimoo comes out */
.hs-spot.found { overflow: visible; z-index: 5; }
.hs-spot.found .hs-bunbox { transform: translateY(-8%); }
.hs-spot.found .hs-lv-base { transform: translateY(18px); transform-box: fill-box; transition: transform .6s ease; }
.hs-spot.found .hs-lv-l { transform: rotate(-38deg) translateX(-8px); }
.hs-spot.found .hs-lv-r { transform: rotate(38deg) translateX(8px); }
.hs-spot.found .hs-lv-m { transform: scaleY(.55); }
html.rm .hs-bunbox, html.rm .hs-spot .hs-lv-l, html.rm .hs-spot .hs-lv-r, html.rm .hs-spot .hs-lv-m { transition: none; }
.hs-spot.nofx .hs-bunbox, .hs-spot.nofx g { transition: none; }

/* scene layout: the four places (match sceneArt) */
.hs-scene .hs-s0 { top: 22%; inset-inline-start: 2%; }
.hs-scene .hs-s1 { top: 18%; inset-inline-end: 2%; }
.hs-scene .hs-s2 { bottom: 1%; inset-inline-start: 4%; }
.hs-scene .hs-s3 { bottom: 1%; inset-inline-end: 3%; }
[dir="rtl"] .hs-scene .hs-art { transform: scaleX(-1); }
/* camera layout: three clumps in the lower part of the picture */
.hs-cam .hs-spot { width: 34%; height: 34%; bottom: 6%; }
.hs-cam .hs-c0 { inset-inline-start: 1%; bottom: 14%; }
.hs-cam .hs-c1 { inset-inline-start: 33%; bottom: 4%; }
.hs-cam .hs-c2 { inset-inline-end: 1%; bottom: 14%; }
.hs-stage.placing .hs-spot { background: rgba(255, 255, 255, .25); outline: 3px dashed rgba(255, 255, 255, .9); outline-offset: -6px; }
.hs-stage.placing .hs-spot.placed { background: rgba(255, 231, 163, .45); }

.hs-adultline { display: flex; gap: 8px; align-items: flex-start; background: #f4f0fd; border: 2px dashed #cfc2f0; border-radius: 18px; padding: 10px 12px; margin: 6px 0 10px; font-size: .98rem; line-height: 1.45; }
.hs-adultline svg { width: 28px; height: 28px; flex: 0 0 28px; }
.hs-dots { display: flex; justify-content: center; gap: 8px; margin: 2px 0 6px; }
.hs-dots i { width: 34px; height: 34px; border-radius: 50%; background: #f1eef6; display: grid; place-items: center; opacity: .5; }
.hs-dots i.on { background: #dff3e6; opacity: 1; }
.hs-dots i.cur { background: #fff3d6; opacity: 1; outline: 2px solid #ecc77f; }
.hs-dots svg { width: 22px; height: 22px; }
.hs-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.hs-actions .btn { min-height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.05rem; }
.hs-actions svg { width: 30px; height: 30px; }

/* stickers / album */
.hs-stickers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.hs-stk { margin: 0; background: #fff; border-radius: 22px; padding: 14px 10px; text-align: center; box-shadow: 0 4px 12px rgba(70, 60, 90, .08); transform: rotate(var(--tilt, 0deg)); }
.hs-stki { display: grid; place-items: center; width: 86px; height: 86px; margin: 0 auto 8px; border-radius: 50%; background: #fff3d6; border: 4px solid #fff; box-shadow: 0 0 0 3px #ecc77f; }
.hs-stki svg { width: 58px; height: 58px; }
.hs-stk figcaption { font-weight: 700; color: #463c5a; display: flex; flex-direction: column; gap: 2px; }
.hs-stk small { font-weight: 500; color: #8a829c; }
.hs-stk.locked { opacity: .55; box-shadow: none; background: #f6f4fa; }
.hs-stk.locked .hs-stki { background: #ece8f2; box-shadow: 0 0 0 3px #ddd6ea; }
html:not(.rm) .hs-reward .hs-stk.got { animation: hsPop .7s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes hsPop { from { transform: scale(.6) rotate(var(--tilt, 0deg)); opacity: 0; } to { transform: scale(1) rotate(var(--tilt, 0deg)); opacity: 1; } }
.hs-gardenbtn, .hs-albumlink { display: inline-flex; align-items: center; gap: 8px; margin: 10px auto; }
.hs-gardenbtn svg, .hs-albumlink svg { width: 30px; height: 30px; }
.hub-tile.ht-hideseek { background: #eaf7ee; }

/* 6.3.3: album stickers that are unlocked can be tapped (Bunnimoo hops once and says the memory) */
.hs-album .hs-stk.got { cursor: pointer; transition: transform .25s cubic-bezier(.37, 0, .25, 1), box-shadow .25s ease; -webkit-tap-highlight-color: transparent; }
.hs-album .hs-stk.got:active { transform: rotate(var(--tilt, 0deg)) scale(.96); box-shadow: 0 2px 6px rgba(70, 60, 90, .1); }
.hs-album .hs-stk.got.tapped { box-shadow: 0 0 0 3px #f6c9d6, 0 6px 16px rgba(234, 147, 172, .25); }
.hs-memsay { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; padding: 10px 14px; background: #fff; border-radius: 22px; box-shadow: 0 4px 14px rgba(70, 60, 90, .1);
  opacity: 0; max-height: 0; overflow: hidden; transition: opacity .5s ease, max-height .5s ease; }
.hs-memsay.show { opacity: 1; max-height: 120px; }
.hs-memsay p { margin: 0; font-weight: 700; color: #463c5a; font-size: 1.05rem; }
.hs-membun { flex: 0 0 64px; width: 64px; height: 76px; display: block; }
.hs-membun .charwrap, .hs-membun svg { width: 64px !important; height: 76px !important; }
html:not(.rm) .hs-memsay.hop .hs-membun { animation: hsMemHop 1.1s cubic-bezier(.37, 0, .25, 1) .15s 1 both; }
@keyframes hsMemHop { 0% { transform: translateY(0); } 40% { transform: translateY(-9px); } 70% { transform: translateY(0) scale(1.02, .98); } 100% { transform: translateY(0); } }
