/* ============================================================
   BOSS88 공통 베이스 (2026-09-12) — 색은 전부 CSS 변수, 스킨별 theme.css 가 변수/레이아웃 재정의
   - body.boss88 스코프에서만 동작 → okvip88kr.pro 에는 영향 없음
   - 컨셉: "Royal Sapphire & Gold" — 딥 사파이어 네이비 + 골드 + 시안 네온
   ============================================================ */

body.boss88 {
  --b-bg0: #03061c; --b-bg0-rgb: 3, 6, 28;
  --b-bg1: #0a1148; --b-bg1-rgb: 10, 17, 72;
  --b-deep: #070d38; --b-deep-rgb: 7, 13, 56;
  --b-sf: #101b5c; --b-sf-rgb: 16, 27, 92;
  --b-sf2: #16247a; --b-sf2-rgb: 22, 36, 122;
  --b-gold0: #fff3c4; --b-gold1: #ffe58f; --b-gold1-rgb: 255, 229, 143;
  --b-gold2: #f9c22e; --b-gold-rgb: 249, 194, 46; --b-gold3: #d9931a;
  --b-ongold: #2a1a00;
  --b-cy: #3ee6ff; --b-cy-rgb: 62, 230, 255;
  --b-pk: #ff2d6f; --b-pk-rgb: 255, 45, 111; --b-pk2: #ff7a2d;
  --b-tx: #f3f6ff; --b-mu: #aab6ea;
  --b-gold-grad: linear-gradient(90deg, var(--b-gold1) 0%, var(--b-gold2) 45%, var(--b-gold3) 100%);
  --b-gold-text: linear-gradient(180deg, var(--b-gold0) 0%, var(--b-gold2) 55%, var(--b-gold3) 100%);
  --b-body-bg:
    radial-gradient(1100px 520px at 15% -5%, rgba(78, 104, 255, 0.38), transparent 60%),
    radial-gradient(900px 480px at 92% 8%, rgba(var(--b-pk-rgb), 0.16), transparent 60%),
    linear-gradient(180deg, var(--b-bg1) 0%, var(--b-bg0) 45%, var(--b-bg0) 100%);
  --b-font: "Be Vietnam Pro", "Inter", sans-serif;
  background: var(--b-body-bg) !important;
  background-attachment: fixed !important;
  color: var(--b-tx);
}
body.boss88 * {
  font-family: var(--b-font) !important;
}
body.boss88::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px 320px at 30% 20%, rgba(var(--b-cy-rgb), 0.10), transparent 60%),
    radial-gradient(520px 320px at 75% 70%, rgba(var(--b-gold-rgb), 0.10), transparent 60%);
  animation: b88aurora 14s ease-in-out infinite alternate;
}
@keyframes b88aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-40px, 30px, 0) scale(1.08); }
}
@keyframes b88pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(var(--b-gold1-rgb), 0.55), 0 6px 18px rgba(var(--b-gold-rgb), 0.35); }
  50% { box-shadow: 0 0 0 1px rgba(var(--b-gold1-rgb), 0.9), 0 6px 28px rgba(var(--b-gold-rgb), 0.7); }
}
@keyframes b88shine {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}
@keyframes b88float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- 공통 유틸 색상 재정의 (기존 오렌지/블랙 → 사파이어/골드) ---------- */
body.boss88 .bg-\[\#0A0A0A\] { background: transparent !important; }
body.boss88 .bg-\[\#171717\],
body.boss88 .bg-\[\#181818\],
body.boss88 .bg-\[\#1A1810\],
body.boss88 .bg-\[\#1a1810\],
body.boss88 .bg-\[\#131210\] {
  background: linear-gradient(180deg, rgba(var(--b-sf-rgb), 0.88), rgba(var(--b-bg1-rgb), 0.88)) !important;
}
body.boss88 .text-\[\#FBD170\],
body.boss88 .text-\[\#FFB513\],
body.boss88 .text-\[\#8C630A\],
body.boss88 .text-\[\#f5ac03\],
body.boss88 .text-\[\#ec7116\] { color: var(--b-gold1) !important; }
body.boss88 .text-\[\#1BA7F4\] { color: var(--b-cy) !important; }
body.boss88 .border-\[\#FBD170\] { border-color: var(--b-gold2) !important; }
body.boss88 .bg-\[\#FBD170\] { background: var(--b-gold-grad) !important; }
body.boss88 .group:hover .group-hover\:bg-\[\#FBD170\] { background: var(--b-cy) !important; }
body.boss88 .bg-orange-gradient { background: linear-gradient(130deg, var(--b-cy) 0%, var(--b-sf2) 100%) !important; }
body.boss88 .policy-tab-ative { border-bottom-color: var(--b-gold2) !important; background: rgba(var(--b-gold-rgb), 0.14) !important; }
body.boss88 .deposit-method-active { border-color: var(--b-gold2) !important; }
body.boss88 .deposit-method-active p { color: var(--b-gold3) !important; }
body.boss88 .banner-swiper .swiper-pagination-bullet-active { background-color: var(--b-gold2) !important; }
body.boss88 .banner-swiper .swiper-pagination-bullet { background-color: rgba(255, 255, 255, 0.5); }
body.boss88 .bg-white { background: #f4f6ff !important; }

/* ---------- 상단 헤더 (PC/모바일 공통 고정 헤더) ---------- */
body.boss88 section.fixed.top-0 {
  background: linear-gradient(180deg, rgba(var(--b-bg1-rgb), 0.97), rgba(var(--b-deep-rgb), 0.94)) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(var(--b-gold-rgb), 0.6);
}
body.boss88 section.fixed.top-0 > div:first-child { border-color: rgba(var(--b-gold-rgb), 0.22) !important; }
body.boss88 section.fixed.top-0 img[src$="logo.png"] { filter: drop-shadow(0 0 10px rgba(var(--b-gold-rgb), 0.45)); }
body.boss88 section.fixed.top-0 > div.hide-scrollbar { gap: 2px; padding-top: 4px; padding-bottom: 4px; }
body.boss88 section.fixed.top-0 > div.hide-scrollbar > a {
  border-radius: 999px;
  padding: 8px 14px !important;
  position: relative;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
body.boss88 section.fixed.top-0 > div.hide-scrollbar > a p {
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  font-size: 13px !important;
}
body.boss88 section.fixed.top-0 > div.hide-scrollbar > a:hover,
body.boss88 section.fixed.top-0 > div.hide-scrollbar > a.b88-nav-active {
  background: linear-gradient(180deg, rgba(var(--b-gold-rgb), 0.2), rgba(var(--b-gold-rgb), 0.06));
  border-color: rgba(var(--b-gold-rgb), 0.5);
  box-shadow: 0 0 18px rgba(var(--b-gold-rgb), 0.25);
}
body.boss88 section.fixed.top-0 > div.hide-scrollbar > a:hover p,
body.boss88 section.fixed.top-0 > div.hide-scrollbar > a.b88-nav-active p { color: var(--b-gold1) !important; }
body.boss88 section.fixed.top-0 > div.hide-scrollbar > a img { filter: drop-shadow(0 0 6px rgba(var(--b-cy-rgb), 0.5)); }
@media (max-width: 639px) {
  body.boss88 section.fixed.top-0 > div.hide-scrollbar > a { padding: 6px 8px !important; border-radius: 12px; }
  body.boss88 section.fixed.top-0 > div.hide-scrollbar > a p { font-size: 10px !important; }
}

/* 로그인/가입 버튼 */
body.boss88 #open-login-btn {
  border: 1px solid var(--b-cy) !important;
  color: var(--b-cy) !important;
  background: transparent !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
body.boss88 #open-login-btn:hover { background: rgba(var(--b-cy-rgb), 0.14) !important; color: #fff !important; }
body.boss88 #open-register-btn {
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--b-ongold) !important;
  font-weight: 800 !important;
  background: var(--b-gold-grad) !important;
  animation: b88pulse 2.4s ease-in-out infinite;
}
body.boss88 section.fixed.top-0 button.rounded-full { background: var(--b-gold-grad) !important; box-shadow: 0 4px 16px rgba(var(--b-gold-rgb), 0.4); }
body.boss88 section.fixed.top-0 .bg-white\/\[0\.12\] { background: rgba(var(--b-cy-rgb), 0.12) !important; border: 1px solid rgba(var(--b-cy-rgb), 0.35); }
body.boss88 section.fixed.top-0 .rounded-lg.bg-white { background: linear-gradient(180deg, var(--b-sf2), var(--b-bg1)) !important; box-shadow: 0 0 0 1px rgba(var(--b-gold-rgb), 0.45), 0 20px 50px rgba(0, 0, 0, 0.6); }
body.boss88 section.fixed.top-0 .rounded-lg.bg-white p,
body.boss88 section.fixed.top-0 .rounded-lg.bg-white a,
body.boss88 section.fixed.top-0 .rounded-lg.bg-white button { color: var(--b-tx) !important; }
body.boss88 section.fixed.top-0 .rounded-lg.bg-white img[src^="icons/"] { filter: brightness(0) invert(1); }

/* ---------- 모바일 하단 네비 (플로팅 바) ---------- */
body.boss88 div.fixed.bottom-0.grid {
  left: 10px !important;
  right: 10px !important;
  bottom: 10px !important;
  width: auto !important;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(var(--b-sf-rgb), 0.97), rgba(var(--b-deep-rgb), 0.99)) !important;
  box-shadow: 0 0 0 1px rgba(var(--b-gold-rgb), 0.5), 0 -6px 30px rgba(0, 0, 0, 0.55);
  padding: 8px 6px 10px !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.boss88 div.fixed.bottom-0.grid p { font-size: 10px !important; font-weight: 700 !important; }
body.boss88 div.fixed.bottom-0.grid .rounded-full {
  background: var(--b-gold-grad) !important;
  box-shadow: 0 0 0 4px var(--b-deep), 0 0 22px rgba(var(--b-gold-rgb), 0.65);
  width: 54px !important;
  height: 54px !important;
  animation: b88float 3s ease-in-out infinite;
}

/* ---------- 공지 마퀴 바 (서브 페이지) ---------- */
body.boss88 .relative.flex-1.overflow-hidden > div.absolute { background: linear-gradient(90deg, var(--b-sf), transparent) !important; }
body.boss88 .relative.flex-1.overflow-hidden > div.absolute:last-of-type { background: linear-gradient(270deg, var(--b-sf), transparent) !important; }
body.boss88 .marquee p { color: var(--b-gold1) !important; font-weight: 600 !important; }
body.boss88 img[src="icons/speaker.svg"] { filter: drop-shadow(0 0 6px rgba(var(--b-gold-rgb), 0.8)); }

/* ---------- 서브 페이지 섹션 타이틀 (이미지 타이틀 → 골드 그라데이션 텍스트) ---------- */
body.boss88 img[src="images/bg-title.png"],
body.boss88 img[src="images/bg-game-hot.svg"],
body.boss88 img[src="images/line-game-hot.svg"] { display: none !important; }
body.boss88 .w-fit.mx-auto.relative { margin-bottom: 22px; }
body.boss88 .w-fit.mx-auto.relative > .absolute {
  position: static !important;
  transform: none !important;
  padding: 8px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--b-gold-rgb), 0), rgba(var(--b-gold-rgb), 0.18), rgba(var(--b-gold-rgb), 0));
  box-shadow: inset 0 -1px 0 rgba(var(--b-gold-rgb), 0.6);
}
body.boss88 .w-fit.mx-auto.relative > .absolute p,
body.boss88 .flex.justify-center.items-center.space-x-1 > p {
  background: var(--b-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-transform: uppercase;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
}

/* ---------- 서브 페이지 카드 ---------- */
body.boss88 section .group.cursor-pointer.overflow-hidden {
  box-shadow: 0 0 0 1px rgba(var(--b-gold-rgb), 0.4), 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 18px !important;
}
body.boss88 section .group.cursor-pointer.overflow-hidden:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 1px rgba(var(--b-gold1-rgb), 0.9), 0 0 30px rgba(var(--b-gold-rgb), 0.45), 0 18px 40px rgba(0, 0, 0, 0.5);
}
body.boss88 img[src="images/bg-sport.png"] { opacity: 0.35; mix-blend-mode: screen; }

/* ---------- 로그인/가입 모달 (다크 글래스) ---------- */
body.boss88 #loginModal > div { box-shadow: 0 0 0 1px rgba(var(--b-gold-rgb), 0.55), 0 30px 80px rgba(0, 0, 0, 0.65); border-radius: 22px !important; }
body.boss88 #loginModal .bg-white { background: linear-gradient(180deg, var(--b-sf2) 0%, var(--b-bg1) 100%) !important; }
body.boss88 #loginModal p,
body.boss88 #loginModal label,
body.boss88 #loginModal span,
body.boss88 #loginModal a,
body.boss88 #loginModal button { color: var(--b-tx); }
body.boss88 #loginModal input,
body.boss88 #loginModal select {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 10px !important;
}
body.boss88 #loginModal input::placeholder { color: rgba(255, 255, 255, 0.45); }
body.boss88 #loginModal input:focus,
body.boss88 #loginModal select:focus { border-color: var(--b-gold2) !important; box-shadow: 0 0 0 3px rgba(var(--b-gold-rgb), 0.22); outline: none; }
body.boss88 #loginModal select option { color: #111; }
body.boss88 #loginModal img[src^="icons/"] { filter: brightness(0) invert(1); opacity: 0.9; }
body.boss88 #loginModal img[src^="icons/flag"] { filter: none; }
body.boss88 #login-btn,
body.boss88 #register-btn {
  background: var(--b-gold-grad) !important;
  color: var(--b-ongold) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 24px rgba(var(--b-gold-rgb), 0.35);
  border: 0 !important;
}
body.boss88 #register-now-btn,
body.boss88 #login-now-btn { color: var(--b-cy) !important; }

/* ---------- 푸터 ---------- */
body.boss88 .w-full.h-\[1px\].bg-white\/\[0\.12\] { background: linear-gradient(90deg, transparent, rgba(var(--b-gold-rgb), 0.6), transparent) !important; }
body.boss88 img[src^="images/partner-"] { filter: grayscale(1) brightness(1.4); opacity: 0.55; transition: 0.3s; }
body.boss88 img[src^="images/partner-"]:hover { filter: none; opacity: 1; }

/* ============================================================
   BOSS88 홈 전용 컴포넌트 (boss88/home.php)
   ============================================================ */
body.boss88 .b88-frame {
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--b-gold1), var(--b-gold2) 30%, var(--b-cy) 70%, var(--b-gold2));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(var(--b-gold-rgb), 0.25);
}
body.boss88 .b88-frame > * { border-radius: 18px; overflow: hidden; background: var(--b-deep); }
body.boss88 .b88-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(var(--b-sf2-rgb), 0.75), rgba(var(--b-bg1-rgb), 0.85));
  border: 1px solid rgba(var(--b-gold-rgb), 0.35);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
body.boss88 .b88-balance {
  background: radial-gradient(120% 120% at 0% 0%, rgba(var(--b-cy-rgb), 0.2), transparent 60%), rgba(var(--b-bg0-rgb), 0.6);
  border: 1px solid rgba(var(--b-cy-rgb), 0.35);
}
body.boss88 .b88-gold-text {
  background: var(--b-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.boss88 .b88-muted { color: var(--b-mu); }
body.boss88 .b88-btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--b-gold-grad); color: var(--b-ongold); font-weight: 800; font-size: 14px;
  position: relative; overflow: hidden; cursor: pointer;
  box-shadow: 0 8px 22px rgba(var(--b-gold-rgb), 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.boss88 .b88-btn-gold::after {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: b88shine 2.8s ease-in-out infinite;
}
body.boss88 .b88-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--b-gold-rgb), 0.55); }
body.boss88 .b88-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--b-cy); color: var(--b-cy); font-weight: 700; font-size: 14px; cursor: pointer;
  transition: 0.2s;
}
body.boss88 .b88-btn-outline:hover { background: rgba(var(--b-cy-rgb), 0.14); color: #fff; }
body.boss88 .b88-tile {
  border-radius: 14px; padding: 12px 8px;
  background: linear-gradient(180deg, rgba(var(--b-sf2-rgb), 0.8), rgba(var(--b-bg1-rgb), 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: 0.25s; color: var(--b-tx); font-size: 12px; font-weight: 700; text-align: center;
}
body.boss88 .b88-tile img { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(var(--b-cy-rgb), 0.7)); }
body.boss88 .b88-tile:hover { border-color: rgba(var(--b-gold-rgb), 0.7); box-shadow: 0 0 20px rgba(var(--b-gold-rgb), 0.3); transform: translateY(-3px); }
body.boss88 .b88-tile.hot { border-color: rgba(var(--b-pk-rgb), 0.6); background: linear-gradient(180deg, rgba(var(--b-pk-rgb), 0.28), rgba(var(--b-bg1-rgb), 0.9)); }

body.boss88 .b88-marquee {
  margin: 14px auto 0; max-width: 1440px;
  border-radius: 999px; padding: 8px 14px;
  background: linear-gradient(90deg, rgba(var(--b-gold-rgb), 0.12), rgba(var(--b-sf-rgb), 0.9) 20%, rgba(var(--b-sf-rgb), 0.9) 80%, rgba(var(--b-gold-rgb), 0.12));
  border: 1px solid rgba(var(--b-gold-rgb), 0.4);
  display: flex; align-items: center; gap: 10px; overflow: hidden;
}
body.boss88 .b88-marquee .b88-live {
  flex: none; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 999px;
  background: var(--b-pk); color: #fff; box-shadow: 0 0 14px rgba(var(--b-pk-rgb), 0.7);
}

body.boss88 .b88-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; }
body.boss88 .b88-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--b-tx); font-weight: 700; font-size: 13px; white-space: nowrap; transition: 0.25s;
}
body.boss88 .b88-chip img { width: 20px; height: 20px; }
body.boss88 .b88-chip:hover { border-color: var(--b-gold2); color: var(--b-gold1); box-shadow: 0 0 16px rgba(var(--b-gold-rgb), 0.35); transform: translateY(-2px); }

body.boss88 .b88-sec { width: 100%; max-width: 1440px; margin: 0 auto; padding: 28px 12px 8px; }
@media (min-width: 640px) { body.boss88 .b88-sec { padding: 48px 40px 16px; } }
body.boss88 .b88-title {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; position: relative;
}
body.boss88 .b88-title::before,
body.boss88 .b88-title::after {
  content: ""; flex: 1; height: 1px; max-width: 260px;
  background: linear-gradient(90deg, transparent, rgba(var(--b-gold-rgb), 0.8));
}
body.boss88 .b88-title::after { background: linear-gradient(270deg, transparent, rgba(var(--b-gold-rgb), 0.8)); }
body.boss88 .b88-title img { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(var(--b-gold-rgb), 0.8)); }
body.boss88 .b88-title span {
  background: var(--b-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
@media (min-width: 640px) { body.boss88 .b88-title span { font-size: 30px; } body.boss88 .b88-title img { width: 36px; height: 36px; } }

/* 라이브 카지노 세로 카드 */
body.boss88 .b88-vcard {
  position: relative; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: var(--b-deep);
  box-shadow: 0 0 0 1px rgba(var(--b-gold-rgb), 0.4), 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.boss88 .b88-vcard:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(var(--b-gold1-rgb), 0.95), 0 0 34px rgba(var(--b-gold-rgb), 0.5), 0 20px 44px rgba(0, 0, 0, 0.55); }
body.boss88 .b88-vcard-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
body.boss88 .b88-vcard-img .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transform: scale(1.15); transition: transform 0.5s; }
body.boss88 .b88-vcard-img .girl { position: absolute; bottom: 0; right: 0; height: 92%; width: auto; object-fit: contain; object-position: bottom right; transition: transform 0.5s; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6)); }
body.boss88 .b88-vcard:hover .bg { transform: scale(1.25); }
body.boss88 .b88-vcard:hover .girl { transform: scale(1.06); }
body.boss88 .b88-vcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--b-bg0-rgb), 0.1) 40%, rgba(var(--b-bg0-rgb), 0.85) 100%); }
body.boss88 .b88-vcard .tag {
  position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: 999px; background: rgba(var(--b-pk-rgb), 0.95); color: #fff; box-shadow: 0 0 12px rgba(var(--b-pk-rgb), 0.8);
}
body.boss88 .b88-vcard-bar {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 10px 12px; background: linear-gradient(180deg, var(--b-sf), var(--b-bg1)); border-top: 1px solid rgba(var(--b-gold-rgb), 0.35);
}
body.boss88 .b88-vcard-bar .name { font-weight: 800; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.boss88 .b88-mini-btn {
  flex: none; font-size: 11px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  background: var(--b-gold-grad); color: var(--b-ongold); box-shadow: 0 4px 14px rgba(var(--b-gold-rgb), 0.4);
}
@media (min-width: 640px) { body.boss88 .b88-vcard-bar .name { font-size: 15px; } body.boss88 .b88-mini-btn { font-size: 12px; padding: 7px 14px; } }

/* 스포츠 가로 카드 */
body.boss88 .b88-sport {
  position: relative; border-radius: 22px; overflow: hidden; cursor: pointer; min-height: 200px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(var(--b-cy-rgb), 0.25), transparent 55%), linear-gradient(135deg, var(--b-sf2) 0%, var(--b-bg1) 60%, var(--b-deep) 100%);
  box-shadow: 0 0 0 1px rgba(var(--b-gold-rgb), 0.4), 0 14px 36px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  display: grid; grid-template-columns: 1fr 42%; align-items: center;
}
body.boss88 .b88-sport.alt { background: radial-gradient(120% 140% at 100% 0%, rgba(var(--b-pk-rgb), 0.25), transparent 55%), linear-gradient(135deg, var(--b-sf2) 0%, var(--b-bg1) 60%, var(--b-deep) 100%); }
body.boss88 .b88-sport:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(var(--b-gold1-rgb), 0.95), 0 0 34px rgba(var(--b-gold-rgb), 0.45), 0 22px 46px rgba(0, 0, 0, 0.55); }
body.boss88 .b88-sport .info { padding: 22px 18px 22px 22px; z-index: 2; }
body.boss88 .b88-sport .info img.logo { height: 34px; width: auto; margin-bottom: 10px; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35)); }
body.boss88 .b88-sport .info h3 { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 6px; text-transform: uppercase; }
body.boss88 .b88-sport .info p { font-size: 12px; color: var(--b-mu); margin-bottom: 14px; }
body.boss88 .b88-sport .player { position: relative; height: 100%; min-height: 200px; }
body.boss88 .b88-sport .player img { position: absolute; bottom: -4px; right: 0; height: 108%; width: auto; object-fit: contain; object-position: bottom; transition: transform 0.4s; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.7)); }
body.boss88 .b88-sport:hover .player img { transform: scale(1.06) translateY(-4px); }
@media (min-width: 640px) {
  body.boss88 .b88-sport { min-height: 260px; }
  body.boss88 .b88-sport .info { padding: 34px 26px 34px 34px; }
  body.boss88 .b88-sport .info h3 { font-size: 28px; }
  body.boss88 .b88-sport .info p { font-size: 14px; }
  body.boss88 .b88-sport .player { min-height: 260px; }
}

