/* ======================================================================
   BHUCHI ARCADE — REFERENCE HOME UI v107
   Homepage-only presentation layer. Game/player screens remain unchanged.
   ====================================================================== */

#hub {
  --ref-bg:#0e0f16;
  --ref-panel:#151720;
  --ref-panel-2:#1b1e29;
  --ref-border:rgba(255,255,255,.085);
  --ref-text:#f6f7fb;
  --ref-muted:#9ca3b7;
  --ref-accent:#9b7cff;
  --ref-radius:22px;
  background:
    radial-gradient(circle at 12% 5%, rgba(125,92,255,.11), transparent 28rem),
    radial-gradient(circle at 88% 14%, rgba(0,218,255,.06), transparent 25rem),
    var(--ref-bg);
  color:var(--ref-text);
  min-height:100dvh;
}

/* Keep the reference homepage clean: discovery first, progression still exists
   in the app state/settings but is not part of the primary browse surface. */
#hub .reference-secondary-system { display:none !important; }
#hub .rail { display:none !important; }

#hub .hub-header {
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(14,15,22,.84);
  border-bottom:1px solid rgba(255,255,255,.055);
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
}
#hub .hub-header-inner {
  width:min(1440px,100%);
  min-height:74px;
  margin:0 auto;
  padding:10px clamp(14px,3vw,34px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  box-sizing:border-box;
}
#hub .reference-brand,
#hub .reference-header-actions {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
#hub .reference-brand-mark {
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:1000;
  font-size:1.08rem;
  color:white;
  background:linear-gradient(145deg,#8f6fff,#5c45ed 58%,#3828b9);
  box-shadow:0 9px 28px rgba(93,69,237,.28), inset 0 1px 0 rgba(255,255,255,.22);
}
#hub .reference-brand-text { min-width:0; }
#hub .wordmark {
  margin:0;
  font-size:clamp(1.05rem,2vw,1.32rem);
  line-height:1.05;
  letter-spacing:-.035em;
  white-space:nowrap;
}
#hub .wordmark span { color:#b8a8ff; }
#hub .reference-brand-meta {
  margin-top:4px;
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--ref-muted);
  white-space:nowrap;
}
#hub .reference-brand-meta span {
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.12em;
  color:#d9d6ff;
}
#hub .reference-brand-meta small { font-size:.68rem; }
#hub .reference-favorites,
#hub .hub-header .icon-btn {
  min-height:44px;
  border:1px solid var(--ref-border);
  background:rgba(255,255,255,.045);
  color:#f7f7fb;
  box-shadow:none;
}
#hub .reference-favorites {
  padding:0 14px;
  border-radius:14px;
  font-size:.74rem;
  font-weight:850;
}
#hub .reference-favorites.is-active {
  color:#ffd0dc;
  border-color:rgba(255,107,147,.35);
  background:rgba(255,79,127,.12);
}
#hub .hub-header .icon-btn {
  width:44px;
  border-radius:14px;
}

#hub .hub-body {
  display:block !important;
  width:100%;
  max-width:none;
  padding:0 !important;
}
#hub .hub-main {
  width:min(1440px,100%);
  margin:0 auto;
  padding:clamp(18px,2.4vw,32px) clamp(14px,3vw,34px) 40px;
  display:flex;
  flex-direction:column;
  gap:0;
  box-sizing:border-box;
}

/* Reference ordering: discovery controls first, featured content second. */
#hub .controls { order:1; }
#hub .hero { order:2; }
#hub .live-quick-picks { order:3; }
#hub .continue { order:4; }
#hub .reference-grid-kicker { order:5; }
#hub .grid-head { order:6; }
#hub .grid { order:7; }
#hub .empty { order:8; }
#hub .reference-secondary-system { order:9; }
#hub .seo-browse { order:10; }
#hub .reference-footer { order:11; }
#hub #ad-hub { order:12; }

#hub .controls {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:
    "search action"
    "cats cats";
  align-items:center;
  gap:10px 12px;
  width:100%;
  margin:0 0 18px;
  padding:0;
  background:none;
  border:0;
  box-shadow:none;
}
#hub .search-wrap {
  grid-area:search;
  min-height:54px;
  width:100%;
  border:1px solid var(--ref-border);
  border-radius:17px;
  background:#151720;
  box-shadow:0 10px 30px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.025);
}
#hub .search-wrap:focus-within {
  border-color:rgba(155,124,255,.55);
  box-shadow:0 0 0 3px rgba(155,124,255,.10),0 12px 32px rgba(0,0,0,.18);
}
#hub .search-icon { color:#aaa4c9; }
#hub #search {
  height:54px;
  color:#fff;
  font-size:16px;
  font-weight:700;
}
#hub #search::placeholder { color:#777e91; opacity:1; }
#hub .discovery-actions {
  grid-area:action;
  width:auto;
  padding:0;
  margin:0;
  overflow:visible;
}
#hub .discovery-actions .control-group { display:none !important; }
#hub .surprise-chip {
  min-height:54px;
  padding:0 18px;
  border-radius:17px;
  border:1px solid rgba(155,124,255,.26);
  background:linear-gradient(145deg,rgba(139,104,255,.18),rgba(88,67,210,.12));
  color:#f7f5ff;
  font-size:.78rem;
  font-weight:900;
  box-shadow:0 10px 26px rgba(43,30,108,.14);
  white-space:nowrap;
}
#hub .pill-cats {
  grid-area:cats;
  display:flex !important;
  gap:8px;
  width:100%;
  max-width:100%;
  margin:0;
  padding:2px 0 4px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
}
#hub .pill-cats::-webkit-scrollbar { display:none; }
#hub .pill-cats .cat-pill {
  flex:0 0 auto;
  min-height:44px;
  padding:0 13px;
  gap:8px;
  scroll-snap-align:start;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.075) !important;
  background:#151720 !important;
  color:#c9cede;
  box-shadow:none;
}
#hub .pill-cats .cat-pill[aria-selected="true"] {
  color:white;
  border-color:rgba(164,139,255,.45) !important;
  background:rgba(137,105,255,.16) !important;
}
#hub .pill-cats .cat-label strong { font-size:.74rem; }
#hub .pill-cats .cat-label small { display:none; }
#hub .pill-cats .cat-count {
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  font-size:.61rem;
  background:rgba(255,255,255,.055);
}
#hub .pill-cats .dot { width:auto; min-width:22px; }

/* Featured reference card */
#hub .hero {
  position:relative;
  isolation:isolate;
  min-height:230px;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  align-items:center;
  gap:clamp(18px,3vw,44px);
  margin:0 0 12px;
  padding:clamp(22px,3.5vw,46px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  background:
    radial-gradient(circle at 13% 25%, rgba(255,73,118,.14), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(153,116,255,.20), transparent 28%),
    linear-gradient(135deg,#171922,#11131b 62%,#151422);
  box-shadow:0 24px 70px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.03);
}
#hub .hero::before,
#hub .hero::after {
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:-1;
}
#hub .hero::before {
  width:460px;
  aspect-ratio:1;
  right:-160px;
  bottom:-270px;
  border:1px solid rgba(173,148,255,.12);
  border-radius:50%;
  box-shadow:0 0 0 55px rgba(132,100,255,.025),0 0 0 115px rgba(132,100,255,.018);
}
#hub .hero::after {
  inset:0;
  opacity:.14;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to right,#000,transparent 70%);
}
#hub .hero-avatar { display:none !important; }
#hub .hero-copy { min-width:0; }
#hub .hero-eyebrow,
#hub .hero-name {
  margin:0 0 8px;
  font-size:.66rem;
  font-weight:1000;
  letter-spacing:.15em;
  color:#ff8fa9 !important;
}
#hub .hero-eyebrow { display:none; }
#hub .hero-line {
  margin:0;
  max-width:720px;
  font-size:clamp(2rem,4.4vw,4.15rem);
  line-height:.96;
  letter-spacing:-.055em;
  font-weight:1000;
  color:#fff;
}
#hub .hero-meta {
  margin:14px 0 0;
  max-width:620px;
  color:#b0b5c5;
  font-size:clamp(.88rem,1.4vw,1.02rem);
  line-height:1.55;
}
#hub .feature-play {
  min-height:150px;
  width:100%;
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  grid-template-areas:
    "label label"
    "icon copy"
    "cta cta";
  gap:9px 13px;
  align-items:center;
  padding:18px;
  text-align:left;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 16px 34px rgba(0,0,0,.18);
}
#hub .feature-play:hover { transform:translateY(-2px); border-color:rgba(255,255,255,.17); }
#hub .feature-play-label {
  grid-area:label;
  display:block;
  font-size:.62rem;
  font-weight:1000;
  letter-spacing:.14em;
  color:#d8d2ff;
}
#hub .feature-icon {
  grid-area:icon;
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(255,255,255,.06);
}
#hub .feature-icon .gicon { width:52px; height:52px; }
#hub .feature-copy { grid-area:copy; min-width:0; }
#hub .feature-copy strong {
  display:block;
  color:white;
  font-size:1.02rem;
  line-height:1.12;
}
#hub .feature-copy small { display:block; margin-top:5px; color:#aeb4c6; font-size:.73rem; }
#hub .feature-cta {
  grid-area:cta;
  justify-self:stretch;
  min-height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#f7f7fb;
  color:#11131b;
  font-size:.68rem;
  font-weight:1000;
  letter-spacing:.08em;
}
#hub .feature-arrow { display:none; }

#hub .live-quick-picks {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0 0 30px;
}
#hub .live-quick-pick {
  min-width:0;
  min-height:86px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 54px;
  grid-template-areas:"small icon" "title icon";
  align-items:center;
  gap:2px 10px;
  padding:16px 17px;
  text-align:left;
  border:1px solid var(--ref-border);
  border-radius:20px;
  background:#151720;
  color:white;
  box-shadow:0 10px 28px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.025);
}
#hub .live-quick-pick small {
  grid-area:small;
  font-size:.59rem;
  font-weight:1000;
  letter-spacing:.14em;
  color:#969db0;
}
#hub .live-quick-pick strong {
  grid-area:title;
  font-size:clamp(.94rem,1.7vw,1.08rem);
  color:#fff;
}
#hub .live-quick-pick > span {
  grid-area:icon;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  justify-self:end;
  border-radius:16px;
  font-size:1.55rem;
  background:rgba(255,255,255,.05);
}

#hub .continue {
  margin:0 0 28px;
  padding:0;
}
#hub .section-label {
  margin:0;
  font-size:clamp(1.1rem,2vw,1.45rem);
  line-height:1.1;
  letter-spacing:-.025em;
  color:#f4f5fa;
}
#hub .continue .section-label { margin-bottom:11px; }
#hub .continue-row {
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:none;
  padding:0 0 4px;
  scroll-snap-type:x proximity;
}
#hub .continue-row::-webkit-scrollbar { display:none; }
#hub .cont-card {
  flex:0 0 min(300px,78vw);
  min-height:74px;
  padding:12px 14px;
  border:1px solid var(--ref-border) !important;
  border-radius:18px;
  background:#151720 !important;
  scroll-snap-align:start;
}

#hub .reference-grid-kicker {
  margin:0 0 5px;
  font-size:.62rem;
  font-weight:1000;
  letter-spacing:.16em;
  color:#8f95a6;
}
#hub .grid-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:0 0 13px;
}
#hub .count {
  color:#8f95a6;
  font-size:.72rem;
  font-weight:800;
}

#hub .grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(10px,1.35vw,17px);
  width:100%;
}
#hub .game-card-wrap {
  position:relative;
  min-width:0;
  border:1px solid var(--ref-border);
  border-radius:21px;
  background:#151720;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.14);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
#hub .game-card-wrap:hover {
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.15);
  box-shadow:0 18px 38px rgba(0,0,0,.20);
}
#hub .game-card-wrap > .card-game {
  width:100%;
  min-height:245px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  padding:0 14px 15px;
  text-align:left;
  background:none;
  border:0;
  color:white;
}
#hub .card-emoji {
  position:relative;
  height:138px;
  margin:0 -14px 13px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 48% 42%,color-mix(in srgb,var(--tile) 34%,transparent),transparent 40%),
    linear-gradient(145deg,color-mix(in srgb,var(--cat-a) 16%,#171922),color-mix(in srgb,var(--cat-b) 12%,#11131a));
  border-bottom:1px solid rgba(255,255,255,.05);
}
#hub .card-emoji::after {
  content:"";
  position:absolute;
  inset:auto 12% -36% 12%;
  height:70%;
  border-radius:50%;
  background:var(--tile);
  filter:blur(46px);
  opacity:.12;
}
#hub .card-emoji .gicon {
  position:relative;
  z-index:2;
  width:76px;
  height:76px;
  filter:drop-shadow(0 13px 18px rgba(0,0,0,.28));
  transition:transform .18s ease;
}
#hub .game-card-wrap:hover .card-emoji .gicon { transform:scale(1.06); }
#hub .card-art-category {
  position:absolute;
  z-index:3;
  left:10px;
  top:10px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(8,9,14,.66);
  border:1px solid rgba(255,255,255,.08);
  color:#d9dce7;
  font-size:.54rem;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
