/* 회원 레이아웃: 좌측 고정 사이드바 + 우측 콘텐츠 */

.page-shell {
  background: #000000;
  color: #ffffff;
  --mb-topbar-height: 76px;
  --mb-bg: #000000;
  --mb-surface: #0d1318;
  --mb-surface-2: #101820;
  --mb-surface-3: #141c26;
  --mb-gold: #00AEEF;
  --mb-gold-mid: #0096d6;
  --mb-gold-dark: #0077cc;
  --mb-gold-gradient: linear-gradient(135deg, #00AEEF 0%, #0096d6 45%, #0077cc 100%);
  --mb-gold-gradient-v: linear-gradient(180deg, #00AEEF 0%, #0077cc 100%);
  --mb-gold-glow: rgba(0, 174, 239, 0.38);
  --mb-red: #ef4444;
  --mb-red-mid: #dc2626;
  --mb-red-dark: #b91c1c;
  --mb-red-gradient-v: linear-gradient(180deg, #f87171 0%, #dc2626 55%, #b91c1c 100%);
  --mb-red-glow: rgba(239, 68, 68, 0.38);
  --mb-green: #22c55e;
  --mb-green-mid: #16a34a;
  --mb-green-dark: #15803d;
  --mb-green-gradient-v: linear-gradient(180deg, #4ade80 0%, #22c55e 55%, #16a34a 100%);
  --mb-green-glow: rgba(34, 197, 94, 0.38);
  --mb-text-muted: #94a3b8;
  --mb-border: rgba(0, 174, 239, 0.12);
}

.page-shell .mb-shell-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-shell .mb-shell-wrap {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* ── 좌측 사이드바 ── */
.page-shell .mb-shell-sidebar {
  width: 248px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0a1018 0%, #000000 100%);
  border-right: 1px solid var(--mb-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: calc(100vh - var(--mb-topbar-height));
  z-index: 100;
}

.page-shell .mb-shell-top,
.page-shell .mb-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--mb-topbar-height);
  min-height: var(--mb-topbar-height);
  padding: 0 20px 0 0;
  box-sizing: border-box;
  background: #000;
  border-bottom: 1px solid var(--mb-border);
  flex-shrink: 0;
}

.page-shell .mb-shell-top .mb-shell-logo,
.page-shell .mb-shell-header .mb-shell-logo {
  width: 248px;
  flex-shrink: 0;
  margin: 0;
  padding: 0 18px;
  box-sizing: border-box;
  border-right: 1px solid var(--mb-border);
  align-self: stretch;
  align-items: center;
}

.page-shell .mb-shell-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.page-shell .mb-shell-logo-img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
}

.page-shell .mb-shell-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--mb-gold) 0%, var(--mb-gold-mid) 45%, var(--mb-gold-dark) 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px var(--mb-gold-glow);
}

.page-shell .mb-shell-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.page-shell .mb-shell-logo-text strong {
  color: #f3f4f6;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.page-shell .mb-shell-logo-text small {
  color: var(--mb-text-muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.page-shell .mb-shell-sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 12px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

/* 게임 / 계정 2단 패널 */
.page-shell .mb-side-panels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-shell .mb-side-panel {
  border-radius: 14px;
  background: linear-gradient(180deg, var(--mb-surface-3) 0%, var(--mb-surface) 100%);
  border: 1px solid var(--mb-border);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.page-shell .mb-side-panel-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.page-shell .mb-side-panel-item {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-shell .mb-side-panel-item:last-child {
  border-bottom: none;
}

.page-shell .mb-side-panel-link,
.page-shell .mb-side-panel-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.page-shell .mb-side-panel-link:hover,
.page-shell .mb-side-panel-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.page-shell .mb-side-panel-item.is-active .mb-side-panel-link,
.page-shell .mb-side-panel-item.is-active .mb-side-panel-btn {
  background: rgba(0, 174, 239, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 174, 239, 0.45);
  color: #fff;
}

.page-shell .mb-side-panel-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
  color: #d1d5db;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.35);
}

.page-shell .mb-side-panel-ico svg,
.page-shell .mb-side-panel-ico .www-ico {
  width: 100%;
  height: 100%;
}

.page-shell .mb-side-panel-item.is-active .mb-side-panel-ico,
.page-shell .mb-side-panel-link:hover .mb-side-panel-ico,
.page-shell .mb-side-panel-btn:hover .mb-side-panel-ico {
  background: var(--mb-gold-gradient);
  color: #ffffff;
}

.page-shell .mb-side-panel-text {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.page-shell .mb-side-count {
  margin-left: 4px;
  color: #ef4444;
  font-weight: 700;
  font-size: 0.8125rem;
}

.page-shell .mb-side-tag-new {
  position: absolute;
  top: 6px;
  right: 10px;
  padding: 2px 7px 3px;
  border-radius: 4px 4px 4px 0;
  background: linear-gradient(180deg, #f44336, #c62828);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(244, 67, 54, 0.45);
}

.page-shell .mb-sidebar-sns {
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--mb-surface-2) 0%, var(--mb-surface) 100%);
  border: 1px solid var(--mb-border);
}

.page-shell .mb-sidebar-sns-title {
  font-size: 0.7rem;
  color: var(--mb-text-muted);
  margin-bottom: 8px;
}

.page-shell .mb-sidebar-sns-item {
  display: block;
  padding: 6px 0;
  color: #9ca3af;
  font-size: 0.75rem;
  text-decoration: none;
}

.page-shell .mb-sidebar-sns-item:hover {
  color: var(--mb-gold);
}

/* ── 우측 메인 ── */
.page-shell .mb-shell-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.page-shell .mb-shell-notice {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding-left: 20px;
}

.page-shell .mb-shell-notice-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.page-shell .mb-shell-notice-ico .www-ico {
  font-size: 1.05rem;
  color: var(--mb-gold);
}

.page-shell .mb-shell-notice-track {
  overflow: hidden;
  white-space: nowrap;
}

.page-shell .mb-shell-notice-text {
  display: inline-block;
  animation: mb-marquee 18s linear infinite;
  color: #d1d5db;
  font-size: 0.8125rem;
}

@keyframes mb-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.page-shell .mb-shell-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.page-shell .mb-shell-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.page-shell .mb-shell-btn:hover {
  filter: none;
}

.page-shell .mb-shell-btn-login {
  background: var(--mb-gold-gradient-v);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--mb-gold-glow);
}

.page-shell .mb-shell-btn-login:hover {
  filter: brightness(1.08);
}

.page-shell .mb-shell-btn-register {
  background: rgba(0, 174, 239, 0.12);
  color: #5ec8ff;
  border: 1px solid rgba(0, 174, 239, 0.55);
}

.page-shell .mb-shell-btn-inquiry {
  background: var(--mb-surface);
  color: #e5e7eb;
  border: 1px solid var(--mb-border);
}

/* 회원 액션 버튼 — 플랫 스타일 */
.page-shell .mb-shell-btn-gold {
  background: rgba(0, 174, 239, 0.28);
  color: #7dd3fc;
  border-color: rgba(0, 174, 239, 0.55);
  box-shadow: none;
}

.page-shell .mb-shell-btn-gold:hover {
  background: rgba(0, 174, 239, 0.38);
  border-color: rgba(0, 174, 239, 0.68);
  color: #bae6fd;
}

.page-shell .mb-shell-btn-red {
  background: rgba(239, 68, 68, 0.26);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.52);
  box-shadow: none;
}

.page-shell .mb-shell-btn-red:hover {
  background: rgba(239, 68, 68, 0.36);
  border-color: rgba(239, 68, 68, 0.65);
  color: #fecaca;
}

.page-shell .mb-shell-btn-green {
  background: rgba(34, 197, 94, 0.26);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.52);
  box-shadow: none;
}

.page-shell .mb-shell-btn-green:hover {
  background: rgba(34, 197, 94, 0.36);
  border-color: rgba(34, 197, 94, 0.65);
  color: #bbf7d0;
}

.page-shell .mb-shell-btn-partner {
  background: rgba(142, 68, 173, 0.28);
  color: #d8b4fe;
  border-color: rgba(142, 68, 173, 0.55);
  box-shadow: none;
}

.page-shell .mb-shell-btn-partner:hover {
  background: rgba(142, 68, 173, 0.4);
  border-color: rgba(142, 68, 173, 0.7);
  color: #f3e8ff;
}

.page-shell .mb-shell-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #b8bcc4;
  border-color: rgba(255, 255, 255, 0.38);
}

