/* Organized overrides */
#toggle-game-btn{display:none !important;}
.swiper-slide.context-dark{background-image:none !important;}
.snake-stage{
  position:relative;
  background:linear-gradient(180deg, rgba(4,8,24,.96), rgba(10,20,44,.98)) !important;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.snake-star{
  position:absolute;width:2px;height:2px;background:rgba(255,255,255,.75);
  border-radius:50%;pointer-events:none;
}
.snake-cell{
  background:transparent !important;position:relative;z-index:1;
  display:flex;align-items:center;justify-content:center;
}
.snake-seg{
  border-radius:10px;box-shadow:0 0 10px rgba(255,255,255,.08);
  background:linear-gradient(135deg,var(--snake-color,#8ef7ff), rgba(255,255,255,.18)) !important;
}
.snake-head::after{
  content:"";position:absolute;width:30%;height:30%;right:18%;top:18%;
  border-radius:50%;background:rgba(255,255,255,.45);
}
.snake-food{font-size:16px;filter:drop-shadow(0 0 8px var(--food-color,#ffd84d));}
.fullscreen-fallback{
  position:fixed !important;inset:8px !important;width:auto !important;max-width:none !important;
  max-height:none !important;z-index:9998 !important;background:rgba(5,11,28,.98) !important;
  display:flex !important;flex-direction:column !important;
}
.fullscreen-fallback .game-wrap{flex:1 1 auto !important;min-height:0 !important;}
@media (max-width:767px){
  .arcade-mobile-controls{display:none !important;}
  .board-screen,#space-game{min-height:340px !important;}
  .fullscreen-fallback{inset:0 !important;border-radius:0 !important;}
}

/* Market and news fixes only */
#market-feed.market-items{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  max-height:470px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:4px !important;
}
#market-feed.market-items::-webkit-scrollbar,
#news-feed.news-feed::-webkit-scrollbar{width:6px;}
#market-feed.market-items::-webkit-scrollbar-thumb,
#news-feed.news-feed::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px;}

#news-feed.news-feed{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  max-height:470px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:4px !important;
}

#news-feed .news-item{
  align-items:flex-start !important;
}

#news-feed .news-thumb{
  width:82px !important;
  min-width:82px !important;
  height:82px !important;
  flex:0 0 82px !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:rgba(6,12,28,.55) !important;
}

#news-feed .news-thumb img{
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent !important;
}

#market-updated,
#news-updated{
  transition:opacity .2s ease !important;
}

@media (max-width:1199px){
  #market-feed.market-items,
  #news-feed.news-feed{max-height:360px !important;}
}

@media (max-width:767px){
  #news-feed .news-thumb{
    width:68px !important;
    min-width:68px !important;
    height:68px !important;
    flex-basis:68px !important;
  }
}

