:root {
  color-scheme: dark;
  --header-offset: 78px;
  --radius: var(--theme-radius, 16px);
  font: 100%/1.6 system-ui, sans-serif;
  scroll-padding-block: var(--header-offset) 4rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 1.125rem; overflow-wrap: anywhere; }
a { color: inherit; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(1.48rem, 3vw, 2rem); }
.frame { width: min(100% - 2rem, 73rem); margin-inline: auto; }
.skip { position: fixed; top: max(.65rem, env(safe-area-inset-top)); left: max(.65rem, env(safe-area-inset-left)); z-index: 20; padding: .6rem 1rem; background: var(--surface); }
.skip:not(:focus) { clip-path: inset(50%); }
#top:focus { outline: none; }

.masthead { position: sticky; top: 0; z-index: 10; background: var(--background); border-bottom: 1px solid var(--border); }
.bar {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: .55rem; padding-block: .6rem;
}
.logo { font-size: clamp(.95rem, 4vw, 1.65rem); font-weight: 900; line-height: 1.13; text-decoration: none; }
.logo:hover { color: var(--text); }
.menu summary {
  display: grid; place-items: center; width: 48px; min-height: 48px;
  border: 1px solid var(--border); border-radius: .65rem; background: var(--surface); color: var(--accent);
  cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-mark, .menu-mark::before, .menu-mark::after { width: 23px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-mark { position: relative; }
.menu-mark::before, .menu-mark::after { position: absolute; left: 0; content: ""; }
.menu-mark::before { top: -6px; }
.menu-mark::after { top: 6px; }
.menu[open] .menu-mark { background: transparent; }
.menu[open] .menu-mark::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-mark::after { top: 0; transform: rotate(-45deg); }
.navigation {
  position: absolute; inset: calc(100% + .35rem) 0 auto; display: grid;
  padding: .45rem; max-block-size: min(65vh, 23rem); overflow: auto;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 26px #0007;
}
.navigation a { display: flex; align-items: center; gap: .65rem; min-height: 52px; padding: .5rem .8rem; font-weight: 730; text-decoration: none; border-radius: .55rem; }
.navigation a:hover { background: var(--surfaceAlt); }
.desktop-nav { display: none; }
@media (min-width: 48rem) {
  .bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; }
  .menu { display: none; }
  .desktop-nav { display: flex; flex-wrap: wrap; justify-content: center; position: static; max-block-size: none; background: transparent; border: 0; box-shadow: none; padding: 0; overflow: visible; }
  .desktop-nav a { padding-inline: .5rem; }
}

.button {
  position: relative; align-items: center; justify-content: center; display: inline-flex; min-height: 48px;
  padding: .65rem 1rem; border: 1px solid transparent; border-radius: .72rem;
  color: var(--accentText); background: var(--accent); font-weight: 800; text-align: center; text-decoration: none;
}
.button:hover { color: var(--accentText); filter: brightness(1.12); }
.register { min-height: 52px; padding-inline: clamp(.55rem, 2.5vw, 1.4rem); max-width: 46vw; }
.secondary { background: var(--surface); border-color: var(--border); color: var(--text); }
.secondary:hover { color: var(--accent); }

.hero {
  position: relative; display: grid; min-height: 160px; margin-top: 1rem; overflow: clip;
  border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); background: var(--surface);
}
.hero-art { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, var(--surface), transparent 58%); }
.hero-copy { position: relative; padding: .15rem 1.15rem 1.3rem; }
.mode-article .hero-copy { padding-top: 1.25rem; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 4.65rem); text-wrap: balance; }
.mode-article .hero h1 { font-size: clamp(1.65rem, 7vw, 3.2rem); hyphens: auto; }
.hero p { margin-top: .65rem; color: var(--muted); max-width: 39rem; font-size: clamp(1.125rem, 2vw, 1.25rem); }
.breadcrumbs { margin-block: .8rem 0; color: var(--muted); font-size: 1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .55rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: .55rem; color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.actions:not(:empty) { margin-top: 1.1rem; }

.slots { margin-top: 2rem; }
.carousel { --tiles: 2; position: relative; display: grid; grid-template-columns: repeat(var(--tiles), minmax(0, 1fr)); gap: .75rem; margin: .9rem 0 0; padding: .18rem; list-style: none; }
.carousel.enhanced { overflow: clip; touch-action: pan-y pinch-zoom; }
.carousel li { border: 1px solid var(--border); background: var(--surface); border-radius: .85rem; overflow: clip; }
.carousel li[hidden] { display: none; }
.carousel a { display: block; text-decoration: none; }
.carousel a:focus-visible { outline-offset: -3px; }
.carousel img { width: 100%; height: auto; aspect-ratio: 298 / 326; object-fit: cover; display: block; background: var(--surfaceAlt); }
.carousel strong { display: block; padding: .68rem; min-height: 3.6rem; }

.article { width: min(100%, 56rem); margin: 2rem auto 0; }
.section + .section { margin-top: 1.8rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.section p { margin-top: .6rem; color: var(--muted); }
.section p a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: .2em; }
.toc, .faq details { border: 1px solid var(--border); background: var(--surface); border-radius: .75rem; }
.toc { margin-bottom: 1.5rem; }
.toc summary, .faq summary { cursor: pointer; min-height: 48px; padding: .7rem 1rem; font-weight: 750; }
.toc summary::marker, .faq summary::marker { color: var(--accent); }
.toc ul { margin: 0; padding: .15rem 1rem .75rem 2rem; }
.toc a { display: inline-block; padding-block: .3rem; }
.faq { padding-right: var(--top-reserve, 0); }
.faq details { margin-top: .5rem; }
.faq details p { padding: 0 1rem .8rem; }
.footer { margin-top: 3rem; border-top: 1px solid var(--border); padding-block: 1.25rem 5.2rem; color: var(--muted); }
.footer-inner, .footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; }
.footer-inner .logo { color: var(--text); }
.top-link {
  position: fixed; z-index: 5; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--accent);
}
.top-link.hidden { visibility: hidden; }
.top-link span { position: relative; width: 20px; height: 20px; }
.top-link span::before, .top-link span::after { position: absolute; content: ""; }
.top-link span::before { top: 3px; left: 5px; width: 10px; height: 10px; border-top: 2px solid; border-left: 2px solid; transform: rotate(45deg); }
.top-link span::after { inset: 2px 9px 2px auto; border-left: 2px solid; }

