/* SPI-41: desktop / Discord browser play shell.
   Letterboxed phone-aspect game frame + tap-to-play fullscreen overlay.
   Only used when desktop_play_shell.js writes the host document. */
/* Scoped to the host page only. A bare `html` selector here locked scrolling on
   every game/hub page that links this stylesheet. */
html[data-dex-aspect],body.dex-desktop-shell-host{
  margin:0;padding:0;width:100%;height:100%;
  background:#020504;color:#f4fff1;
  overflow:hidden;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
#dexDesktopShell{
  position:fixed;inset:0;
  display:flex;align-items:center;justify-content:center;
  background:
    radial-gradient(circle at 50% -10%,rgba(124,255,56,.12),transparent 42%),
    #020504;
}
#dexDesktopStage{
  position:relative;
  width:var(--dex-frame-w,390px);
  height:var(--dex-frame-h,844px);
  flex:0 0 auto;
  transform:scale(var(--dex-frame-scale,1));
  transform-origin:center center;
  background:#000;
  overflow:hidden;
  box-shadow:0 0 0 1px rgba(124,255,56,.22),0 24px 80px rgba(0,0,0,.55);
}
#dexDesktopFrame{
  width:100%;height:100%;border:0;display:block;background:#000;
}
.dex-desktop-play{
  position:fixed;inset:0;z-index:100000;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;margin:0;padding:24px;
  border:0;cursor:pointer;
  background:rgba(2,5,4,.78);
  color:#f4fff1;
  text-align:center;
  -webkit-tap-highlight-color:transparent;
}
.dex-desktop-play[hidden],.dex-desktop-fs[hidden]{display:none !important}
.dex-desktop-play-title{
  font-size:clamp(22px,4vw,34px);
  font-weight:800;
  letter-spacing:.14em;
  color:#7cff38;
}
.dex-desktop-play-sub{
  max-width:28rem;
  font-size:15px;
  line-height:1.45;
  color:#c9d6c4;
}
.dex-desktop-fs{
  position:fixed;top:12px;right:12px;z-index:100001;
  margin:0;padding:8px 12px;
  border:1px solid rgba(124,255,56,.45);
  border-radius:999px;
  background:rgba(2,8,5,.82);
  color:#7cff38;
  font:700 11px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;
  letter-spacing:.08em;
  cursor:pointer;
}
.dex-desktop-fs:hover,.dex-desktop-play:hover{
  filter:brightness(1.08);
}