.page-shell .mb-shell-btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.52);
  color: #e5e7eb;
}

.page-shell .mb-shell-wallet {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-right: 4px;
}

.page-shell .mb-shell-wallet-row {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.page-shell .mb-shell-wallet-ico {
  font-size: 0.82rem;
  color: var(--mb-gold);
  flex-shrink: 0;
}

.page-shell .mb-shell-wallet-label {
  color: #9ca3af;
  font-size: 0.72rem;
  font-weight: 500;
}

.page-shell .mb-shell-wallet-money {
  color: var(--mb-gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-shell .mb-shell-wallet-point {
  color: #e5e7eb;
  font-weight: 700;
  font-size: 0.82rem;
}

/* 데스크톱: 지갑·메뉴를 헤더 플렉스 순서에 맞게 배치 */
.page-shell .mb-shell-top-leading {
  display: contents;
}

.page-shell .mb-shell-top .mb-shell-logo {
  order: 1;
}

.page-shell .mb-shell-top .mb-shell-notice {
  order: 2;
  flex: 1;
}

.page-shell .mb-shell-top .mb-shell-wallet {
  display: contents;
}

.page-shell .mb-shell-top .mb-shell-wallet-row {
  order: 3;
}

.page-shell .mb-shell-top .mb-shell-header-actions {
  order: 4;
}

.page-shell .mb-shell-top .mb-shell-menu-toggle {
  order: 5;
}

.page-shell .mb-shell-wallet-id {
  color: #9ca3af;
  font-size: 0.75rem;
}

.page-shell .mb-shell-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 174, 239, 0.16);
  border: 1px solid rgba(0, 174, 239, 0.58);
  color: #9ee7ff;
  border-radius: 8px;
  padding: 8px 11px;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.1);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.page-shell .mb-shell-menu-toggle:hover {
  background: rgba(0, 174, 239, 0.26);
  border-color: rgba(0, 174, 239, 0.78);
  color: #d8f4ff;
}

.page-shell .mb-shell-menu-toggle .www-ico {
  font-size: 1.5rem;
  line-height: 1;
}

.page-shell .mb-shell-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-shell .mb-content {
  flex: 1;
  padding: 0;
  max-width: none;
}

.page-shell .mb-shell-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--mb-text-muted);
  font-size: 0.75rem;
}