@media (min-width: 40rem) {
  .hero { min-height: 22rem; align-items: center; }
  .mode-article .hero { min-height: 13rem; }
  .hero > .hero-art { position: absolute; inset: 0 0 0 25%; aspect-ratio: auto; }
  .hero > .hero-art::after { background: linear-gradient(90deg, var(--surface), color-mix(in srgb, var(--surface) 88%, transparent) 32%, transparent 90%); }
  .hero-copy, .mode-article .hero-copy { padding: clamp(1.5rem, 5vw, 3.5rem); max-width: 46rem; }
  .carousel { --tiles: 3; }
}
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  .shine { isolation: isolate; overflow: hidden; }
  .shine::after {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; content: "";
    background: linear-gradient(110deg, transparent 38%, #ffffff72 50%, transparent 62%);
    animation: shine 6s ease-in-out infinite;
  }
  .shine:hover::after, .shine:focus-visible::after { visibility: hidden; }
  @keyframes shine { 0%, 45% { transform: translateX(-110%); } 62%, 100% { transform: translateX(110%); } }
}
.section blockquote { margin: 1rem 0 0; padding: .8rem 1rem; border-inline-start: .22rem solid var(--accent); background: var(--surface); }
.section ul { padding-inline-start: 1.4rem; color: var(--muted); }
.table-wrap { margin-top: 1rem; overflow-x: auto; }
.table-wrap table { width: 100%; min-width: 24rem; border-collapse: collapse; }
.table-wrap caption { text-align: start; font-weight: 750; padding: .4rem 0; }
.table-wrap th, .table-wrap td { padding: .65rem; border: 1px solid var(--border); text-align: start; vertical-align: top; }
.table-wrap th { background: var(--surface); }

