/* Ludibre visual refresh — arcade gallery, September 2026 */
:root {
  --lu-bg: #07111f;
  --lu-panel: #0d1829;
  --lu-panel-strong: #14243a;
  --lu-line: rgba(139, 151, 190, .18);
  --lu-lime: #39dc86;
  --lu-aqua: #48c9ff;
  --lu-coral: #ff5263;
  --lu-gold: #ffc968;
  --lu-shadow: 0 24px 64px -34px rgba(0, 0, 0, .92);
}

body {
  background-color: var(--lu-bg);
  background-image:
    radial-gradient(900px 520px at 7% -8%, rgba(72, 201, 255, .13), transparent 66%),
    radial-gradient(850px 540px at 96% 4%, rgba(255, 82, 99, .09), transparent 68%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

header.sticky.top-0 {
  border-color: rgba(132, 145, 185, .16);
  background: rgba(7, 8, 18, .78);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

header.sticky.top-0 > div > a:first-child svg {
  filter: drop-shadow(0 7px 18px rgba(69, 221, 255, .22));
  transition: transform .24s ease, filter .24s ease;
}

header.sticky.top-0 > div > a:first-child:hover svg {
  transform: rotate(-5deg) scale(1.05);
  filter: drop-shadow(0 8px 22px rgba(194, 255, 69, .34));
}

header nav a {
  border: 1px solid transparent;
}

header nav a.bg-ink-800,
header nav a:hover {
  border-color: var(--lu-line);
  background: rgba(21, 24, 42, .82);
}

.container-lu,
.container-article {
  max-width: 1280px;
}

.surface {
  border-color: var(--lu-line);
  background: rgba(15, 18, 32, .78);
  box-shadow: var(--lu-shadow), inset 0 1px 0 rgba(255, 255, 255, .025);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn-primary {
  color: #091006;
  background: var(--lu-lime);
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: 0 12px 26px -15px rgba(194, 255, 69, .9), inset 0 1px 0 rgba(255, 255, 255, .45);
  font-weight: 750;
}

.btn-primary:hover {
  background: #d8ff83;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -18px rgba(194, 255, 69, 1), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.btn-ghost {
  border-color: var(--lu-line);
  background: rgba(21, 24, 42, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.btn-ghost:hover {
  border-color: rgba(194, 255, 69, .32);
  background: rgba(27, 31, 52, .94);
  color: #fff;
}

.btn-gold {
  box-shadow: 0 14px 30px -18px rgba(255, 201, 94, .85), inset 0 1px 0 rgba(255, 255, 255, .42);
}

.chip {
  border-color: var(--lu-line);
  background: rgba(21, 24, 42, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

input[type="search"],
select {
  min-height: 42px;
  border-color: rgba(139, 151, 190, .23) !important;
  background-color: rgba(7, 8, 18, .82) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 9px 22px -18px #000;
}

input[type="search"]:focus,
select:focus {
  border-color: rgba(194, 255, 69, .72) !important;
  box-shadow: 0 0 0 3px rgba(194, 255, 69, .11);
}

main > section:first-of-type {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

main > section:first-of-type::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  right: -150px;
  top: -210px;
  border: 1px solid rgba(69, 221, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(69, 221, 255, .018), 0 0 0 128px rgba(194, 255, 69, .012);
}

main h1,
main h2 {
  text-wrap: balance;
}

main > section:first-of-type h1 {
  letter-spacing: -.045em;
  text-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}

main > section:first-of-type .group.relative.block {
  border-color: rgba(69, 221, 255, .24);
  background: var(--lu-panel);
  box-shadow: 0 34px 80px -38px rgba(69, 221, 255, .44), 0 24px 58px -30px #000;
}

main > section:first-of-type .group.relative.block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

main > section:first-of-type .group.relative.block img {
  filter: saturate(1.18) contrast(1.06) brightness(1.03);
}

section .grid > a.group.rounded-2xl:not([href^="/games/"]) {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  border-color: var(--lu-line);
  background: rgba(15, 18, 32, .76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

section .grid > a.group.rounded-2xl:not([href^="/games/"])::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  right: -38px;
  bottom: -42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .11;
  transition: transform .25s ease, opacity .25s ease;
}

section .grid > a.group.rounded-2xl:not([href^="/games/"]):hover {
  border-color: currentColor;
  background: rgba(21, 24, 42, .92);
  box-shadow: 0 20px 42px -27px currentColor, inset 0 1px 0 rgba(255, 255, 255, .04);
}

section .grid > a.group.rounded-2xl:not([href^="/games/"]):hover::after {
  opacity: .22;
  transform: scale(1.16);
}

article.group.relative { --game-accent: var(--lu-aqua); }
article.group.relative:has(> a[href*="neon-snake"]) { --game-accent: #bfff4a; }
article.group.relative:has(> a[href*="merge-2048"]) { --game-accent: #ffcf5b; }
article.group.relative:has(> a[href*="orbital-bricks"]) { --game-accent: #58e4ff; }
article.group.relative:has(> a[href*="cosmic-memory"]) { --game-accent: #a989ff; }
article.group.relative:has(> a[href*="nova-minesweeper"]) { --game-accent: #ff6f8f; }
article.group.relative:has(> a[href*="prism-bubbles"]) { --game-accent: #ff75d8; }
article.group.relative:has(> a[href*="tetra-drop"]) { --game-accent: #43d7ff; }
article.group.relative:has(> a[href*="pulsar-rocket"]) { --game-accent: #ff7a59; }
article.group.relative:has(> a[href*="lumen-sudoku"]) { --game-accent: #7dffcf; }
article.group.relative:has(> a[href*="halogen-run"]) { --game-accent: #ffe25c; }
article.group.relative:has(> a[href*="paddle-duel"]) { --game-accent: #70a7ff; }
article.group.relative:has(> a[href*="orchard-gems"]) { --game-accent: #76f28c; }
article.group.relative:has(> a[href*="asteroid-belt"]) { --game-accent: #ff8474; }
article.group.relative:has(> a[href*="four-in-a-row"]) { --game-accent: #ffce4a; }
article.group.relative:has(> a[href*="nebula-slider"]) { --game-accent: #af8cff; }

article.group.relative > a.block {
  position: relative;
  height: 100%;
  border-color: var(--lu-line);
  border-radius: 18px;
  background: rgba(15, 18, 32, .92);
  box-shadow: 0 18px 50px -34px #000, inset 0 1px 0 rgba(255, 255, 255, .025);
  transform: translateZ(0);
}

article.group.relative > a.block::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 99px 99px 0 0;
  background: var(--game-accent);
  opacity: .56;
  box-shadow: 0 0 18px var(--game-accent);
  transition: opacity .24s ease, left .24s ease, right .24s ease;
}

article.group.relative > a.block:hover {
  border-color: color-mix(in srgb, var(--game-accent) 56%, transparent);
  box-shadow: 0 26px 58px -31px color-mix(in srgb, var(--game-accent) 46%, #000), 0 22px 48px -34px #000;
  transform: translateY(-5px);
}

article.group.relative > a.block:hover::after {
  left: 0;
  right: 0;
  opacity: .95;
}

article.group.relative > a.block > div:first-child {
  background: #080a14;
}

article.group.relative > a.block > div:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 8, 18, .34), transparent 48%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .045);
}

article.group.relative > a.block img {
  filter: saturate(1.2) contrast(1.07) brightness(.98);
}

article.group.relative > a.block:hover img {
  filter: saturate(1.34) contrast(1.08) brightness(1.05);
}

article.group.relative > a.block .group-hover\:opacity-100 > span {
  color: #07100d;
  background: var(--game-accent);
  box-shadow: 0 0 0 7px rgba(7, 8, 18, .42), 0 12px 34px -8px var(--game-accent);
}

article.group.relative > a.block h3 {
  font-size: 1rem;
  letter-spacing: -.015em;
}

article.group.relative > a[href^="/categories/"] {
  border: 1px solid color-mix(in srgb, var(--game-accent) 32%, transparent);
  background: rgba(7, 8, 18, .76);
  color: #f7f8ff;
  box-shadow: 0 8px 20px -14px #000;
}

article.group.relative > button {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(7, 8, 18, .76);
}

article.group.relative > button:hover,
article.group.relative > button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--game-accent) 60%, transparent);
  color: var(--game-accent);
  background: rgba(7, 8, 18, .94);
}

main [class*="sticky"][class*="top-16"] {
  border-color: rgba(139, 151, 190, .22) !important;
  background: rgba(10, 12, 23, .88) !important;
  box-shadow: 0 18px 48px -30px #000, inset 0 1px 0 rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

main [class*="sticky"][class*="top-16"] button[aria-pressed="false"] {
  border-color: rgba(139, 151, 190, .2);
  background: rgba(21, 24, 42, .62);
}

main [class*="sticky"][class*="top-16"] button[aria-pressed="true"] {
  border-color: rgba(194, 255, 69, .62);
  color: #091006;
  background: var(--lu-lime);
  box-shadow: 0 9px 24px -15px rgba(194, 255, 69, .9);
}

.surface.overflow-hidden.bg-ink-900 {
  border-color: rgba(69, 221, 255, .24);
  background: #0b0d18;
  box-shadow: 0 30px 80px -42px rgba(69, 221, 255, .55), 0 24px 58px -38px #000, inset 0 1px 0 rgba(255, 255, 255, .045);
}

.surface.overflow-hidden.bg-ink-900 > .relative.bg-ink-950 {
  border-block: 1px solid rgba(139, 151, 190, .12);
  background: #05060b;
}

.surface.overflow-hidden.bg-ink-900 > .relative.bg-ink-950::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 50px rgba(69, 221, 255, .055), inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.surface.overflow-hidden.bg-ink-900 .game-canvas {
  filter: saturate(1.12) contrast(1.04);
}

.surface.overflow-hidden.bg-ink-900 .absolute.inset-0.flex.flex-col {
  z-index: 2;
  background: rgba(7, 8, 18, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.prose-lu h2 {
  letter-spacing: -.025em;
}

.prose-lu h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: .65rem;
  border-radius: 99px;
  width: 52px;
  background: linear-gradient(90deg, var(--lu-coral), var(--lu-gold));
  box-shadow: 0 0 14px rgba(255, 82, 99, .3);
}

/* Let editorial copy use the desktop canvas instead of staying in a narrow column. */
@media (min-width: 1024px) {
  .container-article {
    max-width: 1440px;
  }

  .prose-lu p,
  .prose-lu ul,
  .prose-lu ol,
  .prose-lu h2,
  .prose-lu h3,
  .prose-lu > aside,
  .prose-lu > div[class*="border-"] {
    max-width: 72rem;
  }

  .prose-lu p {
    font-size: 1.125rem;
    line-height: 1.82;
  }
}

.lu-table {
  background: rgba(10, 12, 23, .7);
}

.lu-table thead th {
  background: rgba(21, 24, 42, .92);
}

footer {
  border-color: rgba(139, 151, 190, .14) !important;
  background: rgba(7, 8, 18, .62);
}

.lu-scroll-top {
  --scroll-progress: 0deg;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 2px;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(var(--lu-lime) var(--scroll-progress), rgba(139, 151, 190, .2) 0);
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, .9), 0 0 26px -14px rgba(194, 255, 69, .75);
  opacity: 0;
  transform: translateY(14px) scale(.92);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.lu-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lu-scroll-top__inner {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  background: rgba(15, 18, 32, .95);
  color: #f7f8ff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lu-scroll-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease, color .2s ease;
}

.lu-scroll-top:hover {
  box-shadow: 0 20px 48px -15px rgba(0, 0, 0, .92), 0 0 30px -12px rgba(194, 255, 69, .9);
  transform: translateY(-2px) scale(1.03);
}

.lu-scroll-top:hover svg {
  color: var(--lu-lime);
  transform: translateY(-2px);
}

.lu-scroll-top:active {
  transform: translateY(0) scale(.96);
}

.lu-scroll-top:focus-visible {
  outline: 2px solid var(--lu-lime);
  outline-offset: 4px;
}

/* SEO-safe casino directory controls. The full directory remains in the HTML. */
.casino-filter-toolbar {
  position: sticky;
  top: 76px;
  z-index: 35;
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(260px, 1.1fr);
  gap: .8rem 1rem;
  margin: 3rem 0 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(139, 151, 190, .22);
  border-radius: 18px;
  background: rgba(10, 12, 23, .9);
  box-shadow: 0 22px 58px -34px #000, inset 0 1px 0 rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.casino-filter-copy {
  align-self: center;
}

.casino-filter-kicker {
  color: #fff;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 750;
  letter-spacing: -.015em;
}

.casino-filter-note {
  margin-top: .15rem;
  color: #8383a8;
  font-size: .75rem;
  line-height: 1.35;
}

.casino-filter-search {
  position: relative;
}

.casino-filter-search svg {
  position: absolute;
  z-index: 1;
  left: .85rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  color: #8383a8;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  transform: translateY(-50%);
}

.casino-filter-search input {
  width: 100%;
  min-height: 44px;
  padding: .68rem .9rem .68rem 2.55rem;
  border: 1px solid rgba(139, 151, 190, .23);
  border-radius: 12px;
  background: rgba(7, 8, 18, .84);
  color: #f4f5fb;
  font-size: .875rem;
  outline: none;
}

.casino-filter-search input::placeholder {
  color: #777996;
}

.casino-filter-products {
  grid-column: 1 / -1;
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  padding-bottom: .15rem;
  scrollbar-width: thin;
}

.casino-filter-products button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .42rem;
  min-height: 34px;
  padding: .42rem .78rem;
  border: 1px solid rgba(139, 151, 190, .2);
  border-radius: 999px;
  background: rgba(21, 24, 42, .7);
  color: #c4c4d6;
  font-size: .76rem;
  font-weight: 700;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.casino-filter-products button span {
  min-width: 1.35rem;
  padding: .05rem .35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #9a9ab5;
  font-size: .68rem;
  text-align: center;
}

.casino-filter-products button:hover {
  border-color: rgba(194, 255, 69, .35);
  color: #fff;
  transform: translateY(-1px);
}

.casino-filter-products button[aria-pressed="true"] {
  border-color: rgba(194, 255, 69, .68);
  background: var(--lu-lime);
  color: #091006;
  box-shadow: 0 10px 24px -16px rgba(194, 255, 69, .9);
}

.casino-filter-products button[aria-pressed="true"] span {
  background: rgba(7, 16, 6, .12);
  color: #091006;
}

.casino-filter-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  color: #8383a8;
  font-size: .74rem;
}

.casino-filter-meta [data-clear-filter] {
  color: var(--lu-lime);
  font-weight: 700;
  text-underline-offset: 3px;
}

.casino-filter-meta [data-clear-filter]:hover {
  text-decoration: underline;
}

.casino-filter-empty {
  grid-column: 1 / -1;
  padding: 1rem;
  border: 1px dashed rgba(139, 151, 190, .24);
  border-radius: 12px;
  color: #c4c4d6;
  text-align: center;
}

.casino-filter-empty strong,
.casino-filter-empty span {
  display: block;
}

.casino-filter-empty strong {
  color: #fff;
  font-family: var(--font-display), system-ui, sans-serif;
}

.casino-filter-empty span {
  margin-top: .2rem;
  color: #8383a8;
  font-size: .78rem;
}

#casino > .space-y-3 > [id^="site-"],
#sports > .space-y-3 > [id^="site-"],
#poker > .space-y-3 > [id^="site-"],
#bingo > .space-y-3 > [id^="site-"],
#exchange > .space-y-3 > [id^="site-"] {
  position: relative;
  border-color: rgba(139, 151, 190, .17);
  background: rgba(15, 18, 32, .82);
  box-shadow: 0 18px 48px -38px #000, inset 0 1px 0 rgba(255, 255, 255, .025);
}

#casino > .space-y-3 > [id^="site-"]::before,
#sports > .space-y-3 > [id^="site-"]::before,
#poker > .space-y-3 > [id^="site-"]::before,
#bingo > .space-y-3 > [id^="site-"]::before,
#exchange > .space-y-3 > [id^="site-"]::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 2px;
  border-radius: 0 99px 99px 0;
  background: var(--lu-lime);
  opacity: .42;
  box-shadow: 0 0 14px rgba(194, 255, 69, .46);
}

#casino > .space-y-3 > [id^="site-"]:hover,
#sports > .space-y-3 > [id^="site-"]:hover,
#poker > .space-y-3 > [id^="site-"]:hover,
#bingo > .space-y-3 > [id^="site-"]:hover,
#exchange > .space-y-3 > [id^="site-"]:hover {
  border-color: rgba(194, 255, 69, .3);
  background: rgba(18, 22, 38, .94);
  box-shadow: 0 22px 52px -36px rgba(194, 255, 69, .2), inset 0 1px 0 rgba(255, 255, 255, .035);
}

#casino > .space-y-3 > div:not([id]),
#sports > .space-y-3 > div:not([id]),
#poker > .space-y-3 > div:not([id]),
#bingo > .space-y-3 > div:not([id]),
#exchange > .space-y-3 > div:not([id]) {
  border-color: rgba(139, 151, 190, .17);
  background: rgba(15, 18, 32, .72);
  box-shadow: 0 16px 42px -36px #000, inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

#casino > .space-y-3 > div:not([id]):hover,
#sports > .space-y-3 > div:not([id]):hover,
#poker > .space-y-3 > div:not([id]):hover,
#bingo > .space-y-3 > div:not([id]):hover,
#exchange > .space-y-3 > div:not([id]):hover {
  border-color: rgba(194, 255, 69, .28);
  background: rgba(21, 24, 42, .88);
  transform: translateY(-1px);
}

#casino [id^="site-"] img,
#sports [id^="site-"] img,
#poker [id^="site-"] img,
#bingo [id^="site-"] img,
#exchange [id^="site-"] img {
  filter: saturate(1.06) contrast(1.03);
}

#casino [id^="site-"] > div:first-child > span:first-child,
#sports [id^="site-"] > div:first-child > span:first-child,
#poker [id^="site-"] > div:first-child > span:first-child,
#bingo [id^="site-"] > div:first-child > span:first-child,
#exchange [id^="site-"] > div:first-child > span:first-child {
  border-color: rgba(139, 151, 190, .22);
  box-shadow: 0 12px 24px -18px #000;
}

/* Modern operator showcase and expanded detail deck. */
.operator-card-modern {
  overflow: clip;
  border-radius: 22px;
  background: rgba(12, 15, 27, .92) !important;
}

.operator-card-modern > div:first-child {
  position: relative;
  padding: 1.15rem;
  background: linear-gradient(110deg, rgba(21, 24, 42, .76), rgba(10, 12, 23, .72));
}

.operator-card-modern > div:first-child::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 151, 190, .18), transparent);
}

.operator-card-modern > div:first-child > span:first-child {
  border-radius: 16px;
  box-shadow: 0 18px 32px -22px #000, 0 0 0 1px rgba(255, 255, 255, .025);
}

.operator-card-modern > div:first-child .font-display.text-lg {
  font-size: 1.22rem;
  letter-spacing: -.025em;
}

.operator-card-modern > div:first-child .inline-flex.rounded-full {
  min-height: 28px;
  padding-inline: .65rem;
  border-color: rgba(139, 151, 190, .22);
  background: rgba(7, 8, 18, .5);
}

.operator-card-modern > div:first-child .btn-primary {
  min-width: 132px;
  min-height: 46px;
  border-radius: 14px;
}

.operator-details-modern > summary {
  min-height: 52px;
  border-color: rgba(139, 151, 190, .13);
  background: rgba(10, 12, 23, .72);
  letter-spacing: .01em;
}

.operator-details-modern > summary:hover {
  background: rgba(21, 24, 42, .76);
}

.operator-details-modern[open] > summary {
  color: var(--lu-lime);
  background: rgba(18, 22, 38, .82);
}

.operator-summary-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(194, 255, 69, .24);
  border-radius: 9px;
  background: rgba(194, 255, 69, .07);
  color: var(--lu-lime);
}

.operator-summary-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.operator-details-modern > div {
  padding: 1.15rem !important;
  background:
    radial-gradient(620px 240px at 8% 0, rgba(72, 201, 255, .12), transparent 68%),
    linear-gradient(145deg, #f7fbff, #edf4f8) !important;
}

.operator-detail-grid {
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.operator-detail-card {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  padding: 1.25rem !important;
  border-color: rgba(18, 45, 70, .12) !important;
  border-radius: 17px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: inset 0 1px 0 #fff, 0 18px 42px -34px rgba(11, 28, 44, .34);
  color: #10253a;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.operator-detail-card:hover {
  z-index: 1;
  border-color: color-mix(in srgb, currentColor 28%, transparent) !important;
  box-shadow: inset 0 1px 0 #fff, 0 22px 48px -30px rgba(11, 28, 44, .42);
  transform: translateY(-2px);
}

.operator-detail-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -62px;
  top: -62px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .07;
}

.operator-detail-card--offer { color: #159bc8; }
.operator-detail-card--address { color: #e1243c; }
.operator-detail-card--access { color: #7957d5; }
.operator-detail-card--compare { color: #d78913; }
.operator-detail-card--safety { color: #159660; }
.operator-detail-card--listing { color: #d44386; }

.operator-detail-card > p:first-child {
  gap: .65rem;
  color: #10253a;
  font-size: .96rem;
}

.operator-detail-card > p:first-child > svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1px solid currentColor;
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}

.operator-detail-card .break-all {
  display: inline-flex;
  margin-top: 1.1rem;
  padding: .48rem .7rem;
  border: 1px solid rgba(21, 150, 96, .22);
  border-radius: 10px;
  background: rgba(46, 204, 113, .09);
  color: #087b49 !important;
  font-size: .96rem;
  overflow-wrap: anywhere;
}

.operator-detail-card > p:not(:first-child),
.operator-detail-card > div > p:not(:first-child),
.operator-detail-card .text-ink-300,
.operator-detail-card .text-ink-400 {
  color: #566a7b !important;
}

.operator-detail-heading {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}

.operator-detail-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 8%, transparent);
  box-shadow: 0 14px 30px -22px currentColor;
}

.operator-detail-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.operator-detail-heading p {
  color: currentColor;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.operator-detail-heading h3 {
  margin-top: .25rem;
  color: #10253a;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.operator-detail-copy {
  margin-top: 1rem;
  color: #566a7b;
  font-size: .85rem;
  line-height: 1.65;
}

.operator-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: 1.1rem;
}

.operator-detail-chips span {
  padding: .35rem .52rem;
  border: 1px solid rgba(18, 45, 70, .12);
  border-radius: 8px;
  background: #f2f6f9;
  color: #31495d;
  font-size: .67rem;
  font-weight: 650;
  line-height: 1;
}

.operator-check-footer {
  display: grid;
  grid-template-columns: minmax(330px, 1.1fr) minmax(420px, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(72, 201, 255, .18);
  border-radius: 17px;
  background:
    linear-gradient(110deg, rgba(57, 220, 134, .08), transparent 34%),
    #0b1524;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 20px 45px -36px #07111f;
}

.operator-check-intro {
  display: flex;
  gap: .8rem;
  min-width: 0;
  padding: .25rem;
}

.operator-check-emoji {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(169, 137, 255, .24);
  border-radius: 13px;
  background: rgba(169, 137, 255, .08);
  box-shadow: 0 12px 26px -18px rgba(169, 137, 255, .9);
  font-size: 1.08rem;
}

.operator-check-eyebrow {
  color: #a989ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.operator-check-intro h3 {
  margin-top: .28rem;
  color: #fff;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.operator-check-intro > div > p:last-child {
  margin-top: .45rem;
  color: #9a9ab5;
  font-size: .76rem;
  line-height: 1.55;
}

.operator-check-intro strong {
  color: #e9eaf4;
  font-weight: 700;
}

.operator-check-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.operator-check-item {
  display: flex;
  min-width: 0;
  gap: .65rem;
  align-items: flex-start;
  padding: .75rem;
  border: 1px solid rgba(139, 151, 190, .14);
  border-radius: 13px;
  background: rgba(7, 8, 18, .54);
}

.operator-check-icon {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
}

.operator-check-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.operator-check-icon--lime { color: var(--lu-lime); }
.operator-check-icon--aqua { color: var(--lu-aqua); }
.operator-check-icon--gold { color: #ffc95e; }

.operator-check-item > div {
  min-width: 0;
}

.operator-check-item span:not(.operator-check-icon) {
  display: block;
  color: #767995;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.operator-check-item strong {
  display: block;
  margin-top: .22rem;
  color: #dfe1ec;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.operator-check-footnote {
  grid-column: 1 / -1;
  padding-top: .75rem;
  border-top: 1px solid rgba(139, 151, 190, .12);
  color: #71748d;
  font-size: .72rem;
  line-height: 1.5;
}

.operator-check-footnote span {
  margin-right: .35rem;
}

/* The compact brand showcase on the homepage follows the same visual language. */
body:has(main > section:first-of-type) main .surface ul.space-y-2 > li {
  position: relative;
  overflow: hidden;
  min-height: 62px;
  border-color: rgba(139, 151, 190, .16);
  border-radius: 14px;
  background: rgba(10, 12, 23, .62);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

body:has(main > section:first-of-type) main .surface ul.space-y-2 > li::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 2px;
  border-radius: 0 99px 99px 0;
  background: #ffc95e;
  opacity: .5;
  box-shadow: 0 0 12px rgba(255, 201, 94, .45);
}

body:has(main > section:first-of-type) main .surface ul.space-y-2 > li:hover {
  border-color: rgba(255, 201, 94, .3);
  background: rgba(21, 24, 42, .8);
  transform: translateX(2px);
}

body:has(main > section:first-of-type) main .surface ul.space-y-2 > li > span:first-child {
  border-radius: 12px;
  box-shadow: 0 10px 24px -18px #000;
}

body:has(main > section:first-of-type) main .surface ul.space-y-2 .btn-gold {
  border-radius: 11px;
}

@media (max-width: 1023px) {
  header.sticky.top-0 > div { gap: .7rem; }
  main [class*="sticky"][class*="top-16"] .flex.flex-wrap.items-center { row-gap: .65rem; }

  .casino-filter-toolbar {
    top: 72px;
  }

  .operator-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .operator-check-footer {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 639px) {
  body::before { background-size: 32px 32px; opacity: .12; }

  .container-lu,
  .container-article {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  main > section:first-of-type .container-article {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }

  main > section:first-of-type h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  section .grid > a.group.rounded-2xl:not([href^="/games/"]) {
    min-height: 108px;
    padding: .9rem;
  }

  main [class*="sticky"][class*="top-16"] {
    top: 63px;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }

  main [class*="sticky"][class*="top-16"] .relative.min-w-\[180px\] { flex-basis: 100%; }
  main [class*="sticky"][class*="top-16"] label.ml-auto { margin-left: 0; }

  .casino-filter-toolbar {
    top: 68px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2.25rem;
    padding: .85rem;
  }

  .casino-filter-search,
  .casino-filter-products,
  .casino-filter-meta,
  .casino-filter-empty {
    grid-column: 1;
  }

  .casino-filter-note {
    display: none;
  }

  .operator-card-modern > div:first-child {
    padding: .9rem;
  }

  .operator-card-modern > div:first-child .btn-primary {
    width: 100%;
  }

  .operator-details-modern > div {
    padding: .75rem !important;
  }

  .operator-detail-card {
    min-height: 0;
  }

  .operator-detail-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .operator-check-footer {
    padding: .8rem;
  }

  .operator-check-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .operator-check-item {
    align-items: center;
  }

  .lu-scroll-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
  }

  #casino > .space-y-3 > div:not([id]),
  #sports > .space-y-3 > div:not([id]),
  #poker > .space-y-3 > div:not([id]),
  #bingo > .space-y-3 > div:not([id]),
  #exchange > .space-y-3 > div:not([id]) {
    flex-wrap: wrap;
    gap: .7rem;
  }

  #casino > .space-y-3 > div:not([id]) > a,
  #sports > .space-y-3 > div:not([id]) > a,
  #poker > .space-y-3 > div:not([id]) > a,
  #bingo > .space-y-3 > div:not([id]) > a,
  #exchange > .space-y-3 > div:not([id]) > a {
    flex: 1 1 calc(50% - .4rem);
  }
}

@media (max-width: 560px) {
  main div.grid:has(> article.group.relative) {
    grid-template-columns: minmax(0, 1fr);
    gap: .85rem;
  }

  main div.grid:has(> article.group.relative) article.group.relative > a.block {
    display: grid;
    grid-template-columns: minmax(126px, 40%) minmax(0, 1fr);
    min-height: 142px;
  }

  main div.grid:has(> article.group.relative) article.group.relative > a.block > div:first-child {
    height: 100%;
    min-height: 142px;
    aspect-ratio: auto;
  }

  main div.grid:has(> article.group.relative) article.group.relative > a.block > div:first-child img {
    position: absolute;
    inset: 0;
  }

  main div.grid:has(> article.group.relative) article.group.relative > a.block > div.p-3\.5 {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
  }

  main div.grid:has(> article.group.relative) article.group.relative > a.block > div.p-3\.5 > div:last-child {
    margin-top: .65rem;
  }

  main div.grid:has(> article.group.relative) article.group.relative > a[href^="/categories/"] {
    max-width: calc(40% - 1.15rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  main div.grid:has(> article.group.relative) article.group.relative > button {
    left: calc(40% - 2.7rem);
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  article.group.relative > a.block,
  article.group.relative > a.block img,
  section .grid > a.group.rounded-2xl:not([href^="/games/"]) {
    transition: none !important;
    transform: none !important;
  }

  .lu-scroll-top,
  .lu-scroll-top svg {
    transition: none !important;
  }
}

/* ── Правки перед запуском ───────────────────────────────────────────────
   Липкая панель фильтра перекрывала заголовок, на который ведёт якорь
   («By product» → #poker): заголовок оказывался под панелью на 168 px.
   Запас прокрутки равен высоте панели плюс шапка. */
#casino,
#sports,
#poker,
#bingo,
#exchange {
  scroll-margin-top: 190px;
}

@media (max-width: 640px) {
  #casino,
  #sports,
  #poker,
  #bingo,
  #exchange {
    scroll-margin-top: 280px;
  }
}

/* После снятия блока «Responsible play» в раскрытой карточке остаётся пять
   панелей: в сетке из трёх колонок последняя строка обрывалась пустой ячейкой.
   Последняя панель занимает освободившееся место. Откатывается удалением
   этого правила. */
.operator-detail-card--listing {
  grid-column: span 2;
}

@media (max-width: 1100px) {
  .operator-detail-card--listing {
    grid-column: auto;
  }
}