.page-shell .mb-shell-footer-brand {
  color: #9ca3af;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ── 하단 파트너 로고 ── */
.mb-partner-strip-wrap {
  border-top: 1px solid var(--mb-border);
  background: linear-gradient(180deg, #111111 0%, #000000 100%);
  padding: 18px 0;
}

.mb-partner-strip {
  overflow: hidden;
  width: 100%;
}

.mb-partner-track {
  display: flex;
  align-items: center;
  will-change: transform;
}

.mb-partner-item {
  flex: 0 0 10%;
  min-width: 112px;
  padding: 0 9px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-partner-item img {
  display: block;
  max-height: 38px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.2s ease, filter 0.2s ease;
  filter: brightness(0.95);
}

.mb-partner-item img:hover {
  opacity: 1;
  filter: brightness(1.1);
}

@media (max-width: 991px) {
  .mb-partner-item {
    flex: 0 0 25%;
    min-width: 98px;
    padding: 0 6px;
  }

  .mb-partner-item img {
    max-height: 32px;
    max-width: 90px;
  }
}

@media (max-width: 575px) {
  .mb-partner-item {
    flex: 0 0 33.33%;
    min-width: 84px;
    padding: 0 6px;
  }
}

/* ── 홈: 배너 슬라이드 ── */
.mb-home {
  background: #000000;
}

.mb-home-banner {
  width: 100%;
  padding-inline: 25px;
  background: #000000;
}

.mb-home-banner-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 420;
  max-height: 380px;
  overflow: hidden;
  background: #000000;
}

.mb-home-banner-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.5s ease-in-out;
}

.mb-home-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.mb-home-banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.mb-home-banner-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 14px 20px 18px;
  background: #000000;
}

