:root {
  --lw-orange: var(--skin-warm, #ff4b0b);
  --lw-orange-bright: var(--skin-warm, #ff7a00);
  --lw-blue: var(--skin-cool, #008df1);
  --lw-blue-bright: var(--skin-cool, #20c9f4);
  --lw-gold: var(--skin-warm, #ffc928);
  --lw-ink: var(--skin-page, #07111f);
  --lw-panel: var(--skin-surface, #101d2e);
  --lw-panel-soft: var(--skin-surface, #17263a);
  --cms-font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --cms-heading-font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --cms-h1-weight: 600;
  --cms-h2-weight: 600;
  --cms-h3-weight: 600;
}

html { min-height: 100%; background: var(--skin-page, #07111f); }

* {
  scrollbar-color: var(--skin-border, #40546d) var(--skin-surface, #081525);
  scrollbar-width: thin;
}

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--skin-surface, #081525); }
*::-webkit-scrollbar-thumb {
  border: 2px solid var(--skin-surface, #081525);
  border-radius: 999px;
  background: var(--skin-border, #40546d);
}
*::-webkit-scrollbar-thumb:hover { background: var(--skin-muted, #58708e); }

body.cms-page {
  background:
    radial-gradient(circle at 12% 8%, rgb(var(--skin-warm-rgb, 255 75 11) / 20%), transparent 28rem),
    radial-gradient(circle at 90% 2%, rgb(var(--skin-cool-rgb, 0 141 241) / 22%), transparent 32rem),
    linear-gradient(145deg, var(--skin-page, #07111f) 0%, var(--skin-surface, #0c1828) 55%, var(--skin-page, #07111f) 100%);
  background-attachment: fixed;
  color: var(--skin-text, #f4f8ff);
}

body.cms-page::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

.cms-shell { padding: 20px 0 40px; }
.cms-stack { gap: 16px; }

.cms-admin-authenticated .cms-admin-panel {
  max-width: none !important;
  width: 100%;
  min-height: 100vh;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.cms-admin-authenticated .cms-admin-panel > aside.cms-card { top: 0; height: 100vh; overflow-y: auto; border-width: 0 1px 0 0; border-radius: 0; padding: 24px 22px; }
.cms-admin-authenticated .cms-admin-panel > main { min-height: 100vh; padding: 28px clamp(20px, 2.5vw, 44px) 48px; }
.cms-admin-authenticated .cms-admin-panel > main { min-width: 0; width: 100%; overflow: visible; }
.cms-player-authenticated .cms-shell { width: 100%; max-width: none; margin: 0; padding: 0 0 90px; }
.cms-player-authenticated .cms-shell > .cms-card:first-child { position: sticky; z-index: 30; top: 0; border-width: 0 0 1px; border-radius: 0; padding: 12px clamp(18px, 3vw, 44px); box-shadow: 0 8px 28px rgb(0 0 0 / 22%); }
.cms-player-authenticated .cms-shell > :not(:first-child) { width: calc(100% - clamp(32px, 5vw, 72px)); margin-inline: auto; }
.cms-player-menu-toggle, .cms-player-nav-backdrop, .cms-nav-backdrop { display: none; }

.cms-card,
.cms-admin-panel,
.cms-player-panel,
.cms-settings-form,
.cms-preview-panel {
  border-color: rgb(255 255 255 / 10%);
  background: rgb(var(--skin-surface-rgb, 15 29 47) / 96%);
  box-shadow: 0 12px 36px rgb(0 0 0 / 18%);
}

.cms-card { padding: 22px; }
.cms-card-header { margin-bottom: 18px; }

.cms-brand-mark { min-height: 54px; }
.cms-brand-logo { width: auto; max-width: 250px; height: 68px; filter: drop-shadow(0 7px 12px rgb(0 0 0 / 32%)); }
.cms-brand-logo + span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

h1, .cms-h1, h2, .cms-h2, h3, .cms-h3 { color: var(--skin-text, #f7f9fc); letter-spacing: -.02em; }
h1, .cms-h1 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
p { line-height: 1.65; }
a { color: var(--lw-blue-bright); }

.cms-button {
  min-height: 46px;
  gap: 9px;
  border-radius: 12px;
  padding-inline: 18px;
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.cms-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cms-button-primary { background: linear-gradient(135deg, var(--lw-orange-bright), var(--lw-orange)); box-shadow: 0 10px 24px rgb(var(--skin-warm-rgb, 255 75 11) / 25%); }
.cms-button-secondary { background: var(--skin-raised, #21334a); border-color: rgb(255 255 255 / 11%); }
.cms-button-gold { background: linear-gradient(135deg, var(--skin-warm, #ffe676), var(--lw-gold)); color: var(--skin-page, #1d1600); box-shadow: 0 10px 24px rgb(var(--skin-warm-rgb, 255 201 40) / 20%); }

.cms-input,
.cms-select,
.cms-textarea {
  min-height: 48px;
  border-color: rgb(255 255 255 / 13%);
  border-radius: 12px;
  outline: none;
  background: rgb(var(--skin-page-rgb, 3 12 24) / 60%);
  color:var(--skin-on-surface, #fff);
  padding: 10px 13px;
}
.cms-input:focus, .cms-select:focus { border-color: var(--lw-blue-bright); box-shadow: 0 0 0 3px rgb(var(--skin-cool-rgb, 32 201 244) / 14%); }
/* Native menus need an opaque background AND matching text; they do not
   consistently inherit the closed select's colours across Windows browsers. */
select { color-scheme: var(--skin-color-scheme, dark); }
select option,
select optgroup {
  color: var(--skin-on-surface, #f7f9fc);
  background-color: var(--skin-surface, #0e1e2f);
}
select option:disabled { color: var(--skin-muted, #9eacc0); }
.cms-form-row, .cms-table-detail, .cms-page-header p, .cms-section-heading small, .cms-dashboard-widget small { color: var(--skin-muted, #9eacc0); }

.cms-tabs { gap: 6px; margin: 4px 0 0; padding-top: 15px; border-top: 1px solid rgb(255 255 255 / 8%); }
.cms-tabs a { border-color: transparent; border-radius: 11px; color: var(--skin-muted, #bdc9d9); padding: 9px 13px; font-size: .9rem; font-weight: 600; }
.cms-tabs a:hover { background: rgb(255 255 255 / 6%); color:var(--skin-on-surface, #fff); }
.cms-tabs a[aria-current="page"] { background: linear-gradient(135deg, var(--lw-blue), var(--skin-cool, #006fd0)); border-color: transparent; box-shadow: 0 7px 20px rgb(var(--skin-cool-rgb, 0 141 241) / 24%); }

.cms-status-badge { background: rgb(var(--skin-warm-rgb, 255 201 40) / 10%); border: 1px solid rgb(var(--skin-warm-rgb, 255 201 40) / 20%); color: var(--skin-warm, #f7d76e); font-weight: 600; }
.cms-alert { border-color: rgb(var(--skin-cool-rgb, 32 201 244) / 40%); background: rgb(var(--skin-cool-rgb, 0 141 241) / 10%); color: var(--skin-text, #dbefff); }

.cms-dashboard-widget,
.cms-kpi-card,
.cms-game-card,
.cms-empty-state,
.cms-mobile-action-card {
  border-color: rgb(255 255 255 / 9%);
  background: rgb(255 255 255 / 2%);
}
.cms-dashboard-widget-link:hover, .cms-game-card:hover { border-color: rgb(var(--skin-cool-rgb, 32 201 244) / 55%); box-shadow: 0 12px 28px rgb(0 0 0 / 18%); transform: translateY(-1px); }
.cms-dashboard-widget, .cms-game-card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.cms-dashboard-widget-header > i, .cms-section-heading > i, .cms-module-name-icon { color: var(--lw-orange); }
.cms-dashboard-widget h2 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.cms-dashboard-value { color: var(--skin-text, #f5f8fc); font-family: inherit; font-size: 1.65rem; font-weight: 600; letter-spacing: -.025em; }

.cms-table th { color: var(--skin-muted, #8fa1b8); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.cms-table th, .cms-table td { border-color: rgb(255 255 255 / 8%); }
.cms-card > .cms-table { display: block; overflow-x: auto; }

.lw-studio-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); gap: 20px; align-items: start; }
.lw-studio-controls { display: grid; gap: 16px; min-width: 0; }
.lw-studio-preview { position: sticky; top: 28px; overflow: hidden; border: 1px solid rgb(255 255 255 / 11%); border-radius: 20px; background: var(--skin-page, #07111f); box-shadow: 0 24px 70px rgb(0 0 0 / 32%); }
.lw-preview-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgb(255 255 255 / 8%); padding: 12px 15px; color: var(--skin-muted, #91a2b8); font-size: .74rem; }
.lw-preview-toolbar span { display: flex; gap: 5px; color: var(--skin-warm, #ff6a33); font-size: .42rem; }
.lw-preview-toolbar strong { color: var(--skin-text, #dce7f5); font-weight: 600; }
.lw-preview-toolbar em { justify-self: end; font-style: normal; }
.lw-preview-app { min-height: 620px; padding-bottom: 24px; background: linear-gradient(155deg, var(--cms-bg), color-mix(in srgb, var(--cms-bg), #000 12%)); color: var(--cms-text); font-size: calc(.9rem * var(--cms-font-scale)); }
.lw-preview-app > header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--cms-border); background: var(--cms-surface); padding: 14px 18px; }
.lw-preview-app > header img { width: auto; max-width: 165px; height: 46px; object-fit: contain; }
.lw-preview-app button { border: 0; border-radius: var(--cms-button-radius); background: var(--cms-primary); color:var(--skin-on-surface, #fff); padding: 11px 16px; font: inherit; }
.lw-preview-app > header button { display: grid; width: 42px; height: 42px; place-items: center; padding: 0; }
.lw-preview-hero { margin: 18px; border-radius: var(--cms-card-radius); background: linear-gradient(135deg, var(--cms-primary), var(--cms-secondary)); color:var(--skin-on-surface, #fff); padding: 28px; }
.lw-preview-hero small { opacity: .72; letter-spacing: .08em; }
.lw-preview-hero h2 { margin: 8px 0; color:var(--skin-on-surface, #fff); font-family: var(--cms-heading-font-family); font-size: 1.65rem; font-weight: 600; }
.lw-preview-hero p { margin: 0 0 18px; opacity: .82; }
.lw-preview-hero button { background: var(--cms-accent); }
.lw-preview-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 18px 18px; }
.lw-preview-cards article { display: flex; gap: 11px; align-items: center; border: 1px solid var(--cms-border); border-radius: var(--cms-card-radius); background: var(--cms-surface); padding: 15px; }
.lw-preview-cards i { color: var(--cms-primary); }
.lw-preview-cards span, .lw-preview-cards small { display: block; }
.lw-preview-cards small { margin-top: 3px; color: var(--cms-muted); }
.lw-preview-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0 18px; }
.lw-preview-games span { aspect-ratio: 4 / 5; border-radius: var(--cms-card-radius); background: linear-gradient(145deg, color-mix(in srgb, var(--cms-primary), #fff 30%), color-mix(in srgb, var(--cms-secondary), #000 10%)); }
.lw-asset-preview { display: flex; gap: 24px; align-items: flex-end; margin-bottom: 18px; }
.lw-asset-preview span { display: grid; gap: 7px; color: var(--skin-muted, #8fa1b8); font-size: .76rem; }
.lw-asset-preview img { width: auto; max-width: 210px; height: 64px; object-fit: contain; object-position: left center; }
.lw-asset-preview span:last-child img { width: 64px; }
.lw-colour-control { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; min-height: 48px; border: 1px solid rgb(255 255 255 / 13%); border-radius: 12px; background: rgb(var(--skin-page-rgb, 3 12 24) / 60%); padding: 6px; }
.lw-colour-control input { width: 54px; height: 34px; border: 0; background: transparent; cursor: pointer; }
.lw-colour-control code { color: var(--skin-muted, #c8d4e3); }
.lw-inline-editor { position: relative; }
.lw-inline-editor > summary { list-style: none; cursor: pointer; }
.lw-inline-editor > summary::-webkit-details-marker { display: none; }
.lw-inline-editor > form { position: absolute; z-index: 20; right: 0; display: grid; width: min(380px, 82vw); gap: 9px; margin-top: 8px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 14px; background: var(--skin-surface, #132238); padding: 14px; box-shadow: 0 20px 55px rgb(0 0 0 / 45%); }

.cms-nav a { color: var(--skin-muted, #b9c6d6); font-weight: 500; }
.cms-admin-panel .cms-nav a,
.cms-admin-panel .lw-nav-group summary {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}
.cms-admin-panel .cms-nav a { min-height: 40px; }
@media (max-width: 999px) {
  .cms-admin-panel .cms-nav a,
  .cms-admin-panel .lw-nav-group summary { min-height: 44px; }
}
.cms-nav a:hover { background: rgb(255 255 255 / 6%); color:var(--skin-on-surface, #fff); }
.cms-nav a[href*="page=dashboard"] { color:var(--skin-on-surface, #fff); background: linear-gradient(135deg, rgb(var(--skin-cool-rgb, 0 141 241) / 22%), rgb(var(--skin-cool-rgb, 32 201 244) / 8%)); }
.cms-admin-panel > aside.cms-card { position: sticky; top: 18px; border-top: 3px solid var(--lw-orange); }

.cms-page-header, .cms-dashboard-module-group, .cms-settings-section, .cms-asset-grid { border-color: rgb(255 255 255 / 9%); }
.cms-copy-field, .cms-settings-actions { border-color: rgb(255 255 255 / 9%); background: rgb(var(--skin-page-rgb, 3 12 24) / 38%); }

.cms-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, .65fr);
  gap: 28px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 22px;
  background: linear-gradient(120deg, rgb(var(--skin-warm-rgb, 255 75 11) / 95%), rgb(var(--skin-warm-rgb, 255 122 0) / 88%) 48%, rgb(var(--skin-cool-rgb, 0 141 241) / 90%));
  padding: clamp(28px, 5vw, 58px);
  box-shadow: 0 24px 70px rgb(0 0 0 / 28%);
}
.cms-hero::after { position: absolute; width: 280px; height: 280px; right: 18%; bottom: -190px; border: 50px solid rgb(255 255 255 / 8%); border-radius: 50%; content: ""; }
.cms-hero-copy, .cms-hero-stat { position: relative; z-index: 1; }
.cms-hero h1 { margin: 10px 0 8px; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 650; line-height: 1; text-shadow: 0 3px 12px rgb(var(--skin-page-rgb, 7 17 31) / 22%); }
.cms-hero p { max-width: 650px; margin: 0 0 22px; font-size: 1.05rem; }
.cms-eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--skin-muted, #9eacc0); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.cms-hero-stat { align-self: center; border: 1px solid rgb(255 255 255 / 22%); border-radius: 18px; background: rgb(var(--skin-page-rgb, 7 17 31) / 38%); backdrop-filter: blur(12px); padding: 24px; }
.cms-hero-stat span, .cms-hero-stat small { display: block; color: var(--skin-text, #dbeeff); }
.cms-hero-stat strong { display: block; margin: 4px 0; color:var(--skin-on-surface, #fff); font-family: inherit; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -.03em; }

.cms-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cms-quick-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; border: 1px solid rgb(255 255 255 / 9%); border-radius: 16px; background: linear-gradient(145deg, var(--lw-panel-soft), var(--lw-panel)); color:var(--skin-on-surface, #fff); padding: 17px; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.cms-quick-card:hover { transform: translateY(-3px); border-color: var(--lw-orange); }
.cms-quick-card > i:first-child { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: rgb(var(--skin-warm-rgb, 255 75 11) / 15%); color: var(--lw-orange-bright); }
.cms-quick-card span { display: grid; gap: 3px; }
.cms-quick-card small { color: var(--skin-muted, #91a2b8); }
.cms-quick-card > i:last-child { color: var(--skin-muted, #60738d); font-size: .75rem; }

.cms-responsible-banner { display: flex; gap: 16px; align-items: center; border-left: 4px solid var(--lw-gold); }
.cms-responsible-banner > i { color: var(--lw-gold); font-size: 1.8rem; }
.cms-responsible-banner p { margin: 2px 0 0; color: var(--skin-muted, #9eacc0); }
.cms-responsible-banner a { margin-left: auto; white-space: nowrap; font-weight: 750; }

.cms-auth-page .cms-shell { width: min(960px, calc(100% - 28px)); padding-top: clamp(30px, 8vh, 90px); }
.cms-auth-page .cms-shell > .cms-card:first-child { border: 0; background: transparent; box-shadow: none; text-align: center; }
.cms-auth-page .cms-shell > .cms-card:first-child .cms-card-header { justify-content: center; }
.cms-auth-page .cms-brand-logo { max-width: min(480px, 80vw); height: auto; max-height: 150px; }
.cms-auth-page .cms-shell > .cms-card:not(:first-child),
.cms-auth-page .cms-admin-panel > main .cms-card { max-width: 560px; width: 100%; margin-inline: auto; border-top: 3px solid var(--lw-orange); }
.cms-admin-page.cms-auth-page .cms-admin-panel { display: grid; grid-template-columns: 1fr; background: transparent; box-shadow: none; }
.cms-admin-page.cms-auth-page .cms-admin-panel > aside { position: static; max-width: 560px; width: 100%; margin: 0 auto; border: 0; background: transparent; box-shadow: none; }

.cms-login-card { overflow: hidden; }
.cms-login-card h1 { margin: 8px 0; }
.cms-auth-intro { max-width: 460px; margin: 0 0 22px; color: var(--skin-muted, #aebdd0); }
.cms-button-full { width: 100%; margin-top: 8px; }
.cms-auth-switch { margin: 20px 0 0; color: var(--skin-muted, #8fa1b8); text-align: center; }
.cms-auth-switch a { color: var(--lw-gold); font-weight: 600; }
.cms-birthdate-fieldset { min-width: 0; margin: 18px 0 8px; border: 0; padding: 0; }
.cms-birthdate-fieldset legend { margin-bottom: 8px; color: var(--skin-muted, #9eacc0); }
.cms-birthdate-selects { display: grid; grid-template-columns: .65fr 1.35fr .9fr; gap: 10px; }
.cms-birthdate-selects label { display: grid; gap: 6px; min-width: 0; color: var(--skin-muted, #9eacc0); }
.cms-birthdate-selects label span { font-size: .8rem; }
.cms-otp-input { height: 64px; color: var(--lw-gold); font-family: inherit; font-size: 2rem; font-weight: 600; letter-spacing: .38em; text-align: center; }
.cms-link-button { display: block; margin: 18px auto 0; border: 0; background: transparent; color: var(--lw-blue-bright); cursor: pointer; font: inherit; }
.cms-install-button { display: none; margin-left: auto; }
.cms-alerts-button { display: inline-flex; gap: 8px; align-items: center; min-height: 38px; border: 1px solid rgb(var(--skin-warm-rgb, 255 201 40) / 18%); border-radius: 999px; background: rgb(var(--skin-warm-rgb, 255 201 40) / 8%); color: var(--skin-warm, #f7d76e); padding: 7px 12px; cursor: pointer; font: inherit; font-size: .78rem; }
.cms-alerts-button[hidden] { display: none; }

.cms-public-home .cms-shell { width: 100%; max-width: none; margin: 0; padding: 0 0 40px; }
.cms-public-home .cms-shell > .cms-card:first-child { position: sticky; z-index: 30; top: 0; border-width: 0 0 1px; border-radius: 0; padding: 10px clamp(20px, 4vw, 72px); background: rgb(var(--skin-page-rgb, 7 17 31) / 90%); backdrop-filter: blur(18px); }
.cms-public-home .cms-shell > .cms-card:first-child .cms-card-header { max-width: 1560px; margin: 0 auto; }
.cms-public-home .cms-shell > :not(:first-child) { width: calc(100% - clamp(32px, 8vw, 140px)); max-width: 1560px; margin-inline: auto; }
.cms-public-home .cms-shell > .lw-casino-rail { width: 72px; max-width: none; margin: 0; }
.cms-public-home .cms-shell > .lw-casino-floor { width: 100%; max-width: none; margin-inline: 0; }
.cms-public-home .cms-shell > .lw-casino-mobile-nav { width: auto; max-width: none; margin: 0; }
.lw-public-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.lw-public-actions > a:first-child { color: var(--skin-text, #d7e1ee); padding: 12px 8px; text-decoration: none; }
.lw-public-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: clamp(28px, 6vw, 90px); align-items: center; min-height: 590px; overflow: hidden; padding: clamp(58px, 9vw, 128px) clamp(8px, 2vw, 28px); }
.lw-public-hero::before { position: absolute; z-index: -1; width: min(52vw, 760px); aspect-ratio: 1; right: -10%; border: 1px solid rgb(var(--skin-cool-rgb, 32 201 244) / 18%); border-radius: 50%; background: radial-gradient(circle, rgb(var(--skin-cool-rgb, 0 141 241) / 23%), transparent 66%); box-shadow: 0 0 120px rgb(var(--skin-cool-rgb, 0 141 241) / 16%); content: ""; }
.lw-public-hero-copy { max-width: 840px; }
.lw-public-hero h1 { max-width: 780px; margin: 14px 0 18px; font-size: clamp(3.2rem, 7.2vw, 7.4rem); font-weight: 600; line-height: .92; letter-spacing: -.065em; }
.lw-public-hero-copy > p { max-width: 680px; margin: 0 0 30px; color: var(--skin-muted, #b2c0d1); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.lw-trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 34px; color: var(--skin-muted, #8fa2b9); font-size: .88rem; }
.lw-trust-row span { display: inline-flex; gap: 8px; align-items: center; }
.lw-trust-row i { color: var(--lw-blue-bright); }
.lw-public-feature { border: 1px solid rgb(255 255 255 / 12%); border-radius: 24px; background: linear-gradient(145deg, rgb(var(--skin-surface-rgb, 23 38 58) / 88%), rgb(var(--skin-surface-rgb, 9 22 38) / 94%)); padding: clamp(26px, 4vw, 48px); box-shadow: 0 32px 90px rgb(0 0 0 / 32%); }
.lw-public-feature > span { color: var(--skin-muted, #90a4bc); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.lw-public-feature > strong { display: block; margin-top: 12px; color: var(--lw-gold); font-size: clamp(4rem, 7vw, 6.5rem); font-weight: 500; line-height: .9; letter-spacing: -.06em; }
.lw-public-feature p { margin: 9px 0 34px; color: var(--skin-muted, #c0ccda); }
.lw-public-feature a { display: flex; justify-content: space-between; border-top: 1px solid rgb(255 255 255 / 10%); color:var(--skin-on-surface, #fff); padding-top: 18px; text-decoration: none; }
.lw-public-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lw-public-highlights article { display: grid; grid-template-columns: 52px 1fr; gap: 16px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 18px; background: rgb(var(--skin-surface-rgb, 15 29 47) / 78%); padding: 24px; }
.lw-public-highlights article > i { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; background: rgb(var(--skin-warm-rgb, 255 75 11) / 12%); color: var(--lw-orange-bright); font-size: 1.2rem; }
.lw-public-highlights h2 { margin: 1px 0 7px; font-size: 1.05rem; font-weight: 600; }
.lw-public-highlights p { margin: 0; color: var(--skin-muted, #8fa2b9); font-size: .9rem; line-height: 1.55; }
.lw-public-games { padding-block: clamp(64px, 8vw, 108px); }
.lw-public-games > header { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.lw-public-games h2, .lw-public-join h2 { margin: 6px 0 0; font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 600; }
.lw-public-games > header > a { color: var(--skin-muted, #c9d6e5); text-decoration: none; }
.lw-public-game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.lw-public-game-grid > a { min-width: 0; color:var(--skin-on-surface, #fff); text-decoration: none; }
.lw-public-game-media { position: relative; display: grid; aspect-ratio: 1.25; overflow: hidden; place-items: center; border: 1px solid rgb(255 255 255 / 8%); border-radius: 16px; background: linear-gradient(145deg, var(--skin-raised, #162a44), var(--skin-surface, #0a1728)); color: var(--lw-orange); }
.lw-public-game-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.lw-public-game-media em { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(var(--skin-page-rgb, 3 12 24) / 48%); opacity: 0; transition: opacity .2s ease; }
.lw-public-game-media em i { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--lw-orange); }
.lw-public-game-grid > a:hover .lw-public-game-media em { opacity: 1; }
.lw-public-game-grid > a:hover img { transform: scale(1.04); }
.lw-public-game-grid strong, .lw-public-game-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lw-public-game-grid strong { margin-top: 10px; font-size: .9rem; font-weight: 600; }
.lw-public-game-grid small { margin-top: 3px; color: var(--skin-muted, #7f92a9); font-size: .76rem; }
.lw-public-empty { display: flex; gap: 15px; align-items: center; border: 1px solid rgb(255 255 255 / 9%); border-radius: 18px; background: rgb(var(--skin-surface-rgb, 15 29 47) / 78%); padding: 30px; }
.lw-public-empty > i { color: var(--lw-orange); font-size: 1.5rem; }
.lw-public-empty span, .lw-public-empty small { display: block; }
.lw-public-empty small { margin-top: 4px; color: var(--skin-muted, #8fa2b9); }
.lw-public-join { display: flex; justify-content: space-between; gap: 28px; align-items: center; border: 1px solid rgb(255 255 255 / 10%); border-radius: 22px; background: linear-gradient(120deg, rgb(var(--skin-cool-rgb, 0 141 241) / 16%), rgb(var(--skin-warm-rgb, 255 75 11) / 12%)); padding: clamp(28px, 5vw, 54px); }
.lw-public-join p { margin: 8px 0 0; color: var(--skin-muted, #9dafc3); }
.lw-public-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(255 255 255 / 8%); color: var(--skin-muted, #788ba2); padding-block: 26px; font-size: .82rem; }
.lw-public-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.lw-public-footer a { color: var(--skin-muted, #9dafc3); text-decoration: none; }

body.cms-public-home { overflow-x: hidden; background: var(--skin-page, #030912); }
body.cms-public-home::before { content: none; }
.cms-public-home .cms-shell { width: 100%; min-width: 0; overflow-x: clip; padding-left: 72px; }
.cms-public-home .cms-shell > .cms-card:first-child { min-height: 74px; padding-block: 8px; background: rgb(var(--skin-page-rgb, 3 10 20) / 94%); }
.cms-public-home .cms-brand-logo { height: 54px; max-width: 210px; }
.cms-brand-mark > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.lw-casino-rail { position: fixed; z-index: 45; top: 0; bottom: 0; left: 0; display: grid; width: 72px; align-content: start; gap: 6px; border-right: 1px solid rgb(255 255 255 / 7%); background: var(--skin-page, #050b13); padding: 92px 9px 20px; }
.lw-casino-rail a, .lw-casino-rail button { position: relative; display: grid; width: 54px; height: 52px; place-items: center; border: 0; border-radius: 13px; background: transparent; color: var(--skin-muted, #718298); cursor: pointer; font: inherit; text-decoration: none; }
.lw-casino-rail a:hover, .lw-casino-rail button:hover, .lw-casino-rail .is-active { background: rgb(var(--skin-warm-rgb, 255 122 0) / 11%); color: var(--lw-orange-bright); }
.lw-casino-rail span { position: absolute; left: 62px; display: none; border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; background: var(--skin-surface, #111d2d); color: var(--skin-text, #eaf0f7); padding: 7px 10px; font-size: .75rem; white-space: nowrap; box-shadow: 0 10px 30px rgb(0 0 0 / 35%); }
.lw-casino-rail a:hover span, .lw-casino-rail button:hover span { display: block; }
.lw-casino-floor { width: min(1600px, calc(100% - 36px)); margin: 0 auto; padding: 18px 0 46px; }
.lw-jackpot-strip { display: flex; max-width: 100%; min-height: 48px; gap: 12px 26px; align-items: center; justify-content: center; overflow-x: auto; border: 1px solid rgb(var(--skin-warm-rgb, 255 201 40) / 13%); border-radius: 14px; background: linear-gradient(90deg, rgb(var(--skin-warm-rgb, 255 75 11) / 7%), rgb(var(--skin-warm-rgb, 255 201 40) / 9%), rgb(var(--skin-cool-rgb, 0 141 241) / 7%)); color: var(--skin-muted, #8294aa); padding: 8px 18px; white-space: nowrap; }
.lw-jackpot-strip span { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.lw-jackpot-strip i, .lw-jackpot-strip strong { color: var(--lw-gold); }
.lw-jackpot-strip strong { font-size: .92rem; font-weight: 600; }
.lw-casino-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); min-height: 340px; overflow: hidden; margin-top: 16px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 22px; background: radial-gradient(circle at 82% 40%, rgb(var(--skin-cool-rgb, 0 141 241) / 28%), transparent 35%), linear-gradient(125deg, var(--skin-surface, #2a0d08), var(--skin-surface, #111c2e) 55%, var(--skin-surface, #071425)); box-shadow: 0 24px 70px rgb(0 0 0 / 28%); }
.lw-casino-banner::after { content: none; }
.lw-casino-banner-copy { z-index: 2; align-self: center; max-width: 700px; padding: clamp(30px, 4vw, 66px); }
.lw-casino-banner-copy > span { color: var(--lw-orange-bright); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.lw-casino-banner h1 { margin: 9px 0 12px; font-size: clamp(2.3rem, 4.2vw, 4.7rem); font-weight: 550; line-height: .94; letter-spacing: -.055em; }
.lw-casino-banner p { margin: 0 0 22px; color: var(--skin-muted, #a7b7ca); font-size: 1rem; }
.lw-casino-banner-games { position: relative; min-height: 340px; }
.lw-casino-banner-games span { position: absolute; top: calc(38px + var(--card-position) * 18px); right: calc(17% + (2 - var(--card-position)) * 22%); width: clamp(145px, 14vw, 230px); aspect-ratio: .82; overflow: hidden; border: 4px solid rgb(255 255 255 / 9%); border-radius: 18px; background: var(--skin-raised, #16283f); box-shadow: 0 28px 65px rgb(0 0 0 / 48%); transform: rotate(calc((var(--card-position) - 1) * 8deg)); }
.lw-casino-banner-games img { width: 100%; height: 100%; object-fit: cover; }
.lw-casino-controls { scroll-margin-top: 90px; padding-top: 28px; }
.lw-casino-section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.lw-casino-section-head > div > span { color: var(--skin-muted, #788ca4); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.lw-casino-section-head h2 { margin: 5px 0 0; font-size: 1.5rem; font-weight: 600; }
.lw-casino-section-head small { color: var(--skin-muted, #7f92aa); }
.lw-casino-section-head small b { color: var(--skin-text, #dce7f5); font-weight: 600; }
.lw-casino-categories { display: grid; grid-template-columns: repeat(5, minmax(118px, 1fr)); gap: 9px; margin-top: 18px; overflow-x: auto; }
.lw-casino-categories button { display: flex; min-height: 48px; gap: 9px; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / 8%); border-radius: 12px; background: var(--skin-surface, #0e1928); color: var(--skin-muted, #9eacbe); cursor: pointer; font: inherit; font-size: .84rem; }
.lw-casino-categories button:hover, .lw-casino-categories button.is-active { border-color: rgb(var(--skin-warm-rgb, 255 122 0) / 42%); background: linear-gradient(135deg, rgb(var(--skin-warm-rgb, 255 75 11) / 18%), rgb(var(--skin-warm-rgb, 255 201 40) / 8%)); color:var(--skin-on-surface, #fff); }
.lw-casino-categories i { color: var(--lw-orange-bright); }
.lw-casino-filterbar { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 12px; margin-top: 12px; }
.lw-casino-search { display: grid; grid-template-columns: 22px minmax(0, 1fr) 34px; align-items: center; border: 1px solid rgb(255 255 255 / 9%); border-radius: 12px; background: var(--skin-surface, #0b1523); padding: 0 10px 0 14px; }
.lw-casino-search > i { color: var(--skin-muted, #63778f); }
.lw-casino-search input { min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color:var(--skin-on-surface, #fff); font: inherit; }
.lw-casino-search button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--skin-muted, #63778f); cursor: pointer; }
.lw-casino-providers { display: flex; gap: 7px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.lw-casino-providers::-webkit-scrollbar { display: none; }
.lw-casino-providers button { flex: 0 0 auto; min-height: 39px; border: 1px solid rgb(255 255 255 / 8%); border-radius: 999px; background: var(--skin-surface, #0e1928); color: var(--skin-muted, #8fa0b4); padding: 0 14px; cursor: pointer; font: inherit; font-size: .76rem; }
.lw-casino-providers button.is-active { border-color: rgb(var(--skin-cool-rgb, 32 201 244) / 35%); background: rgb(var(--skin-cool-rgb, 0 141 241) / 14%); color: var(--skin-text, #d9f6ff); }
.lw-casino-sections { display: grid; gap: 28px; padding-top: 26px; }
.lw-casino-row[hidden] { display: none; }
.lw-casino-row > header { display: flex; min-height: 38px; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 11px; }
.lw-casino-row > header > div { display: flex; gap: 9px; align-items: center; min-width: 0; }
.lw-provider-monogram { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 9px; background: linear-gradient(135deg, var(--lw-orange), var(--skin-warm, #ff9a19)); color:var(--skin-on-surface, #fff); font-size: .8rem; font-weight: 600; }
.lw-casino-row h2 { overflow: hidden; margin: 0; font-size: 1rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.lw-casino-row header small { color: var(--skin-muted, #687b92); font-size: .72rem; }
.lw-casino-row header button { border: 0; background: transparent; color: var(--skin-muted, #9fb0c3); cursor: pointer; font: inherit; font-size: .76rem; }
.lw-casino-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; overflow: hidden; }
.lw-casino-row:not(.is-expanded) .lw-casino-game:nth-child(n+9) { display: none; }
.lw-casino-game { min-width: 0; color: var(--skin-text, #e9f0f8); text-decoration: none; }
.lw-casino-game[hidden] { display: none !important; }
.lw-casino-game-media { position: relative; display: grid; aspect-ratio: 1.32; overflow: hidden; place-items: center; border: 1px solid rgb(255 255 255 / 7%); border-radius: 12px; background: linear-gradient(145deg, var(--skin-raised, #162a44), var(--skin-page, #081321)); color: var(--lw-orange); }
.lw-casino-game-media > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lw-casino-play { position: absolute; inset: 0; display: flex; gap: 7px; align-items: center; justify-content: center; background: rgb(var(--skin-page-rgb, 1 7 15) / 62%); color:var(--skin-on-surface, #fff); font-size: .75rem; font-style: normal; opacity: 0; transition: opacity .18s ease; }
.lw-casino-provider { position: absolute; bottom: 5px; left: 6px; max-width: calc(100% - 12px); overflow: hidden; border-radius: 999px; background: rgb(var(--skin-page-rgb, 1 7 15) / 72%); color: var(--skin-text, #d6e0ec); padding: 3px 7px; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.lw-casino-game:hover .lw-casino-play { opacity: 1; }
.lw-casino-game:hover img { transform: none; }
.lw-casino-game > strong { display: block; overflow: hidden; margin-top: 7px; font-size: .74rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.lw-casino-no-results { border: 1px dashed rgb(255 255 255 / 13%); border-radius: 14px; color: var(--skin-muted, #8294aa); padding: 30px; text-align: center; }
.lw-casino-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; border-top: 1px solid rgb(255 255 255 / 7%); color: var(--skin-muted, #61748b); padding-top: 24px; font-size: .76rem; }
.lw-casino-footer nav { display: flex; gap: 18px; }
.lw-casino-footer a { color: var(--skin-muted, #8294aa); text-decoration: none; }
.lw-casino-mobile-nav { display: none; }

@media (display-mode: standalone) and (max-width:760px) {
  .cms-public-home .cms-shell > .cms-card:first-child { min-height: 62px; padding-top: max(7px, env(safe-area-inset-top)); }
  .cms-public-home .cms-brand-logo { height: 44px; }
  .lw-casino-rail, .lw-jackpot-strip { display: none; }
  .cms-public-home .cms-shell { padding-left: 0; }
  .lw-casino-floor { padding-top: 8px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .lw-casino-banner { min-height: 210px; margin-top: 0; }
  .lw-casino-mobile-nav { padding-bottom: env(safe-area-inset-bottom); }
}@media(max-width:760px){
.cms-pwa-standalone.cms-public-home .cms-shell > .cms-card:first-child { min-height: 62px; padding-top: max(7px, env(safe-area-inset-top)); }}@media(max-width:760px){
.cms-pwa-standalone.cms-public-home .cms-brand-logo { height: 44px; }}@media(max-width:760px){
.cms-pwa-standalone .lw-casino-rail, .cms-pwa-standalone .lw-jackpot-strip { display: none; }}@media(max-width:760px){
.cms-pwa-standalone.cms-public-home .cms-shell { padding-left: 0; }}@media(max-width:760px){
.cms-pwa-standalone .lw-casino-floor { padding-top: 8px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }}@media(max-width:760px){
.cms-pwa-standalone .lw-casino-banner { min-height: 210px; margin-top: 0; }}@media(max-width:760px){
.cms-pwa-standalone .lw-casino-mobile-nav { padding-bottom: env(safe-area-inset-bottom); }}

.cms-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cms-account-grid-admin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cms-account-balance { margin: 8px 0 18px; color: var(--skin-text, #f7f9fc); font-family: inherit; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.cms-account-section { margin-top: 22px; border-top: 1px solid rgb(255 255 255 / 9%); padding-top: 22px; }
.cms-profile-form { max-width: 680px; }
#player-messages form { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0,1fr); align-items: stretch; gap: 14px; }
#player-messages form > .cms-form-row { grid-column: auto; min-width: 0; }
#player-messages form .cms-textarea { width: 100%; height: 140px; min-height: 140px; }
#player-messages form > .cms-button { min-height: 44px; padding: 10px 18px; }
#player-messages h3 { margin: 24px 0 8px; }
@media(max-width:760px) {
 #player-messages form { grid-template-columns: minmax(0,1fr); }
 #player-messages form > .cms-button { justify-self: start; }
}
.cms-detail-list { display: grid; gap: 0; margin: 14px 0 0; }
.cms-detail-list > div { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(255 255 255 / 8%); padding: 11px 0; }
.cms-detail-list dt { color: var(--skin-muted, #8fa1b8); }
.cms-detail-list dd { margin: 0; color:var(--skin-on-surface, #fff); text-align: right; }
.cms-textarea { min-height: 130px; resize: vertical; }
.cms-account-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lw-player-credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.lw-player-credit-grid .cms-account-state-action { min-width: 0; }
.lw-player-credit-grid .cms-account-state-action p { margin: 8px 0 16px; color: var(--skin-muted, #aebdce); }
.lw-player-credit-grid .cms-form-row small { font-size: .78rem; line-height: 1.45; color: var(--skin-muted, #aebdce); }
.lw-supplier-readiness p { max-width: 100ch; }
.lw-supplier-readiness-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.lw-supplier-readiness-actions .cms-button { min-height: 42px; padding: 9px 16px; }
.lw-supplier-readiness-actions small { color: var(--skin-muted, #aebdce); }
@media (max-width: 980px) { .lw-player-credit-grid { grid-template-columns: 1fr; } }
.cms-account-state-action { align-self: start; border: 1px solid rgb(var(--skin-warm-rgb, 255 75 11) / 22%); border-radius: 14px; background: rgb(var(--skin-warm-rgb, 255 75 11) / 6%); padding: 18px; }
.cms-account-state-action form { display: grid; gap: 12px; margin-top: 12px; }
.cms-account-state-action h3 { margin: 0 0 8px; font-size: 1.05rem; }
.cms-account-state-action form + h3 { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgb(var(--skin-warm-rgb, 255 75 11) / 22%); }
.cms-account-state-action .cms-form-row { display: grid; gap: 6px; min-width: 0; }
.cms-account-state-action .cms-button { justify-self: start; min-height: 42px; padding: 10px 18px; }
.cms-button-danger { background: var(--skin-warm, #a92d2d); color:var(--skin-on-surface, #fff); }
.cms-activity-list { display: grid; gap: 2px; }
.cms-activity-list article { display: flex; gap: 13px; align-items: center; border-bottom: 1px solid rgb(255 255 255 / 8%); padding: 13px 2px; }
.cms-activity-list article > i { color: var(--lw-blue-bright); }
.cms-activity-list span, .cms-activity-list small { display: block; }
.cms-activity-list small { margin-top: 3px; color: var(--skin-muted, #8fa1b8); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.lw-admin-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 10px 4px 6px; }
.lw-admin-pagehead h1 { margin: 3px 0 4px; }
.lw-admin-pagehead p { margin: 0; color: var(--skin-muted, #93a4b9); }
.lw-admin-kicker { display: block; color: var(--skin-muted, #7f92aa); font-size: .72rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
.lw-admin-kicker.is-alert { color: var(--skin-warm, #ffab86); }
.lw-admin-search { display: flex; gap: 9px; width: min(480px, 48%); }
.lw-admin-search label { position: relative; flex: 1; }
.lw-admin-search label > i { position: absolute; top: 50%; left: 14px; color: var(--skin-muted, #71839a); transform: translateY(-50%); }
.lw-admin-search input { width: 100%; min-height: 46px; border: 1px solid rgb(255 255 255 / 11%); border-radius: 12px; background: rgb(var(--skin-page-rgb, 4 14 27) / 56%); color:var(--skin-on-surface, #fff); padding: 10px 14px 10px 40px; font: inherit; }
.lw-admin-search input:focus { border-color: rgb(var(--skin-cool-rgb, 32 201 244) / 55%); outline: none; box-shadow: 0 0 0 3px rgb(var(--skin-cool-rgb, 32 201 244) / 9%); }
.lw-command-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lw-command-kpi { position: relative; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto auto; gap: 1px 12px; min-height: 150px; overflow: hidden; border: 1px solid rgb(255 255 255 / 9%); border-radius: 16px; background: linear-gradient(145deg, rgb(var(--skin-raised-rgb, 22 39 60) / 92%), rgb(var(--skin-surface-rgb, 13 27 44) / 96%)); color: var(--skin-text, #eef4fb); padding: 18px; text-decoration: none; box-shadow: 0 12px 30px rgb(0 0 0 / 12%); transition: border-color .18s ease, transform .18s ease; }
.lw-command-kpi:hover { border-color: rgb(var(--skin-cool-rgb, 32 201 244) / 42%); transform: translateY(-2px); }
.lw-command-kpi-icon { display: grid; grid-row: 1 / 3; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: rgb(var(--skin-warm-rgb, 255 75 11) / 10%); color: var(--skin-warm, #ff8254); }
.lw-command-kpi .lw-admin-kicker { overflow: hidden; padding-right: 18px; text-overflow: ellipsis; white-space: nowrap; }
.lw-command-kpi-value { align-self: end; margin-top: 8px; font-size: 1.75rem; font-weight: 600; letter-spacing: -.035em; }
.lw-command-kpi small { grid-column: 1 / -1; align-self: end; color: var(--skin-muted, #8fa1b7); line-height: 1.35; }
.lw-command-kpi-arrow { position: absolute; right: 17px; top: 19px; color: var(--skin-border, #52657d); font-size: .8rem; }
.lw-balance-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; margin: 16px 0; }
.lw-balance-item { display: flex; gap: 14px; align-items: center; min-width: 0; border-top: 1px solid rgb(255 255 255 / 13%); border-bottom: 1px solid rgb(255 255 255 / 8%); color: var(--skin-text, #eef4fb); padding: 14px 2px; text-decoration: none; }
.lw-balance-item:hover { border-top-color: var(--skin-cool, #63c8ff); }
.lw-balance-item.is-low { border-top-color: var(--skin-warm, #ff8254); }
.lw-balance-icon { display: flex; width: 42px; height: 42px; flex: 0 0 42px; align-items: center; justify-content: center; border-radius: 11px; background: rgb(var(--skin-cool-rgb, 0 141 241) / 11%); color: var(--skin-cool, #63c8ff); }
.lw-balance-item.is-low .lw-balance-icon { background: rgb(var(--skin-warm-rgb, 255 75 11) / 11%); color: var(--skin-warm, #ff8254); }
.lw-balance-copy { display: grid; gap: 3px; min-width: 0; }
.lw-balance-copy small { color: var(--skin-muted, #8fa1b7); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.lw-balance-copy strong { font-size: 1.2rem; font-weight: 650; overflow-wrap: anywhere; }
.lw-balance-copy em { color: var(--skin-muted, #8fa1b7); font-size: .72rem; font-style: normal; line-height: 1.35; }
.lw-balance-state { margin-left: auto; flex: 0 0 auto; color: var(--skin-cool, #63c8ff); font-size: .74rem; }
.lw-balance-item.is-low .lw-balance-state { color: var(--skin-warm, #ff8254); }
.lw-balance-settings { display: grid; gap: 12px; }
.lw-balance-settings h3 { margin: 0; font-size: 1rem; }
.lw-balance-settings .cms-control-row { align-items: end; }
.lw-balance-settings .cms-control-row > .cms-form-row { flex: 1 1 180px; }
.lw-balance-settings .cms-control-row > .cms-button { flex: 0 0 auto; align-self: end; }
.cms-control-row.lw-sms-test-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.lw-sms-test-row .cms-form-row, .lw-sms-test-row .cms-button { width: 100%; min-width: 0; }
.lw-command-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(290px, .72fr); gap: 16px; align-items: start; }
.lw-command-main, .lw-command-side { display: grid; gap: 16px; }
.lw-command-panel { margin: 0; padding: 20px; border-radius: 17px; box-shadow: 0 12px 32px rgb(0 0 0 / 14%); }
.lw-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.lw-panel-heading h2 { margin: 3px 0 0; font-size: 1.2rem; }
.lw-panel-heading > a { color: var(--skin-cool, #8edcff); font-size: .82rem; text-decoration: none; }
.lw-count-pill { border: 1px solid rgb(255 255 255 / 10%); border-radius: 999px; background: rgb(255 255 255 / 4%); color: var(--skin-muted, #aebed0); padding: 5px 10px; font-size: .76rem; }
.lw-action-list { display: grid; gap: 7px; }
.lw-action-list > a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; gap: 13px; align-items: center; border: 1px solid transparent; border-radius: 12px; color: var(--skin-text, #eef4fb); padding: 11px 12px; text-decoration: none; }
.lw-action-list > a:hover { border-color: rgb(255 255 255 / 8%); background: rgb(255 255 255 / 2%); }
.lw-action-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: rgb(var(--skin-cool-rgb, 0 141 241) / 10%); color: var(--skin-cool, #63c8ff); }
.lw-action-list b { display: block; font-weight: 600; }
.lw-action-list small { display: block; margin-top: 3px; color: var(--skin-muted, #7f92aa); }
.lw-action-count { min-width: 30px; color: var(--skin-text, #f4f7fb); font-size: 1.15rem; font-weight: 600; text-align: center; }
.lw-action-list em { color: var(--skin-muted, #8092a8); font-size: .78rem; font-style: normal; }
.lw-action-list em i { margin-left: 5px; font-size: .68rem; }
.lw-command-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lw-feature-stat { display: flex; gap: 14px; align-items: center; min-height: 74px; }
.lw-feature-icon { display: flex; width: 50px; height: 50px; flex: 0 0 50px; align-items: center; justify-content: center; border-radius: 14px; background: rgb(var(--skin-cool-rgb, 0 141 241) / 11%); color: var(--skin-cool, #58c4ff); font-size: 1.25rem; }
.lw-feature-icon.is-gold { background: rgb(var(--skin-warm-rgb, 255 201 40) / 10%); color: var(--skin-warm, #f1c84e); }
.lw-feature-stat > div > span { display: block; color: var(--skin-text, #f4f7fb); font-size: 1.15rem; font-weight: 600; }
.lw-feature-stat small { display: block; margin-top: 5px; color: var(--skin-muted, #8193a9); line-height: 1.4; }
.lw-module-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lw-module-summary a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 9px; align-items: center; border: 1px solid rgb(255 255 255 / 7%); border-radius: 11px; background: rgb(255 255 255 / 2%); color: var(--skin-muted, #cbd5e1); padding: 11px; text-decoration: none; }
.lw-module-summary a:hover { border-color: rgb(var(--skin-cool-rgb, 32 201 244) / 35%); }
.lw-module-summary a > i { color: var(--skin-warm, #ff7545); }
.lw-module-summary span { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.lw-module-summary em { color: var(--skin-muted, #8193a9); font-style: normal; }
.lw-health-list { display: grid; }
.lw-health-list > div { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; border-top: 1px solid rgb(255 255 255 / 7%); padding: 13px 0; }
.lw-health-list > div:first-child { border-top: 0; }
.lw-health-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: rgb(255 255 255 / 4%); color: var(--skin-muted, #8fa2b9); }
.lw-health-list b { display: block; font-size: .86rem; font-weight: 600; }
.lw-health-list small { display: block; margin-top: 3px; color: var(--skin-muted, #71839a); font-size: .72rem; line-height: 1.35; }
.lw-health-list em { border-radius: 999px; background: rgb(255 255 255 / 5%); color: var(--skin-muted, #aebed0); padding: 4px 8px; font-size: .72rem; font-style: normal; }
.lw-health-list em[data-tone="success"] { background: rgb(var(--skin-success-rgb, 32 190 120) / 10%); color: var(--skin-success, #76dcb1); }
.lw-health-list em[data-tone="warning"] { background: rgb(var(--skin-warm-rgb, 255 174 66) / 11%); color: var(--skin-warm, #ffc374); }
.lw-quick-panel nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lw-quick-panel nav a { display: flex; gap: 9px; align-items: center; min-height: 44px; border: 1px solid rgb(255 255 255 / 7%); border-radius: 11px; background: rgb(255 255 255 / 2%); color: var(--skin-muted, #b9c6d6); padding: 10px 11px; font-size: .82rem; text-decoration: none; }
.lw-quick-panel nav a:hover { border-color: rgb(var(--skin-warm-rgb, 255 75 11) / 28%); color:var(--skin-on-surface, #fff); }
.lw-quick-panel nav i { color: var(--skin-warm, #ff7545); }
.lw-gateway-state { display: inline-flex; gap: 7px; align-items: center; border: 1px solid rgb(var(--skin-warm-rgb, 255 174 66) / 18%); border-radius: 999px; background: rgb(var(--skin-warm-rgb, 255 174 66) / 8%); color: var(--skin-warm, #ffc374); padding: 7px 11px; font-size: .78rem; }
.lw-gateway-state.is-ready { border-color: rgb(var(--skin-success-rgb, 32 190 120) / 18%); background: rgb(var(--skin-success-rgb, 32 190 120) / 8%); color: var(--skin-success, #76dcb1); }
.lw-settings-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .7fr); gap: 16px; align-items: start; }
.lw-premium-form { display: grid; gap: 5px; }
.lw-secret-note { display: flex; gap: 10px; align-items: center; margin: 8px 0 14px; border: 1px solid rgb(var(--skin-cool-rgb, 32 201 244) / 12%); border-radius: 11px; background: rgb(var(--skin-cool-rgb, 0 141 241) / 5%); color: var(--skin-muted, #93a8bd); padding: 11px 13px; font-size: .82rem; }
.lw-secret-note i { color: var(--skin-cool, #55c8ff); }
.lw-config-checks { display: grid; gap: 9px; margin-top: 20px; border-top: 1px solid rgb(255 255 255 / 7%); padding-top: 16px; }
.lw-config-checks span { display: flex; gap: 9px; align-items: center; color: var(--skin-muted, #9dafc2); font-size: .82rem; }
.lw-config-checks i.fa-check { color: var(--skin-success, #65d6a6); }
.lw-config-checks i.fa-xmark { color: var(--skin-warm, #ff9b83); }
.cms-button:disabled { cursor: not-allowed; filter: grayscale(.6); opacity: .5; transform: none; }
.lw-nav-group { margin-top: 7px; border-top: 1px solid rgb(255 255 255 / 7%); padding-top: 7px; }
.lw-nav-group summary { display: flex; align-items: center; justify-content: space-between; border-radius: 10px; color: var(--skin-muted, #aab9cb); padding: 9px 10px; cursor: pointer; font-size: .88rem; }
.lw-nav-group summary::-webkit-details-marker { display: none; }
.lw-nav-group summary span { display: flex; gap: 8px; align-items: center; }
.lw-nav-group summary em { border-radius: 999px; background: rgb(255 255 255 / 6%); padding: 2px 7px; font-size: .7rem; font-style: normal; }
.lw-nav-group > div { display: grid; gap: 2px; margin-top: 3px; padding-left: 8px; }
.lw-nav-group > div a { font-size: .82rem; }
.lw-admin-identity { display: grid; gap: 2px; margin-top: 14px; border-top: 1px solid rgb(255 255 255 / 7%); padding: 14px 10px 0; }
.lw-admin-identity span { color: var(--skin-text, #dce5ef); font-size: .85rem; }
.lw-admin-identity small { overflow: hidden; color: var(--skin-muted, #71839a); font-size: .7rem; text-overflow: ellipsis; }
.lw-queue-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lw-queue-summary a { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; border: 1px solid rgb(255 255 255 / 8%); border-radius: 14px; background: rgb(var(--skin-surface-rgb, 15 29 47) / 96%); color: var(--skin-text, #dce5ef); padding: 16px; text-decoration: none; }
.lw-queue-summary a.is-active { border-color: rgb(var(--skin-cool-rgb, 32 201 244) / 40%); background: rgb(var(--skin-cool-rgb, 0 141 241) / 6%); }
.lw-queue-summary span { color: var(--skin-muted, #8fa1b7); font-size: .78rem; text-transform: uppercase; }
.lw-queue-summary b { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 1.7rem; font-weight: 600; }
.lw-queue-summary small { color: var(--skin-text, #f1f5f9); }
.lw-filter-links { display: flex; gap: 5px; flex-wrap: wrap; }
.lw-filter-links a { border-radius: 999px; color: var(--skin-muted, #8092a8); padding: 6px 10px; font-size: .76rem; text-decoration: none; }
.lw-filter-links a.is-active { background: rgb(var(--skin-cool-rgb, 0 141 241) / 12%); color: var(--skin-cool, #7cd4ff); }
.lw-review-form { display: grid; gap: 8px; min-width: 220px; }
.lw-review-form > div { display: flex; gap: 7px; }
.lw-review-form .cms-button { min-height: 36px; padding-inline: 11px; font-size: .78rem; }
.lw-integration-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lw-integration-kpis:has(> article:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lw-integration-kpis:has(> article:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lw-integration-kpis:has(> article:nth-child(5)) article { gap: 11px; min-height: 84px; padding: 13px; }
.lw-integration-kpis:has(> article:nth-child(5)) article > i { width: 34px; height: 34px; flex-basis: 34px; font-size: .9rem; }
.lw-integration-kpis:has(> article:nth-child(5)) b { font-size: .9rem; }
.lw-integration-kpis article { display: flex; gap: 13px; align-items: center; min-width: 0; min-height: 88px; border: 1px solid rgb(255 255 255 / 8%); border-radius: 0; background: rgb(var(--skin-surface-rgb, 15 29 47) / 96%); padding: 16px; }
.lw-integration-kpis article > i { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 0; background: rgb(var(--skin-cool-rgb, 0 141 241) / 10%); color: var(--skin-cool, #62c9ff); }
.lw-integration-kpis article > div { display: grid; gap: 5px; min-width: 0; }
.lw-integration-kpis span, .lw-integration-kpis b { display: block; }
.lw-integration-kpis span { color: var(--skin-muted, #8092a8); font-size: .74rem; line-height: 1.25; }
.lw-integration-kpis b { color: var(--skin-text, #edf3f9); font-size: 1rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
@media (max-width: 1400px) { .lw-integration-kpis:has(> article:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lw-integration-kpis:has(> article:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lw-integration-kpis:has(> article:nth-child(5)) article { min-height: 88px; padding: 16px; } .lw-integration-kpis:has(> article:nth-child(5)) article > i { width: 40px; height: 40px; flex-basis: 40px; font-size: 1rem; } .lw-integration-kpis:has(> article:nth-child(5)) b { font-size: 1rem; } }
.lw-gg-layout { grid-template-columns: minmax(0, 1.5fr) minmax(320px, .72fr); }
.lw-form-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.lw-endpoint-field { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 8px; align-items: stretch; margin: 14px 0 6px; }
.lw-endpoint-field code { overflow-wrap: anywhere; border: 1px solid rgb(255 255 255 / 9%); border-radius: 11px; background: rgb(var(--skin-page-rgb, 3 12 24) / 54%); color: var(--skin-cool, #b9dff2); padding: 12px; font-size: .76rem; }
.lw-endpoint-field button { border: 1px solid rgb(255 255 255 / 9%); border-radius: 11px; background: var(--skin-raised, #21334a); color: var(--skin-text, #dce7f2); cursor: pointer; }
.lw-operator-note { display: flex; gap: 10px; margin: 18px 0 0; border-radius: 11px; background: rgb(var(--skin-warm-rgb, 255 174 66) / 7%); color: var(--skin-muted, #aab8c9); padding: 12px; font-size: .8rem; line-height: 1.45; }
.lw-operator-note i { margin-top: 3px; color: var(--skin-warm, #ffc374); }
.lw-game-catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lw-game-catalogue article { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 70px; border: 1px solid rgb(255 255 255 / 7%); border-radius: 12px; background: rgb(255 255 255 / 2%); padding: 10px; }
.lw-game-catalogue img, .lw-game-catalogue article > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 9px; background: rgb(var(--skin-warm-rgb, 255 75 11) / 9%); color: var(--skin-warm, #ff8155); object-fit: cover; }
.lw-game-catalogue b, .lw-game-catalogue small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lw-game-catalogue b { color: var(--skin-text, #e8eef5); font-size: .84rem; font-weight: 600; }
.lw-game-catalogue small { margin-top: 4px; color: var(--skin-muted, #71839a); font-size: .7rem; }
.lw-game-catalogue em { color: var(--skin-success, #6ed6a8); font-size: .68rem; font-style: normal; }
.lw-template-list { display: grid; gap: 4px; max-height: 520px; overflow-y: auto; }
.lw-template-list article { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: center; border-bottom: 1px solid rgb(255 255 255 / 7%); padding: 11px 2px; }
.lw-template-list i { color: var(--skin-success, #64d7a7); }
.lw-template-list b, .lw-template-list small { display: block; }
.lw-template-list b { color: var(--skin-text, #e7eef6); font-size: .84rem; font-weight: 600; }
.lw-template-list small { margin-top: 3px; color: var(--skin-muted, #75879d); font-size: .72rem; }
.lw-lobby-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 26px 4px 6px; }
.lw-lobby-head h1 { margin: 8px 0 5px; }
.lw-lobby-head p { margin: 0; color: var(--skin-muted, #8fa1b7); }
.lw-lobby-tools { display: grid; gap: 13px; border: 1px solid rgb(255 255 255 / 8%); border-radius: 16px; background: rgb(var(--skin-surface-rgb, 15 29 47) / 94%); padding: 15px; }
.lw-lobby-tools > label { position: relative; }
.lw-lobby-tools > label i { position: absolute; top: 50%; left: 15px; color: var(--skin-muted, #70849b); transform: translateY(-50%); }
.lw-lobby-tools input { width: 100%; min-height: 50px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 12px; background: rgb(var(--skin-page-rgb, 3 12 24) / 62%); color:var(--skin-on-surface, #fff); padding: 10px 14px 10px 44px; font: inherit; }
.lw-lobby-tools input:focus { border-color: var(--skin-cool, #28c9f2); outline: 0; box-shadow: 0 0 0 3px rgb(var(--skin-cool-rgb, 32 201 244) / 11%); }
.lw-provider-chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.lw-provider-chips button { flex: 0 0 auto; border: 1px solid rgb(255 255 255 / 8%); border-radius: 999px; background: rgb(255 255 255 / 3%); color: var(--skin-muted, #9dafc2); padding: 8px 12px; cursor: pointer; font: inherit; font-size: .78rem; }
.lw-provider-chips button.is-active { border-color: rgb(var(--skin-cool-rgb, 32 201 244) / 30%); background: rgb(var(--skin-cool-rgb, 0 141 241) / 13%); color: var(--skin-cool, #8edcff); }
.lw-lobby-strip, .lw-lobby-catalogue { border: 1px solid rgb(255 255 255 / 8%); border-radius: 17px; background: rgb(var(--skin-surface-rgb, 15 29 47) / 94%); padding: 19px; }
.lw-lobby-strip > div:last-child { display: flex; gap: 10px; overflow-x: auto; }
.lw-lobby-strip a { display: grid; flex: 0 0 128px; gap: 7px; color: var(--skin-text, #e8eef5); text-decoration: none; }
.lw-lobby-strip img, .lw-lobby-strip a > span { display: grid; width: 128px; height: 84px; place-items: center; border-radius: 11px; background: rgb(var(--skin-warm-rgb, 255 75 11) / 10%); object-fit: cover; }
.lw-lobby-strip b { overflow: hidden; font-size: .78rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.lw-player-game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.lw-player-game-grid article { min-width: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 8%); border-radius: 14px; background: rgb(255 255 255 / 2%); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.lw-player-game-grid article:hover { border-color: rgb(var(--skin-cool-rgb, 32 201 244) / 38%); box-shadow: 0 14px 28px rgb(0 0 0 / 22%); transform: translateY(-3px); }
.lw-player-game-grid article[hidden] { display: none; }
.lw-game-media { position: relative; display: block; aspect-ratio: 1.45; overflow: hidden; background: linear-gradient(145deg, var(--skin-surface, #14263d), var(--skin-surface, #091524)); }
.lw-game-media img, .lw-game-media > span:first-child { display: grid; width: 100%; height: 100%; place-items: center; color: var(--skin-warm, #ff7545); object-fit: cover; transition: transform .22s ease; }
.lw-player-game-grid article:hover .lw-game-media img { transform: scale(1.04); }
.lw-play-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(var(--skin-page-rgb, 3 12 24) / 44%); color:var(--skin-on-surface, #fff); opacity: 0; transition: opacity .18s ease; }
.lw-play-overlay i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--skin-warm, #ff7a00), var(--skin-warm, #ff4b0b)); box-shadow: 0 8px 20px rgb(var(--skin-warm-rgb, 255 75 11) / 35%); }
.lw-player-game-grid article:hover .lw-play-overlay { opacity: 1; }
.lw-game-copy { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 5px; align-items: center; padding: 11px; }
.lw-game-copy > a { min-width: 0; color: var(--skin-text, #e8eef5); text-decoration: none; }
.lw-game-copy b, .lw-game-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lw-game-copy b { font-size: .82rem; font-weight: 600; }
.lw-game-copy small { margin-top: 3px; color: var(--skin-muted, #71839a); font-size: .68rem; }
.lw-game-copy form { margin: 0; }
.lw-game-copy button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 10px; background: rgb(255 255 255 / 4%); color: var(--skin-warm, #ff765e); cursor: pointer; }

@media (display-mode: standalone) and (max-width:760px) {
  .cms-install-button { display: none !important; }
  body.cms-page { user-select: none; -webkit-tap-highlight-color: transparent; }
}

@media (max-width: 900px) {
  .cms-public-home .cms-shell { padding-left: 0; }
  .lw-casino-rail { display: none; }
  .lw-casino-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lw-public-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lw-studio-layout { grid-template-columns: 1fr; }
  .lw-studio-preview { position: static; }
  .cms-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lw-command-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lw-balance-strip { grid-template-columns: 1fr; }
  .lw-command-layout { grid-template-columns: 1fr; }
  .lw-settings-layout { grid-template-columns: 1fr; }
  .lw-integration-kpis { grid-template-columns: 1fr; }
  .lw-integration-kpis:has(> article:nth-child(4)), .lw-integration-kpis:has(> article:nth-child(5)) { grid-template-columns: 1fr; }
  .lw-game-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lw-player-game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lw-module-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .cms-install-button:not([hidden]) { display: inline-flex; }
  .cms-public-home .cms-shell > .cms-card:first-child { padding: 8px 12px; }
  .cms-public-home .cms-brand-logo { max-width: 155px; height: 50px; }
  .lw-public-actions { gap: 8px; }
  .lw-public-actions > a:first-child { display: none; }
  .lw-public-actions .cms-button { min-height: 40px; padding-inline: 13px; font-size: .82rem; }
  .cms-public-home .cms-install-button:not([hidden]) { position: fixed; z-index: 50; right: 14px; bottom: 14px; margin: 0; box-shadow: 0 14px 38px rgb(0 0 0 / 45%); }
  .cms-public-home .cms-shell > :not(:first-child) { width: calc(100% - 24px); }
  .cms-public-home .cms-shell > .lw-casino-floor { width: 100%; }
  .cms-public-home .cms-shell > .lw-casino-mobile-nav { width: 100%; }
  .lw-public-hero { grid-template-columns: 1fr; min-height: auto; padding: 58px 2px 44px; }
  .lw-public-hero::before { width: 110vw; right: -55%; top: 12%; }
  .lw-public-hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .lw-public-feature { padding: 28px; }
  .lw-public-highlights { grid-template-columns: 1fr; }
  .lw-public-games { padding-block: 58px; }
  .lw-public-games > header { align-items: start; flex-direction: column; }
  .lw-public-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lw-public-join, .lw-public-footer { align-items: flex-start; flex-direction: column; }
  .cms-public-home .cms-shell { padding-bottom: 76px; }
  .cms-public-home .cms-shell > .cms-card:first-child { min-height: 60px; }
  .cms-public-home .cms-brand-logo { height: 42px; max-width: 145px; }
  .lw-casino-floor { width: 100%; padding: 0 0 28px; }
  .lw-jackpot-strip { min-height: 38px; justify-content: flex-start; border-width: 0 0 1px; border-radius: 0; padding-inline: 12px; }
  .lw-jackpot-strip span, .lw-jackpot-strip strong { font-size: .64rem; }
  .lw-casino-banner { grid-template-columns: 1fr; min-height: 250px; margin: 10px 10px 0; border-radius: 16px; }
  .lw-casino-banner-copy { z-index: 3; align-self: end; padding: 24px 20px; background: linear-gradient(0deg, rgb(var(--skin-page-rgb, 4 10 19) / 94%), rgb(var(--skin-page-rgb, 4 10 19) / 22%)); }
  .lw-casino-banner h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .lw-casino-banner p { max-width: 260px; font-size: .82rem; line-height: 1.45; }
  .lw-casino-banner-games { position: absolute; inset: 0; min-height: 0; opacity: .7; }
  .lw-casino-banner-games span { top: calc(16px + var(--card-position) * 9px); right: calc(-4% + (2 - var(--card-position)) * 24%); width: 42%; border-width: 2px; border-radius: 13px; }
  .lw-casino-banner .cms-button { min-height: 40px; padding-inline: 13px; font-size: .78rem; }
  .lw-casino-controls { padding: 22px 10px 0; }
  .lw-casino-section-head h2 { font-size: 1.25rem; }
  .lw-casino-section-head small { font-size: .68rem; }
  .lw-casino-categories { display: flex; margin-inline: -10px; padding: 0 10px 4px; scrollbar-width: none; }
  .lw-casino-categories button { flex: 0 0 92px; min-height: 66px; flex-direction: column; gap: 5px; padding: 8px; font-size: .68rem; }
  .lw-casino-filterbar { grid-template-columns: 1fr; }
  .lw-casino-providers { margin-inline: -10px; padding-inline: 10px; }
  .lw-casino-sections { gap: 24px; padding: 22px 10px 0; }
  .lw-casino-row header button { display: none; }
  .lw-casino-grid { display: flex; gap: 9px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .lw-casino-grid::-webkit-scrollbar { display: none; }
  .lw-casino-row:not(.is-expanded) .lw-casino-game:nth-child(n+7) { display: none; }
  .lw-casino-game { flex: 0 0 min(42vw, 180px); scroll-snap-align: start; }
  .lw-casino-game-media { aspect-ratio: 1.28; border-radius: 11px; }
  .lw-casino-game > strong { font-size: .72rem; }
  .lw-casino-footer { align-items: flex-start; flex-direction: column; padding-inline: 10px; }
  .lw-casino-mobile-nav { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 66px; border-top: 1px solid rgb(255 255 255 / 10%); background: rgb(var(--skin-page-rgb, 5 12 22) / 94%); backdrop-filter: blur(18px); box-shadow: 0 -12px 35px rgb(0 0 0 / 32%); }
  .lw-casino-mobile-nav a, .lw-casino-mobile-nav button { display: grid; gap: 4px; place-content: center; border: 0; background: transparent; color: var(--skin-muted, #73869e); font: inherit; font-size: .62rem; text-align: center; text-decoration: none; }
  .lw-casino-mobile-nav i { font-size: 1rem; }
  .lw-casino-mobile-nav .is-active { color: var(--lw-orange-bright); }
  .cms-birthdate-selects { grid-template-columns: .7fr 1.3fr 1fr; gap: 7px; }
  .cms-player-menu-toggle { position: relative; z-index: 80; }
  .cms-shell { width: 100%; padding-top: 0; }
  .cms-card { padding: 16px; }
  .cms-brand-logo { max-width: 210px; height: 58px; }
  .cms-hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .cms-hero-stat { max-width: 100%; }
  .cms-quick-grid { grid-template-columns: 1fr; }
  .cms-responsible-banner { align-items: flex-start; flex-wrap: wrap; }
  .cms-responsible-banner a { margin-left: 48px; }
  .cms-admin-authenticated .cms-admin-panel { display: block; min-height: 100vh; }
  .cms-admin-authenticated .cms-admin-panel > aside.cms-card { position: sticky; z-index: 60; top: 0; width: 100%; height: auto; overflow: visible; border-width: 0 0 1px; padding: 10px 14px; box-shadow: 0 8px 30px rgb(0 0 0 / 28%); }
  .cms-admin-authenticated .cms-admin-panel > aside .cms-card-header { margin: 0; }
  .cms-admin-authenticated .cms-admin-panel > aside .cms-brand-logo { height: 48px; max-width: 180px; }
  .cms-admin-authenticated .cms-admin-panel > main { min-height: calc(100vh - 69px); padding: 18px 14px 36px; }
  .cms-admin-navigation { position: fixed; z-index: 70; top: 0; left: 0; display: block; width: min(86vw, 330px); height: 100dvh; overflow-y: auto; background: var(--skin-surface, #0d1b2d); padding: 22px 18px; box-shadow: 18px 0 60px rgb(0 0 0 / 45%); transform: translateX(-105%); transition: transform .22s ease; }
  .cms-admin-navigation.is-open { display: block; transform: translateX(0); }
  .cms-nav-backdrop { position: fixed; z-index: 55; inset: 0; border: 0; background: rgb(var(--skin-page-rgb, 1 7 15) / 72%); backdrop-filter: blur(3px); }
  .cms-menu-open .cms-nav-backdrop { display: block; }
  .cms-menu-open { overflow: hidden; }
  .cms-admin-menu-toggle { width: 46px; min-width: 46px; padding: 0; justify-content: center; }
  .cms-admin-menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .cms-admin-navigation .cms-nav { padding-top: 12px; }
  .cms-admin-navigation .lw-admin-identity { margin-top: 20px; }
  .cms-player-authenticated .cms-shell > .cms-card:first-child { padding: 8px 12px; }
  .cms-player-authenticated .cms-shell > .cms-card:first-child .cms-card-header { margin: 0; }
  .cms-player-authenticated .cms-shell > :not(:first-child) { width: calc(100% - 24px); }
  .cms-player-authenticated .cms-brand-logo { height: 50px; max-width: 165px; }
  .cms-player-authenticated .cms-status-badge { margin-left: auto; font-size: .72rem; }
  .cms-alerts-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .cms-alerts-button { width: 38px; min-height: 38px; justify-content: center; padding: 0; }
  .cms-player-menu-toggle { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgb(255 255 255 / 10%); border-radius: 11px; background: var(--skin-raised, #21334a); color:var(--skin-on-surface, #fff); font-size: 1rem; }
  .cms-player-authenticated .cms-tabs { position: fixed; z-index: 70; top: 0; right: 0; display: grid; align-content: start; width: min(86vw, 330px); height: 100dvh; overflow-y: auto; margin: 0; border: 0; background: var(--skin-surface, #0d1b2d); padding: 84px 18px 24px; box-shadow: -18px 0 60px rgb(0 0 0 / 45%); transform: translateX(105%); transition: transform .22s ease; }
  .cms-player-authenticated .cms-tabs.is-open { transform: translateX(0); }
  .cms-player-authenticated .cms-tabs a { display: flex; min-height: 46px; align-items: center; border-radius: 10px; padding: 10px 13px; }
  .cms-player-nav-backdrop { position: fixed; z-index: 65; inset: 0; border: 0; background: rgb(var(--skin-page-rgb, 1 7 15) / 72%); backdrop-filter: blur(3px); }
  .cms-player-menu-open .cms-player-nav-backdrop { display: block; }
  .cms-player-menu-open { overflow: hidden; }
  .cms-account-grid, .cms-account-grid-admin, .cms-account-controls { grid-template-columns: 1fr; }
  .cms-dashboard-grid { grid-template-columns: 1fr; }
  .lw-admin-pagehead { display: grid; align-items: stretch; }
  .lw-admin-search { width: 100%; }
  .lw-command-kpis, .lw-command-columns { grid-template-columns: 1fr; }
  .lw-command-kpi { min-height: 132px; }
  .lw-action-list > a { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .lw-action-list em { display: none; }
  .lw-module-summary { grid-template-columns: 1fr; }
  .lw-queue-summary { grid-template-columns: 1fr; }
  .lw-game-catalogue { grid-template-columns: 1fr; }
  .lw-lobby-head { display: grid; align-items: start; padding-top: 18px; }
  .lw-lobby-head .cms-button { width: max-content; }
  .lw-lobby-strip, .lw-lobby-catalogue { padding: 14px; }
  .lw-player-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
}

/* Casino lobby v2: application-first layout */
.cms-public-home .cms-shell { padding-left: 224px; transition: padding-left .2s ease; }
.cms-public-home .cms-shell > .cms-card:first-child { min-height: 68px; border-radius: 0; }
.cms-public-home .lw-public-actions .cms-button,
.cms-public-home .cms-button { border-radius: 3px; }
.cms-public-home .cms-shell > .lw-casino-rail {
  z-index: 70;
  width: 224px;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  align-content: start;
  border-radius: 0;
  background: var(--skin-page, #02070d);
  padding: 8px 10px 18px;
  transition: width .2s ease;
}
.lw-casino-rail a,
.lw-casino-rail button {
  display: flex;
  width: 100%;
  height: 44px;
  gap: 13px;
  justify-content: flex-start;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: var(--skin-muted, #c3cfdd);
  padding: 0 10px;
  font-size: .82rem;
  font-weight: 600;
}
.lw-casino-rail a:hover,
.lw-casino-rail button:hover,
.lw-casino-rail .is-active {
  border-bottom-color: rgb(var(--skin-warm-rgb, 255 122 0) / 40%);
  background: linear-gradient(90deg, rgb(var(--skin-warm-rgb, 255 91 18) / 15%), transparent);
  color:var(--skin-on-surface, #fff);
}
.lw-casino-rail a img,
.lw-casino-rail button img {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  object-fit: contain;
}
.lw-casino-rail span { position: static; display: block; border: 0; background: none; padding: 0; box-shadow: none; }
.lw-casino-rail a:hover span,
.lw-casino-rail button:hover span { display: block; }
.lw-casino-rail-label {
  margin: 10px 10px 4px;
  color: var(--skin-border, #536579);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lw-casino-rail-toggle { margin-bottom: 9px; border-bottom-color: rgb(255 255 255 / 10%) !important; }
.lw-casino-rail-bottom { margin-top: auto; }
.cms-casino-rail-collapsed .cms-shell { padding-left: 72px; }
.cms-casino-rail-collapsed .cms-shell > .lw-casino-rail { width: 72px; }
.cms-casino-rail-collapsed .lw-casino-rail a,
.cms-casino-rail-collapsed .lw-casino-rail button { justify-content: center; padding-inline: 0; }
.cms-casino-rail-collapsed .lw-casino-rail a span,
.cms-casino-rail-collapsed .lw-casino-rail button span,
.cms-casino-rail-collapsed .lw-casino-rail-label { display: none; }
.lw-casino-floor {
  width: 100%;
  margin: 0;
  padding: 12px 14px 42px;
}
.lw-jackpot-strip { display: none; }
.lw-casino-banner {
  min-height: 210px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background-image: linear-gradient(90deg, rgb(var(--skin-page-rgb, 2 7 13) / 92%) 0%, rgb(var(--skin-page-rgb, 2 7 13) / 65%) 42%, rgb(var(--skin-page-rgb, 2 7 13) / 5%) 72%), url('lekker-wen-casino-banner.webp');
  background-position: center;
  background-size: cover;
  box-shadow: 0 14px 34px rgb(0 0 0 / 30%);
}
.lw-casino-banner-copy { max-width: 610px; padding: 28px 38px; }
.lw-casino-banner h1 { margin: 5px 0 8px; font-size: clamp(2rem, 3.1vw, 3.55rem); line-height: .98; }
.lw-casino-banner p { margin-bottom: 15px; }
.lw-casino-banner-games { display: none; }
.lw-casino-controls { padding-top: 16px; }
.lw-casino-section-head h2 { font-size: 1.22rem; }
.lw-casino-categories { gap: 1px; margin-top: 11px; background: rgb(255 255 255 / 8%); }
.lw-casino-categories button {
  min-height: 46px;
  border: 0;
  border-radius: 0;
  background: var(--skin-surface, #0a1523);
}
.lw-casino-categories button img { width: 24px; height: 24px; object-fit: contain; }
.lw-casino-categories button:hover,
.lw-casino-categories button.is-active { background: linear-gradient(180deg, var(--skin-raised, #19283a), var(--skin-surface, #101c2b)); box-shadow: inset 0 -2px 0 var(--lw-orange-bright); }
.lw-casino-filterbar { margin-top: 8px; }
.lw-casino-search { border-radius: 0; }
.lw-casino-search button { border-radius: 0; }
.lw-casino-providers { gap: 1px; }
.lw-casino-providers button {
  min-height: 39px;
  border-radius: 0;
  background: var(--skin-surface, #0a1523);
  padding-inline: 16px;
}
.lw-casino-providers button.is-active { box-shadow: inset 0 -2px 0 var(--lw-blue-bright); }
.lw-casino-sections { gap: 24px; padding-top: 16px; }
.lw-provider-monogram,
.lw-casino-game-media,
.lw-casino-provider,
.lw-casino-no-results,
.lw-public-empty { border-radius: 0; }
.lw-casino-provider { border-left: 2px solid var(--lw-orange-bright); }

@media (max-width: 760px) {
  .cms-public-home .cms-shell { padding-left: 0; padding-bottom: 72px; }
  .cms-public-home .cms-shell > .lw-casino-rail { display: none; }
  .cms-public-home .cms-shell > .cms-card:first-child { min-height: 58px; }
  .cms-public-home .cms-brand-logo { height: 39px; max-width: 138px; }
  .lw-casino-floor { padding: 0 0 24px; }
  .lw-casino-banner {
    min-height: 168px;
    margin: 0;
    background-image: linear-gradient(90deg, rgb(var(--skin-page-rgb, 2 7 13) / 96%) 0%, rgb(var(--skin-page-rgb, 2 7 13) / 78%) 48%, rgb(var(--skin-page-rgb, 2 7 13) / 12%) 76%, transparent 100%), url('lekker-wen-casino-banner.webp');
    background-position: right center;
  }
  .lw-casino-banner-copy { align-self: center; max-width: 78%; padding: 18px 15px; background: none; }
  .lw-casino-banner-copy > span { font-size: .58rem; }
  .lw-casino-banner h1 { margin: 4px 0 6px; font-size: clamp(1.65rem, 8vw, 2.25rem); }
  .lw-casino-banner p { max-width: 250px; margin-bottom: 10px; font-size: .72rem; line-height: 1.35; }
  .lw-casino-banner .cms-button { min-height: 36px; padding-inline: 10px; }
  .lw-casino-controls { padding-top: 14px; }
  .lw-casino-categories { gap: 1px; margin-top: 9px; }
  .lw-casino-categories button { flex: 0 0 86px; min-height: 59px; }
  .lw-casino-categories button img { width: 22px; height: 22px; }
  .lw-casino-mobile-nav { grid-template-columns: repeat(5, 1fr); min-height: 64px; border-radius: 0; }
  .lw-casino-mobile-nav a,
  .lw-casino-mobile-nav button { gap: 3px; }
  .lw-casino-mobile-nav img { width: 22px; height: 22px; margin: auto; object-fit: contain; }
  .lw-casino-game-media { border-radius: 0; }
}

@media (display-mode: standalone) and (max-width:760px) {
  .cms-public-home .cms-shell { padding-left: 0; }
  .cms-public-home .cms-shell > .lw-casino-rail { display: none; }
  .lw-casino-banner { min-height: 158px; }
}@media(max-width:760px){
.cms-pwa-standalone.cms-public-home .cms-shell { padding-left: 0; }}@media(max-width:760px){
.cms-pwa-standalone .cms-shell > .lw-casino-rail { display: none; }}@media(max-width:760px){
.cms-pwa-standalone .lw-casino-banner { min-height: 158px; }}

/* Keep horizontal shelves inside the viewport rather than clipping an oversized page. */
.cms-public-home .cms-shell { display: block; padding-bottom: 0; }
.cms-public-home .lw-casino-floor { padding-bottom: 0; }
.lw-casino-banner { grid-template-columns: minmax(0, 1fr); }
.cms-public-home .cms-shell > .cms-card:first-child { padding: 8px 14px; }
.cms-public-home .cms-card-header { width: 100%; min-width: 0; }
.cms-public-home .cms-brand-mark { min-width: 0; margin: 0; }
.lw-casino-floor, .lw-casino-controls, .lw-casino-sections, .lw-casino-row,
.lw-casino-grid, .lw-casino-filterbar, .lw-casino-providers { min-width: 0; max-width: 100%; box-sizing: border-box; }
.lw-casino-footer { align-items: center; flex-wrap: wrap; margin-top: 24px; padding: 16px 0; color: var(--skin-muted, #bbc9da); font-size: 14px; line-height: 1.5; }
.lw-casino-footer nav { flex-wrap: wrap; gap: 4px 20px; }
.lw-casino-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--skin-text, #d7e5f5); }
.lw-casino-footer a:hover { color:var(--skin-on-surface, #fff); text-decoration: underline; }
.lw-casino-rail a:focus-visible, .lw-casino-rail button:focus-visible,
.lw-casino-footer a:focus-visible, .lw-casino-game:focus-visible { outline: 2px solid var(--skin-cool, #20c9f4); outline-offset: -2px; }
@media(max-width:760px) {
  .cms-public-home .cms-shell { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .cms-public-home .cms-card-header { display: flex; flex-wrap: nowrap; gap: 8px; }
  .cms-public-home .cms-brand-logo { max-width: 115px; height: auto; max-height: 42px; }
  .cms-public-home .lw-public-actions { flex-shrink: 0; gap: 6px; }
  .cms-public-home .lw-public-actions > a:first-child { display: inline-flex; padding: 10px 4px; font-size: 12px; }
  .cms-public-home .lw-public-actions .cms-button { padding-inline: 8px; font-size: 12px; }
  .lw-casino-footer { align-items: flex-start; gap: 4px; padding: 14px 12px 4px; }
  .lw-casino-footer nav { gap: 4px 18px; }
  .cms-public-home .cms-install-button:not([hidden]) { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media(min-width:761px) and (max-width:1100px) {
  .cms-public-home .cms-shell { padding-left: 72px; }
  .cms-public-home .cms-shell > .lw-casino-rail { display: grid; width: 72px; }
  .lw-casino-rail a, .lw-casino-rail button { justify-content: center; padding: 0; }
  .cms-casino-rail-collapsed .lw-casino-rail .lw-casino-rail-label { display: none; }
  .cms-public-home:not(.cms-casino-rail-collapsed) .cms-shell > .lw-casino-rail { width: 224px; z-index: 100; background: var(--skin-page, #050a11); }
  .cms-public-home:not(.cms-casino-rail-collapsed) .lw-casino-rail a,
  .cms-public-home:not(.cms-casino-rail-collapsed) .lw-casino-rail button { justify-content: flex-start; padding-inline: 10px; }
  .lw-casino-banner-copy { max-width: 65%; padding: 24px; }
  .lw-casino-filterbar { grid-template-columns: minmax(0,1fr); }
}
/* Public lobby: shared alignment, crisp navigation and contained mobile grids. */
.cms-public-home .cms-shell > .cms-card:first-child { padding: 12px 16px; min-height: 88px; }
.cms-public-home .cms-shell > .cms-card:first-child .cms-card-header { max-width: none; margin: 0; align-items: center; }
.cms-public-home .cms-brand-mark, .cms-public-home .cms-brand-mark a { display: flex; align-items: center; min-height: 0; line-height: 1; }
.cms-public-home .cms-brand-logo { display: block; width: 224px; max-width: none; height: auto; max-height: none; filter: none; }
.cms-public-home .lw-public-actions { margin-left: auto; align-items: center; }
.cms-public-home .lw-public-actions .cms-button { box-shadow: none; }
.cms-public-home .lw-casino-floor { padding-inline: 16px; }
.lw-casino-rail { font-family: Arial, sans-serif; }
.lw-casino-rail a, .lw-casino-rail button { font-size: 14px; }
.lw-casino-rail .lw-casino-rail-label { color: var(--skin-muted, #8ba1b7); font-size: 11px; }
.lw-casino-rail img, .lw-casino-categories img, .lw-casino-mobile-nav img { width: 24px; height: 24px; object-fit: contain; filter: none; }
.lw-casino-categories { margin-inline: 0; padding: 0; }
.lw-casino-filterbar { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); align-items: start; }
.lw-casino-providers { display: flex; flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; gap: 4px; }
.lw-casino-providers button { min-height: 44px; padding-inline: 12px; }
.lw-provider-select { display: none; }
.lw-casino-sections { padding-inline: 0; }
.lw-casino-row header button { min-height: 44px; padding: 0; color: var(--skin-cool, #c5d8e8); font-size: 13px; }
.lw-casino-game > strong { font-size: 13px; line-height: 1.4; }
.lw-casino-row.is-filtered .lw-casino-game:not([hidden]) { display: block; }
.lw-casino-footer { display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: 20px 0; gap: 16px; margin-top: 28px; }
.lw-footer-identity { display: grid; gap: 6px; }
.lw-footer-identity strong { color:var(--skin-on-surface, #fff); font-size: 16px; }
.lw-footer-identity span { color: var(--skin-muted, #aebed0); font-size: 13px; }
.lw-casino-footer nav { gap: 20px; }
.lw-library-dialog { width: min(440px, calc(100% - 32px)); box-sizing: border-box; border: 1px solid var(--skin-border, #314355); border-top: 3px solid var(--skin-warm, #ff7900); border-radius: 0; padding: 28px; background: var(--skin-surface, #0b1724); color: var(--skin-text, #e7f0f8); }
.lw-library-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.lw-library-dialog h2 { margin: 0 30px 12px 0; }
.lw-library-dialog p { color: var(--skin-muted, #b8cada); line-height: 1.6; }
.lw-dialog-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: transparent; color:var(--skin-on-surface, #fff); font-size: 28px; cursor: pointer; }
@media(max-width:760px) {
 .cms-public-home .cms-shell > .cms-card:first-child { min-height: 84px; padding: 12px; }
 .cms-public-home .cms-brand-logo { width: 168px; max-width: none; height: auto; max-height: none; }
 .cms-public-home .lw-public-actions { gap: 10px; }
 .cms-public-home .lw-public-actions > a:first-child { font-size: 13px; padding: 0; min-height: 44px; align-items: center; }
 .cms-public-home .lw-public-actions .cms-button { min-height: 44px; padding-inline: 10px; font-size: 12px; }
 .cms-public-home .lw-casino-floor { padding-inline: 12px; }
 .lw-casino-banner { margin-inline: 0; }
 .lw-casino-section-head { align-items: center; gap: 8px; }
 .lw-casino-section-head h2 { font-size: 20px; }
 .lw-casino-section-head small { font-size: 11px; }
 .lw-casino-categories { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); overflow: visible; gap: 2px; }
 .lw-casino-categories button { min-width: 0; min-height: 64px; padding: 6px 2px; font-size: 11px; }
 .lw-casino-filterbar { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
 .lw-casino-providers { display: none; }
 .lw-provider-select { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px; color: var(--skin-muted, #b8cada); font-size: 13px; }
 .lw-provider-select select { width: 100%; min-width: 0; height: 44px; border: 1px solid var(--skin-border, #314355); border-radius: 0; background: var(--skin-surface, #0a1523); color:var(--skin-on-surface, #fff); padding: 0 12px; font: inherit; }
 .lw-casino-sections { padding: 16px 0 0; gap: 24px; }
 .lw-casino-row > header { gap: 8px; margin-bottom: 8px; }
 .lw-casino-row header button { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
 .lw-casino-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; overflow: visible; padding: 0; }
 .lw-casino-game { min-width: 0; width: 100%; }
 .lw-casino-row:not(.is-expanded):not(.is-filtered) .lw-casino-game:nth-child(n+5) { display: none; }
 .lw-casino-game-media { aspect-ratio: 1.28; }
 .lw-casino-footer { align-items: stretch; flex-direction: column; gap: 12px; padding: 20px 0 12px; }
 .lw-casino-footer nav { display: grid; grid-template-columns: auto auto 1fr; gap: 16px; }
 .lw-casino-footer nav a:last-child { justify-content: flex-end; }
 .lw-casino-mobile-nav a, .lw-casino-mobile-nav button { font-size: 11px; gap: 5px; color: var(--skin-muted, #b8cada); }
 .lw-casino-mobile-nav img { justify-self: center; }
}
@media(max-width:360px) {
 .cms-public-home .cms-card-header { flex-wrap: wrap; justify-content: center; gap: 6px; }
 .cms-public-home .lw-public-actions { width: 100%; margin: 0; justify-content: space-between; }
}

.lw-casino-row header button[hidden] { display: none; }
.lw-casino-controls { padding-inline: 0; }
.cms-auth-page .cms-brand-logo { width: 224px; max-width: 100%; height: auto; max-height: none; filter: none; }
.cms-auth-page .cms-brand-mark a { display: inline-flex; }
.cms-auth-page .cms-shell { padding-top: 24px; gap: 20px; }
.cms-auth-page .cms-card, .cms-auth-page .cms-input, .cms-auth-page .cms-button { border-radius: 0; }@media(max-width:760px){
.cms-pwa-standalone.cms-public-home .cms-brand-logo { width: 168px; height: auto; max-width: none; max-height: none; }}@media(max-width:760px){
.cms-pwa-standalone.cms-public-home .cms-shell > .cms-card:first-child { min-height: 84px; padding: max(12px, env(safe-area-inset-top)) 12px 12px; }}
.cms-wallet-balances { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--skin-muted, #aec5d8); }
.cms-wallet-balances span { display: grid; gap: 4px; }
.cms-wallet-balances strong { color:var(--skin-on-surface, #fff); font-size: 18px; }
.lw-bonus-panel, .lw-bonus-panel .cms-card, .lw-bonus-panel .cms-input, .lw-bonus-panel .cms-select, .lw-bonus-panel .cms-textarea, .lw-bonus-panel .cms-button, .lw-bonus-panel .cms-alert { border-radius: 0; }
.lw-bonus-status { color: var(--skin-muted, #b8cada); font-size: 14px; }
/* One control rhythm across desktop, mobile and installed lobby. */
.lw-casino-controls { --lw-control-height: 44px; }
.lw-casino-categories button,
.lw-casino-providers button,
.lw-casino-search,
.lw-provider-select select { box-sizing: border-box; height: var(--lw-control-height); min-height: var(--lw-control-height); border-radius: 0; }
.lw-casino-search input { height: 100%; padding-block: 0; }
.lw-casino-categories button { padding-block: 0; }
.lw-casino-search { border-color: var(--skin-raised, #284359); background: var(--skin-surface, #0c1d2c); }
.lw-casino-search:focus-within { border-color: var(--skin-cool, #20c9f4); box-shadow: inset 0 -2px var(--skin-cool, #20c9f4); }
.lw-casino-categories button { background: var(--skin-surface, #102637); color: var(--skin-text, #d9e9f3); }
.lw-casino-categories button:hover,
.lw-casino-categories button.is-active { background: var(--skin-warm, #733209); color:var(--skin-on-surface, #fff); box-shadow: inset 0 -3px var(--skin-warm, #ff8700); }
.lw-casino-providers button { background: var(--skin-surface, #0c2433); border-color: var(--skin-raised, #23475b); color: var(--skin-cool, #bdd8e9); }
.lw-casino-providers button:hover,
.lw-casino-providers button.is-active { background: var(--skin-cool, #064961); border-color: var(--skin-cool, #20c9f4); color:var(--skin-on-surface, #fff); box-shadow: inset 0 -2px var(--skin-cool, #20c9f4); }
.lw-casino-row > header { border-bottom: 1px solid var(--skin-raised, #193344); padding-bottom: 8px; }
.lw-casino-row header button { color: var(--skin-cool, #39d2f6); }
.lw-casino-row:nth-child(even) .lw-provider-monogram { background: var(--skin-cool, #087ca4); }
.lw-casino-game-media { background: var(--skin-page, #08121b); border-color: var(--skin-raised, #274051); }
.lw-casino-game:hover .lw-casino-game-media { border-color: var(--skin-warm, #ff8700); }
.lw-casino-game:focus-visible .lw-casino-play { opacity: 1; }
@media(max-width:760px) {
 .lw-casino-categories button { gap: 2px; font-size: 10px; }
 .lw-casino-categories button img { width: 18px; height: 18px; }
}
@media(min-width:1281px) {
 .lw-casino-filterbar { grid-template-columns: minmax(220px,.6fr) minmax(0,1.4fr); }
}
@media(min-width:761px) and (max-width:1280px) {
 .lw-casino-filterbar { grid-template-columns: minmax(0,1fr); }
}
/* Catalogue-driven navigation and compact, grouped footer. */
.lw-casino-categories { grid-template-columns: repeat(5,minmax(0,1fr)); }
.lw-casino-categories small { color: var(--skin-cool, #8ee3f5); font-size: 11px; }
.lw-casino-rail button small { margin-left: auto; color: var(--skin-cool, #77cde2); font-size: 11px; }
.cms-casino-rail-collapsed .lw-casino-rail button small { display: none; }
.lw-casino-footer { justify-content: flex-start; align-items: center; gap: 32px; margin-top: 24px; padding: 20px; border-top: 2px solid var(--skin-cool, #177e9a); background: var(--skin-surface, #0b1824); }
.lw-footer-identity { gap: 8px; }
.lw-footer-logo { display: block; width: 180px; height: auto; }
.lw-casino-footer nav { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px 24px; }
.lw-casino-footer nav a { justify-content: flex-start; font-size: 14px; }
.lw-casino-no-results { margin: 0; padding: 24px; }
@media(max-width:760px) {
 .lw-casino-categories button { font-size: 10px; line-height: 12px; }
 .lw-casino-categories small { display: none; }
 .lw-casino-footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; margin-top: 20px; }
 .lw-casino-footer nav { gap: 4px 18px; }
 .lw-casino-footer nav a:last-child { justify-content: flex-start; }
}
.lw-casino-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
/* Search consumes spare desktop width; provider buttons end at the content edge. */
@media(min-width:1281px) {
 .lw-casino-filterbar { grid-template-columns: minmax(220px,1fr) max-content; }
 .lw-casino-providers { flex-wrap: nowrap; }
}
@media(min-width:761px) and (max-width:1280px) {
 .lw-casino-providers button { flex: 1 0 auto; }
}
/* Optical centring compensates for the supplied logo's transparent bottom margin. */
.cms-public-home .cms-brand-logo { transform: translateY(9.9%); }
.lw-casino-game-media { aspect-ratio: 1.75; }
.lw-casino-provider { display: none; }
#browse-games { scroll-margin-top: 120px; }
/* Image-sized frame: native artwork touches its border, with provider overlay retained. */
.lw-casino-game-media { aspect-ratio:auto; align-self:start; }
.lw-casino-game-media>img { display:block; width:100%; height:auto; }
.lw-casino-provider { display:block; }
.lw-casino-game { display:grid; grid-template-rows:auto 1fr; align-content:start; }
.lw-casino-game>strong { align-self:end; }
.lw-promo-carousel { position:relative; }
.lw-promo-carousel [hidden] { display:none!important; }
.lw-promo-carousel .lw-casino-banner { margin-bottom:0; }
.lw-promo-carousel h2 { font-size:clamp(28px,3vw,48px);line-height:1.05;margin:12px 0; }
.lw-promo-rewards { background:radial-gradient(ellipse at right,var(--skin-warm, #725013),var(--skin-surface, #091824) 70%); }
.lw-promo-tables { background:radial-gradient(ellipse at right,var(--skin-raised, #125553),var(--skin-surface, #091824) 70%); }
.lw-promo-art { position:absolute;right:8%;top:25%;display:flex;gap:10px;transform:rotate(-8deg);pointer-events:none; }
.lw-promo-art b { background:linear-gradient(#fff,var(--skin-muted, #9cb6c8));color:var(--skin-surface, #182635);border:4px solid var(--skin-warm, #e5b645);padding:20px 12px;font:bold italic 36px Arial; }
.lw-card-art b { color:var(--skin-warm, #b13531); }
.lw-promo-pagination { display:flex;gap:4px;justify-content:flex-end;padding:8px 0; }
.lw-promo-pagination button { min-width:36px;height:36px;border:1px solid var(--skin-raised, #25465b);background:var(--skin-surface, #102433);color:var(--skin-text, #d9eaf5);cursor:pointer; }
.lw-promo-pagination [aria-pressed=true] { border-color:var(--skin-warm, #ff8900);color:var(--skin-warm, #ffb63b); }
.lw-welcome-promo { width:min(460px,calc(100% - 32px));border:2px solid var(--skin-warm, #ecaa35);border-radius:0;background:linear-gradient(140deg,var(--skin-raised, #192f43),var(--skin-page, #071019));color:var(--skin-on-surface, #fff);padding:32px; }
.lw-welcome-promo::backdrop { background:#000b; }
.lw-welcome-promo>span,.lw-promotions-page header>span,.lw-promotion-list article>span { color:var(--skin-warm, #f6b044);font-size:12px;letter-spacing:1px; }
.lw-welcome-promo button { background:transparent;color:var(--skin-on-surface, #fff);border:0;min-height:44px;cursor:pointer; }
.lw-welcome-promo button[aria-label] { position:absolute;right:8px;top:4px;font-size:28px; }
.lw-welcome-promo small { display:block;color:var(--skin-muted, #bdd0df); }
.lw-promotions-page { padding:24px;max-width:1200px;margin:auto; }
.lw-promotions-page header { padding:32px 0; }
.lw-promotion-list { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px; }
.lw-promotion-list article { padding:24px;background:linear-gradient(135deg,var(--skin-raised, #183247),var(--skin-page, #0a1521));border-top:3px solid var(--skin-warm, #e8a535);line-height:1.6; }
.lw-promotion-list dl { display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:14px; }
.lw-promotion-list dd { margin:0;color:var(--skin-on-surface, #fff); }
@media(max-width:760px){.lw-promo-art{right:14px;top:30%;opacity:.25}.lw-promo-art b{font-size:25px;padding:12px 5px}.lw-promo-carousel .lw-casino-banner-copy{position:relative;z-index:1}.lw-promotions-page{padding:16px}}
.lw-club-art { display:block;width:100%;max-height:240px;object-fit:contain;margin-bottom:16px; }
.lw-reel-windows { display:flex;gap:12px;justify-content:center;padding:24px;background:var(--skin-page, #07131e);border:2px solid var(--skin-warm, #eabc52); }
.lw-reel-windows b { padding:18px 12px;background:linear-gradient(var(--skin-muted, #a3b4bf),#fff,var(--skin-muted, #a3b4bf));color:var(--skin-surface, #142330);font:bold italic 28px Arial; }
.lw-award-reveal.is-revealing b { animation:club-reel .2s linear infinite; }
@keyframes club-reel { 50% { transform:translateY(10px);filter:blur(2px); } }
@media(prefers-reduced-motion:reduce){.lw-award-reveal.is-revealing b { animation:none; }}
@media(max-width:760px){.lw-welcome-promo{margin:auto 12px 16px;width:calc(100% - 24px);max-height:85dvh;overflow:auto;padding:24px}.lw-welcome-promo .lw-club-art{max-height:160px}}
.lw-promo-carousel .lw-casino-banner { position:relative;overflow:hidden; }
.lw-slide-background { position:absolute;right:0;top:0;width:55%;height:100%;object-fit:cover;opacity:.65; }
.lw-promo-carousel .lw-casino-banner-copy { position:relative;z-index:1; }
@media(max-width:760px){.lw-slide-background{display:none}}

.cms-campaign-form { margin-top:16px; }
/* VIP editor: clear field grouping and responsive spacing. */
.cms-vip-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 24px; align-items:start; }
.cms-vip-form > label { display:grid; gap:8px; margin:0; }
.cms-vip-form > p, .cms-vip-form > button { grid-column:1/-1; }
.cms-vip-form > button { justify-self:start; }
.cms-vip-form input[type=checkbox] { justify-self:start; }
@media(max-width:760px) { .cms-vip-form { grid-template-columns:minmax(0,1fr); } }
.lw-admin-slide-preview { display:block; width:100%; max-height:200px; object-fit:contain; background:#07111d; }
/* Admin sign-in is a compact standalone form, not the dashboard frame. */
.cms-admin-page.cms-auth-page .cms-admin-panel { width:min(560px,calc(100% - 40px)); margin:0 auto; padding:48px 0; border:0; border-radius:0; gap:24px; }
.cms-admin-page.cms-auth-page .cms-admin-panel > aside.cms-card { padding:0; min-height:0; }
.cms-admin-page.cms-auth-page .cms-admin-panel > aside .cms-card-header { margin:0; justify-content:center; }
.cms-admin-page.cms-auth-page .cms-admin-panel > main { padding:0; }
.cms-admin-page.cms-auth-page .cms-admin-panel > main .cms-card { padding:28px; margin:0; }
.cms-admin-page.cms-auth-page .cms-admin-panel h1 { margin:0 0 24px; }
.cms-admin-page.cms-auth-page .cms-admin-panel .cms-alert { margin:0 0 24px; padding:16px 18px; line-height:1.5; border-radius:8px; overflow-wrap:anywhere; }
.cms-admin-page.cms-auth-page .cms-admin-panel .cms-form-row { margin-bottom:18px; }
@media(max-width:600px) {
 .cms-admin-page.cms-auth-page .cms-admin-panel { padding:28px 0; gap:20px; }
 .cms-admin-page.cms-auth-page .cms-admin-panel > main .cms-card { padding:22px; }
}

/* Shared response spacing and long diagnostic content. */
.cms-alert[data-feedback] { padding:16px 20px; margin:0 0 24px; line-height:1.6; overflow-wrap:anywhere; scroll-margin-top:24px; }
.cms-payment-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.cms-payment-actions form { margin:0; }
.cms-cancel-request summary { list-style:none; cursor:pointer; }
.cms-cancel-request summary::-webkit-details-marker { display:none; }
.cms-cancel-request[open] { flex-basis:100%; }
.cms-cancel-request p { max-width:36ch; margin:10px 0; font-size:13px; line-height:1.5; }
.cms-payment-link { overflow-wrap:anywhere; user-select:all; }
.cms-online-payment-create { margin:18px 0 28px; }
.cms-alert[data-feedback]:focus { outline:2px solid var(--skin-accent, #ff8500); outline-offset:3px; }
.cms-form-feedback { padding:12px 16px; margin:16px 0 0; border-left:3px solid var(--skin-accent, #ff8500); background:rgba(80,170,220,.12); line-height:1.5; }
form[aria-busy="true"] button[type="submit"] { cursor:progress; opacity:.7; }
.cms-admin-page main pre { white-space:pre-wrap; overflow-wrap:anywhere; max-width:100%; }

.cms-admin-page main.cms-stack { align-content:start; }
.cms-checkbox-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.cms-checkbox-list label { display:flex; align-items:flex-start; gap:10px; padding:8px 0; overflow-wrap:anywhere; }
@media (max-width:600px) { .cms-two-col { grid-template-columns:minmax(0,1fr); } }

.cms-textarea { width:100%; box-sizing:border-box; font:inherit; border-width:1px; border-style:solid; }
.cms-checklist li { margin-bottom:14px; line-height:1.6; }
.cms-table-wrap th { word-break:normal; overflow-wrap:normal; }

.cms-player-authenticated main > .cms-card:first-child .cms-alert[data-feedback], .cms-auth-page main > .cms-card:first-child .cms-alert[data-feedback] { margin-top:20px; }

.cms-card > form + h2 { margin-top:24px; }
@media (max-width:600px) { .cms-table-wrap table:not(.cms-table-mobile-cards) { min-width:560px; } }

.cms-account-section + h2 { margin-top:28px; }

/* Readable policy pages and wrapping legal navigation. */
.lw-policy-content { max-width: 78ch; line-height: 1.75; overflow-wrap: anywhere; }
.lw-policy-content p { margin: 0 0 1.5rem; }
.lw-casino-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Preserve complete supplier artwork at its intrinsic proportions in every game list. */
.lw-game-media, .lw-casino-game-media, .lw-public-game-media { aspect-ratio: auto; }
.lw-game-media img, .lw-casino-game-media > img, .lw-public-game-media img { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; }
.lw-player-game-grid article:hover .lw-game-media img, .lw-public-game:hover img { transform: none; }
.lw-lobby-strip img { height: auto; object-fit: contain; }
.lw-game-copy { align-items: start; grid-template-columns: minmax(0, 1fr) 34px; padding: 10px 8px; }
.lw-game-copy b, .lw-casino-game > strong { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.4; }
.lw-game-media > span:first-child:not(.lw-play-overlay) { min-height: 90px; }

.cms-player-authenticated .lw-bonus-panel, .cms-player-authenticated .lw-bonus-panel .cms-card { border-radius: 18px; }
.cms-player-authenticated .lw-bonus-panel h2 { margin-top: 20px; }
@media (max-width: 760px) {
 .cms-player-authenticated .cms-table-mobile-cards tr:has(> th) { display: none; }
 .cms-player-authenticated .cms-table-mobile-cards td { overflow-wrap: anywhere; }
}

/* Site design rule: square corners in every view and every skin. */
body.cms-page, body.cms-page *, body.cms-page *::before, body.cms-page *::after { border-radius: 0 !important; }
body.cms-page { --cms-radius: 0px; }
.lw-provider-chips { overscroll-behavior-x: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }

/* Consistent number controls, compact empty states and aligned footer. */
.lw-number-control { position: relative; display: block; width: 100%; }
.lw-number-control input[type="number"] { appearance: textfield; -moz-appearance: textfield; padding-right: 42px; }
.lw-number-control input::-webkit-inner-spin-button, .lw-number-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.lw-number-buttons { position: absolute; inset: 1px 1px 1px auto; width: 34px; display: grid; grid-template-rows: 1fr 1fr; }
.lw-number-buttons button { padding: 0; min-height: 22px; border: 0; border-left: 1px solid var(--skin-border,#40546d); background: var(--skin-surface,#101d2e); color: var(--skin-muted,#aec5d8); font-size: 14px; cursor: pointer; }
.lw-number-buttons button + button { border-top: 1px solid var(--skin-border,#40546d); }
.lw-number-buttons button:hover, .lw-number-buttons button:focus-visible { color: var(--skin-cool,#20c9f4); background: var(--skin-raised,#21334a); }
.cms-player-authenticated .cms-empty-state { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 16px; text-align: left; }
.cms-player-authenticated .cms-empty-state > i { margin: 0; font-size: 18px; flex: 0 0 auto; }
.cms-player-authenticated .cms-empty-state p { margin: 0; }
.lw-casino-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px 32px; margin-top: 12px; padding: 16px 0; background: transparent; border-top: 1px solid var(--skin-border,#40546d); }
.lw-casino-footer nav { justify-content: flex-end; gap: 8px 20px; }
.lw-footer-identity span, .lw-casino-footer nav a { font-size: 12px; line-height: 1.5; }
@media (min-width: 761px) {
 .cms-player-authenticated .cms-shell { padding-bottom: 20px; }
 .cms-player-authenticated .cms-shell > .cms-card:not(:first-child) { max-width: 1040px; }
 .cms-player-authenticated .cms-shell > .lw-casino-footer { max-width: 1040px; }
 .cms-player-authenticated .cms-card > form { max-width: 720px; }
}
@media (max-width: 760px) {
 .lw-casino-footer { grid-template-columns: minmax(0,1fr); padding: 14px 0; gap: 12px; }
 .lw-casino-footer nav { justify-content: flex-start; gap: 8px 16px; }
 .lw-casino-footer nav a { min-height: 28px; display: inline-flex; align-items: center; }
}
.cms-player-authenticated .cms-two-col { gap: 14px; margin: 14px 0; }
.cms-player-authenticated .cms-two-col > .cms-form-row { margin: 0; }
.lw-signout { width: 100%; max-width: 1040px; margin: 4px auto 0; }
.lw-signout .cms-button { background: transparent; border-color: transparent; padding: 8px 0; min-height: 36px; color: var(--skin-muted,#aec5d8); font-size: 12px; }

/* Shared public/player footer: independent of legacy casino-footer variants. */
.lw-site-footer { width:100%; box-sizing:border-box; margin:16px auto 0; padding:18px 12px; border-top:1px solid var(--skin-border,#40546d); display:flex; flex-direction:column; align-items:center; gap:12px; background:transparent; text-align:center; }
.lw-site-footer nav { order:-1; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px 24px; }
.lw-site-footer nav a { color:var(--skin-text,#d7e5f5); font-size:12px; line-height:1.5; min-height:32px; display:inline-flex; align-items:center; text-decoration:none; }
.lw-site-footer nav a:hover { color:#ff7900; text-decoration:underline; }
.lw-site-footer-copy { display:flex; flex-wrap:wrap; justify-content:center; gap:6px 20px; color:var(--skin-muted,#aebed0); font-size:12px; line-height:1.6; }
@media(max-width:760px) { .lw-site-footer { padding:12px 0; gap:8px; } .lw-site-footer nav { gap:4px 16px; } .lw-site-footer-copy { flex-direction:column; gap:4px; } }
@media(max-width:760px) { .lw-site-footer { scroll-margin-bottom:100px; } }
/* Admin visual audit: compact headings, readable mobile records and inline empty states. */
.cms-admin-authenticated main h1 { font-size:20px; color:#ff7900; font-weight:400; }
.cms-admin-authenticated main h2 { font-size:16px; color:#ff7900; font-weight:400; }
.cms-admin-authenticated main h3 { font-size:14px; color:#ff7900; font-weight:400; }
.cms-admin-authenticated main .cms-empty-state { display:flex; align-items:center; gap:10px; text-align:left; padding:14px; }
.cms-admin-authenticated main .cms-empty-state > i { font-size:18px; margin:0; }
.cms-admin-authenticated main .cms-empty-state p { margin:0; }
.cms-admin-authenticated main .cms-two-col > .cms-form-row { margin:0; }
.cms-admin-authenticated main .cms-two-col { margin:12px 0; }
.lw-bank-layout { display:grid; grid-template-columns:minmax(0,1fr); }
.cms-input::file-selector-button { background:var(--skin-surface,#152538); border:1px solid var(--skin-border,#40546d); color:var(--skin-text,#e4edf6); padding:7px 10px; margin-right:10px; cursor:pointer; border-radius:0; }
@media(max-width:760px) {
 .cms-admin-authenticated main h1 { font-size:18px; }
 .cms-admin-authenticated main .cms-table-mobile-cards { min-width:0; }
 .cms-admin-authenticated main .cms-table-mobile-cards tr:has(>th) { display:none; }
 .cms-admin-authenticated main .cms-table-mobile-cards td { display:flex; flex-direction:column; align-items:stretch; gap:5px; overflow-wrap:anywhere; min-width:0; width:100%; }
 .cms-admin-authenticated main .cms-table-mobile-cards td::before { font-weight:400; font-size:12px; }
 .cms-admin-authenticated main .cms-table-mobile-cards td > * { max-width:100%; min-width:0; }
 .cms-admin-authenticated main .cms-table-mobile-cards td .cms-button-row,.cms-admin-authenticated main .cms-table-mobile-cards td .cms-inline-form { display:flex; flex-wrap:wrap; gap:8px; }
 .cms-admin-authenticated main .cms-table-mobile-cards td .cms-button { white-space:normal; }
}
@media (max-width:760px) {
 .cms-admin-authenticated .cms-settings-actions { flex-direction:column; align-items:stretch; gap:10px; }
 .cms-admin-authenticated .cms-settings-actions .cms-button { flex-shrink:0; }
}
.cms-admin-authenticated main .cms-account-balance { font-size:20px; font-weight:400; }
.cms-admin-authenticated main .cms-button, .cms-admin-authenticated main strong { font-weight:400; }
@media (max-width:760px) {
 .cms-admin-authenticated main .cms-module-catalogue .cms-table-mobile-cards td { width:100%; }
}

/* Consistent module form controls, including legacy unclassed labels. */
.cms-admin-authenticated main form label { display:flex; flex-direction:column; gap:8px; margin-bottom:14px; min-width:0; }
.cms-admin-authenticated main form label:has(> input[type=checkbox]),
.cms-admin-authenticated main form label:has(> input[type=radio]) { flex-direction:row; align-items:flex-start; gap:10px; }
.cms-admin-authenticated main input[type=checkbox], .cms-admin-authenticated main input[type=radio] { appearance:auto; width:18px; height:18px; min-height:18px; flex:0 0 18px; margin:2px 0 0; accent-color:#ff7900; }
.cms-admin-authenticated main input[type=file] { display:block; width:100%; min-width:0; padding:10px; background:var(--skin-page,#07111f); border:1px solid var(--skin-border,#40546d); color:var(--skin-text,#fff); font:inherit; }
.cms-admin-authenticated main input[type=file]::file-selector-button { background:var(--skin-raised,#21334a); color:var(--skin-text,#fff); border:1px solid var(--skin-border,#40546d); padding:8px 12px; margin-right:12px; font:inherit; cursor:pointer; }
.cms-admin-authenticated main td strong { display:block; margin-bottom:8px; overflow-wrap:anywhere; }
.cms-admin-authenticated main .cms-status-badge { font-weight:400; }

/* Input/action rows: labels must not stretch the adjacent action button. */
.lw-admin-search,
.cms-inline-form,
.cms-control-row,
form.cms-button-row:has(> label input) {
 display:flex;flex-wrap:nowrap;align-items:flex-end;gap:8px;min-width:0;
}
.cms-admin-authenticated main .lw-admin-search > label,
.cms-admin-authenticated main .cms-inline-form > label,
.cms-admin-authenticated main .cms-control-row > label,
.cms-admin-authenticated main form.cms-button-row > label,
.cms-control-row > label {flex:1 1 0;min-width:0;margin:0;}
:is(.lw-admin-search,.cms-inline-form,.cms-control-row,form.cms-button-row) > :is(.cms-input,.cms-select,.lw-number-control) {flex:1 1 0;width:0;min-width:0;}
:is(.lw-admin-search,.cms-inline-form,.cms-control-row,form.cms-button-row) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select) {box-sizing:border-box;height:44px;min-height:44px;}
:is(.lw-admin-search,.cms-inline-form,.cms-control-row,form.cms-button-row) > .cms-button,
.lw-review-form .cms-button {box-sizing:border-box;align-self:flex-end;flex:0 1 auto;width:auto;min-width:0;height:44px;min-height:44px;padding:0 12px;font-size:13px;line-height:1.2;white-space:normal;margin:0;}
.lw-admin-search {align-items:center;}
.lw-admin-search label {margin:0;}
.cms-inline-form {margin-block:12px;}
.lw-review-form {display:flex;align-items:flex-end;gap:8px;min-width:260px;}
.lw-review-form > .cms-input {flex:1 1 0;width:0;min-width:0;height:44px;min-height:44px;}
.lw-review-form > div {flex:0 0 auto;}
.cms-admin-authenticated main .cms-table-mobile-cards td .cms-inline-form {flex-wrap:nowrap;}
@media(max-width:760px) {
 .cms-admin-authenticated main .cms-inline-form > .cms-button,
 .cms-control-row > .cms-button,
 form.cms-button-row:has(> label input) > .cms-button {max-width:45%;padding-inline:8px;}
 .lw-review-form {min-width:0;}
}

.lw-payment-dialog {box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid var(--skin-border,#40546d);background:var(--skin-surface,#0d1b2d);color:var(--skin-text,#fff);box-shadow:0 24px 80px #0009;}
.lw-payment-dialog::backdrop {background:#000b;}
.lw-payment-dialog h2 {margin:0 0 12px;color:#ff7900;font-size:18px;font-weight:400;}
.lw-payment-dialog p {margin:0 0 20px;line-height:1.55;}
.lw-payment-dialog .cms-payment-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
.lw-payment-dialog form {margin:0;}
.lw-payment-dialog .cms-button {min-height:42px;padding:10px 14px;}

/* Admin balance notifications remain visible independently of SMS delivery. */
.cms-admin-page .lw-admin-alerts summary { cursor:pointer; font-weight:600; padding:4px 0; }
.cms-admin-page .lw-admin-alerts article { padding:14px 0; border-bottom:1px solid rgba(140,170,190,.2); }
.cms-admin-page .lw-admin-alerts article:last-child { border-bottom:0; }
.cms-admin-page .lw-admin-alerts article h3 { margin:0 0 8px; }
.cms-admin-page .lw-admin-alerts article p { margin:0 0 8px; overflow-wrap:anywhere; }
.cms-admin-page .lw-admin-alerts article small { display:block; margin-bottom:12px; }

.cms-admin-page .lw-balance-settings-panel { grid-column:1 / -1; }
.cms-admin-page .lw-balance-settings-panel > .cms-two-col { gap:32px; align-items:start; }
.cms-admin-page .lw-balance-settings-panel .cms-two-col .cms-form-row { display:flex; flex-direction:column; }
.cms-admin-page .lw-balance-settings-panel .cms-two-col .cms-input { margin-top:auto; }

@media (max-width:760px) {
  .cms-admin-page .lw-wa-template-loader { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
  .cms-admin-page .lw-wa-template-loader > .cms-form-row,
  .cms-admin-page .lw-wa-template-loader .cms-select { width:100%; min-width:0; }
  .cms-admin-page .lw-wa-template-loader > .cms-button { width:100%; }
}

/* Compact live balance and alert settings. */
.cms-admin-page .lw-balance-summary { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-bottom:24px; border-bottom:1px solid rgb(255 255 255 / 10%); }
.cms-admin-page .lw-balance-summary > div { display:grid; gap:6px; min-width:0; }
.cms-admin-page .lw-balance-summary .lw-balance-value { display:block; color:var(--skin-text, #edf3f9); font-size:1.8rem; line-height:1.2; }
.cms-admin-page .lw-balance-check { color:var(--skin-muted, #93a8bd); font-size:.85rem; }
.cms-admin-page .lw-balance-check small { font-size:.75rem; }
.cms-admin-page .lw-balance-summary form { margin:0; flex:0 0 auto; }
.cms-admin-page .lw-alert-settings { display:grid; gap:18px; margin-top:24px; }
.cms-admin-page .lw-alert-heading { display:grid; gap:6px; }
.cms-admin-page .lw-alert-heading h3, .cms-admin-page .lw-alert-heading p { margin:0; }
.cms-admin-page .lw-alert-fields { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:20px; }
.cms-admin-page .lw-alert-fields .cms-form-row { display:flex; flex-direction:column; gap:8px; margin:0; }
.cms-admin-page .lw-alert-fields .cms-input, .cms-admin-page .lw-alert-fields .cms-select { width:100%; margin:0; min-height:48px; }
.cms-admin-page .lw-alert-fields small { color:var(--skin-muted, #93a8bd); font-size:.75rem; line-height:1.5; }
.cms-admin-page .lw-alert-advanced { padding:12px 0; border-top:1px solid rgb(255 255 255 / 8%); }
.cms-admin-page .lw-alert-advanced summary { cursor:pointer; }
.cms-admin-page .lw-alert-advanced[open] > .cms-form-row { margin-top:16px; }
.cms-admin-page .lw-balance-settings-clean .cms-button { width:auto; min-height:44px; padding:12px 18px; }
.cms-admin-page .lw-balance-settings-clean .lw-form-actions { justify-content:flex-start; }
@media (max-width:1200px) { .cms-admin-page .lw-alert-fields { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:640px) {
 .cms-admin-page .lw-balance-summary { flex-wrap:wrap; align-items:flex-start; gap:18px; }
 .cms-admin-page .lw-balance-summary > div, .cms-admin-page .lw-balance-summary form { flex:1 1 100%; }
 .cms-admin-page .lw-alert-fields { grid-template-columns:minmax(0, 1fr); gap:18px; }
 .cms-admin-page .lw-balance-settings-clean .cms-button { max-width:100%; white-space:normal; }
}
/* Keep gateway sections compact without an empty companion column. */
.cms-admin-page .lw-sms-settings-layout { grid-template-columns:minmax(0, 1fr); }
.cms-admin-page .lw-gateway-config-form { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px 24px; }
.cms-admin-page .lw-gateway-config-form > .cms-two-col,
.cms-admin-page .lw-gateway-config-form > .lw-secret-note,
.cms-admin-page .lw-gateway-config-form > .lw-form-actions { grid-column:1 / -1; }
.cms-admin-page .lw-gateway-config-form .cms-form-row { margin:0; }
.cms-admin-page .lw-gateway-config-form .cms-textarea { min-height:90px; height:90px; }
.cms-admin-page .lw-gateway-config-form .cms-button,
.cms-admin-page .lw-whatsapp-settings-panel .cms-button { width:auto; min-height:44px; padding:12px 18px; }
.cms-admin-page .lw-gateway-test-panel .lw-sms-test-row { display:flex; align-items:flex-end; gap:12px; max-width:700px; }
.cms-admin-page .lw-gateway-test-panel .lw-sms-test-row .cms-form-row { flex:1 1 260px; margin:0; }
.cms-admin-page .lw-gateway-test-panel .lw-sms-test-row .cms-button { flex:0 0 auto; width:auto; }
.cms-admin-page .lw-gateway-test-panel .lw-config-checks { display:flex; flex-wrap:wrap; gap:12px 24px; }
.cms-admin-page .lw-whatsapp-settings-panel .lw-premium-form { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); align-items:center; gap:16px 24px; }
.cms-admin-page .lw-whatsapp-settings-panel .lw-form-actions { grid-column:1 / -1; }
@media (max-width:640px) {
 .cms-admin-page .lw-gateway-config-form,
 .cms-admin-page .lw-whatsapp-settings-panel .lw-premium-form { grid-template-columns:minmax(0, 1fr); }
 .cms-admin-page .lw-gateway-test-panel .lw-sms-test-row { flex-wrap:wrap; }
 .cms-admin-page .lw-gateway-test-panel .lw-sms-test-row .cms-button { max-width:100%; white-space:normal; }
}
.cms-admin-page .lw-gateway-test-panel { display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:8px 24px; }
.cms-admin-page .lw-gateway-test-panel .lw-panel-heading { grid-column:1; margin:0; }
.cms-admin-page .lw-gateway-test-panel > p { grid-column:1; margin:0; }
.cms-admin-page .lw-gateway-test-panel .lw-sms-test-row { grid-column:2; grid-row:1 / 3; align-self:center; max-width:none; margin:0; }
.cms-admin-page .lw-gateway-test-panel .lw-config-checks { grid-column:1 / -1; margin-top:10px; padding-top:12px; }
@media (max-width:800px) {
 .cms-admin-page .lw-gateway-test-panel { grid-template-columns:minmax(0, 1fr); gap:12px; }
 .cms-admin-page .lw-gateway-test-panel .lw-sms-test-row { grid-column:1; grid-row:auto; }
}
/* Search-first WhatsApp workflow with bounded results and a compact queue. */
.cms-admin-page :is(.lw-wa-composer,.lw-wa-queue,.lw-wa-templates) .cms-button { width:auto; min-height:44px; padding:12px 16px; }
.cms-admin-page .lw-wa-player-search { max-width:850px; align-items:flex-end; }
.cms-admin-page .lw-wa-search-results { margin:16px 0; }
.cms-admin-page .lw-wa-player-result { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid rgb(255 255 255 / 10%); text-decoration:none; }
.cms-admin-page .lw-wa-player-result span { color:var(--skin-muted,#93a8bd); font-size:.85rem; }
.cms-admin-page .lw-wa-recipient { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 0; border-block:1px solid rgb(255 255 255 / 10%); margin:18px 0; }
.cms-admin-page .lw-wa-recipient > div { display:grid; gap:6px; }
.cms-admin-page .lw-wa-recipient small { color:var(--skin-muted,#93a8bd); }
.cms-admin-page .lw-wa-template-loader { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:12px; max-width:850px; }
.cms-admin-page .lw-wa-message-fields { grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.cms-admin-page .lw-wa-queue-filter { margin:16px 0; align-items:end; }
.cms-admin-page .lw-wa-queue h2 small { color:var(--skin-muted,#93a8bd); font-size:.75rem; padding-left:12px; }
.cms-admin-page .lw-wa-message-preview { max-width:560px; }
.cms-admin-page .lw-wa-message-preview summary { cursor:pointer; color:var(--skin-text,#edf3f9); line-height:1.6; overflow-wrap:anywhere; }
.cms-admin-page .lw-wa-message-preview p { white-space:normal; overflow-wrap:anywhere; line-height:1.6; }
.cms-admin-page .lw-wa-pagination { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:16px; color:var(--skin-muted,#93a8bd); font-size:.85rem; }
.cms-admin-page .lw-wa-pagination > div { display:flex; gap:8px; }
.cms-admin-page .lw-wa-templates > .lw-filter-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.cms-admin-page .lw-wa-templates > .lw-filter-links a { border:1px solid rgb(255 255 255 / 10%); padding:14px 16px; line-height:1.4; }
.cms-admin-page .lw-wa-templates #wa-template-editor { margin-top:24px; }
@media(max-width:760px) {
 .cms-admin-page .lw-wa-player-result { grid-template-columns:minmax(0,1fr); gap:6px; }
 .cms-admin-page .lw-wa-queue-filter { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
 .cms-admin-page .lw-wa-queue-filter .cms-button { justify-self:start; }
 .cms-admin-page .lw-wa-templates > .lw-filter-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .cms-admin-page .lw-wa-message-fields { grid-template-columns:minmax(0,1fr); }
 .cms-admin-page .lw-wa-pagination { align-items:flex-start; flex-direction:column; }
}
@media(max-width:480px) {
 .cms-admin-page .lw-wa-player-search { flex-wrap:wrap; }
 .cms-admin-page .lw-wa-player-search > .cms-form-row { flex-basis:100%; }
 .cms-admin-page .lw-wa-template-loader { grid-template-columns:minmax(0,1fr); }
 .cms-admin-page .lw-wa-template-loader .cms-button { justify-self:start; }
}
.cms-admin-page .lw-wa-composer:has(> form[method=post]) { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px 28px; }
.cms-admin-page .lw-wa-composer:has(> form[method=post]) > h2 { grid-column:1 / -1; margin-bottom:4px; }
.cms-admin-page .lw-wa-composer:has(> form[method=post]) > :not(h2):not(form[method=post]) { grid-column:1; }
.cms-admin-page .lw-wa-composer > form[method=post] { grid-column:2; grid-row:2 / span 6; align-content:start; gap:14px; }
.cms-admin-page .lw-wa-composer > form[method=post] .cms-textarea { height:190px; min-height:190px; }
.cms-admin-page .lw-wa-composer .lw-wa-player-search { max-width:none; }
@media(max-width:1000px) {
 .cms-admin-page .lw-wa-composer:has(> form[method=post]) { grid-template-columns:minmax(0,1fr); }
 .cms-admin-page .lw-wa-composer > form[method=post] { grid-column:1; grid-row:auto; }
}

/* Admin cash flow and campaign overview. */
.cms-admin-panel .lw-finance-overview,.cms-admin-panel .lw-daily-review,.cms-admin-panel .lw-dashboard-promos{padding:24px 0;border-top:1px solid #304354;margin:24px 0 0;min-width:0}
.lw-finance-tabs{display:flex;gap:4px;padding:4px;background:#0b1826;border-radius:8px}
.lw-finance-tabs a{padding:9px 16px;font-size:13px;color:#b7c9d8;border-radius:5px;text-decoration:none}
.lw-finance-tabs a[aria-current]{background:#20394b;color:#fff;box-shadow:inset 0 -2px #ff9d23}
.lw-finance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:22px 0}
.lw-finance-summary>div{display:flex;flex-direction:column;gap:7px}
.lw-finance-summary small,.lw-finance-note,.lw-dashboard-promo small{font-size:12px;line-height:1.6;color:#a9bdce}
.lw-finance-summary strong{font-size:clamp(19px,2vw,28px);font-weight:500;line-height:1.2;color:#f5f8fb}
.lw-chart-dot{width:8px;height:8px;display:inline-block;margin-right:6px;border-radius:50%}
.lw-chart-dot.is-deposit,.lw-chart-bar.is-deposit{background:#38c8e6}.lw-chart-dot.is-withdrawal,.lw-chart-bar.is-withdrawal{background:#ff9d23}
.lw-finance-chart-scroll{overflow-x:auto;padding:14px 0 8px}
.lw-finance-chart{display:grid;grid-template-columns:repeat(var(--chart-columns),minmax(38px,1fr));gap:8px;min-width:620px}
.lw-chart-bucket{position:relative;min-width:0;color:#a9bdce;text-align:center;text-decoration:none;border-radius:6px;padding:0 5px;outline-offset:3px}
.lw-chart-bars{display:flex;gap:4px;align-items:flex-end;justify-content:center;height:174px;border-bottom:1px solid #456075;background:repeating-linear-gradient(to top,transparent 0,transparent 42px,#223342 43px,transparent 44px)}
.lw-chart-bar{width:24%;max-width:22px;border-radius:3px 3px 0 0;min-height:1px;display:block}
.lw-chart-label{display:block;font-size:11px;white-space:nowrap;padding-top:9px}
.lw-chart-bucket:hover,.lw-chart-bucket:focus,.lw-chart-bucket.is-selected{background:#142b3d;color:#fff}
.lw-chart-tooltip{display:none;position:absolute;z-index:2;bottom:50px;left:50%;transform:translateX(-50%);background:#20394b;border:1px solid #547386;padding:8px 12px;border-radius:6px;white-space:nowrap;font-size:12px;color:white;pointer-events:none}
.lw-chart-bucket:hover .lw-chart-tooltip,.lw-chart-bucket:focus .lw-chart-tooltip{display:block}
.lw-finance-note{margin:12px 0 0}
.lw-daily-date{display:flex;align-items:center;gap:8px;flex-shrink:0}
.lw-daily-date .cms-input{width:160px;height:42px;min-height:42px;margin:0}.lw-daily-date .cms-button{height:42px;min-height:42px;padding:0 16px;white-space:nowrap;margin:0}
.lw-daily-transactions summary{cursor:pointer;color:#84d9f5;font-size:13px;padding:12px 0}.lw-daily-transactions>small{font-size:12px;color:#a9bdce}
.lw-dashboard-promo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.lw-dashboard-promo{padding:18px 0;border-bottom:1px solid #304354;display:flex;justify-content:space-between;gap:20px;text-decoration:none;min-width:0}
.lw-dashboard-promo>div{display:flex;flex-direction:column;gap:6px;min-width:0}.lw-dashboard-promo>div:last-child{min-width:150px;text-align:right}
.lw-dashboard-promo strong{font-size:14px;font-weight:500;color:#f2f6fa;overflow-wrap:anywhere}.lw-dashboard-promo .cms-status-badge{align-self:flex-start;font-size:11px;padding:3px 7px;background:#183346;color:#7adbf0}
.lw-dashboard-promo progress{width:100%;height:5px;accent-color:#ff9d23}.lw-dashboard-promo:hover strong{color:#7adbf0}
@media(max-width:850px){.lw-dashboard-promo-list{grid-template-columns:1fr}.lw-finance-overview .lw-panel-heading,.lw-daily-review .lw-panel-heading{flex-wrap:wrap;gap:14px}.lw-finance-summary{gap:12px}.lw-daily-date{width:100%}.lw-daily-date .cms-input{flex:1;width:auto}}
@media(max-width:480px){.lw-finance-summary{grid-template-columns:1fr 1fr}.lw-finance-summary>div:last-child{grid-column:1/-1}.lw-finance-summary strong{font-size:22px}.lw-dashboard-promo{gap:12px}.lw-dashboard-promo>div:last-child{min-width:120px}.lw-finance-tabs{width:100%;justify-content:space-between}.lw-finance-tabs a{flex:1;text-align:center}.lw-finance-chart{min-width:560px}.lw-chart-bars{height:140px}}
.lw-chart-mobile-note{display:none}#finance-heading,#daily-review,#dashboard-promo-heading{scroll-margin-top:96px}@media(max-width:480px){.lw-finance-chart.is-daily{min-width:0;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.lw-finance-chart.is-daily .lw-chart-bucket:nth-child(-n+7){display:none}.lw-finance-chart.is-daily .lw-chart-bucket{padding:0 2px}.lw-chart-mobile-note{display:block}}
.lw-dashboard-promo-list:has(>.lw-dashboard-promo:only-child){grid-template-columns:1fr}
/* Compact dashboard: cash flow 60%, campaigns 40%. */
.lw-dashboard-overview-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:28px;align-items:start}
.lw-dashboard-finance-column{min-width:0}.lw-dashboard-overview-grid .lw-dashboard-promos{min-width:0}
.lw-dashboard-overview-grid .lw-dashboard-promo-list{grid-template-columns:1fr}
.lw-dashboard-overview-grid .lw-finance-summary{gap:16px;margin:16px 0}.lw-dashboard-overview-grid .lw-finance-summary strong{font-size:22px}
.lw-dashboard-overview-grid .lw-chart-bars{height:132px}.lw-dashboard-overview-grid .lw-finance-chart{min-width:540px;gap:3px}
.lw-dashboard-overview-grid .lw-panel-heading{flex-wrap:wrap;gap:10px}.lw-dashboard-overview-grid .lw-finance-tabs a{padding:7px 12px}
.lw-dashboard-overview-grid .lw-dashboard-promo{gap:12px}.lw-dashboard-overview-grid .lw-dashboard-promo>div:last-child{min-width:120px}
.lw-dashboard-overview-grid .lw-daily-review{padding-top:18px;margin-top:18px}
@media(max-width:1050px){.lw-dashboard-overview-grid{grid-template-columns:1fr;gap:0}}
@media(max-width:480px){.lw-dashboard-overview-grid .lw-finance-chart.is-daily{min-width:0}.lw-dashboard-overview-grid .lw-finance-summary{grid-template-columns:1fr 1fr}.lw-dashboard-overview-grid .lw-finance-summary>div:last-child{grid-column:1/-1}}
/* Native calendar controls must remain visible on the dark admin theme. */
.cms-admin-panel input[type="date"],.cms-admin-panel input[type="datetime-local"],.cms-admin-panel input[type="time"],.cms-admin-panel input[type="month"],.cms-admin-panel input[type="week"]{color-scheme:dark;color:#f2f6fa}
.cms-admin-panel input::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer}
/* Keep edge tooltips inside the chart's existing scroll area. */
.lw-chart-bucket:first-child .lw-chart-tooltip{left:0;right:auto;transform:none}
.lw-chart-bucket:last-child .lw-chart-tooltip{left:auto;right:0;transform:none}

/* Chart buttons retain the same geometry as the original buckets. */
button.lw-chart-bucket{border:0;border-radius:0;padding:0;font:inherit;color:inherit;background:transparent;text-align:center;cursor:pointer}
button.lw-chart-bucket:hover,button.lw-chart-bucket.is-selected{background:rgba(83,191,226,.1)}

/* Full-width admin content and consistent selected navigation. */
.cms-admin-authenticated main p,.cms-admin-authenticated main .cms-table-detail,.cms-admin-authenticated main .cms-card-header>div{max-width:none!important;width:auto}
.cms-admin-authenticated .cms-nav a[aria-current="page"]{color:#ff8500!important;background:rgba(255,133,0,.12)!important;border-left:3px solid #ff8500;padding-left:13px}
.cms-admin-authenticated .cms-nav a[aria-current="page"] i{color:#ff8500!important}
.cms-device-page{width:100%;min-width:0;padding:8px 0;background:transparent;border:0}
.cms-device-page .cms-card-header{width:100%;align-items:flex-start}

.cms-device-page .cms-card-header>div{flex:1;min-width:0}

/* Player device signals and app-first messaging workspace. */
.lw-player-device-icons{display:flex;align-items:center;gap:12px;white-space:nowrap}
.lw-player-device-icons a{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:32px;font-size:18px;text-decoration:none}
.lw-player-device-icons .is-recorded{color:#54d5a5!important}.lw-player-device-icons .is-unreported{color:#78889b!important}
.lw-message-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #304358;padding-bottom:12px;margin-bottom:20px}
.lw-message-tabs a{display:inline-flex;gap:8px;align-items:center;padding:10px 14px;color:#b8cada;text-decoration:none;border-bottom:2px solid transparent}
.lw-message-tabs a[aria-current="page"]{color:#ff8500;border-color:#ff8500;background:rgba(255,133,0,.08)}
.lw-message-workspace{display:grid;grid-template-columns:minmax(260px,34%) minmax(0,1fr);gap:24px;align-items:start}
.lw-message-inbox,.lw-message-conversation,.lw-message-compose{min-width:0;background:transparent;border:0}
.lw-message-inbox{border-right:1px solid #304358;padding-right:24px}
.lw-conversation-list{display:grid;margin-top:16px}
.lw-conversation-item{padding:16px 12px;border-bottom:1px solid #304358;text-decoration:none;color:#dce8f5}
.lw-conversation-item>div{display:flex;justify-content:space-between;gap:10px;align-items:start}.lw-conversation-item time{font-size:11px;color:#9aafc1}
.lw-conversation-item>span,.lw-conversation-item>small{display:block;margin-top:7px}.lw-conversation-item>small{color:#84c9df}
.lw-conversation-item.is-selected{border-left:3px solid #ff8500;background:rgba(255,133,0,.08)}
.lw-chat-message{margin:14px 0;padding:14px 18px;border-left:3px solid #3dc5e3;background:rgba(61,197,227,.06);overflow-wrap:anywhere}
.lw-chat-message.is-admin{border-color:#ff8500;background:rgba(255,133,0,.06)}.lw-chat-message p{margin:9px 0}.lw-chat-message small{color:#aebfd1}
.lw-message-empty{padding:50px 20px;text-align:center}.lw-message-empty>i{font-size:38px;color:#3dc5e3}
.lw-message-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.lw-message-recipients{display:grid;margin:18px 0}.lw-message-recipients>a{display:flex;align-items:center;gap:16px;padding:14px;border-bottom:1px solid #304358;text-decoration:none}.lw-message-recipients>a>i{margin-left:auto}
.lw-message-recipient{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:18px 0;margin:12px 0;border-bottom:1px solid #304358}.lw-message-recipient>a{margin-left:auto}
@media(max-width:800px){.lw-message-workspace{grid-template-columns:minmax(0,1fr)}.lw-message-inbox{border-right:0;padding-right:0}.lw-message-tabs{gap:4px}.lw-message-tabs a{padding:10px}.lw-conversation-list{max-height:320px;overflow:auto}.lw-message-search{grid-template-columns:minmax(0,1fr)}.lw-message-recipients>a{flex-wrap:wrap}.lw-message-empty{padding:24px 10px}}

/* Clear reply and completion actions */
.lw-reply-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}.cms-button.cms-button-success{background:#167442;color:#fff;border:1px solid #248d55;box-shadow:none}.cms-button.cms-button-success:hover{background:#115e35;color:#fff}.cms-button.cms-button-success:focus-visible{outline:2px solid #70e5a4;outline-offset:3px}

.lw-campaign-qualification{grid-column:1/-1;width:100%;margin:8px 0 16px}.lw-campaign-qualification summary{cursor:pointer;color:#e9f6ff;padding:10px 0}.lw-campaign-qualification details .lw-registration-fields{margin-top:12px}

/* Account messaging and inbox controls use the entire content width. */
.cms-player-message-form{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:24px 0}
.cms-player-message-form .cms-form-row,.cms-player-message-form .cms-checkbox-row{width:100%;min-width:0;margin:0}
.cms-player-message-form textarea{min-height:140px;width:100%;resize:vertical}
.cms-player-message-form>.cms-button{justify-self:start;width:auto}
.lw-command-kpi{grid-template-rows:24px 40px auto;gap:8px 12px;min-height:140px}
.lw-command-kpi-icon{grid-row:1 / 3;align-self:start}
.lw-command-kpi-value{grid-column:2;grid-row:2;align-self:center;margin-top:0;line-height:1.2}
.lw-command-kpi .lw-admin-kicker{align-self:center}
.lw-inbox-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:18px 0 8px}
.lw-inbox-toolbar label{display:flex;align-items:center;gap:8px;margin-right:auto;font-size:13px}
.lw-inbox-bulk{display:flex;flex-wrap:wrap;gap:6px}.lw-inbox-bulk .cms-button{padding:8px 10px;font-size:12px}
.lw-conversation-item{display:block;padding:14px 12px;border-left:3px solid transparent}
.lw-conversation-item>.lw-conversation-heading{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:10px;align-items:start}
.lw-thread-check{padding-top:3px}.lw-thread-link{text-decoration:none;color:#e9f0f7;min-width:0}
.lw-thread-link strong,.lw-thread-link span,.lw-thread-link small{display:block;overflow-wrap:anywhere}
.lw-thread-link span{margin-top:6px;font-size:13px;color:#b8cbdc}.lw-thread-link small{margin-top:7px;font-size:11px;color:#84c9df}
.lw-thread-controls{text-align:right}.lw-thread-actions{display:flex;justify-content:flex-end;gap:5px;margin-top:8px}
.lw-thread-action{display:grid;place-items:center;width:32px;height:32px;border:1px solid #405268;border-radius:4px;background:#15283a;color:#a7daf0;cursor:pointer}
.lw-thread-action.is-complete{color:#69ddaa}.lw-thread-action.is-delete{color:#ffa997}
.lw-thread-action:hover,.lw-thread-action:focus-visible{background:#263e52;border-color:#9ad7ec;outline:2px solid transparent}
.lw-inbox-management input[type=checkbox]{accent-color:#ff7900;width:16px;height:16px}
.lw-inbox-management button:disabled{opacity:.45;cursor:default}
.lw-campaign-placements{grid-column:1/-1;border:0;border-top:1px solid #304358;margin:8px 0;padding:18px 0 0;min-width:0}
.lw-campaign-placements legend{font-size:14px;color:#ff8a22;padding-right:12px}.lw-campaign-placement-options{display:flex;flex-wrap:wrap;gap:12px 26px}
@media(max-width:600px){.lw-conversation-item>.lw-conversation-heading{grid-template-columns:18px minmax(0,1fr)}.lw-thread-controls{grid-column:2;text-align:left}.lw-thread-actions{justify-content:flex-start}.cms-player-message-form>.cms-button{width:100%}.lw-command-kpi{min-height:140px}}

.lw-welcome-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 8px}
.lw-welcome-actions>.cms-button{flex:1 1 125px;min-width:0;justify-content:center;text-align:center;white-space:normal}

#player-messages .cms-player-message-form > .cms-form-row { width:100%; margin:0; }
#player-messages .cms-player-message-form > .cms-checkbox-row { grid-column:1; justify-self:start; align-self:start; margin:0; }
#player-messages .cms-player-message-form > .cms-button { grid-column:1; justify-self:start; width:auto; }

/* Player contact details: aligned labels above values. */
.cms-account-section[aria-label="Player contact details"] .cms-detail-list {
    width:100%; grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:0 24px !important;
}
.cms-account-section[aria-label="Player contact details"] .cms-detail-list > div {
    display:flex; flex-direction:column; justify-content:flex-start;
    align-items:flex-start; gap:6px; min-width:0; padding:14px 0;
}
.cms-account-section[aria-label="Player contact details"] .cms-detail-list dt {
    font-size:12px; line-height:1.4;
}
.cms-account-section[aria-label="Player contact details"] .cms-detail-list dd {
    text-align:left; font-size:14px; line-height:1.5; overflow-wrap:anywhere;
    font-variant-numeric:tabular-nums;
}
@media(max-width:1100px) {
    .cms-account-section[aria-label="Player contact details"] .cms-detail-list {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}
@media(max-width:540px) {
    .cms-account-section[aria-label="Player contact details"] .cms-detail-list {
        grid-template-columns:minmax(0,1fr) !important;
    }
}

/* Player conversations and account settings share desktop space. */
.lw-player-conversation-controls { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:28px; align-items:start; margin-top:24px; padding-top:20px; border-top:1px solid rgb(255 255 255 / 8%); }
.lw-player-conversation-controls > section { min-width:0; }
.lw-player-conversation-controls h3 { margin-top:0; }
#player-messages .lw-player-account-settings .cms-profile-form { width:100%; max-width:none; gap:12px; }
#player-messages .lw-player-account-settings .cms-profile-form .cms-textarea { height:110px; min-height:110px; }
#player-messages .lw-player-account-settings .cms-profile-form > button { justify-self:start; width:auto; }
.lw-player-account-settings .cms-profile-form { width:100%; max-width:none; }
@media(max-width:1100px) { .lw-player-conversation-controls { grid-template-columns:minmax(0,1fr); gap:24px; } }

/* Player account balances and grouped history. */
.lw-player-account-meta { display:flex; flex-wrap:wrap; gap:12px 24px; color:var(--skin-muted,#aebdce); margin:12px 0 18px; }
.lw-player-account-meta strong { color:var(--skin-on-surface,#fff); }
.lw-player-money-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.lw-player-money-grid article { display:flex; flex-direction:column; gap:8px; border-top:1px solid rgb(255 255 255 / 12%); padding-top:14px; min-width:0; }
.lw-player-money-grid article > span { color:var(--skin-muted,#aebdce); font-size:13px; }
.lw-player-money-grid article > strong { font-size:26px; line-height:1.3; font-weight:600; font-variant-numeric:tabular-nums; }
.lw-player-money-grid article > small { color:var(--skin-muted,#aebdce); font-size:12px; }
.lw-player-financial-history > section { border:0; border-radius:0; box-shadow:none; background:none; padding:18px 0; margin:0; }
.lw-player-financial-history > section + section { border-top:1px solid rgb(255 255 255 / 10%); }
.lw-player-financial-history > section h2 { font-size:15px; }
.lw-player-activity-group > .cms-card { border:0; background:none; box-shadow:none; margin:0; padding:18px 0; }
.lw-player-activity-group > .cms-card + .cms-card { border-top:1px solid rgb(255 255 255 / 10%); }
.lw-balance-summary [data-wallet-withdrawable] { display:block; font-size:24px; }
.lw-balance-summary .cms-kpi-card small { display:block; margin-top:8px; font-size:12px; font-weight:400; }
@media(max-width:640px) { .lw-player-money-grid { grid-template-columns:minmax(0,1fr); gap:16px; } }

.lw-player-credit-editor > summary { cursor:pointer; color:var(--skin-on-surface,#fff); font-size:15px; font-weight:500; }
.lw-player-credit-editor > summary i { color:var(--skin-warm,#ff7545); margin-right:8px; }
.lw-player-credit-editor[open] > summary { margin-bottom:16px; }
.lw-payout-page .lw-balance-summary { display:block; width:100%; }
.lw-payout-page .lw-balance-summary .cms-kpi-card { display:block; width:100%; }

/* Payment approvals page: bank notification payments table */
#lw-payment-email-queue .cms-table { width:100%; table-layout:fixed; min-width:0; }
#lw-payment-email-queue .cms-status-badge.cms-status-approved { color:#86efac; background:rgba(34,197,94,.14); border-color:rgba(34,197,94,.45); }
#lw-payment-email-queue .cms-inline-form { display:flex; flex-wrap:wrap; gap:6px; }
#lw-payment-email-queue .cms-inline-form .cms-button { padding:10px 12px; white-space:nowrap; }
#lw-payment-email-queue .lw-email-client-link { color:var(--skin-primary, #ff8500); text-decoration:underline; text-underline-offset:3px; }
@media (min-width:761px) {
 #lw-payment-email-queue .cms-table th:nth-child(1) { width:11%; }
 #lw-payment-email-queue .cms-table th:nth-child(2) { width:33%; }
 #lw-payment-email-queue .cms-table th:nth-child(3) { width:14%; }
 #lw-payment-email-queue .cms-table th:nth-child(4) { width:10%; }
 #lw-payment-email-queue .cms-table th:nth-child(5) { width:9%; }
 #lw-payment-email-queue .cms-table th:nth-child(6) { width:11%; }
 #lw-payment-email-queue .cms-table th:nth-child(7) { width:12%; }
 #lw-payment-email-queue .cms-table td, #lw-payment-email-queue .cms-table th { min-width:0; padding:12px 8px; vertical-align:top; }
 #lw-payment-email-queue .lw-email-reference { white-space:nowrap; overflow-wrap:normal; word-break:normal; font-size:13px; }
 #lw-payment-email-queue td[data-label="Client"], #lw-payment-email-queue td[data-label="Amount"], #lw-payment-email-queue td[data-label="Status"] { white-space:nowrap; }
 #lw-payment-email-queue .lw-email-subject { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; }
 #lw-payment-email-queue .cms-inline-form .cms-button { padding:8px 12px; }
}
@media (max-width:760px) {
 #lw-payment-email-queue .cms-table { table-layout:auto; }
 #lw-payment-email-queue .lw-email-subject { display:block; overflow-wrap:anywhere; }
}

/* Proof viewer modal */
.lw-proof-viewer { width: min(860px, 92vw); max-height: 92vh; padding: 18px; border: 1px solid rgb(255 255 255 / 12%); background: rgb(var(--skin-surface-rgb, 15 29 47) / 100%); color: var(--skin-text, #edf3f9); }
.lw-proof-viewer::backdrop { background: rgb(0 0 0 / 65%); }
.lw-proof-viewer h2 { margin: 0 0 12px; font-size: 1rem; overflow-wrap: anywhere; }
.lw-proof-viewer iframe { display: block; width: 100%; height: min(64vh, 620px); border: 1px solid rgb(255 255 255 / 10%); background: #fff; }
.lw-proof-viewer form { margin: 12px 0 0; }
