/* Vulcan's Inferno — casino lobby (renders into #lobby-root).
   Consumes site.css tokens: --gold --ember --bg --panel --ink --muted --line
   --font-display --font-ui --radius. Sticky offset: --nav-h, else site.css --bar-h, else 64px. */

@property --lb-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

#lobby-root {
  --lb-gutter: 16px;
  --lb-gap: 12px;
  --lb-cw: clamp(108px, calc((100vw - 40px) / 3.05), 140px); /* three cards + a peek of the fourth */
  --lb-gold-hi: #ffe7a8;
  --lb-gold-lo: #8a5a1c;
  --lb-gold-grad: linear-gradient(135deg, #fff1c9 0%, var(--gold) 28%, #c98a2c 62%, #f6cf73 100%);
  --lb-edge: linear-gradient(160deg, rgba(255, 231, 168, .85), rgba(138, 90, 28, .55) 30%, rgba(244, 189, 85, .7) 62%, rgba(90, 58, 18, .6));
  --lb-glass: rgba(11, 8, 6, .84);
  --lb-yes: #7fdcb4;
  --lb-no: #ff8d6b;
  --lb-violet: #b494ff;
  position: relative;
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-tap-highlight-color: transparent;
}
#lobby-root:empty { min-height: 1400px; }
/* Tighter bands above the lobby heading and after the last rail (section padding is site.css's). */
#lobby.lobby-section { padding-top: clamp(40px, 4.5vw, 64px); padding-bottom: clamp(28px, 3vw, 40px); }
@supports (color: color-mix(in srgb, red, blue)) {
  #lobby-root { --lb-glass: color-mix(in srgb, var(--bg) 84%, transparent); }
}

#lobby-root *, #lobby-root *::before, #lobby-root *::after { box-sizing: border-box; }
#lobby-root button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
#lobby-root ul { list-style: none; margin: 0; padding: 0; }
#lobby-root h3, #lobby-root h4, #lobby-root p { margin: 0; }
#lobby-root img { display: block; max-width: none; }
#lobby-root :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
#lobby-root [hidden] { display: none !important; }

.lb-skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
#lobby-root .lb-skip:focus { position: static; width: auto; height: auto; clip: auto; clip-path: none; display: inline-flex; margin: 0 0 12px; padding: 10px 16px; border-radius: 999px; background: #0b0806; border: 1px solid var(--gold); color: var(--gold); font: 700 13px/1 var(--font-ui); text-decoration: none; }
.lb-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.lb-ic { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }

.lb { max-width: 1440px; margin: 0 auto; padding: 0 var(--lb-gutter) 24px; }

:where(#lobby-root) .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* ---------- redaction: the shared seal-chip ----------
   site.css owns .seal-chip; this zero-specificity copy only applies if it is missing. Never animated. */
:where(#lobby-root .seal-chip) {
  display: inline-flex; align-items: center; gap: .3em; vertical-align: -.12em;
  padding: .12em .5em .12em .4em; border-radius: 999px; white-space: nowrap;
  font-size: .86em; line-height: 1.1; letter-spacing: .04em; color: rgba(244, 189, 85, .72);
  background: #0b0806; border: 1px solid rgba(244, 189, 85, .55);
}
:where(#lobby-root .seal-chip svg) { width: .95em; height: .95em; flex: none; color: var(--gold); }

/* ---------- shared bits ---------- */
.lb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.lb-eyebrow .lb-ic { width: 15px; height: 15px; }

#lobby-root .lb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 700 14px/1 var(--font-ui); letter-spacing: .04em; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease;
}
#lobby-root .lb-btn--gold {
  color: #1a0f04; background: var(--lb-gold-grad);
  box-shadow: 0 0 0 1px rgba(255, 231, 168, .5) inset, 0 8px 24px -8px rgba(255, 106, 43, .55), 0 0 32px -12px rgba(244, 189, 85, .8);
}
#lobby-root .lb-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 231, 168, .7) inset, 0 12px 30px -8px rgba(255, 106, 43, .7), 0 0 44px -10px rgba(244, 189, 85, .9); }
.lb-btn--gold .lb-ic { transition: transform .2s ease; }
.lb-btn--gold:hover .lb-ic { transform: translateX(3px); }
#lobby-root .lb-btn--ghost { color: var(--ink); border: 1px solid rgba(244, 189, 85, .38); background: rgba(244, 189, 85, .06); }
#lobby-root .lb-btn--ghost:hover { border-color: var(--gold); background: rgba(244, 189, 85, .12); }
#lobby-root .lb-btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; gap: 8px; }
.lb-btn--sm .lb-ic { width: 15px; height: 15px; }
#lobby-root .lb-textbtn { font: 600 13px/1 var(--font-ui); color: var(--muted); padding: 8px 6px; border-radius: 8px; }
#lobby-root .lb-textbtn:hover { color: var(--gold); }