#hub .card-art-play {
  position:absolute;
  z-index:3;
  right:10px;
  bottom:10px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(248,248,252,.93);
  color:#11131a;
  font-size:.62rem;
  box-shadow:0 5px 16px rgba(0,0,0,.22);
}
#hub .card-title {
  display:block;
  min-width:0;
  color:#fff;
  font-size:.96rem;
  font-weight:950;
  line-height:1.2;
  letter-spacing:-.016em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#hub .card-desc {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin-top:5px;
  min-height:2.5em;
  color:#9299aa;
  font-size:.70rem;
  line-height:1.35;
}
#hub .card-foot { display:none !important; }
#hub .favorite-btn {
  position:absolute;
  z-index:5;
  top:9px;
  right:9px;
  width:38px;
  height:38px;
  min-width:38px;
  min-height:38px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.095);
  background:rgba(8,9,14,.72);
  color:#f2f3f8;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
#hub .favorite-btn.is-favorite { color:#ff7398; background:rgba(36,13,24,.85); }

#hub .empty {
  margin:24px 0;
  padding:32px 20px;
  text-align:center;
  border:1px solid var(--ref-border);
  border-radius:20px;
  background:#151720;
}

#hub .seo-browse {
  margin:30px 0 0;
  padding:0;
  border:0;
  background:transparent;
  color:#777e91;
  font-size:.72rem;
}
#hub .seo-browse summary { cursor:pointer; color:#8e94a5; }
#hub .seo-browse-links a { color:#979daf; }

#hub .reference-footer {
  margin:28px 0 0;
  padding:25px 4px 8px;
  display:grid;
  gap:5px;
  justify-items:center;
  text-align:center;
  color:#818899;
  border-top:1px solid rgba(255,255,255,.06);
}
#hub .reference-footer strong { color:#cfd3df; font-size:.84rem; }
#hub .reference-footer span { font-size:.72rem; }
#hub .reference-footer small { font-size:.65rem; color:#686f80; }

/* Tablet */
@media (max-width:1100px) {
  #hub .grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  #hub .hero { grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr); }
}
@media (max-width:860px) {
  #hub .grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #hub .hero { grid-template-columns:1fr; min-height:0; }
  #hub .feature-play {
    min-height:92px;
    grid-template-columns:54px minmax(0,1fr) auto;
    grid-template-areas:"icon copy cta";
  }
  #hub .feature-play-label { display:none; }
  #hub .feature-icon { width:54px; height:54px; border-radius:15px; }
  #hub .feature-icon .gicon { width:44px; height:44px; }
  #hub .feature-cta { min-width:88px; align-self:stretch; }
}

/* Phones: the reference target is intentionally compact and native-scroll. */
@media (max-width:699px) {
  html,body,#hub { width:100%; max-width:100%; overflow-x:clip; }
  #hub .hub-header-inner {
    min-height:64px;
    padding:8px max(10px,env(safe-area-inset-left)) 8px max(10px,env(safe-area-inset-right));
    gap:8px;
  }
  #hub .reference-brand-mark { width:40px; height:40px; flex-basis:40px; border-radius:12px; }
  #hub .wordmark { font-size:1.05rem; }
  #hub .reference-brand-meta span { font-size:.50rem; letter-spacing:.085em; }
  #hub .reference-brand-meta small { display:none; }
  #hub .reference-header-actions { gap:6px; }
  #hub .reference-favorites {
    min-height:40px;
    padding:0 10px;
    font-size:.68rem;
  }
  #hub .hub-header .icon-btn { width:40px; height:40px; min-width:40px; min-height:40px; }
  #hub .hub-main {
    padding:14px max(10px,env(safe-area-inset-left)) calc(26px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-right));
  }
  #hub .controls {
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    margin-bottom:12px;
  }
  #hub .search-wrap,#hub #search,#hub .surprise-chip { min-height:48px; height:48px; }
  #hub .surprise-chip { width:48px; padding:0; justify-content:center; }
  #hub .surprise-chip span:last-child { display:none; }
  #hub .pill-cats { gap:7px; padding-bottom:2px; }
  #hub .pill-cats .cat-pill { min-height:42px; padding:0 10px; }
  #hub .pill-cats .cat-count { display:none; }

  #hub .hero {
    min-height:0;
    gap:14px;
    margin-bottom:9px;
    padding:18px;
    border-radius:21px;
  }
  #hub .hero-name { margin-bottom:6px; font-size:.57rem; }
  #hub .hero-line { font-size:clamp(1.7rem,10vw,2.35rem); }
  #hub .hero-meta { margin-top:9px; font-size:.78rem; line-height:1.42; }
  #hub .feature-play {
    min-height:72px;
    grid-template-columns:46px minmax(0,1fr) auto;
    grid-template-areas:"icon copy cta";
    gap:8px;
    padding:9px;
    border-radius:16px;
  }
  #hub .feature-icon { width:46px; height:46px; border-radius:13px; }
  #hub .feature-icon .gicon { width:37px; height:37px; }
  #hub .feature-copy strong { font-size:.82rem; }
  #hub .feature-copy small { margin-top:2px; font-size:.64rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  #hub .feature-cta {
    min-width:64px;
    min-height:40px;
    padding:0 8px;
    font-size:.58rem;
  }
  #hub .live-quick-picks { gap:8px; margin-bottom:24px; }
  #hub .live-quick-pick {
    min-height:72px;
    grid-template-columns:minmax(0,1fr) 39px;
    padding:12px;
    border-radius:16px;
  }
  #hub .live-quick-pick small { font-size:.50rem; letter-spacing:.10em; }
  #hub .live-quick-pick strong { font-size:.78rem; }
  #hub .live-quick-pick > span { width:39px; height:39px; border-radius:12px; font-size:1.15rem; }

  #hub .reference-grid-kicker { margin-bottom:4px; font-size:.54rem; }
  #hub .grid-head { margin-bottom:10px; }
  #hub .section-label { font-size:1.07rem; }
  #hub .count { font-size:.64rem; }
  #hub .grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  #hub .game-card-wrap { border-radius:17px; }
  #hub .game-card-wrap > .card-game {
    min-height:190px;
    padding:0 11px 12px;
  }
  #hub .card-emoji {
    height:110px;
    margin:0 -11px 10px;
  }
  #hub .card-emoji .gicon { width:59px; height:59px; }
  #hub .card-art-category { left:7px; top:7px; padding:4px 6px; font-size:.46rem; }
  #hub .card-art-play { right:7px; bottom:7px; width:28px; height:28px; border-radius:9px; }
  #hub .card-title { font-size:.80rem; }
  #hub .card-desc {
    margin-top:4px;
    min-height:2.45em;
    font-size:.61rem;
    line-height:1.33;
  }
  #hub .favorite-btn {
    top:6px; right:6px;
    width:34px; height:34px; min-width:34px; min-height:34px;
    border-radius:10px;
  }
  #hub .continue { margin-bottom:22px; }
  #hub .cont-card { flex-basis:76vw; min-height:68px; }
  #hub .seo-browse { margin-top:24px; }
  #hub .reference-footer { margin-top:22px; padding-top:20px; }
}

@media (max-width:345px) {
  #hub .reference-brand-meta { display:none; }
  #hub .reference-favorites { padding:0 8px; font-size:.63rem; }
  #hub .grid { grid-template-columns:1fr; }
  #hub .game-card-wrap > .card-game {
    min-height:128px;
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    grid-template-rows:auto auto;
    align-content:center;
    column-gap:12px;
    padding:0 12px 0 0;
  }
  #hub .card-emoji {
    grid-row:1/3;
    height:128px;
    margin:0;
    width:112px;
  }
  #hub .card-title { align-self:end; font-size:.88rem; }
  #hub .card-desc { align-self:start; min-height:0; -webkit-line-clamp:2; }
}

@media (hover:none) and (pointer:coarse) {
  #hub :where(.game-card-wrap,.feature-play,.live-quick-pick,.surprise-chip,.reference-favorites,.cat-pill):active {
    transform:scale(.98);
  }
}

@media (prefers-reduced-motion:reduce) {
  #hub *,#hub *::before,#hub *::after {
    scroll-behavior:auto !important;
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
}
/* ======================================================================
   BHUCHI ARCADE — HOME UX/UI v110 STEP 1
   Scope: instant entry + header + search + category rail + search mode.
   This file intentionally does not restyle game cards/hero yet.
   ====================================================================== */

#hub {
  --home-touch:48px;
  --home-edge:max(12px, env(safe-area-inset-left));
}

/* Step 1A — cleaner, safer sticky header */
#hub .hub-header {
  padding-top:env(safe-area-inset-top);
}
#hub .hub-header-inner {
  width:min(1600px,100%);
  min-height:72px;
  padding-left:max(16px,env(safe-area-inset-left));
  padding-right:max(16px,env(safe-area-inset-right));
}
#hub .reference-brand-mark {
  box-shadow:0 8px 24px rgba(93,69,237,.22), inset 0 1px 0 rgba(255,255,255,.24);
}
#hub .reference-brand-meta span {
  font-size:.62rem;
  letter-spacing:.105em;
}
#hub .reference-favorites,
#hub .hub-header .icon-btn {
  min-width:var(--home-touch);
  min-height:var(--home-touch);
}
#hub .reference-favorites {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 15px;
}
#hub .reference-favorites-icon { font-size:1rem; line-height:1; }

/* Step 1B — search is the primary discovery action */
#hub .controls {
  position:relative;
  grid-template-areas:
    "search action"
    "cats cats";
  gap:11px 12px;
  margin-bottom:20px;
}
#hub .search-wrap,
#hub #search,
#hub .surprise-chip {
  min-height:56px;
  height:56px;
}
#hub .search-wrap {
  border-radius:18px;
  background:linear-gradient(180deg,#171923,#14161f);
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
#hub .search-wrap:focus-within {
  border-color:rgba(175,153,255,.72);
  background:#181a25;
  box-shadow:0 0 0 4px rgba(155,124,255,.11),0 16px 36px rgba(0,0,0,.20);
}
#hub #search {
  font-size:1rem;
  font-weight:750;
}
#hub .search-clear {
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  border-radius:13px;
}
#hub .surprise-chip {
  min-width:136px;
  font-size:.8rem;
}

/* Step 1C — category rail feels scrollable and preserves a 48px touch target. */
#hub .category-scroll-shell {
  grid-area:cats;
  position:relative;
  min-width:0;
  width:100%;
}
#hub .pill-cats { grid-area:auto; }
#hub .category-scroll-hint {
  position:absolute;
  z-index:3;
  top:2px;
  right:0;
  bottom:4px;
  width:42px;
  display:grid;
  place-items:center;
  pointer-events:none;
  border-radius:0 14px 14px 0;
  color:#e9e4ff;
  font-size:1.5rem;
  font-weight:600;
  background:linear-gradient(90deg,rgba(14,15,22,0),rgba(14,15,22,.90) 52%,#0e0f16 100%);
  opacity:1;
  transition:opacity .16s ease;
}
#hub .category-scroll-shell.is-at-end .category-scroll-hint,
#hub .category-scroll-shell:not(.has-overflow) .category-scroll-hint { opacity:0; }
#hub .pill-cats {
  padding-right:34px;
  scroll-padding-inline:6px 42px;
}
#hub .pill-cats .cat-pill {
  min-height:48px;
  padding:0 14px;
  border-radius:15px;
  touch-action:manipulation;
}
#hub .pill-cats .cat-label strong {
  font-size:.78rem;
  line-height:1.05;
}
#hub .pill-cats .cat-pill[aria-selected="true"] {
  border-color:rgba(185,164,255,.72) !important;
  background:linear-gradient(145deg,rgba(150,116,255,.23),rgba(99,75,217,.13)) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 7px 20px rgba(77,53,172,.12);
}
#hub .pill-cats .cat-pill[aria-selected="true"] .cat-label strong::after {
  content:"";
  display:inline-block;
  width:5px;
  height:5px;
  margin-left:7px;
  vertical-align:middle;
  border-radius:50%;
  background:#c9baff;
  box-shadow:0 0 8px rgba(201,186,255,.75);
}

