/* A one-use, same-tab handoff covers the first paint with the door we just approached. */
@font-face { font-family: 'Lounge Marker'; src: url('/public/css/fonts/PermanentMarker-Regular.woff2') format('woff2'); font-display: swap; }
html.fridge-lounge-arrival::after { content: ''; position: fixed; inset: 0; z-index: 10001; pointer-events: none; background-color: #f5f5ef; background-image: var(--fridge-entry-image); background-repeat: no-repeat; background-size: var(--fridge-entry-width) var(--fridge-entry-height); background-position: var(--fridge-entry-x) var(--fridge-entry-y); opacity: 1; }
html.fridge-lounge-reveal::after { opacity: 0; transition: opacity .45s ease-out; }
html.fridge-lounge-exiting::after { animation: fridge-return-cover .32s ease-out both; }
@keyframes fridge-return-cover { from { opacity: 0; } to { opacity: 1; } }
.fridge-lounge-exit { position: absolute; top: calc(var(--fridge-header-height, 98px) + 15px); right: clamp(20px, 3vw, 55px); z-index: 3; display: flex; align-items: center; gap: 5px; padding: 8px; color: #374433; font: 21px/1.2 'Lounge Marker', cursive; text-decoration: none; transform: rotate(-4deg); }
.fridge-lounge-exit svg { width: 57px; height: 34px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fridge-lounge-exit:hover { color: #8c4260; }
.fridge-lounge-exit:focus-visible { outline: 2px dashed currentColor; outline-offset: 3px; }
.fridge-page:has(#landing[hidden]) .fridge-lounge-exit { display: none; }
@media (max-width: 700px) { .fridge-lounge-exit { font-size: 17px; top: calc(var(--fridge-header-height, 98px) + 8px); right: 14px; } .fridge-lounge-exit svg { width: 43px; } }
@media (prefers-reduced-motion: reduce) { html.fridge-lounge-arrival::after { display: none; } }
