/* GAME-SHELL-V5.CSS — COMMON UI RESPONSIBILITY CLEANUP V1
   Shared visual shell selectors now belong to ma-ui-core-v1.css.
   This file retains only its root baseline and unique functional subsystems.
*/
/* MA | HEAVEN GAME SHELL V5 — ROULETTE LIVE REFERENCE LOCK
   Shared chrome for ROULETTE / SLOT / CARD / DICE.
   Game-specific CSS must only own the center game board. */
body.gameShellV5{--shell-bg:#080808;--shell-panel:#10100f;--shell-panel2:#151411;--shell-ivory:#f0eadf;--shell-muted:#99948a;--shell-gold:#b89a58;--shell-gold2:#d6ba76;--shell-green:#64c98b;--shell-red:#d76d6d;font-family:Inter,"Pretendard","Noto Sans KR",Arial,sans-serif;color:#f5f2eb}body.gameShellV5 a{text-decoration:none}body.gameShellV5 .hidden{display:none!important}body.gameShellV5 .gameMenu.hidden{display:none!important}body.gameShellV5 .memberBox>.loginLink{display:inline-flex!important;margin-top:10px!important;font-size:10px!important;color:var(--shell-gold2)!important}body.gameShellV5 .liveSection{min-height:0!important}/* Mobile sheet / help / sound */
body.gameShellV5 .mobileSheet{display:none}body.gameShellV5 .mobileSheet.hidden{display:none!important}body.gameShellV5 .mobileSheetTop{display:flex;justify-content:space-between;align-items:center;padding:8px 0 16px;font-family:Georgia,"Times New Roman",serif;font-size:22px}body.gameShellV5 .mobileSheetTop button{border:1px solid #3e392e;background:#111;color:#fff;border-radius:9px;width:42px;height:42px}body.gameShellV5 .mobileCategory{display:flex;width:100%;padding:14px 2px;border:0;border-bottom:1px solid #29261f;background:transparent;color:#f0eadf;font-weight:900;text-decoration:none}body.gameShellV5 .mobileGameList{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}body.gameShellV5 .mobileGameList a{padding:13px;border:1px solid #302d26;border-radius:10px;background:#11110f;font-weight:800;color:#f0eadf;text-decoration:none}body.gameShellV5 .mobileGameList a.active{border-color:#8d7540;background:#171510}body.gameShellV5 .helpModal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:14px}body.gameShellV5 .helpModal.hidden{display:none!important}body.gameShellV5 .helpTip{margin:12px 0 0;color:#a59f95;font-size:10px}body.gameShellV5 .soundPanel.hidden{display:none!important}

@media(max-width:1000px){body.gameShellV5 .mobileSheet{display:block;position:fixed;inset:0;z-index:100;background:#0a0a09;padding:18px;overflow:auto}body.gameShellV5 .mobileSheet.hidden{display:none!important}
}
@media(max-width:620px){
}

/* =========================================================
   GAME SHELL V5 — HELP MODAL RESTORE V1
   Functional help-modal presentation restored after common CSS cleanup.
   Shared header/rails/wallet/live-panel visual ownership remains in ma-ui-core-v1.css.
   ========================================================= */
body.gameShellV5 .helpBackdrop{
  position:absolute;
  inset:0;
  background:#000b;
  backdrop-filter:blur(8px);
}
body.gameShellV5 .helpCard{
  position:relative;
  width:min(680px,calc(100% - 28px));
  max-height:calc(100vh - 36px);
  overflow:auto;
  padding:18px;
  border:1px solid #4b4334;
  border-radius:16px;
  background:#10100f;
  box-shadow:0 28px 90px #000d;
}
body.gameShellV5 .helpHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
body.gameShellV5 .helpHead small{
  color:#b49754;
  letter-spacing:2px;
  font-size:8px;
}
body.gameShellV5 .helpHead h2{
  font-family:Georgia,"Times New Roman",serif;
  margin:4px 0 0;
  font-size:28px;
  color:#f0eadf;
}
body.gameShellV5 .helpHead button{
  border:1px solid #3d382f;
  background:#171612;
  color:#f0eadf;
  width:38px;
  height:38px;
  border-radius:9px;
  cursor:pointer;
  flex:0 0 auto;
}
body.gameShellV5 .helpSteps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:18px;
}
body.gameShellV5 .helpSteps>div{
  min-width:0;
  padding:13px;
  border:1px solid #312e28;
  border-radius:11px;
  background:#0d0d0c;
}
body.gameShellV5 .helpSteps b{color:#c7a65a}
body.gameShellV5 .helpSteps span{
  display:block;
  font-weight:900;
  margin:8px 0 4px;
}
body.gameShellV5 .helpSteps p{
  margin:0;
  color:#969188;
  font-size:10px;
  line-height:1.6;
}
@media(max-width:760px){
  body.gameShellV5 .helpSteps{grid-template-columns:1fr 1fr!important}
}
@media(max-width:520px){
  body.gameShellV5 .helpCard{
    width:calc(100% - 20px);
    padding:14px;
    border-radius:14px;
  }
  body.gameShellV5 .helpHead h2{font-size:23px}
  body.gameShellV5 .helpSteps{grid-template-columns:1fr!important}
}


/* =========================================================
   GAME SHELL V5 — UNIFIED GUEST AUTH NOTICE V1
   One login notice for every game page.
   ========================================================= */
body.gameShellV5 .guestLoginCard{
  margin:14px 0 4px;
  padding:16px;
  border:1px solid #665531;
  border-radius:14px;
  background:linear-gradient(145deg,#13120f,#0d0d0c);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  box-shadow:inset 0 1px 0 #ffffff08;
}
body.gameShellV5 .guestLoginCard.hidden{display:none!important}
body.gameShellV5 .guestLoginIcon{
  width:44px;height:44px;border:1px solid #4b4232;border-radius:12px;
  display:grid;place-items:center;background:#171612;font-size:22px;
}
body.gameShellV5 .guestLoginCopy{min-width:0}
body.gameShellV5 .guestLoginCopy strong{
  display:block;color:var(--shell-ivory,#f0eadf);font-size:14px;margin-bottom:5px;
}
body.gameShellV5 .guestLoginCopy span{
  display:block;color:#9e998f;font-size:10px;line-height:1.55;
}
body.gameShellV5 .discordLoginBtn{
  min-height:44px;padding:0 16px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  background:var(--shell-ivory,#f0eadf);color:#111;font-weight:900;font-size:11px;
  white-space:nowrap;border:1px solid #d3c5a6;
}
body.gameShellV5 .discordLoginBtn:hover{background:#fffaf0}
@media(max-width:620px){
  body.gameShellV5 .guestLoginCard{
    grid-template-columns:1fr;padding:14px;gap:10px;text-align:center;
  }
  body.gameShellV5 .guestLoginIcon{margin:0 auto}
  body.gameShellV5 .guestLoginCopy strong{font-size:16px}
  body.gameShellV5 .guestLoginCopy span{font-size:11px}
  body.gameShellV5 .discordLoginBtn{width:100%;min-height:48px;font-size:13px}
}