/* Search mode: results should appear immediately after discovery controls. */
#hub.is-searching .hero,
#hub.is-searching .live-quick-picks,
#hub.is-searching .continue {
  display:none !important;
}
#hub.is-searching .controls { margin-bottom:18px; }
#hub.is-searching .reference-grid-kicker {
  margin-top:1px;
  color:#b9adf3;
}

@media (max-width:699px) {
  #hub { --home-touch:48px; }
  #hub .hub-header-inner {
    min-height:64px;
    padding-top:7px;
    padding-bottom:7px;
    padding-left:max(12px,env(safe-area-inset-left));
    padding-right:max(12px,env(safe-area-inset-right));
  }
  #hub .reference-brand-mark {
    width:42px;
    height:42px;
    flex-basis:42px;
    border-radius:13px;
  }
  #hub .reference-favorites,
  #hub .hub-header .icon-btn {
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    padding:0;
    border-radius:14px;
  }
  #hub .reference-favorites-label { display:none; }
  #hub .reference-favorites-icon { font-size:1.08rem; }
  #hub .reference-brand-meta small { display:none; }
  #hub .reference-brand-meta span { font-size:.54rem; letter-spacing:.075em; }
  #hub .hub-main {
    padding-left:max(12px,env(safe-area-inset-left));
    padding-right:max(12px,env(safe-area-inset-right));
  }
  #hub .controls {
    gap:9px 8px;
    margin-bottom:13px;
  }
  #hub .search-wrap,
  #hub #search,
  #hub .surprise-chip {
    min-height:52px;
    height:52px;
  }
  #hub .search-wrap { border-radius:16px; }
  #hub #search { font-size:16px; }
  #hub .surprise-chip {
    width:52px;
    min-width:52px;
    padding:0;
    border-radius:16px;
  }
  #hub .pill-cats { gap:8px; padding-right:36px; }
  #hub .pill-cats .cat-pill {
    min-height:46px;
    padding:0 12px;
    border-radius:14px;
  }
  #hub .pill-cats .cat-label strong { font-size:.76rem; }
  #hub .category-scroll-hint { width:38px; }
}

@media (max-width:430px) {
  #hub .reference-brand-meta { display:none; }
  #hub .reference-brand { gap:9px; }
  #hub .wordmark { font-size:1.02rem; }
}

@media (max-width:350px) {
  #hub .reference-brand-mark {
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  #hub .hub-header-inner { padding-left:max(9px,env(safe-area-inset-left)); padding-right:max(9px,env(safe-area-inset-right)); }
  #hub .reference-header-actions { gap:5px; }
  #hub .reference-favorites,
  #hub .hub-header .icon-btn { width:46px; height:46px; min-width:46px; min-height:46px; }
}
/* ======================================================================
   BHUCHI ARCADE — HOME UX/UI v110 STEP 2
   Scope: featured hero + Quick Play / Brain Break density and clarity.
   Builds on home-v110-step1.css. Gameplay/player layouts are untouched.
   ====================================================================== */

/* Step 2A — make the featured area premium without letting it dominate. */
#hub .hero {
  min-height:196px;
  grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);
  gap:clamp(16px,2.4vw,34px);
  margin-bottom:10px;
  padding:clamp(20px,2.7vw,34px);
  border-radius:25px;
  background:
    radial-gradient(circle at 10% 18%,rgba(39,209,126,.16),transparent 31%),
    radial-gradient(circle at 86% 18%,rgba(255,193,84,.16),transparent 29%),
    linear-gradient(135deg,#111c19,#11151b 58%,#181711);
}
#hub .hero::before {
  right:-190px;
  bottom:-300px;
  border-color:rgba(91,229,158,.13);
  box-shadow:0 0 0 55px rgba(64,195,127,.025),0 0 0 115px rgba(255,193,84,.016);
}
#hub .hero::after {
  opacity:.11;
  background-size:36px 36px;
}
#hub .hero-name {
  margin-bottom:7px;
  color:#79e5ac !important;
  font-size:.68rem;
}
#hub .hero-line {
  max-width:760px;
  font-size:clamp(2rem,3.7vw,3.55rem);
  line-height:.98;
  letter-spacing:-.047em;
}
#hub .hero-meta {
  max-width:670px;
  margin-top:11px;
  color:#b8c4bd;
  font-size:clamp(.88rem,1.2vw,.98rem);
  line-height:1.48;
}

/* The Play card reads as the action, not a second hero competing for attention. */
#hub .feature-play {
  min-height:124px;
  grid-template-columns:56px minmax(0,1fr);
  gap:8px 12px;
  padding:15px;
  border-radius:20px;
  border-color:rgba(121,229,172,.17);
  background:linear-gradient(145deg,rgba(67,183,117,.11),rgba(255,193,84,.045));
}
#hub .feature-play:hover {
  border-color:rgba(121,229,172,.36);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 36px rgba(0,0,0,.20),0 0 0 1px rgba(73,208,132,.045);
}
#hub .feature-play-label {
  color:#9ee8bf;
  font-size:.64rem;
}
#hub .feature-icon {
  width:56px;
  height:56px;
  border-radius:16px;
  background:rgba(96,216,150,.08);
}
#hub .feature-icon .gicon { width:45px; height:45px; }
#hub .feature-copy strong { font-size:1rem; }
#hub .feature-copy small {
  color:#b5beb9;
  font-size:.76rem;
  line-height:1.3;
}
#hub .feature-cta {
  min-height:44px;
  border-radius:13px;
  background:linear-gradient(180deg,#f9fbfa,#e9f5ee);
  color:#102019;
  font-size:.70rem;
}

/* Step 2B — quick recommendations should scan in one glance. */
#hub .live-quick-picks {
  gap:10px;
  margin-bottom:22px;
}
#hub .live-quick-pick {
  min-height:74px;
  grid-template-columns:minmax(0,1fr) 46px;
  padding:12px 14px;
  border-radius:18px;
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
#hub .live-quick-pick:hover {
  transform:translateY(-1px);
  border-color:rgba(168,148,255,.22);
  background:#181a24;
}
#hub .live-quick-pick small {
  font-size:.66rem;
  line-height:1.1;
  letter-spacing:.105em;
}
#hub .live-quick-pick strong {
  font-size:.95rem;
  line-height:1.15;
}
#hub .live-quick-pick > span {
  width:46px;
  height:46px;
  border-radius:14px;
  font-size:1.32rem;
}
#hub .live-quick-pick:first-child {
  background:linear-gradient(145deg,#171a22,#151720 70%,rgba(122,91,255,.10));
}
#hub .live-quick-pick:last-child {
  background:linear-gradient(145deg,#171a22,#151720 70%,rgba(63,185,151,.08));
}

/* Tablet: keep the hero compact rather than stacking into a tall billboard. */
@media (max-width:860px) and (min-width:700px) {
  #hub .hero {
    grid-template-columns:minmax(0,1fr) minmax(225px,.58fr);
    min-height:170px;
    padding:20px;
  }
  #hub .hero-line { font-size:clamp(2rem,5vw,2.7rem); }
  #hub .feature-play {
    min-height:108px;
    grid-template-columns:50px minmax(0,1fr);
    grid-template-areas:"label label" "icon copy" "cta cta";
  }
  #hub .feature-play-label { display:block; }
  #hub .feature-icon { width:50px; height:50px; }
  #hub .feature-cta { min-height:42px; }
}

/* Phones — use a compact two-column feature so games appear sooner. */
@media (max-width:699px) {
  #hub .hero {
    min-height:132px;
    grid-template-columns:minmax(0,1fr) 108px;
    align-items:stretch;
    gap:10px;
    margin-bottom:8px;
    padding:13px;
    border-radius:19px;
  }
  #hub .hero-copy {
    align-self:center;
    min-width:0;
  }
  #hub .hero-name {
    margin-bottom:5px;
    font-size:.65rem;
    letter-spacing:.105em;
  }
  #hub .hero-line {
    max-width:none;
    font-size:clamp(1.42rem,7.1vw,1.78rem);
    line-height:1;
    letter-spacing:-.042em;
  }
  #hub .hero-meta {
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin-top:7px;
    font-size:.75rem;
    line-height:1.34;
  }
  #hub .feature-play {
    min-width:0;
    min-height:0;
    height:100%;
    grid-template-columns:1fr;
    grid-template-areas:"icon" "copy" "cta";
    align-content:center;
    justify-items:center;
    gap:5px;
    padding:8px;
    text-align:center;
    border-radius:16px;
  }
  #hub .feature-play-label { display:none; }
  #hub .feature-icon {
    width:44px;
    height:44px;
    border-radius:13px;
  }
  #hub .feature-icon .gicon { width:36px; height:36px; }
  #hub .feature-copy { width:100%; }
  #hub .feature-copy strong {
    overflow:hidden;
    display:block;
    font-size:.78rem;
    line-height:1.1;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #hub .feature-copy small { display:none; }
  #hub .feature-cta {
    width:100%;
    min-width:0;
    min-height:36px;
    padding:0 5px;
    border-radius:11px;
    font-size:.64rem;
    letter-spacing:.06em;
  }

  #hub .live-quick-picks {
    gap:8px;
    margin-bottom:18px;
  }
  #hub .live-quick-pick {
    min-height:64px;
    grid-template-columns:minmax(0,1fr) 38px;
    padding:9px 10px;
    border-radius:15px;
  }
  #hub .live-quick-pick small {
    font-size:.64rem;
    letter-spacing:.075em;
  }
  #hub .live-quick-pick strong {
    font-size:.82rem;
  }
  #hub .live-quick-pick > span {
    width:38px;
    height:38px;
    border-radius:11px;
    font-size:1.08rem;
  }
}

@media (max-width:350px) {
  #hub .hero {
    grid-template-columns:minmax(0,1fr) 96px;
    min-height:126px;
    padding:11px;
    gap:8px;
  }
  #hub .hero-name { font-size:.61rem; }
  #hub .hero-line { font-size:1.34rem; }
  #hub .hero-meta { font-size:.72rem; }
  #hub .feature-icon { width:40px; height:40px; }
  #hub .feature-copy strong { font-size:.72rem; }
  #hub .feature-cta { min-height:34px; font-size:.60rem; }
  #hub .live-quick-pick { padding:8px 9px; }
}

@media (prefers-reduced-motion:reduce) {
  #hub .feature-play,
  #hub .live-quick-pick { transition:none !important; }
}
/* Bhuchi Arcade Home UX V110 — Step 3
   Continue Playing + catalogue cards/grid.
   Loaded after Step 1/2 so this is the authoritative card layer. */

/* ── Continue Playing: resume-oriented, not another copy of the catalogue ── */
#hub .continue {
  position:relative;
  margin:0 0 clamp(22px,3vw,34px);
}
#hub .continue .section-label {
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-bottom:12px;
}
#hub .continue .section-label::after {
  content:"Pick up where you left off";
  color:#858c9d;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:0;
}
#hub .continue-row {
  gap:12px;
  padding:1px 2px 6px;
  scroll-padding-inline:2px;
  scroll-snap-type:x mandatory;
}
#hub .cont-card {
  flex:0 0 clamp(280px,31vw,370px);
  min-height:88px;
  display:grid;
  grid-template-columns:56px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px 13px;
  text-align:left;
  border:1px solid rgba(255,255,255,.085) !important;
  border-radius:19px;
  background:linear-gradient(145deg,#171923,#12141c) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.16);
  scroll-snap-align:start;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
#hub .cont-card:hover {
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--resume-accent,#8b5cf6) 48%,rgba(255,255,255,.1)) !important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--resume-accent,#8b5cf6) 9%,#171923),#12141c) !important;
}
#hub .cont-icon {
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--resume-accent,#8b5cf6) 22%,#1a1c25),#12141b);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.055);
  overflow:hidden;
}
#hub .cont-icon .gicon { width:43px; height:43px; }
#hub .cont-copy { min-width:0; }
#hub .cont-name {
  display:block;
  overflow:hidden;
  color:#fff;
  font-size:.93rem;
  font-weight:950;
  line-height:1.18;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#hub .cont-meta {
  display:block;
  margin-top:4px;
  overflow:hidden;
  color:#8e95a7;
  font-size:.68rem;
  font-weight:700;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#hub .cont-best {
  display:block;
  margin-top:3px;
  color:#c6cad6;
  font-size:.70rem;
  font-weight:850;
  line-height:1.2;
}
#hub .cont-resume {
  min-width:62px;
  min-height:42px;
  display:grid;
  place-items:center;
  padding:0 10px;
  border-radius:12px;
  background:rgba(255,255,255,.075);
  color:#f5f6fa;
  font-size:.67rem;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* ── Grid: screen-aware catalogue density ── */
