/* v20261009_1728: 야바위 전용 화면 내부 확장, 회전/전체화면 미사용. */
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded{
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .app-shell{
  position:relative!important;
  inset:auto!important;
  width:min(94vw,1200px,calc(94dvh * 16 / 9))!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16/9!important;
  margin:2vh auto!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.65)!important;
  border-radius:22px!important;
  background:#f6f8fd!important;
  box-shadow:0 18px 48px rgba(22,44,126,.20)!important;
  overflow:hidden!important;
  transform:none!important;
}
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded #luckGameScreen{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  border-radius:inherit!important;
}
/* 상단/우측 보조 UI만 가리고, 축소 버튼은 플레이 영역 위에 남긴다. */
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-topbar{
  position:absolute!important;
  inset:0 0 auto 0!important;
  display:block!important;
  width:100%!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  overflow:visible!important;
  box-shadow:none!important;
  z-index:50!important;
  pointer-events:none!important;
}
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-title,
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-top-actions > :not(#luckExpandBtn),
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded #backToHubFromLuckBtn,
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-side,
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-kicker,
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-prompt,
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-subprompt,
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .yabawi-stage-progress,
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .yabawi-status,
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded #site-version-fixed{
  display:none!important;
}
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-top-actions{
  position:absolute!important;
  inset:10px 10px auto auto!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  max-width:none!important;
  flex:none!important;
  padding:0!important;
  margin:0!important;
  z-index:51!important;
  overflow:visible!important;
  pointer-events:none!important;
}
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded #luckExpandBtn{
  position:relative!important;
  inset:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:68px!important;
  max-width:none!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 12px!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.8)!important;
  border-radius:12px!important;
  background:rgba(22,38,76,.90)!important;
  color:white!important;
  -webkit-text-fill-color:white!important;
  font-size:13px!important;
  line-height:1!important;
  box-shadow:0 5px 16px rgba(0,0,0,.22)!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-stage{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
}
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-main{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:inherit!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded #luckGameContent{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  padding:10px!important;
  margin:0!important;
  overflow:hidden!important;
}
html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded #yabawiStage{
  position:relative!important;
  flex:1 1 auto!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
@media(max-width:1024px){
  /* 모바일도 기기 화면 자체를 전체화면으로 만들지 않고 페이지 안 카드만 확장한다. */
  html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .app-shell{
    width:calc(100vw - 12px)!important;
    height:88dvh!important;
    height:88svh!important;
    min-height:0!important;
    max-width:none!important;
    aspect-ratio:auto!important;
    margin:7px auto!important;
    border-radius:18px!important;
  }
  html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded #luckGameContent{padding:6px!important}
  html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded #yabawiStage{border-radius:13px!important}
  html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded .luck-top-actions{inset:8px 8px auto auto!important}
  html body[data-view="luck-game"][data-boot-game="yabawi"].luck-expanded #luckExpandBtn{height:38px!important;min-height:38px!important}
}