/* 게임 HOT 카드 */
body.boss88 .b88-game { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--b-deep);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 26px rgba(0, 0, 0, 0.45); transition: transform 0.3s, box-shadow 0.3s; }
body.boss88 .b88-game:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 0 0 1px rgba(var(--b-gold-rgb), 0.9), 0 0 28px rgba(var(--b-gold-rgb), 0.45); }
body.boss88 .b88-game .img { aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
body.boss88 .b88-game .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
body.boss88 .b88-game:hover .img img { transform: scale(1.12); }
body.boss88 .b88-game .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--b-bg0-rgb), 0.55); opacity: 0; transition: 0.3s;
}
body.boss88 .b88-game:hover .play { opacity: 1; }
body.boss88 .b88-game .play span { padding: 8px 18px; border-radius: 999px; background: var(--b-gold-grad); color: var(--b-ongold); font-weight: 800; font-size: 12px; box-shadow: 0 0 20px rgba(var(--b-gold-rgb), 0.8); }
body.boss88 .b88-game .hot { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 10px; font-weight: 900; padding: 3px 8px; border-radius: 999px; background: linear-gradient(90deg, var(--b-pk), var(--b-pk2)); color: #fff; box-shadow: 0 0 12px rgba(var(--b-pk-rgb), 0.8); }
body.boss88 .b88-game .name { padding: 8px 8px 10px; font-size: 11px; font-weight: 700; color: #fff; text-align: center; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: linear-gradient(180deg, var(--b-sf), var(--b-bg1)); }
@media (min-width: 640px) { body.boss88 .b88-game .name { font-size: 13px; padding: 10px; } }

/* 특징(신뢰) 스트립 */
body.boss88 .b88-feature { border-radius: 16px; padding: 18px 14px; text-align: center;
  background: linear-gradient(180deg, rgba(var(--b-sf2-rgb), 0.6), rgba(var(--b-bg1-rgb), 0.7)); border: 1px solid rgba(255, 255, 255, 0.1); transition: 0.25s; }
body.boss88 .b88-feature:hover { border-color: rgba(var(--b-gold-rgb), 0.6); transform: translateY(-3px); }
body.boss88 .b88-feature .ic { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(var(--b-cy-rgb), 0.35), rgba(var(--b-sf-rgb), 0.9)); border: 1px solid rgba(var(--b-cy-rgb), 0.4); font-size: 22px; }
body.boss88 .b88-feature h4 { font-weight: 800; font-size: 14px; color: #fff; margin-bottom: 4px; }
body.boss88 .b88-feature p { font-size: 12px; color: var(--b-mu); }

/* 푸터 하단 바 */
body.boss88 .b88-footer { border-top: 1px solid rgba(var(--b-gold-rgb), 0.35); background: linear-gradient(180deg, rgba(var(--b-deep-rgb), 0.6), var(--b-bg0)); padding: 26px 16px 110px; }
@media (min-width: 640px) { body.boss88 .b88-footer { padding-bottom: 30px; } }
body.boss88 .b88-footer .inner { max-width: 1440px; margin: 0 auto; display: grid; gap: 18px; }
@media (min-width: 768px) { body.boss88 .b88-footer .inner { grid-template-columns: 1.3fr 1fr 1fr; } }
body.boss88 .b88-footer h5 { font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-gold1); margin-bottom: 10px; }
body.boss88 .b88-footer p, body.boss88 .b88-footer a { font-size: 12px; color: var(--b-mu); line-height: 1.7; }
body.boss88 .b88-footer a:hover { color: var(--b-gold1); }
body.boss88 .b88-footer .copy { text-align: center; font-size: 11px; color: rgba(170, 182, 234, 0.6); margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
body.boss88 .b88-footer .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
body.boss88 .b88-footer .badges span { font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(var(--b-cy-rgb), 0.4); color: var(--b-cy); }

/* ---------- 2차 보정 (2026-09-12) ---------- */
body.boss88 .b88-tile.big { padding: 18px 10px; font-size: 14px; }
body.boss88 .b88-tile.big img { width: 34px; height: 34px; }
body.boss88 .b88-feature .ic img { width: 24px; height: 24px; filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(var(--b-cy-rgb),.8)); }
body.boss88 .b88-feature { background: linear-gradient(180deg, rgba(var(--b-sf-rgb), 0.85), rgba(var(--b-deep-rgb), 0.95)); border-color: rgba(var(--b-gold-rgb),.25); }
/* 로그인/가입 모달: OKVIP 브랜드 이미지 제거 → 단일 컬럼 */
/* 모달 이미지: BOSS88 전용 login-bg 적용됨 (2026-09-13) */
/* 푸터 상단 문구 가독성 */
body.boss88 [data-i18n="the-thao-sanh-cuoc"] { color: #fff !important; font-weight: 800 !important; }
body.boss88 [data-i18n="sanh-cuoc-hap-dan"] { color: var(--b-mu) !important; }
body.boss88 .text-\[\#FFBF61\] { color: var(--b-gold1) !important; }

/* 마퀴가 grid/flex 안에서 가로 넘침 방지 (2026-09-12) */
body.boss88 .b88-marquee { min-width: 0; max-width: 100%; }
body.boss88 .b88-marquee > .flex-1 { min-width: 0; }

/* ---------- 헤더 높이 자동 보정 (2026-09-13) ----------
   고정 헤더(상단바+메뉴) 높이가 기기/폰트 줄바꿈에 따라 달라져 본문이 헤더 밑으로 밀리거나 틈이 생김
   → JS 가 실제 헤더 높이를 --b88-head-h 에 넣고, 본문 첫 섹션 여백은 그 값 + 6px 로 통일 */
body.boss88 .mt-\[110px\], body.boss88 .mt-\[112px\], body.boss88 .mt-\[118px\] { margin-top: calc(var(--b88-head-h, 112px) + 6px) !important; }
body.boss88.b88-skin6 .s6-wrap { margin-top: calc(var(--b88-head-h, 112px) + 6px) !important; }

/* ---------- 입력창 글자색 (2026-09-14) ----------
   body 글자색(흰색)이 input 으로 상속되어 흰 배경 입력창(포인트전환·충전금액 등) 글자/플레이스홀더가 안 보이던 문제.
   #loginModal 은 다크 글래스라 위 규칙(id 선택자)이 우선 → 흰 글자 유지 */
body.boss88 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
body.boss88 textarea { color: #111 !important; caret-color: #111; }
body.boss88 input::placeholder,
body.boss88 textarea::placeholder { color: #9aa0ad; opacity: 1; }
body.boss88 #loginModal input { color: #fff !important; caret-color: #fff; }
body.boss88 #loginModal input::placeholder { color: rgba(255, 255, 255, 0.45); }