/* ---------- one-line heading ---------- */
.lb-head { margin: 2px 0 12px; }
#lobby-root .lb-head__line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  font: 700 12px/1.4 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.lb-head__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); }
.lb-head__eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--ember); box-shadow: 0 0 0 3px rgba(255, 106, 43, .18);
}
.lb-head__facts { color: var(--ink); font-variant-numeric: tabular-nums; }
/* ---------- sticky filter bar ---------- */
.lb-sentinel { height: 1px; margin-bottom: -1px; }
.lb-bar {
  position: -webkit-sticky; position: sticky; top: var(--nav-h, var(--bar-h, 64px)); z-index: 30;
  margin: 0 calc(-1 * var(--lb-gutter));
  padding: 0 var(--lb-gutter);
  background: var(--lb-glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-top: 1px solid rgba(244, 189, 85, .14);
  border-bottom: 1px solid rgba(244, 189, 85, .14);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.lb-bar.is-stuck { border-top-color: transparent; border-bottom-color: rgba(244, 189, 85, .28); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .95), 0 1px 0 rgba(255, 106, 43, .18); }
.lb-bar__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.lb-cats-wrap { position: relative; min-width: 0; margin: 0 calc(-1 * var(--lb-gutter)); }
.lb-cats {
  display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain;
  /* right padding >= the 28px edge fade, so the last tab clears the fade when scrolled to the end */
  padding: 10px max(28px, var(--lb-gutter)) 8px var(--lb-gutter); scroll-padding-inline: var(--lb-gutter);
  scrollbar-width: none;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 var(--lb-gutter), #000 calc(100% - 28px), transparent);
          mask: linear-gradient(90deg, transparent 0, #000 var(--lb-gutter), #000 calc(100% - 28px), transparent);
}
.lb-cats::-webkit-scrollbar { display: none; }
#lobby-root .lb-cat {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px 0 11px; border-radius: 999px;
  font: 600 13.5px/1 var(--font-ui); color: var(--muted); white-space: nowrap;
  border: 1px solid rgba(244, 189, 85, .16); background: rgba(255, 255, 255, .02);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .25s ease;
}
.lb-cat__ic { width: 16px; height: 16px; color: var(--gold); opacity: .85; }
.lb-cat__n {
  min-width: 22px; padding: 3px 6px; border-radius: 999px; text-align: center;
  font: 700 12px/1 var(--font-ui); font-variant-numeric: tabular-nums; white-space: nowrap;
  color: var(--gold); background: rgba(244, 189, 85, .12);
}
#lobby-root .lb-cat:hover { color: var(--ink); border-color: rgba(244, 189, 85, .4); }
#lobby-root .lb-cat[aria-selected="true"] {
  color: #1a0f04; border-color: transparent; background: var(--lb-gold-grad);
  box-shadow: 0 6px 18px -8px rgba(255, 106, 43, .8), 0 0 0 1px rgba(255, 231, 168, .55) inset;
}
.lb-cat[aria-selected="true"] .lb-cat__ic { color: #1a0f04; opacity: 1; }
.lb-cat[aria-selected="true"] .lb-cat__n { color: var(--gold); background: #1a0f04; }

.lb-tools { display: flex; align-items: center; gap: 8px; padding: 2px 0 10px; }
.lb-search { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.lb-search__ic { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--gold); pointer-events: none; }
.lb-search__input {
  width: 100%; min-width: 0; height: 42px; padding: 0 12px 0 38px;
  font: 500 16px/1 var(--font-ui); color: var(--ink);
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(244, 189, 85, .22); border-radius: 999px;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.lb-search__input:not(:placeholder-shown) { padding-right: 40px; }
.lb-search__input::placeholder { color: var(--muted); opacity: .75; }
.lb-search__input::-webkit-search-cancel-button, .lb-search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.lb-search__input:focus { border-color: var(--gold); background: rgba(0, 0, 0, .5); box-shadow: 0 0 0 3px rgba(244, 189, 85, .18), 0 0 22px -6px rgba(255, 106, 43, .5); }
.lb-kbd {
  position: absolute; right: 12px; display: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px;
  font: 600 12px/20px var(--font-ui); text-align: center; color: var(--muted); border: 1px solid rgba(244, 189, 85, .25);
}
.lb-search__input:focus ~ .lb-kbd, .lb-search__input:not(:placeholder-shown) ~ .lb-kbd { display: none !important; }
#lobby-root .lb-search__clear {
  position: absolute; right: 5px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted);
}
.lb-search__clear:hover { color: var(--ink); background: rgba(244, 189, 85, .12); }
.lb-search__clear .lb-ic { width: 16px; height: 16px; }
#lobby-root .lb-searchtoggle {
  position: relative; display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; flex: none;
  color: var(--gold); border: 1px solid rgba(244, 189, 85, .32); background: rgba(0, 0, 0, .35);
}
.lb-searchtoggle .lb-ic { width: 18px; height: 18px; }
.lb-searchtoggle__off { display: none; }
.lb-bar.is-search-open .lb-searchtoggle__on { display: none; }
.lb-bar.is-search-open .lb-searchtoggle__off { display: inline-block; }
.lb-searchtoggle.has-q::after {
  content: ''; position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 2px #0b0806;
}
.lb-showing {
  display: flex; align-items: center; gap: 7px; margin: 12px 0 0;
  font: 600 12px/1.3 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.lb-showing .lb-ic { width: 14px; height: 14px; color: var(--gold); }
.lb-showing__t { min-width: 0; }
/* Venue filter: the "Showing … · Venue: {name}" line carries its own remove button. */
#lobby-root .lb-showing__x { flex: none; position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1px solid rgba(244, 189, 85, .38); background: rgba(244, 189, 85, .1); color: var(--gold); font: 600 15px/1 var(--font-ui); cursor: pointer; }
#lobby-root .lb-showing__x[hidden] { display: none; }
#lobby-root .lb-showing__x::after { content: ""; position: absolute; inset: -9px; }
@media (hover: hover) { #lobby-root .lb-showing__x:hover { border-color: var(--gold); } }
#lobby-root .lb-showing__x:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lb-sort {
  flex: none; display: inline-flex; padding: 3px; border-radius: 999px;
  border: 1px solid rgba(244, 189, 85, .22); background: rgba(0, 0, 0, .3);
}
#lobby-root .lb-sort button {
  min-height: 34px; padding: 0 11px; border-radius: 999px;
  font: 600 12.5px/1 var(--font-ui); color: var(--muted); white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
#lobby-root .lb-sort button[aria-pressed="true"] { color: var(--ink); background: rgba(244, 189, 85, .18); box-shadow: inset 0 0 0 1px rgba(244, 189, 85, .35); }
#lobby-root .lb-favbtn {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 12px; border-radius: 999px;
  font: 600 13px/1 var(--font-ui); color: var(--muted);
  border: 1px solid rgba(244, 189, 85, .22); background: rgba(0, 0, 0, .3);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.lb-favbtn .lb-ic { width: 17px; height: 17px; color: var(--ember); }
.lb-favbtn__label { display: none; }
.lb-favbtn__n { font-variant-numeric: tabular-nums; color: var(--ink); }
#lobby-root .lb-favbtn:hover { border-color: rgba(255, 106, 43, .55); color: var(--ink); }
#lobby-root .lb-favbtn[aria-pressed="true"] { color: var(--ink); border-color: var(--ember); background: rgba(255, 106, 43, .16); }
.lb-favbtn[aria-pressed="true"] .lb-ic { fill: var(--ember); }

/* ---------- view + sections ---------- */
.lb-view { padding-top: 6px; outline: none; }
/* backwards fill: once finished, nothing stays registered in document.getAnimations() */
.lb-view.lb-anim { animation: lb-in .45s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes lb-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* no content-visibility here: its size estimates made every anchor/join scroll that crosses the lobby land ~175px off */
.lb-sec { margin-top: 20px; }
.lb-sec--exclusives { margin-top: 12px; }
#lobby-root[data-mode="all"] .lb-showing { display: none; }
.lb-sec__head { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-bottom: 4px; }
.lb-sec__icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--gold); border: 1px solid rgba(244, 189, 85, .35);
  background: radial-gradient(circle at 50% 35%, rgba(244, 189, 85, .22), rgba(244, 189, 85, .03) 70%);
  box-shadow: inset 0 0 0 3px rgba(11, 8, 6, .9), inset 0 0 0 4px rgba(244, 189, 85, .18);
}
.lb-sec__icon .lb-ic { width: 19px; height: 19px; }
.lb-sec__titles { flex: 1 1 0; min-width: 0; }
.lb-sec__title {
  display: flex; align-items: center; gap: 10px;
  font: 700 19px/1.15 var(--font-display); letter-spacing: .03em; color: var(--ink);
}
.lb-sec__count {
  font: 700 12px/1 var(--font-ui); letter-spacing: .02em; color: var(--gold);
  padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(244, 189, 85, .3); font-variant-numeric: tabular-nums;
}
#lobby-root .lb-sec__blurb { margin-top: 3px; font: 400 13px/1.4 var(--font-ui); color: var(--muted); }
/* separator rides on the flavour line, so it disappears with it wherever the flavour is hidden */
.lb-sec__flav:has(+ .lb-sec__note)::after { content: '·'; padding: 0 6px; color: rgba(233, 184, 92, .78); }
/* quiet disclosure: smaller, dimmed gold (~7:1 on the page background) */
.lb-sec__note { font-weight: 500; font-size: 11.5px; letter-spacing: .01em; color: rgba(233, 184, 92, .78); }
.lb-sec__note .seal-chip { font-weight: 500; }
.lb-sec__nav { flex: none; display: flex; align-items: center; gap: 8px; }
#lobby-root .lb-viewall {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px 0 6px; border-radius: 8px;
  font: 700 13px/1 var(--font-ui); color: var(--gold); white-space: nowrap;
}
.lb-viewall .lb-ic { width: 16px; height: 16px; transition: transform .2s ease; }
.lb-viewall:hover .lb-ic { transform: translateX(3px); }
.lb-viewall__n { padding: 3px 7px; border-radius: 99px; font-size: 12px; color: var(--ink); background: rgba(244, 189, 85, .14); font-variant-numeric: tabular-nums; }
.lb-sec__head.has-viewall .lb-sec__count { display: none; }
.lb-arrows { display: none; gap: 6px; }
#lobby-root .lb-arrow {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: var(--gold); border: 1px solid rgba(244, 189, 85, .35); background: rgba(0, 0, 0, .3);
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
#lobby-root .lb-arrow:hover:not(:disabled) { background: rgba(244, 189, 85, .15); border-color: var(--gold); }
#lobby-root .lb-arrow:disabled { opacity: .3; cursor: default; }

