/**
 * Mobile viewport & overflow fixes — prevents “zoomed in” feel on phones
 */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.site-body,
.page-content,
.hub-shell,
.hub-main,
.home-main {
  max-width: 100%;
  min-width: 0;
}

/* Background plane must not force horizontal scroll (100vmax was the main culprit) */
.game-thumb-bg {
  max-width: 100%;
  overflow: hidden;
  contain: strict;
}

.game-thumb-bg__plane {
  min-width: 0;
  min-height: 0;
  width: max(var(--plane-w), 120%);
  height: max(var(--plane-h), 120%);
}

/* iOS: 16px+ on inputs stops focus-zoom */
.home-crazy .site-header .search input,
.contact-field input,
.contact-field select,
.contact-field textarea,
.library-control select {
  font-size: max(16px, 1rem);
}

/* ─── Homepage header: two rows on phones so nothing overflows ─── */
@media (max-width: 640px) {
  :root {
    /* Two-row header: logo row + full-width search */
    --header-h: 100px;
    --effective-header-h: 100px;
  }

  .home-crazy .site-header {
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    min-height: var(--header-h);
    gap: 0.45rem 0.5rem;
    padding: 0.45rem max(0.65rem, env(safe-area-inset-right))
      0.55rem max(0.65rem, env(safe-area-inset-left));
  }

  .home-crazy .site-header .logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .home-crazy .site-header .logo-img {
    height: 36px;
    max-width: min(140px, 38vw);
  }

  .home-crazy .site-header .header-contact-btn {
    order: 2;
    margin-left: 0;
    padding: 0.42rem 0.75rem;
    font-size: 0.78rem;
  }

  .home-crazy .site-header .menu-toggle--hub {
    order: 3;
    width: 40px;
    height: 40px;
  }

  .home-crazy .site-header .header-actions {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .home-crazy .site-header .search {
    padding: 0.5rem 0.85rem 0.5rem 2.35rem;
  }

  .hub-welcome {
    padding: 1.15rem 1rem 1.35rem;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .hub-welcome h1 {
    font-size: clamp(1.2rem, 5.5vw, 1.45rem);
  }

  .hub-welcome__desc {
    font-size: 0.9rem;
  }

  .hub-welcome__actions {
    gap: 0.55rem;
  }

  .hub-welcome__actions .btn {
    font-size: 0.88rem;
    padding: 0.65rem 1rem;
  }

  .game-row-wrap {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .home-crazy .home-main {
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
  }

  .home-crazy .hub-main .site-footer {
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
  }
}

@media (max-width: 380px) {
  .home-crazy .site-header .header-contact-btn {
    padding: 0.42rem 0.55rem;
    font-size: 0.72rem;
  }

  .home-crazy {
    --hub-row-card: 96px;
  }

  .hub-welcome__meta {
    gap: 0.35rem;
  }

  .hub-pill {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
  }
}

/* Static / contact pages */
@media (max-width: 640px) {
  .static-page {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .site-header:not(.site-header--hub) {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-h);
    gap: 0.5rem;
    padding: 0.5rem max(0.75rem, env(safe-area-inset-right))
      0.5rem max(0.75rem, env(safe-area-inset-left));
  }

  .site-header:not(.site-header--hub) .logo-img {
    height: 38px;
    max-width: 42vw;
  }

  .site-header:not(.site-header--hub) .btn-ghost {
    font-size: 0.82rem;
    padding: 0.45rem 0.65rem;
  }
}

/* Play page */
@media (max-width: 640px) {
  .play-header {
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
  }

  .play-layout {
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
  }
}

/* ─── Phone performance (iPhone 11 class devices) ─── */
@media (max-width: 768px) {
  /* Static gradient instead of RAF + hundreds of blurred tiles */
  .game-thumb-bg.is-mobile-static {
    display: none !important;
  }

  body.home-crazy::before,
  body.has-thumb-bg::before,
  body.has-thumb-bg.play-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 90% 55% at 50% -8%, rgba(124, 58, 237, 0.22), transparent 58%),
      radial-gradient(ellipse 70% 45% at 100% 40%, rgba(59, 130, 246, 0.1), transparent 50%),
      linear-gradient(168deg, #0c0818 0%, #120a22 45%, #0a0612 100%);
  }

  /* backdrop-filter is very expensive on iOS Safari */
  .site-header,
  .home-crazy .site-header,
  .hub-sidebar,
  .hub-drawer__panel,
  .hub-drawer__backdrop,
  .search-dropdown,
  .contact-modal__backdrop,
  .contact-modal__panel,
  .play-header,
  .play-sidebar,
  .play-glass,
  .game-stage-wrap {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .home-crazy .site-header {
    background: rgba(12, 8, 22, 0.94);
  }

  .hub-drawer__panel,
  .hub-sidebar {
    background: #0c0818 !important;
  }

  .contact-modal__panel {
    background: rgba(16, 12, 28, 0.98);
  }

  /* Decorative motion off */
  .bg-glow::after,
  .bg-glow--fantasy::after,
  .hub-welcome__card::before,
  .hub-pill--pulse,
  #magic-ripples {
    animation: none !important;
    display: none !important;
  }

  .game-fav-btn.is-active,
  .game-fav-btn:hover,
  .game-tag,
  .hero-badge,
  .play-btn {
    animation: none !important;
  }

  /* Defer paint for off-screen category rows */
  .game-section--category,
  .user-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 380px;
  }

  /* Faster taps, less scroll jank */
  a,
  button,
  .game-card-link,
  .nav-link,
  .cat-chip {
    touch-action: manipulation;
  }

  .game-row {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .hub-welcome__thumb img,
  .game-thumb-bg__track {
    will-change: auto;
  }

  /* Lighter hero card on phones */
  .hub-welcome__card {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  }

  .hub-welcome__card.is-hero-active {
    transition: none;
  }

  body.has-thumb-bg.play-page {
    background: #0c0818;
  }

  body.has-thumb-bg.play-page .play-sidebar,
  body.has-thumb-bg.play-page .play-similar-mobile {
    background: rgba(14, 10, 26, 0.96) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.has-thumb-bg.play-page .similar-list--grid,
  body.has-thumb-bg.play-page .play-sidebar .similar-list {
    background: transparent;
  }
}

html.vixo-mobile .game-thumb-bg:not(.is-ready) {
  opacity: 0;
}

/* ═══════════════════════════════════════════════════════════
   Mobile UX — clean overview, less clutter, easier scanning
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .bg-glow,
  .bg-glow--fantasy {
    display: none !important;
  }

  /* Hero: text + actions only — no duplicate big card */
  .hub-welcome {
    display: block;
    padding: 1rem 0 1.1rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hub-welcome__card {
    display: none !important;
  }

  .hub-welcome__eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
  }

  .hub-welcome h1 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
  }

  .hub-welcome__desc {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
    color: var(--text-muted);
  }

  .hub-welcome__meta {
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
  }

  .hub-welcome__meta .hub-pill--soft {
    display: none;
  }

  .hub-welcome__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .hub-welcome__actions .btn {
    justify-content: center;
    width: 100%;
    min-height: 44px;
  }

  /* Quick filters duplicate the menu — hide on phone */
  .home-crazy .quick-filters {
    display: none !important;
  }

  /* CrazyGames-style: smaller thumbs + swipe horizontally */
  .home-crazy {
    --hub-row-card: 112px;
    --hub-row-gap: 0.5rem;
  }

  .game-row-wrap {
    position: relative;
    margin: 0 -0.15rem;
    --hub-thumb-h: var(--hub-row-card);
  }

  .game-row-wrap:has(.game-card--featured) {
    --hub-thumb-h: calc(var(--hub-row-card) * 10 / 16);
  }

  .game-row-wrap::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0.5rem;
    width: 2rem;
    pointer-events: none;
    background: linear-gradient(to left, rgba(12, 8, 22, 0.92), transparent);
    z-index: 2;
  }

  .game-row-scroll {
    display: none !important;
  }

  .game-row-wrap .game-grid--row,
  .home-crazy .category-sections .game-grid--row,
  .home-crazy .category-sections .game-grid--dense.game-grid--row,
  .home-crazy .user-section .game-grid--dense {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: unset !important;
    gap: var(--hub-row-gap) !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 0.15rem 0.35rem 0.65rem !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .game-row-wrap .game-grid--row::-webkit-scrollbar,
  .home-crazy .category-sections .game-grid--row::-webkit-scrollbar,
  .home-crazy .user-section .game-grid--dense::-webkit-scrollbar {
    display: none;
  }

  .game-row-wrap .game-grid--row .game-card,
  .home-crazy .category-sections .game-grid--row .game-card,
  .home-crazy .user-section .game-grid--dense .game-card {
    flex: 0 0 var(--hub-row-card) !important;
    width: var(--hub-row-card) !important;
    min-width: var(--hub-row-card);
    scroll-snap-align: start;
  }

  .game-row-wrap .game-card--featured {
    flex: 0 0 calc(var(--hub-row-card) * 1.45) !important;
    width: calc(var(--hub-row-card) * 1.45) !important;
    min-width: calc(var(--hub-row-card) * 1.45);
  }

  .game-row-wrap .game-card-link,
  .home-crazy .category-sections .game-card-link,
  .home-crazy .user-section .game-card-link {
    aspect-ratio: 1;
    border-radius: 10px;
  }

  .game-row-wrap .game-card--featured .game-card-link {
    aspect-ratio: 16 / 10;
  }

  .game-row-wrap .game-card h3,
  .home-crazy .category-sections .game-card h3,
  .home-crazy .user-section .game-card h3 {
    font-size: 0.72rem;
    margin-top: 0.3rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }

  .game-row-wrap .game-meta,
  .home-crazy .category-sections .game-meta,
  .home-crazy .user-section .game-meta {
    font-size: 0.62rem;
    opacity: 0.88;
  }

  .home-crazy .game-card .game-fav-btn {
    width: 28px;
    height: 28px;
    top: 0.28rem;
    right: 0.28rem;
  }

  .home-crazy .game-card .game-fav-btn svg {
    width: 14px;
    height: 14px;
  }

  .home-crazy .game-section {
    margin-bottom: 1.1rem;
    padding: 0 0 0.15rem;
  }

  .home-crazy .section-head--hub {
    margin-bottom: 0.65rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .home-crazy .section-head--hub h2 {
    font-size: 1.05rem;
    font-weight: 700;
  }

  .home-crazy .section-head--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .home-crazy .section-head--stack h2 {
    font-size: 1.05rem;
  }

  .home-crazy .section-head--stack .section-desc {
    display: none;
  }

  /* Full library: compact 3-column grid (rows are swipeable above) */
  .home-crazy .game-section--library .game-grid--catalog {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.5rem;
    overflow: visible;
    scroll-snap-type: none;
  }

  .home-crazy .game-section--library .game-grid--catalog .game-card {
    flex: unset !important;
    width: auto !important;
    min-width: 0;
  }

  .home-crazy .game-section--library .game-card-link {
    aspect-ratio: 1;
    border-radius: 9px;
  }

  .home-crazy .game-section--library .game-card h3 {
    font-size: 0.68rem;
    margin-top: 0.25rem;
  }

  .home-crazy .game-section--library .game-meta {
    font-size: 0.58rem;
  }

  .home-crazy .library-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .home-crazy .library-control {
    min-width: 0;
  }

  .home-crazy .library-control span {
    font-size: 0.7rem;
  }

  .home-crazy .library-control select {
    width: 100%;
    font-size: max(16px, 0.85rem);
    padding: 0.5rem 0.55rem;
  }

  .home-crazy .game-section--library {
    padding: 1rem 0.85rem;
    margin-top: 0.5rem;
  }

  .home-crazy .user-section .section-head .section-desc {
    display: none;
  }

  .home-crazy .category-sections .game-section--category {
    margin-bottom: 1rem;
  }

  .home-crazy .category-sections .section-head h2 {
    font-size: 1rem;
  }

  .home-crazy .category-sections .game-section--category {
    position: relative;
  }

  .home-crazy .category-sections .game-section--category::after {
    content: "";
    position: absolute;
    right: 0;
    top: 2.5rem;
    bottom: 0.5rem;
    width: 1.75rem;
    pointer-events: none;
    background: linear-gradient(to left, rgba(12, 8, 22, 0.9), transparent);
    z-index: 2;
  }

  .home-crazy .hub-main .site-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  /* ─── Mobile categories: quick chips on page + solid menu drawer ─── */
  .hub-mobile-cats {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 0 0 0.85rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hub-mobile-cats.is-hidden {
    display: none;
  }

  .hub-mobile-cats::-webkit-scrollbar {
    display: none;
  }

  .hub-mobile-cats__chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(30, 24, 56, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    white-space: nowrap;
  }

  .hub-mobile-cats__chip--more {
    color: var(--accent-bright);
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(124, 58, 237, 0.2);
  }

  .hub-cat-filter {
    display: block;
    width: calc(100% - 1.25rem);
    margin: 0 0.75rem 0.5rem;
    padding: 0.55rem 0.75rem;
    font-family: inherit;
    font-size: max(16px, 0.88rem);
    color: var(--text);
    background: rgba(22, 18, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
  }

  .hub-cat-filter.is-hidden {
    display: none;
  }

  .hub-cat-filter::placeholder {
    color: var(--text-muted);
  }

  .hub-cat-filter:focus {
    outline: none;
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.25);
  }

  .hub-sidebar-cats .hub-cat-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0 0.75rem 0.75rem;
  }

  .hub-sidebar-cats .hub-cat-nav a {
    display: flex !important;
    align-items: center;
    min-height: 38px;
    padding: 0.42rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    background: rgba(30, 24, 56, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
  }

  .hub-sidebar-cats .hub-cat-nav a[hidden] {
    display: none !important;
  }

  .hub-cat-nav__all {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0.5rem 0.75rem 1rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-bright);
    background: rgba(124, 58, 237, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 10px;
  }

  .hub-sidebar-nav .nav-link {
    min-height: 44px;
  }
}

@media (min-width: 769px) {
  .hub-mobile-cats,
  .hub-cat-filter {
    display: none !important;
  }
}

/* Beat kid-friendly.css grid rules on homepage rows */
@media (max-width: 900px) {
  .home-crazy .game-row-wrap .game-grid--row,
  .home-crazy .category-sections .game-grid--row,
  .home-crazy .user-section .game-grid--dense:not(.game-grid--catalog) {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    grid-template-columns: unset !important;
  }
}

/* Play page — cleaner header on phone */
@media (max-width: 768px) {
  .play-page .logo--compact {
    display: none;
  }

  .play-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.55rem max(0.65rem, env(safe-area-inset-left))
      0.55rem max(0.65rem, env(safe-area-inset-right));
  }

  .play-header-center {
    order: 3;
    flex: 1 1 100%;
    text-align: left;
  }

  .play-title {
    font-size: 1rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .play-back {
    order: 1;
  }

  .play-header-actions {
    order: 2;
    margin-left: auto;
  }

  .play-action-label {
    display: none;
  }

  .play-layout {
    gap: 1.25rem;
    padding-top: 0.75rem;
  }

  .play-sidebar .similar-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: unset !important;
    gap: 0.5rem !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
  }

  .play-sidebar .similar-card {
    flex: 0 0 100px;
    width: 100px;
    scroll-snap-align: start;
  }

  .play-sidebar .similar-card-cover {
    aspect-ratio: 1;
  }

  .play-sidebar .similar-card-title {
    font-size: 0.68rem;
  }

  .play-sidebar .similar-card-meta {
    font-size: 0.58rem;
  }

  .play-sidebar .sidebar-head {
    margin-bottom: 0.65rem;
  }
}

/* ─── Play page: mobile fullscreen (class-based — works in landscape too) ─── */
html.vixo-mobile-fs,
body.play-page.vixo-mobile-fs {
  overflow: hidden !important;
  height: 100% !important;
  background: #000 !important;
  touch-action: none;
}

body.vixo-mobile-fs .play-header,
body.vixo-mobile-fs .play-sidebar,
body.vixo-mobile-fs .play-similar-mobile,
body.vixo-mobile-fs .play-game-desc,
body.vixo-mobile-fs .ad-rail,
body.vixo-mobile-fs .game-thumb-bg,
body.vixo-mobile-fs .bg-glow,
body.vixo-mobile-fs #magic-ripples {
  display: none !important;
}

body.vixo-mobile-fs .site-body,
body.vixo-mobile-fs .page-content,
body.vixo-mobile-fs .play-layout,
body.vixo-mobile-fs .play-center {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
}

body.vixo-mobile-fs .play-toolbar {
  display: none !important;
}

body.vixo-mobile-fs .play-stage-shell {
  position: fixed !important;
  top: var(--vixo-fs-top, 0) !important;
  left: var(--vixo-fs-left, 0) !important;
  width: var(--vixo-fs-w, 100vw) !important;
  max-width: none !important;
  height: var(--vixo-fs-h, 100dvh) !important;
  min-height: var(--vixo-fs-h, 100dvh) !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: 100000 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #000 !important;
  overflow: hidden;
}

body.vixo-mobile-fs .game-stage {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: unset !important;
  margin: 0 !important;
  background: #000;
}

body.vixo-mobile-fs .game-stage-inner {
  position: absolute;
  inset: 0;
  height: 100%;
}

body.vixo-mobile-fs .game-stage iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  border: 0;
  background: #000;
}

body.vixo-mobile-fs .play-loading-bar,
body.vixo-mobile-fs .game-stage-loading:not(.is-hidden) {
  z-index: 2;
}

.vixo-fs-exit {
  display: none;
  position: fixed;
  z-index: 100002;
  top: calc(var(--vixo-fs-top, 0px) + max(0.5rem, env(safe-area-inset-top)));
  right: calc(
    100vw - var(--vixo-fs-left, 0px) - var(--vixo-fs-w, 100vw) +
      max(0.5rem, env(safe-area-inset-right))
  );
  left: auto;
  bottom: auto;
  transform: none;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: rgba(124, 58, 237, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body.vixo-mobile-fs .vixo-fs-exit {
  display: block;
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse) {
  body.vixo-mobile-fs .vixo-fs-exit {
    top: calc(var(--vixo-fs-top, 0px) + max(0.35rem, env(safe-area-inset-top)));
    padding: 0.45rem 1rem;
    min-height: 40px;
    font-size: 0.82rem;
  }
}

/* Extra savings on slow / save-data connections */
html.vixo-save-data .home-crazy .category-sections .is-category-lazy {
  min-height: 120px;
}