[data-type="serif"] h1, [data-type="serif"] h2 {
  font-family: Georgia, serif;
  font-weight: 720;
  letter-spacing: -.035em;
}
[data-wordmark="split"] .logo .mark-first {
  display: inline-block;
  padding: .26em .4em;
  border: 1px solid color-mix(in srgb, var(--detail), var(--text) 20%);
  border-radius: .24rem .9rem .24rem .24rem;
  background: color-mix(in srgb, var(--detail) 42%, var(--background));
}
[data-wordmark="frame"] .logo {
  width: fit-content;
  max-width: 100%;
  padding: .25rem .5rem;
  border: 1px solid var(--border);
  border-radius: .45rem;
}
[data-heading="line"] :is(.hero h1,.section h2,.slots h2)::after,
[data-heading="split"] :is(.hero h1,.section h2,.slots h2)::after,
[data-heading="rule"] :is(.hero h1,.section h2,.slots h2)::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 3px;
  margin-top: .55rem;
  border-radius: 2px;
  background: var(--accent);
}
[data-heading="split"] :is(.hero h1,.section h2,.slots h2)::after {
  width: 4.2rem;
  background: linear-gradient(90deg, var(--detail) 65%, transparent 65% 72%, var(--accent) 72%);
}
[data-heading="rule"] :is(.hero h1,.section h2,.slots h2)::after {
  width: 5.2rem;
  height: 5px;
  background: none;
  border-top: 1px solid var(--detail);
  border-bottom: 1px solid var(--accent);
}
[data-heading="bar"] :is(.hero h1,.section h2,.slots h2) {
  padding-inline-start: .68rem;
  border-inline-start: .26rem solid var(--detail);
}
[data-heading="capsule"] :is(.hero h1,.section h2,.slots h2)::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: .42rem;
  margin-bottom: .45rem;
  border-radius: 1rem;
  background: var(--detail);
}
[data-panel="band"] .carousel li { border-top: 3px solid var(--detail); }
[data-panel="corner"] :is(.toc,.carousel li,.faq details) {
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--detail) 12%, transparent), transparent 30%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--detail) 42%, transparent);
}

@media (max-width: 24rem) {
  .bar { width: calc(100% - 1rem); gap: .32rem; }
  .logo { font-size: clamp(.85rem, 4vw, 1.15rem); }
}