/* ===== alinhamento exato do card de indicadores ===== */
@media (min-width: 1200px){
  .hero-market-card{
    height: 550px !important;
    max-height: 560px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-market-card .market-items{
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
  }

  .hero-market-card .market-footer{
    margin-top: 12px !important;
    flex: 0 0 auto !important;
  }
}

/* X feed */
.x-feed-shell{display:flex;flex-direction:column;min-height:560px;}
.x-feed-topbar .chat-hide-btn{display:none !important;}
.x-feed-list{
  display:flex;flex-direction:column;gap:12px;
  max-height:470px;overflow-y:auto;overflow-x:hidden;padding-right:4px;
}
.x-feed-list::-webkit-scrollbar{width:6px}
.x-feed-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}
.x-feed-empty{padding:18px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:#cdd8ef}
.x-post{
  position:relative;
  display:flex;flex-direction:column;gap:10px;
  padding:14px;border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.x-post::before{
  content:"";position:absolute;inset:auto -10% 0 -10%;height:46%;
  background:radial-gradient(circle at center, rgba(0,255,140,.10), transparent 62%);
  pointer-events:none;
}
.x-post-head{display:flex;align-items:center;gap:10px;min-width:0}
.x-avatar{
  width:38px;min-width:38px;height:38px;border-radius:999px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);color:#fff;font-weight:700;font-size:14px;
}
.x-avatar img{width:100%;height:100%;object-fit:cover}
.x-meta{min-width:0}
.x-name,.x-user{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.x-name{font-size:13px;font-weight:700;color:#fff}
.x-user{font-size:11px;color:#8aa1c4}
.x-time{margin-left:auto;font-size:11px;color:#9cb2d4;white-space:nowrap}
.x-text{font-size:13px;line-height:1.5;color:#eef4ff;overflow-wrap:anywhere;word-break:break-word}
.x-media{overflow:hidden;border-radius:14px;background:rgba(6,12,28,.55)}
.x-media img,.x-media video{display:block;width:100%;max-height:260px;object-fit:cover}
.x-stats{display:flex;gap:12px;flex-wrap:wrap;color:#9cb2d4;font-size:11px}
.x-actions{margin-top:2px}
.x-source-link{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 12px;border-radius:999px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);
  color:#fff !important;text-decoration:none !important;font-size:12px
}
.x-source-link:hover{background:rgba(255,255,255,.12)}

/* news tags and source link */
.tag-new{
  display:inline-flex;align-items:center;justify-content:center;
  height:20px;padding:0 8px;border-radius:999px;
  background:#00d26a;color:#041510;font-size:10px;font-weight:700;
  text-transform:uppercase;letter-spacing:.04em;
}
.news-source-link-row{margin-top:8px}
.news-source-link{
  display:inline-flex;align-items:center;justify-content:center;
  padding:6px 10px;border-radius:999px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);
  color:#fff;font-size:11px;text-decoration:none;
}
.news-item{min-width:0;overflow:hidden}
.news-body,.news-text{min-width:0}
.news-text{overflow-wrap:anywhere;word-break:break-word}


/* market chart behind values */
.market-item{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.market-sparkline{
  position:absolute;
  inset:8px 8px 8px 8px;
  z-index:0;
  pointer-events:none;
  opacity:.42;
}
.market-sparkline svg{
  width:100%;
  height:100%;
  display:block;
}
.market-spark-fill{
  fill:rgba(255,255,255,.03);
}
.market-spark-line{
  fill:none;
  stroke:rgba(0,255,140,.38);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.market-item.is-down .market-spark-line{
  stroke:rgba(255,80,110,.36);
}
.market-item-left,
.market-value,
.market-change{
  position:relative;
  z-index:1;
}

/* x feed / news isolation */
.x-feed-topbar .chat-hide-btn,
#toggle-chat-btn{
  display:none !important;
}
#x-feed .tag-new{
  display:none !important;
}
.news-meta{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.news-time{
  margin-left:auto;
}
.news-source-link{
  pointer-events:none;
}



/* round 2 refinements */
.x-feed-shell{
  min-height:560px;
}
.x-feed-topbar{
  flex:0 0 auto;
}
.x-feed-list{
  flex:1 1 auto;
  min-height:0;
  max-height:none !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.x-feed-footer{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#8ee7b0;
  font-size:12px;
  flex:0 0 auto;
}
.market-item{
  min-height:92px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 88% 22%, rgba(255,255,255,.06), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.035));
}
.market-sparkline{
  inset:10px 12px 10px 12px;
  opacity:.55;
}
.market-spark-fill{
  fill:rgba(255,255,255,.02);
}
.market-spark-line{
  stroke-width:2.25;
  filter:drop-shadow(0 0 8px rgba(18,255,151,.12));
}
.market-item.is-down .market-spark-line{
  filter:drop-shadow(0 0 8px rgba(255,86,111,.10));
}
.market-item-left{
  max-width:58%;
}
.market-item-right{
  position:relative;
  z-index:2;
  text-align:right;
}
.market-value{
  text-shadow:0 2px 12px rgba(0,0,0,.28);
}
.market-change{
  text-shadow:0 2px 10px rgba(0,0,0,.2);
}
#news-feed .tag-new[hidden]{
  display:none !important;
}
#news-feed .tag-new{
  display:inline-flex;
}



/* round 3 fixes */
.x-feed-shell{
  min-height:560px !important;
  display:flex !important;
  flex-direction:column !important;
}
.x-feed-topbar{
  flex:0 0 auto !important;
  margin-bottom:12px !important;
}
.x-feed-list{
  flex:1 1 auto !important;
  min-height:0 !important;
  height:470px !important;
  max-height:470px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:6px !important;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.22) transparent;
}
.x-feed-list::-webkit-scrollbar{width:6px !important;}
.x-feed-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22) !important;border-radius:999px !important;}
.x-post{
  margin-bottom:12px;
}
.x-source-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  text-decoration:none !important;
}
.market-item{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate;
  min-height:94px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.05), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.03)) !important;
}
.market-sparkline{
  position:absolute;
  inset:8px 10px 8px 10px;
  z-index:0;
  pointer-events:none;
  opacity:.58;
}
.market-sparkline svg{
  width:100%;
  height:100%;
  display:block;
}
.market-spark-fill{
  fill:rgba(255,255,255,.02);
}
.market-spark-line{
  fill:none;
  stroke:#19f58a;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 7px rgba(25,245,138,.16));
}
.market-item.is-down .market-spark-line{
  stroke:#ff617b;
  filter:drop-shadow(0 0 7px rgba(255,97,123,.12));
}
.market-item-left,
.market-item-right,
.market-value,
.market-change{
  position:relative;
  z-index:1;
}
.market-item-right{
  text-align:right;
}