.mb-home-banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.mb-home-banner-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.mb-home-banner-dot.active {
  width: 15px;
  height: 15px;
  background: var(--mb-gold);
  box-shadow: 0 0 9px var(--mb-gold-glow);
}

/* ── 홈: 카지노 게임 목록 ── */
.mb-gamelist {
  padding: 28px 24px 16px;
}

.mb-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.mb-gamelist > .mb-section-head {
  padding-left: 12px;
}

.mb-casino-section > .mb-section-head {
  padding-left: 3rem;
}

.mb-slot-section-head {
  margin-bottom: 0;
  padding-left: 0;
}

.mb-slot-head .mb-section-head {
  flex: 1;
  min-width: 0;
}

.mb-casino-section-divider {
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
}

.mb-casino-section-divider-line {
  flex: 1;
  height: 1px;
  border: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 174, 239, 0) 0%,
    rgba(0, 174, 239, 0.45) 18%,
    #00AEEF 50%,
    rgba(0, 174, 239, 0.45) 82%,
    rgba(0, 174, 239, 0) 100%
  );
  box-shadow:
    0 0 6px rgba(0, 174, 239, 0.65),
    0 0 14px rgba(0, 174, 239, 0.28);
}

.mb-casino-section-divider-label {
  flex: 0 0 auto;
  padding: 0 18px;
  color: #7dd3fc;
  font-size: 1.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow:
    0 0 8px rgba(0, 174, 239, 0.85),
    0 0 18px rgba(0, 174, 239, 0.45);
  white-space: nowrap;
}

.mb-casino-section-more {
  margin-bottom: 0;
}

.mb-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  flex-shrink: 0;
  background: transparent;
  animation: mb-section-icon-pulse 2.8s ease-in-out infinite;
}

.mb-section-icon svg {
  display: block;
  width: 44px;
  height: 36px;
}

@keyframes mb-section-icon-pulse {
  0%, 100% {
    filter: drop-shadow(0 2px 8px rgba(0, 174, 239, 0.45));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 3px 14px rgba(0, 174, 239, 0.75));
    transform: scale(1.03);
  }
}

.mb-section-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.mb-title-gradient {
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: linear-gradient(
    110deg,
    #6d8fa8 0%,
    #ffffff 16%,
    #b8ccd8 30%,
    #ffffff 46%,
    #6d8fa8 58%,
    #ffffff 72%,
    #9eb4c8 86%,
    #ffffff 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 174, 239, 0.22));
  animation: mb-title-gradient-shift 3.6s ease-in-out infinite;
}

@keyframes mb-title-gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mb-title-gradient {
    animation: none;
    background-size: 100% 100%;
    background-position: 0% 50%;
  }
}

.mb-casino-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mb-casino-empty {
  margin: 0;
  padding: 28px 12px;
  text-align: center;
  color: var(--mb-text-muted);
  font-size: 0.9rem;
}

