@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
/* ============================================================
   skin4 — "Ivory Luxe" : 아이보리/화이트 라이트 테마 + 블랙 + 샴페인 골드, 프리미엄 매거진 무드
   (skin4.boss88kr.com) 2026-09-12  ※ 유일한 라이트 테마
   ============================================================ */
body.b88-skin4 {
  --b-bg0: #f6f2ea; --b-bg0-rgb: 246, 242, 234;
  --b-bg1: #ffffff; --b-bg1-rgb: 255, 255, 255;
  --b-deep: #ffffff; --b-deep-rgb: 255, 255, 255;
  --b-sf: #ffffff; --b-sf-rgb: 255, 255, 255;
  --b-sf2: #fbf7ef; --b-sf2-rgb: 251, 247, 239;
  --b-gold0: #fff4d1; --b-gold1: #e2b866; --b-gold1-rgb: 226, 184, 102;
  --b-gold2: #c9982f; --b-gold-rgb: 201, 152, 47; --b-gold3: #9a6f14;
  --b-ongold: #ffffff;
  --b-cy: #1a1a1a; --b-cy-rgb: 26, 26, 26;
  --b-pk: #c8102e; --b-pk-rgb: 200, 16, 46; --b-pk2: #e8562a;
  --b-tx: #1a1a1a; --b-mu: #6b6257;
  --b-gold-grad: linear-gradient(90deg, #d9b25b 0%, #c9982f 50%, #a87b1c 100%);
  --b-gold-text: linear-gradient(180deg, #d9b25b 0%, #a87b1c 100%);
  --b-body-bg: linear-gradient(180deg, #ffffff 0%, #f6f2ea 100%);
  --b-font: "Manrope", "Be Vietnam Pro", sans-serif;
  color: #1a1a1a;
}
body.b88-skin4::before, body.b88-skin4::after { display: none; }
body.b88-skin4 h1, body.b88-skin4 h2, body.b88-skin4 h3, body.b88-skin4 .s4-serif { font-family: "Playfair Display", serif !important; }

/* ---------- 헤더: 화이트 + 블랙 텍스트, 언더라인 탭 ---------- */
body.b88-skin4 section.fixed.top-0 { background: rgba(255, 255, 255, 0.96) !important; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 8px 30px rgba(0, 0, 0, 0.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.b88-skin4 section.fixed.top-0 > div:first-child { border-color: rgba(0, 0, 0, 0.06) !important; }
body.b88-skin4 section.fixed.top-0 img[src$="logo.png"] { filter: none; }
body.b88-skin4 section.fixed.top-0 p, body.b88-skin4 section.fixed.top-0 span { color: #1a1a1a; }
body.b88-skin4 section.fixed.top-0 .bg-white\/\[0\.12\] { background: #f3efe6 !important; border: 1px solid rgba(0, 0, 0, 0.08); }
body.b88-skin4 section.fixed.top-0 > div.hide-scrollbar { gap: 0; padding-top: 0; padding-bottom: 0; border-top: 1px solid rgba(0, 0, 0, 0.06); }
body.b88-skin4 section.fixed.top-0 > div.hide-scrollbar > a { border-radius: 0; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px !important; }
body.b88-skin4 section.fixed.top-0 > div.hide-scrollbar > a img { filter: brightness(0) opacity(0.75); width: 22px !important; }
body.b88-skin4 section.fixed.top-0 > div.hide-scrollbar > a p { color: #1a1a1a !important; font-size: 13px !important; letter-spacing: 0.04em; }
body.b88-skin4 section.fixed.top-0 > div.hide-scrollbar > a:hover,
body.b88-skin4 section.fixed.top-0 > div.hide-scrollbar > a.b88-nav-active { background: transparent; border-bottom-color: var(--b-gold2); box-shadow: none; }
body.b88-skin4 section.fixed.top-0 > div.hide-scrollbar > a:hover p,
body.b88-skin4 section.fixed.top-0 > div.hide-scrollbar > a.b88-nav-active p { color: var(--b-gold3) !important; }
body.b88-skin4 #open-login-btn { border: 1px solid #1a1a1a !important; color: #1a1a1a !important; border-radius: 4px !important; }
body.b88-skin4 #open-login-btn:hover { background: #1a1a1a !important; color: #fff !important; }
body.b88-skin4 #open-register-btn { border-radius: 4px !important; background: #1a1a1a !important; color: #fff !important; animation: none; box-shadow: none; }
body.b88-skin4 #open-register-btn:hover { background: var(--b-gold-grad) !important; }
body.b88-skin4 section.fixed.top-0 .rounded-lg.bg-white { background: #fff !important; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 20px 50px rgba(0, 0, 0, 0.15); }
body.b88-skin4 section.fixed.top-0 .rounded-lg.bg-white p, body.b88-skin4 section.fixed.top-0 .rounded-lg.bg-white a, body.b88-skin4 section.fixed.top-0 .rounded-lg.bg-white button { color: #1a1a1a !important; }
body.b88-skin4 section.fixed.top-0 .rounded-lg.bg-white img[src^="icons/"] { filter: none; }
body.b88-skin4 section.fixed.top-0 button.rounded-full { background: #1a1a1a !important; box-shadow: none; }
body.b88-skin4 section.fixed.top-0 button.rounded-full p { color: #fff !important; }
body.b88-skin4 section.fixed.top-0 img[src="icons/add-wallet.svg"] { filter: brightness(0) invert(1); }

/* ---------- 모바일 하단바: 화이트 ---------- */
body.b88-skin4 div.fixed.bottom-0.grid { left: 0 !important; right: 0 !important; bottom: 0 !important; border-radius: 0; background: #fff !important; box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08), 0 -8px 24px rgba(0, 0, 0, 0.06); }
body.b88-skin4 div.fixed.bottom-0.grid p { color: #1a1a1a !important; }
body.b88-skin4 div.fixed.bottom-0.grid img { filter: brightness(0) opacity(0.8); }
body.b88-skin4 div.fixed.bottom-0.grid .rounded-full { background: #1a1a1a !important; box-shadow: 0 0 0 4px #fff, 0 6px 18px rgba(0, 0, 0, 0.25); animation: none; }
body.b88-skin4 div.fixed.bottom-0.grid .rounded-full img { filter: brightness(0) invert(1); }

/* ---------- 공통 유틸 (라이트 반전) ---------- */
body.b88-skin4 .bg-\[\#171717\], body.b88-skin4 .bg-\[\#181818\], body.b88-skin4 .bg-\[\#1A1810\], body.b88-skin4 .bg-\[\#1a1810\], body.b88-skin4 .bg-\[\#131210\] { background: #fff !important; border: 1px solid rgba(0, 0, 0, 0.06); }
body.b88-skin4 .text-white, body.b88-skin4 .text-\[\#F5F5F5\] { color: #1a1a1a !important; }
body.b88-skin4 .text-white\/70, body.b88-skin4 .text-white\/\[0\.7\] { color: #6b6257 !important; }
body.b88-skin4 .relative.flex-1.overflow-hidden > div.absolute { background: linear-gradient(90deg, #fff, transparent) !important; }
body.b88-skin4 .relative.flex-1.overflow-hidden > div.absolute:last-of-type { background: linear-gradient(270deg, #fff, transparent) !important; }
body.b88-skin4 .marquee p { color: #1a1a1a !important; }
body.b88-skin4 img[src="icons/speaker.svg"] { filter: brightness(0); }
body.b88-skin4 .w-fit.mx-auto.relative > .absolute { background: transparent; box-shadow: inset 0 -2px 0 var(--b-gold2); border-radius: 0; }
body.b88-skin4 .w-fit.mx-auto.relative > .absolute p, body.b88-skin4 .flex.justify-center.items-center.space-x-1 > p { background: none; color: #1a1a1a !important; -webkit-text-fill-color: #1a1a1a; font-family: "Playfair Display", serif !important; }
body.b88-skin4 .w-fit.mx-auto.relative > .absolute img, body.b88-skin4 .flex.justify-center.items-center.space-x-1 > img { filter: brightness(0); }
body.b88-skin4 section .group.cursor-pointer.overflow-hidden { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 12px 30px rgba(0, 0, 0, 0.1); border-radius: 8px !important; }
body.b88-skin4 section .group.cursor-pointer.overflow-hidden:hover { box-shadow: 0 0 0 2px var(--b-gold2), 0 18px 40px rgba(0, 0, 0, 0.15); }
body.b88-skin4 img[src="images/bg-sport.png"] { opacity: 0.08; mix-blend-mode: multiply; }
body.b88-skin4 .w-full.h-\[1px\].bg-white\/\[0\.12\] { background: rgba(0, 0, 0, 0.08) !important; }
body.b88-skin4 img[src^="images/partner-"] { filter: grayscale(1) brightness(0.3); opacity: 0.4; }
body.b88-skin4 [data-i18n="the-thao-sanh-cuoc"] { color: #1a1a1a !important; }
body.b88-skin4 .text-\[\#FFBF61\] { color: var(--b-gold3) !important; }
body.b88-skin4 .text-\[\#FBD170\], body.b88-skin4 .text-\[\#FFB513\], body.b88-skin4 .text-\[\#8C630A\] { color: var(--b-gold3) !important; }
body.b88-skin4 .text-\[\#1BA7F4\] { color: #1a1a1a !important; }
/* 모달 라이트 */
body.b88-skin4 #loginModal > div { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); border-radius: 8px !important; }
body.b88-skin4 #loginModal .bg-white { background: #fff !important; }
body.b88-skin4 #loginModal p, body.b88-skin4 #loginModal label, body.b88-skin4 #loginModal span, body.b88-skin4 #loginModal a, body.b88-skin4 #loginModal button { color: #1a1a1a; }
body.b88-skin4 #loginModal input, body.b88-skin4 #loginModal select { background: #f6f2ea !important; border: 1px solid rgba(0, 0, 0, 0.1) !important; color: #1a1a1a !important; border-radius: 4px !important; }
body.b88-skin4 #loginModal input::placeholder { color: #8a8178; }
body.b88-skin4 #loginModal img[src^="icons/"] { filter: brightness(0) opacity(0.6); }
body.b88-skin4 #login-btn, body.b88-skin4 #register-btn { background: #1a1a1a !important; color: #fff !important; border-radius: 4px !important; box-shadow: none; }
body.b88-skin4 #register-now-btn, body.b88-skin4 #login-now-btn { color: var(--b-gold3) !important; text-decoration: underline; }

/* ---------- skin4 홈 컴포넌트 ---------- */
body.b88-skin4 .s4-hero { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
@media (min-width: 1024px) { body.b88-skin4 .s4-hero { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
body.b88-skin4 .s4-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--b-gold3); font-weight: 700; margin-bottom: 12px; }
body.b88-skin4 .s4-kicker::before { content: ""; width: 28px; height: 1px; background: var(--b-gold2); }
body.b88-skin4 .s4-hero h1 { font-size: 34px; line-height: 1.08; color: #1a1a1a; font-weight: 700; }
body.b88-skin4 .s4-hero h1 em { font-style: italic; color: var(--b-gold3); }
@media (min-width: 640px) { body.b88-skin4 .s4-hero h1 { font-size: 54px; } }
body.b88-skin4 .s4-hero p.lead { font-size: 15px; color: #6b6257; margin: 16px 0 22px; max-width: 520px; line-height: 1.7; }
body.b88-skin4 .s4-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 4px; background: #1a1a1a; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; cursor: pointer; transition: 0.25s; }
body.b88-skin4 .s4-btn:hover { background: var(--b-gold-grad); color: #fff; }
body.b88-skin4 .s4-btn.ghost { background: transparent; color: #1a1a1a; border: 1px solid #1a1a1a; }
body.b88-skin4 .s4-btn.ghost:hover { background: #1a1a1a; color: #fff; }
body.b88-skin4 .s4-banner { border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18); position: relative; }
body.b88-skin4 .s4-banner::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 10px; pointer-events: none; }
body.b88-skin4 .s4-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
body.b88-skin4 .s4-stats div { padding: 14px 8px 0; border-right: 1px solid rgba(0, 0, 0, 0.08); }
body.b88-skin4 .s4-stats div:last-child { border-right: 0; }
body.b88-skin4 .s4-stats b { display: block; font-family: "Playfair Display", serif !important; font-size: 20px; color: #1a1a1a; }
body.b88-skin4 .s4-stats small { font-size: 11px; color: #6b6257; letter-spacing: 0.06em; text-transform: uppercase; }
body.b88-skin4 .s4-notice { display: flex; align-items: center; gap: 12px; padding: 10px 16px; margin-top: 26px; border-radius: 999px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05); }
body.b88-skin4 .s4-notice .lbl { flex: none; font-size: 10px; letter-spacing: 0.2em; font-weight: 800; color: var(--b-gold3); text-transform: uppercase; }
body.b88-skin4 .s4-notice .marquee p { color: #1a1a1a !important; font-weight: 600; }
body.b88-skin4 .s4-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
body.b88-skin4 .s4-quick a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 8px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); font-size: 12px; font-weight: 700; color: #1a1a1a; transition: 0.25s; text-align: center; }
body.b88-skin4 .s4-quick a img { width: 24px; height: 24px; filter: brightness(0); }
body.b88-skin4 .s4-quick a:hover { border-color: var(--b-gold2); box-shadow: 0 10px 24px rgba(201, 152, 47, 0.2); transform: translateY(-2px); }
body.b88-skin4 .s4-quick a.hot { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
body.b88-skin4 .s4-quick a.hot img { filter: brightness(0) invert(1); }
body.b88-skin4 .s4-sec { width: 100%; max-width: 1320px; margin: 0 auto; padding: 44px 16px 0; }
@media (min-width: 640px) { body.b88-skin4 .s4-sec { padding: 72px 40px 0; } }
body.b88-skin4 .s4-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
body.b88-skin4 .s4-head h2 { font-size: 26px; font-weight: 700; color: #1a1a1a; line-height: 1.1; }
body.b88-skin4 .s4-head h2 em { font-style: italic; color: var(--b-gold3); }
body.b88-skin4 .s4-head small { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--b-gold3); font-weight: 700; margin-bottom: 8px; }
body.b88-skin4 .s4-head a { font-size: 12px; font-weight: 700; color: #1a1a1a; border-bottom: 1px solid #1a1a1a; white-space: nowrap; }
@media (min-width: 640px) { body.b88-skin4 .s4-head h2 { font-size: 36px; } }
/* 카지노: 매거진 카드 (이미지 + 캡션 아래) */
body.b88-skin4 .s4-card { cursor: pointer; }
body.b88-skin4 .s4-card .pic { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #e9e2d6; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); transition: 0.35s; }
body.b88-skin4 .s4-card .pic .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transform: scale(1.15); filter: saturate(0.9); }
body.b88-skin4 .s4-card .pic .girl { position: absolute; bottom: 0; right: 0; height: 94%; width: auto; object-fit: contain; object-position: bottom right; transition: 0.4s; }
body.b88-skin4 .s4-card:hover .pic { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--b-gold2), 0 24px 44px rgba(0, 0, 0, 0.18); }
body.b88-skin4 .s4-card:hover .pic .girl { transform: scale(1.05); }
body.b88-skin4 .s4-card .pic .num { position: absolute; top: 10px; left: 12px; font-family: "Playfair Display", serif !important; font-size: 28px; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
body.b88-skin4 .s4-card .pic .tag { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; padding: 4px 8px; background: #fff; color: #1a1a1a; border-radius: 2px; }
body.b88-skin4 .s4-card .cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 2px 0; }
body.b88-skin4 .s4-card .cap b { font-family: "Playfair Display", serif !important; font-size: 16px; color: #1a1a1a; }
body.b88-skin4 .s4-card .cap span { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--b-gold3); border-bottom: 1px solid var(--b-gold2); }
/* 스포츠: 흑백 대비 블록 */
body.b88-skin4 .s4-sport { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; min-height: 230px; display: grid; grid-template-columns: 1fr 44%; align-items: center; background: #1a1a1a; color: #fff; transition: 0.3s; }
body.b88-skin4 .s4-sport.light { background: #fff; color: #1a1a1a; border: 1px solid rgba(0, 0, 0, 0.1); }
body.b88-skin4 .s4-sport:hover { box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2); transform: translateY(-4px); }
body.b88-skin4 .s4-sport .info { padding: 26px; }
body.b88-skin4 .s4-sport .info img { height: 30px; width: auto; margin-bottom: 10px; }
body.b88-skin4 .s4-sport.light .info img { filter: brightness(0); }
body.b88-skin4 .s4-sport .info h3 { font-size: 26px; font-weight: 700; }
body.b88-skin4 .s4-sport .info p { font-size: 13px; opacity: 0.7; margin: 8px 0 14px; }
body.b88-skin4 .s4-sport .player { position: relative; height: 100%; min-height: 230px; }
body.b88-skin4 .s4-sport .player img { position: absolute; bottom: -2px; right: 0; height: 106%; width: auto; object-fit: contain; object-position: bottom; }
body.b88-skin4 .s4-sport .s4-btn { background: var(--b-gold-grad); }
body.b88-skin4 .s4-sport.light .s4-btn { background: #1a1a1a; }
/* 게임: 미니멀 타일 */
body.b88-skin4 .s4-game { cursor: pointer; }
body.b88-skin4 .s4-game .img { border-radius: 6px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1); transition: 0.3s; }
body.b88-skin4 .s4-game .img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
body.b88-skin4 .s4-game:hover .img { box-shadow: 0 0 0 2px var(--b-gold2), 0 16px 34px rgba(0, 0, 0, 0.16); }
body.b88-skin4 .s4-game:hover .img img { transform: scale(1.08); }
body.b88-skin4 .s4-game p { margin-top: 8px; font-size: 12px; font-weight: 700; color: #1a1a1a; text-align: center; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 특징: 넘버링 리스트 */
body.b88-skin4 .s4-feat { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); }
@media (min-width: 768px) { body.b88-skin4 .s4-feat { grid-template-columns: repeat(4, 1fr); } }
body.b88-skin4 .s4-feat div { padding: 22px 18px 22px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
body.b88-skin4 .s4-feat small { font-family: "Playfair Display", serif !important; font-size: 22px; color: var(--b-gold3); display: block; margin-bottom: 8px; }
body.b88-skin4 .s4-feat h4 { font-size: 15px; font-weight: 800; color: #1a1a1a; margin-bottom: 4px; }
body.b88-skin4 .s4-feat p { font-size: 12px; color: #6b6257; line-height: 1.6; }
/* 푸터 라이트 */
body.b88-skin4 .b88-footer { background: #1a1a1a; border-top: 0; }
body.b88-skin4 .b88-footer p, body.b88-skin4 .b88-footer a { color: rgba(255, 255, 255, 0.7); }
body.b88-skin4 .b88-footer h5 { color: var(--b-gold1); }
body.b88-skin4 .b88-footer .badges span { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
body.b88-skin4 .b88-footer .copy { color: rgba(255, 255, 255, 0.4); border-color: rgba(255, 255, 255, 0.1); }