#hub .grid {
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(11px,1.25vw,17px);
}
#hub .game-card-wrap {
  border-radius:20px;
  background:#151720;
  isolation:isolate;
}
#hub .game-card-wrap > .card-game {
  min-height:0;
  padding:0 14px 14px;
  cursor:pointer;
}
#hub .card-emoji {
  height:auto;
  aspect-ratio:1.55 / 1;
  min-height:126px;
  margin:0 -14px 12px;
}
#hub .card-emoji .gicon {
  width:clamp(62px,5.1vw,80px);
  height:clamp(62px,5.1vw,80px);
}
#hub .card-art-category {
  left:9px;
  top:9px;
  max-width:calc(100% - 64px);
  padding:5px 8px;
  overflow:hidden;
  font-size:.66rem;
  letter-spacing:.055em;
  text-overflow:ellipsis;
  white-space:nowrap;
}
/* The full card is the Play target; a second play badge is redundant visual noise. */
#hub .card-art-play { display:none !important; }
#hub .card-title {
  font-size:1rem;
  line-height:1.18;
}
#hub .card-meta {
  display:block;
  margin-top:5px;
  overflow:hidden;
  color:#9aa1b2;
  font-size:.72rem;
  font-weight:750;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#hub .card-desc {
  margin-top:7px;
  min-height:2.55em;
  color:#858d9f;
  font-size:.72rem;
  line-height:1.38;
}
#hub .favorite-btn {
  top:8px;
  right:8px;
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  display:grid;
  place-items:center;
  border-radius:13px;
  font-size:1.08rem;
  cursor:pointer;
}
#hub .favorite-btn:hover {
  border-color:rgba(255,255,255,.18);
  background:rgba(16,18,26,.91);
}
#hub .favorite-btn.is-favorite {
  color:#ff779c;
  border-color:rgba(255,119,156,.25);
}
#hub :where(.game-card-wrap > .card-game,.favorite-btn,.cont-card):focus-visible {
  outline:3px solid rgba(184,142,255,.86);
  outline-offset:3px;
}

/* Large desktop: use the screen instead of making cards oversized. */
@media (min-width:1540px) {
  #hub .grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
  #hub .card-emoji { min-height:132px; }
}
@media (max-width:1180px) {
  #hub .grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:860px) {
  #hub .grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #hub .card-desc { -webkit-line-clamp:1; min-height:1.4em; }
}

/* Phones: two readable cards, no microscopic copy. */
@media (max-width:640px) {
  #hub .continue .section-label::after { display:none; }
  #hub .continue-row {
    margin-right:calc(-1 * max(14px,env(safe-area-inset-right)));
    padding-right:max(22px,env(safe-area-inset-right));
  }
  #hub .cont-card {
    flex-basis:min(86vw,330px);
    min-height:82px;
    grid-template-columns:50px minmax(0,1fr) 52px;
    gap:10px;
    padding:10px 11px;
    border-radius:17px;
  }
  #hub .cont-icon { width:50px; height:50px; border-radius:14px; }
  #hub .cont-icon .gicon { width:38px; height:38px; }
  #hub .cont-name { font-size:.88rem; }
  #hub .cont-meta { font-size:.68rem; }
  #hub .cont-best { font-size:.69rem; }
  #hub .cont-resume {
    min-width:50px;
    min-height:44px;
    padding:0 7px;
    font-size:.60rem;
  }

  #hub .grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  #hub .game-card-wrap { border-radius:17px; }
  #hub .game-card-wrap > .card-game { padding:0 10px 11px; }
  #hub .card-emoji {
    min-height:0;
    aspect-ratio:1.42 / 1;
    margin:0 -10px 10px;
  }
  #hub .card-emoji .gicon { width:56px; height:56px; }
  #hub .card-art-category {
    left:7px;
    top:7px;
    max-width:calc(100% - 57px);
    padding:4px 6px;
    font-size:.62rem;
    letter-spacing:.035em;
  }
  #hub .card-title { font-size:.88rem; line-height:1.18; }
  #hub .card-meta {
    margin-top:4px;
    font-size:.69rem;
    line-height:1.22;
  }
  #hub .card-desc { display:none !important; }
  #hub .favorite-btn {
    top:6px;
    right:6px;
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    border-radius:12px;
  }
  #hub .reference-grid-kicker { font-size:.62rem; }
  #hub .count { font-size:.70rem; }
}

/* 320px still keeps two cards; only truly sub-300 layouts fall back to one. */
@media (max-width:299px) {
  #hub .grid { grid-template-columns:1fr; }
}

@media (hover:none) and (pointer:coarse) {
  #hub .game-card-wrap:hover,
  #hub .cont-card:hover { transform:none; }
  #hub .game-card-wrap > .card-game:active,
  #hub .cont-card:active { transform:scale(.985); }
}

@media (prefers-reduced-motion:reduce) {
  #hub .cont-card,
  #hub .game-card-wrap,
  #hub .card-emoji .gicon { transition:none !important; }
}
/* Bhuchi Arcade Home UX V110 — Step 4
   Footer, SEO handoff and bottom-page spacing.
   Loaded last so this is the authoritative bottom-of-home layer. */

/* Give the catalogue room to breathe before secondary content begins. */
#hub .hub-main { padding-bottom:0; }
#hub .grid { margin-bottom:clamp(38px,5vw,70px); }
#hub .empty { margin-bottom:clamp(34px,5vw,64px); }

/* Optional ad belongs before SEO/footer, never below the footer. */
#hub #ad-hub {
  order:9;
  width:100%;
  min-height:0;
  margin:0 0 clamp(24px,4vw,44px);
  border:0;
  background:transparent;
}
#hub #ad-hub:empty { display:none; }
#hub #ad-hub:not(:empty) {
  min-height:90px;
  padding:10px 0;
  border-top:1px solid rgba(255,255,255,.045);
  border-bottom:1px solid rgba(255,255,255,.045);
}

/* SEO links are useful, but visually secondary to the product experience. */
#hub .footer-seo-zone {
  order:10;
  width:100%;
  margin:0 0 clamp(30px,4vw,52px);
}
#hub .footer-seo-zone .seo-browse {
  margin:0;
  padding:0;
  border:1px solid rgba(255,255,255,.065);
  border-radius:18px;
  background:rgba(18,20,29,.56);
  overflow:hidden;
}
#hub .footer-seo-zone .seo-browse summary {
  min-height:52px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#a9afbf;
  font-size:.75rem;
  font-weight:850;
  cursor:pointer;
  list-style:none;
}
#hub .footer-seo-zone .seo-browse summary::-webkit-details-marker { display:none; }
#hub .footer-seo-zone .seo-browse summary::after {
  content:"+";
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.055);
  color:#d9dcE7;
  font-size:1rem;
  transition:transform .18s ease,background .18s ease;
}
#hub .footer-seo-zone .seo-browse[open] summary::after { transform:rotate(45deg); background:rgba(155,124,255,.13); }
#hub .footer-seo-zone .seo-browse-copy {
  margin:0;
  padding:2px 16px 13px;
  color:#858c9d;
  font-size:.72rem;
  line-height:1.55;
}
#hub .footer-seo-zone .seo-browse-links {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:0 16px 16px;
}
#hub .footer-seo-zone .seo-browse-links a {
  min-height:34px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
  background:rgba(255,255,255,.028);
  color:#aab0c0;
  font-size:.66rem;
  font-weight:720;
  text-decoration:none;
}
#hub .footer-seo-zone .seo-browse-links a:hover { color:#fff; border-color:rgba(155,124,255,.30); background:rgba(155,124,255,.075); }

/* Footer is the actual end of the homepage: full viewport width, calm and spacious. */
#hub .reference-footer {
  order:11;
  position:relative;
  width:100vw;
  max-width:none;
  margin:0 0 0 calc(50% - 50vw);
  padding:clamp(38px,5vw,64px) max(clamp(18px,4vw,52px),env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(clamp(18px,4vw,52px),env(safe-area-inset-left));
  box-sizing:border-box;
  border-top:1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 12% 0%,rgba(133,95,255,.12),transparent 28rem),
    radial-gradient(circle at 88% 22%,rgba(37,188,255,.055),transparent 25rem),
    linear-gradient(180deg,#11131b 0%,#0b0c12 100%);
  text-align:left;
  color:#969dad;
  overflow:hidden;
}
#hub .reference-footer::before {
  content:"";
  position:absolute;
  inset:0 auto auto 50%;
  width:min(680px,68vw);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(166,139,255,.42),transparent);
}
#hub .reference-footer-inner,
#hub .footer-bottom {
  width:min(1600px,100%);
  margin-inline:auto;
  box-sizing:border-box;
}
#hub .reference-footer-inner {
  display:grid;
  grid-template-columns:minmax(280px,1.15fr) minmax(460px,1fr);
  gap:clamp(42px,7vw,110px);
  align-items:start;
}
#hub .footer-brand-block { max-width:560px; }
#hub .footer-brand {
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:13px;
  color:#fff;
  text-decoration:none;
}
#hub .footer-brand-mark {
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:linear-gradient(145deg,#997cff,#6048ee 60%,#3f2cbf);
  color:white;
  font-size:1.08rem;
  font-weight:1000;
  box-shadow:0 10px 30px rgba(89,63,228,.22),inset 0 1px 0 rgba(255,255,255,.20);
}
#hub .footer-brand-copy { display:grid; gap:3px; min-width:0; }
#hub .footer-brand-copy strong { color:#f3f4fa; font-size:1.03rem; letter-spacing:-.025em; }
#hub .footer-brand-copy small { color:#a89bd7; font-size:.68rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
#hub .footer-promise {
  max-width:520px;
  margin:18px 0 0;
  color:#8f96a7;
  font-size:.79rem;
  line-height:1.65;
}
#hub .footer-trust-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
#hub .footer-trust-row span {
  min-height:32px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:#a9afbe;
  font-size:.64rem;
  font-weight:800;
}
#hub .footer-nav-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(22px,3vw,40px);
}
#hub .footer-nav-group { display:grid; align-content:start; gap:10px; }
#hub .footer-nav-group strong {
  margin-bottom:3px;
  color:#d8dbe5;
  font-size:.70rem;
  font-weight:950;
  letter-spacing:.095em;
  text-transform:uppercase;
}
#hub .footer-nav-group a {
  width:max-content;
  max-width:100%;
  min-height:28px;
  display:flex;
  align-items:center;
  color:#8e95a6;
  font-size:.74rem;
  font-weight:700;
  text-decoration:none;
  transition:color .16s ease,transform .16s ease;
}
#hub .footer-nav-group a:hover { color:#fff; transform:translateX(2px); }
#hub .footer-nav-group a:focus-visible,
#hub .footer-brand:focus-visible,
#hub .footer-seo-zone a:focus-visible,
#hub .footer-seo-zone summary:focus-visible {
  outline:3px solid rgba(184,142,255,.82);
  outline-offset:3px;
  border-radius:8px;
}
#hub .footer-bottom {
  margin-top:clamp(34px,4vw,48px);
  padding-top:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px 26px;
  flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.055);
  color:#666e7d;
  font-size:.64rem;
  font-weight:700;
}

/* Footer is hidden together with other secondary content during active search/filtering. */
body.is-filtering-games #hub .footer-seo-zone,
body.is-filtering-games #hub .reference-footer,
body.is-filtering-games #hub #ad-hub { display:none !important; }

@media (min-width:1540px) {
  #hub .hub-main { width:min(1680px,100%); }
}

@media (max-width:900px) {
  #hub .reference-footer-inner { grid-template-columns:1fr; gap:34px; }
  #hub .footer-brand-block { max-width:640px; }
  #hub .footer-nav-grid { max-width:650px; }
}

