/*
Theme Name: GameZone
Theme URI: https://yoursite.com
Description: A Poki-style games website theme. Clean, fast, and built for HTML5 and iFrame games.
Version: 7.9
Author: You
Author URI: https://yoursite.com
Text Domain: gamezone
*/

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --color-primary:    #6c3ce1;
  --color-accent:     #f97316;
  --color-bg:         #f0f0f5;
  --color-white:      #ffffff;
  --color-text:       #1a1a2e;
  --color-muted:      #888888;
  --color-border:     #e0e0e8;
  --color-hover-overlay: rgba(20, 10, 40, 0.82);
  --radius-card:      14px;
  --radius-pill:      20px;
  --nav-height:       56px;
  --font-main:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-main); }

/* ===========================
   NAVBAR
=========================== */
.site-nav {
  background: var(--color-white);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}
.nav-logo span { color: var(--color-accent); }

.nav-search-wrap {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  gap: 6px;
  width: 180px;
}
.nav-search-wrap svg { width: 14px; height: 14px; stroke: var(--color-muted); flex-shrink: 0; }
.nav-search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--color-text);
  width: 100%;
  font-family: var(--font-main);
}
.nav-search-wrap input::placeholder { color: var(--color-muted); }

.nav-right { margin-left: auto; }
.btn-signin {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.15s;
}
.btn-signin:hover { opacity: 0.88; }

/* ===========================
   CATEGORY BAR
=========================== */
.category-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-pill {
  background: var(--color-bg);
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 13px;
  color: #555;
  font-family: var(--font-main);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  display: inline-block;
}
.cat-pill:hover,
.cat-pill.active {
  background: var(--color-primary);
  color: #fff;
}

/* ===========================
   MAIN CONTENT
=========================== */
.site-main { padding: 24px; max-width: 1400px; margin: 0 auto; }

/* Section header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}
.section-see-all {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
}
.section-see-all:hover { text-decoration: underline; }

/* ===========================
   GAMES GRID
=========================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

/* ===========================
   GAME CARD
=========================== */
.game-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  display: block;
}

.game-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

/* fallback when no image — colored bg with emoji/text */
.game-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  transition: transform 0.2s ease;
  background: #fde8ff;
}

.game-card:hover .game-card-thumb,
.game-card:hover .game-card-thumb-placeholder {
  transform: scale(1.06);
}

.game-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--color-hover-overlay);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 8px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card:hover .game-card-label,
.game-card:focus .game-card-label {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   SINGLE GAME PAGE
=========================== */
.game-single-main {
  max-width: 900px;
  margin: 0 auto;
}

/* Breadcrumb */
.game-breadcrumb {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.game-breadcrumb a { color: var(--color-primary); }
.game-breadcrumb a:hover { text-decoration: underline; }
.game-breadcrumb span { color: var(--color-text); }

/* Player shell */
.game-player-shell {
  background: #111827;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}
.game-player-area {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-player-area iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Player bar */
.game-player-bar {
  background: #1a1f2e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
}
.game-player-bar-title {
  font-size: 13px;
  font-weight: 600;
  color: #e0e0f0;
}
.game-player-bar-actions { display: flex; gap: 8px; }
.game-pbar-btn {
  background: #2a3050;
  color: #a0a8c0;
  border: none;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  font-family: var(--font-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s;
}
.game-pbar-btn:hover { background: #3a4060; color: #fff; }

/* Game meta info */
.game-meta-bar {
  background: var(--color-white);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
}
.game-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.game-meta-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}
.game-tag {
  background: var(--color-bg);
  color: #555;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  text-decoration: none;
}
.game-tag-cat {
  background: #ede8ff;
  color: #5c3ab6;
}
.game-meta-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Ad slot — single, clearly labeled */
.game-ad-slot {
  background: var(--color-white);
  border: 1px dashed #c8c0e8;
  border-radius: 12px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 20px;
  text-align: center;
}
.game-ad-label {
  font-size: 10px;
  color: #b0a0cc;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  display: block;
}

/* Related games section */
.related-games-section { margin-bottom: 32px; }

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 40px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .site-nav { padding: 0 14px; }
  .nav-search-wrap { width: 140px; }
  .site-main { padding: 14px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); gap: 8px; }
  .game-single-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .category-bar { padding: 8px 14px; }
}

/* Walkthrough video box */
.game-walkthrough-box {
  background: var(--color-white);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
}


/* HEADER CATEGORY NAV */
.category-nav {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 90;
}

.category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-container::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 999px;
    background: #f3f4f8;
    color: #36364a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.category-item:hover,
.category-item.active {
    background: #6c5ce7;
    color: #ffffff;
}

/* SMALL FOOTER PAGE LINKS */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e8e8ef;
    margin-top: 50px;
    padding: 18px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand p {
    margin: 0;
    color: #7a7a8c;
    font-size: 14px;
}

.footer-links-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin-left: auto;
}

.footer-links-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3f4f8;
    color: #4b4b63;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-links-right a:hover {
    background: #6c5ce7;
    color: #ffffff;
}

/* PAGE TEMPLATE */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-content-card {
    background: #ffffff;
    border: 1px solid #ececf3;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 6px 20px rgba(18, 18, 23, 0.05);
}

.page-title {
    margin: 0 0 20px;
    font-size: 32px;
    line-height: 1.2;
}

.entry-content {
    color: #4b4b63;
    font-size: 16px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .category-nav {
        position: relative;
        top: auto;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links-right {
        justify-content: flex-start;
        margin-left: 0;
    }

    .page-content-card {
        padding: 22px;
        border-radius: 16px;
    }

    .page-title {
        font-size: 26px;
    }
}

/* =====================================================
   LALO v2.1 — OuazGames-style left category sidebar
===================================================== */
:root {
  --sidebar-width: 92px;
  --sidebar-bg: #ffffff;
  --sidebar-active: #6c3ce1;
  --sidebar-text: #4a4a5f;
}

body {
  background: #f5f6fb;
}

.site-nav {
  left: 0;
  right: 0;
  top: 0;
  position: sticky;
  z-index: 200;
  height: 64px;
  box-shadow: 0 2px 12px rgba(18, 18, 23, 0.05);
}

.sidebar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #f0f0f7;
  color: #242438;
  font-size: 20px;
  font-weight: 800;
}

.nav-logo {
  min-width: calc(var(--sidebar-width) - 24px);
  font-size: 20px;
}

.nav-right,
.category-bar,
.category-nav {
  display: none !important;
}

.nav-search-wrap {
  width: min(420px, 48vw);
  margin-left: 6px;
  padding: 9px 16px;
  border-radius: 18px;
}

.lalo-layout {
  display: flex;
  align-items: stretch;
  max-width: 1580px;
  margin: 0 auto;
}

.lalo-sidebar {
  width: var(--sidebar-width);
  flex: 0 0 var(--sidebar-width);
  background: var(--sidebar-bg);
  border-right: 1px solid #e9e9f2;
  min-height: calc(100vh - 64px);
  position: sticky;
  top: 64px;
  align-self: flex-start;
  padding: 12px 8px 22px;
  z-index: 120;
  overflow-y: auto;
  scrollbar-width: thin;
}

.sidebar-brand-small {
  color: #9a9aab;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
  font-weight: 800;
  margin: 4px 0 10px;
}

.sidebar-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 74px;
  margin-bottom: 8px;
  padding: 10px 5px;
  border-radius: 18px;
  color: var(--sidebar-text);
  background: transparent;
  text-align: center;
  font-weight: 800;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sidebar-cat:hover {
  background: #f0edff;
  color: var(--sidebar-active);
  transform: translateY(-1px);
}

.sidebar-cat.active {
  background: var(--sidebar-active);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(108, 60, 225, .22);
}

.sidebar-cat-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f9;
  border-radius: 14px;
  font-size: 20px;
  line-height: 1;
}

.sidebar-cat.active .sidebar-cat-icon {
  background: rgba(255,255,255,.18);
}

.sidebar-cat-text {
  font-size: 11px;
  line-height: 1.1;
  max-width: 72px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.lalo-content {
  flex: 1;
  min-width: 0;
}

.site-main {
  max-width: none;
  padding: 24px 28px;
}

.games-grid {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 16px;
}

.game-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(18, 18, 23, .07);
}

.game-card-thumb,
.game-card-thumb-placeholder {
  border-radius: 20px;
}

.game-card-label {
  border-radius: 0 0 20px 20px;
}

.sidebar-backdrop {
  display: none;
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-logo {
    min-width: 0;
  }

  .nav-search-wrap {
    width: auto;
    flex: 1;
  }

  .lalo-sidebar {
    position: fixed;
    left: -104px;
    top: 64px;
    height: calc(100vh - 64px);
    transition: left .22s ease;
    box-shadow: 12px 0 30px rgba(18, 18, 23, .15);
  }

  body.sidebar-open .lalo-sidebar {
    left: 0;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(13, 13, 25, .32);
    z-index: 110;
  }

  body.sidebar-open .sidebar-backdrop {
    display: block;
  }

  .site-main {
    padding: 16px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .site-nav {
    padding: 0 10px;
    gap: 10px;
  }

  .nav-logo {
    font-size: 17px;
  }

  .nav-search-wrap {
    max-width: 46vw;
    padding: 8px 11px;
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================================
   LALO v2.2 — Gamified scrollable category sidebar
===================================================== */
.lalo-sidebar {
  height: calc(100vh - 64px);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #6c3ce1 #ececf6;
  background:
    linear-gradient(#ffffff 30%, rgba(255,255,255,0)) top,
    linear-gradient(rgba(255,255,255,0), #ffffff 70%) bottom,
    radial-gradient(farthest-side at 50% 0, rgba(108,60,225,.16), transparent) top,
    radial-gradient(farthest-side at 50% 100%, rgba(108,60,225,.16), transparent) bottom;
  background-repeat: no-repeat;
  background-size: 100% 32px, 100% 32px, 100% 14px, 100% 14px;
  background-attachment: local, local, scroll, scroll;
}

.lalo-sidebar::-webkit-scrollbar { width: 8px; }
.lalo-sidebar::-webkit-scrollbar-track {
  background: #ececf6;
  border-radius: 99px;
}
.lalo-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6c3ce1, #ffb000);
  border-radius: 99px;
  border: 2px solid #ececf6;
}

.sidebar-brand-small {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 9px 4px 8px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-radius: 14px;
}

.sidebar-cat {
  position: relative;
  isolation: isolate;
  border: 1px solid transparent;
}

.sidebar-cat::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(108,60,225,.12), rgba(255,176,0,.12));
  opacity: 0;
  transform: scale(.88);
  transition: opacity .18s ease, transform .18s ease;
  z-index: -1;
}

.sidebar-cat:hover::before,
.sidebar-cat.active::before {
  opacity: 1;
  transform: scale(1);
}

.sidebar-cat:hover .sidebar-cat-icon {
  transform: rotate(-5deg) scale(1.08);
  box-shadow: 0 8px 16px rgba(108,60,225,.16);
}

.sidebar-cat.active {
  background: linear-gradient(160deg, #6c3ce1, #8b5cf6);
  border-color: rgba(255,255,255,.65);
}

.sidebar-cat.active::after {
  content: '★';
  position: absolute;
  top: 5px;
  right: 6px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffb000;
  color: #fff;
  font-size: 10px;
  box-shadow: 0 6px 12px rgba(255,176,0,.28);
}

.sidebar-cat-icon {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.sidebar-scroll-hint {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin-top: 8px;
  padding: 8px 4px;
  text-align: center;
  font-size: 18px;
  color: #6c3ce1;
  background: linear-gradient(to top, rgba(255,255,255,.98), rgba(255,255,255,.72));
  border-radius: 16px;
  animation: laloBounce 1.3s ease-in-out infinite;
  pointer-events: none;
}

.lalo-sidebar.is-at-bottom .sidebar-scroll-hint {
  opacity: 0;
  animation: none;
}

@keyframes laloBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 900px) {
  .lalo-sidebar {
    height: calc(100vh - 64px);
    max-height: calc(100vh - 64px);
  }
}

/* ===========================
   LALO V2.3 HOMEPAGE + CARDS
=========================== */
.lalo-home-main {
  padding-top: 18px;
}

.lalo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  gap: 16px;
  margin-bottom: 18px;
}

.hero-featured-card,
.hero-side-panel,
.seo-home-block,
.ad-placeholder {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(30, 20, 80, .08);
}

.hero-featured-card {
  min-height: 330px;
  position: relative;
  display: block;
  background: linear-gradient(135deg, #5b21b6, #ec4899);
}

.hero-featured-card img,
.hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform .28s ease;
}

.hero-featured-card:hover img,
.hero-featured-card:hover .hero-placeholder {
  transform: scale(1.04);
}

.hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
}

.hero-featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(10,8,25,.82));
}

.hero-overlay {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
}

.hero-kicker,
.hero-side-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  margin-bottom: 10px;
}

.hero-overlay h1 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -.03em;
}

.hero-play {
  display: inline-flex;
  background: #fff;
  color: #5b21b6;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.hero-side-panel {
  padding: 26px;
  background: radial-gradient(circle at top left, #fff7ed, #fff 45%, #eef2ff);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-side-panel h2 {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.hero-side-panel p {
  color: #667085;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-search {
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(108, 60, 225, .12);
  border-radius: 999px;
  padding: 7px;
  box-shadow: 0 10px 24px rgba(50,40,100,.08);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 10px;
  font-family: var(--font-main);
  font-weight: 700;
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
}

.quick-category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.quick-category-strip::-webkit-scrollbar { display: none; }

.quick-cat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  color: #2b2450;
  box-shadow: 0 8px 20px rgba(30,20,80,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.quick-cat span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2efff;
}
.quick-cat:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(30,20,80,.12);
}

.home-section {
  margin-top: 22px;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.home-section-head h2 {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.02em;
}
.home-section-head span {
  font-size: 12px;
  font-weight: 900;
  color: var(--color-primary);
  background: #ede9fe;
  border-radius: 999px;
  padding: 7px 11px;
}

.modern-grid {
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 16px;
}

.modern-game-card {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 20px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 26px rgba(30,20,80,.07);
  transition: transform .16s ease, box-shadow .16s ease;
}
.modern-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(30,20,80,.14);
}

.game-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  background: #f4f2ff;
}

.modern-game-card .game-card-label { display: none; }
.modern-game-card .game-card-thumb,
.modern-game-card .game-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-play-bubble {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(135deg, #7c3aed, #f97316);
  box-shadow: 0 8px 20px rgba(70,40,120,.25);
  transform: scale(.92);
  opacity: 0;
  transition: opacity .16s ease, transform .16s ease;
}
.modern-game-card:hover .game-play-bubble {
  opacity: 1;
  transform: scale(1);
}

.game-card-info {
  padding: 9px 5px 3px;
}
.game-card-info strong,
.game-card-info span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card-info strong {
  color: #1f1b3d;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}
.game-card-info span {
  color: #8a83a8;
  font-size: 12px;
  font-weight: 800;
  margin-top: 3px;
}

.ad-placeholder {
  height: 96px;
  margin: 24px 0;
  background: repeating-linear-gradient(45deg, #fff, #fff 14px, #f7f5ff 14px, #f7f5ff 28px);
  border: 2px dashed #ded7ff;
  color: #9a8ac7;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-home-block {
  margin: 30px 0 10px;
  padding: 28px;
  background: #fff;
}
.seo-home-block h2 {
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.seo-home-block > p {
  color: #667085;
  max-width: 880px;
  font-weight: 700;
}
.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.seo-faq-grid div {
  background: #f8f7ff;
  border-radius: 18px;
  padding: 16px;
}
.seo-faq-grid h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.seo-faq-grid p {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.lalo-pagination {
  text-align: center;
  margin-top: 24px;
}
.lalo-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin: 3px;
  border-radius: 12px;
  background: #fff;
  font-weight: 900;
  color: #453c71;
}
.lalo-pagination .current {
  background: var(--color-primary);
  color: #fff;
}
.empty-games {
  color: var(--color-muted);
  padding: 40px 0;
  text-align:center;
  font-weight: 800;
}

@media (max-width: 900px) {
  .lalo-hero { grid-template-columns: 1fr; }
  .hero-featured-card, .hero-featured-card img, .hero-placeholder { min-height: 260px; }
  .seo-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-main { padding: 14px; }
  .modern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hero-overlay { left: 16px; right: 16px; bottom: 16px; }
  .hero-side-panel { padding: 18px; }
  .hero-search { border-radius: 18px; flex-direction: column; }
  .hero-search input { min-height: 38px; }
  .hero-search button { width: 100%; }
}

/* =========================================================
   Lalo.games Mega Footer v2.4
========================================================= */
.lalo-mega-footer {
  --footer-bg: #06111f;
  --footer-bg-2: #0b1a2c;
  --footer-card: rgba(255,255,255,.045);
  --footer-line: rgba(148, 163, 184, .16);
  --footer-soft-line: rgba(255,255,255,.07);
  --footer-text: #d8e2ef;
  --footer-muted: #9cadc1;
  --footer-accent: #08d7ff;
  position: relative;
  background:
    radial-gradient(circle at 15% 0%, rgba(8, 215, 255, .08), transparent 30%),
    linear-gradient(180deg, var(--footer-bg-2), var(--footer-bg));
  color: var(--footer-text);
  border-top: 1px solid rgba(8, 215, 255, .65);
  margin-top: 42px;
  overflow: hidden;
}
.lalo-mega-footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8,215,255,.85), transparent);
  opacity: .75;
}
.lalo-mega-footer a { color: inherit; text-decoration: none; }
.footer-experience,
.footer-main,
.footer-bottom-bar {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.footer-experience { padding-top: 34px; padding-bottom: 34px; }
.footer-experience-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.12fr) minmax(300px, 1fr) minmax(280px, .9fr);
  gap: 30px;
}
.footer-panel {
  position: relative;
  padding: 4px 26px 4px 0;
}
.footer-panel:not(:last-child):after {
  content: '';
  position: absolute;
  top: 8px;
  right: 0;
  width: 1px;
  height: calc(100% - 16px);
  background: linear-gradient(180deg, transparent, var(--footer-soft-line), transparent);
}
.footer-panel h2,
.footer-link-column h3,
.footer-popular-column h3 {
  position: relative;
  margin: 0 0 20px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
}
.footer-panel h2 { font-size: 21px; padding-left: 16px; }
.footer-panel h2:before,
.footer-link-column h3:before,
.footer-popular-column h3:before {
  content: '';
  position: absolute;
  left: 0;
  top: .24em;
  width: 3px;
  height: 1.1em;
  border-radius: 999px;
  background: var(--footer-accent);
  box-shadow: 0 0 14px rgba(8,215,255,.35);
}
.footer-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.footer-feature-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--footer-soft-line);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.footer-feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8,215,255,.28);
  background: rgba(255,255,255,.055);
}
.footer-feature-card > span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(8,215,255,.075);
  border: 1px solid rgba(8,215,255,.13);
  color: var(--footer-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .05em;
}
.footer-feature-card strong { color: #fff; font-size: 14px; font-weight: 850; }
.footer-feature-card p { margin: 2px 0 0; color: var(--footer-muted); font-size: 12px; line-height: 1.5; font-weight: 600; }
.footer-lead {
  color: var(--footer-text);
  font-weight: 600;
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 560px;
}
.footer-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-check-list li { color: var(--footer-muted); line-height: 1.55; font-weight: 600; }
.footer-check-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  margin-right: 8px;
  background: rgba(8,215,255,.14);
  color: var(--footer-accent);
  border: 1px solid rgba(8,215,255,.18);
  font-size: 11px;
  font-weight: 950;
}
.footer-check-list strong { color: #fff; font-weight: 850; }
.footer-faq-list { display: grid; gap: 8px; }
.footer-faq-list details {
  border: 1px solid var(--footer-soft-line);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  overflow: hidden;
}
.footer-faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: #eef6ff;
  font-size: 13px;
  font-weight: 750;
}
.footer-faq-list summary::-webkit-details-marker { display: none; }
.footer-faq-list summary:after { content: '+'; font-size: 17px; line-height: 1; color: var(--footer-muted); font-weight: 700; }
.footer-faq-list details[open] { border-color: rgba(8,215,255,.20); }
.footer-faq-list details[open] summary:after { content: '–'; color: var(--footer-accent); }
.footer-faq-list details p { margin: 0; padding: 0 13px 13px; color: var(--footer-muted); font-size: 12px; line-height: 1.6; font-weight: 600; }
.footer-main {
  border-top: 1px solid rgba(8,215,255,.35);
  position: relative;
  padding-top: 38px;
  padding-bottom: 34px;
}
.footer-main:before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 52px;
  height: 4px;
  transform: translateX(-50%);
  background: var(--footer-accent);
  border-radius: 0 0 10px 10px;
  opacity: .75;
}
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr 1.18fr;
  gap: 54px;
  align-items: start;
}
.footer-logo-text {
  display: inline-flex;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.045em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-brand-block p { color: var(--footer-text); max-width: 330px; margin: 0 0 20px; line-height: 1.7; font-weight: 600; }
.footer-socials { display: flex; gap: 9px; flex-wrap: wrap; }
.footer-socials a,
.footer-back-top {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--footer-soft-line);
  color: var(--footer-text);
  font-size: 11px;
  font-weight: 850;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.footer-socials a:hover,
.footer-back-top:hover { transform: translateY(-2px); color: #fff; border-color: rgba(8,215,255,.35); background: rgba(8,215,255,.10); }
.footer-link-column h3,
.footer-popular-column h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .11em; padding-left: 14px; }
.footer-link-column h3:after,
.footer-popular-column h3:after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(8,215,255,.75);
  position: absolute;
  left: 14px;
  bottom: -9px;
  border-radius: 999px;
}
.footer-link-column { display: flex; flex-direction: column; gap: 12px; }
.footer-link-column a { color: var(--footer-muted); font-weight: 650; transition: color .18s ease, transform .18s ease; }
.footer-link-column a:hover { color: #fff; transform: translateX(3px); }
.footer-popular-column { display: flex; flex-direction: column; gap: 12px; }
.footer-popular-game {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--footer-soft-line);
}
.footer-popular-thumb,
.footer-popular-thumb img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  object-fit: cover;
  background: rgba(255,255,255,.06);
}
.footer-thumb-fallback { width: 46px; height: 46px; display:flex; align-items:center; justify-content:center; color:var(--footer-muted); }
.footer-popular-game strong { display:block; color:#fff; font-size:14px; font-weight:850; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.footer-popular-game small { color: var(--footer-muted); font-weight:650; font-size:12px; }
.footer-muted { color: var(--footer-muted); font-weight: 650; }
.footer-bottom-bar {
  border-top: 1px solid var(--footer-soft-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 17px;
  padding-bottom: 17px;
  color: var(--footer-muted);
  font-size: 13px;
  font-weight: 600;
}
.footer-bottom-bar p { margin: 0; }
.footer-bottom-bar div { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-bottom-bar a:hover { color: #fff; }
.footer-back-top { flex: 0 0 auto; color: var(--footer-accent); border-color: rgba(8,215,255,.35); }

@media (max-width: 1180px) {
  .footer-experience-grid { grid-template-columns: 1fr; }
  .footer-panel { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 22px; }
  .footer-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .footer-experience,
  .footer-main,
  .footer-bottom-bar { padding-left: 16px; padding-right: 16px; }
  .footer-feature-grid,
  .footer-main-grid { grid-template-columns: 1fr; }
  .footer-panel { padding-left: 0; padding-right: 0; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }
  .footer-logo-text { font-size: 28px; }
}

/* =====================================================
   LALO v2.6 — Premium brand icon in header + sidebar
===================================================== */
.nav-logo-premium {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  color: #fff;
  letter-spacing: .02em;
}

.lalo-logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,231,255,.14), rgba(124,77,255,.12));
  border: 1px solid rgba(0,231,255,.22);
  box-shadow: 0 8px 22px rgba(0, 231, 255, .10);
  overflow: hidden;
}

.lalo-logo-mark img,
.lalo-logo-mark .custom-logo-link,
.lalo-logo-mark .custom-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lalo-logo-word {
  display: inline-flex;
  flex-direction: column;
  line-height: .88;
  transform: translateY(1px);
}

.lalo-logo-word strong {
  font-size: 21px;
  font-weight: 900;
  color: #ffffff;
}

.lalo-logo-word em {
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  color: #12dfff;
  letter-spacing: .13em;
}

.sidebar-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 6px 12px;
  margin: 2px 0 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 231, 255, .10), rgba(255,255,255,.03));
  border: 1px solid rgba(0, 231, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.sidebar-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  box-shadow: 0 10px 28px rgba(0, 231, 255, .12);
}

