/* REVOZA LOBBY (owner brief 2026-10-08). Needs v6.css for the reset, fonts and tokens. Prefix: lb-.
   Desktop: a full-screen shell. A rail on the left, the environment behind everything, labels glued to their worlds, the title over the
   atrium, the chosen-world panel at the lower right, a dock at the bottom. Phones get their own composition (see the end of the file).
   Charcoal, crimson and warm ivory, as in the owner's reference. Motion: transform and opacity only. */

@font-face { font-family: 'Lobby Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/font/abril-lat.woff2') format('woff2'); }

body.lb { --red: #E11D2E; --red-2: #FF3B4E; --red-d: #B01020; --ivory: #F3EEE3; --coal: #0A0B0E; --rail: 4.8rem;
  background: var(--coal); color: #fff; min-height: 100dvh; overflow-x: hidden; }
.lb :focus-visible, .lb-rail :focus-visible, .lb-all :focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 5px rgba(225, 29, 46, .85); border-radius: 6px; }
.lb svg, .lb-rail svg, .lb-all svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lb-rail__logo svg, .lb-brand svg { stroke: none; }

body.lb [hidden] { display: none !important; }

/* ---------- the environment ---------- */
.lb-scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--coal); }
.lb-world { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 2880 / 1607; transform: translate3d(var(--wx, 0px), var(--wy, 0px), 0); will-change: transform; }
.v6-js .lb-world.is-set { transition: transform 700ms var(--out); }
.lb-plate { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
html:not(.v6-js) .lb-world { width: 100%; height: 100%; aspect-ratio: auto; }
.lb-glow { position: absolute; width: 26%; aspect-ratio: 1; margin: -13% 0 0 -13%; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.7); mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 70, 90, .55), rgba(255, 50, 70, .16) 55%, rgba(255, 50, 70, 0) 72%); transition: opacity 260ms var(--inn), transform 300ms var(--inn); }
.lb-glow.is-hot { opacity: .75; transform: scale(.9); transition: opacity 260ms ease-out, transform 420ms var(--out); }
.lb-glow.is-on { opacity: 1; transform: none; transition: opacity 320ms ease-out, transform 520ms var(--out); }
.lb-glow[data-glow=minecraft] { left: 21%; top: 21%; } .lb-glow[data-glow=cs2] { left: 56%; top: 13%; } .lb-glow[data-glow=fivem] { left: 84%; top: 34%; } .lb-glow[data-glow=rust] { left: 20%; top: 72%; }
.lb-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.lb-lines line { stroke: rgba(255, 255, 255, .8); stroke-width: 1.2; }
.lb-lines circle { fill: var(--coal); stroke: #fff; stroke-width: 2; }
.lb-lines .is-on { stroke: var(--red-2); }
.lb-shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(34rem 24rem at 52% 50%, rgba(10, 11, 14, .58), rgba(10, 11, 14, 0) 72%),
  linear-gradient(0deg, rgba(10, 11, 14, .72) 0%, rgba(10, 11, 14, 0) 22%), linear-gradient(180deg, rgba(10, 11, 14, .5) 0%, rgba(10, 11, 14, 0) 14%); }

