.pp-lounge-page { margin: 0; background: #17130f; color: #f4e7c6; }
.pp-lounge-page *, .pp-lounge-page *::before, .pp-lounge-page *::after { box-sizing: border-box; }
.lounge-room { --lounge-art-unit: min(11vw, 19vh); --lounge-chain-colors: repeating-linear-gradient(#2c2118 0 7px, #9d8d67 8px 11px, #32281d 12px 15px); position: relative; isolation: isolate; min-height: 800px; height: 100svh; overflow: hidden; background: #30251d; }
.lounge-scene { position: absolute; inset: 0; isolation: isolate; pointer-events: none; transform-origin: calc(100% - var(--lounge-art-unit) * 2.125) 76%; scale: 1; transition: scale 1.05s cubic-bezier(.25, .65, .25, 1); }
.lounge-fridge-peek .lounge-scene { scale: 1.045; }
.lounge-wall, .lounge-room-light, .lounge-vignette { position: absolute; inset: 0; pointer-events: none; }
.lounge-wall { z-index: -10; inset: -8px; background: linear-gradient(#15242138, #111a183b), url('/public/img/pp-lounge/lounge-interior-1672.webp') center/cover no-repeat; filter: blur(2.5px) brightness(.78) saturate(.78); }
.lounge-room-light { z-index: -8; background: radial-gradient(ellipse at 48% 35%, #dfbf6d24, transparent 57%), radial-gradient(ellipse at 85% 70%, #b5f85a20, transparent 26%); }
.lounge-walk-track { position: absolute; left: 0; right: 0; pointer-events: none; }
/* The rear lanes end inside the cabinet silhouette, keeping the left-hand gap clear. */
.lounge-walk-track-rear { left: calc(24% + var(--lounge-art-unit) * .8558); --walker-cross-distance: calc(76vw - var(--lounge-art-unit) * .8558); clip-path: inset(-100vh 0 -100vh 0); z-index: -9; bottom: 27%; height: clamp(132px, 18.7vh, 191px); filter: brightness(.72) saturate(.75) blur(.3px); }
.lounge-walk-track-rear.lounge-walk-track-left { bottom: 30%; }
.lounge-walk-track-mid { z-index: -8; bottom: 14%; height: calc(clamp(132px, 18.7vh, 191px) * 1.5); filter: brightness(.8) saturate(.85); }
.lounge-walk-track-mid.lounge-walk-track-left { bottom: 18%; }
.lounge-walker { position: absolute; left: 0; bottom: 0; height: var(--walker-height); display: flex; align-items: flex-end; animation: lounge-walker-cross var(--walker-duration) linear infinite; animation-delay: var(--walker-delay); animation-direction: var(--walker-direction); animation-fill-mode: backwards; animation-play-state: paused; }
.lounge-walker-step { position: relative; transform-origin: 50% 100%; animation: lounge-walker-step var(--walker-step) ease-in-out infinite; }
.lounge-walker-step::after { content: ''; position: absolute; z-index: -1; left: 20%; right: 20%; bottom: -2px; height: 5px; border-radius: 50%; background: #080c0a66; }
.lounge-walker img { display: block; width: auto; height: calc(var(--walker-height) * var(--walker-height-scale, 1)); max-width: none; translate: 0 calc(var(--walker-height) * var(--walker-height-scale, 1) * (1 - var(--walker-ground, 1))); }
.lounge-walkers-ready .lounge-walker { animation-play-state: running; }
.lounge-motion-paused .lounge-walker, .lounge-motion-paused .lounge-walker-step { animation-play-state: paused; }
@keyframes lounge-walker-cross { from { transform: translate3d(calc(-100% - 60px), 0, 0); } to { transform: translate3d(calc(var(--walker-cross-distance, 100vw) + 60px), 0, 0); } }
@keyframes lounge-walker-step { 0%, 100% { transform: translateY(0) rotate(-2.5deg); } 25% { transform: translateY(-4px) rotate(-.5deg); } 50% { transform: translateY(0) rotate(2.5deg); } 75% { transform: translateY(-3px) rotate(.5deg); } }
.lounge-scenery { display: contents; }
.lounge-depth { position: absolute; inset: 0; pointer-events: none; transform: translate3d(calc(var(--lounge-pan-x, 0px) * var(--lounge-depth)), calc(var(--lounge-pan-y, 0px) * var(--lounge-depth)), 0); }
.lounge-art { position: absolute; height: auto; user-select: none; filter: drop-shadow(0 12px 12px #05030288); }
.lounge-fridge-target { position: absolute; width: calc(var(--lounge-art-unit) * 1.85); right: calc(var(--lounge-art-unit) * 1.2); bottom: 2%; pointer-events: none; clip-path: polygon(12% 9%, 36% 4%, 87% 7%, 84% 91%, 36% 99%, 16% 84%); }
.lounge-fridge { position: static; display: block; width: 100%; filter: brightness(.7) saturate(.65) drop-shadow(0 12px 14px #0009); }
.lounge-fridge-peek .lounge-fridge-target { pointer-events: auto; cursor: pointer; }
.lounge-fridge-target:focus-visible { outline: none; filter: drop-shadow(0 0 5px #f1e9ab); }
.lounge-entry-image { position: fixed; z-index: 10001; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.lounge-entering .lounge-board, .lounge-entering .lounge-controls, .lounge-returning .lounge-board, .lounge-returning .lounge-controls { opacity: 0; transition: opacity .32s; pointer-events: none; }
.pp-lounge-page:has(.lounge-entering, .lounge-returning) .cult-chrome { opacity: 0; transition: opacity .32s; pointer-events: none; }
.lounge-return-revealing .lounge-board, .lounge-return-revealing .lounge-controls, .pp-lounge-page:has(.lounge-return-revealing) .cult-chrome { opacity: 1; }
.lounge-entering .lounge-scene { pointer-events: none; }
.lounge-right-bookcase, .lounge-potion-machine { translate: var(--lounge-fridge-shift, 0px) 0; transform-origin: 50% 96%; }
.lounge-potion-machine { translate: calc(var(--lounge-fridge-shift, 0px) * 1.2) 0; }
.lounge-fridge-peek { --lounge-fridge-shift: calc(var(--lounge-art-unit) * 2.2); }
.lounge-motion-paused .lounge-room .lounge-scene { scale: 1; transition: none; }
.lounge-fridge-dust { position: absolute; z-index: 1; pointer-events: none; right: -2%; bottom: -3%; width: calc(var(--lounge-art-unit) * 3.8); height: calc(var(--lounge-art-unit) * 1.9); }
.lounge-fridge-dust span { position: absolute; opacity: 0; left: calc(var(--dust-index) * 12% - 10%); bottom: -12%; width: 65%; height: 120%; background: #b9ab8a; mask: url('/public/img/pp-lounge/haze-700.webp') center/contain no-repeat; -webkit-mask: url('/public/img/pp-lounge/haze-700.webp') center/contain no-repeat; }
.lounge-left-company { width: calc(var(--lounge-art-unit) * 3.88); left: clamp(-70px, -3vw, -28px); bottom: -36px; }
.lounge-right-bookcase { width: calc(var(--lounge-art-unit) * 4.431); right: -6%; bottom: -9%; }
.lounge-little-cabinet { width: calc(var(--lounge-art-unit) * 1.7116); left: 24%; bottom: -4%; filter: brightness(.65) drop-shadow(0 8px 8px #0008); }
.lounge-potion-machine { width: calc(var(--lounge-art-unit) * 3.824); right: -1%; bottom: -8%; transform: rotate(2deg); }
.lounge-table-company { width: calc(var(--lounge-art-unit) * 6.56); left: 42%; bottom: -9%; }
.lounge-vignette { z-index: 2; background: radial-gradient(ellipse at 50% 48%, transparent 35%, #0b080755 90%); }
.lounge-board { --board-tilt: -1deg; --board-top: clamp(130px, 16vh, 165px); position: relative; z-index: 3; width: min(940px, calc(100% - 100px)); margin: 0 auto; top: var(--board-top); transform: rotate(var(--board-tilt)); transform-origin: 50% -90px; padding: 13px 14px 17px; border: 3px solid #160e09; border-radius: 7px 11px 5px 8px; background: repeating-linear-gradient(3deg, #855022 0 8px, #7b461d 9px 11px, #8d5826 13px 20px); box-shadow: 8px 13px 0 #08060442, 0 18px 45px #0806047d, inset 3px 3px 0 #b47c3c, inset -3px -4px 0 #4f2c16; }
.lounge-room:not(.lounge-menu-open) .lounge-board { translate: 0 calc(-100% - var(--board-top) - 100px); }
.lounge-menu-cord { position: absolute; z-index: 4; top: 0; left: calc(16.6667vw - 49px); width: 152px; height: 240px; padding: 0; border: 0; background: none; cursor: pointer; translate: 0 var(--cord-rise, 0px); -webkit-tap-highlight-color: transparent; }
.lounge-menu-cord[hidden] { display: none; }
.lounge-menu-open .lounge-menu-cord { --cord-rise: -70px; }
.lounge-menu-cord::before { content: ''; position: absolute; top: -100px; bottom: 19px; left: calc(50% - 4.5px); width: 9px; border: 1px solid #150e08; background: var(--lounge-chain-colors); box-shadow: 2px 1px 3px #0009; }
.lounge-menu-cord span { position: absolute; bottom: 0; left: 0; width: 152px; padding: 16px 12px 14px; border: 2px solid #64543c; border-radius: 4px 7px 5px 4px; background: #ded2ac; color: #2c352b; box-shadow: 3px 5px 5px #0007; transform: rotate(-7deg); font: 38px/1.2 'Lounge Marker', cursive; }
.lounge-menu-cord span::before { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; top: 2px; left: calc(50% - 2px); background: #51462f; }
.lounge-menu-cord:focus-visible { outline: none; }
.lounge-menu-cord:focus-visible span { outline: 2px dashed #fff1bf; outline-offset: 5px; }
.lounge-entering .lounge-menu-cord, .lounge-returning .lounge-menu-cord { opacity: 0; pointer-events: none; }
.lounge-return-revealing .lounge-menu-cord { opacity: 1; }
.lounge-board::after { content: ''; position: absolute; height: 13px; left: -11px; right: -11px; bottom: -9px; border: 3px solid #1c120b; border-radius: 3px 5px 7px 2px; background: #8b5529; box-shadow: 0 3px 0 #bd8b50 inset; }
.lounge-board-face { position: relative; padding: 24px 26px 20px; border: 2px solid #130e0b; background: radial-gradient(ellipse at 40% 30%, #353f33, transparent 80%), #202b25; box-shadow: inset 0 2px 12px #0009; }
.lounge-board-face::after { content: ''; position: absolute; inset: 7px; border: 1px solid #e7dcbc29; pointer-events: none; border-radius: 2px 4px 3px 6px; }
.lounge-board-heading { margin: 0 0 20px; }
.lounge-board-name { margin: 0; text-align: left; color: #c8e89d; font: 600 32px/1.2 'Recoleta', Georgia, serif; text-shadow: 1px 1px 0 #18301e, 2px 3px 0 #14201c, 0 4px 8px #000b; }
.lounge-board h1 { margin: 0 0 2px; text-align: left; font: 22px/1.3 'Lounge Marker', cursive; font-weight: normal; letter-spacing: .5px; text-shadow: 1px 2px #142018; }
.lounge-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 24px; }
.lounge-menu-link { display: grid; grid-template-columns: 36px minmax(0, 1fr) 12px; align-items: center; gap: 8px; min-height: 74px; margin: 0 -5px; padding: 6px 5px; color: #f7eacd; text-decoration: none; border-radius: 4px; transition: background .18s, transform .18s; }
.lounge-menu-link img { width: 36px; height: 42px; object-fit: contain; filter: drop-shadow(1px 2px 0 #111a); transition: transform .2s; }
.lounge-menu-link strong { display: block; font: 20px/1.3 'Lounge Marker', cursive; font-weight: normal; }
.lounge-menu-link small, .lounge-menu-food small { display: block; margin-top: 4px; font: 11px/1.45 'Courier New', monospace; color: #cfcbb7; }
.lounge-menu-arrow { font: 18px 'Lounge Marker', cursive; color: #badc8c; opacity: .75; }
.lounge-menu-food { align-self: center; padding: 7px 4px; color: #d9d9bc; }
.lounge-menu-food strong { font: 19px/1.35 'Lounge Marker', cursive; font-weight: normal; }
.lounge-menu-sold-out strong { text-decoration: line-through; text-decoration-color: #cbab977d; }
.lounge-menu-sold-out small { color: #dbb2a0; }
.lounge-menu-link:hover, .lounge-menu-link:focus-visible { color: #fff9de; background: #bddc8d17; transform: translateX(3px); outline: 2px dashed #cde4a577; outline-offset: 1px; }
.lounge-menu-link:hover img { transform: rotate(-7deg) scale(1.08); }
.lounge-hanger { position: absolute; width: 7px; height: max(280px, 36vh); bottom: calc(100% - 1px); background: var(--lounge-chain-colors); border: 1px solid #150e08; box-shadow: 2px 1px 3px #0009; z-index: -1; }
.lounge-hanger-left { left: 20%; transform: rotate(7deg); transform-origin: bottom; }
.lounge-hanger-right { right: 20%; transform: rotate(-5deg); transform-origin: bottom; }
.lounge-board-cat { position: absolute; width: 116px; height: auto; left: 0; bottom: calc(100% - 19px); pointer-events: none; }
.lounge-board-bottle { position: absolute; width: 57px; height: auto; right: -34px; bottom: -3px; pointer-events: none; filter: drop-shadow(2px 2px #0008); }
.lounge-controls { position: absolute; z-index: 4; bottom: 18px; inset-inline: 26px; display: flex; justify-content: flex-end; align-items: center; font: 11px/1.5 'Courier New', monospace; color: #e5d7b3a6; }
.lounge-motion { border: 1px solid #ceb98a55; padding: 8px 12px; border-radius: 20px; background: #120f0ac9; color: #e4d9b9; font: inherit; cursor: pointer; }
.lounge-motion span { color: #b4df83; padding-left: 5px; }
.lounge-motion:focus-visible { outline: 2px solid #def7ba; outline-offset: 4px; }
.lounge-motion-paused .lounge-smoke-plume, .lounge-motion-paused .lounge-smoke-plume::after { animation-play-state: paused; }
.lounge-skip { position: fixed; top: -100px; left: 15px; z-index: 5000; color: #fff; background: #162117; padding: 12px; }
.lounge-skip:focus { top: 15px; }
.lounge-smoke-bank { position: absolute; pointer-events: none; width: 65%; height: 48%; }
.lounge-thought-layer { position: absolute; inset: 0; pointer-events: none; }
.lounge-thought-layer-back { z-index: -4; }
.lounge-thought-layer-middle { z-index: -2; }
.lounge-thought-layer-front { z-index: 1; }
.lounge-thought { position: absolute; left: 0; top: 0; width: var(--thought-size); opacity: .6; animation: lounge-thought-drift var(--thought-duration) linear infinite; animation-delay: var(--thought-delay); animation-direction: var(--thought-direction); }
.lounge-thought img { display: block; width: 100%; height: auto; transform-origin: 50% 50%; animation: lounge-thought-bob 9s ease-in-out infinite alternate; }
.lounge-motion-paused .lounge-thought, .lounge-motion-paused .lounge-thought img { animation-play-state: paused; }
@keyframes lounge-thought-drift {
    0% { transform: translate3d(-180px, var(--thought-y0), 0); opacity: 0; }
    12% { opacity: .6; }
    33% { transform: translate3d(28vw, var(--thought-y1), 0); }
    67% { transform: translate3d(65vw, var(--thought-y2), 0); }
    88% { opacity: .6; }
    100% { transform: translate3d(calc(100vw + 180px), var(--thought-y3), 0); opacity: 0; }
}
@keyframes lounge-thought-bob { from { transform: rotate(-5deg) translateY(5px); } to { transform: rotate(6deg) translateY(-8px); } }
.lounge-smoke-bank-back { z-index: -4; left: -8%; top: 4%; --smoke-a: #c7fac2; --smoke-b: #8cbeea; opacity: .68; }
.lounge-smoke-bank-middle { z-index: -2; left: 27%; bottom: 7%; --smoke-a: #c6a5e9; --smoke-b: #f0b4ca; opacity: .72; }
.lounge-smoke-bank-front { z-index: 1; left: 12%; bottom: -10%; width: 90%; height: 39%; --smoke-a: #9edbd1; --smoke-b: #d9b0e2; opacity: .56; }
.lounge-smoke-plume { position: absolute; inset: 0 25% 0 0; transform-origin: 30% 90%; animation: lounge-smoke-curl 16s ease-in-out infinite; }
.lounge-smoke-plume::before, .lounge-smoke-plume::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, var(--smoke-a), var(--smoke-b)); mask: url('/public/img/pp-lounge/haze-700.webp') center/contain no-repeat; -webkit-mask: url('/public/img/pp-lounge/haze-700.webp') center/contain no-repeat; opacity: .52; }
.lounge-smoke-plume::after { inset: 10% -5% -15% 18%; opacity: .36; transform-origin: 25% 80%; animation: lounge-smoke-unfurl 13s ease-in-out infinite alternate; }
.lounge-smoke-plume-second { inset: 10% -4% -6% 32%; animation-delay: -9s; animation-duration: 21s; transform-origin: 70% 90%; }
.lounge-smoke-bank-middle .lounge-smoke-plume { animation-delay: -5s; animation-duration: 14s; }
.lounge-smoke-bank-middle .lounge-smoke-plume-second { animation-delay: -12s; animation-duration: 18s; }
.lounge-smoke-bank-front .lounge-smoke-plume { animation-delay: -11s; animation-duration: 19s; }
.lounge-smoke-bank-front .lounge-smoke-plume-second { animation-delay: -4s; animation-duration: 24s; }
@keyframes lounge-smoke-curl { 0% { transform: translate3d(-5%, 12%, 0) rotate(-19deg) scale(.88); opacity: .2; } 30% { opacity: 1; } 65% { transform: translate3d(5%, -5%, 0) rotate(13deg) scale(1.15); opacity: .85; } 100% { transform: translate3d(13%, -24%, 0) rotate(27deg) scale(1.3); opacity: .2; } }
@keyframes lounge-smoke-unfurl { from { transform: translate3d(-3%, 6%, 0) rotate(35deg) scale(.85); } to { transform: translate3d(7%, -8%, 0) rotate(-25deg) scale(1.18); } }
@media (max-width: 700px), (pointer: coarse) { .lounge-depth { transform: none; } .lounge-smoke-bank-back .lounge-smoke-plume-second, .lounge-smoke-bank-front .lounge-smoke-plume-second { display: none; } }
@media (min-width: 1800px) { .lounge-board { width: 1030px; } .lounge-board-face { padding: 26px 32px; } }
@media (max-height: 800px) and (min-width: 701px) { .lounge-room { min-height: 720px; } .lounge-board { --board-top: 120px; } }
@media (max-width: 1000px) and (min-width: 701px) { .lounge-right-bookcase { right: -18%; } .lounge-potion-machine { right: -10%; } }
@media (max-width: 700px) {
    .lounge-walk-track-rear { left: calc(-50px + var(--lounge-art-unit) * .8558); --walker-cross-distance: calc(100vw + 50px - var(--lounge-art-unit) * .8558); bottom: 46%; height: 110px; }
    .lounge-walk-track-rear.lounge-walk-track-left { bottom: 50%; }
    .lounge-walk-track-mid { bottom: 26%; height: 165px; }
    .lounge-walk-track-mid.lounge-walk-track-left { bottom: 30%; }
    .lounge-room { --lounge-art-unit: clamp(88px, 26vw, 105px); height: max(100svh, 970px); min-height: 970px; }
    .lounge-fridge-peek .lounge-scene { scale: 1.025; }
    .lounge-wall { background-image: linear-gradient(#15242138, #111a183b), url('/public/img/pp-lounge/lounge-interior-1000.webp'); background-position: 52% center; }
    .lounge-board { --board-top: 140px; width: min(510px, calc(100% - 36px)); padding: 10px 10px 14px; }
    .lounge-menu-cord { left: auto; right: 22px; }
    .lounge-board-face { padding: 18px 14px 17px; }
    .lounge-board-heading { margin-bottom: 17px; }
    .lounge-board h1 { font-size: 18px; }
    .lounge-board-name { font-size: 27px; }
    .lounge-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
    .lounge-menu-link { grid-template-columns: 26px minmax(0, 1fr); gap: 6px; min-height: 78px; }
    .lounge-menu-link img { width: 26px; height: 36px; }
    .lounge-menu-link strong { font-size: 17px; }
    .lounge-menu-arrow { display: none; }
    .lounge-menu-link small, .lounge-menu-food small { font-size: 10px; }
    .lounge-menu-food strong { font-size: 17px; }
    .lounge-board-cat { width: 100px; left: 0; }
    .lounge-board-bottle { width: 42px; right: -17px; }
    .lounge-left-company { left: -30px; bottom: -36px; }
    .lounge-fridge-target { right: -65px; bottom: 12%; }
    .lounge-right-bookcase { right: -150px; top: 70px; bottom: auto; filter: brightness(.62) drop-shadow(0 10px 10px #0008); }
    .lounge-little-cabinet { left: -50px; bottom: 160px; opacity: .75; }
    .lounge-potion-machine { right: -140px; bottom: -16px; }
    .lounge-table-company { left: calc(50% - 105px); bottom: -28px; }
    .lounge-controls { bottom: 12px; inset-inline: 14px; }
}
@media (max-width: 359px) { .lounge-board { width: calc(100% - 28px); padding-inline: 8px; } .lounge-board-face { padding-inline: 10px; } .lounge-menu-link strong, .lounge-menu-food strong { font-size: 16px; } .lounge-board-name { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .lounge-smoke-plume, .lounge-smoke-plume::after { animation: none !important; } .lounge-menu-link, .lounge-menu-link img { transition: none; } .lounge-scene, .lounge-fridge-peek .lounge-scene { scale: 1; transition: none; } }
@media (prefers-reduced-motion: reduce) { .lounge-walker, .lounge-walkers-ready .lounge-walker { animation-play-state: paused; } .lounge-walker-step { animation: none; } }
@media (prefers-reduced-motion: reduce) { .lounge-thought, .lounge-thought img { animation: none; } .lounge-thought { left: var(--thought-rest-x); top: var(--thought-rest-y); opacity: .6; } }
.lounge-room [hidden] { display: none !important; }
.lounge-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lounge-menu-link { display: flex; width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; }
.lounge-menu-link strong { font-size: clamp(20px, 2.2vw, 26px); }
.lounge-drink-status { min-height: 1em; margin: 8px 0 0; font: 12px/1.4 'Courier New', monospace; }
.lounge-feature-board { position: absolute; top: 115px; left: 0; right: 0; margin: 0 auto; z-index: 4; width: min(1060px, calc(100% - 64px)); padding: 13px; border: 3px solid #160e09; border-radius: 8px; background: repeating-linear-gradient(3deg, #855022 0 8px, #7b461d 9px 11px, #8d5826 13px 20px); box-shadow: 8px 13px 0 #08060442, 0 18px 45px #0806047d, inset 3px 3px #b47c3c; }
.lounge-feature-face { position: relative; max-height: calc(100svh - 160px); overflow: auto; overscroll-behavior: contain; scrollbar-color: #968365 #243029; background: #243029; border: 2px solid #130e0b; padding: 16px; }
.lounge-feature-back { display: inline-block; color: #e7e9c6; font: 20px/1.4 'Lounge Marker', cursive; margin: 0 0 12px; }
.lounge-feature-board .cult-puzzle-corner-root { min-height: 0; padding: 12px; background: transparent; }
.lounge-feature-board .cult-puzzle-corner-title { font: 32px/1.2 'Lounge Marker', cursive; color: #c8e89d; }
.lounge-feature-board .cult-puzzle-corner-hero { gap: 10px; margin-bottom: 22px; }
.lounge-feature-board .cult-puzzle-corner-hero p { margin: 0; }
.lounge-feature-board .cult-puzzle-corner-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lounge-feature-board .pp-match { width: 100%; padding: 0; }
.lounge-feature-board .pp-match h2 { font: 30px/1.3 'Lounge Marker', cursive; }
.lounge-feature-board .pp-board { width: min(100%, 600px, calc((100svh - 340px) * .61)); }
.lounge-drinks { position: absolute; z-index: 2; left: 63%; bottom: 1%; width: 300px; height: 190px; pointer-events: none; }
.lounge-drink { position: absolute; bottom: 0; width: 84px; height: 180px; object-fit: contain; object-position: bottom; filter: drop-shadow(2px 4px 2px #0007); }
@media (max-width: 700px) { .lounge-feature-board { top: 112px; width: calc(100% - 20px); padding: 8px; } .lounge-feature-face { max-height: calc(100svh - 145px); padding: 10px; } .lounge-feature-board .cult-puzzle-corner-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .lounge-feature-board .cult-puzzle-card-media { padding: 8px; } .lounge-feature-board .cult-puzzle-card-title { font-size: 18px; } .lounge-drinks { left: 48%; bottom: 1%; } }
/* Compact main menu; activity boards retain their independent game/gallery sizes. */
.lounge-board { width: min(580px, calc(100% - 100px)); }
.lounge-board-heading { padding-top: 25px; }
.lounge-settings { position: absolute; z-index: 5; top: 8px; right: 10px; color: #e4e5c6; font: 18px/1.3 'Lounge Marker', cursive; }
.lounge-settings summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; list-style: none; cursor: pointer; transform: rotate(8deg); padding: 4px; }
.lounge-settings summary::-webkit-details-marker { display: none; }
.lounge-settings summary:focus-visible { outline: 2px dashed #cde4a5; outline-offset: 3px; }
.lounge-settings svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lounge-settings-panel { position: absolute; top: calc(100% + 12px); right: 0; min-width: 190px; padding: 14px; border: 1px dashed #c7cf9f; background: #202b25; box-shadow: 3px 5px 10px #0008; }
.lounge-settings-panel .lounge-motion { font-size: 13px; border-radius: 3px; }
@media (max-width: 700px) { .lounge-board { width: min(430px, calc(100% - 36px)); } .lounge-settings { top: 5px; right: 7px; font-size: 16px; } .lounge-settings svg { width: 32px; height: 32px; } }

@keyframes lounge-settings-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) { body:not(.lounge-motion-paused) .lounge-settings summary:hover svg, body:not(.lounge-motion-paused) .lounge-settings summary:focus-visible svg { animation: lounge-settings-spin 1.2s linear infinite; } }
/* Taped instant photos on the hanging puzzle board. */
.lounge-feature-board .cult-puzzle-corner-gallery { gap: 34px 24px; padding: 16px 8px 12px; }
.lounge-feature-board .cult-puzzle-card { --polaroid-tilt: -1.5deg; position: relative; display: block; padding: 10px 10px 15px; border: 0; border-radius: 0; background: #f7f1e7; box-shadow: 3px 5px 7px #0007; transform: rotate(var(--polaroid-tilt)); text-decoration: none; }
.lounge-feature-board .cult-puzzle-card:nth-child(3n + 2) { --polaroid-tilt: 1.6deg; }
.lounge-feature-board .cult-puzzle-card:nth-child(3n) { --polaroid-tilt: -.5deg; }
.lounge-feature-board .cult-puzzle-card::before { content: ''; position: absolute; z-index: 1; top: -11px; left: calc(50% - 29px); width: 58px; height: 25px; background: #e0d5a8bd; box-shadow: 0 1px 2px #35271436; transform: rotate(-7deg); clip-path: polygon(2% 4%, 98% 0, 96% 25%, 100% 50%, 97% 73%, 99% 100%, 0 96%, 3% 72%, 0 47%); }
.lounge-feature-board .cult-puzzle-card-media { aspect-ratio: 1; padding: 0; overflow: hidden; background: #242724; }
.lounge-feature-board .cult-puzzle-card-image { width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; object-fit: cover; box-shadow: none; background: #242724; }
.lounge-feature-board .cult-puzzle-card-body { padding: 12px 3px 0; gap: 3px; }
.lounge-feature-board .cult-puzzle-card-title { color: #30302a; font: 400 clamp(16px, 1.5vw, 21px)/1.5 'Gloria Hallelujah', cursive; letter-spacing: 0; }
.lounge-feature-board .cult-puzzle-card-category { font-size: 10px; color: #56564a; }
.lounge-feature-board .cult-puzzle-card:hover, .lounge-feature-board .cult-puzzle-card:focus-visible { transform: translateY(-3px) rotate(var(--polaroid-tilt)); outline: 2px dashed #e8e8bc; outline-offset: 5px; }
@media (max-width: 700px) { .lounge-feature-board .cult-puzzle-corner-gallery { gap: 28px 16px; padding-inline: 5px; } .lounge-feature-board .cult-puzzle-card { padding: 7px 7px 12px; } .lounge-feature-board .cult-puzzle-card-title { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .lounge-feature-board .cult-puzzle-card:hover, .lounge-feature-board .cult-puzzle-card:focus-visible { transform: rotate(var(--polaroid-tilt)); } }
.lounge-room[data-lounge-view="puzzles"] .lounge-menu-cord, .lounge-room[data-lounge-view="match"] .lounge-menu-cord { --cord-rise: -70px; z-index: 6; }
/* Matching activity fills the same physical board in every game state. */
.lounge-room[data-lounge-view="match"] .lounge-feature-board { height: calc(100svh - 145px); }
.lounge-room[data-lounge-view="match"] .lounge-feature-face { height: 100%; max-height: none; overflow: hidden; }
.lounge-room[data-lounge-view="match"] .pp-match { height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
.lounge-feature-board .pp-match .pp-title h2 { font: 30px/1.15 'Lounge Marker', cursive; margin: 0; }
.lounge-feature-board .pp-board { width: var(--pp-grid-width, 90%); }
@media (max-width: 700px) { .lounge-feature-board .pp-match .pp-title h2 { font-size: clamp(17px, 4.5vw, 25px); } }
.lounge-room[data-lounge-view="match"] [data-lounge-panel="match"] { height: 100%; min-height: 0; }
.lounge-feature-board .cult-puzzle-card-cultsmas::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .13; background: url('/public/img/cultsmas-demo/flake-1.webp') 4px calc(100% - 4px)/64px 64px no-repeat, url('/public/img/cultsmas-demo/flake-7.webp') calc(100% - 2px) calc(100% - 9px)/77px 77px no-repeat; filter: saturate(.45); }
.lounge-feature-board .cult-puzzle-card-cultsmas > div { position: relative; z-index: 1; }
/* The caption is one left-aligned paragraph; tape protrudes into real board space. */
.lounge-feature-board .cult-puzzle-corner-hero { max-width: none; text-align: left; }
.lounge-feature-board .cult-puzzle-corner-description { max-width: none; text-align: left; }
.lounge-feature-board .cult-puzzle-corner-gallery { overflow: visible; padding-top: 30px; }
.lounge-feature-board .cult-puzzle-card { overflow: visible; }
.lounge-feature-board .cult-puzzle-card-category[data-holiday="cultsmas"] { color: #ac3038; opacity: 1; }
.lounge-feature-board .cult-puzzle-card-category[data-holiday="halloween"] { color: #aa4e08; opacity: 1; }
.lounge-feature-board .cult-puzzle-card-category[data-holiday="easter"] { color: #69abc7; opacity: 1; }
.lounge-feature-board .cult-puzzle-card-cultsmas::after { opacity: .34; filter: none; background: #a9d9ef; -webkit-mask: url('/public/img/cultsmas-demo/flake-1.webp') 4px calc(100% - 4px)/64px 64px no-repeat, url('/public/img/cultsmas-demo/flake-7.webp') calc(100% - 2px) calc(100% - 9px)/77px 77px no-repeat; mask: url('/public/img/cultsmas-demo/flake-1.webp') 4px calc(100% - 4px)/64px 64px no-repeat, url('/public/img/cultsmas-demo/flake-7.webp') calc(100% - 2px) calc(100% - 9px)/77px 77px no-repeat; }
.lounge-daily-card { position: absolute; z-index: 2; top: 3px; right: 74px; width: 76px; padding: 5px 5px 3px; border: 0; background: transparent; color: #e5e8c9; cursor: pointer; transform: rotate(-7deg); transition: opacity .2s, transform .2s; }
.lounge-daily-card img { display: block; width: 64px; height: 90px; object-fit: contain; filter: drop-shadow(3px 5px 3px #0009); }
.lounge-daily-card::before { content: ''; position: absolute; z-index: 1; left: 23px; top: -3px; width: 32px; height: 15px; background: #ded7aebd; transform: rotate(9deg); }
.lounge-daily-card span { display: block; font: 11px/1.2 'Lounge Marker', cursive; }
.lounge-daily-card.is-lifted { opacity: 0; transform: translateY(-12px) rotate(-10deg); pointer-events: none; }
.lounge-board-face:has(.lounge-daily-card:not([hidden])) .lounge-board-heading { padding-right: 120px; }
.lounge-card-dialog { width: min(370px, calc(100% - 28px)); max-height: calc(100svh - 40px); overflow: auto; padding: 24px; border: 7px ridge #95622f; border-radius: 5px; background: #263329; color: #f5edcf; box-shadow: 0 30px 80px #000b; text-align: center; }
.lounge-card-dialog::backdrop { background: #080b0ab5; }
.lounge-card-dialog h2 { margin: 0 18px 14px; font: 24px/1.2 'Lounge Marker', cursive; }
.lounge-card-dialog img[data-daily-card-dialog-art] { display: block; width: 155px; height: 220px; object-fit: contain; margin: auto; filter: drop-shadow(3px 6px 4px #0008); }
.lounge-card-dialog button { cursor: pointer; border: 1px dashed #d7ddb4; color: inherit; background: #14251a; padding: 9px 14px; font: 16px/1.3 'Lounge Marker', cursive; }
.lounge-card-dialog .lounge-card-close { position: absolute; top: 5px; right: 7px; border: 0; background: none; font-size: 25px; padding: 3px; }
.lounge-card-dialog [data-daily-card-preview] { font: 11px/1.4 monospace; color: #eed88c; }
.lounge-card-dialog .daily-token { width: 22px; height: 22px; vertical-align: middle; margin: 0 3px; }
@media (max-width: 700px) { .lounge-daily-card { position: relative; top: auto; right: auto; margin: 10px auto; } .lounge-board-face:has(.lounge-daily-card:not([hidden])) .lounge-board-heading { padding-right: 0; } }

/* Fine dry-chalk grain, limited to lettering so the board and art stay crisp. */
.lounge-menu-link strong,.lounge-board h1,.lounge-board-name,.lounge-shop svg,.lounge-settings svg {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='chalk'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='17'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='white' filter='url(%23chalk)'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='chalk'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='17'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='white' filter='url(%23chalk)'/%3E%3C/svg%3E");
  mask-repeat:repeat;-webkit-mask-repeat:repeat;
  text-shadow:.3px .3px 0 #fff4,-.3px -.2px 1px #f7eacd33;
}

/* The shade stays inside the slate; the cat and its dangling tail sit in front. */
.lounge-board-name { color: #0099f3; text-shadow: none; }
.lounge-board-heading { padding-top: 0; padding-right: 34px; margin-bottom: 12px; }
.lounge-board-face { padding-top: 16px; }
.lounge-board-cat { z-index: 10; }
.lounge-shop svg { width: 23px; height: 23px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lounge-settings { position: static; }
.lounge-settings > summary { position: absolute; z-index: 9; top: 6px; right: 8px; }
.lounge-settings .lounge-settings-close { display: none; }
.lounge-settings.is-open .lounge-settings-gear { display: none; }
.lounge-settings.is-open .lounge-settings-close { display: block; animation: none !important; }
.lounge-shade-track { position: absolute; z-index: 7; inset: 0; overflow: hidden; pointer-events: none; }
.lounge-settings-panel { position: absolute; inset: 0; min-width: 0; padding: 36px 24px 20px; overflow: auto; border: 0; border-bottom: 8px solid #607160; background: repeating-linear-gradient(0deg,#c3c6a408 0 2px,transparent 2px 5px), #344b40; box-shadow: 0 8px 13px #0009; font: 15px/1.6 'Gloria Hallelujah',cursive; }
.lounge-settings.is-open .lounge-settings-panel { pointer-events: auto; }
.lounge-settings-panel h2 { margin: 0 35px 16px 0; font: inherit; font-size: 19px; }
.lounge-settings-panel label { display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: center; gap: 3px 12px; margin: 12px 0; }
.lounge-settings-panel input { grid-column: 1; width: 100%; accent-color: #c1d5ad; cursor: pointer; }
.lounge-settings-panel output { grid-column: 2; grid-row: 2; font-size: 12px; }
.lounge-settings-panel .lounge-motion { font: inherit; font-size: 15px; }
.lounge-sound-credits { margin-top: 15px; font: 11px/1.5 system-ui,sans-serif; }
.lounge-sound-credits summary { display: list-item; width: auto; height: auto; padding: 0; transform: none; font: inherit; }
.lounge-sound-credits a { color: #d5e9be; }
.lounge-sound-credits ul { padding-left: 17px; }
.lounge-music .cult-audio-hud__controls { gap: 5px; }
@media(max-width:600px) { .lounge-music.cult-music-player { width: 112px; } .lounge-music .cult-audio-hud__controls > button { width: 28px; flex-shrink: 0; } }

.lounge-mute svg path:not([fill]) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* Permanent Marker has two capital-shaped alphabets: use the lowercase set consistently. */
.lounge-menu-cord span, .lounge-board h1, .lounge-menu-link strong,
.lounge-menu-arrow, .lounge-menu-food strong, .lounge-feature-back,
.lounge-feature-board .cult-puzzle-corner-title, .lounge-feature-board .pp-match h2,
.lounge-daily-card span, .lounge-card-dialog h2, .lounge-card-dialog button,
.pp-lounge-page #pp-moves, .pp-lounge-page #pp-new,
.pp-lounge-page .pp-size strong, .pp-lounge-page .pp-splash { text-transform: lowercase; }

.lounge-drink-status:empty { display: none; }
