:root {
  --arcade-focus: #78f1d1;
  --arcade-radius: 18px;
  --fluid-max-width: min(96vw, 1780px);
  --fluid-pad: clamp(14px, 3.2vw, 42px);
  --fluid-gap: clamp(12px, 2vw, 26px);
}
html { -webkit-text-size-adjust:100%; scroll-padding-top:84px; }
body.arcade-responsive { min-width:0; overflow-x:clip; width:100%; }
.arcade-responsive *, .arcade-responsive *::before, .arcade-responsive *::after { box-sizing:border-box; }
.arcade-responsive img { max-width:100%; height:auto; }
.arcade-responsive :where(a,button,input,select,textarea):focus-visible { outline:3px solid var(--arcade-focus); outline-offset:3px; }
.arcade-responsive :where(button,input,select,textarea) { font:inherit; }
.arcade-responsive :where(.site-header, .header, .club-header) :where(.brand-logo, .site-logo, .brand img, .logo img) {
  max-width: 190px !important;
  width: auto !important;
  height: 38px !important;
  max-height: 48px !important;
  object-fit: contain !important;
}

@media (max-width: 600px) {
  .arcade-responsive :where(.site-header, .header, .club-header) :where(.brand-logo, .site-logo, .brand img, .logo img) {
    max-width: 140px !important;
    max-height: 32px !important;
  }
}
.arcade-responsive :where(
  main,
  #main-content,
  .site-header,
  .header,
  .club-header,
  .title-row,
  .page-title,
  .game-shell,
  .club-shell,
  .snake-shell,
  .blocks-shell,
  .bounce-shell,
  .chess-shell,
  .pool-shell,
  .ludo-shell,
  .duck-game-shell,
  .site-footer,
  .club-footer,
  .dashboard-container,
  .about-container,
  .contact-container,
  .leaderboard-container,
  .game-seo-container,
  .game-footer-content,
  .content-grid
) {
  width: 100% !important;
  max-width: var(--fluid-max-width) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

.arcade-responsive :where(
  main:not(.game-viewport),
  .site-header,
  .header,
  .club-header,
  .site-footer,
  .club-footer,
  .dashboard-container,
  .about-container,
  .contact-container,
  .leaderboard-container
) {
  padding-left: var(--fluid-pad) !important;
  padding-right: var(--fluid-pad) !important;
}

@media (max-width: 600px) {
  .arcade-responsive.game-body main#main-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
.arcade-responsive :where(.hero-title, .title-row h1, .page-title h1) {
  font-size: clamp(1.75rem, 3.2vw + 0.6rem, 2.85rem) !important;
  line-height: 1.18 !important;
}
.arcade-responsive :where(.hero-subtitle, .title-row p, .page-title p) {
  font-size: clamp(0.85rem, 0.9vw + 0.5rem, 1.05rem) !important;
  max-width: min(100%, 880px);
}
.arcade-responsive :where(.spotlight-title, .panel-title, .contact-hero h1, .about-hero h1) {
  font-size: clamp(1.35rem, 2.2vw + 0.4rem, 2.15rem) !important;
}
.arcade-responsive :where(.games-grid, .category-game-grid) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(clamp(230px, 20vw, 320px), 1fr)) !important;
  gap: clamp(16px, 2vw, 28px) !important;
  width: 100% !important;
}
@media (min-width: 769px) {
  .arcade-responsive.home-page .games-grid,
  .arcade-responsive.home-page #games-grid,
  .arcade-responsive[data-page="home"] .games-grid,
  .dashboard-container .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(20px, 2vw, 32px) !important;
  }
}
.arcade-responsive .hero-section {
  width: 100% !important;
  max-width: min(100%, 1050px) !important;
}
.arcade-responsive .hero-spotlight {
  width: 100% !important;
  max-width: min(100%, 1240px) !important;
}
.arcade-responsive .hero-stats-strip {
  width: 100% !important;
  max-width: 100% !important;
  flex-wrap: wrap !important;
  gap: clamp(10px, 1.5vw, 24px) !important;
}
.arcade-responsive .soundboard-grid {
  grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 14vw, 200px), 1fr)) !important;
  gap: clamp(12px, 1.8vw, 20px) !important;
  width: 100% !important;
}
.arcade-responsive .tech-specs-grid {
  grid-template-columns: repeat(auto-fill, minmax(clamp(210px, 20vw, 300px), 1fr)) !important;
  gap: clamp(14px, 2vw, 24px) !important;
  width: 100% !important;
}
.arcade-responsive .inquiry-pills-grid {
  grid-template-columns: repeat(auto-fill, minmax(clamp(120px, 14vw, 180px), 1fr)) !important;
  width: 100% !important;
}
.arcade-responsive .game-viewport {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
@media (min-width: 901px) {
  .arcade-responsive :where(.dxball-shell, .snake-shell, .blocks-shell, .flappy-shell, .hen-shell, .roadrunner-shell, .helicopter-shell, .tank-shell, .bounce-shell) .game-viewport {
    display: grid !important;
    grid-template-columns: clamp(230px, 18vw, 310px) 1fr clamp(230px, 18vw, 310px) !important;
    gap: clamp(10px, 1.5vw, 20px) !important;
    padding: clamp(8px, 1vw, 16px) !important;
  }
  .arcade-responsive :where(.dxball-shell, .snake-shell, .blocks-shell, .flappy-shell, .hen-shell, .roadrunner-shell, .helicopter-shell, .tank-shell, .bounce-shell) :where(.game-sidebar, .gameplay-sidebar) {
    min-width: 220px;
    max-width: clamp(240px, 18vw, 310px);
    width: 100%;
    min-height: 0;
  }
}

.arcade-responsive :where(.arcade-cabinet, .arcade-wrapper, .crt-monitor, .canvas-holder, .arcade-screen-container, .arcade-screen-bezel, .crt-screen) {
  width: 100% !important;
  max-width: min(100%, calc((100vh - 160px) * 1.333), 1150px) !important;
  margin-inline: auto !important;
}

.arcade-responsive .tictactoe-frame-wrapper {
  width: 100% !important;
  max-width: min(540px, 92vw) !important;
}
.arcade-responsive .tictactoe-board-container {
  width: 100% !important;
  max-width: min(480px, 86vw, 62vh) !important;
  aspect-ratio: 1 !important;
}
.arcade-responsive .tictactoe-board {
  width: 100% !important;
  height: 100% !important;
}
.arcade-responsive .chess-shell .game-viewport {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  padding: clamp(12px, 2vw, 24px) !important;
  gap: clamp(16px, 2vw, 24px) !important;
  box-sizing: border-box !important;
}

.arcade-responsive .chess-shell .settings-sidebar {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: clamp(250px, 18vw, 300px) !important;
  max-width: 320px !important;
  min-width: 230px !important;
  flex-shrink: 0 !important;
  gap: 16px !important;
  padding: 20px !important;
  background: var(--panel-bg) !important;
  border: 1px solid var(--panel-border) !important;
  border-radius: var(--card-radius) !important;
  box-shadow: var(--shadow-sm) !important;
  box-sizing: border-box !important;
  height: auto !important;
}

.arcade-responsive .chess-shell .settings-sidebar .drawer-header-row {
  display: none !important;
}

.arcade-responsive .chess-shell .settings-sidebar .control-panel-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
}

.arcade-responsive .chess-shell .settings-sidebar .panel-section-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--text-muted) !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  margin: 0 0 2px 0 !important;
  white-space: nowrap !important;
}