.sidebar-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sidebar-brand-name {
  font-size: 13px;
  font-weight: 950;
  color: #ffffff;
  line-height: .9;
  text-align: center;
  letter-spacing: .02em;
}

.sidebar-brand-name small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: #13ddff;
  letter-spacing: .14em;
}

@media (max-width: 760px) {
  .nav-logo-premium { min-width: auto; gap: 8px; }
  .lalo-logo-mark { width: 38px; height: 38px; border-radius: 13px; }
  .lalo-logo-word strong { font-size: 18px; }
  .lalo-logo-word em { font-size: 10px; }
}

@media (max-width: 480px) {
  .lalo-logo-word { display: none; }
  .nav-logo-premium { min-width: 42px; }
}

/* v2.8 branding panel logo refinements */
.footer-logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(8,215,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(8,215,255,.18);
  overflow: hidden;
}

.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-logo-word {
  display: inline-flex;
  flex-direction: column;
  line-height: .88;
}

.footer-logo-word strong {
  color: #fff;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.footer-logo-word em {
  margin-top: 5px;
  color: var(--footer-accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .14em;
}

.sidebar-brand-small {
  text-align: center;
  max-width: 150px;
  margin: -3px auto 10px;
  color: rgba(226,238,255,.68);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

/* =====================================================
   LALO v2.9 — OuazGames-style homepage featured grid
   Clean dark top area: 1 big card + 4 small cards
===================================================== */
.lalo-home-main {
  padding-top: 14px;
}

.lalo-home-main .lalo-hero,
.lalo-home-main .quick-category-strip {
  display: none !important;
}

.lalo-top-showcase {
  background: #0d1b2a;
  border: 1px solid rgba(34, 211, 238, .08);
  border-radius: 0 0 8px 8px;
  padding: 10px 10px 18px;
  margin: -14px -18px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.lalo-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 12px;
}

.lalo-showcase-head h1 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.02em;
}

.lalo-showcase-head a {
  color: #11d9f5;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.lalo-feature-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.04fr) minmax(260px, .78fr) minmax(260px, .78fr);
  grid-template-rows: repeat(2, minmax(170px, 1fr));
  gap: 12px;
}

.lalo-feature-card {
  position: relative;
  display: block;
  min-height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #152234, #17283d);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  isolation: isolate;
}

.lalo-feature-card.is-large {
  grid-row: span 2;
  min-height: 360px;
}

.lalo-feature-card img,
.lalo-feature-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: transform .26s ease, filter .26s ease;
}

.lalo-feature-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  background: radial-gradient(circle at 30% 20%, #1db7d7, transparent 34%), linear-gradient(135deg, #182b48, #0a1626);
}

.lalo-feature-card:hover img,
.lalo-feature-card:hover .lalo-feature-placeholder {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.lalo-feature-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.78) 100%),
    linear-gradient(90deg, rgba(7,15,27,.22), rgba(7,15,27,0));
}

.lalo-feature-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #ffc233;
  color: #141217;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .02em;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.lalo-feature-category {
  position: absolute;
  left: 16px;
  bottom: 68px;
  z-index: 2;
  max-width: calc(100% - 86px);
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
  color: #ffffff;
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lalo-feature-card.is-large .lalo-feature-category {
  bottom: 82px;
  left: 20px;
}

.lalo-feature-content {
  position: absolute;
  left: 16px;
  right: 74px;
  bottom: 16px;
  z-index: 2;
}

.lalo-feature-card.is-large .lalo-feature-content {
  left: 20px;
  right: 82px;
  bottom: 22px;
}

.lalo-feature-content strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 950;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lalo-feature-card.is-large .lalo-feature-content strong {
  font-size: clamp(24px, 3vw, 34px);
}

.lalo-feature-rating {
  display: inline-flex;
  margin-top: 8px;
  color: #ffc233;
  font-size: 14px;
  font-weight: 950;
}

.lalo-feature-play {
  position: absolute;
  right: 16px;
  bottom: 22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #10c8e8;
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(16, 200, 232, .28);
  transition: transform .18s ease, background .18s ease;
}

.lalo-feature-card.is-large .lalo-feature-play {
  width: 56px;
  height: 56px;
  right: 22px;
  bottom: 24px;
}

.lalo-feature-card:hover .lalo-feature-play {
  transform: scale(1.08);
  background: #13dffb;
}