@media (max-width:640px) {
  #hub .grid { margin-bottom:34px; }
  #hub .footer-seo-zone { margin-bottom:26px; }
  #hub .footer-seo-zone .seo-browse { border-radius:15px; }
  #hub .footer-seo-zone .seo-browse summary { min-height:50px; padding-inline:13px; font-size:.70rem; }
  #hub .footer-seo-zone .seo-browse-copy { padding-inline:13px; }
  #hub .footer-seo-zone .seo-browse-links { gap:6px; padding:0 13px 13px; }
  #hub .footer-seo-zone .seo-browse-links a { min-height:40px; font-size:.65rem; }
  #hub .reference-footer {
    margin-bottom:0;
    padding-top:34px;
    padding-bottom:calc(20px + env(safe-area-inset-bottom));
  }
  #hub .reference-footer-inner { gap:30px; }
  #hub .footer-brand-mark { width:44px; height:44px; flex-basis:44px; border-radius:14px; }
  #hub .footer-brand-copy strong { font-size:.98rem; }
  #hub .footer-promise { margin-top:15px; font-size:.76rem; line-height:1.58; }
  #hub .footer-trust-row { margin-top:15px; }
  #hub .footer-nav-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 24px; }
  #hub .footer-nav-group a { min-height:40px; }
  #hub .footer-nav-group:last-child { grid-column:1/-1; grid-template-columns:repeat(4,max-content); gap:8px 18px; align-items:center; }
  #hub .footer-nav-group:last-child strong { grid-column:1/-1; }
  #hub .footer-bottom { margin-top:30px; padding-top:17px; justify-content:flex-start; gap:7px 18px; }
}

@media (max-width:390px) {
  #hub .footer-nav-grid { grid-template-columns:1fr 1fr; gap:24px 18px; }
  #hub .footer-nav-group:last-child { grid-template-columns:repeat(2,max-content); }
  #hub .footer-bottom { display:grid; gap:7px; }
}

@media (prefers-reduced-motion:reduce) {
  #hub .footer-nav-group a,
  #hub .footer-seo-zone .seo-browse summary::after { transition:none !important; }
}
/* Bhuchi Arcade Home UX V110 — Step 5
   Final homepage polish: rhythm, states, settings cleanup, accessibility. */

#hub {
  --home-content-max:1680px;
  --home-focus:rgba(190,155,255,.92);
}

/* Align every major homepage band to one desktop grid. */
#hub .hub-header-inner,
#hub .hub-main { width:min(var(--home-content-max),100%); }
#hub .hub-header-inner { padding-inline:clamp(16px,3.2vw,42px); }
#hub .hub-main { padding-inline:clamp(16px,3.2vw,42px); }

/* Calm, repeatable section rhythm. */
#hub .controls { margin-bottom:clamp(16px,2vw,22px); }
#hub .hero { margin-bottom:clamp(12px,1.7vw,18px); }
#hub .live-quick-picks { margin-bottom:clamp(24px,3vw,34px); }
#hub .continue { margin-bottom:clamp(28px,3.4vw,42px); }
#hub .reference-grid-kicker { margin-bottom:7px; }
#hub .grid-head { margin-bottom:clamp(12px,1.4vw,16px); }

/* Slightly stronger hierarchy without adding new clutter. */
#hub .reference-grid-kicker {
  color:#9c8ff0;
  letter-spacing:.14em;
  font-weight:950;
}
#hub .grid-head .section-label { color:#f4f5fa; letter-spacing:-.025em; }
#hub .count {
  min-height:30px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:#a5acbd;
}

/* Shared interaction language. */
#hub :where(button,a,.card-game,.cont-card,.cat-pill,.surprise-chip,.reference-favorites) {
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
#hub :where(button,a,.card-game,.cont-card,.cat-pill,.surprise-chip,.reference-favorites):focus-visible {
  outline:3px solid var(--home-focus) !important;
  outline-offset:3px !important;
}
@media (hover:hover) and (pointer:fine) {
  #hub .surprise-chip:hover,
  #hub .reference-favorites:hover,
  #hub .hub-header .icon-btn:hover {
    border-color:rgba(177,147,255,.38);
    background-color:rgba(155,124,255,.10);
    transform:translateY(-1px);
  }
  #hub .cat-pill:hover { color:#fff; border-color:rgba(255,255,255,.14); }
  #hub .game-card-wrap:hover {
    transform:translateY(-3px);
    border-color:rgba(177,147,255,.18);
    box-shadow:0 16px 34px rgba(0,0,0,.20);
  }
}
#hub .cat-pill[aria-selected="true"],
#hub .cat-pill.is-active {
  color:#fff;
  border-color:rgba(172,143,255,.44);
  background:linear-gradient(145deg,rgba(155,124,255,.22),rgba(99,72,210,.14));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
#hub .cat-pill[aria-selected="true"]::before,
#hub .cat-pill.is-active::before {
  content:"";
  width:6px;
  height:6px;
  margin-right:2px;
  border-radius:50%;
  background:#c0acff;
  box-shadow:0 0 10px rgba(184,160,255,.72);
}

/* Header gets a cleaner edge and preserves safe areas. */
#hub .hub-header {
  padding-top:env(safe-area-inset-top);
  box-shadow:0 1px 0 rgba(255,255,255,.015),0 12px 34px rgba(0,0,0,.08);
}
#hub .reference-brand-mark { transition:transform .18s ease,box-shadow .18s ease; }
@media (hover:hover) and (pointer:fine) {
  #hub .reference-brand:hover .reference-brand-mark { transform:rotate(-3deg) scale(1.03); box-shadow:0 12px 34px rgba(93,69,237,.34); }
}

/* Search feels finished and clear affordance stays large enough. */
#hub .search-clear {
  min-width:42px;
  min-height:42px;
  border-radius:12px;
}
#hub .search-wrap:focus-within { background:#171923; }

/* Cards keep contrast consistent across varying accent art. */
#hub .game-card-wrap {
  border:1px solid rgba(255,255,255,.055);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
#hub .card-title { color:#f5f6fa; font-weight:900; }
#hub .card-meta { color:#a2a9ba; }
#hub .favorite-btn { backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
#hub .favorite-btn:active { transform:scale(.92); }

/* Continue is useful, but visually secondary to discovery. */
#hub .continue .section-label { font-size:clamp(.92rem,1.4vw,1.05rem); }
#hub .cont-card { transition:transform .18s ease,border-color .18s ease,background .18s ease; }
#hub .cont-resume { border:1px solid rgba(255,255,255,.06); }

/* Settings: remove unfinished product controls and tighten the sheet. */
#settings .sheet { width:min(620px,calc(100vw - 24px)); }
#settings .sheet-scroll { padding-bottom:max(22px,env(safe-area-inset-bottom)); }
#settings #s-music,
#settings .audio-control-card:has(#s-music-volume) { display:none !important; }
#settings .group-label { margin-top:22px; color:#aaa1dd; }
#settings .card { border-radius:16px; }
#settings .toggle-row { min-height:58px; }
#settings .sheet-bar { min-height:58px; }
#settings #s-close { min-width:44px; min-height:44px; }

/* Clean bottom hand-off: no abrupt visual cliff after last card. */
#hub .grid { position:relative; }
#hub .grid::after {
  content:"";
  position:absolute;
  left:10%; right:10%; bottom:calc(-1 * clamp(24px,3vw,40px));
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.045),transparent);
  pointer-events:none;
}
#hub .reference-footer { margin-top:0; }