.arcade-responsive .chess-shell .settings-sidebar .skin-selector,
.arcade-responsive .chess-shell .settings-sidebar .mode-selector {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}

.arcade-responsive .chess-shell .settings-sidebar .skin-btn,
.arcade-responsive .chess-shell .settings-sidebar .mode-btn {
  padding: 10px 14px !important;
  font-size: 13px !important;
  text-align: left !important;
  width: 100% !important;
  white-space: normal !important;
}

.arcade-responsive .chess-shell .settings-sidebar .mode-name {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}

.arcade-responsive .chess-shell .settings-sidebar .mode-desc {
  display: block !important;
  font-size: 11px !important;
  opacity: 0.7 !important;
  margin-top: 2px !important;
}

.arcade-responsive .chess-shell .settings-sidebar .speed-selector {
  display: flex !important;
  flex-direction: row !important;
  gap: 6px !important;
  width: 100% !important;
}

.arcade-responsive .chess-shell .settings-sidebar .speed-btn {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 8px 4px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.arcade-responsive .chess-shell .settings-sidebar .reset-group {
  margin-top: 4px !important;
}

.arcade-responsive .chess-shell .settings-sidebar .reset-btn {
  width: 100% !important;
  text-align: center !important;
}

.arcade-responsive .chess-shell .chess-game-content-layout {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: clamp(14px, 1.8vw, 24px) !important;
  box-sizing: border-box !important;
}

.arcade-responsive .chess-shell .game-arena-container {
  flex: 1 1 520px !important;
  width: 100% !important;
  max-width: min(100%, 760px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.arcade-responsive .chess-shell .chess-frame-wrapper {
  width: 100% !important;
  max-width: min(100%, 720px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  padding: clamp(12px, 1.8vw, 20px) !important;
}

.arcade-responsive .chess-shell .chess-board-center-column {
  width: 100% !important;
  max-width: min(100%, 580px, 64vh) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

.arcade-responsive .chess-shell .player-card {
  width: 100% !important;
  box-sizing: border-box !important;
}

.arcade-responsive .chess-shell .chess-grid-board-wrapper {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.arcade-responsive .chess-shell .chess-grid-board {
  width: 100% !important;
  max-width: min(100%, 540px, 58vh) !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
}

.arcade-responsive .chess-shell .game-sidebar.gameplay-sidebar {
  width: clamp(260px, 20vw, 320px) !important;
  max-width: 340px !important;
  min-width: 240px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  height: auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  .arcade-responsive .chess-shell .settings-sidebar {
    display: none !important;
  }
  .arcade-responsive .chess-shell .settings-sidebar.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    position: fixed !important;
    top: 56px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99 !important;
    overflow-y: auto !important;
    padding: 24px !important;
  }
  .arcade-responsive .chess-shell .settings-sidebar.mobile-open .drawer-header-row {
    display: flex !important;
  }
  .arcade-responsive .chess-shell .chess-game-content-layout {
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
  }
  .arcade-responsive .chess-shell .game-arena-container {
    width: 100% !important;
    max-width: min(100%, 580px) !important;
  }
  .arcade-responsive .chess-shell .game-sidebar.gameplay-sidebar {
    width: 100% !important;
    max-width: min(100%, 580px) !important;
    order: 2 !important;
  }
}

.arcade-responsive .board-arena {
  width: 100% !important;
  max-width: min(740px, 92vw, 75vh) !important;
}

.arcade-responsive .candy-board-wrap {
  width: 100% !important;
  max-width: min(580px, 92vw, 68vh) !important;
}

.arcade-responsive :where(.pool-table-frame, .viewport) {
  width: 100% !important;
  max-width: min(100%, calc((100vh - 200px) * 1.83), 1250px) !important;
  margin-inline: auto !important;
}

.arcade-responsive :where(.game-header, .game-instructions-bar) {
  padding-inline: clamp(12px, 2vw, 28px) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.arcade-responsive .contact-layout-grid {
  width: 100% !important;
  max-width: 100% !important;
  gap: clamp(18px, 2.5vw, 36px) !important;
}
.arcade-responsive :where(.about-card, .contact-form-card, .channel-card, .scores-table-card) {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: clamp(18px, 2.8vw, 36px) !important;
}
.arcade-responsive .policy-content {
  width: 100% !important;
  max-width: min(100%, 1050px) !important;
}

.arcade-responsive :where(.game-shell,.club-shell) { border-radius:var(--arcade-radius); width:100%; max-width:var(--fluid-max-width); min-width:0; }
.arcade-responsive :where(.game-viewport,.game-arena-container,.pool-arena-container,.pool-arena-table-row,.candy-playfield,.table-area,.chess-game-content-layout,.tictactoe-game-content-layout) { min-width:0; }
.arcade-responsive :where(.game-stats-hud,.header-links,.hud-center,.hud-right,.game-control-buttons,.room-actions) { flex-wrap:wrap; }
.arcade-responsive :where(.header-links,.hud-center,.hud-right) { gap:10px; }
.arcade-responsive :where(.intro-primary-btn,.start-btn,.shoot-button,.btn-primary,.submit-btn,.mobile-settings-toggle) { min-height:44px; }
.arcade-responsive :where(.game-intro-overlay,.game-intro-content,.intro-copy,.intro-visual) { min-width:0; }
.arcade-responsive .game-intro-overlay { overflow:hidden; }
@media(max-width:900px) and (max-height:700px) {
  .arcade-responsive .game-intro-overlay { overflow-y:auto; overscroll-behavior:auto; }
}
.arcade-responsive :where(.intro-title,.page-title,h1) { overflow-wrap:break-word; }
.arcade-responsive :where(.game-seo-container,.game-footer-content,.content-grid) { width:100%; max-width:var(--fluid-max-width); margin-inline:auto; }
.arcade-responsive :where(.game-seo-container,.game-footer-content) :where(p,li) { line-height:1.8; }
.arcade-responsive .arcade-touch-surface { position:relative; isolation:isolate; }
.arcade-controls-overlay { position:absolute; inset:0; z-index:15; pointer-events:none; display:flex; justify-content:space-between; align-items:flex-end; gap:12px; padding:12px max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); }
.arcade-controls-overlay[hidden] { display:none!important; }
.arcade-direction-pad { display:grid; grid-template-columns:repeat(3,44px); grid-template-rows:repeat(3,44px); gap:2px; align-items:center; }
.arcade-direction-pad:empty { display:none; }
.arcade-control { pointer-events:auto; width:44px; height:44px; min-width:44px; min-height:44px; padding:0; border:1px solid #e5fff066!important; border-radius:13px; background:#102137ad!important; color:#f0f8ff!important; box-shadow:0 3px 9px #0003,inset 0 1px 0 #ffffff22; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); touch-action:none; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; font:700 23px/1 system-ui!important; }
.arcade-control.is-held,.arcade-control:active { background:#72eecbe6!important; color:#082b25!important; transform:translateY(1px); }
.direction-up { grid-area:1/2; }.direction-left { grid-area:2/1; }.direction-right { grid-area:2/3; }.direction-down { grid-area:3/2; }
.horizontal-pad { grid-template-columns:repeat(2,48px); grid-template-rows:48px; gap:8px; padding-bottom:8px; }
.horizontal-pad .direction-left { grid-area:1/1; }.horizontal-pad .direction-right { grid-area:1/2; }
.horizontal-pad .arcade-control { width:48px; height:48px; }
.arcade-action-pad { display:flex; flex-direction:row-reverse; align-items:flex-end; gap:9px; padding-bottom:8px; margin-left:auto; }
.arcade-action-pad .arcade-control { width:64px; height:64px; border-radius:50%; font:800 10px/1.2 system-ui!important; letter-spacing:.03em; text-transform:uppercase; padding:5px; }
.arcade-action-pad .action-primary { color:#a8ffe3!important; border-color:#a8ffe399!important; }
.arcade-action-pad .action-secondary { width:52px; height:52px; color:#e1d5ff!important; border-color:#d0bdff77!important; }
@media(any-pointer:coarse),(max-width:1024px) {
  body :is(
    .mobile-dpad-overlay,
    .touch-controls,
    .mobile-touch-bar,
    .touch-controls-container,
    .mobile-controls,
    .tank-mobile-controls,
    .mobile-tank-controls,
    .arcade-joystick-panel,
    .arcade-control-panel,
    .arcade-controls-panel,
    .arcade-big-button-holder,
    .arcade-controls,
    .arcade-bottom-controls,
    .touch-control-panel,
    .mobile-touch-controller,
    .arcade-dpad-container,
    .arcade-dig-buttons-container,
    .ch-touch-controls,
    .arcade-climb-button-holder
  ),
  body :is(
    #mobile-dpad,
    #touch-controls,
    #mobile-tank-controls,
    #mobile-touch-controller,
    #arcade-controls
  ) {
    display: none !important;
  }
}
.arcade-responsive canvas:not([id*="qr"]):not(#candy-fx-canvas) { touch-action:none; }
.arcade-responsive :where(.chess-tile,.tictactoe-cell,.ludo-cell,.candy-cell,.token) { -webkit-tap-highlight-color:transparent; }
.arcade-responsive :where(.footer-nav-link,.header-links a,.footer-links a) { display:inline-flex; align-items:center; min-height:36px; }
.arcade-responsive .contact-status { margin:14px 0 0; padding:12px 15px; border:1px solid #78f1d144; border-radius:10px; line-height:1.6; }
.arcade-responsive .contact-status:empty { display:none; }
.arcade-responsive .contact-status[data-state="error"] { border-color:#ff95a477; color:#ffc5ce; }
.arcade-honeypot { position:absolute!important; left:-10000px!important; top:auto!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.contact-privacy-note { font-size:13px; line-height:1.6; color:var(--text-muted,#a7b4c7); margin:14px 0; }
.contact-privacy-note a { text-decoration:underline; }
.arcade-responsive .policy-content { max-width:820px; margin:0 auto; padding:36px 24px 64px; line-height:1.8; }
.policy-content h2 { margin-top:30px; }.policy-content h3 { margin-top:22px; }.policy-content a { color:#78f1d1; text-decoration:underline; }
.policy-updated { font-size:13px; color:#93a8bf; }
.category-links { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
.category-links a { display:inline-flex; align-items:center; min-height:44px; padding:8px 16px; border:1px solid #78f1d144; border-radius:999px; }
.category-intro { max-width:800px; margin:0 auto 30px; color:#a7b9cd; line-height:1.8; }
@media(max-width:1100px) {
 .arcade-responsive :where(.game-viewport,.pool-viewport,.duck-layout) { gap:16px; }
 .arcade-responsive :where(.gameplay-sidebar,.pool-gameplay-sidebar) { flex-basis:190px; max-width:220px; }
 .arcade-responsive :where(.game-intro-content,.intro-layout) { gap:20px; }
}
@media(max-width:900px) {
 .arcade-responsive :where(.game-body,main) { min-width:0; }
 .arcade-responsive :where(.game-viewport,.pool-viewport,.duck-layout,.chess-game-content-layout,.tictactoe-game-content-layout) { display:flex; flex-direction:column; align-items:stretch; width:100%; max-width:100%; height:auto; padding:12px!important; }
 .arcade-responsive :where(.gameplay-sidebar,.pool-gameplay-sidebar,.duck-record-panel) { width:100%; max-width:none; flex:auto; position:static; }
 .arcade-responsive :where(.game-arena-container,.pool-arena-container,.pool-arena-table-row) { width:100%; max-width:100%; padding:0; }
 .arcade-responsive :where(.arcade-cabinet,.arcade-wrapper,.crt-monitor,.crt-canvas-holder,.canvas-holder,.arcade-screen-container,.arcade-screen-bezel,.crt-screen) { max-width:100%; min-width:0; }
 .arcade-responsive :where(.arcade-screen-container,.arcade-screen-bezel) { padding:0!important; }
 .arcade-responsive :where(.game-stats-hud,.stat-grid) { display:flex; flex-wrap:wrap; gap:8px; }
 .arcade-responsive :where(.game-stats-hud,.stat-grid)>* { flex:1 1 90px; min-width:0; }
 .arcade-responsive :where(.chess-frame-wrapper,.tictactoe-frame-wrapper,.board-arena,.board-container) { max-width:100%; }
 .arcade-responsive .candy-workspace { grid-template-columns:minmax(0,1fr); }
 .arcade-responsive .candy-board-wrap { max-width:100%; }
 .arcade-responsive .workspace { grid-template-columns:minmax(0,1fr); }
 .arcade-responsive .pool-arena-table-row { flex-direction:column; }
 .arcade-responsive .pool-table-frame { max-width:100%; width:100%; padding:8px; }
 .arcade-responsive :where(.pool-controls-bar,.control-strip,.fine-controls) { flex-wrap:wrap; gap:8px; }
 .arcade-responsive .contact-layout-grid { grid-template-columns:minmax(0,1fr); }
 .arcade-responsive .game-shell .game-header { flex-wrap:wrap; gap:10px; height:auto; min-height:56px; }
 .arcade-responsive :where(.site-header,.navbar) { padding-inline:16px; }
 .arcade-responsive :where(.game-seo-container,.content-grid) { padding-inline:20px; }
 .arcade-responsive :where(input,select,textarea) { font-size:16px; }
}
@media(max-width:600px) {
 .arcade-responsive :where(main,.container,.page-container,.game-shell,.club-shell) { min-width:0; }
 .arcade-responsive :where(.title-row,.page-header) { gap:12px; flex-wrap:wrap; }
 .arcade-responsive .header-links { gap:10px; font-size:12px; }
 .arcade-responsive :where(.site-header,.game-header) .brand-logo { max-width:160px; object-fit:contain; }
 .arcade-responsive :where(.game-shell,.club-shell) { border-radius:12px; }
 .arcade-responsive .game-shell canvas:not([id*="qr"]):not(#candy-fx-canvas):not(#game-canvas):not(#snooker-canvas) { max-width:100%!important; height:auto; }
 .arcade-responsive :where(.chess-grid-board,.tictactoe-board) { width:100%; max-width:100%; height:auto; aspect-ratio:1; }
 .arcade-responsive .contact-form-card { padding:20px 16px; }
 .arcade-responsive .contact-form-card .ext-199 { grid-template-columns:1fr; }
 .arcade-responsive :where(.inquiry-pills-grid,.contact-channels-panel) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .arcade-responsive .form-footer-row { flex-wrap:wrap; gap:12px; }
 .arcade-responsive .form-footer-row .submit-btn { width:100%; justify-content:center; }
 .arcade-responsive .content-grid { grid-template-columns:1fr; gap:28px; }
 .arcade-responsive :where(footer,.site-footer) { flex-wrap:wrap; gap:16px; }
 .arcade-responsive footer nav { flex-wrap:wrap; gap:12px; }
 .arcade-responsive .intro-primary-btn { max-width:100%; }
 .arcade-controls-overlay { padding:8px; }
 .arcade-direction-pad { transform-origin:left bottom; }
}
@media(max-height:500px) and (orientation:landscape) {
 .arcade-responsive :where(.game-shell.pseudo-fullscreen,.game-shell:fullscreen,.club-shell.pseudo-fullscreen) :where(.gameplay-sidebar,.pool-gameplay-sidebar,.instructions-bar) { display:none!important; }
 .arcade-controls-overlay { padding-bottom:max(6px,env(safe-area-inset-bottom)); }
 .arcade-direction-pad { grid-template-rows:repeat(3,40px); grid-template-columns:repeat(3,44px); gap:0; }
 .arcade-direction-pad.horizontal-pad { grid-template-rows:44px; grid-template-columns:repeat(2,48px); gap:8px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .arcade-responsive *, .arcade-responsive *::before, .arcade-responsive *::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }
.arcade-responsive .skip-link { position:fixed;top:8px;left:12px;transform:translateY(-160%);z-index:1000000;padding:12px 18px;border-radius:8px;background:#78f1d1;color:#082b25;font-weight:700; }
.arcade-responsive .skip-link:focus { transform:translateY(0); }
.arcade-responsive .arcade-legal-links { display:flex;flex-wrap:wrap;justify-content:center;gap:16px;font-size:12px; }
.arcade-responsive .arcade-legal-links a { min-height:44px;display:inline-flex;align-items:center; }
.arcade-responsive .game-mobile-guide { max-width:900px;padding:28px 24px;margin:20px auto 48px;border:1px solid #78f1d126;border-radius:18px;background:var(--panel-bg,#101728);line-height:1.8; }
.arcade-responsive .game-mobile-guide h2 { font-size:22px;margin:0 0 12px; }
.arcade-responsive .game-mobile-guide a,.arcade-responsive .game-guide a { color:var(--primary-accent,#78f1d1);text-decoration:underline; }
.arcade-responsive .category-hero { text-align:center;padding-block:30px 6px; }
.arcade-responsive .category-intro { color:var(--text-muted,#b4c4d7); }
.arcade-responsive .category-links { justify-content:center; }
.arcade-responsive .category-guide { margin-top:32px;line-height:1.8; }
.arcade-responsive .category-guide h2:not(:first-child) { margin-top:24px; }
.arcade-responsive .mode-table-wrap { overflow-x:auto; }
.arcade-responsive .mode-table { border-collapse:collapse;width:100%;font-size:14px; }
.arcade-responsive .mode-table th,.arcade-responsive .mode-table td { padding:12px;text-align:left;border-bottom:1px solid #97b3c533; }
.arcade-responsive .contact-email { overflow-wrap:anywhere;font-size:14px;color:var(--primary-accent,#78f1d1); }
.arcade-responsive .inquiry-pill { min-height:44px;cursor:pointer; }
.arcade-responsive .submit-btn:disabled { opacity:.6;cursor:not-allowed; }
.arcade-responsive .policy-content { color:var(--text-muted,#b4c4d7); }
.arcade-responsive .policy-content h1,.arcade-responsive .policy-content h2 { color:var(--text-primary,#edf4ff); }
.arcade-responsive .policy-content a { color:var(--primary-accent,#78f1d1); }
@media(max-width:720px) {
 .arcade-responsive .intro-content-wrap { margin-block:auto;flex-shrink:0; }
 .arcade-responsive .intro-mode-switch { flex-wrap:wrap; }
 .arcade-responsive .game-intro-overlay { justify-content:flex-start; }
 .arcade-responsive .contact-channels-panel { display:flex;flex-direction:column; }
 .arcade-responsive .category-game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .arcade-responsive .category-game-grid .game-card { min-width:0; }
}
@media(max-width:420px) {
 .arcade-responsive .category-game-grid { grid-template-columns:minmax(0,1fr); }
 .arcade-responsive .header-controls { gap:8px; }
 .arcade-responsive .player-badge { display:none; }
}
.arcade-responsive .content-grid > .seo-card { grid-column:1 / -1; }
.arcade-responsive .game-guide > .seo-card { width:100%; }
.arcade-responsive .policy-content :where(ol,ul) { padding-left:24px; }
.arcade-responsive .policy-content li + li { margin-top:12px; }
.arcade-responsive .policy-content p { margin-block:12px; }
.arcade-responsive .policy-updated { color:var(--text-muted,#93a8bf); }
[data-theme="light"] .arcade-responsive :where(.policy-content,.game-mobile-guide,.game-guide) a,
[data-theme="light"] .arcade-responsive .contact-email { color:#086e64; }
[data-theme="light"] .arcade-responsive .contact-status[data-state="error"] { color:#9f1239; }
[data-theme="light"] body,
html[data-theme="light"] body {
  background-color: var(--bg-color, #f8fafc) !important;
  background-image: none !important;
}
.arcade-responsive :is(#mobile-settings-toggle, .mobile-settings-toggle, .settings-toggle-btn) {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  min-width: 38px !important;
  min-height: 38px !important;
  width: 38px !important;
  height: 38px !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 10px !important;
  color: #f1f5f9 !important;
  cursor: pointer !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
  z-index: 60 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.arcade-responsive :is(#mobile-settings-toggle, .mobile-settings-toggle, .settings-toggle-btn):hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: scale(1.05);
}
.arcade-responsive .settings-sidebar.mobile-open,
.settings-sidebar.mobile-open {
  display: flex !important;
  flex-direction: column !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(92vw, 360px) !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(9, 14, 28, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.8) !important;
  z-index: 10000000 !important;
  overflow-y: auto !important;
  padding: 24px 20px !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

.arcade-responsive .settings-sidebar.mobile-open .drawer-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.arcade-responsive .settings-sidebar.mobile-open .drawer-close-btn {
  display: inline-flex !important;
  visibility: visible !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  cursor: pointer !important;
}
@media (min-width: 1025px) {
  body[data-game] :is(main#main-content, body > main),
  body.game-body :is(main#main-content, body > main) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: clamp(16px, 1.8vw, 24px) !important;
    row-gap: 24px !important;
    align-items: start !important;
    padding-top: 10px !important;
    max-width: min(97vw, 1780px) !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  body[data-game] :is(main#main-content, body > main) > .title-row,
  body.game-body :is(main#main-content, body > main) > .title-row {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding: 22px 18px !important;
    background: linear-gradient(180deg, rgba(16, 24, 42, 0.8) 0%, rgba(9, 14, 26, 0.92) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-sizing: border-box !important;
  }

  body[data-game] :is(main#main-content, body > main) > .title-row > div:first-child,
  body.game-body :is(main#main-content, body > main) > .title-row > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body[data-game] :is(main#main-content, body > main) > .title-row .eyebrow,
  body.game-body :is(main#main-content, body > main) > .title-row .eyebrow {
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: var(--mint, #38bdf8) !important;
    margin: 0 !important;
  }

  body[data-game] :is(main#main-content, body > main) > .title-row h1,
  body.game-body :is(main#main-content, body > main) > .title-row h1 {
    font-size: clamp(20px, 1.8vw, 26px) !important;
    line-height: 1.22 !important;
    margin: 0 !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    color: #f8fafc !important;
    word-break: break-word !important;
  }

  body[data-game] :is(main#main-content, body > main) > .title-row p,
  body.game-body :is(main#main-content, body > main) > .title-row p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
  }

  body[data-game] :is(main#main-content, body > main) > .title-row .game-tags,
  body.game-body :is(main#main-content, body > main) > .title-row .game-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 6px !important;
    width: 100% !important;
  }

  body[data-game] :is(main#main-content, body > main) > .title-row .game-tags span,
  body.game-body :is(main#main-content, body > main) > .title-row .game-tags span {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    white-space: nowrap !important;
  }
  .game-seo-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    margin-top: 6px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
  }

  .seo-sidebar-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .seo-sidebar-title {
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #f1f5f9 !important;
    margin: 0 !important;
    letter-spacing: -0.2px !important;
  }

  .seo-sidebar-heading {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: var(--mint, #38bdf8) !important;
    margin: 0 !important;
  }

  .seo-sidebar-text {
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
  }

  .seo-sidebar-list,
  .seo-sidebar-tips {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .seo-sidebar-list li,
  .seo-sidebar-tips li {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    color: #cbd5e1 !important;
  }

  .seo-sidebar-list strong,
  .seo-sidebar-tips em {
    color: #f8fafc !important;
    font-style: normal !important;
  }

  .seo-pill-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .seo-pill-link {
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .seo-pill-link:hover {
    background: rgba(120, 241, 209, 0.15) !important;
    border-color: #78f1d1 !important;
    color: #ffffff !important;
  }

  [data-theme="light"] .game-seo-sidebar {
    border-top-color: #e2e8f0 !important;
  }
  [data-theme="light"] .seo-sidebar-title {
    color: #0f172a !important;
  }
  [data-theme="light"] .seo-sidebar-heading {
    color: #0d9488 !important;
  }
  [data-theme="light"] .seo-sidebar-text,
  [data-theme="light"] .seo-sidebar-list li,
  [data-theme="light"] .seo-sidebar-tips li {
    color: #475569 !important;
  }
  [data-theme="light"] .seo-sidebar-list strong,
  [data-theme="light"] .seo-sidebar-tips em {
    color: #0f172a !important;
  }
  [data-theme="light"] .seo-pill-link {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
  }
  [data-theme="light"] .seo-pill-link:hover {
    background: #f1f5f9 !important;
    border-color: #0d9488 !important;
    color: #0d9488 !important;
  }

  [data-theme="light"] body[data-game] :is(main#main-content, body > main) > .title-row,
  [data-theme="light"] body.game-body :is(main#main-content, body > main) > .title-row {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08) !important;
  }
  [data-theme="light"] body[data-game] :is(main#main-content, body > main) > .title-row h1,
  [data-theme="light"] body.game-body :is(main#main-content, body > main) > .title-row h1 {
    color: #0f172a !important;
  }
  [data-theme="light"] body[data-game] :is(main#main-content, body > main) > .title-row p,
  [data-theme="light"] body.game-body :is(main#main-content, body > main) > .title-row p {
    color: #475569 !important;
  }
  [data-theme="light"] body[data-game] :is(main#main-content, body > main) > .title-row .game-tags span,
  [data-theme="light"] body.game-body :is(main#main-content, body > main) > .title-row .game-tags span {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
  }
  body[data-game] :is(main#main-content, body > main) > :is(.game-shell, .club-shell),
  body.game-body :is(main#main-content, body > main) > :is(.game-shell, .club-shell) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body[data-game] :is(main#main-content, body > main) > :not(.title-row):not(.game-shell):not(.club-shell),
  body.game-body :is(main#main-content, body > main) > :not(.title-row):not(.game-shell):not(.club-shell) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 1024px) {
  body[data-game] :is(main#main-content, body > main),
  body.game-body :is(main#main-content, body > main) {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding-top: 8px !important;
    width: 100% !important;
  }

  body[data-game] :is(main#main-content, body > main) > :is(.game-shell, .club-shell),
  body.game-body :is(main#main-content, body > main) > :is(.game-shell, .club-shell) {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body[data-game] :is(main#main-content, body > main) > .title-row,
  body.game-body :is(main#main-content, body > main) > .title-row {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body[data-game] :is(main#main-content, body > main) > :not(.title-row):not(.game-shell):not(.club-shell),
  body.game-body :is(main#main-content, body > main) > :not(.title-row):not(.game-shell):not(.club-shell) {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (min-width: 1025px) and (max-height: 820px) {
  body[data-game] :is(.site-header, .header, .club-header) {
    height: 56px !important;
    min-height: 56px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body[data-game] :is(main#main-content, body > main),
  body.game-body :is(main#main-content, body > main) {
    padding-top: 4px !important;
    row-gap: 16px !important;
  }

  body[data-game] :is(main#main-content, body > main) > :is(.game-shell, .club-shell),
  body.game-body :is(main#main-content, body > main) > :is(.game-shell, .club-shell) {
    max-height: calc(100vh - 72px) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body[data-game] :is(main#main-content, body > main) > .title-row,
  body.game-body :is(main#main-content, body > main) > .title-row {
    padding: 18px 16px !important;
    gap: 10px !important;
  }

  body[data-game] :is(main#main-content, body > main) > .title-row h1,
  body.game-body :is(main#main-content, body > main) > .title-row h1 {
    font-size: 21px !important;
  }

  body[data-game] main > .title-row p,
  body.game-body main > .title-row p {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body[data-game] .ch-canvas-wrap {
    max-height: calc(100vh - 170px) !important;
  }

  body[data-game] .duck-canvas-wrap {
    max-height: calc(100vh - 170px) !important;
  }

  body[data-game] .chess-frame-wrapper {
    max-height: calc(100vh - 160px) !important;
    padding: 8px 12px !important;
  }

  body[data-game] .chess-board-center-column {
    max-width: min(100%, 460px, 58vh) !important;
  }

  body[data-game] .tictactoe-board-container {
    max-width: min(100%, 440px, 55vh) !important;
    max-height: 55vh !important;
  }

  body[data-game] .ludo-stage {
    max-height: calc(100vh - 150px) !important;
  }

  body[data-game] #ludo-board {
    max-width: min(100%, 440px, 55vh) !important;
    max-height: min(100%, 440px, 55vh) !important;
  }

  body[data-game] .candy-workspace {
    max-height: calc(100vh - 150px) !important;
  }

  body[data-game] .candy-board-wrap {
    max-width: min(100%, 440px, 55vh) !important;
    max-height: min(100%, 440px, 55vh) !important;
  }

  body[data-game] .table-area {
    padding: 4px 8px 0 !important;
  }

  body[data-game] .viewport {
    max-height: calc(100vh - 210px) !important;
  }

  body[data-game] .stage {
    min-height: 0 !important;
    max-height: calc(100vh - 150px) !important;
  }

  body[data-game] .arcade-screen-container {
    max-height: calc(100vh - 160px) !important;
  }

  body[data-game] .game-viewport {
    padding: 8px 12px !important;
  }

  body[data-game] :is(.instructions-bar, .game-instructions-bar, .ch-instructions-bar) {
    padding: 6px 16px !important;
  }
}
@media (min-width: 769px) {
  .poki-quick-nav,
  .mobile-hero-featured,
  .mobile-app-back-btn,
  .mobile-game-info-badge,
  .mobile-landscape-overlay {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body:not(.game-body):not([data-game]) {
    background: #6fe5d1 !important;
    background: radial-gradient(circle at 50% 0%, #8ef7e5 0%, #5fe0c9 45%, #2ad0b2 100%) fixed !important;
    min-height: 100vh !important;
  }
  body:not(.game-body):not([data-game]) .header {
    background: #ffffff !important;
    border-radius: 9999px !important;
    margin: 12px 14px 16px 14px !important;
    height: 54px !important;
    padding: 0 16px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: sticky !important;
    top: 10px !important;
    z-index: 1000 !important;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    border: none !important;
  }

  body:not(.game-body):not([data-game]) .header .logo img,
  body:not(.game-body):not([data-game]) .header .site-logo {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
  }

  body:not(.game-body):not([data-game]) .header-controls {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .poki-quick-nav {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .poki-quick-btn {
    font-size: 19px !important;
    line-height: 1 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    transition: transform 0.15s ease !important;
  }
  .poki-quick-btn:active {
    transform: scale(0.88) !important;
  }

  body:not(.game-body):not([data-game]) .header-search-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #1e293b !important;
    border-radius: 50% !important;
    cursor: pointer !important;
  }
  body:not(.game-body):not([data-game]) .header-search-btn .search-key-hint {
    display: none !important;
  }

  body:not(.game-body):not([data-game]) .player-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #0f172a !important;
    padding: 0 !important;
    border: none !important;
  }
  body:not(.game-body):not([data-game]) .player-badge .player-info {
    display: none !important;
  }
  body:not(.game-body):not([data-game]) .player-badge .player-avatar {
    font-size: 16px !important;
    margin: 0 !important;
  }

  body:not(.game-body):not([data-game]) :is(.theme-toggle-btn, .nav-menu) {
    display: none !important;
  }
  .hero-section {
    padding: 0 !important;
  }
  :is(.hero-section, main.dashboard-container) :is(.arcade-status-pill, .hero-title, .hero-subtitle, .hero-stats-strip, .category-links, .daily-challenge-banner) {
    display: none !important;
  }
  .daily-challenge-banner {
    display: none !important;
  }

  .hero-spotlight {
    border-radius: 26px !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 4px auto 16px auto !important;
    aspect-ratio: 1 / 1.05 !important;
    min-height: 330px !important;
    max-height: 420px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18) !important;
    border: none !important;
    display: block !important;
    background: #0b132b !important;
  }
  .hero-spotlight::before {
    display: none !important;
  }

  .hero-spotlight :is(.spotlight-content, .spotlight-preview-box, .spotlight-crt-scanline) {
    display: none !important;
  }

  .mobile-hero-featured {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
  }
  .mobile-hero-art {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
  }

  .mobile-hero-play-circle {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    text-decoration: none !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  }
  .mobile-hero-play-circle:active {
    transform: translate(-50%, -50%) scale(0.92) !important;
  }
  .mobile-hero-play-circle svg {
    margin-left: 4px !important;
    fill: #0284c7 !important;
    width: 34px !important;
    height: 34px !important;
  }

  .mobile-hero-bottom-bar {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 4 !important;
    padding: 40px 18px 18px 18px !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.45) 30%, rgba(0,0,0,0.92) 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }
  .mobile-hero-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
  }
  .mobile-hero-author {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #7dd3fc !important;
  }
  .filter-toolbar {
    display: none !important;
  }

  :is(.games-grid, .category-game-grid) {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 0 auto !important;
    padding: 0 0 36px 0 !important;
  }

  :is(.games-grid, .category-game-grid) .game-card {
    position: relative !important;
    border-radius: 18px !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    transition: transform 0.15s ease !important;
    text-decoration: none !important;
  }
  :is(.games-grid, .category-game-grid) .game-card:active {
    transform: scale(0.96) !important;
  }

  :is(.games-grid, .category-game-grid) .game-card-banner {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    inset: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #0f172a !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
  :is(.games-grid, .category-game-grid) .game-card-banner::after {
    display: none !important;
  }
  :is(.games-grid, .category-game-grid) .game-card-banner img,
  :is(.games-grid, .category-game-grid) .game-card-banner .card-art-canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 18px !important;
  }

  :is(.games-grid, .category-game-grid) .game-card-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 4px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  :is(.games-grid, .category-game-grid) .game-card-body .game-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0b212d !important;
    text-align: center !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    padding: 0 2px !important;
    width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.01em !important;
    min-height: 34px !important;
  }
  body[data-theme="dark"] :is(.games-grid, .category-game-grid) .game-card-body .game-title {
    color: #f8fafc !important;
  }

  :is(.games-grid, .category-game-grid) .game-card-body .play-btn {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    z-index: 10 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: auto !important;
  }
  :is(.games-grid, .category-game-grid) .game-card-body :is(.game-desc, .game-meta-row) {
    display: none !important;
  }
  :is(.games-grid, .category-game-grid) .game-card :is(.tag, .card-mode-badge, .card-fav-btn, .game-badge) {
    display: none !important;
  }
}
@media (max-width: 768px), (max-height: 520px) and (orientation: landscape) {
  body.game-body,
  body[data-game] {
    overflow: hidden !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #070c18 !important;
  }

  body[data-game] :is(.site-header, .header, .club-header) {
    display: none !important;
  }

  body[data-game] main#main-content,
  body[data-game] main {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body[data-game] :is(.title-row, .page-title) {
    display: none !important;
  }

  body[data-game] :is(.site-footer, .club-footer, .game-seo-container, .game-footer-content, .content, .game-mobile-guide, #how-to-play) {
    display: none !important;
  }

  body[data-game] :is(.game-shell, .club-shell) {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 52px 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 100 !important;
    background: #070c18 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }
  .mobile-game-info-badge {
    position: fixed !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    height: 52px !important;
    z-index: 100001 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(11, 19, 43, 0.95) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    padding: 0 10px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: none !important;
    user-select: none !important;
    box-sizing: border-box !important;
  }
  .mobile-game-info-badge .mobile-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }
  .mobile-game-info-badge .mobile-app-close-btn,
  .mobile-app-back-btn {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .mobile-game-info-badge .mobile-app-close-btn:active,
  .mobile-app-back-btn:active {
    transform: scale(0.92) !important;
    background: rgba(239, 68, 68, 0.35) !important;
  }
  .mobile-game-info-badge .close-cross {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #ffffff !important;
  }

  .mobile-game-info-badge .mobile-header-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
  }
  .mobile-game-info-badge .badge-thumb {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    object-fit: cover !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    flex-shrink: 0 !important;
  }
  .mobile-game-info-badge .badge-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #f8fafc !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    max-width: 82px !important;
  }
  .mobile-game-info-badge .mobile-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .mobile-diff-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .mobile-diff-select {
    height: 32px !important;
    padding: 0 8px !important;
    border-radius: 9999px !important;
    background: rgba(14, 165, 233, 0.18) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.15s ease !important;
    max-width: 95px !important;
    text-overflow: ellipsis !important;
  }
  .mobile-diff-select:focus {
    border-color: #38bdf8 !important;
    background: rgba(14, 165, 233, 0.3) !important;
  }
  .mobile-diff-select option {
    background: #0b132b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }
  .mobile-settings-box {
    position: relative !important;
    display: inline-flex !important;
  }
  .mobile-game-info-badge :is(#mobile-settings-toggle, .mobile-settings-toggle),
  .mobile-game-info-badge :is(#mobile-burger-toggle, .mobile-burger-toggle) {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #f8fafc !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .mobile-game-info-badge :is(#mobile-settings-toggle, .mobile-settings-toggle):active,
  .mobile-game-info-badge :is(#mobile-burger-toggle, .mobile-burger-toggle):active {
    transform: scale(0.92) !important;
  }
  .mobile-game-info-badge #mobile-burger-toggle {
    font-weight: 800 !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }
  .mobile-settings-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 210px !important;
    background: rgba(11, 19, 43, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    z-index: 100003 !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    animation: mobileDropdownFadeIn 0.18s ease-out !important;
  }
  .mobile-settings-dropdown[hidden] {
    display: none !important;
  }
  @keyframes mobileDropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .settings-dropdown-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 2px 4px 6px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #94a3b8 !important;
  }
  .settings-close-x {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 2px 4px !important;
  }
  .settings-dropdown-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  .settings-dropdown-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 9px 10px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    color: #f1f5f9 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: background 0.15s ease !important;
  }
  .settings-dropdown-item:active {
    background: rgba(255, 255, 255, 0.14) !important;
  }
  .setting-item-icon {
    font-size: 15px !important;
    line-height: 1 !important;
  }
  .setting-item-label {
    flex: 1 !important;
  }
  .setting-item-state {
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
  }
  .setting-item-state.active {
    background: #10b981 !important;
    color: #ffffff !important;
  }
  :is(#fullscreen-toggle, #fullscreen-button, .fullscreen-toggle-btn, .fullscreen-btn, .arcade-fs-btn) {
    display: none !important;
  }
  .mobile-drawer-overlay {
    z-index: 100004 !important;
  }
  .mobile-drawer {
    z-index: 100005 !important;
  }
  body[data-game] :is(.game-header, .ch-header-bar) {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }
  body[data-game] :is(.game-header, .ch-header-bar) :not(#mobile-settings-toggle):not(.mobile-settings-toggle) {
    display: none !important;
  }
  body[data-game] :is(.ch-marquee-badge, .arcade-marquee, .keyboard-legend, .instructions-bar, .game-instructions-bar, .ch-instructions-bar) {
    display: none !important;
  }
  body[data-game] :is(
    .mobile-dpad-overlay,
    .touch-controls,
    .mobile-touch-bar,
    .touch-controls-container,
    .mobile-controls,
    .tank-mobile-controls,
    .mobile-tank-controls,
    .arcade-joystick-panel,
    .arcade-control-panel,
    .arcade-controls-panel,
    .arcade-big-button-holder,
    .arcade-controls,
    .arcade-bottom-controls,
    .touch-control-panel,
    .mobile-touch-controller,
    .arcade-dpad-container,
    .arcade-dig-buttons-container,
    .ch-touch-controls,
    .arcade-climb-button-holder
  ),
  body[data-game] :is(
    #mobile-dpad,
    #touch-controls,
    #mobile-tank-controls,
    #mobile-touch-controller,
    #arcade-controls
  ) {
    display: none !important;
  }
  body[data-game] :is(.game-viewport, .viewport, .workspace, .stage, .ch-screen-bezel, .ch-canvas-wrap) {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: calc(100dvh - 52px) !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  body[data-game] :is(.arcade-wrapper, .ch-wrapper, .arcade-screen-container) {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body[data-game] :is(canvas:not([id*="qr"])) {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
}
@media (max-width: 950px) and (orientation: landscape), (max-height: 520px) and (orientation: landscape) {
  body[data-game="snooker"] .club-shell,
  body[data-game="pool"] .pool-shell {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    overflow: hidden !important;
    background: #070c18 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }
  body[data-game="snooker"] .scoreboard {
    flex: 0 0 28px !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 0 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(7, 11, 23, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-sizing: border-box !important;
    z-index: 50 !important;
  }

  body[data-game="snooker"] .scoreboard .player {
    gap: 6px !important;
  }
  body[data-game="snooker"] .scoreboard .player .name {
    font-size: 10px !important;
  }
  body[data-game="snooker"] .scoreboard .player .score {
    font-size: 16px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
  body[data-game="snooker"] .scoreboard .player .avatar,
  body[data-game="snooker"] .scoreboard .player .meta,
  body[data-game="snooker"] .scoreboard .player.active:after {
    display: none !important;
  }
  body[data-game="snooker"] .scoreboard .frame-info {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  body[data-game="snooker"] .scoreboard .frame-info small {
    display: none !important;
  }
  body[data-game="snooker"] .scoreboard .frame-score {
    font-size: 9px !important;
    margin: 0 !important;
    letter-spacing: 0.05em !important;
  }
  body:is([data-game="snooker"], [data-game="pool"]) .mobile-app-back-btn {
    top: 2px !important;
    left: 8px !important;
    height: 24px !important;
    padding: 1px 6px !important;
    gap: 3px !important;
    z-index: 100 !important;
  }
  body:is([data-game="snooker"], [data-game="pool"]) .mobile-app-back-btn .back-arrow {
    font-size: 13px !important;
  }
  body:is([data-game="snooker"], [data-game="pool"]) .mobile-app-back-btn .back-pill-icon {
    width: 16px !important;
    height: 16px !important;
  }
  body:is([data-game="snooker"], [data-game="pool"]) .mobile-app-back-btn .back-pill-icon img {
    width: 11px !important;
    height: 11px !important;
  }

  body:is([data-game="snooker"], [data-game="pool"]) :is(#mobile-settings-toggle, .mobile-settings-toggle) {
    top: 2px !important;
    right: 8px !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
    z-index: 100 !important;
  }
  body[data-game="snooker"] .workspace {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: calc(100dvh - 28px) !important;
    max-height: calc(100dvh - 28px) !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body[data-game="snooker"] .table-area {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  body[data-game="snooker"] #table-viewport,
  body[data-game="snooker"] .viewport {
    flex: 1 1 auto !important;
    width: min(100vw - 12px, calc((100dvh - 28px - 38px) * 1.83)) !important;
    max-width: min(100vw - 12px, calc((100dvh - 28px - 38px) * 1.83)) !important;
    height: min(calc(100dvh - 28px - 38px), calc((100vw - 12px) / 1.83)) !important;
    max-height: calc(100dvh - 28px - 38px) !important;
    aspect-ratio: 1.83 / 1 !important;
    margin: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  body[data-game="snooker"] .canvas-wrap {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1.83 / 1 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body[data-game="snooker"] #snooker-canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 1.83 / 1 !important;
    object-fit: contain !important;
    display: block !important;
  }

  body[data-game="snooker"] .sidebar,
  body[data-game="snooker"] .table-topbar,
  body[data-game="snooker"] .table-status,
  body[data-game="snooker"] .bottom-note,
  body[data-game="snooker"] #decision-bar {
    display: none !important;
  }
  body[data-game="snooker"] .control-strip {
    flex: 0 0 38px !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 2px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: rgba(7, 11, 23, 0.96) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-sizing: border-box !important;
    z-index: 50 !important;
  }

  body[data-game="snooker"] .control-strip .fine-controls button {
    width: 26px !important;
    height: 26px !important;
  }

  body[data-game="snooker"] .control-strip .power-control {
    flex: 0 1 140px !important;
    min-width: 80px !important;
  }

  body[data-game="snooker"] .control-strip .shoot-button {
    min-height: 28px !important;
    padding: 3px 14px !important;
    font-size: 10px !important;
  }

  body[data-game="snooker"] .control-strip .spin-pad {
    width: 28px !important;
    height: 28px !important;
  }
  body[data-game="pool"] .pool-arena-container {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  body[data-game="pool"] .pool-match-hud {
    flex: 0 0 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 46px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body[data-game="pool"] .pool-arena-table-row {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: calc(100dvh - 28px - 38px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body[data-game="pool"] .pool-table-frame {
    flex: 1 1 auto !important;
    width: min(100vw - 12px, calc((100dvh - 28px - 38px) * 2)) !important;
    max-width: min(100vw - 12px, calc((100dvh - 28px - 38px) * 2)) !important;
    height: min(calc(100dvh - 28px - 38px), calc((100vw - 12px) / 2)) !important;
    max-height: calc(100dvh - 28px - 38px) !important;
    aspect-ratio: 2 / 1 !important;
    margin: auto !important;
  }

  body[data-game="pool"] #pool-canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 2 / 1 !important;
    object-fit: contain !important;
    display: block !important;
  }

  body[data-game="pool"] .pool-controls-bar {
    flex: 0 0 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 2px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body[data-game="pool"] .hud-center {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 50 !important;
  }
  body:is([data-game="snooker"], [data-game="pool"]) .mobile-game-info-badge {
    display: none !important;
  }
}
.force-landscape-rotate {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  width: 100dvh !important;
  height: 100dvw !important;
  transform: translate(-50%, -50%) rotate(90deg) !important;
  transform-origin: center center !important;
  z-index: 9999 !important;
}
.mobile-landscape-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(7, 12, 24, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 9999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  transition: opacity 0.3s ease !important;
}
.mobile-landscape-overlay.is-landscape,
.mobile-landscape-overlay.dismissed {
  display: none !important;
}
.landscape-prompt-card {
  background: linear-gradient(145deg, #13223f, #0b1526) !important;
  border: 1px solid rgba(120, 241, 209, 0.3) !important;
  border-radius: 20px !important;
  padding: 28px 24px !important;
  text-align: center !important;
  max-width: 320px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
  color: #f1f5f9 !important;
}
.landscape-icon-anim {
  font-size: 40px !important;
  margin-bottom: 12px !important;
  animation: rotate-phone-pulse 2s infinite ease-in-out !important;
}
@keyframes rotate-phone-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(90deg); }
}
.landscape-prompt-card h3 {
  margin: 0 0 8px 0 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #78f1d1 !important;
}
.landscape-prompt-card p {
  margin: 0 0 20px 0 !important;
  font-size: 13px !important;
  color: #94a3b8 !important;
  line-height: 1.5 !important;
}
.landscape-btn-row {
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
}
.landscape-rotate-btn {
  background: #78f1d1 !important;
  color: #070c18 !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  cursor: pointer !important;
}
.landscape-dismiss-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  cursor: pointer !important;
}
@media (max-width: 768px), (max-height: 520px) and (orientation: landscape) {
  .overlay:not([hidden]):not(.hidden),
  .duck-overlay:not([hidden]):not(.hidden),
  .candy-overlay:not([hidden]):not(.hidden),
  .screen-overlay:not([hidden]):not(.hidden),
  .ch-overlay:not([hidden]):not(.hidden),
  .game-intro-overlay:not([hidden]):not(.intro-hidden),
  #setup-overlay:not([hidden]):not(.hidden),
  #overlay-intro:not([hidden]):not(.hidden),
  #intro-overlay:not([hidden]):not(.hidden),
  #result-overlay:not([hidden]):not(.hidden),
  #levels-overlay:not([hidden]):not(.hidden) {
    padding: 44px 10px 56px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  [hidden], .hidden, .intro-hidden {
    display: none !important;
  }
  .dialog,
  .duck-panel,
  .candy-panel,
  .screen-panel,
  .ch-panel,
  .result-panel,
  #setup-overlay .dialog,
  .snooker-multiplayer-dialog {
    width: min(94vw, 350px) !important;
    max-width: 94vw !important;
    max-height: calc(100dvh - 104px) !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: auto !important;
  }
  .dialog .crest {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    margin: 0 auto 3px auto !important;
  }
  .dialog .kicker,
  .ch-badge-pill {
    font-size: 7.5px !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 2px !important;
    padding: 2px 7px !important;
  }
  .dialog h2,
  .duck-panel h2,
  .screen-panel h2,
  .result-panel h2,
  .ch-panel-title {
    font-size: clamp(14px, 3.5vw, 17px) !important;
    line-height: 1.15 !important;
    margin: 1px 0 3px !important;
  }
  .dialog p,
  .duck-panel p,
  .screen-panel p,
  .result-panel p,
  .ch-panel-desc {
    font-size: clamp(9px, 2.2vw, 10.5px) !important;
    line-height: 1.25 !important;
    margin: 0 0 5px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .dialog .field-label,
  .selector-label,
  .ch-garage-title {
    font-size: 7.5px !important;
    margin: 2px 0 2px !important;
    letter-spacing: 0.08em !important;
  }
  .segmented,
  .ch-modes-row {
    padding: 2px !important;
    gap: 3px !important;
    margin-bottom: 5px !important;
  }
  .segmented button,
  .ch-mode-btn {
    font-size: 8.5px !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
    min-height: 26px !important;
  }
  .setup-row {
    gap: 6px !important;
    margin-top: 2px !important;
  }
  .setup-row select {
    padding: 3px 6px !important;
    font-size: 9.5px !important;
    border-radius: 5px !important;
  }
  .dialog .wide-button,
  .dialog #start-match,
  .ch-btn-start,
  .duck-start-btn,
  .result-panel button {
    margin-top: 5px !important;
    padding: 6px 10px !important;
    font-size: 9.5px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
  }

  .ch-start-actions {
    gap: 6px !important;
    margin-top: 3px !important;
  }
  .ch-start-actions .ch-btn-start {
    font-size: 9px !important;
    padding: 6px 8px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
  }
  .ch-garage-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
    margin-bottom: 5px !important;
  }
  .ch-car-card {
    padding: 4px 6px !important;
    border-radius: 7px !important;
    gap: 1px !important;
  }
  .ch-car-card-emoji {
    font-size: 1.1rem !important;
  }
  .ch-car-card-name {
    font-size: 0.65rem !important;
  }
  .ch-car-card-spec {
    font-size: 0.52rem !important;
  }
}
@media (max-width: 992px) {
  body:not(.game-body):not([data-game]) .mobile-menu-btn { display: flex !important; flex-shrink: 0; }
}
@media (max-width: 768px) {
  body:not(.game-body):not([data-game]) .header {
    box-sizing: border-box !important;
    gap: 8px !important;
    overflow: visible !important;
    padding-inline: 12px !important;
  }
  body:not(.game-body):not([data-game]) .header > .logo {
    min-width: 0 !important;
    flex: 0 1 auto !important;
    display: flex !important;
    align-items: center !important;
  }
  body:not(.game-body):not([data-game]) .header .site-logo {
    max-width: 100% !important;
    object-fit: contain !important;
  }
  body:not(.game-body):not([data-game]) .header-controls {
    min-width: 0 !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
  }
  body:not(.game-body):not([data-game]) .header-search-btn,
  body:not(.game-body):not([data-game]) .header-controls .player-badge,
  body:not(.game-body):not([data-game]) .header-controls .theme-toggle-btn {
    display: none !important;
  }
  body:not(.game-body):not([data-game]) .mobile-menu-btn {
    display: flex !important;
    position: static !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #0f172a !important;
    border: 0 !important;
    box-shadow: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1 !important;
  }
  body:not(.game-body):not([data-game]) .mobile-menu-btn .hamburger-bar {
    background: #fff !important;
  }
  body:not(.game-body):not([data-game]) .poki-quick-nav { gap: 3px !important; }
  body:not(.game-body):not([data-game]) .poki-quick-btn {
    width: 27px !important;
    height: 32px !important;
    font-size: 17px !important;
  }
}
@media (max-width: 390px) {
  body:not(.game-body):not([data-game]) .poki-quick-btn:nth-child(2),
  body:not(.game-body):not([data-game]) .poki-quick-btn:nth-child(3) {
    display: none !important;
  }
}