/* X FEED SCROLL FIX */
.x-feed-shell{
  display:flex;
  flex-direction:column;
}

.x-feed-list{
  height:470px;
  overflow-y:auto !important;
}

/* status color */
#backend-status{
  color:#9cb2d4 !important;
}


/* X feed refinements */
.x-feed-shell{
  display:flex !important;
  flex-direction:column !important;
  min-height:560px !important;
}
.x-feed-topbar{
  margin-bottom:12px !important;
  flex:0 0 auto !important;
}
.x-feed-list{
  flex:1 1 auto !important;
  min-height:0 !important;
  height:470px !important;
  max-height:470px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:6px !important;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.20) transparent;
  overscroll-behavior:contain;
}
.x-feed-list::-webkit-scrollbar{width:6px !important;}
.x-feed-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.20) !important;border-radius:999px !important;}
.x-feed-footer{
  margin-top:10px !important;
  padding-top:0 !important;
  border-top:0 !important;
  color:#9cb2d4 !important;
  font-size:12px !important;
  flex:0 0 auto !important;
}
#backend-status{
  color:#9cb2d4 !important;
}
.x-post{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
}
.x-post-head{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
.x-meta{
  min-width:0 !important;
  flex:1 1 auto !important;
}
.x-name,.x-user{
  display:block !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.x-time{
  margin-left:auto !important;
  white-space:nowrap !important;
  font-size:11px !important;
  color:#9cb2d4 !important;
}
.x-text{
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}
.x-actions{
  margin-top:2px !important;
}
.x-source-link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  text-decoration:none !important;
  color:#fff !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}
.x-source-link:hover{
  background:rgba(255,255,255,.12) !important;
}

/* market charts */
.market-item{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate !important;
  min-height:94px !important;
  border:1px solid rgba(255,255,255,.08) !important;
  background:
    radial-gradient(circle at 92% 18%, rgba(255,255,255,.05), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03)) !important;
}
.market-sparkline{
  position:absolute !important;
  inset:8px 10px 8px 10px !important;
  z-index:0 !important;
  pointer-events:none !important;
  opacity:.62 !important;
}
.market-sparkline svg{
  width:100% !important;
  height:100% !important;
  display:block !important;
}
.market-spark-fill{
  fill:rgba(255,255,255,.02) !important;
}
.market-spark-line{
  fill:none !important;
  stroke:#18f592 !important;
  stroke-width:2.15 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
  filter:drop-shadow(0 0 6px rgba(24,245,146,.14)) !important;
}
.market-item.is-down .market-spark-line{
  stroke:#ff617b !important;
  filter:drop-shadow(0 0 6px rgba(255,97,123,.12)) !important;
}
.market-item-left,
.market-item-right{
  position:relative !important;
  z-index:1 !important;
}
.market-item-right{
  text-align:right !important;
}
.market-value,
.market-change{
  text-shadow:0 2px 10px rgba(0,0,0,.18) !important;
}



/* strong x scroll/link patch */
.x-feed-shell{
  display:flex !important;
  flex-direction:column !important;
  min-height:560px !important;
  height:560px !important;
}
.x-feed-topbar{
  flex:0 0 auto !important;
  margin-bottom:10px !important;
}
.x-feed-list{
  display:block !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  height:460px !important;
  max-height:460px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:6px !important;
  overscroll-behavior:contain !important;
  scrollbar-width:thin !important;
  scrollbar-color:rgba(255,255,255,.24) transparent !important;
}
.x-feed-list::-webkit-scrollbar{width:6px !important;}
.x-feed-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.24) !important;border-radius:999px !important;}
.x-feed-footer{
  margin-top:10px !important;
  padding-top:0 !important;
  border-top:0 !important;
  color:#9cb2d4 !important;
  font-size:12px !important;
  flex:0 0 auto !important;
}
#backend-status{color:#9cb2d4 !important;}
.x-post{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  margin-bottom:12px !important;
}
.x-actions{
  display:block !important;
  margin-top:2px !important;
}
.x-source-link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  text-decoration:none !important;
  color:#fff !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  font-size:12px !important;
}
.x-source-link:hover{background:rgba(255,255,255,.12) !important;}



