/* Shared article layout */
:root {
  --cat-ink: #20233c;
  --cat-muted: #414561;
  --cat-accent: #6444ac;
  --cat-rule: #ded8eb;
  --cat-paper: #fff;
}
.cat-reader { margin: 0; background: #f3f1f8; }
.cat-guide {
  box-sizing: border-box;
  width: min(100%, 960px);
  margin: clamp(20px, 5vw, 64px) auto;
  padding: clamp(20px, 5vw, 64px);
  border: 1px solid var(--cat-rule);
  border-top: 5px solid var(--cat-accent);
  border-radius: 20px;
  background: var(--cat-paper);
  color: var(--cat-ink);
  font: 16px/1.65 "Segoe UI", Arial, sans-serif;
  text-align: left;
}
.cat-guide h1, .cat-guide h2 {
  margin: 0 0 .55em;
  color: var(--cat-ink);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.cat-guide h1 { font-size: clamp(28px, 4vw, 46px); }
.cat-guide h2 { font-size: clamp(22px, 3vw, 30px); }
.cat-guide h3 { margin: 1em 0 .35em; font-size: 19px; }
.cat-guide p { margin: .75em 0; line-height: inherit; }
.cat-guide header p { color: var(--cat-muted); font-size: 1.1em; }
.cat-guide section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--cat-rule); }
.cat-guide ul, .cat-guide ol { padding-inline-start: 1.6em; }
.cat-guide li { margin-block: .35em; }
.cat-guide li::marker { color: var(--cat-accent); font-weight: 700; }
.cat-table { max-width: 100%; overflow-x: auto; border: 1px solid var(--cat-rule); border-radius: 12px; }
.cat-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cat-table th, .cat-table td { padding: 10px 14px; text-align: left; vertical-align: top; }
.cat-table th { background: #393354; color: white; }
.cat-table tr:nth-child(even) td { background: #f5f3f9; }

/* Catalogue */
.cat-lobby .wlc-sections__header { box-shadow: 0 3px 18px #24193a20; }
.cat-lobby .wlc-games-grid__title { padding-inline-start: 12px; border-inline-start: 4px solid #9264da; }
.cat-lobby .wlc-game-thumb.wlc-game-thumb--theme-default {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 12px #29194124;
}
.cat-lobby .wlc-slider--theme-default-banner { border-radius: 18px; overflow: hidden; }
@media (max-width: 600px) {
  .cat-guide { width: calc(100% - 24px); padding: 20px 16px; border-radius: 14px; }
  .cat-table th, .cat-table td { padding: 8px; }
}

/* Ink, ivory and jade */
body.cat-lobby {
  --cat-jade: #aeefd1;
  --cat-night: #102721;
  --mc-secondary: #aeefd1;
  --mc-buttonColor: #aeefd1;
  background: #102721;
}
.cat-lobby .app-home-state {
  background: radial-gradient(ellipse 75% 540px at 90% 2%, #22463c, transparent), #102721;
}
.cat-lobby .wlc-sections__header.wlc-sections__header--theme-1 {
  background: #102721;
  border-bottom: 1px solid #547366;
}
.cat-lobby .wlc-sections__header .wlc-logo svg { fill: #f5eedb; }
.cat-lobby .wlc-sections__header .dynamic-color { fill: #aeefd1; }
.cat-lobby .wlc-sections__header .wlc-login-signup .wlc-btn {
  border-radius: 30px;
  border-color: #aeefd1;
}
.cat-lobby .wlc-btn[data-wlc-element="button_signup-modal"],
.cat-lobby .wlc-sections__header .wlc-btn-signup { background: #aeefd1; color: #102721; }
.cat-lobby .wlc-sections__banner-section {
  width: min(1170px, calc(100% - 40px));
  margin: clamp(16px, 2.5vw, 36px) auto 16px;
}
.cat-lobby .wlc-slider--theme-default-banner { border-radius: 22px; }
.cat-lobby .cat-poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  height: clamp(290px, 25vw, 372px);
  background: #f7eed8;
}
.cat-poster__copy { position: relative; z-index: 2; padding-left: clamp(24px, 4vw, 66px); }
.cat-poster__line { color: #15362d; font: italic 500 clamp(32px, 4.2vw, 64px)/1.07 Georgia, serif; }
.cat-poster__line + .cat-poster__line {
  margin: 8px 0 24px;
  font: 800 clamp(35px, 4.8vw, 76px)/1 "Segoe UI", Arial, sans-serif;
  letter-spacing: -.065em;
}
.cat-poster .cat-poster__copy .wlc-btn-signup {
  background: #aeefd1; color: #102721; border: 1px solid #6b9f88; border-radius: 30px;
  padding-inline: 25px; box-shadow: none; animation: none;
}
.cat-poster__scene, .cat-poster__portrait { position: absolute; inset: 0 0 0 auto; width: 49%; pointer-events: none; }
.cat-poster__scene {
  overflow: hidden; border-radius: 50% 0 0 0 / 100% 0 0 0;
  background: repeating-radial-gradient(circle at 75% 80%, #87c6a755 0 1px, transparent 2px 22px), #285d4f;
}
.cat-poster__scene img { width: 100%; height: 100%; object-fit: cover; object-position: 94% center; opacity: .43; mix-blend-mode: luminosity; }
.cat-poster__portrait img { display: block; position: absolute; bottom: -3%; left: 16%; width: 65%; height: 98%; object-fit: contain; object-position: bottom; }
.cat-lobby .wlc-slider--theme-default-banner .swiper-button-container { width: 96%; bottom: 12px; }
.cat-lobby .wlc-sections__categories .games-categories {
  background: #1c3d33; border: 1px solid #466a5a; border-radius: 18px;
}
.cat-lobby .wlc-category-menu .wlc-menu__item .wlc-menu__link.active {
  background: #aeefd1; color: #143b2c; padding-inline: 14px; border-radius: 30px;
}
.cat-lobby .wlc-category-menu .wlc-menu__link.active::after { display: none; }
.cat-lobby .wlc-games-grid .wlc-games-grid__content { display: block; }
.cat-lobby .wlc-games-grid .wlc-games-grid__content > .cat-collection-heading {
  box-sizing: border-box; display: flex; flex-direction: row; justify-content: flex-start;
  align-items: center; gap: 12px; width: 100%; height: auto; min-height: 0;
  aspect-ratio: auto; padding: 0 0 12px; margin-bottom: 16px;
  background: transparent; border-bottom: 1px solid #496b5e; border-radius: 0;
}
.cat-lobby .cat-collection-heading > .wlc-icon { width: 34px; height: 34px; }
.cat-lobby .cat-collection-heading > .wlc-icon svg { width: 32px; height: 32px; fill: #aeefd1; }
.cat-lobby .cat-collection-heading .wlc-games-grid__title { padding: 0; border: 0; }
.cat-lobby .cat-collection-heading .wlc-games-grid__title .wlc-title__main {
  color: #f7eed8; text-transform: none; font: 600 clamp(24px, 2.6vw, 37px)/1.15 Georgia, serif;
}
.cat-lobby .wlc-games-grid .wlc-games-grid__list { gap: clamp(10px, 1.2vw, 18px); }
.cat-reader { background: #15392f; }
.cat-guide { --cat-ink: #14382d; --cat-muted: #38594e; --cat-accent: #28684d; --cat-paper: #faf6ea; --cat-rule: #c8d3c4; border: 0; }
.cat-guide header { padding-bottom: 12px; }
.cat-guide h1, .cat-guide h2 { font-family: Georgia, serif; }
.cat-table th { background: #1c4839; }
.cat-table tr:nth-child(even) td { background: #e8eee2; }
@media (max-width: 700px) {
  .cat-lobby .wlc-sections__banner-section { width: calc(100% - 24px); }
  .cat-lobby .cat-poster { height: 260px; align-items: start; }
  .cat-poster__copy { padding: 25px 16px; }
  .cat-poster__line { font-size: 30px; }
  .cat-poster__line + .cat-poster__line { font-size: clamp(30px, 6.7vw, 44px); margin-block: 6px 16px; }
  .cat-poster__scene, .cat-poster__portrait { width: 49%; top: 28%; }
  .cat-poster__portrait img { left: 10%; width: 90%; }
  .cat-lobby .wlc-games-grid .wlc-games-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cat-lobby .cat-collection-heading { text-decoration: none; }
.cat-lobby .cat-collection-heading .wlc-title .wlc-title__main { color: #f7eed8; font-size: clamp(24px, 2.4vw, 35px); }
.cat-poster__copy .wlc-btn-signup .wlc-btn__text { color: #102721; }
.cat-poster__portrait img { transform: scale(1.95) !important; transform-origin: center bottom; }
.cat-lobby .wlc-sections__header .wlc-logo .wlc-logo__image svg { width: 110px; height: 36px; }
@media (max-width: 700px) {
  .cat-poster__portrait img { transform: scale(1.65) !important; }
  .cat-lobby .wlc-sections__header .container { padding-inline: 12px; gap: 8px; }
  .cat-lobby .wlc-sections__header .wlc-logo,
  .cat-lobby .wlc-sections__header .wlc-logo .wlc-logo__image svg { width: 74px; }
}