/* Icons use a shared optical size, with a different vocabulary per lobby. */
.brand-icon {
  --stroke: 1.65px;
  position: relative; display: inline-block; flex: 0 0 24px; width: 24px; height: 24px;
  color: var(--accent);
}
.brand-icon::before, .brand-icon::after { position: absolute; content: ""; }
.icon-grid::before { inset: 3px; border: var(--stroke) solid; border-radius: 4px; background: linear-gradient(currentColor,currentColor) center / 1px 100% no-repeat, linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat; }
.icon-ticket::before { inset: 5px 2px; border: var(--stroke) solid; border-radius: 5px; }
.icon-ticket::after { inset: 7px 8px 7px auto; border-left: var(--stroke) dashed; }
.icon-door::before { top: 3px; bottom: 3px; left: 3px; width: 11px; border: var(--stroke) solid; border-right: 0; border-radius: 3px 0 0 3px; }
.icon-door::after { top: 11px; left: 10px; width: 11px; height: 6px; border-top: var(--stroke) solid; border-right: var(--stroke) solid; }
.icon-chat::before { inset: 3px 3px 5px; border: var(--stroke) solid; border-radius: 6px; }
.icon-chat::after { width: 5px; height: 5px; bottom: 3px; left: 6px; border-left: var(--stroke) solid; border-bottom: var(--stroke) solid; transform: skewY(-32deg); background: var(--surface); }
.icon-gift::before { inset: 8px 3px 3px; border: var(--stroke) solid; border-radius: 3px; }
.icon-gift::after { top: 3px; bottom: 3px; left: 11px; border-left: var(--stroke) solid; }
.icon-dice::before { inset: 3px; border: var(--stroke) solid; border-radius: 4px; background: radial-gradient(circle at 25% 25%, currentColor 1.2px, transparent 1.4px), radial-gradient(circle at 50% 50%, currentColor 1.2px, transparent 1.4px), radial-gradient(circle at 75% 75%, currentColor 1.2px, transparent 1.4px); }
.icon-flag::before { left: 5px; top: 4px; bottom: 3px; border-left: var(--stroke) solid; }
.icon-flag::after { top: 4px; left: 6px; width: 14px; height: 10px; background: currentColor; clip-path: polygon(0 0,100% 0,75% 50%,100% 100%,0 100%); }
.icon-shield::before { inset: 3px 4px 3px; background: currentColor; clip-path: polygon(50% 0,100% 19%,92% 64%,50% 100%,8% 64%,0 19%); }
.icon-shield::after { top: 9px; left: 10px; width: 5px; height: 7px; border-bottom: 2px solid var(--surface); border-right: 2px solid var(--surface); transform: rotate(38deg); }
.icon-bell::before { inset: 4px 6px 6px; border: var(--stroke) solid; border-radius: 9px 9px 4px 4px; }
.icon-bell::after { bottom: 3px; left: 10px; width: 4px; height: 2px; border-radius: 100%; background: currentColor; }
.icon-ribbon::before { inset: 9px 3px 3px; border: var(--stroke) solid; border-radius: 3px; background: linear-gradient(currentColor,currentColor) center / 1.5px 100% no-repeat; }
.icon-ribbon::after { inset: 3px 6px auto; height: 7px; border: var(--stroke) solid; border-radius: 7px 7px 3px 3px; }
.icon-berry::before { inset: 6px 5px 3px; border: var(--stroke) solid; border-radius: 7px 7px 10px 10px; background: radial-gradient(circle at 32% 38%, currentColor 1px, transparent 1.2px),radial-gradient(circle at 68% 42%,currentColor 1px,transparent 1.2px),radial-gradient(circle at 50% 70%,currentColor 1px,transparent 1.2px); }
.icon-berry::after { top: 3px; left: 10px; width: 6px; height: 4px; border-top: var(--stroke) solid var(--detail); transform: rotate(-20deg); }
.icon-phone::before { inset: 2px 6px; border: var(--stroke) solid; border-radius: 4px; }
.icon-phone::after { left: 10px; bottom: 5px; width: 4px; height: 1.5px; background: currentColor; }
.icon-key::before { inset: 3px auto auto 3px; width: 9px; height: 9px; border: var(--stroke) solid; border-radius: 50%; }
.icon-key::after { left: 9px; top: 13px; width: 12px; height: 5px; border-top: var(--stroke) solid; border-right: var(--stroke) solid; transform: rotate(43deg); }
.icon-gem::before { inset: 4px 3px 3px; background: currentColor; clip-path: polygon(23% 0,77% 0,100% 34%,50% 100%,0 34%); }
.icon-gem::after { top: 11px; left: 7px; width: 10px; height: 1px; background: var(--surface); }
.icon-coin::before { inset: 3px; border: var(--stroke) solid; border-radius: 50%; }
.icon-coin::after { inset: 7px; border: 1px solid; border-radius: 50%; }
.icon-arch::before { inset: 3px 5px; border: var(--stroke) solid; border-radius: 9px 9px 2px 2px; }
.icon-arch::after { left: 9px; top: 8px; width: 6px; height: 12px; border-left: var(--stroke) solid; border-top: var(--stroke) solid; border-radius: 5px 0 0; }
.icon-book::before { inset: 5px 3px; border: var(--stroke) solid; border-radius: 3px; background: linear-gradient(currentColor,currentColor) center / 1px 100% no-repeat; }
.icon-book::after { inset: 9px 6px auto; height: 1px; background: currentColor; }
.icon-compass::before { inset: 3px; border: var(--stroke) solid; border-radius: 50%; }
.icon-compass::after { inset: 7px; background: currentColor; clip-path: polygon(92% 8%,60% 62%,8% 92%,39% 39%); }
.icon-map::before { inset: 4px 2px; background: currentColor; clip-path: polygon(0 12%,34% 0,67% 12%,100% 0,100% 86%,67% 100%,34% 86%,0 100%,0 12%,9% 17%,9% 89%,34% 78%,67% 91%,91% 81%,91% 13%,67% 22%,34% 10%,9% 19%); }
.icon-sun::before { inset: 7px; border: var(--stroke) solid; border-radius: 50%; }
.icon-sun::after { inset: 2px; background: repeating-conic-gradient(from 2deg,currentColor 0deg 7deg,transparent 7deg 45deg); mask: radial-gradient(transparent 58%,#000 60%); }
.icon-beacon::before { top: 5px; left: 8px; width: 8px; height: 8px; border: var(--stroke) solid; border-radius: 50%; }
.icon-beacon::after { bottom: 4px; left: 5px; width: 14px; height: 5px; border: var(--stroke) solid; border-radius: 4px; }

.rio-lobby, .lev-front, .club-promo, .gold-salon, .eldo-entry { margin-top: 1rem; }
.rio-feature, .club-cover, .eldo-entry { position: relative; isolation: isolate; overflow: clip; border-radius: var(--radius); }
.rio-feature { background: var(--surface); border: 1px solid var(--border); }
.rio-feature .hero-copy { padding: .8rem 1rem 1.2rem; }
.rio-rail, .lev-shelf, .gold-portals, .eldo-index { display: grid; gap: .55rem; }
.rio-rail { grid-template-columns: 1fr 1fr; margin-top: .65rem; }
:is(.rio-rail,.lev-shelf,.gold-portals,.eldo-index) a {
  display: flex; align-items: center; gap: .55rem; min-height: 53px; padding: .6rem;
  text-decoration: none; font-weight: 720; border: 1px solid var(--border); border-radius: .6rem;
  background: var(--surface);
}
.rio-rail a { border-left: 3px solid var(--accent); }
.rio-feature h1, .club-cover h1, .eldo-title h1 { font-size: clamp(2.35rem, 7vw, 4.85rem); }
.rio-feature p, .club-cover p, .eldo-title p, .lev-title p, .gold-plate p { margin-top: .55rem; color: var(--muted); }
.rio-rail .brand-icon { color: var(--accent); }

.lev-heading {
  display: grid; grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--border); border-bottom: 3px solid var(--detail); background: var(--surface);
}
.lev-title { padding: 1.18rem .9rem; align-self: center; }
.lev-title h1 { font-size: clamp(2.8rem, 8vw, 5.3rem); }
.lev-heading .hero-art { grid-row: 1; aspect-ratio: 2.45 / 1; }
.lev-heading .hero-art img { object-position: 76% top; }
.lev-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .75rem; }
.lev-shelf a { border-radius: .2rem; border-bottom: 2px solid var(--detail); }