.mb-casino-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 278 / 200;
  width: 100%;
  background: linear-gradient(145deg, #101a2c 0%, #0a1220 100%);
  border: 1px solid rgba(0, 174, 239, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(0, 174, 239, 0.08),
    0 4px 18px rgba(0, 0, 0, 0.42),
    0 0 14px rgba(0, 174, 239, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mb-casino-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 174, 239, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(0, 174, 239, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(0, 174, 239, 0.24);
}

/* 카드는 크게, 이미지는 원본 비율·축소만 허용해 선명도 유지 */
.mb-casino-card .mb-card-bg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.mb-casino-card .mb-card-mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 10, 24, 0.62);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mb-casino-card:hover .mb-card-mask {
  opacity: 1;
}

.mb-card-play-icon {
  color: #00AEEF;
  font-size: 1.35rem;
  text-shadow: 0 0 12px rgba(0, 174, 239, 0.65);
}

.mb-card-play {
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00AEEF 0%, #0077cc 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 174, 239, 0.35);
}

.mb-card-tag {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  z-index: 2;
  padding: 4px 12px 4px 9px;
  border-radius: 0 0 10px 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mb-card-tag.hot {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 55%, #3b82f6 100%);
  color: #fff;
}

.mb-card-tag.event {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #fff;
}

@media (max-width: 1200px) {
  .mb-casino-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── 홈: 슬롯 존 ── */
.mb-slot-zone {
  margin: 8px 24px 32px;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mb-surface-2) 0%, var(--mb-surface) 100%);
  border: 1px solid var(--mb-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.mb-slot-feature h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mb-slot-heading-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 174, 239, 0.12);
  border: 1px solid rgba(0, 174, 239, 0.28);
}

.mb-slot-heading-ico .www-ico {
  font-size: 1rem;
  color: var(--mb-gold);
}

.mb-slot-btns a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--mb-gold-gradient-v);
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  box-shadow: 0 4px 12px var(--mb-gold-glow);
}

.mb-slot-btn-ico {
  font-size: 0.9rem;
}

.mb-slot-feature p {
  margin: 0 0 16px;
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}

.mb-slot-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 홈 슬롯 영역 벤더 타일(정사각) */
.mb-slot-zone .mb-slot-vendors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.mb-slot-zone .mb-slot-vendor {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.mb-slot-zone .mb-slot-vendor:hover {
  border-color: rgba(0, 174, 239, 0.5);
  color: var(--mb-gold);
}

/* 슬롯 페이지 게임사 리스트: 이미지 버튼 + 4행 */
.mb-slot-page .mb-slot-vendors {
  display: grid;
  grid-template-columns: repeat(var(--slot-vendor-cols, 8), minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  justify-content: unset;
}

.mb-slot-page .mb-slot-vendor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 64px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(201, 178, 130, 0.55);
  background: #0a0a0a;
  color: #ddd;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.mb-slot-page .mb-slot-vendor > span:not(.mb-slot-vendor-all-mark):not(.mb-slot-vendor-fallback) {
  display: none;
}

.mb-slot-page .mb-slot-vendor-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.mb-slot-page .mb-slot-vendor.is-active,
.mb-slot-page .mb-slot-vendor:hover {
  border-color: rgba(212, 175, 55, 0.85);
  color: var(--mb-gold);
  background: rgba(212, 175, 55, 0.08);
}

/* ── 홈: 게시판 ── */
.mb-home-boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 24px 32px;
}

.page-shell .mb-boards {
  padding: 0 24px 0;
}

.page-shell .mb-board {
  background: var(--mb-surface);
  border: 1px solid var(--mb-border);
  border-radius: 10px;
}

/* 모바일 */
@media (max-width: 991px) {
  .page-shell .mb-shell-sidebar {
    display: none;
  }

  .page-shell .mb-shell-menu-toggle {
    display: inline-block;
  }

  .page-shell .mb-shell-top .mb-shell-logo,
  .page-shell .mb-shell-header .mb-shell-logo {
    justify-content: flex-start;
    align-items: center;
  }

  .page-shell .mb-shell-top .mb-shell-logo-img,
  .page-shell .mb-shell-header .mb-shell-logo-img {
    object-position: left center;
  }

  .page-shell .mb-shell-btn-inquiry {
    display: none;
  }

  .mb-slot-zone {
    grid-template-columns: 1fr;
  }

  .mb-home-boards,
  .page-shell .mb-boards {
    grid-template-columns: 1fr;
  }

  .mb-home-banner-stage {
    max-height: 220px;
  }
}

