/* 6.8.4-beta hotfix (Dan, 30 Oct 2026, production screenshot):
   1. the "new album picture" toast sat over the Now / Tomorrow cards -> it now shows at the top, above the room, and a tap closes it.
   2. the top speech bubble looked see-through at evening/night: the room's night veil (z 6) was painted over it (z 5) -> the bubble sits above the veil, solid.
   3. the small grey thing on the left of the rug was Kipi the hedgehog visitor (a bare line drawing under the night veil) -> a proper round badge in the room's top corner. */

/* 1. toast: top of the screen on every page with the bottom nav, never over the cards */
#app.with-nav ~ .toast, .toast { top: calc(10px + var(--safe-t, 0px)) !important; bottom: auto !important; transform: translate(-50%, -18px) !important; }
#app.with-nav ~ .toast.show, .toast.show { transform: translate(-50%, 0) !important; pointer-events: auto !important; cursor: pointer; }
html.rm #app.with-nav ~ .toast, html.rm .toast, html.rm #app.with-nav ~ .toast.show { transform: translate(-50%, 0) !important; }
.toast { background: #fffaf2 !important; color: #4a3626 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 0 0 1.5px rgba(122, 74, 68, .14), 0 12px 28px -10px rgba(74, 54, 38, .45) !important; z-index: 80 !important; }
html.skin-clay .toast { background: #4a3626 !important; color: #fffaf2 !important; }

/* 2. speech bubble: solid and above the night veil */
.room .say { z-index: 7 !important; background: #fffaf2 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; opacity: 1; color: #4a3626 !important; box-shadow: 0 0 0 1.5px rgba(122, 74, 68, .16), 0 4px 0 #e2cdb0, 0 12px 20px -12px rgba(92, 62, 40, .45) !important; }
.room .say.hush { opacity: 0 !important; }
.room .say::after { border-top-color: #fffaf2 !important; }
.sleeping .room .say, .room.sleeping .say { background: #f4f1fb !important; }
.room .say-spk { z-index: 7 !important; }
.bs-say.on { background: rgba(255, 250, 242, .97); color: #4a3626 !important; text-shadow: none !important; border-radius: 18px; padding: 8px 14px !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; width: max-content; max-width: calc(100% - 32px); box-shadow: 0 8px 20px -10px rgba(74, 54, 38, .45); }

/* 3. Kipi the hedgehog: a real round badge in the room's top corner, above the veil, clear of the rug, chips and bunny */
.room .bmc-hog { z-index: 7 !important; top: 12px !important; bottom: auto !important; inset-inline-start: auto !important; left: 12px !important; right: auto !important; width: 56px !important; height: 56px !important; border-radius: 50% !important; background: #fffaf2 !important; box-shadow: 0 0 0 2px #e9c9a0, 0 4px 0 #e2cdb0, 0 10px 18px -8px rgba(92, 62, 40, .5) !important; display: grid !important; place-items: center; padding: 0 !important; }
.room .bmc-hog svg { width: 44px !important; height: 44px !important; filter: none !important; }
.room .bmc-hog:active { transform: translateY(2px) scale(.97); }
.room .bmc-hog:focus-visible { outline: 3px solid #b28cff; outline-offset: 3px; }
.sleeping .room .bmc-hog { display: none !important; }


/* ===== 6.8.5-beta (Dan, 30 Oct 2026 21:19: "why did the character turn purple — bring back the lighter style") =====
   At night (20:00-06:00) the room went dark indigo and the bunny was lit with blue-violet light, so on the phone it looked purple.
   Now: the bunny keeps its bright white/cream look at every hour (no night filter, no night light on it, the rest veil sits under it),
   and the night room stays light and warm (the light room art + the lit lantern glow; no navy/purple layers). */
/* the bunny: never tinted */
html .room.c6-nightroom #stage svg.c6 { filter: none !important; }
html .room .bmst-room, html .room .bmst-room canvas { filter: none !important; mix-blend-mode: normal !important; }
/* the clay night room: no dimming, a soft warm lamplight wash */
html .c6-night .c6-furn, html .c6-night .c6-fg, html .c6-night .c6-wall, html .c6-night .c6-floor { filter: none !important; }
html .c6-night::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(255, 206, 160, .14), rgba(255, 228, 196, .05) 70%); }
/* other skins: a light, warm evening room instead of the indigo night */
html:not(.skin-clay) .room.sky-night { background: linear-gradient(180deg, #ffe7d2 0%, #fff1e2 55%, #f7dcc6 63%, #f1cfb6 100%) !important; }
html .room.sky-night::before { filter: none !important; }
html .sky-night .window { background: linear-gradient(180deg, #b9c6ee, #f3dcd4) !important; }
/* rest: a gentle warm dim behind the bunny, never over it */
html .room .night-veil { z-index: 2 !important; background: linear-gradient(180deg, rgba(255, 214, 176, .30), rgba(255, 230, 204, .12)) !important; }
html .room .night-veil i { background: #fff6dc !important; box-shadow: 0 0 6px rgba(255, 210, 140, .9); }
html .sleeping .room .say, html .room.sleeping .say { background: #fffaf2 !important; }
/* the full-screen bunny stage at night: same bright room, a gentle moon behind the window glass */
html .bs-root.bs-night:not(.bs-embed) { background: radial-gradient(120% 70% at 50% 18%, #fff8f2 0, #fde7dd 55%, #f6d3c6 100%) !important; color: #7a4a44 !important; }
html .bs-root.bs-night:not(.bs-embed) .bs-tint { opacity: 1 !important; background: rgba(255, 200, 150, .10) !important; }
html .bs-root.bs-night .bs-sky1 { background: linear-gradient(180deg, #5d6fb3 0%, #8d9bd6 55%, #c9c4e6 85%) !important; }
html .bs-root.bs-night .bs-shadow { background: radial-gradient(closest-side, rgba(120, 60, 50, .3), rgba(120, 60, 50, 0)) !important; }
html .bs-root.bs-night .bs-top { background: rgba(255, 255, 255, .8) !important; }
html .bs-root.bs-night .bs-say { color: #7a4a44 !important; text-shadow: 0 1px 0 #fff, 0 0 8px #fff !important; }
html .bs-root.bs-night .bs-tray, html .bs-root.bs-night .bs-feel, html .bs-root.bs-night .bs-row { background: rgba(255, 255, 255, .85) !important; }
html .bs-root.bs-night .bs-feel button { background: #fff6ef !important; }
html .bs-root.bs-night .bs-db { background: rgba(255, 255, 255, .88) !important; }