/* ---------- rails ---------- */
.lb-rail {
  --lb-fl: 32px; --lb-fr: 32px;
  position: relative; margin: 0 calc(-1 * var(--lb-gutter));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--lb-fl), #000 calc(100% - var(--lb-fr)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--lb-fl), #000 calc(100% - var(--lb-fr)), transparent 100%);
}
.lb-rail.is-start { --lb-fl: 0px; }
.lb-rail.is-end { --lb-fr: 0px; }
#lobby-root .lb-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--lb-cw); gap: var(--lb-gap);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--lb-gutter);
  padding: 8px var(--lb-gutter) 10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.lb-track::-webkit-scrollbar { display: none; }
.lb-track > .lb-item, .lb-track > .lb-more { scroll-snap-align: start; min-width: 0; }
/* "All {hall}" end tile: the size of a card's art frame (2:3), so it never makes a row taller. */
.lb-track > .lb-end { scroll-snap-align: start; min-width: 0; align-self: start; display: flex; aspect-ratio: 2 / 3; }
#lobby-root .lb-end__btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 10px; border-radius: var(--radius, 14px); text-align: center;
  border: 1px dashed rgba(244, 189, 85, .38); background: rgba(255, 255, 255, .02);
  font: 700 13px/1.25 var(--font-display); letter-spacing: .04em; color: var(--gold);
  transition: border-color .2s ease, background-color .2s ease;
}
.lb-end__n { font: 600 12px/1 var(--font-ui); letter-spacing: 0; color: var(--muted); }
.lb-end__btn .lb-ic { width: 18px; height: 18px; margin-top: 2px; }
@media (hover: hover) { #lobby-root .lb-end__btn:hover { border-color: var(--gold); background: rgba(244, 189, 85, .06); } }
#lobby-root .lb-end__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
#lobby-root .lb-track--xl { --lb-cw: clamp(150px, 43vw, 200px); }
#lobby-root .lb-track--markets { --lb-cw: min(84vw, 330px); align-items: stretch; }

/* ---------- game card ---------- */
.lb-item { position: relative; }
.lb-card { position: relative; height: 100%; transition: transform .35s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
#lobby-root .lb-card__open { display: block; width: 100%; border-radius: var(--radius, 14px); }
#lobby-root .lb-card__open:focus-visible { outline: none; }
.lb-card__open:focus-visible .lb-card__frame { outline: 2px solid var(--gold); outline-offset: 3px; }
.lb-card__frame {
  position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; isolation: isolate;
  border-radius: var(--radius, 14px);
  border: 1px solid transparent;
  background: linear-gradient(180deg, #1c140b, #0e0a06) padding-box, var(--lb-edge) border-box;
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .6);
  transition: box-shadow .35s ease;
}
.lb-card__frame::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 231, 168, .10), inset 0 -40px 40px -30px rgba(0, 0, 0, .55);
}
.lb-card__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}
.lb-card__fb {
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; padding: 14px; text-align: center;
  font: 700 15px/1.25 var(--font-display); color: var(--gold); letter-spacing: .04em;
  background: radial-gradient(circle at 50% 40%, rgba(255, 106, 43, .22), transparent 65%), linear-gradient(180deg, #22180d, #0d0905);
}
.is-broken > img { display: none; }
.lb-badge {
  position: absolute; top: 9px; left: 9px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px;
  font: 800 12px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; max-width: calc(100% - 54px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--ink); background: rgba(11, 8, 6, .78);
  border: 1px solid rgba(244, 189, 85, .4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lb-badge--exclusive { color: #1a0f04; background: var(--lb-gold-grad); border-color: rgba(255, 231, 168, .7); }
.lb-badge--original { color: #fff4ea; background: linear-gradient(135deg, #ff8a3d, #c8361a); border-color: rgba(255, 180, 120, .6); }
.lb-badge--live { color: var(--gold); background: rgba(11, 8, 6, .82); border-color: rgba(244, 189, 85, .5); }
.lb-badge--jackpot-preview { color: var(--lb-gold-hi); background: rgba(60, 24, 80, .82); border-color: rgba(200, 160, 255, .5); }
.lb-badge--gamefi { color: #e6dcff; background: rgba(48, 36, 110, .82); border-color: rgba(160, 140, 255, .55); }
.lb-badge--provably-fair { color: var(--lb-yes); border-color: rgba(127, 220, 180, .5); }

.lb-card__seal {
  /* Hover/focus keep the art in view: a soft top shade behind the badge row, never a full veil. */
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 8, 6, .66), transparent 34%);
  opacity: 0; transition: opacity .3s ease;
}
/* Badge row: status badge, then the Sealed pill (wraps beneath it on narrow cards). Never over the baked title. */
.lb-card__top {
  position: absolute; top: 9px; left: 9px; right: 52px; z-index: 4; pointer-events: none;
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
}
.lb-card__top .lb-badge { position: static; max-width: 100%; }
.lb-pill .lb-ic { width: 11px; height: 11px; margin-right: 5px; vertical-align: -1px; flex: none; }
.lb-pill {
  display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px;
  font: 800 11px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  background: rgba(11, 8, 6, .85); border: 1px solid rgba(244, 189, 85, .55);
  opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .35s ease;
}
.lb-card__sweep {
  position: absolute; inset: -2px; z-index: 5; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 238, 200, .34) 48%, rgba(255, 255, 255, .08) 53%, transparent 62%);
  transform: translateX(-130%); transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.lb-card__body { display: grid; gap: 4px; padding: 8px 2px 0; container-type: inline-size; }
/* Fixed meta rows: a two-line title slot (names never truncate) + a one-line chip slot,
   so every card in a rail ends on the same line. */
.lb-card__title {
  font: 700 14px/1.25 var(--font-display); letter-spacing: .02em; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  height: 2.5em; white-space: normal; overflow: hidden; overflow-wrap: break-word; text-wrap: balance;
}
.lb-card__type { font: 500 12px/1.3 var(--font-ui); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-dotsep { color: var(--gold); padding: 0 2px; }
.lb-card__hook {
  font: 400 12.5px/1.4 var(--font-ui); color: var(--muted); height: 1.4em;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
/* Always rendered (empty when a card has no chip). One chip on one line where the widest chip
   ('Provably fair · planned', 151px) fits; narrower cards get a compact two-line chip instead of clipping 'planned'. */
.lb-chips { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px; margin-top: 2px; height: 24px; overflow: hidden; }
@container (max-width: 151.98px) {
  .lb-card__title { font-size: 13px; }
  .lb-chips { height: 32px; margin-top: 0; }
}
.lb-chip {
  display: inline-block; max-width: 100%; padding: 4px 7px; border-radius: 6px; overflow-wrap: break-word;
  font: 600 12px/1.15 var(--font-ui); letter-spacing: .02em; color: var(--muted);
  border: 1px solid rgba(244, 189, 85, .18); background: rgba(244, 189, 85, .04);
}
.lb-chip--provably-fair { color: var(--lb-yes); border-color: rgba(127, 220, 180, .28); }
.lb-chip--exclusive, .lb-chip--original { color: var(--gold); border-color: rgba(244, 189, 85, .35); }
.lb-chip--live { color: var(--gold); border-color: rgba(244, 189, 85, .35); }
.lb-chip--jackpot-preview { color: #dcc7ff; border-color: rgba(200, 160, 255, .3); }
.lb-chip--gamefi { color: #cfc4ff; border-color: rgba(160, 140, 255, .3); }
@container (max-width: 151.98px) { .lb-chip { padding: 3px 6px; font-size: 11px; line-height: 1.1; } }

#lobby-root .lb-fav {
  position: absolute; top: 7px; right: 7px; z-index: 6;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink); background: rgba(11, 8, 6, .62); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.lb-fav .lb-ic { width: 17px; height: 17px; }
#lobby-root .lb-fav:hover { color: var(--ember); border-color: rgba(255, 106, 43, .6); transform: scale(1.08); }
#lobby-root .lb-fav[aria-pressed="true"] { color: var(--ember); border-color: rgba(255, 106, 43, .7); background: rgba(40, 12, 4, .78); }
.lb-fav[aria-pressed="true"] .lb-ic { fill: currentColor; filter: drop-shadow(0 0 6px rgba(255, 106, 43, .8)); }
.lb-fav.is-pop .lb-ic { animation: lb-pop .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes lb-pop { 0% { transform: scale(.6); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* hover / focus states (pointer devices) */
@media (hover: hover) {
  .lb-card:hover, .lb-card:focus-within { transform: translateY(-6px); }
  .lb-card:hover .lb-card__frame, .lb-card:focus-within .lb-card__frame {
    box-shadow: 0 22px 34px -18px rgba(0, 0, 0, .95), 0 0 26px -6px rgba(255, 106, 43, .55), 0 0 0 1px rgba(255, 231, 168, .4);
  }
  .lb-card:hover .lb-card__frame img, .lb-card__open:focus-visible .lb-card__frame img { transform: scale(1.06); filter: saturate(1.12); }
  .lb-card:hover .lb-card__seal, .lb-card__open:focus-visible .lb-card__seal { opacity: 1; }
  .lb-card:hover .lb-pill, .lb-card__open:focus-visible .lb-pill { opacity: 1; transform: none; }
  .lb-card:hover .lb-card__sweep, .lb-card__open:focus-visible .lb-card__sweep { transform: translateX(130%); }
}
/* touch: a quiet permanent seal marker */
@media (hover: none) {
  /* a small lock disc in the badge row; the card's label already says it is sealed */
  .lb-pill { opacity: 1; transform: none; width: 24px; height: 24px; padding: 0; justify-content: center; }
  .lb-pill .lb-ic { width: 12px; height: 12px; margin: 0; }
  .lb-pill__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (hover: none) and (max-width: 599.98px) {
  .lb-pill { width: 21px; height: 21px; }
  .lb-card:active { transform: scale(.97); }
}

/* XL exclusives */
.lb-card--xl .lb-card__frame {
  border-width: 1.5px;
  background: linear-gradient(180deg, #1c140b, #0e0a06) padding-box,
    conic-gradient(from var(--lb-angle), #6b4a1a, var(--gold), #fff1c9, var(--gold), #6b4a1a 30%, #3a2410 48%, var(--ember) 58%, #8a5a1c 70%, #6b4a1a) border-box;
}
.lb-card--xl:hover .lb-card__frame, .lb-card--xl:focus-within .lb-card__frame { animation: lb-spin 3.5s linear infinite; }
@keyframes lb-spin { to { --lb-angle: 360deg; } }
.lb-card--xl .lb-card__title { font-size: 16.5px; }
.lb-card--xl .lb-card__body { gap: 5px; padding-top: 12px; }
.lb-track--xl .lb-item:first-child .lb-card__frame::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 110%, rgba(255, 106, 43, .35), transparent 60%);
}

/* "More Vulcan Forged classics, sealed" (one tile, not a game card) */
#lobby-root .lb-more__btn { display: grid; gap: 4px; width: 100%; border-radius: var(--radius, 14px); text-align: left; }
.lb-more__frame {
  display: grid; place-items: center; aspect-ratio: 2 / 3; border-radius: var(--radius, 14px);
  border: 1px dashed rgba(244, 189, 85, .4);
  background: radial-gradient(circle at 50% 45%, rgba(255, 106, 43, .12), transparent 60%), repeating-linear-gradient(135deg, #120d08 0 10px, #0d0906 10px 20px);
  transition: border-color .25s ease;
}
.lb-more__seal { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(244, 189, 85, .5); background: #0b0806; }
.lb-more__seal .lb-ic { width: 22px; height: 22px; }
.lb-more__title { padding-top: 6px; font: 700 14px/1.25 var(--font-display); letter-spacing: .02em; color: var(--ink); }
.lb-more__sub { font: 500 12px/1.3 var(--font-ui); color: var(--gold); opacity: .85; }
@media (hover: hover) { #lobby-root .lb-more__btn:hover .lb-more__frame { border-color: var(--gold); } }
#lobby-root .lb-more__btn:focus-visible { outline: none; }
.lb-more__btn:focus-visible .lb-more__frame { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- feature banners (jackpots / oracle / arena) ---------- */
.lb-feature {
  position: relative; isolation: isolate; overflow: hidden; margin: 14px 0 4px;
  border-radius: calc(var(--radius, 14px) + 4px);
  border: 1px solid transparent;
  background: linear-gradient(180deg, #120d08, #0a0705) padding-box, var(--lb-edge) border-box;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95);
}
.lb-feature__art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #120d08; }
.lb-feature__art img { width: 100%; height: 100%; object-fit: cover; }
.lb-feature__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0e0a06 2%, rgba(14, 10, 6, .4) 40%, transparent 70%); }
.lb-feature__body { position: relative; z-index: 2; display: grid; gap: 12px; justify-items: start; padding: 0 18px 22px; margin-top: -34px; }
.lb-feature__title {
  font: 800 26px/1.08 var(--font-display); letter-spacing: .02em;
  background: linear-gradient(180deg, #fff6df, var(--gold) 70%, #c98a2c); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lb-feature__text { font: 400 14px/1.55 var(--font-ui); color: var(--muted); max-width: 52ch; }
.lb-feature__points { display: flex; flex-wrap: wrap; gap: 8px; }
#lobby-root .lb-feature__points li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px;
  font: 600 12.5px/1 var(--font-ui); color: var(--ink); border: 1px solid rgba(180, 148, 255, .3); background: rgba(120, 80, 200, .12);
}
.lb-feature__points .lb-ic { width: 15px; height: 15px; color: var(--lb-violet); }
.lb-oracle { background: radial-gradient(80% 120% at 100% 0%, rgba(120, 80, 220, .28), transparent 60%) padding-box, linear-gradient(180deg, #110c12, #0a0708) padding-box, linear-gradient(160deg, rgba(200, 170, 255, .7), rgba(90, 60, 140, .5) 35%, rgba(244, 189, 85, .6) 70%, rgba(60, 40, 90, .6)) border-box; }
.lb-oracle .lb-eyebrow { color: var(--lb-violet); }
.lb-oracle .lb-feature__title { background-image: linear-gradient(180deg, #fbf5ff, #cdb6ff 60%, #9b78f0); }
.lb-arena .lb-eyebrow { color: #cfc4ff; }

/* jackpot plaque: engraved and static, no reels, no figures */
.lb-jp__grand { display: grid; gap: 10px; justify-items: start; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(244, 189, 85, .3); background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 30px rgba(255, 106, 43, .12); }
.lb-plaque { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.lb-plaque__amt { display: inline-flex; align-items: center; font: 800 34px/1 var(--font-display); letter-spacing: .02em; color: var(--gold); white-space: nowrap; text-shadow: 0 0 22px rgba(255, 140, 50, .35); }
.lb-plaque__seed {
  display: inline-block; padding: 7px 11px; border-radius: 999px; white-space: nowrap;
  font: 700 12px/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  border: 1px solid rgba(244, 189, 85, .38); background: rgba(244, 189, 85, .06);
}
.lb-jp__tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
#lobby-root .lb-jp__tiers li { display: grid; gap: 7px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(244, 189, 85, .2); background: rgba(0, 0, 0, .35); min-width: 0; overflow: hidden; }
.lb-jp__tier { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font: 600 12px/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lb-jp__tier b { font: 700 15px/1 var(--font-display); letter-spacing: .04em; text-transform: none; color: var(--ink); }

/* ---------- hall banner (category view) ---------- */
.lb-hall {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 18px; margin: 12px 0 22px; padding: 20px 18px 22px;
  border-radius: calc(var(--radius, 14px) + 4px); border: 1px solid transparent;
  background: radial-gradient(70% 120% at 100% 100%, rgba(255, 106, 43, .22), transparent 60%) padding-box,
    linear-gradient(180deg, #120d08, #0a0705) padding-box, var(--lb-edge) border-box;
}
.lb-hall__text { display: grid; gap: 10px; justify-items: start; position: relative; z-index: 2; }
.lb-hall__title { font: 800 30px/1.05 var(--font-display); letter-spacing: .02em; background: linear-gradient(180deg, #fff6df, var(--gold) 70%, #c98a2c); -webkit-background-clip: text; background-clip: text; color: transparent; outline: none; }
.lb-hall__blurb { font: 400 15px/1.5 var(--font-ui); color: var(--ink); opacity: .9; }
.lb-hall__note { font: 600 12.5px/1.45 var(--font-ui); letter-spacing: .02em; color: var(--gold); opacity: .9; max-width: 52ch; }
.lb-hall__meta { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1.3 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lb-hall__meta .lb-ic { width: 15px; height: 15px; color: var(--gold); }
.lb-hall__fan { display: none; }
.lb-feature__title[tabindex], .lb-results__title[tabindex] { outline: none; }
#lobby-root .lb-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px 0 8px; border-radius: 999px;
  font: 600 12.5px/1 var(--font-ui); color: var(--muted); border: 1px solid rgba(244, 189, 85, .22); background: rgba(0, 0, 0, .35);
}
.lb-back .lb-ic { width: 15px; height: 15px; }
#lobby-root .lb-back:hover { color: var(--ink); border-color: var(--gold); }
.lb-feature .lb-back { margin-bottom: 2px; }

/* ---------- grids ---------- */
#lobby-root .lb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; padding-top: 6px; }
#lobby-root .lb-grid.lb-grid--markets { grid-template-columns: minmax(0, 1fr); gap: 14px; }
#lobby-root[data-mode="hall"] .lb-feature + .lb-grid { margin-top: 22px; }

/* ---------- results ---------- */
.lb-results__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 18px 0 14px; }
/* Focus/anchor jumps to the results heading clear the site bar plus the sticky lobby toolbar. */
/* html scroll-padding-top (site.css) supplies --bar-h + 8px; this adds only the sticky search row. */
#lobby-root .lb-results__title { scroll-margin-top: var(--lb-bar-h, 120px); }
.lb-results__title { display: flex; align-items: center; gap: 10px; font: 700 21px/1.15 var(--font-display); color: var(--ink); }
.lb-results__title .lb-ic { color: var(--gold); width: 20px; height: 20px; }
#lobby-root .lb-results__sub { margin-top: 6px; font: 400 13.5px/1.4 var(--font-ui); color: var(--muted); }
#lobby-root .lb-results__sub2 { display: flex; align-items: center; gap: 8px; margin: 32px 0 12px; font: 700 17px/1.2 var(--font-display); color: var(--ink); }
.lb-results__sub2 .lb-ic { color: var(--lb-violet); }
.lb-empty {
  display: grid; justify-items: center; gap: 12px; text-align: center; padding: 40px 20px; margin-top: 8px;
  border-radius: calc(var(--radius, 14px) + 4px); border: 1px dashed rgba(244, 189, 85, .3); background: rgba(0, 0, 0, .25);
}
.lb-empty__ic { width: 40px; height: 40px; color: var(--gold); opacity: .8; }
.lb-empty__title { font: 700 20px/1.2 var(--font-display); color: var(--ink); }
.lb-empty__text { font: 400 14px/1.5 var(--font-ui); color: var(--muted); max-width: 44ch; }
.lb-empty__dym, .lb-empty__try { font: 400 14px/1.5 var(--font-ui); color: var(--muted); max-width: 44ch; }
.lb-empty__dym { color: var(--ink); }
.lb-empty__dym .lb-suggest { margin: 0 2px; }
.lb-empty__sugg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 4px; }
#lobby-root .lb-suggest {
  min-height: 36px; padding: 0 14px; border-radius: 999px; font: 600 13px/1 var(--font-ui); color: var(--gold);
  border: 1px solid rgba(244, 189, 85, .35); background: rgba(244, 189, 85, .06);
}
#lobby-root .lb-suggest:hover { background: rgba(244, 189, 85, .15); }

/* ---------- oracle market card ---------- */
.lb-mkt {
  height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 16px;
  border-radius: var(--radius, 14px); border: 1px solid rgba(180, 148, 255, .24);
  background: radial-gradient(90% 70% at 100% 0%, rgba(130, 90, 230, .18), transparent 65%), linear-gradient(180deg, #15101a, #0d0a0c);
  box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .95);
  transition: border-color .25s ease, transform .3s ease, box-shadow .3s ease;
}
@media (hover: hover) { .lb-mkt:hover, .lb-mkt:focus-within { border-color: rgba(200, 170, 255, .5); transform: translateY(-4px); box-shadow: 0 22px 36px -20px rgba(0, 0, 0, .95), 0 0 26px -10px rgba(150, 110, 255, .55); } }
.lb-mkt__top { display: flex; align-items: center; gap: 9px; }
.lb-mkt__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--lb-violet); border: 1px solid rgba(180, 148, 255, .35); background: rgba(120, 80, 200, .14); }
.lb-mkt__icon .lb-ic { width: 17px; height: 17px; }
.lb-mkt__cat { font: 700 12px/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lb-mkt__ex { margin-left: auto; font: 700 12px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--lb-violet); padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(180, 148, 255, .4); }
.lb-mkt__q { flex: 1 1 auto; font: 600 15.5px/1.4 var(--font-ui); color: var(--ink); }
.lb-mkt__odds {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px;
  font: 700 12px/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  background: #0b0806; border: 1px solid rgba(244, 189, 85, .4);
}
.lb-mkt__odds .lb-ic { width: 14px; height: 14px; }
.lb-mkt__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#lobby-root .lb-mkt__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px;
  font: 700 14px/1 var(--font-ui); border: 1px solid; transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}
#lobby-root .lb-mkt__btn--yes { color: var(--lb-yes); border-color: rgba(127, 220, 180, .35); background: rgba(127, 220, 180, .07); }
#lobby-root .lb-mkt__btn--no { color: var(--lb-no); border-color: rgba(255, 141, 107, .35); background: rgba(255, 141, 107, .07); }
#lobby-root .lb-mkt__btn--yes:hover { background: rgba(127, 220, 180, .16); border-color: var(--lb-yes); }
#lobby-root .lb-mkt__btn--no:hover { background: rgba(255, 141, 107, .16); border-color: var(--lb-no); }
.lb-mkt__btn:active { transform: scale(.97); }
/* Caption beside every redaction: the ████ is a reveal, not a missing value. */
.lb-reveal { font-weight: 500; color: var(--muted); }
.lb-eyebrow .lb-reveal { font-size: 12px; letter-spacing: .04em; text-transform: none; }

/* ---------- planned promotions (sealed, no figures) ---------- */
#lobby-root .lb-track--promos { --lb-cw: min(64vw, 260px); }
.lb-promo__open {
  position: relative; display: block; width: 100%; overflow: hidden; isolation: isolate; text-align: left;
  aspect-ratio: 16 / 9; border-radius: var(--radius, 14px); border: 1px solid transparent;
  background: #120d08 padding-box, var(--lb-edge) border-box; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.lb-promo__art { position: absolute; inset: 0; z-index: -1; }
.lb-promo__art img { width: 100%; height: 100%; object-fit: cover; }
.lb-promo__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 8, 6, .94) 8%, rgba(11, 8, 6, .5) 46%, rgba(11, 8, 6, .05) 80%); }
.lb-promo__body { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 6px; justify-items: start; }
.lb-promo__tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px;
  font: 700 10.5px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  background: rgba(11, 8, 6, .8); border: 1px solid rgba(244, 189, 85, .45);
}
.lb-promo__tag .lb-ic { width: 12px; height: 12px; }
.lb-promo__title { font: 700 18px/1.15 var(--font-display); letter-spacing: .02em; color: var(--ink); text-shadow: 0 2px 10px #000; }
@media (hover: hover) { #lobby-root .lb-promo__open:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px #000, 0 0 22px -10px rgba(255, 140, 50, .55); } }
.lb-promo__open:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* =================== breakpoints =================== */
@media (min-width: 600px) {
  #lobby-root { --lb-gutter: 24px; --lb-gap: 14px; --lb-cw: 164px; }
  #lobby-root .lb-track--xl { --lb-cw: 220px; }
  #lobby-root .lb-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 14px; }
  #lobby-root .lb-grid.lb-grid--markets { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
  .lb-favbtn__label { display: inline; }
  .lb-sec__title { font-size: 21px; }
  .lb-jp__tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lb-hall { grid-template-columns: 1fr auto; align-items: center; padding: 28px 30px; }
  .lb-hall__fan { display: block; position: relative; width: 230px; height: 190px; }
  .lb-hall__fanitem {
    position: absolute; top: 8px; left: calc(var(--k) * 62px); width: 110px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px;
    border: 1px solid transparent; background: #120d08 padding-box, var(--lb-edge) border-box;
    transform: rotate(calc((var(--k) - 1) * 9deg)) translateY(calc(var(--k) * 0px)); transform-origin: 50% 100%;
    box-shadow: 0 16px 28px -14px #000, 0 0 20px -8px rgba(255, 106, 43, .5);
  }
  .lb-hall__fanitem:nth-child(2) { z-index: 2; top: 0; }
  .lb-hall__fanitem img { width: 100%; height: 100%; object-fit: cover; }
}
@media (min-width: 768px) {
  .lb-feature { display: grid; min-height: 360px; align-items: center; }
  .lb-feature__art { position: absolute; inset: 0; aspect-ratio: auto; }
  .lb-feature__art img { object-position: 70% 50%; }
  .lb-feature__art::after { background: linear-gradient(90deg, #0b0806 0%, rgba(11, 8, 6, .92) 34%, rgba(11, 8, 6, .35) 66%, rgba(11, 8, 6, .1)), linear-gradient(0deg, rgba(11, 8, 6, .6), transparent 40%); }
  .lb-feature__body { margin: 0; padding: 30px 34px; max-width: 640px; }
  .lb-feature__title { font-size: 34px; }
  .lb-plaque__amt { font-size: 44px; }
  .lb-kbd { display: inline-block; }
  .lb-search__input { padding-right: 40px; }
}
@media (max-width: 767.98px) {
  .lb-bar__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 4px; }
  .lb-cats-wrap { margin-right: 0; }
  .lb-cats {
    padding: 8px 24px 8px var(--lb-gutter);
    -webkit-mask: linear-gradient(90deg, transparent 0, #000 var(--lb-gutter), #000 calc(100% - 22px), transparent);
            mask: linear-gradient(90deg, transparent 0, #000 var(--lb-gutter), #000 calc(100% - 22px), transparent);
  }
  #lobby-root .lb-searchtoggle { display: grid; grid-column: 2; grid-row: 1; }
  .lb-tools { display: none; }
  .lb-bar.is-search-open .lb-cats-wrap { display: none; }
  .lb-bar.is-search-open .lb-tools { display: flex; grid-column: 1; grid-row: 1; padding: 8px 0; }
  .lb-sort { display: none; }
  .lb-showing { margin-top: 10px; }
}
@media (min-width: 600px) and (max-width: 767.98px) {
  .lb-sort { display: inline-flex; }
}
@media (min-width: 768px) and (hover: hover) {
  .lb-arrows { display: inline-flex; }
}
@media (min-width: 1024px) {
  /* rails show a whole number of cards: 7 (or 8 from 1360) across the container, so they end on a card edge.
     --lb-avail is the measured container width (lobby.js); the fallback assumes no classic scrollbar. */
  #lobby-root {
    --lb-gutter: 32px; --lb-gap: 16px; --lb-n: 7; --lb-nx: 5;
    --lb-av: var(--lb-avail, calc(min(100vw, 1440px) - 2 * var(--lb-gutter)));
    --lb-c: calc((var(--lb-av) - (var(--lb-n) - 1) * var(--lb-gap)) / var(--lb-n));
    --lb-cw: var(--lb-c);
  }
  #lobby-root .lb-track--xl { --lb-cw: calc((var(--lb-av) - (var(--lb-nx) - 1) * var(--lb-gap)) / var(--lb-nx)); }
  #lobby-root .lb-track--markets { --lb-cw: 340px; }
  /* all eight halls (incl. "8 example markets") fit one row at 1440 */
  #lobby-root .lb-cat { gap: 6px; padding: 0 10px 0 9px; font-size: 13px; }
  #lobby-root .lb-grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 28px 16px; }
  .lb-sec { margin-top: 18px; }
  .lb-sec--exclusives { margin-top: 10px; }
  .lb-sec__title { font-size: 24px; }
  .lb-sec__icon { width: 44px; height: 44px; }
  .lb-bar__inner { grid-template-columns: minmax(0, 1fr); }
  .lb-feature { min-height: 400px; }
  .lb-feature__body { padding: 40px 48px; }
  .lb-feature__title { font-size: 40px; }
  .lb-hall__title { font-size: 40px; }
  .lb-hall__fan { width: 280px; height: 220px; }
  .lb-hall__fanitem { width: 128px; left: calc(var(--k) * 76px); }
  .lb-search { max-width: 460px; }
  .lb-tools { gap: 12px; }
  .lb-search__input { font-size: 15px; }
}
@media (min-width: 1024px) {
  #lobby-root .lb-track--promos { --lb-cw: calc((var(--lb-av) - 3 * var(--lb-gap)) / 4); }
  .lb-promo__open { aspect-ratio: 21 / 8; }
  .lb-promo__title { font-size: 21px; }
}
@media (min-width: 1360px) {
  #lobby-root { --lb-n: 8; --lb-nx: 7; }
}

/* ---------- split rows (All view): Jackpots / GameFi / Oracle put their banner beside the rail ---------- */
@media (max-width: 1023.98px) {
  .lb-sec--split { display: flex; flex-direction: column; }
  .lb-split__main { display: contents; }
  .lb-sec--split .lb-sec__head { order: 1; }
  .lb-sec--split > .lb-feature { order: 2; display: block; min-height: 0; margin: 10px 0 0; }
  .lb-sec--split .lb-rail { order: 3; }
  .lb-sec--split > .lb-feature .lb-feature__art { position: absolute; inset: 0; aspect-ratio: auto; }
  .lb-sec--split > .lb-feature .lb-feature__art img { object-position: 70% 40%; }
  .lb-sec--split > .lb-feature .lb-feature__art::after { background: linear-gradient(90deg, rgba(11, 8, 6, .95) 0%, rgba(11, 8, 6, .8) 48%, rgba(11, 8, 6, .2) 100%); }
  .lb-sec--split > .lb-feature .lb-feature__body { margin: 0; padding: 14px 16px 15px; gap: 7px; max-width: none; }
  .lb-sec--split > .lb-feature .lb-feature__title { font-size: 21px; }
  .lb-sec--split > .lb-feature .lb-feature__text { font-size: 13px; line-height: 1.45; max-width: 46ch; }
  #lobby-root .lb-sec--split > .lb-feature :is(.lb-jp__tiers, .lb-feature__points, .lb-btn),
  .lb-sec--split > .lb-jp .lb-feature__text { display: none; }
  .lb-sec--split .lb-jp__grand { padding: 0; border: 0; background: none; box-shadow: none; }
  .lb-sec--split .lb-plaque__amt { font-size: 24px; }
  .lb-sec--split > .lb-feature .lb-feature__text, .lb-sec--split > .lb-jp .lb-feature__title { display: none; }
  .lb-sec--split > .lb-jp .lb-feature__body { grid-template-columns: auto; padding: 12px 14px; }
}
@media (max-width: 599.98px) {
  .lb-sec__head.has-note .lb-sec__flav { display: none; }
  .lb-sec__icon { width: 34px; height: 34px; }
  .lb-sec__icon .lb-ic { width: 17px; height: 17px; }
  .lb-sec { margin-top: 16px; }
  .lb-sec--exclusives { margin-top: 10px; }
  #lobby-root .lb-track { padding-top: 6px; padding-bottom: 8px; }
  /* head: icon + title + View all on one row, the hall label full width beneath */
  .lb-sec__titles { display: contents; }
  .lb-sec__title { flex: 1 1 0; min-width: 0; }
  #lobby-root .lb-sec__blurb { order: 3; flex: 0 0 100%; margin-top: 0; font-size: 12.5px; }
  /* three-up cards: the heart sits just under the badge row (top-right), so the status badge reads in full and the baked title stays clear */
  #lobby-root .lb-fav { top: 36px; right: 6px; width: 28px; height: 28px; } /* >= 8px under the badge row */
  .lb-fav .lb-ic { width: 15px; height: 15px; }
  .lb-badge { top: 6px; left: 6px; padding: 4px 6px; font-size: 10.5px; letter-spacing: .04em; max-width: calc(100% - 12px); }
  .lb-card__top { top: 6px; left: 6px; right: 6px; gap: 4px; }
  /* the two-line title costs nothing on phones: tighter meta spacing pays for it */
  .lb-card:not(.lb-card--xl) .lb-card__body { gap: 3px; padding-top: 7px; }
}
@media (min-width: 1024px) {
  .lb-sec--split {
    --lb-k: 5;
    --lb-main: calc(var(--lb-k) * var(--lb-c) + (var(--lb-k) - 1) * var(--lb-gap));
    display: grid; grid-template-columns: minmax(0, 1fr) var(--lb-main); column-gap: var(--lb-gap); align-items: stretch;
  }
  .lb-sec--gamefi.lb-sec--split { --lb-k: 3; }
  .lb-split__main { min-width: 0; }
  .lb-sec--split .lb-rail { margin-left: 0; }
  #lobby-root .lb-sec--split .lb-track { padding-left: 0; scroll-padding-left: 0; }
  .lb-sec--split.lb-sec--jackpots .lb-sec__flav { display: none; }
  .lb-sec--split.lb-sec--gamefi .lb-sec__blurb { display: none; } /* the arena banner beside it says the same */
  #lobby-root .lb-sec--split .lb-track--markets { --lb-cw: calc((var(--lb-main) - var(--lb-gap)) / 2); }
  .lb-sec--split > .lb-feature { display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; margin: 0; }
  .lb-sec--split > .lb-feature .lb-feature__art { position: absolute; inset: 0; aspect-ratio: auto; }
  .lb-sec--split > .lb-feature .lb-feature__art img { object-position: 50% 35%; }
  .lb-sec--split > .lb-feature .lb-feature__art::after { background: linear-gradient(0deg, #0b0806 6%, rgba(11, 8, 6, .84) 44%, rgba(11, 8, 6, .1) 82%); }
  .lb-sec--split > .lb-feature .lb-feature__body { margin: 0; padding: 20px 22px 22px; gap: 10px; max-width: none; }
  .lb-sec--split > .lb-feature .lb-feature__title { font-size: 27px; }
  .lb-sec--split > .lb-feature .lb-feature__text { font-size: 13.5px; line-height: 1.5; }
  .lb-sec--split .lb-jp__tiers, .lb-sec--split > .lb-jp .lb-feature__text, .lb-sec--split > .lb-oracle .lb-feature__points { display: none; }
  .lb-sec--split .lb-jp__grand { padding: 12px 14px; }
  .lb-sec--split .lb-plaque__amt { font-size: 32px; }
}
@media (min-width: 1360px) {
  .lb-sec--split { --lb-k: 6; }
  .lb-sec--gamefi.lb-sec--split { --lb-k: 3; }
  #lobby-root .lb-sec--split .lb-track--markets { --lb-cw: calc((var(--lb-main) - 2 * var(--lb-gap)) / 3); }
}

/* =================== reduced motion =================== */
@media (prefers-reduced-motion: reduce) {
  #lobby-root *, #lobby-root *::before, #lobby-root *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .lb-card:hover, .lb-card:focus-within, .lb-mkt:hover, .lb-mkt:focus-within { transform: none !important; }
  .lb-card:hover .lb-card__frame img, .lb-card__open:focus-visible .lb-card__frame img { transform: none !important; }
  .lb-card__sweep { display: none; }
  #lobby-root .lb-promo__open:hover { transform: none; }
}
@media (forced-colors: active) {
  .lb-card__frame, .lb-mkt, .lb-cat { border: 1px solid CanvasText; }
}

/* Hall accents (pass 3, strengthened pass 4). Local to the lobby; falls back to gold. All accents >= 6.7:1 on the marble darks. */
#lobby-root { --acc-originals: 255, 138, 76; --acc-slots: 127, 178, 255; --acc-jackpots: 201, 162, 255; --acc-live: 111, 214, 200;
  --acc-tables: 95, 217, 154; --acc-markets: 180, 156, 255; --acc-gamefi: 217, 160, 102; }
#lobby-root .lb-sec--originals { --lb-acc: var(--acc-originals); }
#lobby-root .lb-sec--slots { --lb-acc: var(--acc-slots); }
#lobby-root .lb-sec--jackpots { --lb-acc: var(--acc-jackpots); }
#lobby-root .lb-sec--live { --lb-acc: var(--acc-live); }
#lobby-root .lb-sec--tables { --lb-acc: var(--acc-tables); }
#lobby-root .lb-sec--markets { --lb-acc: var(--acc-markets); }
#lobby-root .lb-sec--gamefi { --lb-acc: var(--acc-gamefi); }
#lobby-root .lb-sec .lb-sec__head { padding-bottom: 5px; margin-bottom: 0;
  background: linear-gradient(90deg, rgba(var(--lb-acc, 244, 189, 85), .85), rgba(var(--lb-acc, 244, 189, 85), 0) 75%) left bottom / 100% 2px no-repeat; }
#lobby-root .lb-sec .lb-sec__icon { color: rgb(var(--lb-acc, 244, 189, 85)); border-color: rgba(var(--lb-acc, 244, 189, 85), .65);
  background: radial-gradient(circle at 50% 35%, rgba(var(--lb-acc, 244, 189, 85), .34), rgba(var(--lb-acc, 244, 189, 85), .06) 70%);
  box-shadow: inset 0 0 0 3px rgba(11, 8, 6, .9), inset 0 0 0 4px rgba(var(--lb-acc, 244, 189, 85), .3), 0 0 18px -4px rgba(var(--lb-acc, 244, 189, 85), .45); }
#lobby-root .lb-sec .lb-sec__count { color: rgb(var(--lb-acc, 244, 189, 85)); border-color: rgba(var(--lb-acc, 244, 189, 85), .55); background: rgba(var(--lb-acc, 244, 189, 85), .1); }
#lobby-root .lb-sec .lb-viewall { color: rgb(var(--lb-acc, 244, 189, 85)); }
#lobby-root .lb-sec .lb-viewall__n { background: rgba(var(--lb-acc, 244, 189, 85), .16); }
#lobby-root .lb-cat[data-cat="originals"] { --lb-acc: var(--acc-originals); }
#lobby-root .lb-cat[data-cat="slots"] { --lb-acc: var(--acc-slots); }
#lobby-root .lb-cat[data-cat="jackpots"] { --lb-acc: var(--acc-jackpots); }
#lobby-root .lb-cat[data-cat="live"] { --lb-acc: var(--acc-live); }
#lobby-root .lb-cat[data-cat="tables"] { --lb-acc: var(--acc-tables); }
#lobby-root .lb-cat[data-cat="markets"] { --lb-acc: var(--acc-markets); }
#lobby-root .lb-cat[data-cat="gamefi"] { --lb-acc: var(--acc-gamefi); }
#lobby-root .lb-cat[aria-selected="false"] .lb-cat__ic { color: rgb(var(--lb-acc, 244, 189, 85)); opacity: 1; }
/* Halls read as rooms (pass 5): a faint wash from each hall accent behind its rail, painted as the section's own
   background so nothing moves (no positioning, padding or height change). Text stays >= 4.5:1 on the tinted dark. */
#lobby-root :is(.lb-sec--originals, .lb-sec--slots, .lb-sec--jackpots, .lb-sec--live, .lb-sec--tables, .lb-sec--markets, .lb-sec--gamefi) {
  border-radius: 14px;
  background: radial-gradient(130% 110% at 0% 0%, rgba(var(--lb-acc), .12), rgba(var(--lb-acc), .04) 50%, rgba(var(--lb-acc), 0) 78%),
    linear-gradient(180deg, rgba(var(--lb-acc), .05), rgba(var(--lb-acc), 0) 140px); }

/* Phone All view: first four rails, then "Show all halls" (pass 4). Wider screens always show every hall. */
#lobby-root .lb-showall { display: none; }
@media (max-width: 599.98px) {
  #lobby-root .lb-showall { display: flex; width: 100%; justify-content: center; gap: 8px; margin-top: 20px; }
  #lobby-root .lb-showall[aria-expanded="true"], #lobby-root #lb-more-halls:not(.is-open) { display: none; }
}