.club-promo { display: grid; gap: .7rem; }
.club-cover {
  min-height: clamp(19rem, 80vw, 34rem); display: grid; align-items: end;
  border: 1px solid var(--border); background: var(--surface);
}
.club-cover .hero-art, .eldo-entry .hero-art { position: absolute; z-index: -1; inset: 0; aspect-ratio: auto; }
.club-cover .hero-art img { object-position: 72% 45%; }
.club-cover .hero-art::after { background: linear-gradient(0deg, #180b17 3%, #180b17e4 25%, #180b174f 60%, transparent 93%); }
.club-cover .hero-copy { padding: 1.45rem 1.05rem; }
.club-promo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.club-promo-cards a {
  display: grid; gap: .2rem; min-height: 112px; padding: .75rem;
  border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none;
  background: color-mix(in srgb, var(--accent) 15%, var(--surface));
}
.club-promo-cards a > span:last-child { color: var(--muted); font-size: 1rem; }
.club-promo-cards .club-mobile { border-color: color-mix(in srgb, var(--detail) 52%, var(--surface)); background: color-mix(in srgb, var(--detail) 13%, var(--surface)); }
.club-mobile .brand-icon { color: var(--detail); }

.gold-salon { border: 1px solid var(--border); padding: .38rem; background: var(--surface); }
.gold-plate {
  display: grid; align-content: center; justify-items: center; min-height: 13rem; padding: 1.15rem .65rem;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--surface)); text-align: center;
}
.gold-plate h1 { font-size: clamp(2.5rem, 6vw, 5.3rem); }
.gold-plate h1::after {
  content: ""; display: block; width: 4.4rem; height: 5px; margin: .55rem auto 0;
  border-block: 1px solid var(--accent);
}
.gold-salon .hero-art { aspect-ratio: 2.5 / 1; }
.gold-salon .hero-art::after { background: linear-gradient(180deg,var(--surface),transparent 40%); }
.gold-salon .hero-art img { object-position: 66% 56%; }
.gold-portals { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .75rem; }
.gold-portals a { border-radius: 0; min-height: 64px; }