@media (max-width: 575px) {
  .page-shell {
    --mb-topbar-height: auto;
  }

  .page-shell .mb-shell-top .mb-shell-logo,
  .page-shell .mb-shell-header .mb-shell-logo {
    width: auto;
    min-width: 0;
    border-right: none;
    padding: 12px 14px;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: start;
  }

  .page-shell .mb-shell-top .mb-shell-logo-img,
  .page-shell .mb-shell-header .mb-shell-logo-img {
    object-position: left center;
  }

  .page-shell .mb-shell-top,
  .page-shell .mb-shell-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "leading wallet menu"
      "actions actions actions";
    height: auto;
    min-height: 64px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
  }

  .page-shell .mb-shell-top-leading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    grid-area: leading;
    min-width: 0;
    max-width: 100%;
  }

  .page-shell .mb-shell-top-leading .mb-shell-logo {
    grid-area: unset;
    order: unset;
    padding: 0 0 0 12px;
    justify-content: flex-start;
  }

  .page-shell .mb-shell-top-leading .mb-shell-notice {
    grid-area: unset;
    order: unset;
    width: 100%;
    max-width: 100%;
    flex: unset;
    padding-left: 14px;
    box-sizing: border-box;
  }

  .page-shell .mb-shell-top .mb-shell-wallet {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    align-self: start;
    gap: 8px;
    grid-area: wallet;
    margin: 0;
    min-width: 0;
    border-bottom: none;
    padding: 12px 6px 0 0;
    flex-wrap: nowrap;
  }

  .page-shell .mb-shell-top .mb-shell-wallet-row + .mb-shell-wallet-row {
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .page-shell .mb-shell-top .mb-shell-menu-toggle {
    grid-area: menu;
    order: unset;
    flex-shrink: 0;
    display: inline-flex;
    align-self: start;
    margin-left: 0;
    margin-top: 8px;
    padding: 9px 11px;
    border-width: 1.5px;
  }

  .page-shell .mb-shell-top .mb-shell-menu-toggle .www-ico {
    font-size: 1.6rem;
  }

  .page-shell .mb-shell-top .mb-shell-wallet-row {
    gap: 4px;
  }

  .page-shell .mb-shell-top .mb-shell-wallet-label {
    font-size: 0.68rem;
  }

  .page-shell .mb-shell-top .mb-shell-wallet-money {
    font-size: 0.82rem;
  }

  .page-shell .mb-shell-top .mb-shell-wallet-point {
    font-size: 0.75rem;
  }

  .page-shell .mb-shell-top .mb-shell-logo {
    order: unset;
  }

  .page-shell .mb-shell-top-leading .mb-shell-logo {
    grid-area: unset;
  }

  .page-shell .mb-shell-top .mb-shell-header-actions {
    grid-area: actions;
    order: unset;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 4px 12px 0;
    box-sizing: border-box;
  }

  .page-shell .mb-shell-top .mb-shell-header-actions .mb-shell-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 0.75rem;
  }

  .page-shell .mb-shell-top:not(:has(.mb-shell-wallet)),
  .page-shell .mb-shell-header:not(:has(.mb-shell-wallet)) {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "leading actions";
    align-items: start;
  }

  .page-shell .mb-shell-top:not(:has(.mb-shell-wallet)) .mb-shell-header-actions,
  .page-shell .mb-shell-header:not(:has(.mb-shell-wallet)) .mb-shell-header-actions {
    align-self: start;
    padding-top: 12px;
  }

  .page-shell .mb-shell-btn span.mb-shell-btn-ico {
    display: none;
  }

  .mb-gamelist {
    padding: 16px 12px;
  }

  .mb-casino-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* 모바일 드로어 — OLE 패널 메뉴 */
.mb-drawer-body {
  padding: 12px 12px 24px;
}

.mb-drawer-body .mb-side-panels {
  gap: 12px;
}

