/* 6.3.7-beta PREVIEW: the 3D opening screen (both bunnies big, pastel, soft studio light). Shown on every open over the first screen; Start fades it away. */
.bmh { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; align-items: center; overflow: hidden;
  padding: max(14px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  background: radial-gradient(120% 70% at 50% 58%, #fff8fb 0%, rgba(255, 248, 251, 0) 60%),
    linear-gradient(172deg, #fde6ee 0%, #f5e4f8 38%, #e5ecfd 72%, #e0f5ee 100%);
  transition: opacity .45s ease, transform .45s ease; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.bmh.bmh-out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.bmh[hidden] { display: none; }
.bmh-bg { position: absolute; inset: 0; pointer-events: none; }
.bmh-bg i { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .42; animation: bmhFloat 9s ease-in-out infinite; }
.bmh-bg i:nth-child(1) { width: 120px; height: 120px; left: -30px; top: 16%; background: radial-gradient(circle at 35% 35%, #ffd9e6, #ffc4d8 70%, transparent 71%); }
.bmh-bg i:nth-child(2) { width: 70px; height: 70px; right: 8%; top: 9%; background: radial-gradient(circle at 35% 35%, #d9f3ff, #bfe3fb 70%, transparent 71%); animation-delay: -3s; }
.bmh-bg i:nth-child(3) { width: 130px; height: 130px; right: -56px; top: 30%; background: radial-gradient(circle at 35% 35%, #e9dcff, #d8c6fb 70%, transparent 71%); animation-delay: -5s; }
.bmh-bg i:nth-child(4) { width: 40px; height: 40px; left: 8%; bottom: 17%; background: radial-gradient(circle at 35% 35%, #d4f6e6, #b6ebd3 70%, transparent 71%); animation-delay: -1.5s; }
.bmh-bg i:nth-child(5) { width: 26px; height: 26px; left: 30%; top: 7%; background: radial-gradient(circle at 35% 35%, #fff1c9, #ffe2a0 70%, transparent 71%); animation-delay: -6s; }
@keyframes bmhFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.bmh-title { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 2vh; text-align: center; }
.bmh-title .bmh-wm { width: min(64vw, 300px); height: auto; display: block; filter: drop-shadow(0 6px 14px rgba(200, 120, 160, .18)); }
.bmh-title .bmh-word { font-size: clamp(40px, 12vw, 58px); font-weight: 800; letter-spacing: .5px; color: #e7799c; line-height: 1.05; text-shadow: 0 3px 0 #fff, 0 8px 18px rgba(231, 121, 156, .25); }
.bmh-title .bmh-word span { color: #8f86d8; }
.bmh-tag { margin: 2px 0 0; font-size: clamp(15px, 4.4vw, 19px); font-weight: 600; color: #8a6f8f; opacity: .9; }
.bmh-stage { position: relative; z-index: 1; flex: 1 1 auto; width: calc(100% + 36px); margin: 0 -18px; min-height: 260px; }
.bmh-stage::before { content: ''; position: absolute; left: 50%; top: 52%; width: min(104vw, 640px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 100%); }
.bmh-stage img, .bmh-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.bmh-stage canvas { opacity: 0; transition: opacity .5s ease; cursor: pointer; }
.bmh.bmh-3d .bmh-stage canvas { opacity: 1; }
.bmh.bmh-3d .bmh-poster { opacity: 0; transition: opacity .5s ease .15s; }
.bmh-langs { position: relative; z-index: 1; display: flex; gap: 8px; justify-content: center; margin: 0 0 4px; }
.bmh-langs[hidden] { display: none; }
.bmh-langs button { min-height: 44px; min-width: 84px; padding: 0 14px; border: 0; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 700;
  color: #7a6a86; background: rgba(255, 255, 255, .7); box-shadow: 0 3px 10px rgba(150, 110, 170, .14); }
.bmh-langs button.sel { color: #fff; background: #b39ae6; box-shadow: 0 4px 12px rgba(150, 120, 220, .35); }
.bmh-foot { position: relative; z-index: 1; width: min(100%, 420px); }
.bmh-foot .bmh-start { margin-top: 6px; min-height: 64px; font-size: 22px; font-weight: 800; border-radius: 999px; }
.bmh-hint { margin: 8px 0 0; text-align: center; font-size: 14px; color: #9a87a3; }
html.rm .bmh-bg i { animation: none; }
@media (prefers-reduced-motion: reduce) { .bmh-bg i { animation: none; } .bmh { transition: opacity .2s; } }
@media (min-width: 700px) { .bmh-stage { width: min(100%, 760px); margin: 0; } }
