/* Casino embed: custom Lion bar + iframe + in-place account drawer (no /home on DEMO). */

html.lion-casino-embed-mode,
html.lion-casino-embed-mode body {
  overflow: hidden !important;
  height: 100% !important;
  max-height: 100dvh !important;
  overscroll-behavior: none;
}

html.lion-casino-embed-mode body {
  position: fixed;
  inset: 0;
  width: 100%;
}

html.lion-casino-embed-mode #app {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#lion-casino-embed-host {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 90;
  background: #dfe5e5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#lion-casino-embed-host .lc-lion-bar {
  flex: 0 0 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 6px 0 4px;
  background: #111;
  color: #fff;
  z-index: 2;
  overflow: hidden;
}

#lion-casino-embed-host .lc-lion-home {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 34%;
  overflow: hidden;
  text-decoration: none;
}

#lion-casino-embed-host .lc-lion-home img {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

#lion-casino-embed-host .lc-lion-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
  max-width: none;
}

#lion-casino-embed-host .lc-lion-wallet {
  display: flex;
  align-items: stretch;
  gap: 3px;
  flex: 0 0 auto;
}

#lion-casino-embed-host .lc-lion-wallet > div {
  background: #c41e3a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

#lion-casino-embed-host .lc-lion-wallet strong,
#lion-casino-embed-host .lc-lion-wallet span {
  color: #ffd54a;
}

#lion-casino-embed-host .lc-profile-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  background: #c9a227;
  color: #111;
  border: 0;
  border-radius: 4px;
  padding: 4px 5px 4px 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1;
  cursor: pointer;
  max-width: 96px;
}

#lion-casino-embed-host .lc-profile-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

#lion-casino-embed-host .lc-profile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #fff;
  color: #222;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

#lion-casino-embed-host .lc-main {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#lion-casino-embed-host .lc-game-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #dfe5e5;
  display: block;
}

#lion-casino-embed-host .lc-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 400;
  display: none;
  background: #111;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
}

/* —— In-place profile drawer (home-style right menu) —— */
#lion-casino-embed-host .lc-profile-backdrop {
  position: absolute;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.45);
}

#lion-casino-embed-host .lc-profile-backdrop[hidden],
#lion-casino-embed-host .lc-profile-drawer[hidden] {
  display: none !important;
}

#lion-casino-embed-host .lc-profile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 88vw);
  z-index: 210;
  background: #fff;
  color: #212529;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.28);
  animation: lcDrawerIn 0.18s ease-out;
}

@keyframes lcDrawerIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

#lion-casino-embed-host .lc-drawer-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: #c9a227;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

#lion-casino-embed-host .lc-drawer-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

#lion-casino-embed-host .lc-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 0 16px;
  -webkit-overflow-scrolling: touch;
}

#lion-casino-embed-host .lc-drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}

#lion-casino-embed-host .lc-drawer-row strong {
  color: #111;
  font-weight: 700;
}

#lion-casino-embed-host .lc-switch {
  position: relative;
  width: 40px;
  height: 22px;
  display: inline-block;
}

#lion-casino-embed-host .lc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#lion-casino-embed-host .lc-switch span {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 22px;
}

#lion-casino-embed-host .lc-switch span:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
}

#lion-casino-embed-host .lc-drawer-refer {
  display: block;
  margin: 12px 14px;
  padding: 10px 12px;
  text-align: center;
  background: #c9a227;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-decoration: none;
  border-radius: 4px;
}

#lion-casino-embed-host .lc-drawer-nav {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

#lion-casino-embed-host .lc-drawer-nav a {
  display: block;
  padding: 11px 14px;
  color: #212529;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
}

#lion-casino-embed-host .lc-drawer-nav a.lc-nav-deposit {
  background: #1f9d55;
  color: #fff;
}

#lion-casino-embed-host .lc-drawer-nav a.lc-nav-withdraw {
  background: #c9a227;
  color: #fff;
}

#lion-casino-embed-host .lc-drawer-signout {
  display: block;
  width: calc(100% - 28px);
  margin: 16px 14px 0;
  padding: 12px;
  border: 0;
  border-radius: 4px;
  background: #c9a227;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
}