/* Custom but unobtrusive desktop scrollbar. */
@media (pointer:fine) {
  html { scrollbar-color:#36304f #0e0f16; scrollbar-width:thin; }
  body::-webkit-scrollbar { width:11px; }
  body::-webkit-scrollbar-track { background:#0e0f16; }
  body::-webkit-scrollbar-thumb { background:#343047; border:3px solid #0e0f16; border-radius:999px; }
  body::-webkit-scrollbar-thumb:hover { background:#51476e; }
}

/* Mobile final pass: no squeeze, no tiny labels, consistent 44px actions. */
@media (max-width:640px) {
  #hub .hub-header-inner { min-height:64px; padding-block:8px; }
  #hub .reference-brand-meta small { display:none; }
  #hub .reference-brand-meta span { font-size:.55rem; letter-spacing:.09em; }
  #hub .hub-main { padding-top:14px; }
  #hub .controls { margin-bottom:14px; }
  #hub .hero { margin-bottom:10px; }
  #hub .live-quick-picks { margin-bottom:24px; }
  #hub .continue { margin-bottom:29px; }
  #hub .reference-grid-kicker { font-size:.64rem; }
  #hub .grid-head .section-label { font-size:1rem; }
  #hub .count { min-height:28px; font-size:.68rem; }
  #hub .game-card-wrap:active { transform:scale(.985); }
  #settings .sheet { width:calc(100vw - 12px); max-height:calc(100dvh - 12px); border-radius:20px 20px 0 0; }
}

@media (max-width:390px) {
  #hub .reference-brand-meta { margin-top:2px; }
  #hub .reference-brand-meta span { font-size:.51rem; }
  #hub .wordmark { font-size:1rem; }
}

@media (prefers-reduced-motion:reduce) {
  #hub .reference-brand-mark,
  #hub .game-card-wrap,
  #hub .cont-card,
  #hub .surprise-chip,
  #hub .reference-favorites,
  #hub .hub-header .icon-btn { transition:none !important; transform:none !important; }
}

/* ========================================================================
   Bhuchi Arcade V112 — current-generation game discovery UI
   Philosophy: image-led, friction-light, neutral chrome, strong hierarchy.
   ======================================================================== */
:root{
  --v112-bg:#090b10;
  --v112-bg-2:#0d1017;
  --v112-surface:#11151d;
  --v112-surface-2:#151a24;
  --v112-elevated:#1a202b;
  --v112-border:rgba(255,255,255,.08);
  --v112-border-strong:rgba(255,255,255,.14);
  --v112-text:#f6f7fb;
  --v112-muted:#9aa4b2;
  --v112-subtle:#6e7886;
  --v112-primary:#7c6cff;
  --v112-primary-2:#968bff;
  --v112-success:#70e1b1;
  --v112-radius-sm:12px;
  --v112-radius:18px;
  --v112-radius-lg:26px;
  --v112-shadow:0 16px 50px rgba(0,0,0,.28);
}
html{background:var(--v112-bg);color-scheme:dark}
body{background:var(--v112-bg);color:var(--v112-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
#hub{min-height:100dvh;background:
  radial-gradient(900px 520px at 78% -12%,rgba(124,108,255,.10),transparent 68%),
  radial-gradient(700px 480px at -8% 32%,rgba(62,130,246,.055),transparent 65%),
  var(--v112-bg)}
#hub .rail{display:none!important}
#hub .hub-body{display:block!important;min-width:0}
#hub .hub-main{width:min(100%,1680px);max-width:none!important;margin:0 auto;padding:24px clamp(18px,3.2vw,52px) 0!important;min-width:0}
#hub .reference-secondary-system{display:none!important}

/* Header */
#hub .hub-header{position:sticky;top:0;z-index:60;background:rgba(9,11,16,.82);border-bottom:1px solid rgba(255,255,255,.055);backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%)}
#hub .hub-header-inner{width:min(100%,1680px);min-height:68px;margin:0 auto;padding:10px clamp(18px,3.2vw,52px);display:flex;align-items:center;justify-content:space-between;gap:20px}
#hub .reference-brand{display:flex;align-items:center;gap:12px;min-width:0}
#hub .reference-brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#8b7cff,#6657f2);color:white;font-weight:900;font-size:20px;box-shadow:0 10px 28px rgba(124,108,255,.2)}
#hub .wordmark{margin:0;color:var(--v112-text);font-size:19px;line-height:1;font-weight:820;letter-spacing:-.025em}
#hub .wordmark span{color:#afa7ff}
#hub .reference-brand-meta{margin-top:5px;display:flex;align-items:center;gap:8px;color:var(--v112-muted);font-size:10px;font-weight:700;letter-spacing:.08em}
#hub .reference-brand-meta small{color:var(--v112-subtle);font-size:10px;font-weight:600;letter-spacing:0}
#hub .reference-header-actions{display:flex;align-items:center;gap:8px}
#hub .reference-header-actions .chip,#hub .reference-header-actions .icon-btn{min-height:44px;border:1px solid var(--v112-border);background:rgba(255,255,255,.04);color:var(--v112-text);box-shadow:none}
#hub .reference-header-actions .chip:hover,#hub .reference-header-actions .icon-btn:hover{background:rgba(255,255,255,.075);border-color:var(--v112-border-strong)}

/* Search and discovery */
#hub .controls{margin:0 0 22px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;display:grid;gap:12px}
#hub .search-wrap{height:58px;border-radius:17px;background:var(--v112-surface);border:1px solid var(--v112-border);box-shadow:none;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
#hub .search-wrap:focus-within{border-color:rgba(124,108,255,.7);background:#131821;box-shadow:0 0 0 3px rgba(124,108,255,.12)}
#hub .search-icon{opacity:.68;font-size:18px}
#hub #search{height:100%;font-size:16px;font-weight:620;color:var(--v112-text);letter-spacing:-.01em}
#hub #search::placeholder{color:#727d8c}
#hub .search-clear{min-width:42px;min-height:42px;border-radius:12px;color:var(--v112-muted)}
#hub .category-scroll-shell{position:relative;min-width:0}
#hub .pill-cats{gap:8px;padding:1px 2px 4px;scrollbar-width:none}
#hub .cat-pill{min-height:42px!important;padding:0 14px!important;gap:8px!important;border-radius:999px!important;border:1px solid var(--v112-border)!important;background:rgba(255,255,255,.03)!important;color:#c8ced8!important;box-shadow:none!important;white-space:nowrap}
#hub .cat-pill:hover{background:rgba(255,255,255,.065)!important;border-color:var(--v112-border-strong)!important;color:white!important}
#hub .cat-pill[aria-selected="true"]{background:var(--v112-text)!important;border-color:var(--v112-text)!important;color:#0a0c10!important}
#hub .cat-pill .dot{width:auto;height:auto;background:none!important;border:0!important;box-shadow:none!important;font-size:15px}
#hub .cat-pill .cat-label strong{font-size:12px;font-weight:760;letter-spacing:0}
#hub .cat-pill .cat-label small,#hub .cat-pill .cat-count{display:none!important}
#hub .category-scroll-hint{background:linear-gradient(90deg,transparent,var(--v112-bg) 52%);color:#c7cbd4}
#hub .discovery-actions{display:flex;align-items:center;gap:8px;min-width:0;overflow-x:auto;padding:0 0 2px;scrollbar-width:none}
#hub .control-group{display:flex!important;align-items:center;gap:8px;flex:none}
#hub .control-label{display:none!important}
#hub .control-buttons{display:flex;gap:8px}
#hub .discovery-actions .chip,#hub .surprise-chip{min-height:40px!important;border-radius:12px!important;padding:0 13px!important;border:1px solid var(--v112-border)!important;background:transparent!important;color:var(--v112-muted)!important;font-size:12px!important;font-weight:720!important;box-shadow:none!important;white-space:nowrap}
#hub .discovery-actions .chip:hover,#hub .surprise-chip:hover{background:rgba(255,255,255,.055)!important;color:white!important}
#hub .discovery-actions .chip.is-active{background:rgba(124,108,255,.13)!important;color:#c8c2ff!important;border-color:rgba(124,108,255,.34)!important}
#hub .surprise-chip{margin-left:auto!important;color:#d7dbe4!important}

/* Featured bento */
#hub .feature-bento{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(310px,.72fr);gap:16px;margin:0 0 34px}
#hub .hero{position:relative;isolation:isolate;min-height:430px;margin:0!important;padding:clamp(24px,4vw,54px)!important;border-radius:var(--v112-radius-lg)!important;overflow:hidden;border:1px solid rgba(255,255,255,.09)!important;background:#10141b!important;box-shadow:var(--v112-shadow)!important;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:14px}
#hub .hero-media{position:absolute;inset:0;z-index:-3;overflow:hidden}
#hub .hero-media img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.92) contrast(1.04);transform:scale(1.002)}
#hub .hero::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(7,10,14,.93) 0%,rgba(7,10,14,.76) 40%,rgba(7,10,14,.24) 70%,rgba(7,10,14,.18) 100%)}
#hub .hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,10,14,.06),rgba(8,10,14,.16) 50%,rgba(8,10,14,.72));pointer-events:none}
#hub .hero-avatar{display:none!important}
#hub .hero-copy{max-width:650px;text-align:left!important;margin:0!important}
#hub .hero-eyebrow{margin:0 0 10px;color:#bbb5ff!important;font-size:11px!important;font-weight:800!important;letter-spacing:.13em!important}
#hub .hero-name{margin:0 0 7px!important;color:#f1efff!important;font-size:12px!important;font-weight:760!important;letter-spacing:.1em!important}
#hub .hero-line{max-width:620px;margin:0!important;color:white!important;font-size:clamp(34px,4vw,58px)!important;line-height:.98!important;font-weight:870!important;letter-spacing:-.045em!important;text-wrap:balance}
#hub .hero-meta{max-width:580px;margin:15px 0 0!important;color:#d2d7df!important;font-size:14px!important;line-height:1.55!important;font-weight:520!important}
#hub .feature-play{width:auto!important;min-height:52px!important;margin:3px 0 0!important;padding:7px 8px 7px 14px!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:15px!important;background:rgba(11,14,19,.78)!important;color:white!important;backdrop-filter:blur(14px);box-shadow:none!important;display:inline-flex!important;align-items:center!important;gap:10px!important}
#hub .feature-play:hover{background:rgba(16,20,28,.92)!important;border-color:rgba(255,255,255,.24)!important;transform:translateY(-1px)}
#hub .feature-play-label,#hub .feature-icon{display:none!important}
#hub .feature-copy{display:flex!important;flex-direction:column;align-items:flex-start!important;min-width:0}
#hub .feature-copy strong{font-size:14px!important;font-weight:780!important;color:white!important}
#hub .feature-copy small{font-size:11px!important;color:#aeb6c2!important}
#hub .feature-cta{margin-left:10px!important;display:grid!important;place-items:center;min-height:38px;padding:0 17px;border-radius:11px;background:white!important;color:#090b10!important;font-size:12px!important;font-weight:830!important;letter-spacing:.03em}
#hub .feature-arrow{display:none!important}

#hub .live-quick-picks{display:grid!important;grid-template-rows:1fr 1fr;gap:16px!important;margin:0!important;min-width:0}
#hub .live-quick-pick{position:relative;isolation:isolate;overflow:hidden;min-height:0!important;height:auto!important;border:1px solid var(--v112-border)!important;border-radius:var(--v112-radius-lg)!important;background:#11151c!important;padding:0!important;text-align:left;box-shadow:none!important;display:block!important}
#hub .quick-pick-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3;filter:saturate(.82) contrast(1.05);transition:transform .32s ease,filter .32s ease}
#hub .quick-pick-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(8,10,14,.05),rgba(8,10,14,.16) 40%,rgba(8,10,14,.9) 100%)}
#hub .quick-pick-content{position:absolute;inset:auto 0 0;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;color:white}
#hub .quick-pick-content small{font-size:9px!important;line-height:1;color:#c6c0ff!important;font-weight:800!important;letter-spacing:.12em!important}
#hub .quick-pick-content strong{font-size:20px!important;line-height:1.1;color:white!important;font-weight:820!important;letter-spacing:-.025em}
#hub .quick-pick-meta{font-size:11px;color:#c3c9d2;margin-top:2px}
#hub .quick-pick-cta{margin-top:9px;font-size:11px;font-weight:780;color:white}
#hub .live-quick-pick:hover .quick-pick-image{transform:scale(1.025);filter:saturate(.94) contrast(1.04)}

/* Continue */
#hub .continue{margin:0 0 38px!important}
#hub .continue .section-label{margin-bottom:13px!important;font-size:20px!important;letter-spacing:-.025em!important}
#hub .continue-row{gap:10px!important}
#hub .cont-card{min-width:270px!important;min-height:82px!important;border-radius:16px!important;border:1px solid var(--v112-border)!important;background:var(--v112-surface)!important;box-shadow:none!important;padding:12px!important}
#hub .cont-card:hover{background:var(--v112-surface-2)!important;border-color:var(--v112-border-strong)!important;transform:translateY(-2px)}
#hub .cont-icon{width:50px!important;height:50px!important;border-radius:13px!important;background:rgba(255,255,255,.055)!important}
#hub .cont-name{font-size:14px!important;color:white!important;font-weight:760!important}
#hub .cont-meta,#hub .cont-best{font-size:10px!important;color:var(--v112-muted)!important}
#hub .cont-resume{min-height:34px!important;padding:0 10px!important;border-radius:10px!important;background:rgba(255,255,255,.065)!important;color:#e7e9ee!important;font-size:10px!important;font-weight:780!important}

/* Catalogue */
#hub .reference-grid-kicker{display:none!important}
#hub .grid-head{margin:0 0 16px!important;display:flex;align-items:end;justify-content:space-between}
#hub .grid-head .section-label{font-size:clamp(25px,2.2vw,34px)!important;line-height:1!important;letter-spacing:-.04em!important;font-weight:850!important;color:var(--v112-text)!important}
#hub .count{font-size:11px!important;color:var(--v112-subtle)!important;font-weight:700!important}
#hub .grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:clamp(16px,1.4vw,22px)!important}
#hub .game-card-wrap{position:relative!important;min-width:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
#hub .game-card-wrap>.card-game{display:block!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important;text-align:left!important;color:inherit!important;box-shadow:none!important}
#hub .card-emoji{position:relative!important;width:100%!important;aspect-ratio:1.32/1!important;min-height:0!important;margin:0 0 12px!important;border-radius:18px!important;display:grid!important;place-items:center!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.075)!important;background:
  radial-gradient(circle at 50% 36%,color-mix(in srgb,var(--tile) 38%,transparent),transparent 38%),
  linear-gradient(145deg,#181d27,#0f131a)!important;box-shadow:none!important;transition:transform .22s ease,border-color .22s ease,filter .22s ease}
#hub .card-emoji>svg{width:76px!important;height:76px!important;filter:drop-shadow(0 14px 26px rgba(0,0,0,.24));transition:transform .22s ease}
#hub .card-art-category{position:absolute!important;left:10px!important;top:10px!important;height:25px!important;padding:0 8px!important;border-radius:999px!important;background:rgba(8,10,14,.64)!important;border:1px solid rgba(255,255,255,.10)!important;color:#e1e5eb!important;font-size:9px!important;font-weight:800!important;letter-spacing:.035em!important;backdrop-filter:blur(8px)}
#hub .card-title{display:block!important;margin:0 0 5px!important;padding:0 2px!important;color:var(--v112-text)!important;font-size:15px!important;line-height:1.2!important;font-weight:770!important;letter-spacing:-.018em!important}
#hub .card-meta{display:block!important;padding:0 2px!important;color:var(--v112-muted)!important;font-size:11px!important;line-height:1.3!important;font-weight:560!important}
#hub .card-desc{display:none!important}
#hub .favorite-btn{top:9px!important;right:9px!important;width:40px!important;height:40px!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.10)!important;background:rgba(9,11,16,.72)!important;color:#d9dde4!important;backdrop-filter:blur(9px);box-shadow:none!important;opacity:.86!important}
#hub .favorite-btn:hover,#hub .favorite-btn:focus-visible{opacity:1!important;background:#181d26!important;color:white!important}
#hub .favorite-btn.is-favorite{background:#f4f5f8!important;color:#151820!important;border-color:#f4f5f8!important}
#hub .game-card-wrap:hover .card-emoji{transform:translateY(-3px);border-color:rgba(255,255,255,.14)!important;filter:brightness(1.04)}
#hub .game-card-wrap:hover .card-emoji>svg{transform:scale(1.035)}

/* Empty / SEO / footer */
#hub .empty{padding:56px 20px!important;border-radius:20px!important;background:var(--v112-surface)!important;border:1px solid var(--v112-border)!important}
#hub .footer-ad-slot{margin-top:48px!important}
#hub .footer-seo-zone{margin-top:48px!important}
#hub .seo-browse{border:1px solid var(--v112-border)!important;background:var(--v112-surface)!important;border-radius:16px!important}
#hub .seo-browse summary{min-height:50px!important;padding:0 16px!important;color:#d3d7df!important;font-size:12px!important}
#hub .reference-footer{margin-top:30px!important;background:#0b0e13!important;border-top:1px solid rgba(255,255,255,.07)!important}
#hub .reference-footer-inner{width:min(100%,1680px)!important;gap:54px!important;padding:44px clamp(18px,3.2vw,52px)!important}
#hub .footer-brand-mark{background:linear-gradient(145deg,#8b7cff,#6657f2)!important;color:white!important;box-shadow:none!important}
#hub .footer-trust-row span{background:rgba(255,255,255,.035)!important;border-color:var(--v112-border)!important;color:#afb6c1!important}
#hub .footer-nav-group a{color:#9aa3af!important}
#hub .footer-nav-group a:hover{color:white!important}
#hub .footer-bottom{width:min(100%,1680px)!important;color:#697381!important;border-top-color:rgba(255,255,255,.055)!important}

/* Focus and motion */
#hub button:focus-visible,#hub a:focus-visible,#hub input:focus-visible{outline:2px solid #b9b3ff!important;outline-offset:3px!important}

/* Search/filter mode stays content-first */
body.is-filtering-games #hub .feature-bento,
#hub.is-searching .feature-bento{display:none!important}
body.is-filtering-games #hub .continue{display:none!important}

@media (min-width:1700px){#hub .grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media (max-width:1180px){
  #hub .feature-bento{grid-template-columns:1fr;gap:12px}
  #hub .hero{min-height:390px}
  #hub .live-quick-picks{grid-template-columns:1fr 1fr;grid-template-rows:none;height:190px}
  #hub .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:820px){
  #hub .hub-header-inner{min-height:62px;padding:8px 16px}
  #hub .reference-brand-meta small{display:none}
  #hub .hub-main{padding:18px 16px 0!important}
  #hub .controls{margin-bottom:16px!important;gap:10px}
  #hub .search-wrap{height:52px;border-radius:15px}
  #hub .feature-bento{margin-bottom:28px}
  #hub .hero{min-height:310px;padding:24px!important;border-radius:22px!important}
  #hub .hero-line{font-size:clamp(30px,8vw,42px)!important;max-width:520px}
  #hub .hero-meta{font-size:13px!important;margin-top:12px!important;max-width:500px}
  #hub .live-quick-picks{height:164px;gap:10px}
  #hub .live-quick-pick{border-radius:19px!important}
  #hub .quick-pick-content{padding:15px}
  #hub .quick-pick-content strong{font-size:17px!important}
  #hub .quick-pick-meta{display:none}
  #hub .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
  #hub .reference-footer-inner{grid-template-columns:1fr!important;padding:36px 16px!important;gap:30px!important}
}
@media (max-width:560px){
  #hub .hub-header-inner{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
  #hub .reference-brand-mark{width:38px;height:38px;border-radius:12px;font-size:18px}
  #hub .wordmark{font-size:17px}
  #hub .reference-brand-meta{display:none}
  #hub .reference-header-actions .chip{width:42px!important;min-width:42px!important;padding:0!important;justify-content:center!important}
  #hub .reference-favorites-label{display:none!important}
  #hub .hub-main{padding-left:14px!important;padding-right:14px!important}
  #hub .cat-pill{min-height:40px!important;padding:0 12px!important}
  #hub .discovery-actions{margin-right:-14px;padding-right:14px}
  #hub .surprise-chip{margin-left:0!important}
  #hub .hero{min-height:272px;padding:20px!important}
  #hub .hero::before{background:linear-gradient(90deg,rgba(7,10,14,.90),rgba(7,10,14,.46) 76%,rgba(7,10,14,.25))}
  #hub .hero-line{font-size:31px!important;max-width:300px}
  #hub .hero-meta{max-width:310px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  #hub .feature-play{min-height:48px!important;padding-left:12px!important}
  #hub .feature-copy strong{font-size:13px!important}
  #hub .feature-copy small{font-size:10px!important}
  #hub .feature-cta{min-height:35px;padding:0 13px!important}
  #hub .live-quick-picks{display:flex!important;height:auto!important;overflow-x:auto;gap:10px!important;margin-right:-14px!important;padding-right:14px!important;scroll-snap-type:x proximity;scrollbar-width:none}
  #hub .live-quick-pick{flex:0 0 78vw;height:150px!important;scroll-snap-align:start}
  #hub .continue{margin-bottom:30px!important}
  #hub .cont-card{min-width:242px!important}
  #hub .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 12px!important}
  #hub .card-emoji{border-radius:15px!important;margin-bottom:9px!important}
  #hub .card-emoji>svg{width:62px!important;height:62px!important}
  #hub .card-title{font-size:14px!important}
  #hub .card-meta{font-size:10px!important}
  #hub .favorite-btn{width:40px!important;height:40px!important;top:7px!important;right:7px!important}
  #hub .reference-footer{margin-left:-14px!important;margin-right:-14px!important}
}
@media (max-width:350px){
  #hub .hero{min-height:252px}
  #hub .hero-line{font-size:28px!important;max-width:260px}
  #hub .grid{gap:14px 10px!important}
  #hub .card-title{font-size:13px!important}
}
@media (hover:none){#hub .game-card-wrap:hover .card-emoji,#hub .cont-card:hover,#hub .feature-play:hover{transform:none}}
@media (prefers-reduced-motion:reduce){#hub *,#hub *::before,#hub *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}


/* ========================================================================
   Bhuchi Arcade V113 — Aurora Dusk
   Premium non-black background + expanded closing footer.
   Layout and gameplay integrations remain inherited from V112.
   ======================================================================== */
:root{
  --v112-bg:#182443;
  --v112-bg-2:#1b2849;
  --v112-surface:#202d4a;
  --v112-surface-2:#263553;
  --v112-elevated:#2a3959;
  --v112-border:rgba(220,229,255,.105);
  --v112-border-strong:rgba(225,232,255,.18);
  --v112-text:#f8f9ff;
  --v112-muted:#b1bbcf;
  --v112-subtle:#8794ad;
  --v112-primary:#a59bff;
  --v112-primary-2:#77c9ff;
  --v112-success:#79e6bd;
  --v112-shadow:0 20px 64px rgba(7,13,32,.24);
}
html{background:#182443!important}
body{
  background:
    radial-gradient(1000px 620px at 12% -6%,rgba(115,181,255,.17),transparent 64%),
    radial-gradient(860px 620px at 92% 9%,rgba(190,126,255,.15),transparent 66%),
    linear-gradient(155deg,#1d2d52 0%,#182443 42%,#241d48 100%) fixed!important;
  color:var(--v112-text)!important;
}
#hub{
  background:
    radial-gradient(1000px 600px at 12% -4%,rgba(86,180,255,.16),transparent 66%),
    radial-gradient(900px 650px at 92% 11%,rgba(190,117,255,.13),transparent 67%),
    radial-gradient(760px 520px at 48% 52%,rgba(92,225,209,.045),transparent 68%),
    linear-gradient(160deg,#1b2a4d 0%,#182443 44%,#211d43 100%)!important;
}
#hub::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.38;
  background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.10) 1px,transparent 0);
  background-size:30px 30px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.34),transparent 72%);
}
#hub .hub-header,#hub .hub-body{position:relative;z-index:1}
#hub .hub-header{
  background:rgba(24,36,67,.74)!important;
  border-bottom-color:rgba(220,229,255,.09)!important;
  box-shadow:0 8px 30px rgba(9,15,35,.10);
}
#hub .reference-brand-mark{
  background:linear-gradient(145deg,#8dc9ff,#8f7fff 52%,#b876ff)!important;
  box-shadow:0 10px 28px rgba(104,113,255,.22)!important;
}
#hub .wordmark span{color:#c3bcff!important}
#hub .search-wrap{
  background:rgba(32,45,74,.84)!important;
  border-color:rgba(220,229,255,.12)!important;
  box-shadow:0 12px 34px rgba(8,15,36,.10)!important;
}
#hub .search-wrap:focus-within{
  background:#243352!important;
  border-color:rgba(169,159,255,.72)!important;
  box-shadow:0 0 0 3px rgba(165,155,255,.14),0 16px 40px rgba(9,16,39,.14)!important;
}
#hub .category-scroll-hint{background:linear-gradient(90deg,transparent,#182443 52%)!important}
#hub .cat-pill{
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(225,232,255,.11)!important;
  color:#dbe2f1!important;
}
#hub .cat-pill:hover{background:rgba(255,255,255,.095)!important}
#hub .cat-pill[aria-selected="true"]{
  background:#f7f9ff!important;border-color:#f7f9ff!important;color:#1b2642!important;
  box-shadow:0 8px 24px rgba(9,15,35,.12)!important;
}
#hub .discovery-actions .chip,#hub .surprise-chip{
  border-color:rgba(225,232,255,.12)!important;background:rgba(255,255,255,.035)!important;color:#c3ccdd!important;
}
#hub .hero{border-color:rgba(232,237,255,.13)!important;box-shadow:0 26px 70px rgba(8,14,35,.28)!important}
#hub .live-quick-pick,#hub .cont-card,#hub .seo-browse,#hub .empty{
  background:rgba(32,45,74,.72)!important;border-color:rgba(225,232,255,.11)!important;
}
#hub .cont-card:hover{background:rgba(42,57,89,.84)!important}
#hub .card-emoji{
  border-color:rgba(230,235,255,.10)!important;
  background:
    radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--tile) 36%,transparent),transparent 38%),
    linear-gradient(145deg,rgba(46,60,92,.96),rgba(28,40,69,.96))!important;
  box-shadow:0 14px 34px rgba(9,15,35,.09)!important;
}
#hub .game-card-wrap:hover .card-emoji{border-color:rgba(235,239,255,.20)!important;box-shadow:0 20px 45px rgba(8,14,35,.15)!important}
#hub .favorite-btn{background:rgba(26,37,64,.76)!important;border-color:rgba(235,239,255,.13)!important}
#hub .favorite-btn:hover{background:#30405f!important}
#hub .favorite-btn.is-favorite{background:#f7f9ff!important;color:#283655!important;border-color:#f7f9ff!important}
#hub .footer-ad-slot{margin-top:56px!important}
#hub .footer-seo-zone{margin-top:38px!important;margin-bottom:44px!important}
#hub .footer-seo-zone .seo-browse{
  background:rgba(30,43,72,.60)!important;
  border-color:rgba(225,232,255,.10)!important;
  box-shadow:0 14px 38px rgba(8,14,35,.08);
}
#hub .reference-footer{
  margin-top:0!important;
  padding:0!important;
  background:
    radial-gradient(760px 460px at 14% 0%,rgba(91,189,255,.14),transparent 68%),
    radial-gradient(820px 520px at 88% 8%,rgba(188,117,255,.15),transparent 68%),
    linear-gradient(145deg,#152443 0%,#1a2243 48%,#241a42 100%)!important;
  border-top:1px solid rgba(226,233,255,.12)!important;
  box-shadow:0 -26px 70px rgba(11,16,40,.08);
}
#hub .reference-footer::before{
  width:min(900px,72vw)!important;height:1px!important;
  background:linear-gradient(90deg,transparent,rgba(117,203,255,.48),rgba(185,128,255,.48),transparent)!important;
}
#hub .footer-shell{width:min(100%,1680px);margin:0 auto;padding:clamp(48px,6vw,76px) clamp(18px,3.2vw,52px) calc(24px + env(safe-area-inset-bottom));box-sizing:border-box}
#hub .footer-spotlight{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:clamp(30px,5vw,76px);align-items:end;
  padding:0 0 clamp(38px,5vw,58px);margin-bottom:clamp(34px,4vw,48px);border-bottom:1px solid rgba(226,233,255,.10)
}
#hub .footer-kicker{display:block;margin-bottom:12px;color:#a8d8ff;font-size:10px;font-weight:900;letter-spacing:.16em}
#hub .footer-spotlight h2{max-width:760px;margin:0;color:#f9fbff;font-size:clamp(32px,4.1vw,62px);line-height:.98;font-weight:880;letter-spacing:-.05em;text-wrap:balance}
#hub .footer-spotlight p{max-width:650px;margin:17px 0 0;color:#b5c0d4;font-size:clamp(13px,1.1vw,15px);line-height:1.65}
#hub .footer-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#hub .footer-stat-grid>div{min-height:98px;padding:17px 18px;border:1px solid rgba(226,233,255,.11);border-radius:18px;background:rgba(255,255,255,.045);display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}
#hub .footer-stat-grid strong{color:#fff;font-size:clamp(25px,2.3vw,36px);line-height:1;font-weight:880;letter-spacing:-.04em}
#hub .footer-stat-grid span{color:#9facbf;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#hub .reference-footer-inner{width:100%!important;padding:0!important;gap:clamp(40px,6vw,96px)!important;grid-template-columns:minmax(290px,.9fr) minmax(520px,1.1fr)!important}
#hub .footer-brand-mark{background:linear-gradient(145deg,#8ed1ff,#927fff 55%,#b879ff)!important;box-shadow:0 12px 30px rgba(100,112,255,.20)!important}
#hub .footer-brand-copy small{color:#a7c9ef!important}
#hub .footer-promise{color:#a9b5c9!important}
#hub .footer-trust-row span{background:rgba(255,255,255,.045)!important;border-color:rgba(226,233,255,.10)!important;color:#c1cad9!important}
#hub .footer-nav-group strong{color:#eef2fb!important}
#hub .footer-nav-group a{color:#aeb9cb!important}
#hub .footer-nav-group a:hover{color:#fff!important}
#hub .footer-bottom{width:100%!important;margin-top:clamp(36px,5vw,54px)!important;padding-top:20px!important;color:#8492aa!important;border-top-color:rgba(226,233,255,.085)!important}
@media(max-width:900px){
  #hub .footer-spotlight{grid-template-columns:1fr;align-items:start}
  #hub .footer-stat-grid{max-width:560px}
  #hub .reference-footer-inner{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  #hub .footer-shell{padding:42px 14px calc(22px + env(safe-area-inset-bottom))}
  #hub .footer-spotlight{gap:26px;padding-bottom:34px;margin-bottom:30px}
  #hub .footer-spotlight h2{font-size:36px}
  #hub .footer-stat-grid{gap:7px}
  #hub .footer-stat-grid>div{min-height:80px;padding:13px 12px;border-radius:15px}
  #hub .footer-stat-grid strong{font-size:25px}
  #hub .footer-stat-grid span{font-size:8px}
  #hub .reference-footer{margin-left:-14px!important;margin-right:-14px!important}
  #hub .reference-footer-inner{gap:28px!important}
}
@media(prefers-reduced-motion:reduce){#hub::before{display:none}}

/* ========================================================================
   Bhuchi Arcade V114 — Cover Motion Polish
   Rechecked element-by-element: header, discovery, featured, resume,
   catalogue, footer. Static cover art + GPU-friendly interaction motion.
   ======================================================================== */
:root{
  --v114-glow:rgba(121,147,255,.22);
  --v114-cyan:#7bd8ff;
  --v114-violet:#9a8cff;
  --v114-lime:#b9f36b;
}

/* Ambient page depth — intentionally slow and low contrast. */
#hub{isolation:isolate;overflow:clip}
#hub::before,#hub::after{content:"";position:fixed;pointer-events:none;z-index:-1;border-radius:50%;filter:blur(1px);will-change:transform;opacity:.72}
#hub::before{width:min(58vw,860px);height:min(58vw,860px);left:-22vw;top:5vh;background:radial-gradient(circle,rgba(96,117,255,.17),rgba(66,99,210,.06) 47%,transparent 70%);animation:v114FloatA 18s ease-in-out infinite alternate}
#hub::after{width:min(52vw,760px);height:min(52vw,760px);right:-20vw;top:36vh;background:radial-gradient(circle,rgba(70,212,255,.12),rgba(129,92,255,.055) 48%,transparent 72%);animation:v114FloatB 22s ease-in-out infinite alternate}
@keyframes v114FloatA{to{transform:translate3d(5vw,5vh,0) scale(1.08)}}
@keyframes v114FloatB{to{transform:translate3d(-4vw,-6vh,0) scale(1.1)}}

/* Header — stronger surface definition without becoming a heavy navbar. */
#hub .hub-header{border-bottom-color:rgba(224,233,255,.09)!important;box-shadow:0 8px 30px rgba(7,12,30,.10)}
#hub .reference-brand-mark{position:relative;overflow:hidden}
#hub .reference-brand-mark::after{content:"";position:absolute;inset:-45%;background:linear-gradient(115deg,transparent 28%,rgba(255,255,255,.42) 45%,transparent 61%);transform:translateX(-90%) rotate(8deg);transition:transform .65s cubic-bezier(.2,.7,.2,1)}
#hub .reference-brand:hover .reference-brand-mark::after{transform:translateX(90%) rotate(8deg)}
#hub .reference-favorites,#hub .hub-header .icon-btn{transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease}
#hub .reference-favorites:hover,#hub .hub-header .icon-btn:hover{transform:translateY(-1px);border-color:rgba(204,217,255,.20)!important;background:rgba(255,255,255,.075)!important}
#hub .reference-favorites:active,#hub .hub-header .icon-btn:active{transform:scale(.97)}

/* Discovery controls — clearer active feedback. */
#hub .search-wrap{transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
#hub .search-wrap:focus-within{background:rgba(40,55,91,.92)!important;box-shadow:0 0 0 4px rgba(127,145,255,.10),0 18px 46px rgba(8,13,31,.20)!important}
#hub .cat-pill{position:relative;overflow:hidden;transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease}
#hub .cat-pill::before{content:"";position:absolute;inset:auto 16% -7px;height:9px;border-radius:50%;background:var(--v114-violet);filter:blur(8px);opacity:0;transition:opacity .2s ease}
#hub .cat-pill[aria-selected="true"]::before{opacity:.72}
#hub .cat-pill:hover{transform:translateY(-1px)}
#hub .cat-pill:active{transform:scale(.975)}
#hub .surprise-chip{position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .2s ease}
#hub .surprise-chip:hover{transform:translateY(-2px);box-shadow:0 13px 34px rgba(50,67,164,.20)!important}
#hub .surprise-chip:active{transform:scale(.98)}

/* Featured games — motion comes from imagery, not extra chrome. */
#hub .hero-media img{transform:scale(1.015);animation:v114HeroBreath 13s ease-in-out infinite alternate;will-change:transform}
@keyframes v114HeroBreath{to{transform:scale(1.07) translate3d(1.2%,-.6%,0)}}
#hub .hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.10) 47%,transparent 60%);transform:translateX(-120%);transition:transform .9s cubic-bezier(.2,.7,.2,1);z-index:1}
#hub .hero:hover::after{transform:translateX(120%)}
#hub .feature-play{transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
#hub .feature-play:hover{transform:translateY(-2px);box-shadow:0 15px 38px rgba(7,12,31,.24)!important}
#hub .feature-play:active{transform:scale(.985)}
#hub .live-quick-pick{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;will-change:transform}
#hub .live-quick-pick:hover{transform:translateY(-4px);box-shadow:0 22px 44px rgba(6,10,26,.24)!important;border-color:rgba(225,235,255,.18)!important}
#hub .live-quick-pick img{transition:transform .5s cubic-bezier(.2,.7,.2,1),filter .35s ease}
#hub .live-quick-pick:hover img{transform:scale(1.055);filter:saturate(1.08) contrast(1.03)}

/* Continue Playing now uses visual mini-covers. */
#hub .cont-card{transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
#hub .cont-card:hover{transform:translateY(-3px);border-color:rgba(222,232,255,.18)!important;box-shadow:0 16px 34px rgba(7,12,29,.18)!important}
#hub .cont-card:active{transform:scale(.988)}
#hub .cont-icon{position:relative;overflow:hidden!important;padding:0!important;background:rgba(7,12,27,.35)!important}
#hub .cont-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease;z-index:2}
#hub .cont-fallback{position:absolute;inset:0;display:grid;place-items:center;z-index:1}
#hub .cont-card:hover .cont-icon img{transform:scale(1.08)}
#hub .cont-resume{transition:background .18s ease,color .18s ease,transform .18s ease}
#hub .cont-card:hover .cont-resume{transform:translateX(2px)}

/* Catalogue cover system. */
#hub .game-card-wrap{animation:v114CardIn .46s both cubic-bezier(.2,.7,.2,1);animation-delay:calc(min(var(--i),10) * 24ms)}
@keyframes v114CardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
#hub .card-emoji{isolation:isolate;background:#15213b!important;box-shadow:0 10px 26px rgba(6,11,28,.15)!important;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease,border-color .25s ease!important}
#hub .cover-fallback{position:absolute;inset:0;display:grid;place-items:center;z-index:0}
#hub .card-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;transform:scale(1.002);transition:transform .55s cubic-bezier(.2,.75,.2,1),filter .35s ease;will-change:transform}
#hub .card-emoji::before{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(180deg,rgba(4,8,20,.02) 35%,rgba(4,8,20,.34) 100%);pointer-events:none}
#hub .card-emoji::after{content:"";position:absolute;z-index:4;inset:-20%;pointer-events:none;background:linear-gradient(112deg,transparent 37%,rgba(255,255,255,.23) 48%,transparent 58%);transform:translateX(-115%) rotate(4deg);transition:transform .72s cubic-bezier(.2,.7,.2,1)}
#hub .card-art-category{z-index:5!important;background:rgba(10,16,34,.62)!important;border-color:rgba(236,242,255,.17)!important;box-shadow:0 6px 18px rgba(5,9,24,.15);color:#f0f5ff!important}
#hub .cover-play-cue{position:absolute;z-index:5;right:12px;bottom:12px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(248,251,255,.92);color:#182443;font-size:12px;box-shadow:0 10px 24px rgba(6,10,25,.22);opacity:0;transform:translateY(6px) scale(.9);transition:opacity .22s ease,transform .25s cubic-bezier(.2,.8,.2,1)}
#hub .game-card-wrap:hover .card-emoji{transform:translateY(-6px) scale(1.01)!important;border-color:rgba(232,239,255,.19)!important;box-shadow:0 22px 48px rgba(7,12,31,.24)!important;filter:none!important}
#hub .game-card-wrap:hover .card-cover{transform:scale(1.075);filter:saturate(1.08) contrast(1.02)}
#hub .game-card-wrap:hover .card-emoji::after{transform:translateX(115%) rotate(4deg)}
#hub .game-card-wrap:hover .cover-play-cue{opacity:1;transform:none}
#hub .game-card-wrap:active .card-emoji{transform:scale(.985)!important}
#hub .card-title{transition:color .18s ease,transform .18s ease}
#hub .game-card-wrap:hover .card-title{color:#fff!important;transform:translateX(1px)}
#hub .favorite-btn{z-index:7!important;transition:transform .18s ease,opacity .18s ease,background .18s ease!important}
#hub .favorite-btn:hover{transform:scale(1.07)}
#hub .favorite-btn:active{transform:scale(.92)}
#hub .favorite-btn.is-favorite{animation:v114Fav .3s cubic-bezier(.2,.8,.2,1)}
@keyframes v114Fav{50%{transform:scale(1.18) rotate(-7deg)}}

/* Footer — subtle finish, no distracting constant motion. */
#hub .reference-footer{position:relative;overflow:hidden}
#hub .reference-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,#7bd8ff 22%,#9a8cff 50%,#b9f36b 77%,transparent);opacity:.58}
#hub .footer-stat-grid>div{transition:transform .2s ease,border-color .2s ease,background .2s ease}
#hub .footer-stat-grid>div:hover{transform:translateY(-2px);border-color:rgba(224,233,255,.18);background:rgba(255,255,255,.065)}
#hub .footer-nav-group a{transition:color .16s ease,transform .16s ease}
#hub .footer-nav-group a:hover{transform:translateX(2px)}

@media (max-width:560px){
  #hub::before{width:105vw;height:105vw;left:-54vw;top:8vh;opacity:.50}
  #hub::after{width:100vw;height:100vw;right:-52vw;top:48vh;opacity:.45}
  #hub .game-card-wrap{animation-duration:.34s;animation-delay:calc(min(var(--i),6) * 18ms)}
  #hub .card-art-category{left:7px!important;top:7px!important;height:23px!important;padding:0 7px!important;font-size:8px!important}
  #hub .cover-play-cue{display:none}
  #hub .cont-icon{width:62px!important;min-width:62px!important}
}
@media (hover:none){
  #hub .hero:hover::after{transform:translateX(-120%)}
  #hub .game-card-wrap:hover .card-emoji{transform:none!important;box-shadow:0 10px 26px rgba(6,11,28,.15)!important}
  #hub .game-card-wrap:hover .card-cover{transform:scale(1.002);filter:none}
  #hub .live-quick-pick:hover{transform:none}
  #hub .cont-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  #hub::before,#hub::after,#hub .hero-media img,#hub .game-card-wrap{animation:none!important}
  #hub .card-cover,#hub .card-emoji,#hub .live-quick-pick,#hub .live-quick-pick img{transition:none!important}
}