/* ---------- rail ---------- */
.lb-rail { position: fixed; z-index: 5; left: 0; top: 0; bottom: 0; width: var(--rail); display: flex; flex-direction: column; align-items: center; gap: 1.4rem; padding: 1.1rem 0; background: rgba(10, 11, 14, .92); border-right: 1px solid rgba(255, 255, 255, .08); }
.lb-rail__logo { display: grid; place-items: center; width: 44px; height: 44px; }
.lb-rail__logo svg { width: 30px; height: 30px; }
.lb-rail__name { writing-mode: vertical-rl; direction: ltr; margin: .2rem 0 1rem; font-size: .7rem; font-weight: 800; letter-spacing: .42em; color: #fff; }
.lb-rail ul { display: grid; gap: .5rem; width: 100%; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.lb-rail li a { display: grid; justify-items: center; gap: .4rem; min-height: 64px; padding: .7rem .2rem; color: var(--t2); font-size: .74rem; font-weight: 600; text-decoration: none; transition: color 160ms ease-out, background-color 160ms ease-out; }
.lb-rail li svg { width: 26px; height: 26px; }
@media (hover: hover) { .lb-rail li a:hover { color: #fff; background: rgba(255, 255, 255, .06); } }

/* ---------- chrome over the scene ---------- */
.lb { position: relative; z-index: 1; min-height: 100dvh; pointer-events: none; }
.lb > * { pointer-events: auto; }
.lb-scene, .lb-tag, .lb-title, .lb-hint { pointer-events: none; }
.lb-tag { position: fixed; z-index: 2; left: calc(var(--rail) + 1.8rem); top: 1.35rem; display: flex; align-items: center; gap: .9rem; direction: ltr; font-size: .72rem; font-weight: 700; letter-spacing: .34em; color: #fff; }
.lb-tag::after { content: ''; width: 4rem; height: 1px; background: rgba(255, 255, 255, .6); }
.lb-brand { position: fixed; z-index: 3; right: 1.6rem; top: 1rem; display: flex; align-items: center; gap: .7rem; direction: ltr; min-height: 40px; padding: 0 1rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(10, 11, 14, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .74rem; }
.lb-brand svg { width: 18px; height: 18px; }
.lb-brand b { font-weight: 800; letter-spacing: .26em; }
.lb-brand span { padding-left: .8rem; border-left: 1px solid rgba(255, 255, 255, .25); font-weight: 700; letter-spacing: .1em; color: var(--t2); }

.lb-title { position: fixed; z-index: 2; left: calc(var(--rail) + (100vw - var(--rail)) * .5); top: 47%; transform: translate(-50%, -50%); display: grid; justify-items: start; gap: .6rem; text-align: left; direction: ltr; }
.lb-title h1 { margin: 0; font-family: 'Lobby Serif', 'Bodoni MT', 'Didot', Georgia, serif; font-weight: 400; font-size: clamp(3rem, 1rem + 5.1vw, 6.4rem); line-height: .86; letter-spacing: -.005em; color: var(--ivory); text-shadow: 0 6px 40px rgba(0, 0, 0, .75), 0 2px 6px rgba(0, 0, 0, .6); }
.lb-title p { justify-self: end; direction: rtl; margin: 0; font-size: clamp(1.05rem, .9rem + .6vw, 1.5rem); font-weight: 600; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .9); }

/* ---------- labels on the worlds ---------- */
.lb-labels { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.lb-label { position: absolute; left: 0; top: 0; display: inline-flex; align-items: stretch; direction: ltr; min-height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 3px; background: rgba(10, 11, 14, .86); color: #fff; font: inherit; cursor: pointer; pointer-events: auto; white-space: nowrap; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: translate3d(var(--lx, 0px), var(--ly, 0px), 0); transition: border-color 160ms ease-out, background-color 160ms ease-out, box-shadow 200ms ease-out; -webkit-tap-highlight-color: transparent; }
.v6-js .lb-labels.is-set .lb-label { transition: transform 700ms var(--out), border-color 160ms ease-out, background-color 160ms ease-out, box-shadow 200ms ease-out; }
html:not(.v6-js) .lb-labels { display: none; }
.lb-label i { display: grid; place-items: center; padding-inline: .9rem .1rem; font-style: normal; font-size: .82rem; font-weight: 600; color: var(--t2); }
.lb-label b { display: grid; place-items: center; padding-inline: .7rem 1rem; font-weight: 700; font-size: 1.02rem; letter-spacing: .1em; }
.lb-label svg { align-self: stretch; width: 44px; height: auto; padding: 0 12px; border-left: 1px solid rgba(255, 255, 255, .28); }
.lb-label[aria-pressed=true] { border-color: var(--red-2); background: rgba(120, 8, 18, .9); box-shadow: 0 0 0 1px var(--red-2), 0 0 34px rgba(225, 29, 46, .7); }
.lb-label[aria-pressed=true] i { color: #FFB3BA; }
.lb-label:active { background: rgba(40, 42, 50, .95); }
@media (hover: hover) { .lb-label:hover { border-color: #fff; } .lb-label[aria-pressed=true]:hover { border-color: #fff; } }

/* ---------- the chosen world ---------- */
.lb-panel { position: fixed; z-index: 4; right: 1.2rem; bottom: 1.2rem; width: min(24.5rem, calc(100vw - var(--rail) - 2.4rem)); max-height: calc(100dvh - 5.2rem); overflow-y: auto; display: grid; gap: .75rem; padding: 1.2rem 1.3rem 1.1rem; border-radius: 14px; background: var(--ivory); color: #14161B; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .5); }
.lb-panel:focus { outline: none; }
.lb-panel__k { display: flex; align-items: center; gap: .6rem; font-size: 1rem; font-weight: 700; }
.lb-panel__k svg { width: 22px; height: 22px; }
.lb-panel__head { display: grid; grid-template-columns: minmax(0, 1fr) 7.6rem; gap: .9rem; align-items: center; }
.lb-panel__head h2 { margin: 0; font-weight: 900; font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.7rem); line-height: 1; letter-spacing: -.02em; text-align: right; overflow-wrap: anywhere; }
.lb-panel__sub { margin-top: .3rem; font-size: 1.02rem; font-weight: 600; color: #3C404A; }
.lb-panel__head img { width: 100%; height: auto; aspect-ratio: 1.25; border-radius: 8px; object-fit: cover; }
.lb-panel__desc { font-size: .95rem; line-height: 1.5; color: #3C404A; text-wrap: pretty; }
.lb-var { display: grid; gap: .4rem; }
.lb-var legend { padding: 0; margin-bottom: .4rem; font-size: .8rem; font-weight: 700; color: #5A5F6B; }
.lb-var div { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid #C9C2B2; border-radius: 6px; overflow: hidden; background: #fff; }
.lb-var label { position: relative; flex: 1 1 auto; min-width: 31%; }
.lb-var input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lb-var span { display: grid; place-items: center; min-height: 44px; padding: .2rem .6rem; border: 0 solid #C9C2B2; border-inline-end-width: 1px; border-bottom-width: 1px; margin-bottom: -1px; font-size: .9rem; font-weight: 600; text-align: center; transition: background-color 160ms ease-out, color 160ms ease-out; }
.lb-var input:checked + span { background: #14161B; color: #fff; }
.lb-var input:focus-visible + span { outline: 2px solid var(--red); outline-offset: -3px; }
.lb-panel__price { min-height: 1.5em; font-size: .95rem; font-weight: 700; }
.lb-panel__price b { font-size: 1.25rem; font-weight: 900; }
.lb-skel { display: block; width: 9rem; height: 1.2em; border-radius: 4px; background: #DDD6C6; animation: lb-pulse 1.3s ease-in-out infinite alternate; }
@keyframes lb-pulse { from { opacity: .5; } to { opacity: 1; } }
.lb-panel__price button { min-height: 44px; margin-inline-start: .5rem; padding: 0 .9rem; border: 2px solid #14161B; border-radius: 6px; background: transparent; color: #14161B; font: inherit; font-weight: 800; cursor: pointer; }
.lb-cta { display: flex; align-items: center; justify-content: center; position: relative; min-height: 58px; padding: 0 3rem; border-radius: 8px; background: linear-gradient(180deg, #F0293B 0%, var(--red) 50%, var(--red-d) 100%); color: #fff; font-weight: 900; font-size: 1.3rem; letter-spacing: .04em; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px -14px rgba(225, 29, 46, .95); transition: transform 160ms var(--out), background-color 160ms ease-out; }
.lb-cta svg { position: absolute; left: 1.1rem; width: 24px; height: 24px; stroke-width: 2.2; transition: transform 200ms var(--out); }
.lb-cta:active { transform: scale(.98); }
.lb-cta.is-quiet { background: #14161B; box-shadow: none; }
@media (hover: hover) { .lb-cta:hover { transform: translateY(-2px); } .lb-cta:hover svg { transform: translateX(-4px); } }
.lb-more { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 44px; color: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; }
.lb-more svg { width: 20px; height: 20px; transition: transform 200ms var(--out); }
@media (hover: hover) { .lb-more:hover { text-decoration: underline; text-underline-offset: 5px; } .lb-more:hover svg { transform: translateX(-4px); } }
.lb-panel__note { font-size: .78rem; line-height: 1.5; color: #5A5F6B; }
.lb-panel__note a { color: inherit; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .lb-panel.is-swap > *:not(.lb-panel__k) { animation: lb-in 300ms var(--out) both; } }
@keyframes lb-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- hint and dock ---------- */
.lb-hint { position: fixed; z-index: 2; left: calc(var(--rail) + 1.6rem); bottom: 1.6rem; display: flex; align-items: center; gap: .8rem; direction: rtl; font-size: .92rem; font-weight: 600; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
.lb-hint svg { box-sizing: content-box; width: 18px; height: 18px; padding: 9px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(10, 11, 14, .7); }
.lb-dock { position: fixed; z-index: 3; left: calc(var(--rail) + (100vw - var(--rail)) * .5); bottom: 1.2rem; transform: translateX(-50%); display: flex; align-items: center; min-height: 48px; padding: 0 .5rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(10, 11, 14, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); white-space: nowrap; }
.lb-dock > * { display: inline-flex; align-items: center; gap: .6rem; min-height: 46px; padding: 0 1.1rem; border: 0; background: none; color: #fff; font: inherit; font-size: .92rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: color 160ms ease-out; }
.lb-dock > * + * { border-inline-start: 1px solid rgba(255, 255, 255, .22); }
.lb-dock svg { width: 20px; height: 20px; }
.lb-dock__acct { display: none; }
@media (hover: hover) { .lb-dock > *:hover { color: #FFB3BA; } }

/* ---------- all games ---------- */
.lb-all { width: min(30rem, calc(100vw - 2rem)); max-height: min(44rem, calc(100dvh - 2rem)); padding: 1.2rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; background: #12141A; color: #fff; box-shadow: 0 50px 120px -30px #000; }
.lb-all::backdrop { background: rgba(5, 6, 8, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-all[open] { display: grid; gap: .9rem; }
@media (prefers-reduced-motion: no-preference) { .lb-all[open] { animation: lb-pop 240ms var(--out) both; } }
@keyframes lb-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.lb-all__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lb-all__head h2 { margin: 0; font-size: 1.5rem; font-weight: 900; }
.lb-all__x { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.lb-all__x svg { width: 20px; height: 20px; }
.lb-all ul { display: grid; gap: .35rem; }
.lb-all li button { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; align-items: center; gap: .9rem; width: 100%; min-height: 60px; padding: .35rem; padding-inline-end: .9rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(255, 255, 255, .03); color: #fff; font: inherit; text-align: start; cursor: pointer; transition: border-color 160ms ease-out, background-color 160ms ease-out; }
.lb-all li img { width: 3.4rem; height: 3.4rem; border-radius: 7px; object-fit: cover; }
.lb-all li b { font-weight: 800; font-size: 1.05rem; text-align: right; }
.lb-all li em { font-style: normal; font-size: .85rem; color: var(--t2); white-space: nowrap; }
.lb-all li button[aria-current=true] { border-color: var(--red-2); background: rgba(225, 29, 46, .16); }
@media (hover: hover) { .lb-all li button:hover { border-color: #fff; } }
.lb-all .lb-more { color: #fff; }
.lb-switch { display: none; }

/* a short or narrow desktop window: the page scrolls instead of clipping */
@media (min-width: 900px) and (max-height: 699.98px) {
  .lb-panel { max-height: calc(100dvh - 4.4rem); padding: .9rem 1.1rem; gap: .5rem; }
  .lb-panel__desc, .lb-panel__note { display: none; }
  .lb-title h1 { font-size: clamp(2.6rem, 1rem + 4vw, 4.6rem); }
  .lb-hint { display: none; }
}
@media (min-width: 900px) and (max-width: 1239.98px) { .lb-hint { display: none; } .lb-dock { left: calc(var(--rail) + 1.2rem); transform: none; } .lb-title { left: calc(var(--rail) + (100vw - var(--rail)) * .34); } .lb-title h1 { font-size: clamp(2.8rem, 1rem + 4.4vw, 4.4rem); } .lb-panel { width: 21.5rem; } }

/* ---------- phones and small tablets: their own composition ---------- */
@media (max-width: 899.98px) {
  body.lb { --rail: 0rem; }
  .lb-rail { position: static; flex-direction: row; justify-content: flex-start; width: auto; height: 3.6rem; padding: 0 1rem; gap: .7rem; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .lb-rail__name { writing-mode: horizontal-tb; margin: 0; letter-spacing: .3em; }
  .lb-rail ul { display: none; }
  .lb { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: calc(8.6rem + env(safe-area-inset-bottom)); }
  .lb-tag, .lb-hint, .lb-labels, .lb-lines { display: none; }
  .lb-brand { position: absolute; top: -3.1rem; right: auto; left: 1rem; border: 0; background: none; padding: 0; }
  .lb-brand b, .lb-brand svg { display: none; }
  .lb-brand span { padding: .3rem .7rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; }
  .lb-scene { position: relative; inset: auto; height: clamp(15rem, 44svh, 24rem); pointer-events: auto; touch-action: pan-y; }
  .lb-shade { background: linear-gradient(0deg, var(--coal) 0%, rgba(10, 11, 14, .1) 46%, rgba(10, 11, 14, .35) 100%); }
  .lb-glow { display: none; }
  .lb-title { position: relative; left: auto; top: auto; transform: none; z-index: 2; margin-top: -7.6rem; padding: 0 1rem; gap: .2rem; }
  .lb-title h1 { font-size: clamp(2rem, 9.4vw, 3.4rem); line-height: .92; }
  .lb-title h1 br { display: none; }
  .lb-title p { justify-self: start; font-size: 1.02rem; }
  .lb-switch { display: flex; gap: .45rem; margin-top: .9rem; padding: .3rem 1rem .5rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .lb-switch::-webkit-scrollbar { display: none; }
  .lb-switch button { flex: none; min-height: 46px; padding: 0 1.1rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; scroll-snap-align: center; transition: border-color 160ms ease-out, background-color 160ms ease-out; }
  .lb-switch button[aria-pressed=true] { border-color: var(--red-2); background: var(--red); }
  .lb-panel { position: relative; right: auto; bottom: auto; width: auto; max-height: none; overflow: visible; margin: .6rem .8rem 0; border-radius: 16px; }
  .lb-cta { position: fixed; z-index: 6; left: .8rem; right: .8rem; bottom: calc(3.9rem + env(safe-area-inset-bottom)); }
  .lb-panel .lb-more { order: 9; }
  .lb-panel__note { margin-bottom: 0; }
  .lb-dock { left: 0; right: 0; bottom: 0; transform: none; z-index: 6; justify-content: space-around; min-height: calc(3.5rem + env(safe-area-inset-bottom)); padding: 0 .2rem env(safe-area-inset-bottom); border: 0; border-top: 1px solid rgba(255, 255, 255, .14); border-radius: 0; background: rgba(10, 11, 14, .96); }
  .lb-dock > * { flex: 1 1 0; flex-direction: column; justify-content: center; gap: .15rem; min-height: 3.5rem; padding: 0 .2rem; font-size: .72rem; white-space: normal; text-align: center; line-height: 1.15; }
  .lb-dock > * + * { border: 0; }
  .lb-dock__acct { display: inline-flex; }
}

/* walking into a room cross-fades where the browser supports it (timing in rooms.css) */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