.mb-drawer-auth {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.mb-drawer-auth button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.mb-drawer-auth button:first-child {
  background: var(--mb-gold-gradient-v);
  color: #fff;
  box-shadow: 0 4px 12px var(--mb-gold-glow);
}

.mb-drawer-auth button:last-child {
  background: var(--mb-surface-2);
  color: var(--mb-gold);
  border: 1px solid rgba(0, 174, 239, 0.45);
}

.mb-drawer-logout {
  display: block;
  margin-top: 14px;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #9ca3af;
  text-decoration: none;
}

.mb-drawer-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Remix Icon 공통 (회원 페이지) ── */
.www-ico {
  display: inline-block;
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
  text-align: center;
}

.www-ico::before {
  display: block;
  line-height: 1;
}

/* 아이콘 박스 내부 글리프 중앙 정렬 */
.mb-board-title-ico,
.www-page-title-ico,
.mb-slot-heading-ico,
.page-shell .mb-side-panel-ico,
.menu-popup-title-ico,
.menu-popup-tab-ico,
.mb-board-item-ico {
  line-height: 0;
}

.mb-board-title-ico > .www-ico,
.www-page-title-ico > .www-ico,
.mb-slot-heading-ico > .www-ico,
.page-shell .mb-side-panel-ico > .www-ico,
.menu-popup-title-ico > .www-ico,
.menu-popup-tab-ico > .www-ico,
.mb-board-item-ico > .www-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.page-shell .mb-side-panel-ico > .www-ico {
  font-size: 1.05rem;
}

.mb-board-title-ico > .www-ico {
  font-size: 0.95rem;
  color: var(--mb-gold);
}

.mb-board-item-ico > .www-ico {
  font-size: 0.82rem;
  color: var(--mb-gold);
}

.www-page-title-ico > .www-ico {
  font-size: 1.15rem;
  color: var(--mb-gold);
}

.mb-slot-heading-ico > .www-ico {
  font-size: 1rem;
  color: var(--mb-gold);
}

.page-shell .mb-shell-btn .mb-shell-btn-ico {
  font-size: 0.95rem;
}

.bb-title,
.dp-title,
.mp-title,
.at-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.www-page-title-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.28);
  flex-shrink: 0;
  line-height: 0;
}

.page-shell .mb-bottomnav .icon .www-ico {
  font-size: 1.2rem;
}

.page-shell .mb-bottomnav a.active .icon .www-ico,
.page-shell .mb-bottomnav a:hover .icon .www-ico {
  color: inherit;
}

.point-convert-layer {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
}

.point-convert-layer[hidden] {
  display: none !important;
}

.point-convert-modal {
  width: min(100%, 420px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.point-convert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.point-convert-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.point-convert-title-ico .www-ico {
  color: #4ade80;
}

.point-convert-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ddd;
  cursor: pointer;
}

.point-convert-body {
  padding: 18px;
}

.point-convert-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.point-convert-summary-item {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.08);
  color: #d4d4d8;
  font-size: 12px;
}

.point-convert-summary-item strong {
  display: block;
  margin-top: 4px;
  color: #4ade80;
  font-size: 17px;
}

.point-convert-guide {
  margin: 0 0 14px;
  color: #a1a1aa;
  font-size: 13px;
  line-height: 1.5;
}

.point-convert-label {
  display: block;
  margin-bottom: 8px;
  color: #d4d4d8;
  font-size: 14px;
  font-weight: 600;
}

.point-convert-amount-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pc-amt-btn {
  flex: 1 1 calc(33.33% - 8px);
  min-width: 72px;
  padding: 8px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #1a1a1a;
  color: #e4e4e7;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.pc-amt-btn:hover {
  border-color: rgba(34, 197, 94, 0.45);
  color: #4ade80;
}

.pc-amt-reset {
  flex: 1 1 100%;
}

.point-convert-input {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #0a0a0a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.point-convert-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--mb-green-gradient-v);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--mb-green-glow);
}

.point-convert-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.point-convert-alert {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.pc-alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.pc-alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

@media (max-width: 768px) {
  .point-convert-layer {
    padding: 0;
  }

  .point-convert-modal {
    width: 90vw;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
  }
}

.mb-auth-signup-modes {
  display: flex;
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.mb-auth-signup-modes button {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  color: inherit;
  font-weight: 700;
}

.mb-auth-signup-modes button.active {
  background: #2f6df6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(47, 109, 246, 0.24);
}

[data-auth-open][disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}