/* final stability patch */
.swiper-slide.context-dark{
  background-image:none !important;
  background-size:cover !important;
  background-position:center center !important;
  background-attachment:scroll !important;
}
#space-game{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  aspect-ratio:640 / 420 !important;
  image-rendering:auto;
}
.game-wrap{
  overflow:hidden !important;
}
.x-feed-list{
  display:block !important;
  height:460px !important;
  max-height:460px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:8px !important;
}
.x-feed-list article:last-child{
  margin-bottom:0 !important;
}



/* Animated background flicker fix */
html, body {
  background-color: #020817 !important;
}

.swiper-slide.context-dark,
.swiper-slide.context-dark .hero-dashboard,
.hero-dashboard,
.hero-dashboard .container {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.swiper-slide.context-dark {
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: scroll !important;
  will-change: auto !important;
}

.swiper-wrapper,
.swiper-slide,
.hero-grid,
.arcade-shell,
.hero-market-card,
.hero-news-card {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.rd-navbar,
.page,
.swiper-container,
.swiper-wrapper {
  background-color: transparent !important;
}



/* ===== Badge da fonte ===== */
.news-source-badge,
.x-source-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:36px;
  height:24px;
  padding:0 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 4px 14px rgba(0,0,0,.18);
  white-space:nowrap;
}

.source-g1{background:#a61b1b;color:#fff;}
.source-bbc{background:#8e1b2f;color:#fff;}
.source-reuters{background:#f28c18;color:#111;}
.source-uol{background:#f2c230;color:#111;}
.source-cnn{background:#b31217;color:#fff;}
.source-estadao{background:#1f5fae;color:#fff;}
.source-folha{background:#2f2f35;color:#fff;}
.source-bloomberg{background:#000;color:#fff;}
.source-techcrunch{background:#0f9f59;color:#fff;}
.source-coindesk{background:#f7931a;color:#111;}
.source-default{background:rgba(255,255,255,.08);color:#fff;}

.news-meta{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.news-time{
  margin-left:auto;
}

.x-post-head{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.x-meta{
  min-width:0;
  flex:1 1 auto;
}

.x-name,
.x-user{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.x-time{
  margin-left:auto;
  white-space:nowrap;
  font-size:11px;
  color:#9cb2d4;
}



/* ===== fontes e tags extras ===== */
.source-rockstar{background:#e11d48;color:#fff;}
.source-youtube{background:#ff0000;color:#fff;}
.source-netflix{background:#b20710;color:#fff;}
.source-dc{background:#2563eb;color:#fff;}
.source-marvel{background:#ef4444;color:#fff;}
.source-cointelegraph{background:#f59e0b;color:#111;}
.source-theverge{background:#7c3aed;color:#fff;}
.source-ign{background:#dc2626;color:#fff;}
.source-ap{background:#111827;color:#fff;}
.source-guardian{background:#0f766e;color:#fff;}

.news-tag,
.x-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:22px;
  padding:0 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.03em;
  line-height:1;
  color:#dbe7ff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  white-space:nowrap;
}

.tag-world{background:rgba(59,130,246,.18);color:#dbeafe;}
.tag-tech{background:rgba(16,185,129,.18);color:#d1fae5;}
.tag-business{background:rgba(245,158,11,.18);color:#fef3c7;}
.tag-crypto{background:rgba(249,115,22,.18);color:#ffedd5;}
.tag-games{background:rgba(236,72,153,.18);color:#fce7f3;}
.tag-streaming{background:rgba(239,68,68,.18);color:#fee2e2;}
.tag-hq{background:rgba(99,102,241,.18);color:#e0e7ff;}
.tag-entertainment{background:rgba(168,85,247,.18);color:#f3e8ff;}

.news-meta{
  row-gap:6px;
}

.x-meta{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex-wrap:wrap;
}
.x-user{
  max-width:100%;
}
.x-post .x-actions{
  margin-top:4px;
}


/* ===== Fix navbar visibility/sticky ===== */
.rd-navbar-wrap.rd-navbar-absolute {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

.rd-navbar.rd-navbar-creative,
.rd-navbar.rd-navbar-creative.rd-navbar-static,
.rd-navbar.rd-navbar-creative.rd-navbar-fixed,
.rd-navbar.rd-navbar-creative.rd-navbar--is-stuck,
.rd-navbar.rd-navbar-creative.rd-navbar--is-clone {
 /* background: rgba(17, 17, 17, 0.92) !important;*/
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.rd-navbar.rd-navbar-creative .rd-navbar-main {
  padding-top: 15px;
  padding-bottom: 15px;
}

.rd-navbar.rd-navbar-creative.rd-navbar--is-clone {
  display: none !important;
}

.page {
  padding-top: 102px;
}

@media (max-width: 1199px) {
  .page {
    padding-top: 78px;
  }
}


/* ===== bg.mp4 smooth loop crossfade ===== */
.hero-video-slide {
  position: relative;
  overflow: hidden;
  background-image: none !important;
  background-color: #020817 !important;
}

.hero-bg-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .9s linear;
  will-change: opacity;
}

.hero-bg-video.is-active {
  opacity: 1;
}

.hero-video-slide .swiper-slide-caption,
.hero-video-slide .container,
.hero-video-slide .hero-dashboard,
.hero-video-slide .hero-grid {
  position: relative;
  z-index: 1;
}

.swiper-slide.context-dark,
.hero-video-slide,
.swiper-slide.context-dark::before {
  background-image: none !important;
}

/* connect-space-upgrade anchor */
.arcade-shell:fullscreen,.fullscreen-fallback{width:100vw !important;height:100vh !important;max-width:none !important;max-height:none !important;border-radius:0 !important;}
.arcade-shell:fullscreen .game-wrap,.fullscreen-fallback .game-wrap{display:flex !important;align-items:center !important;justify-content:center !important;height:calc(100vh - 88px) !important;overflow:hidden !important;}
.arcade-shell:fullscreen #space-game,.fullscreen-fallback #space-game{max-height:calc(100vh - 96px) !important;width:auto !important;}


/* mobile/game performance and scroll guard */
#game-wrap, .game-wrap, #space-game, .arcade-shell { overscroll-behavior: contain !important; }
#space-game { touch-action: none !important; }
html.game-playing, body.game-playing { overscroll-behavior: none !important; }