@media (max-width: 1180px) {
  .lalo-feature-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .lalo-feature-card.is-large {
    grid-column: 1 / -1;
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .lalo-top-showcase {
    margin: -10px -12px 20px;
    padding: 10px 10px 14px;
    border-radius: 0;
  }
  .lalo-feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .lalo-feature-card,
  .lalo-feature-card.is-large {
    min-height: 220px;
    grid-column: auto;
    grid-row: auto;
  }
  .lalo-feature-card.is-large .lalo-feature-content strong {
    font-size: 24px;
  }
}

/* =====================================================
   LALO v3.0 — Unified Light Color System
   Header, sidebar, homepage and footer now share one page color.
   Later this can become the base for Light/Dark mode.
===================================================== */
:root {
  --lalo-page-bg: #f5f6fb;
  --lalo-surface: #ffffff;
  --lalo-surface-soft: #eef1f8;
  --lalo-text: #1f2433;
  --lalo-muted: #6f7788;
  --lalo-border: #e2e6f0;
  --lalo-accent: #6c3ce1;
  --lalo-accent-2: #11c7e8;
  --lalo-shadow-soft: 0 10px 28px rgba(30, 38, 70, .07);
  --color-bg: var(--lalo-page-bg);
  --color-white: var(--lalo-surface);
  --color-text: var(--lalo-text);
  --color-muted: var(--lalo-muted);
  --color-border: var(--lalo-border);
  --color-primary: var(--lalo-accent);
  --sidebar-bg: var(--lalo-page-bg);
  --sidebar-text: var(--lalo-text);
  --sidebar-active: var(--lalo-accent);
}

html,
body,
.lalo-layout,
.lalo-content,
.site-main,
.lalo-home-main,
.game-single-main,
.page-container {
  background: var(--lalo-page-bg) !important;
}

.site-nav {
  background: var(--lalo-page-bg) !important;
  border-bottom: 1px solid var(--lalo-border) !important;
  box-shadow: none !important;
}

.nav-logo-premium,
.nav-logo,
.lalo-logo-word strong,
.sidebar-brand-name,
.footer-logo-word strong {
  color: var(--lalo-text) !important;
}

.lalo-logo-word em,
.sidebar-brand-name small,
.footer-logo-word em {
  color: var(--lalo-accent-2) !important;
}

.nav-search-wrap,
.sidebar-toggle {
  background: var(--lalo-surface) !important;
  border: 1px solid var(--lalo-border);
  box-shadow: 0 6px 18px rgba(30,38,70,.04);
}

.lalo-sidebar {
  background: var(--lalo-page-bg) !important;
  border-right: 1px solid var(--lalo-border) !important;
  box-shadow: none !important;
  scrollbar-color: var(--lalo-accent) var(--lalo-surface-soft);
}

.lalo-sidebar {
  background-image:
    linear-gradient(var(--lalo-page-bg) 30%, rgba(245,246,251,0)) top,
    linear-gradient(rgba(245,246,251,0), var(--lalo-page-bg) 70%) bottom,
    radial-gradient(farthest-side at 50% 0, rgba(108,60,225,.11), transparent) top,
    radial-gradient(farthest-side at 50% 100%, rgba(108,60,225,.11), transparent) bottom !important;
  background-repeat: no-repeat !important;
  background-size: 100% 32px, 100% 32px, 100% 14px, 100% 14px !important;
  background-attachment: local, local, scroll, scroll !important;
}

.sidebar-brand-card,
.sidebar-brand-small,
.sidebar-scroll-hint {
  background: var(--lalo-page-bg) !important;
  color: var(--lalo-muted) !important;
  border-color: var(--lalo-border) !important;
  box-shadow: none !important;
}

.sidebar-cat:hover {
  background: var(--lalo-surface) !important;
}

.sidebar-cat-icon {
  background: var(--lalo-surface) !important;
}

/* Featured top grid uses same page background. Only the game cards stay visual. */
.lalo-top-showcase {
  background: var(--lalo-page-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: -14px 0 24px !important;
  padding: 0 0 18px !important;
  border-radius: 0 !important;
}

.lalo-showcase-head h1 {
  color: var(--lalo-text) !important;
}

.lalo-showcase-head a {
  color: var(--lalo-accent) !important;
}

.lalo-feature-card,
.modern-game-card,
.seo-home-block,
.ad-placeholder,
.page-content-card,
.game-meta-bar,
.game-walkthrough-box,
.game-ad-slot {
  box-shadow: var(--lalo-shadow-soft) !important;
}

/* Footer now belongs to the same page color system */
.lalo-mega-footer {
  --footer-bg: var(--lalo-page-bg);
  --footer-bg-2: var(--lalo-page-bg);
  --footer-card: var(--lalo-surface);
  --footer-line: var(--lalo-border);
  --footer-soft-line: var(--lalo-border);
  --footer-text: var(--lalo-text);
  --footer-muted: var(--lalo-muted);
  --footer-accent: var(--lalo-accent);
  background: var(--lalo-page-bg) !important;
  color: var(--lalo-text) !important;
  border-top: 1px solid var(--lalo-border) !important;
  margin-top: 42px;
}

.lalo-mega-footer:before,
.footer-main:before {
  display: none !important;
}

.footer-experience,
.footer-main,
.footer-bottom-bar {
  background: var(--lalo-page-bg) !important;
}

.footer-main {
  border-top: 1px solid var(--lalo-border) !important;
}

.footer-panel:not(:last-child):after {
  background: linear-gradient(180deg, transparent, var(--lalo-border), transparent) !important;
}

.footer-panel h2,
.footer-link-column h3,
.footer-popular-column h3,
.footer-feature-card strong,
.footer-check-list strong,
.footer-popular-game strong,
.footer-faq-list summary {
  color: var(--lalo-text) !important;
}

.footer-feature-card,
.footer-faq-list details,
.footer-socials a,
.footer-back-top,
.footer-logo-mark {
  background: var(--lalo-surface) !important;
  border-color: var(--lalo-border) !important;
  box-shadow: none !important;
}

.footer-feature-card:hover,
.footer-faq-list details[open],
.footer-socials a:hover,
.footer-back-top:hover {
  background: var(--lalo-surface) !important;
  border-color: rgba(108,60,225,.25) !important;
}

.footer-feature-card p,
.footer-lead,
.footer-check-list li,
.footer-faq-list details p,
.footer-brand-block p,
.footer-link-column a,
.footer-popular-game small,
.footer-muted,
.footer-bottom-bar {
  color: var(--lalo-muted) !important;
}

.footer-bottom-bar {
  border-top: 1px solid var(--lalo-border) !important;
}

.footer-bottom-bar a:hover,
.footer-link-column a:hover,
.footer-popular-game:hover strong {
  color: var(--lalo-accent) !important;
}

.footer-panel h2:before,
.footer-link-column h3:before,
.footer-popular-column h3:before,
.footer-link-column h3:after,
.footer-popular-column h3:after {
  background: var(--lalo-accent) !important;
  box-shadow: none !important;
}

@media (max-width: 720px) {
  .lalo-top-showcase {
    margin: -10px 0 20px !important;
  }
}

/* =========================================================
   v3.2 — Wider single game page layout
========================================================= */
.lalo-game-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px clamp(18px, 2.4vw, 44px);
}

.lalo-game-page.game-single-main {
  max-width: none;
}

.lalo-game-layout {
  display: grid;
  grid-template-columns: minmax(720px, 1fr) clamp(250px, 18vw, 330px);
  gap: clamp(22px, 2vw, 36px);
  align-items: start;
  width: 100%;
}

.lalo-game-stage-card {
  background: var(--lalo-surface, #fff);
  border: 1px solid var(--lalo-border, #e2e6f0);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--lalo-shadow-soft, 0 10px 28px rgba(30, 38, 70, .07));
}

.lalo-game-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(560px, 62vh, 760px);
  background: #111827;
  overflow: hidden;
}

.lalo-game-embed-wrap,
.lalo-game-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lalo-play-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  color: #fff;
  background: radial-gradient(circle at 50% 30%, rgba(61, 68, 104, .54), rgba(10, 15, 32, .94));
  display: grid;
  place-items: center;
  z-index: 3;
  transition: opacity .25s ease, visibility .25s ease;
}
.lalo-play-cover.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.lalo-cover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.15);
  transform: scale(1.12);
  opacity: .28;
}
.lalo-play-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,24,.35), rgba(6,10,24,.92));
}
.lalo-cover-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.lalo-cover-icon {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  border: 3px solid rgba(255,255,255,.86);
}
.lalo-cover-content strong {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.lalo-cover-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: 15px;
}
.lalo-cover-meta span:first-child { color: #ffd15c; }
.lalo-cover-play {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 210px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #18c7df, #08a9d2);
  box-shadow: 0 14px 34px rgba(8, 169, 210, .38);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
}
.lalo-cover-chevron {
  margin-top: 22px;
  font-size: 26px;
  line-height: 1;
  color: rgba(255,255,255,.55);
}

.lalo-game-toolbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 16px;
  background: var(--lalo-surface, #fff);
  border-top: 1px solid var(--lalo-border, #e2e6f0);
}
.lalo-toolbar-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.lalo-toolbar-info img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
.lalo-toolbar-info h1 {
  font-size: 15px;
  font-weight: 900;
  margin: 0;
  max-width: 420px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lalo-toolbar-info span {
  color: var(--lalo-muted, #6f7788);
  font-size: 12px;
}
.lalo-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lalo-toolbar-actions button {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #98a1b3;
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: all .18s ease;
}
.lalo-toolbar-actions button:hover {
  background: var(--lalo-surface-soft, #eef1f8);
  color: var(--lalo-text, #1f2433);
}
.lalo-toolbar-actions .warn {
  background: #fff2f2;
  border-color: #ffd2d2;
  color: #f05252;
}

.lalo-similar-rail {
  background: var(--lalo-surface, #fff);
  border: 1px solid var(--lalo-border, #e2e6f0);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--lalo-shadow-soft, 0 10px 28px rgba(30, 38, 70, .07));
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.lalo-similar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lalo-similar-card {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--lalo-surface-soft, #eef1f8);
  box-shadow: 0 4px 14px rgba(20, 29, 55, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.lalo-similar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(20, 29, 55, .14);
}
.lalo-similar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lalo-similar-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 30px;
}

.lalo-game-details-card {
  margin-top: 18px;
  background: var(--lalo-surface, #fff);
  border: 1px solid var(--lalo-border, #e2e6f0);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--lalo-shadow-soft, 0 10px 28px rgba(30, 38, 70, .07));
}

@media (max-width: 1050px) {
  .lalo-game-layout { grid-template-columns: 1fr; }
  .lalo-similar-rail {
    position: static;
    max-height: none;
  }
  .lalo-similar-grid { grid-template-columns: repeat(6, 1fr); }
  .lalo-game-stage { min-height: auto; }
}

@media (max-width: 760px) {
  .lalo-game-page { padding: 14px; }
  .lalo-game-toolbar { align-items: flex-start; flex-direction: column; }
  .lalo-toolbar-actions { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .lalo-similar-grid { grid-template-columns: repeat(3, 1fr); }
  .lalo-cover-play { min-width: 178px; height: 48px; font-size: 15px; }
  .lalo-cover-icon { width: 70px; height: 70px; }
}

/* =========================================================
   v3.3 — Professional wide 12-column single game page
   Fixes the compressed / centered feeling on game pages.
========================================================= */
body.single-game,
body.single-post {
  overflow-x: hidden;
}

body.single-game .site-nav,
body.single-post .site-nav {
  width: 100%;
  max-width: none;
}

body.single-game .lalo-layout,
body.single-post .lalo-layout {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
}

body.single-game .lalo-content,
body.single-post .lalo-content {
  width: calc(100vw - var(--sidebar-width));
  max-width: none !important;
}

body.single-game .site-main.lalo-game-page,
body.single-post .site-main.lalo-game-page {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(18px, 2vw, 34px) clamp(20px, 2.6vw, 48px) 36px !important;
}

body.single-game .lalo-game-layout,
body.single-post .lalo-game-layout {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 18vw, 360px);
  gap: clamp(24px, 2vw, 38px);
  align-items: start;
}

body.single-game .lalo-game-stage-card,
body.single-post .lalo-game-stage-card {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
}

body.single-game .lalo-game-stage,
body.single-post .lalo-game-stage {
  width: 100%;
  min-height: min(72vh, 780px);
  aspect-ratio: 16 / 9;
  border-radius: 22px 22px 0 0;
}

body.single-game .lalo-cover-content,
body.single-post .lalo-cover-content {
  max-width: 760px;
  padding: 20px;
}

body.single-game .lalo-cover-icon,
body.single-post .lalo-cover-icon {
  width: clamp(76px, 5vw, 104px);
  height: clamp(76px, 5vw, 104px);
}

body.single-game .lalo-cover-content strong,
body.single-post .lalo-cover-content strong {
  font-size: clamp(28px, 3.1vw, 48px);
  max-width: 900px;
}

body.single-game .lalo-cover-play,
body.single-post .lalo-cover-play {
  min-width: 230px;
  height: 58px;
  font-size: 18px;
}

body.single-game .lalo-game-toolbar,
body.single-post .lalo-game-toolbar {
  min-height: 70px;
  padding: 12px 18px;
}

body.single-game .lalo-toolbar-actions,
body.single-post .lalo-toolbar-actions {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.single-game .lalo-toolbar-actions button,
body.single-post .lalo-toolbar-actions button {
  background: var(--lalo-surface-soft, #eef1f8);
  border: 1px solid var(--lalo-border, #e2e6f0);
  color: var(--lalo-muted, #6f7788);
}

body.single-game .lalo-toolbar-actions button:hover,
body.single-post .lalo-toolbar-actions button:hover {
  transform: translateY(-2px);
  background: var(--lalo-surface, #fff);
  color: var(--lalo-accent, #6c3ce1);
  box-shadow: 0 8px 18px rgba(30, 38, 70, .08);
}

body.single-game .lalo-similar-rail,
body.single-post .lalo-similar-rail {
  width: 100%;
  border-radius: 22px;
  padding: 16px;
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 106px);
}

body.single-game .lalo-similar-rail:before,
body.single-post .lalo-similar-rail:before {
  content: "Similar Games";
  display: block;
  color: var(--lalo-text, #1f2433);
  font-size: 15px;
  font-weight: 900;
  margin: 2px 2px 14px;
}

body.single-game .lalo-similar-grid,
body.single-post .lalo-similar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.single-game .lalo-similar-card,
body.single-post .lalo-similar-card {
  border-radius: 16px;
}

body.single-game .lalo-game-details-card,
body.single-post .lalo-game-details-card,
body.single-game .related-games-section,
body.single-post .related-games-section,
body.single-game .game-ad-slot,
body.single-post .game-ad-slot {
  max-width: none !important;
  margin-left: 0;
  margin-right: clamp(304px, calc(18vw + 38px), 398px);
}

body.single-game .related-games-section .games-grid,
body.single-post .related-games-section .games-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}

@media (min-width: 1700px) {
  body.single-game .lalo-game-layout,
  body.single-post .lalo-game-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  body.single-game .lalo-game-stage,
  body.single-post .lalo-game-stage {
    min-height: min(74vh, 840px);
  }
  body.single-game .lalo-game-details-card,
  body.single-post .lalo-game-details-card,
  body.single-game .related-games-section,
  body.single-post .related-games-section,
  body.single-game .game-ad-slot,
  body.single-post .game-ad-slot {
    margin-right: 418px;
  }
}

@media (max-width: 1180px) {
  body.single-game .lalo-content,
  body.single-post .lalo-content {
    width: 100%;
  }
  body.single-game .lalo-game-layout,
  body.single-post .lalo-game-layout {
    grid-template-columns: 1fr;
  }
  body.single-game .lalo-similar-rail,
  body.single-post .lalo-similar-rail {
    position: static;
    max-height: none;
  }
  body.single-game .lalo-similar-grid,
  body.single-post .lalo-similar-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  body.single-game .lalo-game-details-card,
  body.single-post .lalo-game-details-card,
  body.single-game .related-games-section,
  body.single-post .related-games-section,
  body.single-game .game-ad-slot,
  body.single-post .game-ad-slot {
    margin-right: 0;
  }
}

@media (max-width: 760px) {
  body.single-game .site-main.lalo-game-page,
  body.single-post .site-main.lalo-game-page {
    padding: 12px !important;
  }
  body.single-game .lalo-game-stage,
  body.single-post .lalo-game-stage {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }
  body.single-game .lalo-cover-content strong,
  body.single-post .lalo-cover-content strong {
    font-size: 22px;
  }
  body.single-game .lalo-similar-grid,
  body.single-post .lalo-similar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* =========================================================
   v3.4 — Game page full platform layout
   Makes the game page feel like a real gaming site:
   full width, dark player area, narrow icon sidebar, right game rail.
========================================================= */
body:has(.lalo-game-page),
body.single-game,
body.single-post {
  --game-bg: #071422;
  --game-panel: #0f2337;
  --game-panel-2: #132b43;
  --game-border: rgba(75, 135, 180, .38);
  --game-text: #f8fbff;
  --game-muted: #a9b8c8;
  --game-cyan: #12c8e8;
  background: var(--game-bg) !important;
}

body:has(.lalo-game-page) .site-nav,
body.single-game .site-nav,
body.single-post .site-nav {
  height: 68px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 28px !important;
  background: var(--game-panel) !important;
  border-bottom: 1px solid var(--game-border) !important;
  box-shadow: none !important;
  position: sticky;
  top: 0;
}

body:has(.lalo-game-page) .nav-logo-premium,
body.single-game .nav-logo-premium,
body.single-post .nav-logo-premium { min-width: 220px; }

body:has(.lalo-game-page) .lalo-logo-word strong,
body:has(.lalo-game-page) .nav-logo,
body.single-game .lalo-logo-word strong,
body.single-post .lalo-logo-word strong { color: #fff !important; }

body:has(.lalo-game-page) .nav-search-wrap,
body.single-game .nav-search-wrap,
body.single-post .nav-search-wrap {
  width: min(520px, 42vw) !important;
  height: 40px;
  margin: 0 auto !important;
  background: #0d2034 !important;
  border: 2px solid rgba(87, 132, 170, .45) !important;
  box-shadow: none !important;
  border-radius: 18px !important;
}
body:has(.lalo-game-page) .nav-search-wrap input,
body.single-game .nav-search-wrap input,
body.single-post .nav-search-wrap input { color: #d9e7f4 !important; }

body:has(.lalo-game-page) .lalo-layout,
body.single-game .lalo-layout,
body.single-post .lalo-layout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--game-bg) !important;
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr) !important;
}

body:has(.lalo-game-page) .lalo-content,
body.single-game .lalo-content,
body.single-post .lalo-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--game-bg) !important;
  min-width: 0;
}

body:has(.lalo-game-page) .lalo-sidebar,
body.single-game .lalo-sidebar,
body.single-post .lalo-sidebar {
  position: sticky !important;
  top: 68px !important;
  left: 0 !important;
  width: 66px !important;
  height: calc(100vh - 68px) !important;
  min-width: 66px !important;
  padding: 12px 8px !important;
  background: var(--game-panel) !important;
  border-right: 1px solid var(--game-border) !important;
  overflow-y: auto !important;
  box-shadow: none !important;
  background-image: none !important;
}

body:has(.lalo-game-page) .sidebar-brand-card,
body:has(.lalo-game-page) .sidebar-brand-small,
body:has(.lalo-game-page) .sidebar-scroll-hint,
body.single-game .sidebar-brand-card,
body.single-game .sidebar-brand-small,
body.single-game .sidebar-scroll-hint,
body.single-post .sidebar-brand-card,
body.single-post .sidebar-brand-small,
body.single-post .sidebar-scroll-hint { display: none !important; }

body:has(.lalo-game-page) .sidebar-cat,
body.single-game .sidebar-cat,
body.single-post .sidebar-cat {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 auto 9px !important;
  border-radius: 12px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:has(.lalo-game-page) .sidebar-cat-text,
body.single-game .sidebar-cat-text,
body.single-post .sidebar-cat-text { display: none !important; }
body:has(.lalo-game-page) .sidebar-cat-icon,
body.single-game .sidebar-cat-icon,
body.single-post .sidebar-cat-icon {
  width: 30px !important;
  height: 30px !important;
  font-size: 22px !important;
  background: transparent !important;
  box-shadow: none !important;
}
body:has(.lalo-game-page) .sidebar-cat.active,
body:has(.lalo-game-page) .sidebar-cat:hover,
body.single-game .sidebar-cat.active,
body.single-game .sidebar-cat:hover,
body.single-post .sidebar-cat.active,
body.single-post .sidebar-cat:hover {
  background: rgba(18, 200, 232, .14) !important;
}

body:has(.lalo-game-page) .site-main.lalo-game-page,
body.single-game .site-main.lalo-game-page,
body.single-post .site-main.lalo-game-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px 28px 42px !important;
  background: var(--game-bg) !important;
  color: var(--game-text) !important;
}

.lalo-game-top-ad {
  height: 30px;
  width: min(100%, 960px);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.04);
  margin: 4px 0 26px;
  border-radius: 0;
}

body:has(.lalo-game-page) .lalo-game-layout,
body.single-game .lalo-game-layout,
body.single-post .lalo-game-layout {
  display: grid !important;
  grid-template-columns: minmax(620px, 1fr) 320px !important;
  gap: 32px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body:has(.lalo-game-page) .lalo-game-stage-card,
body.single-game .lalo-game-stage-card,
body.single-post .lalo-game-stage-card {
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

body:has(.lalo-game-page) .lalo-game-stage,
body.single-game .lalo-game-stage,
body.single-post .lalo-game-stage {
  width: 100% !important;
  min-height: min(66vh, 640px) !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 16px 16px 0 0 !important;
  border: 1px solid var(--game-border) !important;
  background: #081525 !important;
  overflow: hidden !important;
}

body:has(.lalo-game-page) .lalo-game-embed-wrap,
body.single-game .lalo-game-embed-wrap,
body.single-post .lalo-game-embed-wrap,
body:has(.lalo-game-page) .lalo-game-embed-wrap iframe,
body.single-game .lalo-game-embed-wrap iframe,
body.single-post .lalo-game-embed-wrap iframe {
  width: 100% !important;
  height: 100% !important;
}

body:has(.lalo-game-page) .lalo-cover-bg,
body.single-game .lalo-cover-bg,
body.single-post .lalo-cover-bg { filter: blur(16px) brightness(.55) saturate(1.15) !important; transform: scale(1.06); }

body:has(.lalo-game-page) .lalo-cover-content strong,
body.single-game .lalo-cover-content strong,
body.single-post .lalo-cover-content strong {
  color: #fff !important;
  font-size: clamp(26px, 2.2vw, 38px) !important;
  line-height: 1.14 !important;
}

body:has(.lalo-game-page) .lalo-cover-play,
body.single-game .lalo-cover-play,
body.single-post .lalo-cover-play {
  background: var(--game-cyan) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 34px rgba(18, 200, 232, .30) !important;
}

body:has(.lalo-game-page) .lalo-game-toolbar,
body.single-game .lalo-game-toolbar,
body.single-post .lalo-game-toolbar {
  background: #fff !important;
  color: #172033 !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-top: 0 !important;
  border-radius: 0 0 16px 16px !important;
}

body:has(.lalo-game-page) .lalo-similar-rail,
body.single-game .lalo-similar-rail,
body.single-post .lalo-similar-rail {
  width: 100% !important;
  position: sticky !important;
  top: 88px !important;
  max-height: calc(100vh - 108px) !important;
  overflow-y: auto !important;
  padding: 16px !important;
  background: var(--game-panel) !important;
  border: 1px solid var(--game-border) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}
body:has(.lalo-game-page) .lalo-similar-rail:before,
body.single-game .lalo-similar-rail:before,
body.single-post .lalo-similar-rail:before {
  color: #fff !important;
  font-size: 0 !important;
  margin: 0 0 14px !important;
  height: 36px;
  border-radius: 10px;
  background: rgba(18, 200, 232, .10);
  border: 1px solid rgba(18, 200, 232, .24);
}
body:has(.lalo-game-page) .lalo-similar-grid,
body.single-game .lalo-similar-grid,
body.single-post .lalo-similar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
body:has(.lalo-game-page) .lalo-similar-card,
body.single-game .lalo-similar-card,
body.single-post .lalo-similar-card {
  aspect-ratio: 1 / 1 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #0b1d30 !important;
  border: 0 !important;
}

body:has(.lalo-game-page) .lalo-game-details-card,
body:has(.lalo-game-page) .related-games-section,
body:has(.lalo-game-page) .game-ad-slot,
body.single-game .lalo-game-details-card,
body.single-game .related-games-section,
body.single-game .game-ad-slot,
body.single-post .lalo-game-details-card,
body.single-post .related-games-section,
body.single-post .game-ad-slot {
  margin: 26px 352px 0 0 !important;
  max-width: none !important;
  background: var(--game-panel) !important;
  color: var(--game-text) !important;
  border: 1px solid var(--game-border) !important;
}
body:has(.lalo-game-page) .game-breadcrumb,
body:has(.lalo-game-page) .game-meta-desc,
body.single-game .game-breadcrumb,
body.single-game .game-meta-desc,
body.single-post .game-breadcrumb,
body.single-post .game-meta-desc { color: var(--game-muted) !important; }

@media (max-width: 1180px) {
  body:has(.lalo-game-page) .lalo-game-layout,
  body.single-game .lalo-game-layout,
  body.single-post .lalo-game-layout { grid-template-columns: 1fr !important; }
  body:has(.lalo-game-page) .lalo-similar-rail,
  body.single-game .lalo-similar-rail,
  body.single-post .lalo-similar-rail { position: static !important; max-height: none !important; }
  body:has(.lalo-game-page) .lalo-similar-grid,
  body.single-game .lalo-similar-grid,
  body.single-post .lalo-similar-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  body:has(.lalo-game-page) .lalo-game-details-card,
  body:has(.lalo-game-page) .related-games-section,
  body:has(.lalo-game-page) .game-ad-slot,
  body.single-game .lalo-game-details-card,
  body.single-game .related-games-section,
  body.single-game .game-ad-slot,
  body.single-post .lalo-game-details-card,
  body.single-post .related-games-section,
  body.single-post .game-ad-slot { margin-right: 0 !important; }
}

@media (max-width: 760px) {
  body:has(.lalo-game-page) .lalo-layout,
  body.single-game .lalo-layout,
  body.single-post .lalo-layout { grid-template-columns: 1fr !important; }
  body:has(.lalo-game-page) .lalo-sidebar,
  body.single-game .lalo-sidebar,
  body.single-post .lalo-sidebar { display: none !important; }
  body:has(.lalo-game-page) .site-main.lalo-game-page,
  body.single-game .site-main.lalo-game-page,
  body.single-post .site-main.lalo-game-page { padding: 12px !important; }
  body:has(.lalo-game-page) .lalo-similar-grid,
  body.single-game .lalo-similar-grid,
  body.single-post .lalo-similar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}


/* =========================================================
   v3.5 — TRUE FULL-WIDTH GAME PAGE FIX
   Removes the boxed/centered feeling on single game pages.
   The header, sidebar, player, and similar-games rail now use
   the whole browser width like a real gaming platform.
========================================================= */
body.gamezone-game-platform {
  --game-bg: #071422;
  --game-panel: #0f2337;
  --game-panel-2: #132b43;
  --game-border: rgba(75, 135, 180, .38);
  --game-text: #f8fbff;
  --game-muted: #a9b8c8;
  --game-cyan: #12c8e8;
  background: var(--game-bg) !important;
  overflow-x: hidden;
}

html body.gamezone-game-platform,
body.gamezone-game-platform #page,
body.gamezone-game-platform .site,
body.gamezone-game-platform .site-content,
body.gamezone-game-platform .content-area,
body.gamezone-game-platform .container,
body.gamezone-game-platform .wrap,
body.gamezone-game-platform .lalo-layout,
body.gamezone-game-platform .lalo-content,
body.gamezone-game-platform .site-main,
body.gamezone-game-platform .game-single-main,
body.gamezone-game-platform .lalo-game-page {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.gamezone-game-platform .site-nav {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 32px !important;
  left: 0 !important;
  right: 0 !important;
  background: var(--game-panel) !important;
  border-bottom: 1px solid var(--game-border) !important;
}

body.gamezone-game-platform .lalo-layout {
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr) !important;
  min-height: calc(100vh - 68px) !important;
  background: var(--game-bg) !important;
  padding: 0 !important;
}

body.gamezone-game-platform .lalo-sidebar {
  grid-column: 1 !important;
  width: 66px !important;
  min-width: 66px !important;
  max-width: 66px !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

body.gamezone-game-platform .lalo-content {
  grid-column: 2 !important;
  padding: 0 !important;
  background: var(--game-bg) !important;
}

body.gamezone-game-platform .site-main.lalo-game-page {
  width: 100% !important;
  max-width: none !important;
  padding: 22px 34px 46px !important;
  background: var(--game-bg) !important;
  color: var(--game-text) !important;
}

body.gamezone-game-platform .lalo-game-top-ad {
  width: min(100%, 980px) !important;
  margin: 0 0 26px !important;
}

body.gamezone-game-platform .lalo-game-layout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 22vw, 360px) !important;
  gap: 32px !important;
  align-items: start !important;
}

body.gamezone-game-platform .lalo-game-stage-card {
  width: 100% !important;
  min-width: 0 !important;
}

body.gamezone-game-platform .lalo-game-stage {
  width: 100% !important;
  min-height: clamp(520px, 68vh, 760px) !important;
  aspect-ratio: auto !important;
}

body.gamezone-game-platform .lalo-similar-rail {
  width: 100% !important;
  min-width: 0 !important;
  position: sticky !important;
  top: 90px !important;
  max-height: calc(100vh - 112px) !important;
}

body.gamezone-game-platform .lalo-similar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.gamezone-game-platform .lalo-game-details-card,
body.gamezone-game-platform .related-games-section,
body.gamezone-game-platform .game-ad-slot {
  width: calc(100% - clamp(292px, 22vw, 392px)) !important;
  max-width: none !important;
  margin: 28px 0 0 !important;
}

@media (min-width: 1700px) {
  body.gamezone-game-platform .lalo-game-layout {
    grid-template-columns: minmax(0, 1fr) 380px !important;
    gap: 36px !important;
  }
  body.gamezone-game-platform .lalo-game-stage {
    min-height: 760px !important;
  }
}

@media (max-width: 1180px) {
  body.gamezone-game-platform .lalo-game-layout {
    grid-template-columns: 1fr !important;
  }
  body.gamezone-game-platform .lalo-similar-rail {
    position: static !important;
    max-height: none !important;
  }
  body.gamezone-game-platform .lalo-game-details-card,
  body.gamezone-game-platform .related-games-section,
  body.gamezone-game-platform .game-ad-slot {
    width: 100% !important;
  }
}

@media (max-width: 760px) {
  body.gamezone-game-platform .lalo-layout {
    grid-template-columns: 1fr !important;
  }
  body.gamezone-game-platform .lalo-sidebar {
    display: none !important;
  }
  body.gamezone-game-platform .site-main.lalo-game-page {
    padding: 12px !important;
  }
  body.gamezone-game-platform .lalo-game-stage {
    min-height: 420px !important;
  }
}

/* =========================================================
   v3.6 — Light premium game page
   Same color direction as homepage, with dark player only.
========================================================= */
body.gamezone-game-platform {
  --game-bg: var(--lalo-page-bg, #f5f6fb);
  --game-panel: var(--lalo-surface, #ffffff);
  --game-panel-2: var(--lalo-surface-soft, #eef1f8);
  --game-border: var(--lalo-border, #e2e6f0);
  --game-text: var(--lalo-text, #1f2433);
  --game-muted: var(--lalo-muted, #6f7788);
  --game-cyan: #2f86ff;
  background: var(--lalo-page-bg, #f5f6fb) !important;
  color: var(--lalo-text, #1f2433) !important;
}

body.gamezone-game-platform .site-nav {
  background: rgba(255,255,255,.82) !important;
  border-bottom: 1px solid var(--lalo-border, #e2e6f0) !important;
  box-shadow: 0 8px 24px rgba(30,38,70,.05) !important;
  backdrop-filter: blur(14px);
}

body.gamezone-game-platform .nav-search-wrap,
body.gamezone-game-platform .search-field,
body.gamezone-game-platform .search-submit {
  background: #fff !important;
  color: var(--lalo-text, #1f2433) !important;
  border-color: var(--lalo-border, #e2e6f0) !important;
}

body.gamezone-game-platform .lalo-layout,
body.gamezone-game-platform .lalo-content,
body.gamezone-game-platform .site-main.lalo-game-page {
  background: var(--lalo-page-bg, #f5f6fb) !important;
  color: var(--lalo-text, #1f2433) !important;
}

body.gamezone-game-platform .lalo-sidebar {
  background: rgba(255,255,255,.58) !important;
  border-right: 1px solid var(--lalo-border, #e2e6f0) !important;
  box-shadow: 10px 0 30px rgba(30,38,70,.035) !important;
}

body.gamezone-game-platform .sidebar-cat,
body.gamezone-game-platform .sidebar-brand-card,
body.gamezone-game-platform .sidebar-brand-small {
  background: transparent !important;
  color: var(--lalo-text, #1f2433) !important;
}

body.gamezone-game-platform .sidebar-cat.active,
body.gamezone-game-platform .sidebar-cat:hover {
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(30,38,70,.08) !important;
}

body.gamezone-game-platform .site-main.lalo-game-page {
  padding: 22px clamp(22px, 2.4vw, 44px) 48px !important;
}

body.gamezone-game-platform .lalo-game-top-ad {
  height: 48px !important;
  max-width: 960px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(90deg, rgba(255,255,255,.34), rgba(255,255,255,.9), rgba(255,255,255,.34)) !important;
  box-shadow: inset 0 0 0 1px rgba(226,230,240,.72) !important;
  position: relative;
}
body.gamezone-game-platform .lalo-game-top-ad:after {
  content: "ADVERTISEMENT";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8b93a5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

body.gamezone-game-platform .lalo-game-layout {
  grid-template-columns: minmax(0, 1fr) clamp(300px, 23vw, 400px) !important;
  gap: clamp(28px, 2.4vw, 46px) !important;
}

body.gamezone-game-platform .lalo-game-stage-card,
body.gamezone-game-platform .lalo-similar-rail,
body.gamezone-game-platform .lalo-game-details-card,
body.gamezone-game-platform .related-games-section,
body.gamezone-game-platform .game-ad-slot {
  background: #fff !important;
  color: var(--lalo-text, #1f2433) !important;
  border: 1px solid var(--lalo-border, #e2e6f0) !important;
  box-shadow: 0 14px 38px rgba(30,38,70,.07) !important;
}

body.gamezone-game-platform .lalo-game-stage-card {
  border-radius: 20px !important;
}

body.gamezone-game-platform .lalo-game-stage {
  min-height: clamp(520px, 66vh, 740px) !important;
  border-radius: 20px 20px 0 0 !important;
  background: #111827 !important;
}

body.gamezone-game-platform .lalo-play-cover {
  background: radial-gradient(circle at 50% 32%, rgba(42, 63, 101, .36), rgba(15, 28, 48, .92)) !important;
}

body.gamezone-game-platform .lalo-cover-bg {
  opacity: .34 !important;
  filter: blur(12px) saturate(1.1) brightness(.9) !important;
}

body.gamezone-game-platform .lalo-cover-play {
  background: linear-gradient(135deg, #2f86ff, #16c8e7) !important;
  box-shadow: 0 16px 34px rgba(47,134,255,.28) !important;
}

body.gamezone-game-platform .lalo-game-toolbar {
  background: #fff !important;
  color: var(--lalo-text, #1f2433) !important;
  border-top: 1px solid var(--lalo-border, #e2e6f0) !important;
  min-height: 88px !important;
  padding: 14px 18px !important;
}

body.gamezone-game-platform .lalo-toolbar-info h1 {
  color: var(--lalo-text, #1f2433) !important;
  font-size: 17px !important;
}
body.gamezone-game-platform .lalo-toolbar-info span {
  color: var(--lalo-muted, #6f7788) !important;
}
body.gamezone-game-platform .lalo-toolbar-info img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 13px !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button {
  width: 52px !important;
  height: 52px !important;
  border-radius: 15px !important;
  background: #f4f6fb !important;
  border: 1px solid #e2e7f2 !important;
  color: #647084 !important;
  font-size: 18px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  line-height: 1 !important;
}
body.gamezone-game-platform .lalo-toolbar-actions button::after {
  content: attr(title);
  font-size: 10px;
  font-weight: 800;
  color: #647084;
  line-height: 1;
}
body.gamezone-game-platform .lalo-toolbar-actions button:hover {
  background: #fff !important;
  color: #2f86ff !important;
  border-color: rgba(47,134,255,.25) !important;
  box-shadow: 0 10px 22px rgba(30,38,70,.08) !important;
}
body.gamezone-game-platform .lalo-toolbar-actions button:hover::after { color: #2f86ff; }

body.gamezone-game-platform .lalo-similar-rail {
  border-radius: 18px !important;
  padding: 18px !important;
  top: 96px !important;
}
body.gamezone-game-platform .lalo-similar-rail:before { display: none !important; }

.lalo-similar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.lalo-similar-head h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.1;
  color: var(--lalo-text, #1f2433);
}
.lalo-similar-head a {
  color: #2f86ff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

body.gamezone-game-platform .lalo-similar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
body.gamezone-game-platform .lalo-similar-card {
  aspect-ratio: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 14px !important;
  color: var(--lalo-text, #1f2433) !important;
  text-decoration: none !important;
}
body.gamezone-game-platform .lalo-similar-media {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--lalo-surface-soft, #eef1f8);
  box-shadow: 0 6px 16px rgba(30,38,70,.08);
}
body.gamezone-game-platform .lalo-similar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
body.gamezone-game-platform .lalo-similar-card:hover img { transform: scale(1.04); }
body.gamezone-game-platform .lalo-similar-title {
  display: block;
  margin-top: 9px;
  color: var(--lalo-text, #1f2433);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.gamezone-game-platform .lalo-similar-rating {
  display: block;
  margin-top: 4px;
  color: #f6a500;
  font-size: 12px;
  font-weight: 900;
}
.lalo-more-like {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin-top: 16px;
  border: 1px solid var(--lalo-border, #e2e6f0);
  border-radius: 12px;
  background: #fff;
  color: #2f86ff;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(30,38,70,.04);
}

body.gamezone-game-platform .lalo-game-details-card {
  border-radius: 18px !important;
  padding: 0 !important;
  overflow: hidden;
}
body.gamezone-game-platform .game-breadcrumb { display: none !important; }
body.gamezone-game-platform .game-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 18px 0;
}
body.gamezone-game-platform .game-meta-desc {
  color: var(--lalo-muted, #6f7788) !important;
  padding: 16px 18px 20px;
}
body.gamezone-game-platform .game-tag {
  background: #f5f7fc !important;
  border: 1px solid var(--lalo-border, #e2e6f0) !important;
  color: #647084 !important;
  border-radius: 999px !important;
  padding: 6px 12px !important;
  font-weight: 800 !important;
}

body.gamezone-game-platform .related-games-section h2,
body.gamezone-game-platform .section-title {
  color: var(--lalo-text, #1f2433) !important;
}

@media (max-width: 1180px) {
  body.gamezone-game-platform .lalo-similar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  body.gamezone-game-platform .site-nav { padding: 0 12px !important; }
  body.gamezone-game-platform .lalo-toolbar-actions button {
    width: 48px !important;
    height: 48px !important;
  }
  body.gamezone-game-platform .lalo-similar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* v3.7 Game Details + Comments section */
.lalo-game-info-card {
  width: min(100%, 1120px);
  margin: 22px auto 0;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
  padding: 26px;
  color: var(--text-main, #111827);
}
body.gamezone-game-platform .lalo-game-info-card,
body.single-game .lalo-game-info-card,
body.single-post .lalo-game-info-card {
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(15, 23, 42, .08) !important;
  color: #111827 !important;
}
.lalo-info-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.lalo-info-title h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 900;
  color: #101827;
}
.lalo-info-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #2b7cff;
  color: #2b7cff;
  font-size: 14px;
  font-weight: 900;
}
.lalo-game-specs-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
}
.lalo-game-spec-box {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  gap: 0 10px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}
.lalo-game-spec-box .spec-icon {
  grid-row: span 2;
  color: #1778ff;
  font-size: 22px;
  line-height: 1;
}
.lalo-game-spec-box .spec-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #667085;
  font-weight: 800;
}
.lalo-game-spec-box strong {
  display: block;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}
.lalo-comments-card { margin-bottom: 28px; }
.lalo-comments-card .lalo-info-title {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.lalo-comment-title {
  margin: 20px 0 6px;
  font-size: 22px;
  color: #101827;
  font-weight: 900;
}
.lalo-comment-note {
  margin: 0 0 20px;
  color: #667085;
  font-weight: 700;
}
.lalo-comment-note span,
.lalo-comment-form label span { color: #ff3b57; }
.lalo-comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.lalo-comment-form p { margin: 0; }
.lalo-comment-form label {
  display: block;
  margin-bottom: 8px;
  color: #1f2a44;
  font-weight: 900;
  font-size: 14px;
}
.lalo-comment-form input,
.lalo-comment-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  border-radius: 13px;
  padding: 14px 15px;
  color: #111827;
  outline: none;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
}
.lalo-comment-form input:focus,
.lalo-comment-form textarea:focus {
  border-color: #2b7cff;
  box-shadow: 0 0 0 4px rgba(43,124,255,.10);
}
.lalo-comment-form .comment-form-comment,
.lalo-comment-form .form-submit,
.lalo-comment-form .logged-in-as {
  grid-column: 1 / -1;
}
.lalo-comment-form textarea {
  min-height: 145px;
  resize: vertical;
}
.lalo-comment-submit {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #1677ff, #6d6bff);
  color: #fff;
  font-weight: 900;
  padding: 13px 20px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(43,124,255,.22);
}
.lalo-comment-submit:hover { transform: translateY(-1px); }
.lalo-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.lalo-comment-list li {
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 10px;
}
@media (max-width: 1100px) {
  .lalo-game-specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .lalo-game-info-card { padding: 18px; border-radius: 16px; }
  .lalo-game-specs-grid { grid-template-columns: 1fr; }
  .lalo-comment-form { grid-template-columns: 1fr; }
}

/* v3.8 - true click-to-load game iframe */
.lalo-game-embed-wrap {
  position: relative;
  background: #0f172a;
}
.lalo-game-not-loaded {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: transparent;
}
.lalo-play-cover {
  cursor: pointer;
}
.lalo-play-cover .lalo-cover-play {
  pointer-events: none;
}


/* v3.9 - fix Play Now click layer and loading state */
.lalo-game-stage { position: relative !important; }
.lalo-game-embed-wrap { position: absolute !important; inset: 0 !important; z-index: 1 !important; }
.lalo-game-embed-wrap iframe { width: 100% !important; height: 100% !important; border: 0 !important; display: block !important; }
.lalo-play-cover {
  position: absolute !important;
  inset: 0 !important;
  z-index: 50 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.lalo-play-cover * { pointer-events: none !important; }
.lalo-play-cover.is-hidden { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; display: none !important; }
.lalo-game-stage.is-game-loaded .lalo-play-cover { display: none !important; }


/* v4.0 - instant click-to-play final fix */
.lalo-game-stage:not(.is-game-loaded),
.lalo-game-stage:not(.is-game-loaded) * { cursor: pointer; }
.lalo-game-stage.is-game-loaded { cursor: default; }
.lalo-game-stage.is-game-loaded .lalo-game-embed-wrap { z-index: 5 !important; }
.lalo-game-stage.is-game-loaded iframe { display:block !important; width:100% !important; height:100% !important; }

/* v4.2 - robust click-to-load player */
.lalo-game-stage { position: relative !important; }
.lalo-game-embed-wrap { position: absolute !important; inset: 0 !important; z-index: 1 !important; width:100% !important; height:100% !important; }
.lalo-game-template { display: none !important; }
.lalo-play-cover {
  position: absolute !important;
  inset: 0 !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  border: 0 !important;
  background: transparent;
}
.lalo-play-cover * { pointer-events: none !important; }
.lalo-game-stage.is-game-loaded .lalo-play-cover { display: none !important; }
.lalo-game-stage.is-game-loaded .lalo-game-embed-wrap { z-index: 10 !important; }
.lalo-game-stage.is-game-loaded .lalo-game-embed-wrap iframe { width: 100% !important; height: 100% !important; border: 0 !important; display: block !important; }

/* v4.4 reliable click-to-play player fixes */
#game-player { position: relative !important; overflow: hidden !important; }
#game-frame-holder { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; z-index: 1 !important; }
#game-frame-holder iframe { width: 100% !important; height: 100% !important; border: 0 !important; display: block !important; }
#game-start-screen { position: absolute !important; inset: 0 !important; z-index: 50 !important; cursor: pointer !important; pointer-events: auto !important; }
#game-start-screen.is-hidden { display: none !important; pointer-events: none !important; }
#game-play-btn { position: relative !important; z-index: 70 !important; cursor: pointer !important; pointer-events: auto !important; }
#game-player.game-is-loaded #game-frame-holder,
#game-player.is-game-loaded #game-frame-holder { z-index: 10 !important; }
#game-player.game-is-loaded #game-start-screen,
#game-player.is-game-loaded #game-start-screen { display: none !important; }

/* v4.6 — polished player toolbar + details/comments refinement */
.lalo-game-toolbar {
  padding: 14px 18px !important;
  gap: 20px !important;
  border-top: 1px solid rgba(15,23,42,.08) !important;
}
.lalo-toolbar-actions {
  gap: 10px !important;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lalo-toolbar-actions .lalo-action-pill {
  width: auto !important;
  min-width: 96px;
  height: 42px !important;
  padding: 0 14px;
  border-radius: 999px !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  background: rgba(255,255,255,.82) !important;
  color: #273246 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(15,23,42,.045);
}
.lalo-toolbar-actions .lalo-action-pill span { font-size: 16px; line-height: 1; }
.lalo-toolbar-actions .lalo-action-pill em {
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}
.lalo-toolbar-actions .lalo-action-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(43,124,255,.22) !important;
  box-shadow: 0 12px 26px rgba(15,23,42,.08);
}
.lalo-toolbar-actions .lalo-action-pill.is-active {
  background: #eff6ff !important;
  color: #1265e6 !important;
  border-color: rgba(43,124,255,.25) !important;
}
.lalo-toolbar-actions .lalo-action-primary {
  background: linear-gradient(135deg, #1677ff, #35c2ff) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 12px 26px rgba(22,119,255,.22) !important;
}
.lalo-action-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  z-index: 99999;
  background: #111827;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 18px 40px rgba(15,23,42,.22);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.lalo-action-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.lalo-play-help-card { margin-top: 18px !important; }
.lalo-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.lalo-help-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
}
.lalo-help-step strong {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #35c2ff);
  box-shadow: 0 8px 18px rgba(22,119,255,.20);
}
.lalo-help-step span { color: #344054; font-weight: 750; line-height: 1.35; }
.lalo-comment-list .comment-author img {
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(15,23,42,.10);
  margin-right: 8px;
}
.lalo-comment-list .comment-meta { color: #667085; font-size: 13px; margin-top: 4px; }
.lalo-comment-list .comment-body { color: #1f2937; font-weight: 650; line-height: 1.6; }
.lalo-similar-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lalo-similar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15,23,42,.09);
  border-color: rgba(43,124,255,.18);
}
@media (max-width: 900px) {
  .lalo-help-grid { grid-template-columns: 1fr; }
  .lalo-toolbar-actions { justify-content: flex-start; }
  .lalo-toolbar-actions .lalo-action-pill { min-width: auto; }
}
@media (max-width: 520px) {
  .lalo-toolbar-actions .lalo-action-pill em { display: none; }
  .lalo-toolbar-actions .lalo-action-pill { width: 42px !important; min-width: 42px; padding: 0; }
}

/* v4.7 toolbar click reliability */
.lalo-game-toolbar, .lalo-toolbar-actions, .lalo-toolbar-actions .lalo-action-pill {
  pointer-events: auto !important;
  position: relative;
  z-index: 30;
}
.lalo-toolbar-actions .lalo-action-pill * {
  pointer-events: none;
}

/* v4.8 — smaller toolbar icons + slightly larger game player */
body.gamezone-game-platform .lalo-game-layout {
  grid-template-columns: minmax(0, 1fr) clamp(280px, 20vw, 360px) !important;
  gap: clamp(24px, 2vw, 38px) !important;
}

body.gamezone-game-platform .lalo-game-stage {
  min-height: clamp(560px, 70vh, 800px) !important;
}

body.gamezone-game-platform .lalo-game-toolbar {
  min-height: 76px !important;
  padding: 10px 16px !important;
  gap: 14px !important;
}

body.gamezone-game-platform .lalo-toolbar-info img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
}

body.gamezone-game-platform .lalo-toolbar-info h1 {
  font-size: 16px !important;
}

body.gamezone-game-platform .lalo-toolbar-actions {
  gap: 7px !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill {
  min-width: 76px !important;
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  gap: 6px !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button,
body.gamezone-game-platform .lalo-toolbar-actions button::after,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill em {
  font-size: 11px !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button > span,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill span {
  font-size: 14px !important;
}

body.gamezone-game-platform .lalo-similar-rail {
  max-width: 360px !important;
}

@media (max-width: 980px) {
  body.gamezone-game-platform .lalo-game-stage {
    min-height: clamp(380px, 58vh, 620px) !important;
  }
  body.gamezone-game-platform .lalo-toolbar-actions button,
  body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill {
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
  }
}

/* v4.9 — wider player + compact icon-only action buttons */
body.gamezone-game-platform .lalo-game-layout {
  grid-template-columns: minmax(0, 1fr) clamp(240px, 16vw, 320px) !important;
  gap: clamp(18px, 1.6vw, 30px) !important;
}

body.gamezone-game-platform .lalo-game-stage {
  min-height: clamp(590px, 73vh, 840px) !important;
}

body.gamezone-game-platform .lalo-similar-rail {
  max-width: 320px !important;
}

body.gamezone-game-platform .lalo-game-toolbar {
  padding: 10px 16px !important;
  min-height: 68px !important;
}

body.gamezone-game-platform .lalo-toolbar-actions {
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  gap: 0 !important;
  position: relative !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button > span,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill span {
  font-size: 15px !important;
  line-height: 1 !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button em,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill em {
  display: none !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button::after,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill::after {
  content: attr(title) !important;
  position: absolute !important;
  left: 50% !important;
  bottom: calc(100% + 9px) !important;
  transform: translateX(-50%) translateY(4px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  background: #111827 !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 6px 9px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 25px rgba(15,23,42,.18) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
  z-index: 999 !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button:hover::after,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill:hover::after {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}

@media (max-width: 1180px) {
  body.gamezone-game-platform .lalo-game-layout {
    grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 300px) !important;
  }
}

@media (max-width: 980px) {
  body.gamezone-game-platform .lalo-game-layout {
    grid-template-columns: 1fr !important;
  }
  body.gamezone-game-platform .lalo-game-stage {
    min-height: clamp(400px, 58vh, 650px) !important;
  }
  body.gamezone-game-platform .lalo-toolbar-actions {
    flex-wrap: wrap !important;
  }
}


/* v4.10 — compact game identity bar + editable owner/publisher */
body.gamezone-game-platform .lalo-game-toolbar {
  min-height: 56px !important;
  height: auto !important;
  padding: 7px 14px !important;
  gap: 12px !important;
}

body.gamezone-game-platform .lalo-toolbar-info {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  gap: 10px !important;
}

body.gamezone-game-platform .lalo-toolbar-info img {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 9px !important;
  object-fit: cover !important;
}

body.gamezone-game-platform .lalo-toolbar-copy {
  display: flex !important;
  align-items: baseline !important;
  gap: 7px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

body.gamezone-game-platform .lalo-toolbar-info .lalo-toolbar-copy h1 {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  max-width: min(36vw, 420px) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  flex: 0 1 auto !important;
}

body.gamezone-game-platform .lalo-toolbar-separator,
body.gamezone-game-platform .lalo-toolbar-owner {
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  color: #7b8497 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

body.gamezone-game-platform .lalo-toolbar-actions {
  flex: 0 0 auto !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
}

body.gamezone-game-platform .lalo-toolbar-actions button > span,
body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill span {
  font-size: 14px !important;
}

@media (max-width: 720px) {
  body.gamezone-game-platform .lalo-game-toolbar {
    min-height: 54px !important;
    padding: 7px 10px !important;
  }
  body.gamezone-game-platform .lalo-toolbar-info .lalo-toolbar-copy h1 {
    max-width: 34vw !important;
    font-size: 13px !important;
  }
  body.gamezone-game-platform .lalo-toolbar-separator,
  body.gamezone-game-platform .lalo-toolbar-owner {
    font-size: 10px !important;
  }
  body.gamezone-game-platform .lalo-toolbar-actions {
    gap: 5px !important;
  }
  body.gamezone-game-platform .lalo-toolbar-actions button,
  body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
  }
}


/* =========================================================
   LALO PLATFORM v5.0 — PERSONALIZATION, SEARCH & THEME MODE
========================================================= */
.lalo-nav-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.lalo-nav-icon{width:38px;height:38px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-white);color:var(--color-text);display:grid;place-items:center;font-size:17px;font-weight:900;cursor:pointer;transition:.18s ease}.lalo-nav-icon:hover{transform:translateY(-2px);border-color:var(--color-primary);color:var(--color-primary)}
.nav-search-wrap{position:relative;flex:1;max-width:620px;width:auto}.nav-search-wrap form{width:100%}.lalo-search-results{position:absolute;top:calc(100% + 10px);left:0;right:0;background:var(--color-white);border:1px solid var(--color-border);border-radius:16px;padding:8px;box-shadow:0 22px 55px rgba(29,35,70,.18);z-index:500;max-height:420px;overflow:auto}.lalo-search-results a{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;border-radius:11px}.lalo-search-results a:hover{background:var(--color-bg)}.lalo-search-results a>span{width:46px;height:46px;border-radius:10px;overflow:hidden;background:var(--color-bg);display:grid;place-items:center}.lalo-search-results img{width:100%;height:100%;object-fit:cover}.lalo-search-results b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lalo-search-results small{font-size:11px;color:var(--color-muted)}.lalo-search-empty{padding:16px;text-align:center;color:var(--color-muted);font-size:13px}
.lalo-personal-section[hidden]{display:none!important}.lalo-personal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-bottom:28px}.lalo-personal-card{display:flex;align-items:center;gap:12px;min-height:78px;padding:10px;background:var(--color-white);border:1px solid var(--color-border);border-radius:16px;box-shadow:0 8px 24px rgba(31,38,70,.06);transition:.18s ease}.lalo-personal-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(31,38,70,.11);border-color:rgba(108,60,225,.28)}.lalo-personal-thumb{width:58px;height:58px;min-width:58px;border-radius:12px;overflow:hidden;background:var(--color-bg);display:grid;place-items:center;font-size:25px}.lalo-personal-thumb img{width:100%;height:100%;object-fit:cover}.lalo-personal-copy{display:flex;flex-direction:column;min-width:0;flex:1}.lalo-personal-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lalo-personal-copy small{font-size:11px;color:var(--color-muted)}.lalo-personal-play{font-size:11px;font-weight:900;color:var(--color-primary);padding:7px 9px;border-radius:999px;background:rgba(108,60,225,.09)}
.lalo-toolbar-actions .lalo-action-pill small{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--color-primary);color:#fff;font-size:9px!important;font-style:normal;line-height:17px;text-align:center;box-shadow:0 3px 8px rgba(108,60,225,.25)}.lalo-stat-spec strong{font-variant-numeric:tabular-nums}
:root{--lalo-page:#f0f0f5;--lalo-card:#fff;--lalo-card-soft:#f7f8fc;--lalo-ink:#1a1a2e;--lalo-sub:#737b8d;--lalo-line:#e0e0e8}
html.lalo-dark,body.lalo-dark{--color-bg:#0d1422;--color-white:#121d2d;--color-text:#edf4ff;--color-muted:#98a6ba;--color-border:#27364b;--lalo-page:#0d1422;--lalo-card:#121d2d;--lalo-card-soft:#18263a;--lalo-ink:#edf4ff;--lalo-sub:#98a6ba;--lalo-line:#27364b;color-scheme:dark}
body.lalo-dark{background:#0d1422;color:#edf4ff}body.lalo-dark .site-nav,body.lalo-dark .lalo-sidebar,body.lalo-dark .site-footer,body.lalo-dark .footer-mega-top,body.lalo-dark .footer-links-area,body.lalo-dark .footer-bottom-bar,body.lalo-dark .lalo-game-toolbar,body.lalo-dark .lalo-similar-rail,body.lalo-dark .lalo-game-details-card,body.lalo-dark .lalo-game-info-card,body.lalo-dark .seo-home-block,body.lalo-dark .hero-side-panel{background:#121d2d!important;color:#edf4ff!important;border-color:#27364b!important}body.lalo-dark .game-card,body.lalo-dark .lalo-feature-card,body.lalo-dark .lalo-personal-card{border-color:#27364b}body.lalo-dark .nav-search-wrap,body.lalo-dark .ad-placeholder,body.lalo-dark .game-ad-slot{background:#18263a!important}body.lalo-dark input,body.lalo-dark textarea{color:#edf4ff!important;background:#18263a!important;border-color:#30425a!important}body.lalo-dark .sidebar-scroll-hint{background:linear-gradient(to top,rgba(18,29,45,.98),rgba(18,29,45,.7))}body.lalo-dark .lalo-search-results{background:#121d2d;border-color:#27364b}body.lalo-dark .lalo-search-results a:hover{background:#18263a}body.lalo-dark .lalo-game-spec-box{background:#18263a!important;border-color:#27364b!important}body.lalo-dark .footer-feature-card{background:#18263a!important;border-color:#27364b!important}
@media(max-width:760px){.lalo-nav-actions{gap:5px}.lalo-nav-icon{width:34px;height:34px}.nav-logo-word{display:none}.lalo-personal-grid{grid-template-columns:1fr}.lalo-search-results{position:fixed;top:62px;left:10px;right:10px}}


/* =========================================================
   LALO PLATFORM v5.1 — CLEAR RANDOM + THEME HEADER ICONS
========================================================= */
.lalo-nav-actions {
  gap: 10px;
}
.lalo-nav-icon {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  overflow: hidden;
}
.lalo-nav-svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lalo-nav-svg circle {
  fill: currentColor;
  stroke: none;
}
.lalo-random-button:hover .lalo-nav-svg {
  transform: rotate(12deg) scale(1.04);
}
.lalo-random-button .lalo-nav-svg {
  transition: transform .22s ease;
}
.lalo-theme-button {
  isolation: isolate;
}
.lalo-theme-icon {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #f4b942;
  box-shadow: 0 0 0 4px rgba(244,185,66,.14);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}
.lalo-theme-icon::before,
.lalo-theme-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform .28s ease, opacity .2s ease;
}
.lalo-theme-icon::before {
  box-shadow: 0 -7px 0 -6px #f4b942, 0 7px 0 -6px #f4b942, 7px 0 0 -6px #f4b942, -7px 0 0 -6px #f4b942, 5px 5px 0 -6px #f4b942, -5px 5px 0 -6px #f4b942, 5px -5px 0 -6px #f4b942, -5px -5px 0 -6px #f4b942;
  opacity: 1;
}
.lalo-theme-icon::after {
  width: 17px;
  height: 17px;
  left: 6px;
  top: -3px;
  background: var(--color-white);
  opacity: 0;
  transform: translate(4px,-4px);
}
.lalo-theme-button.is-dark-mode .lalo-theme-icon {
  background: #7c8cff;
  box-shadow: 0 0 0 4px rgba(124,140,255,.15), 0 0 16px rgba(124,140,255,.22);
  transform: rotate(-18deg);
}
.lalo-theme-button.is-dark-mode .lalo-theme-icon::before {
  opacity: 0;
}
.lalo-theme-button.is-dark-mode .lalo-theme-icon::after {
  opacity: 1;
  transform: translate(0,0);
  background: var(--color-white);
}
.lalo-theme-button:hover .lalo-theme-icon {
  transform: rotate(15deg) scale(1.04);
}
.lalo-theme-button.is-dark-mode:hover .lalo-theme-icon {
  transform: rotate(-6deg) scale(1.04);
}
body.lalo-dark .lalo-theme-icon::after {
  background: #121d2d;
}
@media (max-width: 760px) {
  .lalo-nav-actions { gap: 6px; }
  .lalo-nav-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
  }
  .lalo-nav-svg { width: 19px; height: 19px; }
  .lalo-theme-icon { width: 17px; height: 17px; }
}


/* =========================================================
   LALO PLATFORM v6.0 — PREMIUM UX, SMART CARDS & MOBILE APP UI
   ========================================================= */
:root{--lalo-focus:#6b5cff;--lalo-ease:cubic-bezier(.22,1,.36,1)}
html{scroll-behavior:smooth} body{overflow-x:hidden}
:focus-visible{outline:3px solid color-mix(in srgb,var(--lalo-focus) 70%,transparent);outline-offset:3px;border-radius:8px}
@media (prefers-reduced-motion:no-preference){
  .lalo-reveal{opacity:0;transform:translateY(18px);transition:opacity .55s var(--lalo-ease),transform .55s var(--lalo-ease)}
  .lalo-reveal.is-visible{opacity:1;transform:none}
  .game-card,.lalo-feature-card,.lalo-action-pill,.header-icon-button,.sidebar-cat{transition:transform .25s var(--lalo-ease),box-shadow .25s var(--lalo-ease),background-color .2s ease,border-color .2s ease}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Smart cards */
.lalo-smart-card{position:relative;overflow:hidden;isolation:isolate}
.lalo-smart-card:hover{transform:translateY(-6px);box-shadow:0 18px 38px rgba(31,45,90,.16)}
.game-card-media{position:relative;display:block;overflow:hidden}
.game-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s var(--lalo-ease)}
.lalo-smart-card:hover .game-card-media img{transform:scale(1.055)}
.game-card-overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(180deg,transparent 25%,rgba(15,20,45,.55));opacity:0;transition:opacity .25s ease}
.lalo-smart-card:hover .game-card-overlay,.lalo-smart-card:focus-visible .game-card-overlay{opacity:1}
.game-card-play{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#5b4df1;box-shadow:0 10px 24px rgba(0,0,0,.22);padding-left:3px}
.lalo-card-badge{position:absolute;left:10px;top:10px;z-index:4;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#fff;box-shadow:0 5px 14px rgba(0,0,0,.18)}
.badge-new{background:#16a085}.badge-hot{background:#e84c3d}.badge-trending{background:#f39c12}.badge-pick{background:#7558e8}
.lalo-card-favorite{position:absolute;right:9px;top:9px;z-index:5;width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9);color:#46506b;font-size:19px;box-shadow:0 6px 16px rgba(0,0,0,.14);cursor:pointer;opacity:0;transform:translateY(-5px);transition:.2s ease}
.lalo-smart-card:hover .lalo-card-favorite,.lalo-smart-card:focus-within .lalo-card-favorite,.lalo-card-favorite.is-active{opacity:1;transform:none}.lalo-card-favorite.is-active{color:#ee4f78;background:#fff}
.game-card-body{display:block}.game-card-meta,.game-card-stats{display:flex;align-items:center;justify-content:space-between;gap:8px}.game-card-stats{font-size:11px;opacity:.65;margin-top:5px}.game-card-stats span:last-child{font-weight:800;color:#6b5cff;opacity:0;transform:translateX(-5px);transition:.2s}.lalo-smart-card:hover .game-card-stats span:last-child{opacity:1;transform:none}

/* Search keyboard and highlighted matches */
#lalo-search-results a.is-keyboard-active{background:rgba(107,92,255,.1);transform:translateX(3px)}
#lalo-search-results mark{background:transparent;color:#6b5cff;font-weight:900}
#lalo-search-results{max-height:min(500px,65vh);overflow:auto;overscroll-behavior:contain}

/* Game Hub */
.lalo-game-hub-tabs{position:sticky;top:72px;z-index:30;display:flex;align-items:center;gap:6px;margin:14px 0;padding:6px;border:1px solid rgba(90,103,150,.14);border-radius:15px;background:color-mix(in srgb,var(--bg-main,#f6f8ff) 88%,transparent);backdrop-filter:blur(16px);box-shadow:0 8px 24px rgba(45,60,110,.08);overflow-x:auto}
.lalo-game-hub-tabs a{white-space:nowrap;padding:9px 13px;border-radius:10px;text-decoration:none;font-size:12px;font-weight:800;color:inherit}
.lalo-game-hub-tabs a:hover{background:rgba(107,92,255,.1);color:#5b4df1}.lalo-game-hub-tabs span{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:3px;border-radius:999px;background:#6b5cff;color:#fff;font-size:10px}

/* More polished loading and imagery */
img[loading="lazy"]{background:linear-gradient(100deg,rgba(120,130,170,.08) 20%,rgba(120,130,170,.15) 40%,rgba(120,130,170,.08) 60%);background-size:200% 100%;animation:laloSkeleton 1.5s linear infinite}
img[loading="lazy"][src]{animation:none}@keyframes laloSkeleton{to{background-position:-200% 0}}

/* Mobile app experience */
.lalo-mobile-nav{display:none}
@media(max-width:820px){
  body{padding-bottom:72px}.site-nav{position:sticky;top:0;z-index:1000;backdrop-filter:blur(18px)}
  .lalo-mobile-nav{position:fixed;left:10px;right:10px;bottom:8px;z-index:10000;display:grid;grid-template-columns:repeat(5,1fr);padding:7px;border:1px solid rgba(100,110,160,.15);border-radius:19px;background:color-mix(in srgb,var(--bg-main,#fff) 90%,transparent);backdrop-filter:blur(20px);box-shadow:0 14px 40px rgba(35,45,90,.22)}
  .lalo-mobile-nav a,.lalo-mobile-nav button{min-width:0;border:0;background:transparent;color:inherit;text-decoration:none;display:grid;place-items:center;gap:1px;padding:5px 2px;border-radius:12px;font:inherit;cursor:pointer}
  .lalo-mobile-nav a:hover,.lalo-mobile-nav button:hover{background:rgba(107,92,255,.1);color:#5b4df1}
  .lalo-mobile-nav span{font-size:20px;line-height:1}.lalo-mobile-nav small{font-size:9px;font-weight:800}
  .games-grid.modern-grid,.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .lalo-game-hub-tabs{top:62px;margin-inline:0}
  .lalo-card-favorite{opacity:1;transform:none}
}
@media(max-width:420px){.games-grid.modern-grid,.games-grid{gap:9px!important}.game-card-title{font-size:12px}.game-card-stats{display:none}}

/* Dark mode refinements for new components */
.lalo-dark .lalo-game-hub-tabs,.lalo-dark .lalo-mobile-nav{background:rgba(20,25,48,.9);border-color:rgba(255,255,255,.1)}
.lalo-dark .lalo-card-favorite{background:rgba(24,30,55,.92);color:#fff}.lalo-dark #lalo-search-results mark{color:#a99fff}

/* =========================================================
   LALO PLATFORM v6.1 — MINIMAL OVERLAY GAME CARDS
   ========================================================= */
.lalo-overlay-card {
  aspect-ratio: 1 / 1;
  background: transparent;
}

.lalo-overlay-card .game-card-media {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.lalo-overlay-card .game-card-media > img,
.lalo-overlay-card .game-card-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lalo-overlay-card .game-card-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 12, 28, 0.02) 25%, rgba(8, 12, 28, 0.86) 100%);
}

.lalo-overlay-card-content {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title play"
    "category play";
  align-items: end;
  gap: 2px 12px;
  color: #fff;
  transform: translateY(8px);
  transition: transform .25s var(--lalo-ease);
}

.lalo-smart-card:hover .lalo-overlay-card-content,
.lalo-smart-card:focus-visible .lalo-overlay-card-content {
  transform: translateY(0);
}

.lalo-overlay-card-title {
  grid-area: title;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.lalo-overlay-card-category {
  grid-area: category;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  opacity: .78;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lalo-overlay-card .game-card-play {
  grid-area: play;
  align-self: center;
  width: 38px;
  height: 38px;
  font-size: 13px;
  flex: 0 0 auto;
}

/* Remove all below-thumbnail card text from the minimal style. */
.lalo-overlay-card .game-card-body,
.lalo-overlay-card + .game-card-body {
  display: none !important;
}

@media (hover: none), (pointer: coarse) {
  .lalo-overlay-card .game-card-overlay {
    opacity: 1;
    padding: 11px;
    background: linear-gradient(180deg, transparent 45%, rgba(8,12,28,.78) 100%);
  }

  .lalo-overlay-card-content {
    transform: none;
    grid-template-columns: minmax(0,1fr);
    grid-template-areas:
      "title"
      "category";
  }

  .lalo-overlay-card .game-card-play {
    display: none;
  }

  .lalo-overlay-card-title {
    font-size: 12px;
  }
}

/* v6.2 — clean lower game-page layout */
body.single-game .lalo-game-lower-grid,
body.gamezone-game-platform .lalo-game-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 20px;
  width: 100%;
  margin: 22px 0 0;
  align-items: stretch;
}
body.single-game .lalo-game-lower-grid > *,
body.gamezone-game-platform .lalo-game-lower-grid > * {
  width: 100% !important;
  margin: 0 !important;
  min-width: 0;
}
body.single-game .lalo-about-card,
body.gamezone-game-platform .lalo-about-card,
body.single-game .lalo-play-help-card,
body.gamezone-game-platform .lalo-play-help-card,
body.single-game .lalo-game-specs-card,
body.gamezone-game-platform .lalo-game-specs-card,
body.single-game .lalo-comments-card,
body.gamezone-game-platform .lalo-comments-card,
body.single-game .lalo-more-games-card,
body.gamezone-game-platform .lalo-more-games-card {
  background: var(--bg-card, #fff) !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045) !important;
}
body.single-game .lalo-about-card,
body.gamezone-game-platform .lalo-about-card {
  padding: 24px !important;
  overflow: visible !important;
}
body.single-game .lalo-about-card .game-meta-top,
body.gamezone-game-platform .lalo-about-card .game-meta-top {
  padding: 0 !important;
  margin: 0 0 16px;
}
body.single-game .lalo-about-card .game-meta-desc,
body.gamezone-game-platform .lalo-about-card .game-meta-desc {
  padding: 0 !important;
  color: var(--text-muted, #667085) !important;
  font-size: 15px;
  line-height: 1.75;
}
body.single-game .lalo-about-card .game-meta-desc > :first-child,
body.gamezone-game-platform .lalo-about-card .game-meta-desc > :first-child { margin-top: 0; }
body.single-game .lalo-about-card .game-meta-desc > :last-child,
body.gamezone-game-platform .lalo-about-card .game-meta-desc > :last-child { margin-bottom: 0; }
body.single-game .lalo-play-help-card,
body.gamezone-game-platform .lalo-play-help-card {
  padding: 24px !important;
  display: flex;
  flex-direction: column;
}
body.single-game .lalo-play-help-card .lalo-help-grid,
body.gamezone-game-platform .lalo-play-help-card .lalo-help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 2px;
}
body.single-game .lalo-help-step,
body.gamezone-game-platform .lalo-help-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 13px;
  background: color-mix(in srgb, var(--bg-main, #f6f8ff) 70%, #fff);
}
body.single-game .lalo-help-step strong,
body.gamezone-game-platform .lalo-help-step strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(43,124,255,.10);
  color: #2b7cff;
  font-size: 13px;
}
body.single-game .lalo-help-step span,
body.gamezone-game-platform .lalo-help-step span {
  color: var(--text-muted, #667085);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}
body.single-game .lalo-game-specs-card,
body.gamezone-game-platform .lalo-game-specs-card,
body.single-game .lalo-comments-card,
body.gamezone-game-platform .lalo-comments-card,
body.single-game .lalo-more-games-card,
body.gamezone-game-platform .lalo-more-games-card {
  width: 100% !important;
  margin: 20px 0 0 !important;
  padding: 24px !important;
}
body.single-game .lalo-game-specs-grid,
body.gamezone-game-platform .lalo-game-specs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.single-game .lalo-comments-card .lalo-info-title,
body.gamezone-game-platform .lalo-comments-card .lalo-info-title {
  margin-bottom: 18px;
}
body.single-game .lalo-comment-form,
body.gamezone-game-platform .lalo-comment-form {
  max-width: none;
}
body.single-game .lalo-more-games-card .section-header,
body.gamezone-game-platform .lalo-more-games-card .section-header {
  margin-bottom: 16px;
}
body.single-game .lalo-more-games-card .games-grid,
body.gamezone-game-platform .lalo-more-games-card .games-grid {
  gap: 14px;
}
body.single-game .game-ad-slot,
body.gamezone-game-platform .game-ad-slot {
  width: 100% !important;
  margin: 20px 0 0 !important;
}
body.lalo-dark.single-game .lalo-about-card,
body.lalo-dark.single-game .lalo-play-help-card,
body.lalo-dark.single-game .lalo-game-specs-card,
body.lalo-dark.single-game .lalo-comments-card,
body.lalo-dark.single-game .lalo-more-games-card {
  background: #121d2d !important;
  border-color: #27364b !important;
}
body.lalo-dark.single-game .lalo-help-step {
  background: #18263a;
  border-color: #27364b;
}
@media (max-width: 1050px) {
  body.single-game .lalo-game-lower-grid,
  body.gamezone-game-platform .lalo-game-lower-grid {
    grid-template-columns: 1fr;
  }
  body.single-game .lalo-game-specs-grid,
  body.gamezone-game-platform .lalo-game-specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body.single-game .lalo-about-card,
  body.gamezone-game-platform .lalo-about-card,
  body.single-game .lalo-play-help-card,
  body.gamezone-game-platform .lalo-play-help-card,
  body.single-game .lalo-game-specs-card,
  body.gamezone-game-platform .lalo-game-specs-card,
  body.single-game .lalo-comments-card,
  body.gamezone-game-platform .lalo-comments-card,
  body.single-game .lalo-more-games-card,
  body.gamezone-game-platform .lalo-more-games-card {
    padding: 17px !important;
    border-radius: 15px !important;
  }
  body.single-game .lalo-game-specs-grid,
  body.gamezone-game-platform .lalo-game-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* v6.3: resilient More Games cards */
.lalo-safe-more-grid .game-card-media {
  background: var(--lalo-surface, #fff);
}
.lalo-safe-more-grid .game-card {
  min-width: 0;
}

/* =====================================================
   LALO v6.6 — SEO-rich layered footer
===================================================== */
.lalo-seo-footer {
  --lf-bg: #071321;
  --lf-bg-soft: #0b1a2b;
  --lf-surface: #102238;
  --lf-line: rgba(255,255,255,.09);
  --lf-text: #dbe7f4;
  --lf-muted: #9eb0c4;
  --lf-accent: #12d9ef;
  margin-top: 48px;
  background: var(--lf-bg);
  color: var(--lf-text);
  border-top: 1px solid rgba(18,217,239,.45);
}
.lalo-footer-shell { width: min(1360px, calc(100% - 48px)); margin-inline: auto; }
.lalo-seo-footer h2 { margin: 0; color: #fff; font-size: clamp(28px, 3vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
.lalo-seo-footer h3 { color: #fff; }
.lalo-footer-kicker { margin: 0 0 12px; color: var(--lf-accent); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.lalo-seo-intro { padding: 72px 0 66px; text-align: center; background: radial-gradient(circle at 50% 0, rgba(18,217,239,.11), transparent 38%), linear-gradient(180deg,#0d1d30,var(--lf-bg)); }
.lalo-seo-intro h2 { max-width: 900px; margin-inline: auto; }
.lalo-footer-intro-copy,.lalo-section-copy { max-width: 830px; margin: 20px auto 0; color: var(--lf-muted); line-height: 1.8; font-size: 16px; }
.lalo-footer-cta { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; padding: 13px 20px; border-radius: 12px; background: var(--lf-accent); color: #04121c !important; font-weight: 900; }
.lalo-footer-benefits,.lalo-footer-quality,.lalo-footer-faq-section { padding: 64px 0; border-top: 1px solid var(--lf-line); }
.lalo-footer-benefits { background: var(--lf-bg); text-align: center; }
.lalo-benefit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:38px; text-align:left; }
.lalo-benefit-grid article { position:relative; min-height:190px; padding:26px; border:1px solid var(--lf-line); border-radius:18px; background:rgba(255,255,255,.025); }
.lalo-benefit-grid article > span { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:11px; background:rgba(18,217,239,.1); color:var(--lf-accent); font-size:12px; font-weight:950; }
.lalo-benefit-grid h3 { margin:19px 0 8px; font-size:18px; }
.lalo-benefit-grid p { margin:0; color:var(--lf-muted); line-height:1.65; }
.lalo-footer-stats { padding:30px 0; background:var(--lf-accent); color:#04121c; }
.lalo-stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.lalo-stats-grid div { border-right:1px solid rgba(4,18,28,.18); }
.lalo-stats-grid div:last-child { border-right:0; }
.lalo-stats-grid strong { display:block; font-size:34px; line-height:1; font-weight:950; }
.lalo-stats-grid span { display:block; margin-top:7px; font-size:13px; font-weight:800; }
.lalo-footer-quality { background:var(--lf-bg-soft); }
.lalo-quality-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.lalo-quality-grid p { color:var(--lf-muted); line-height:1.8; }
.lalo-quality-grid ul { list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.lalo-quality-grid li { position:relative; padding-left:28px; color:var(--lf-muted); line-height:1.65; }
.lalo-quality-grid li:before { content:'✓'; position:absolute; left:0; top:0; color:var(--lf-accent); font-weight:950; }
.lalo-quality-grid strong { color:#fff; }
.lalo-footer-faq-section { background:var(--lf-bg); text-align:center; }
.lalo-faq-grid { max-width:1020px; margin:36px auto 0; display:grid; grid-template-columns:1fr 1fr; gap:12px; text-align:left; }
.lalo-faq-grid details { border:1px solid var(--lf-line); border-radius:13px; background:rgba(255,255,255,.025); overflow:hidden; }
.lalo-faq-grid summary { list-style:none; cursor:pointer; padding:17px 46px 17px 18px; color:#fff; font-weight:800; position:relative; }
.lalo-faq-grid summary::-webkit-details-marker { display:none; }
.lalo-faq-grid summary:after { content:'+'; position:absolute; right:17px; top:50%; transform:translateY(-50%); color:var(--lf-accent); font-size:20px; }
.lalo-faq-grid details[open] summary:after { content:'−'; }
.lalo-faq-grid details p { margin:0; padding:0 18px 18px; color:var(--lf-muted); line-height:1.65; }
.lalo-footer-main { padding:54px 0 46px; border-top:1px solid rgba(18,217,239,.32); background:#06101c; }
.lalo-footer-main-grid { display:grid; grid-template-columns:1.25fr .8fr .8fr 1.05fr; gap:48px; }
.lalo-footer-brand p { max-width:360px; color:var(--lf-muted); line-height:1.75; }
.lalo-footer-column,.lalo-footer-popular { display:flex; flex-direction:column; gap:11px; }
.lalo-footer-main h3 { margin:0 0 10px; font-size:14px; text-transform:uppercase; letter-spacing:.1em; }
.lalo-footer-column a { color:var(--lf-muted); font-weight:650; }
.lalo-footer-column a:hover { color:#fff; }
.lalo-footer-socials { display:flex; gap:9px; margin-top:20px; }
.lalo-footer-socials:empty { display:none; }
.lalo-footer-socials a,.lalo-back-top { width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; border:1px solid var(--lf-line); background:rgba(255,255,255,.04); color:#fff; }
.lalo-footer-socials svg { width:17px; height:17px; fill:currentColor; }
.lalo-footer-socials a:hover,.lalo-back-top:hover { color:var(--lf-accent); border-color:rgba(18,217,239,.45); transform:translateY(-2px); }
.lalo-popular-row { display:grid; grid-template-columns:46px 1fr; gap:11px; align-items:center; padding-bottom:10px; border-bottom:1px solid var(--lf-line); }
.lalo-popular-row > span,.lalo-popular-row img { width:46px; height:46px; border-radius:10px; object-fit:cover; overflow:hidden; background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; }
.lalo-popular-row em { min-width:0; font-style:normal; }
.lalo-popular-row strong { display:block; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lalo-popular-row small { color:var(--lf-muted); }
.lalo-footer-bottom { min-height:68px; display:flex; align-items:center; justify-content:space-between; gap:20px; color:var(--lf-muted); border-top:1px solid var(--lf-line); }
.lalo-footer-bottom p { margin:0; }
.lalo-footer-bottom nav { display:flex; flex-wrap:wrap; gap:20px; }
.lalo-footer-bottom a { color:inherit; }
.lalo-footer-bottom a:hover { color:#fff; }
.lalo-back-top { flex:0 0 auto; color:var(--lf-accent) !important; }
@media(max-width:1050px){
  .lalo-benefit-grid{grid-template-columns:repeat(2,1fr)}
  .lalo-footer-main-grid{grid-template-columns:repeat(2,1fr)}
  .lalo-quality-grid{gap:38px}
}
@media(max-width:700px){
  .lalo-footer-shell{width:min(100% - 28px,1360px)}
  .lalo-seo-intro,.lalo-footer-benefits,.lalo-footer-quality,.lalo-footer-faq-section{padding:46px 0}
  .lalo-benefit-grid,.lalo-quality-grid,.lalo-faq-grid,.lalo-footer-main-grid{grid-template-columns:1fr}
  .lalo-stats-grid{grid-template-columns:repeat(2,1fr);row-gap:26px}
  .lalo-stats-grid div:nth-child(2){border-right:0}
  .lalo-footer-bottom{padding:20px 0;flex-direction:column;text-align:center}
  .lalo-footer-bottom nav{justify-content:center}
}

/* =========================================================
   LALO v6.9 — True site-wide Light / Dark mode
   One color system controls the header, navigation, sidebar,
   homepage, game pages, cards, forms, recommendations and footer.
========================================================= */
:root {
  --lalo-page-bg: #f5f6fb;
  --lalo-surface: #ffffff;
  --lalo-surface-soft: #eef1f7;
  --lalo-surface-raised: #ffffff;
  --lalo-text: #1f2433;
  --lalo-muted: #6f7788;
  --lalo-border: #e1e6ef;
  --lalo-accent: #6c3ce1;
  --lalo-accent-2: #0fc7e7;
  --lalo-overlay: rgba(15, 20, 35, .78);
  --lalo-shadow-soft: 0 10px 28px rgba(30, 38, 70, .07);
  --lf-bg: var(--lalo-page-bg);
  --lf-bg-soft: var(--lalo-page-bg);
  --lf-surface: var(--lalo-surface);
  --lf-line: var(--lalo-border);
  --lf-text: var(--lalo-text);
  --lf-muted: var(--lalo-muted);
  --lf-accent: var(--lalo-accent);
  color-scheme: light;
}

html.lalo-dark,
body.lalo-dark {
  --lalo-page-bg: #0d1422;
  --lalo-surface: #121d2d;
  --lalo-surface-soft: #18263a;
  --lalo-surface-raised: #162235;
  --lalo-text: #edf4ff;
  --lalo-muted: #9aabc0;
  --lalo-border: #27364b;
  --lalo-accent: #8d72f3;
  --lalo-accent-2: #18d8ee;
  --lalo-overlay: rgba(5, 10, 20, .84);
  --lalo-shadow-soft: 0 12px 32px rgba(0, 0, 0, .26);
  --lf-bg: var(--lalo-page-bg);
  --lf-bg-soft: var(--lalo-page-bg);
  --lf-surface: var(--lalo-surface);
  --lf-line: var(--lalo-border);
  --lf-text: var(--lalo-text);
  --lf-muted: var(--lalo-muted);
  --lf-accent: var(--lalo-accent-2);
  color-scheme: dark;
}

/* Global page canvas */
html,
body,
body.lalo-dark,
.lalo-layout,
.lalo-content,
.site-main,
.lalo-home-main,
.game-single-main,
.lalo-game-page,
.page-container,
.home-section,
.archive-main,
.search-main {
  background: var(--lalo-page-bg) !important;
  color: var(--lalo-text) !important;
}

/* Header, navigation and search */
.site-nav,
body.lalo-dark .site-nav,
.category-bar,
body.lalo-dark .category-bar,
.lalo-mobile-nav,
body.lalo-dark .lalo-mobile-nav,
.lalo-game-hub-tabs,
body.lalo-dark .lalo-game-hub-tabs {
  background: var(--lalo-page-bg) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
}

.nav-search-wrap,
body.lalo-dark .nav-search-wrap,
.lalo-search-results,
body.lalo-dark .lalo-search-results,
.sidebar-toggle,
body.lalo-dark .sidebar-toggle,
.lalo-nav-icon,
body.lalo-dark .lalo-nav-icon {
  background: var(--lalo-surface) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
  box-shadow: var(--lalo-shadow-soft) !important;
}

.nav-search-wrap input,
body.lalo-dark .nav-search-wrap input,
.nav-search-wrap input::placeholder {
  color: var(--lalo-text) !important;
}
.nav-search-wrap input::placeholder { opacity: .62; }

.lalo-search-results a,
body.lalo-dark .lalo-search-results a {
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
}
.lalo-search-results a:hover,
body.lalo-dark .lalo-search-results a:hover {
  background: var(--lalo-surface-soft) !important;
}

/* Sidebar and navigation categories */
.lalo-sidebar,
body.lalo-dark .lalo-sidebar {
  background-color: var(--lalo-page-bg) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
  background-image: none !important;
}

.sidebar-brand-card,
.sidebar-brand-small,
.sidebar-scroll-hint,
.sidebar-cat-icon,
body.lalo-dark .sidebar-brand-card,
body.lalo-dark .sidebar-brand-small,
body.lalo-dark .sidebar-scroll-hint,
body.lalo-dark .sidebar-cat-icon {
  background: var(--lalo-surface) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
}

.sidebar-cat,
body.lalo-dark .sidebar-cat,
.cat-pill,
body.lalo-dark .cat-pill {
  color: var(--lalo-text) !important;
}
.sidebar-cat:hover,
body.lalo-dark .sidebar-cat:hover,
.cat-pill:hover,
body.lalo-dark .cat-pill:hover {
  background: var(--lalo-surface) !important;
}
.sidebar-cat.active,
.cat-pill.active {
  background: var(--lalo-accent) !important;
  color: #fff !important;
}

/* Homepage sections and areas behind cards */
.lalo-top-showcase,
body.lalo-dark .lalo-top-showcase,
.lalo-dashboard,
body.lalo-dark .lalo-dashboard,
.lalo-personal-section,
body.lalo-dark .lalo-personal-section,
.related-games-section,
body.lalo-dark .related-games-section,
.seo-home-block,
body.lalo-dark .seo-home-block,
.ad-placeholder,
body.lalo-dark .ad-placeholder {
  background: var(--lalo-page-bg) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
}

/* Cards and raised UI surfaces */
.modern-game-card,
.game-card,
.lalo-personal-card,
.lalo-game-stage-card,
.lalo-similar-rail,
.lalo-game-toolbar,
.game-meta-bar,
.lalo-about-card,
.lalo-play-help-card,
.lalo-game-specs-card,
.lalo-comments-card,
.lalo-more-games-card,
.lalo-game-details-card,
.lalo-game-info-card,
.lalo-game-spec-box,
.lalo-help-step,
.page-content-card,
.comment-body,
.comment-respond,
body.lalo-dark .modern-game-card,
body.lalo-dark .game-card,
body.lalo-dark .lalo-personal-card,
body.lalo-dark .lalo-game-stage-card,
body.lalo-dark .lalo-similar-rail,
body.lalo-dark .lalo-game-toolbar,
body.lalo-dark .game-meta-bar,
body.lalo-dark .lalo-about-card,
body.lalo-dark .lalo-play-help-card,
body.lalo-dark .lalo-game-specs-card,
body.lalo-dark .lalo-comments-card,
body.lalo-dark .lalo-more-games-card,
body.lalo-dark .lalo-game-details-card,
body.lalo-dark .lalo-game-info-card,
body.lalo-dark .lalo-game-spec-box,
body.lalo-dark .lalo-help-step,
body.lalo-dark .page-content-card,
body.lalo-dark .comment-body,
body.lalo-dark .comment-respond {
  background: var(--lalo-surface) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
  box-shadow: var(--lalo-shadow-soft) !important;
}

/* Forms */
input,
textarea,
select,
body.lalo-dark input,
body.lalo-dark textarea,
body.lalo-dark select {
  background: var(--lalo-surface-soft) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
}

/* Typography */
.section-title,
.lalo-info-title,
.lalo-game-title,
.lalo-game-spec-box strong,
.lalo-help-step strong,
.comment-author,
h1, h2, h3, h4,
body.lalo-dark .section-title,
body.lalo-dark .lalo-info-title,
body.lalo-dark .lalo-game-title,
body.lalo-dark h1,
body.lalo-dark h2,
body.lalo-dark h3,
body.lalo-dark h4 {
  color: var(--lalo-text) !important;
}

p,
small,
.lalo-muted,
.lalo-game-owner,
.lalo-game-spec-box span,
.lalo-help-step p,
body.lalo-dark p,
body.lalo-dark small,
body.lalo-dark .lalo-muted,
body.lalo-dark .lalo-game-owner,
body.lalo-dark .lalo-game-spec-box span,
body.lalo-dark .lalo-help-step p {
  color: var(--lalo-muted);
}

/* Complete footer: light in light mode, dark in dark mode */
.lalo-seo-footer,
body.lalo-dark .lalo-seo-footer {
  --lf-bg: var(--lalo-page-bg);
  --lf-bg-soft: var(--lalo-page-bg);
  --lf-surface: var(--lalo-surface);
  --lf-line: var(--lalo-border);
  --lf-text: var(--lalo-text);
  --lf-muted: var(--lalo-muted);
  --lf-accent: var(--lalo-accent-2);
  background: var(--lalo-page-bg) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
}

.lalo-seo-intro,
.lalo-footer-benefits,
.lalo-footer-quality,
.lalo-footer-faq-section,
.lalo-footer-main,
.lalo-footer-bottom,
.lalo-footer-stats,
body.lalo-dark .lalo-seo-intro,
body.lalo-dark .lalo-footer-benefits,
body.lalo-dark .lalo-footer-quality,
body.lalo-dark .lalo-footer-faq-section,
body.lalo-dark .lalo-footer-main,
body.lalo-dark .lalo-footer-bottom,
body.lalo-dark .lalo-footer-stats {
  background: var(--lalo-page-bg) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
}

.lalo-seo-intro {
  background-image: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--lalo-accent-2) 11%, transparent), transparent 40%) !important;
}

.lalo-benefit-grid article,
.lalo-faq-grid details,
.lalo-footer-socials a,
.lalo-back-top,
.lalo-popular-row > span,
body.lalo-dark .lalo-benefit-grid article,
body.lalo-dark .lalo-faq-grid details,
body.lalo-dark .lalo-footer-socials a,
body.lalo-dark .lalo-back-top,
body.lalo-dark .lalo-popular-row > span {
  background: var(--lalo-surface) !important;
  color: var(--lalo-text) !important;
  border-color: var(--lalo-border) !important;
}

.lalo-seo-footer h2,
.lalo-seo-footer h3,
.lalo-benefit-grid h3,
.lalo-quality-grid strong,
.lalo-faq-grid summary,
.lalo-popular-row strong,
body.lalo-dark .lalo-seo-footer h2,
body.lalo-dark .lalo-seo-footer h3,
body.lalo-dark .lalo-benefit-grid h3,
body.lalo-dark .lalo-quality-grid strong,
body.lalo-dark .lalo-faq-grid summary,
body.lalo-dark .lalo-popular-row strong {
  color: var(--lalo-text) !important;
}

.lalo-footer-intro-copy,
.lalo-section-copy,
.lalo-benefit-grid p,
.lalo-quality-grid p,
.lalo-quality-grid li,
.lalo-faq-grid details p,
.lalo-footer-brand p,
.lalo-footer-column a,
.lalo-popular-row small,
.lalo-footer-bottom,
body.lalo-dark .lalo-footer-intro-copy,
body.lalo-dark .lalo-section-copy,
body.lalo-dark .lalo-benefit-grid p,
body.lalo-dark .lalo-quality-grid p,
body.lalo-dark .lalo-quality-grid li,
body.lalo-dark .lalo-faq-grid details p,
body.lalo-dark .lalo-footer-brand p,
body.lalo-dark .lalo-footer-column a,
body.lalo-dark .lalo-popular-row small,
body.lalo-dark .lalo-footer-bottom {
  color: var(--lalo-muted) !important;
}

/* Stats remain visually separated, but follow the chosen mode */
.lalo-footer-stats,
body.lalo-dark .lalo-footer-stats {
  background: var(--lalo-surface-soft) !important;
  color: var(--lalo-text) !important;
}
.lalo-stats-grid div { border-color: var(--lalo-border) !important; }

/* Keep game canvas itself dark for game visibility */
.lalo-game-stage,
#game-player,
#game-frame-holder {
  background: #111827 !important;
}

/* Smooth mode transition */
body,
.site-nav,
.lalo-sidebar,
.lalo-content,
.lalo-seo-footer,
.lalo-seo-intro,
.lalo-footer-benefits,
.lalo-footer-quality,
.lalo-footer-faq-section,
.lalo-footer-main,
.lalo-footer-bottom,
.lalo-footer-stats,
.nav-search-wrap,
.lalo-game-stage-card,
.lalo-similar-rail,
.lalo-game-toolbar,
.lalo-about-card,
.lalo-play-help-card,
.lalo-game-specs-card,
.lalo-comments-card,
.lalo-more-games-card {
  transition: background-color .24s ease, color .24s ease, border-color .24s ease, box-shadow .24s ease;
}

/* v6.10: streamlined category sidebar — header already contains the brand. */
.lalo-sidebar > .sidebar-cat:first-of-type {
  margin-top: 8px;
}

/* v6.11 — dedicated mobile layout and fake-fullscreen game player */
.lalo-mobile-quit-game {
  display: none;
}

@media (max-width: 782px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-height: 100%;
  }

  .site-nav {
    position: sticky;
    top: 0;
    z-index: 10020;
    width: 100%;
    min-height: 58px;
    padding: 8px 10px !important;
    gap: 8px;
    box-sizing: border-box;
  }

  .site-nav .nav-logo {
    flex: 0 0 auto;
    min-width: 0;
  }

  .site-nav .lalo-logo-mark {
    width: 38px;
    height: 38px;
  }

  .site-nav .lalo-logo-word {
    display: none;
  }

  .site-nav .nav-search-wrap {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
  }

  .site-nav .nav-search-wrap input {
    min-width: 0;
    width: 100%;
    font-size: 14px;
  }

  .lalo-nav-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .lalo-nav-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .lalo-layout,
  .lalo-content,
  .site-main,
  .game-single-main,
  .lalo-game-page {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .lalo-layout {
    display: block !important;
  }

  .lalo-content {
    padding: 10px !important;
  }

  .lalo-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(82vw, 310px) !important;
    max-width: 310px !important;
    height: 100dvh !important;
    padding: 76px 14px 24px !important;
    transform: translateX(-105%);
    transition: transform .25s ease;
    z-index: 10040 !important;
    overflow-y: auto;
  }

  body.sidebar-open .lalo-sidebar {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: block;
    opacity: 0;
    visibility: hidden;
    background: rgba(5, 10, 25, .52);
    transition: opacity .25s ease, visibility .25s ease;
  }

  body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .lalo-game-top-ad {
    width: 100% !important;
    margin: 0 0 10px !important;
  }

  .lalo-game-layout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    gap: 14px !important;
  }

  .lalo-game-stage-card,
  .lalo-game-stage,
  #game-player,
  .lalo-game-toolbar,
  .lalo-similar-rail,
  .lalo-game-lower-grid,
  .lalo-about-card,
  .lalo-play-help-card,
  .lalo-game-specs-card,
  .lalo-comments-card,
  .lalo-more-games-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .lalo-game-stage,
  #game-player {
    min-height: clamp(360px, 68vh, 650px) !important;
    border-radius: 16px !important;
  }

  .lalo-cover-content > strong {
    max-width: calc(100vw - 56px);
    font-size: clamp(24px, 8vw, 36px) !important;
    line-height: 1.08;
    text-align: center;
  }

  .lalo-cover-play {
    min-width: 190px;
    min-height: 54px;
  }

  .lalo-game-toolbar {
    padding: 9px 10px !important;
    gap: 8px !important;
    flex-wrap: wrap;
  }

  .lalo-toolbar-info {
    min-width: 0;
    flex: 1 1 100%;
  }

  .lalo-toolbar-copy {
    min-width: 0;
    white-space: nowrap;
  }

  .lalo-toolbar-copy h1,
  .lalo-toolbar-owner {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lalo-toolbar-actions {
    width: 100%;
    justify-content: center;
  }

  .lalo-action-pill {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .lalo-similar-rail {
    order: 2;
    position: static !important;
    max-height: none !important;
  }

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

  .lalo-game-hub-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .lalo-game-hub-tabs::-webkit-scrollbar {
    display: none;
  }

  .lalo-game-lower-grid {
    display: block !important;
  }

  .lalo-about-card,
  .lalo-play-help-card,
  .lalo-game-specs-card,
  .lalo-comments-card,
  .lalo-more-games-card {
    margin: 0 0 14px !important;
    padding: 16px !important;
  }

  .lalo-footer-main-grid,
  .lalo-quality-grid,
  .lalo-benefit-grid,
  .lalo-faq-grid {
    grid-template-columns: 1fr !important;
  }

  .lalo-footer-shell {
    width: 100% !important;
    max-width: none !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }

  /* Fake fullscreen: uses the whole visible mobile viewport without browser fullscreen permission. */
  body.lalo-mobile-game-active {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
  }

  body.lalo-mobile-game-active #game-player {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #050914 !important;
  }

  body.lalo-mobile-game-active #game-frame-holder,
  body.lalo-mobile-game-active #game-frame-holder iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .lalo-mobile-quit-game {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 2147483646;
    display: none;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(8, 13, 28, .88);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(0,0,0,.32);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
  }

  .lalo-mobile-quit-game.is-visible,
  body.lalo-mobile-game-active .lalo-mobile-quit-game {
    display: inline-flex !important;
  }

  .lalo-mobile-quit-game span {
    font-size: 17px;
  }
}

@media (max-width: 390px) {
  .lalo-content {
    padding: 7px !important;
  }

  .site-nav {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .lalo-nav-icon {
    width: 37px !important;
    height: 37px !important;
    min-width: 37px !important;
  }

  .lalo-similar-grid {
    gap: 9px !important;
  }
}


/* v6.12 — refined mobile game toolbar, X-only quit, and premium floating navigation */
@media (max-width: 782px) {
  /* Keep enough room above the floating mobile navigation. */
  body:not(.lalo-mobile-game-active) {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  /* Compact, fully fitted game information/action bar. */
  body.gamezone-game-platform .lalo-game-toolbar,
  body.single-game .lalo-game-toolbar,
  body.single-post .lalo-game-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 10px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
  }

  body.gamezone-game-platform .lalo-toolbar-info,
  body.single-game .lalo-toolbar-info,
  body.single-post .lalo-toolbar-info {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 9px !important;
  }

  body.gamezone-game-platform .lalo-toolbar-info img,
  body.single-game .lalo-toolbar-info img,
  body.single-post .lalo-toolbar-info img {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
  }

  body.gamezone-game-platform .lalo-toolbar-copy,
  body.single-game .lalo-toolbar-copy,
  body.single-post .lalo-toolbar-copy {
    display: flex !important;
    align-items: baseline !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 5px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  body.gamezone-game-platform .lalo-toolbar-copy h1,
  body.single-game .lalo-toolbar-copy h1,
  body.single-post .lalo-toolbar-copy h1 {
    min-width: 0 !important;
    max-width: 62% !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.gamezone-game-platform .lalo-toolbar-separator,
  body.single-game .lalo-toolbar-separator,
  body.single-post .lalo-toolbar-separator {
    flex: 0 0 auto !important;
    font-size: 10px !important;
  }

  body.gamezone-game-platform .lalo-toolbar-owner,
  body.single-game .lalo-toolbar-owner,
  body.single-post .lalo-toolbar-owner {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 10px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.gamezone-game-platform .lalo-toolbar-actions,
  body.single-game .lalo-toolbar-actions,
  body.single-post .lalo-toolbar-actions {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 7px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill,
  body.single-game .lalo-toolbar-actions .lalo-action-pill,
  body.single-post .lalo-toolbar-actions .lalo-action-pill {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 11px !important;
  }

  body.gamezone-game-platform .lalo-toolbar-actions .lalo-action-pill span,
  body.single-game .lalo-toolbar-actions .lalo-action-pill span,
  body.single-post .lalo-toolbar-actions .lalo-action-pill span {
    font-size: 15px !important;
  }

  /* X-only fake-fullscreen exit control. */
  .lalo-mobile-quit-game {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(8, 13, 28, .82) !important;
  }

  .lalo-mobile-quit-game span {
    display: block !important;
    font-size: 22px !important;
    line-height: 1 !important;
    transform: translateY(-1px);
  }

  /* Premium floating mobile navigation. */
  .lalo-mobile-nav,
  body.lalo-dark .lalo-mobile-nav {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    z-index: 10000 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 7px !important;
    border: 1px solid color-mix(in srgb, var(--text-main, #1b2440) 12%, transparent) !important;
    border-radius: 22px !important;
    background: color-mix(in srgb, var(--bg-card, #fff) 91%, transparent) !important;
    box-shadow: 0 16px 42px rgba(27, 36, 72, .20) !important;
    backdrop-filter: blur(22px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
  }

  .lalo-mobile-nav a,
  .lalo-mobile-nav button {
    position: relative !important;
    min-width: 0 !important;
    min-height: 51px !important;
    padding: 5px 2px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: transparent !important;
    color: var(--text-main, #26304d) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: transform .18s ease, background .18s ease, color .18s ease !important;
  }

  .lalo-mobile-nav a:active,
  .lalo-mobile-nav button:active {
    transform: scale(.93) !important;
  }

  .lalo-mobile-nav .lalo-mobile-nav-icon {
    display: grid !important;
    place-items: center !important;
    width: 25px !important;
    height: 25px !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }

  .lalo-mobile-nav small {
    max-width: 100% !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .lalo-mobile-nav-home {
    color: var(--color-primary, #6557e8) !important;
    background: color-mix(in srgb, var(--color-primary, #6557e8) 11%, transparent) !important;
  }

  .lalo-mobile-nav-new .lalo-mobile-nav-icon {
    color: #12a77d !important;
  }

  .lalo-mobile-nav-trending {
    background: linear-gradient(145deg, rgba(255, 124, 55, .12), rgba(255, 67, 84, .08)) !important;
  }

  .lalo-mobile-nav-trending .lalo-fire-icon {
    font-size: 21px !important;
    filter: drop-shadow(0 3px 6px rgba(255, 89, 35, .25));
  }

  .lalo-mobile-nav-favorites .lalo-mobile-nav-icon {
    color: #e64d79 !important;
  }

  .lalo-mobile-nav-categories .lalo-mobile-nav-icon {
    color: #3387e8 !important;
  }

  body.lalo-mobile-game-active .lalo-mobile-nav {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .lalo-mobile-nav {
    left: 6px !important;
    right: 6px !important;
    padding: 5px !important;
  }
  .lalo-mobile-nav a,
  .lalo-mobile-nav button {
    min-height: 48px !important;
  }
  .lalo-mobile-nav small {
    font-size: 8px !important;
  }
}

/* v6.14 — precise mobile game-page fix: keep fake fullscreen, X-only exit, and shared floating nav */
@media (max-width: 782px) {
  /* Remove the older sticky Game / Details / Comments bar on mobile only. */
  body.single-game .lalo-game-hub-tabs,
  body.single-post .lalo-game-hub-tabs,
  body.gamezone-game-platform .lalo-game-hub-tabs {
    display: none !important;
  }

  /* Force the same Home / New / Trending / Favorites / Categories bar on game pages. */
  body.single-game .lalo-mobile-nav,
  body.single-post .lalo-mobile-nav,
  body.gamezone-game-platform .lalo-mobile-nav {
    display: grid !important;
  }

  /* Hide the navigation only while the game is in fake fullscreen. */
  body.lalo-mobile-game-active .lalo-mobile-nav {
    display: none !important;
  }

  /* The fake-fullscreen exit is a circular X only—never a text pill. */
  .lalo-mobile-quit-game,
  body.single-game .lalo-mobile-quit-game,
  body.single-post .lalo-mobile-quit-game,
  body.gamezone-game-platform .lalo-mobile-quit-game {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .lalo-mobile-quit-game::before,
  .lalo-mobile-quit-game::after {
    content: none !important;
    display: none !important;
  }

  .lalo-mobile-quit-game span {
    display: block !important;
    font-size: 23px !important;
    line-height: 1 !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* =====================================================
   LALO v6.18 — Balanced Homepage Featured Grid
   Slightly larger than v6.17, while remaining compact.
===================================================== */
@media (min-width: 1181px) {
  .lalo-feature-grid {
    grid-template-rows: repeat(2, 189px) !important;
  }

  .lalo-feature-card {
    min-height: 189px !important;
    height: 189px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 390px !important;
    height: 390px !important;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .lalo-feature-card {
    min-height: 175px !important;
    height: 175px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 330px !important;
    height: 330px !important;
  }
}

@media (max-width: 720px) {
  .lalo-feature-card,
  .lalo-feature-card.is-large {
    min-height: 195px !important;
    height: 195px !important;
  }
}

/* =====================================================
   LALO v6.19 — Edge Sidebar + Horizontal Game Rows
   Desktop sidebar sits at the far-left edge. Homepage game
   rows extend to the right and scroll horizontally.
===================================================== */
@media (min-width: 901px) {
  /* Use the complete browser width instead of centering the whole platform. */
  .lalo-layout {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    align-items: stretch !important;
  }

  /* Keep category navigation flush with the far-left side. */
  .lalo-sidebar {
    margin-left: 0 !important;
    left: 0 !important;
    flex: 0 0 var(--sidebar-width) !important;
  }

  /* Let the content consume every remaining pixel to the right. */
  .lalo-content {
    width: calc(100% - var(--sidebar-width)) !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .lalo-home-main {
    width: 100% !important;
    max-width: none !important;
    padding-left: 22px !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  /* Slightly larger featured showcase than v6.18. */
  .lalo-feature-grid {
    grid-template-rows: repeat(2, 204px) !important;
  }

  .lalo-feature-card {
    min-height: 204px !important;
    height: 204px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 420px !important;
    height: 420px !important;
  }

  /* Homepage game lists become clean horizontal rails. */
  .lalo-home-main .home-section {
    width: 100% !important;
    overflow: visible !important;
  }

  .lalo-home-main .home-section-head {
    padding-right: 24px !important;
  }

  .lalo-home-main .modern-grid,
  .lalo-home-main .games-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 28px 20px 2px !important;
    margin-bottom: 18px !important;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(108,60,225,.45) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .lalo-home-main .modern-grid::-webkit-scrollbar,
  .lalo-home-main .games-grid::-webkit-scrollbar {
    height: 7px;
  }

  .lalo-home-main .modern-grid::-webkit-scrollbar-track,
  .lalo-home-main .games-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .lalo-home-main .modern-grid::-webkit-scrollbar-thumb,
  .lalo-home-main .games-grid::-webkit-scrollbar-thumb {
    background: rgba(108,60,225,.35);
    border-radius: 999px;
  }

  .lalo-home-main .modern-grid > *,
  .lalo-home-main .games-grid > * {
    flex: 0 0 clamp(150px, 12vw, 190px) !important;
    width: clamp(150px, 12vw, 190px) !important;
    min-width: 150px !important;
    scroll-snap-align: start;
  }
}

/* Tablet keeps the normal stacked layout but gets a slightly taller showcase. */
@media (min-width: 721px) and (max-width: 900px) {
  .lalo-feature-card {
    min-height: 185px !important;
    height: 185px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 350px !important;
    height: 350px !important;
  }
}


/* =====================================================
   LALO v6.20 — Taller Featured Grid + All Games Rail
   Keeps the v6.19 edge-aligned layout while making the
   showcase slightly taller and adding a broad browse row.
===================================================== */
@media (min-width: 1181px) {
  .lalo-feature-grid {
    grid-template-rows: repeat(2, 214px) !important;
  }

  .lalo-feature-card {
    min-height: 214px !important;
    height: 214px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 440px !important;
    height: 440px !important;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .lalo-feature-card {
    min-height: 195px !important;
    height: 195px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 370px !important;
    height: 370px !important;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .lalo-feature-card {
    min-height: 195px !important;
    height: 195px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 370px !important;
    height: 370px !important;
  }
}

@media (max-width: 720px) {
  .lalo-feature-card,
  .lalo-feature-card.is-large {
    min-height: 205px !important;
    height: 205px !important;
  }
}

/* Give All Games a clear ending while preserving the horizontal rail. */
.lalo-all-games-section {
  margin-bottom: 34px !important;
}

.lalo-all-games-section .home-section-head h2::before {
  content: '🎮';
  margin-right: 8px;
  font-size: .92em;
}


/* =====================================================
   LALO v6.21 — Multi-row All Games + Fuller Hero
   All Games now wraps into a normal grid. Featured cards
   are taller and show the complete game artwork.
===================================================== */

/* Show the complete featured artwork instead of cropping it. */
.lalo-feature-card img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #101b2b !important;
}

/* Slightly taller featured showcase on large desktop. */
@media (min-width: 1181px) {
  .lalo-feature-grid {
    grid-template-rows: repeat(2, 254px) !important;
  }

  .lalo-feature-card {
    min-height: 254px !important;
    height: 254px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 520px !important;
    height: 520px !important;
  }
}

/* Balanced height on smaller desktop and tablet. */
@media (min-width: 901px) and (max-width: 1180px) {
  .lalo-feature-card {
    min-height: 214px !important;
    height: 214px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 440px !important;
    height: 440px !important;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .lalo-feature-card {
    min-height: 215px !important;
    height: 215px !important;
  }

  .lalo-feature-card.is-large {
    min-height: 420px !important;
    height: 420px !important;
  }
}

@media (max-width: 720px) {
  .lalo-feature-card,
  .lalo-feature-card.is-large {
    min-height: 230px !important;
    height: 230px !important;
  }
}

/* All Games is a normal wrapping grid, not a horizontal carousel. */
@media (min-width: 901px) {
  .lalo-home-main .lalo-all-games-section .games-grid,
  .lalo-home-main .lalo-all-games-section .modern-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 16px !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    padding: 4px 24px 20px 2px !important;
    margin-bottom: 18px !important;
    scroll-snap-type: none !important;
  }

  .lalo-home-main .lalo-all-games-section .games-grid > *,
  .lalo-home-main .lalo-all-games-section .modern-grid > * {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
  }
}

@media (max-width: 900px) {
  .lalo-all-games-section .games-grid,
  .lalo-all-games-section .modern-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
  }
}

@media (max-width: 420px) {
  .lalo-all-games-section .games-grid,
  .lalo-all-games-section .modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

/* =====================================================
   LALO v6.22 — Image and rendering performance
===================================================== */
.game-card-media img,
.lalo-feature-card img,
.footer-popular-thumb img {
  width: 100%;
  height: 100%;
}

/* Avoid painting long off-screen sections until they approach the viewport. */
@supports (content-visibility: auto) {
  .home-section,
  .lalo-footer-seo,
  .footer-experience,
  .footer-main {
    content-visibility: auto;
    contain-intrinsic-size: 1px 520px;
  }
}

/* Lightweight image reveal without JavaScript. */
.game-card-media,
.lalo-feature-card {
  background-color: var(--lalo-surface-soft, #eef1f8);
}

.game-card-media img,
.lalo-feature-card img {
  content-visibility: auto;
}


/* =====================================================
   LALO v6.23 — Ultra performance refinements
===================================================== */
.game-card img,
.lalo-feature-card img,
.lalo-similar-card img,
.footer-popular-thumb img {
  background-color: var(--lalo-surface-soft, #eef1f8);
}

/* Skip layout/paint work for content well below the viewport. */
@supports (content-visibility: auto) {
  .home-section:nth-of-type(n+4),
  .lalo-all-games-section,
  .lalo-mega-footer,
  .lalo-game-lower,
  .related-games-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
  }
}

/* Native fonts render immediately; keep typography metrics stable. */
body,
button,
input,
select,
textarea {
  font-family: var(--font-main);
}

/* =====================================================
   LALO v6.24 — Full-bleed featured artwork
   Featured images now fill every hero card edge-to-edge.
===================================================== */
.lalo-feature-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
}


/* =====================================================
   LALO v6.25 — Mobile horizontal game rails + hero slider
   On phones, featured games and homepage rows swipe to the right.
===================================================== */
@media (max-width: 720px) {
  /* Featured hero becomes a touch-friendly horizontal slider. */
  .lalo-feature-grid {
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 10px !important;
    scrollbar-width: none;
  }

  .lalo-feature-grid::-webkit-scrollbar {
    display: none;
  }

  .lalo-feature-card,
  .lalo-feature-card.is-large,
  .lalo-feature-card.is-small {
    flex: 0 0 min(84vw, 390px) !important;
    width: min(84vw, 390px) !important;
    min-width: min(84vw, 390px) !important;
    min-height: 230px !important;
    height: 230px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .lalo-feature-card.is-large {
    flex-basis: min(90vw, 420px) !important;
    width: min(90vw, 420px) !important;
    min-width: min(90vw, 420px) !important;
  }

  .lalo-feature-card img,
  .lalo-feature-placeholder {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
  }

  /* Trending, New Games, You Might Like and personal rows swipe horizontally. */
  .lalo-home-main .home-section:not(.lalo-all-games-section) .modern-grid,
  .lalo-home-main .lalo-personal-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 12px !important;
    scrollbar-width: none;
  }

  .lalo-home-main .home-section:not(.lalo-all-games-section) .modern-grid::-webkit-scrollbar,
  .lalo-home-main .lalo-personal-grid::-webkit-scrollbar {
    display: none;
  }

  .lalo-home-main .home-section:not(.lalo-all-games-section) .modern-grid > *,
  .lalo-home-main .lalo-personal-grid > * {
    flex: 0 0 min(43vw, 180px) !important;
    width: min(43vw, 180px) !important;
    min-width: min(43vw, 180px) !important;
    scroll-snap-align: start;
  }

  /* All Games intentionally remains a normal wrapping grid. */
  .lalo-home-main .lalo-all-games-section .modern-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 430px) {
  .lalo-feature-card,
  .lalo-feature-card.is-large,
  .lalo-feature-card.is-small {
    flex-basis: 88vw !important;
    width: 88vw !important;
    min-width: 88vw !important;
    height: 220px !important;
    min-height: 220px !important;
  }

  .lalo-home-main .home-section:not(.lalo-all-games-section) .modern-grid > *,
  .lalo-home-main .lalo-personal-grid > * {
    flex-basis: 46vw !important;
    width: 46vw !important;
    min-width: 46vw !important;
  }
}

/* =====================================================
   LALO v7.0 — Premium reusable category pages
===================================================== */
.lalo-category-page{padding-top:20px;padding-bottom:38px}.lalo-category-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:var(--lalo-muted);font-size:13px;font-weight:800}.lalo-category-breadcrumb a{color:var(--lalo-accent)}
.lalo-category-hero{position:relative;isolation:isolate;overflow:hidden;min-height:310px;padding:clamp(24px,4vw,52px);border:1px solid var(--lalo-border);border-radius:28px;background:radial-gradient(circle at 88% 15%,rgba(17,199,232,.24),transparent 32%),radial-gradient(circle at 10% 10%,rgba(108,60,225,.25),transparent 36%),linear-gradient(135deg,var(--lalo-surface),var(--lalo-surface-soft));box-shadow:var(--lalo-shadow-soft);display:flex;flex-direction:column;justify-content:space-between;gap:30px}.lalo-category-hero.has-image{background-image:var(--lalo-category-hero);background-size:cover;background-position:center}.lalo-category-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,13,30,.90),rgba(8,13,30,.55) 55%,rgba(8,13,30,.2));opacity:0}.lalo-category-hero.has-image .lalo-category-hero-shade{opacity:1}.lalo-category-hero.has-image,.lalo-category-hero.has-image h1,.lalo-category-hero.has-image p{color:#fff}.lalo-category-hero-copy{display:flex;align-items:flex-start;gap:20px;max-width:860px}.lalo-category-icon{width:76px;height:76px;flex:0 0 76px;display:grid;place-items:center;border-radius:24px;background:rgba(255,255,255,.82);box-shadow:0 16px 40px rgba(30,38,70,.12);font-size:38px}.lalo-category-kicker,.lalo-category-card-kicker,.lalo-category-section-head span{margin:0 0 8px;color:var(--lalo-accent);font-size:11px;line-height:1;font-weight:950;letter-spacing:.14em}.lalo-category-hero h1{margin:0 0 12px;font-size:clamp(34px,5vw,62px);line-height:.95;letter-spacing:-.045em}.lalo-category-hero-copy p:last-child{max-width:720px;margin:0;color:var(--lalo-muted);font-size:16px;font-weight:700;line-height:1.7}.lalo-category-hero.has-image .lalo-category-kicker{color:#67e8f9}.lalo-category-stats{display:flex;flex-wrap:wrap;gap:10px}.lalo-category-stats span{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border:1px solid rgba(108,60,225,.14);border-radius:999px;background:rgba(255,255,255,.78);color:#4b5062;font-size:12px;font-weight:850;backdrop-filter:blur(10px)}.lalo-category-stats strong{color:var(--lalo-text)}.lalo-category-hero.has-image .lalo-category-stats span{background:rgba(7,15,31,.62);border-color:rgba(255,255,255,.18);color:#dce8f5}.lalo-category-hero.has-image .lalo-category-stats strong{color:#fff}
.lalo-category-section{margin-top:34px}.lalo-category-section-head,.lalo-category-toolbar{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:16px}.lalo-category-section-head h2,.lalo-category-toolbar h2,.lalo-category-info-grid h2{margin:0;font-size:clamp(22px,3vw,32px);line-height:1.05;letter-spacing:-.03em}.lalo-category-section-head p{max-width:440px;margin:0;color:var(--lalo-muted);font-weight:700}.lalo-category-featured-row{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:none}.lalo-category-featured-row::-webkit-scrollbar{display:none}.lalo-category-featured-row>.game-card{flex:0 0 176px;width:176px;scroll-snap-align:start}.lalo-category-result-count{display:block;margin-bottom:6px;color:var(--lalo-muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.lalo-category-filters{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.lalo-category-filters a{padding:9px 13px;border:1px solid var(--lalo-border);border-radius:999px;background:var(--lalo-surface);color:var(--lalo-muted);font-size:12px;font-weight:900;transition:.18s ease}.lalo-category-filters a:hover,.lalo-category-filters a.is-active{border-color:var(--lalo-accent);background:var(--lalo-accent);color:#fff}.lalo-category-games-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:16px}.lalo-category-info-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:20px;margin-top:38px}.lalo-category-seo-card,.lalo-category-faq-card{padding:clamp(22px,3vw,34px);border:1px solid var(--lalo-border);border-radius:24px;background:var(--lalo-surface);box-shadow:var(--lalo-shadow-soft)}.lalo-category-richtext{margin-top:16px;color:var(--lalo-muted);font-size:15px;line-height:1.8}.lalo-category-richtext p{margin:0 0 14px}.lalo-category-faq-list{display:grid;gap:9px;margin-top:18px}.lalo-category-faq-list details{border:1px solid var(--lalo-border);border-radius:14px;background:var(--lalo-page-bg);overflow:hidden}.lalo-category-faq-list summary{cursor:pointer;list-style:none;padding:14px 16px;color:var(--lalo-text);font-size:13px;font-weight:900}.lalo-category-faq-list summary::-webkit-details-marker{display:none}.lalo-category-faq-list summary:after{content:'+';float:right;color:var(--lalo-accent);font-size:18px}.lalo-category-faq-list details[open] summary:after{content:'–'}.lalo-category-faq-list p{margin:0;padding:0 16px 15px;color:var(--lalo-muted);font-size:13px;line-height:1.65;font-weight:650}.lalo-related-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.lalo-related-category-grid a{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:14px;border:1px solid var(--lalo-border);border-radius:18px;background:var(--lalo-surface);box-shadow:0 8px 20px rgba(30,38,70,.04);transition:.18s ease}.lalo-related-category-grid a:hover{transform:translateY(-3px);border-color:rgba(108,60,225,.28);box-shadow:var(--lalo-shadow-soft)}.lalo-related-category-grid a>span{grid-row:1/3;width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--lalo-surface-soft);font-size:22px}.lalo-related-category-grid strong{font-size:14px}.lalo-related-category-grid small{color:var(--lalo-muted);font-size:11px;font-weight:800}
body.lalo-dark-mode .lalo-category-icon,body.dark-theme .lalo-category-icon{background:rgba(255,255,255,.10)}
@media(max-width:900px){.lalo-category-info-grid{grid-template-columns:1fr}.lalo-category-toolbar,.lalo-category-section-head{align-items:flex-start;flex-direction:column}.lalo-category-filters{justify-content:flex-start}.lalo-category-games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(max-width:600px){.lalo-category-page{padding:12px}.lalo-category-hero{min-height:280px;padding:22px 18px;border-radius:20px}.lalo-category-hero-copy{gap:13px}.lalo-category-icon{width:58px;height:58px;flex-basis:58px;border-radius:18px;font-size:29px}.lalo-category-hero h1{font-size:34px}.lalo-category-hero-copy p:last-child{font-size:14px}.lalo-category-stats{gap:7px}.lalo-category-stats span{padding:8px 10px;font-size:11px}.lalo-category-featured-row>.game-card{flex-basis:43vw;width:43vw}.lalo-category-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lalo-category-filters{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none}.lalo-category-filters::-webkit-scrollbar{display:none}.lalo-category-filters a{white-space:nowrap}.lalo-category-seo-card,.lalo-category-faq-card{border-radius:19px;padding:20px}.lalo-related-category-grid{grid-template-columns:1fr 1fr}}


/* =====================================================
   LALO v7.1 — Clean like/favorite actions
   Counters removed; editable owner remains in Game Details.
===================================================== */
body.gamezone-game-platform .lalo-action-pill small,
body.single-game .lalo-action-pill small,
body.single-post .lalo-action-pill small {
  display: none !important;
}


/* =====================================================
   LALO v7.2 — Hover star ratings on game cards
===================================================== */
.lalo-overlay-card-content {
  grid-template-areas:
    "title play"
    "category play"
    "rating play";
}

.lalo-card-hover-rating {
  grid-area: rating;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 4px;
  line-height: 1;
}

.lalo-card-stars {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,.28);
  font-size: 12px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.lalo-card-stars::after {
  content: "★★★★★";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--lalo-rating-width, 94%);
  overflow: hidden;
  color: #ffc233;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0,0,0,.28);
}

.lalo-card-rating-number {
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

@media (hover: none), (pointer: coarse) {
  .lalo-card-hover-rating {
    display: none;
  }
}

/* =====================================================
   LALO v7.4 — Game SEO Description System
   Uses the existing theme color, spacing and radius variables.
===================================================== */
.lalo-gsd-content,
.lalo-gsd-section {
  width: 100%;
}

.lalo-gsd-section {
  margin: 18px 0;
  padding: clamp(18px, 2vw, 28px);
  background: var(--lalo-surface, var(--color-white, #fff));
  color: var(--lalo-text, var(--color-text, #1f2433));
  border: 1px solid var(--lalo-border, var(--color-border, #e2e6f0));
  border-radius: var(--lalo-global-radius, 18px);
  box-shadow: var(--lalo-shadow-soft, 0 10px 28px rgba(30,38,70,.07));
}

.lalo-gsd-section h2 {
  margin: 0 0 16px;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--lalo-text, var(--color-text, #1f2433));
}

.lalo-gsd-section h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--lalo-text, var(--color-text, #1f2433));
}

.lalo-gsd-prose {
  max-width: 880px;
  color: var(--lalo-muted, var(--color-muted, #667085));
  font-size: 16px;
  line-height: 1.78;
}

.lalo-gsd-prose > * + * { margin-top: 14px; }
.lalo-gsd-prose ul,
.lalo-gsd-prose ol { padding-left: 1.35em; }
.lalo-gsd-prose a { color: var(--lalo-accent, var(--color-primary, #6c3ce1)); text-decoration: underline; text-underline-offset: 2px; }

.lalo-gsd-style-highlight,
.lalo-gsd-developer-insight {
  border-left: 4px solid var(--lalo-accent, var(--color-primary, #6c3ce1));
}

.lalo-gsd-style-tip,
.lalo-gsd-tips .lalo-gsd-tip {
  background: color-mix(in srgb, var(--lalo-accent, #6c3ce1) 7%, var(--lalo-surface, #fff));
}

.lalo-gsd-style-features .lalo-gsd-prose ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  list-style: none;
  padding: 0;
}
.lalo-gsd-style-features .lalo-gsd-prose li::before { content: "✓"; margin-right: 8px; color: var(--lalo-accent, #6c3ce1); font-weight: 900; }

.lalo-gsd-style-summary {
  border-top: 3px solid var(--lalo-accent, var(--color-primary, #6c3ce1));
}

.lalo-gsd-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lalo-gsd-control-group-public {
  border: 1px solid var(--lalo-border, var(--color-border, #e2e6f0));
  border-radius: calc(var(--lalo-global-radius, 18px) - 4px);
  padding: 16px;
  background: var(--lalo-surface-soft, #eef1f8);
}

.lalo-gsd-control-group-public dl { margin: 0; }
.lalo-gsd-control-group-public dl > div {
  display: grid;
  grid-template-columns: minmax(95px, .42fr) 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--lalo-border, var(--color-border, #e2e6f0));
}
.lalo-gsd-control-group-public dl > div:first-child { border-top: 0; }
.lalo-gsd-control-group-public dt { font-weight: 900; color: var(--lalo-text, #1f2433); }
.lalo-gsd-control-group-public dd { margin: 0; color: var(--lalo-muted, #667085); }

.lalo-gsd-tip-list { display: grid; gap: 12px; }
.lalo-gsd-tip {
  padding: 16px;
  border: 1px solid var(--lalo-border, var(--color-border, #e2e6f0));
  border-radius: calc(var(--lalo-global-radius, 18px) - 4px);
}

.lalo-gsd-table-wrap { overflow-x: auto; }
.lalo-gsd-details table { width: 100%; border-collapse: collapse; }
.lalo-gsd-details th,
.lalo-gsd-details td { padding: 12px 14px; border-bottom: 1px solid var(--lalo-border, #e2e6f0); text-align: left; vertical-align: top; }
.lalo-gsd-details th { width: 34%; color: var(--lalo-text, #1f2433); font-weight: 900; }
.lalo-gsd-details td { color: var(--lalo-muted, #667085); }
.lalo-gsd-details tr:last-child th,
.lalo-gsd-details tr:last-child td { border-bottom: 0; }

.lalo-gsd-editorial-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.lalo-gsd-link-list,
.lalo-gsd-category-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.lalo-gsd-link-list a,
.lalo-gsd-category-links a {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--lalo-surface-soft, #eef1f8);
  border: 1px solid var(--lalo-border, #e2e6f0);
  color: var(--lalo-text, #1f2433);
  font-weight: 800;
}

.lalo-gsd-faq-list { display: grid; gap: 10px; }
.lalo-gsd-faq-item { border: 1px solid var(--lalo-border, #e2e6f0); border-radius: calc(var(--lalo-global-radius, 18px) - 5px); overflow: hidden; background: var(--lalo-surface, #fff); }
.lalo-gsd-faq-item summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 16px; font-weight: 900; position: relative; color: var(--lalo-text, #1f2433); }
.lalo-gsd-faq-item summary::-webkit-details-marker { display: none; }
.lalo-gsd-faq-item summary::after { content: "+"; position: absolute; right: 17px; top: 50%; transform: translateY(-50%); font-size: 21px; color: var(--lalo-accent, #6c3ce1); }
.lalo-gsd-faq-item[open] summary::after { content: "−"; }
.lalo-gsd-faq-answer { padding: 0 16px 16px; color: var(--lalo-muted, #667085); line-height: 1.72; }
.lalo-gsd-faq-answer > * + * { margin-top: 12px; }

@media (max-width: 900px) {
  .lalo-gsd-controls-grid { grid-template-columns: 1fr; }
  .lalo-gsd-editorial-related { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .lalo-gsd-section { margin: 14px 0; padding: 17px; border-radius: 15px; }
  .lalo-gsd-prose { font-size: 15px; line-height: 1.72; }
  .lalo-gsd-style-features .lalo-gsd-prose ul { grid-template-columns: 1fr; }
  .lalo-gsd-control-group-public dl > div { grid-template-columns: 1fr; gap: 2px; }
  .lalo-gsd-details th,
  .lalo-gsd-details td { padding: 10px; }
}


/* =====================================================
   LALO v7.5 — Focused game-page refinements
===================================================== */
@media (min-width: 1025px) {
  body.single-game .lalo-game-layout,
  body.gamezone-game-platform .lalo-game-layout {
    grid-template-columns: minmax(0, 1fr) clamp(250px, 20vw, 330px) !important;
    align-items: start !important;
  }

  body.single-game .lalo-game-main-column,
  body.gamezone-game-platform .lalo-game-main-column {
    min-width: 0;
  }

  body.single-game .lalo-similar-rail,
  body.gamezone-game-platform .lalo-similar-rail {
    position: sticky !important;
    top: 82px !important;
    align-self: start !important;
    max-height: calc(100vh - 98px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .site-nav .nav-search-wrap {
    width: min(680px, 54vw) !important;
    max-width: 680px !important;
    min-height: 46px;
    padding: 8px 18px !important;
    border-radius: 18px !important;
    border: 1px solid color-mix(in srgb, var(--lalo-accent, #6c3ce1) 22%, var(--lalo-border, #e2e6f0)) !important;
    background: color-mix(in srgb, var(--lalo-surface, #fff) 94%, var(--lalo-accent, #6c3ce1) 6%) !important;
    box-shadow: 0 8px 24px rgba(35, 45, 85, .08) !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .site-nav .nav-search-wrap:focus-within {
    border-color: var(--lalo-accent, #6c3ce1) !important;
    box-shadow: 0 0 0 4px rgba(108, 60, 225, .11), 0 10px 28px rgba(35, 45, 85, .11) !important;
    background: var(--lalo-surface, #fff) !important;
  }
  .site-nav .nav-search-wrap input {
    font-size: 14px !important;
    min-height: 28px;
  }
  .site-nav .nav-search-wrap svg {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 1024px) {
  body.single-game .lalo-game-layout,
  body.gamezone-game-platform .lalo-game-layout {
    display: block !important;
  }
  body.single-game .lalo-similar-rail,
  body.gamezone-game-platform .lalo-similar-rail {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 18px;
  }
  body.single-game .lalo-similar-grid,
  body.gamezone-game-platform .lalo-similar-grid {
    display: grid !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 12px) / 2) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    padding: 2px 2px 10px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.single-game .lalo-similar-grid::-webkit-scrollbar,
  body.gamezone-game-platform .lalo-similar-grid::-webkit-scrollbar { display: none; }
  body.single-game .lalo-similar-card,
  body.gamezone-game-platform .lalo-similar-card {
    min-width: 0 !important;
    scroll-snap-align: start;
  }
}


/* =====================================================
   LALO v7.7 — Clean category URLs + category browse rail
===================================================== */
.lalo-category-rail-shell {
  position: relative;
  margin: 0 0 22px;
  padding: 2px 0 10px;
  overflow: hidden;
}
.lalo-category-rail-shell::before,
.lalo-category-rail-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 10px;
  width: 34px;
  z-index: 2;
  pointer-events: none;
}
.lalo-category-rail-shell::before {
  left: 0;
  background: linear-gradient(90deg, var(--lalo-page-bg), transparent);
}
.lalo-category-rail-shell::after {
  right: 0;
  background: linear-gradient(270deg, var(--lalo-page-bg), transparent);
}
.lalo-category-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--lalo-accent) transparent;
  padding: 2px 22px 12px;
}
.lalo-category-rail::-webkit-scrollbar { height: 5px; }
.lalo-category-rail::-webkit-scrollbar-track { background: transparent; }
.lalo-category-rail::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--lalo-accent) 72%, transparent);
  border-radius: 999px;
}
.lalo-category-pill {
  flex: 0 0 auto;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--lalo-border);
  border-radius: 999px;
  background: var(--lalo-surface);
  color: var(--lalo-text);
  box-shadow: 0 6px 18px rgba(30, 38, 70, .045);
  scroll-snap-align: start;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.lalo-category-pill span {
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}
.lalo-category-pill small {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--lalo-surface-soft);
  color: var(--lalo-muted);
  font-size: 10px;
  font-weight: 950;
}
.lalo-category-pill:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--lalo-accent) 42%, var(--lalo-border));
  box-shadow: 0 10px 24px rgba(30, 38, 70, .09);
}
.lalo-category-pill.is-current {
  border-color: var(--lalo-accent);
  background: var(--lalo-accent);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--lalo-accent) 25%, transparent);
}
.lalo-category-pill.is-current small {
  background: rgba(255,255,255,.18);
  color: #fff;
}
body.lalo-dark-mode .lalo-category-pill,
body.dark-theme .lalo-category-pill {
  box-shadow: none;
}
@media (max-width: 700px) {
  .lalo-category-rail-shell { margin-bottom: 16px; }
  .lalo-category-rail { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .lalo-category-pill { min-height: 40px; padding: 8px 12px; }
  .lalo-category-pill span { font-size: 12px; }
}