.eldo-entry {
  display: grid; align-items: end; min-height: clamp(16rem, 73vw, 30rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: .4rem;
}
.eldo-entry .hero-art::after { background: linear-gradient(90deg, #0b1915ec, #0b1915b3 52%, #0b191544); }
.eldo-entry .hero-art img { object-position: 62% center; }
.eldo-title { padding: 1.2rem .95rem 1.15rem; }
.eldo-title h1 { border-left: 4px double var(--detail); padding-inline-start: .55rem; }
.eldo-index { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
.eldo-index a { border-radius: .25rem; border-left: 2px solid var(--detail); }
[data-layout="eldorado"] .brand-icon { color: var(--detail); }

@media (max-width: 56rem) {
  [data-layout="rio"] .navigation, [data-layout="clubnika"] .navigation { grid-template-columns: repeat(2,minmax(0,1fr)); }
  [data-layout="lev"] .navigation a { border-bottom: 1px solid var(--border); border-radius: 0; }
  [data-layout="gold"] .navigation a { border: 1px solid var(--border); border-radius: 0; margin-bottom: .28rem; }
  [data-layout="eldorado"] .navigation a { border-inline-start: 2px solid var(--detail); }
}
@media (min-width: 42rem) {
  .rio-lobby { display: grid; grid-template-columns: minmax(0,3fr) minmax(12rem,1fr); gap: .85rem; }
  .rio-feature { min-height: 22rem; display: grid; align-items: center; }
  .rio-feature .hero-art { position: absolute; z-index: -1; inset: 0 0 0 14%; aspect-ratio: auto; }
  .rio-feature .hero-art::after { background: linear-gradient(90deg,var(--surface),#101729bc 45%,transparent); }
  .rio-feature .hero-copy { max-width: 34rem; padding: 2rem 1.8rem; }
  .rio-rail { grid-template-columns: 1fr; margin-top: 0; }
  .rio-rail a { padding-inline: 1rem; }

  .lev-heading { grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); min-height: 20rem; }
  .lev-title { padding: 2.2rem; }
  .lev-heading .hero-art { grid-column: 2; min-height: 100%; aspect-ratio: auto; }
  .lev-heading .hero-art img { object-position: 76% center; }
  .lev-heading .hero-art::after { background: linear-gradient(90deg, var(--surface), transparent 66%); }
  .lev-shelf, .gold-portals { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .club-promo { grid-template-columns: minmax(0,3fr) minmax(12rem,1fr); }
  .club-cover { min-height: 24rem; }
  .club-cover .hero-copy { padding: 1.65rem; }
  .club-promo-cards { grid-template-columns: 1fr; }
  .club-promo-cards a { align-content: center; padding-inline: 1rem; }

  .gold-salon { display: grid; grid-template-columns: 1fr 1fr; min-height: 17rem; }
  .gold-salon .hero-art { aspect-ratio: auto; min-height: 100%; }
  .gold-salon .hero-art::after { background: linear-gradient(90deg,var(--surface),transparent 43%); }

  .eldo-entry { min-height: 26rem; align-items: center; }
  .eldo-title { max-width: 33rem; padding: 2rem; }
  .eldo-floor { display: grid; grid-template-columns: minmax(0,3fr) minmax(12rem,1fr); gap: 1rem; align-items: start; }
  .eldo-index { grid-template-columns: 1fr; margin-top: 4.5rem; }
}

.rio-feature h1 { padding-inline-start: .55rem; border-inline-start: 4px solid var(--accent); }
[data-layout="lev"] .logo, .lev-title h1 { text-transform: uppercase; }
.lev-title h1 { font-family: system-ui, sans-serif; font-weight: 900; letter-spacing: .035em; }
[data-layout="clubnika"] .logo {
  color: #74e6ff;
  border-color: #3ca7bd;
  text-shadow: 0 0 .65rem #00cfff75;
}
.club-cover h1 { color: #e8fbff; text-shadow: 0 0 1.15rem #04c9f66b; }
.club-cover .hero-art::after { background: linear-gradient(0deg,#170d25 3%,#170d25e5 27%,#170d254f 65%,transparent 93%); }
[data-layout="gold"] .logo .mark-first {
  border: 0;
  background: none;
  color: var(--accent);
  text-transform: uppercase;
  padding-inline: 0;
}
.eldo-entry .hero-art::after { background: linear-gradient(90deg, #130f08ed, #130f08b5 49%, #130f083d); }
.icon-envelope::before { inset: 5px 3px; border: var(--stroke) solid; border-radius: 4px; }
.icon-envelope::after { top: 6px; left: 7px; width: 10px; height: 7px; border-right: var(--stroke) solid; border-bottom: var(--stroke) solid; transform: rotate(45deg); }

.frame { width: min(100% - max(1rem,env(safe-area-inset-left)) - max(1rem,env(safe-area-inset-right)), 73rem); }
.masthead { padding-top: env(safe-area-inset-top); }
.footer { padding-bottom: max(5.2rem, calc(env(safe-area-inset-bottom) + 4.2rem)); }

.mode-home .slots {
  padding: clamp(.85rem, 3vw, 1.6rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--surface) 16%,
              color-mix(in srgb, var(--surface) 92%, transparent) 46%,
              color-mix(in srgb, var(--surface) 21%, transparent) 79%, transparent),
              var(--panel-art, none) right center / cover no-repeat, var(--surface);
}
.slots-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; }
.shelf-catalog {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: .75rem;
  border: 1px solid var(--border); border-radius: .55rem; background: var(--surface);
  text-underline-offset: .2em; color: var(--accent); font-weight: 750;
}
.mode-home .carousel { --active-tiles: 2; max-width: 39rem; margin-inline: auto; }
.mode-home .carousel.enhanced { --tiles: var(--active-tiles); }
.carousel .slot-copy { display: grid; align-content: space-between; gap: .27rem; min-block-size: 4.65rem; padding: .62rem; }
.carousel .slot-copy strong { min-height: 0; padding: 0; }
.carousel .slot-copy > span { color: var(--accent); font-size: 1rem; font-weight: 650; }
.carousel .slot-exit { position: absolute; z-index: 1; pointer-events: none; }
.carousel .slot-exit img { margin: 0; }

.section :is(ul,ol) { padding-inline-start: 1.6rem; color: var(--muted); }
.section :is(ul,ol) li + li { margin-top: .32rem; }
.section :is(ul,ol) li::marker { color: var(--accent); font-weight: 750; }
.section blockquote {
  margin: 1.1rem 0 0;
  padding: clamp(.85rem,3vw,1.3rem) clamp(1rem,3.8vw,1.65rem);
  border: 1px solid var(--border);
  border-inline-start: .25rem solid var(--detail);
  border-radius: .2rem .85rem .85rem .2rem;
  background: linear-gradient(90deg, var(--surface) 35%,
              color-mix(in srgb, var(--surface) 88%, transparent) 76%,
              color-mix(in srgb, var(--surface) 73%, transparent)),
              var(--panel-art, none) right center / cover no-repeat, var(--surface);
}
.section blockquote p { margin: 0; color: var(--text); font-style: italic; line-height: 1.65; }
.section strong { color: var(--text); }
.section mark {
  color: var(--text);
  background: color-mix(in srgb,var(--accent) 23%,var(--surface));
  padding: .05em .24em; border-radius: .16em;
}
.table-hint { color: var(--muted); font-size: 1rem; }
.table-wrap table { min-width: 0; table-layout: fixed; }
.table-wrap.wide-table table { min-inline-size: max(100%, calc(var(--table-cols) * 9.5rem)); }
.table-wrap caption { text-wrap: balance; }
.table-wrap :is(th,td) { overflow-wrap: anywhere; hyphens: auto; }
.table-wrap tbody tr:nth-child(even) td { background: color-mix(in srgb,var(--surface) 74%,var(--background)); }
.table-wrap th[scope="row"] { font-weight: 680; }
.wide-table tr > th:first-child { position: sticky; inset-inline-start: 0; width: min(7rem, 34vw); }
.wide-table thead th:first-child { z-index: 1; }
.table-wrap.short-table th:first-child { width: 39%; }
.table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

@media (max-width: 24rem) {
  .bar { width: min(100% - 1rem, 100% - env(safe-area-inset-left) - env(safe-area-inset-right)); }
}

@media (min-width: 48rem) {
  .rio-lobby { grid-template-columns: minmax(0, 1fr); }
  .rio-rail, .lev-shelf { display: none; }
}

.mode-home .slots { container-type: inline-size; }
.shelf-note {
  padding: .8rem 1rem;
  margin-top: .9rem;
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--detail);
  border-radius: .55rem;
  background: color-mix(in srgb,var(--surface) 90%, transparent);
}
.shelf-note h3 { margin: 0 0 .28rem; font-size: 1.12rem; }
.shelf-note p { color: var(--muted); line-height: 1.52; }
@container (min-width: 46rem) {
  .shelf-layout { display: grid; grid-template-columns: minmax(0, 39rem) minmax(13rem, 1fr); align-items: end; gap: .85rem 1.2rem; }
  .shelf-layout .carousel { width: 100%; }
  .shelf-note { max-width: 20rem; margin-top: 0; }
}

.slot-intro, .facts, .offer-status { margin-block: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.slot-intro { display: grid; grid-template-columns: minmax(0, clamp(4.5rem, 25vw, 7rem)) minmax(0, 1fr); align-items: center; gap: .75rem; }
.slot-intro h1 { font-size: clamp(1.6rem, 5vw, 3rem); }
.demo-cover { position: relative; margin: 0; padding: 0; border: 0; border-radius: .6rem; overflow: hidden; background: var(--background); color: var(--text); text-align: center; }
button.demo-cover { cursor: pointer; }
.demo-cover img { display: block; width: 100%; height: auto; }
.demo-cover :is(span,figcaption) { display: block; padding: .25rem; font-size: .875rem; line-height: 1.2; }
button.demo-cover:is(:hover,:focus-visible) img { opacity: .7; }
.slot-intro > :is(.slot-bonus, .slot-lead, #slot-player) { grid-column: 1 / -1; }
.slot-lead { max-width: 46rem; margin: 0; color: var(--muted); }
.slot-bonus, .demo-target iframe { width: 100%; }
.demo-target iframe { display: block; height: auto; aspect-ratio: 16 / 9; border: 0; }
#slot-player .slot-bonus { margin-top: .75rem; }
.facts dl { margin: .6rem 0; }
.facts dl div { display: grid; grid-template-columns: minmax(6rem, 30%) minmax(0, 1fr); gap: .65rem; padding-block: .45rem; border-bottom: 1px solid var(--border); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
@media (max-width: 26rem) {
  .facts dl div { grid-template-columns: minmax(0, 1fr); gap: .12rem; }
}

.slot-bonus { position: relative; overflow: hidden; text-align: center; }
.slot-bonus::after { content: ""; pointer-events: none; position: absolute; inset: 0 0 0 auto; width: min(20%, 5rem); background: var(--bonus-art, none) right center / auto 160% no-repeat; mask-image: linear-gradient(90deg, transparent, black 60%); }
.related-games .carousel { --active-tiles: 1; max-width: 32rem; }
.related-games .carousel:has(li:nth-child(3)) { --active-tiles: 2; }
.related-games .carousel.enhanced { --tiles: var(--active-tiles); }
.faq > h2 {
  position: relative; isolation: isolate; overflow: clip;
  min-block-size: 3.25rem;
  padding: .6rem .8rem; border-radius: .55rem; background: var(--surface);
}
.faq-art {
  position: absolute; z-index: -1; inset: 0 0 0 auto; inline-size: min(45%, 25rem); pointer-events: none;
  background: linear-gradient(90deg, var(--surface),
              color-mix(in srgb, var(--surface) 68%, transparent) 27%, transparent 73%),
              var(--panel-art, none) right 48% / cover no-repeat, var(--surface);
}
