html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #07060a;
}

@font-face {
  font-family: "Pretendard";
  src: url("/assets/cod/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/cod/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("/assets/cod/fonts/Cinzel_VariableFont_wght.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "NotoSansKR";
  src: url("/assets/cod/fonts/NotoSansKR_VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

.cod-site {
  --cod-bg-0: #07060a;
  --cod-bg-1: #0d0c12;
  --cod-bg-2: #141219;
  --cod-bg-3: #1a1820;
  --cod-gold: #d9a626;
  --cod-gold-1: #d7b04e;
  --cod-gold-2: #d6bf85;
  --cod-text: #f5f1e8;
  --cod-text-1: rgba(245, 241, 232, 0.88);
  --cod-text-2: rgba(245, 241, 232, 0.65);
  --cod-text-3: rgba(245, 241, 232, 0.4);
  --cod-line: rgba(215, 176, 78, 0.14);
  --cod-line-2: rgba(215, 176, 78, 0.26);
  min-height: 100vh;
  padding-top: 64px;
  overflow: clip;
  background: var(--cod-bg-0);
  color: var(--cod-text);
  font-family: "Pretendard", "NotoSansKR", sans-serif;
  font-size: 14px;
}
.cod-site *, .cod-site *::before, .cod-site *::after { box-sizing: border-box; }
.cod-site button, .cod-site input, .cod-site select, .cod-site textarea { font: inherit; }
.cod-site button { color: inherit; cursor: pointer; }
.cod-site button:focus-visible, .cod-site input:focus-visible, .cod-site select:focus-visible, .cod-site textarea:focus-visible { outline: 2px solid var(--cod-gold-1); outline-offset: 2px; }
.cod-site img { display: block; }
.cod-site [hidden] { display: none !important; }

.cod-hero {
  position: relative;
  min-height: 67vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: #100d13;
}
.cod-hero-bg { position: absolute; inset: 0; background: url("/assets/cod/images/hero_bg1.jpg") center / cover no-repeat; }
.cod-hero-brand-desktop {
  position: fixed;
  top: 0;
  left: 24px;
  z-index: 31;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cod-hero-brand-desktop img { width: auto; height: 46px; filter: drop-shadow(0 0 12px rgba(219, 181, 85, 0.4)); }
.cod-hero-brand-desktop span {
  color: #f2cf63;
  font-family: "Cinzel", serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(217, 166, 38, 0.55);
}
.cod-hero-brand-mobile { display: none; }
.cod-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 220px;
  padding: 48px 52% 0 7%;
  text-align: left;
}
.cod-hero-slide { position: absolute; inset: 48px 52% auto 7%; display: flex; flex-direction: column; align-items: flex-start; opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.7s ease; }
.cod-hero-slide.is-active { opacity: 1; transform: translateY(0); }
.cod-hero-eyebrow {
  color: #fff1d0;
  font-family: "Cinzel", serif;
  font-size: clamp(14px, 1.7vw, 24px);
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}
.cod-hero-title { margin: 13px 0 14px; font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.22; letter-spacing: -0.035em; text-shadow: 0 3px 14px #000; }
.cod-hero-sub { margin: 0; color: #fff1d0; font-family: "Cinzel", serif; font-size: clamp(16px, 2vw, 28px); letter-spacing: 0.15em; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75); }

.cod-userbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 64px;
  border-bottom: 1px solid var(--cod-line-2);
  background: linear-gradient(180deg, rgba(18, 16, 22, 0.98), rgba(10, 8, 12, 0.98));
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.cod-userbar-inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; padding: 0 24px 0 300px; }
.cod-userbar-user { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 18px; }
.cod-userbar-info { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: "Inter", "Pretendard", sans-serif; }
.cod-user-grade { padding: 3px 10px; border: 1px solid rgba(217, 166, 38, 0.35); border-radius: 4px; background: rgba(217, 166, 38, 0.16); color: var(--cod-gold); font-size: 12px; font-weight: 700; }
.cod-user-id { color: var(--cod-gold-2); font-weight: 700; }
.cod-user-money { color: var(--cod-text); font-weight: 700; }
.cod-user-dot { color: var(--cod-text-3); }
.cod-userbar-actions { display: flex; align-items: center; gap: 6px; }
.cod-userbar-auth { display: flex; gap: 8px; }

.cod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 650;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cod-btn-sm { min-height: 32px; min-width: 76px; padding: 7px 14px; font-size: 13px; }
.cod-btn-grow { flex: 1; }
.cod-btn-ghost { border-color: rgba(227, 196, 119, 0.4); background: rgba(218, 181, 87, 0.14); color: #edd8a3; box-shadow: inset 0 1px rgba(237, 216, 163, 0.12); }
.cod-btn-ghost:hover { border-color: rgba(227, 196, 119, 0.65); background: rgba(218, 181, 87, 0.24); color: #f5ead0; }
.cod-btn-primary { border-color: rgba(217, 166, 38, 0.55); background: linear-gradient(180deg, #8e2d3e, #521922); color: #fff1d0; box-shadow: inset 0 1px rgba(255, 255, 255, 0.12); }
.cod-btn-primary:hover { background: linear-gradient(180deg, #a43b4d, #682331); }
.cod-btn-accent { border-color: rgba(217, 166, 38, 0.45); background: rgba(217, 166, 38, 0.2); color: var(--cod-gold-2); }
.cod-btn-logout { border-color: rgba(244, 114, 182, 0.45); background: rgba(236, 72, 153, 0.14); color: #f9a8d4; }
.cod-btn-logout:hover { background: rgba(236, 72, 153, 0.25); }

.cod-midbar {
  position: relative;
  z-index: 5;
  height: 78px;
  border-top: 1px solid rgba(235, 208, 140, 0.18);
  border-bottom: 1px solid rgba(235, 208, 140, 0.18);
  background:
    radial-gradient(ellipse 420px 100% at 0% 50%, rgba(219, 181, 85, 0.07), transparent 62%),
    radial-gradient(ellipse 420px 100% at 100% 50%, rgba(164, 47, 67, 0.06), transparent 62%),
    linear-gradient(180deg, rgba(18, 16, 22, 0.3), rgba(16, 13, 19, 0.36)),
    linear-gradient(180deg, rgba(133, 110, 52, 0.18), rgba(114, 93, 41, 0.22)),
    url("/assets/cod/images/midbar_bg1.jpg") center / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(91, 79, 49, 0.3), rgba(19, 16, 22, 0.98) 35%, #0e0b11 70%, rgba(20, 17, 25, 0.98));
  box-shadow: inset 0 1px rgba(230, 222, 206, 0.04), inset 0 -1px rgba(0, 0, 0, 0.4);
}
.cod-midbar-inner { height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.cod-midbar-nav {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 64px;
  overflow: hidden;
  border: 1px solid rgba(164, 142, 86, 0.28);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 70% 120% at 50% 100%, rgba(219, 181, 85, 0.12), transparent 65%),
    radial-gradient(ellipse 40% 80% at 20% 0%, rgba(179, 159, 116, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(33, 29, 39, 0.98), #16121a 30%, #0f0d12 70%, rgba(9, 7, 11, 0.98));
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px rgba(255, 255, 255, 0.04), inset 0 1px rgba(230, 222, 206, 0.12), inset 0 2px 4px rgba(237, 216, 163, 0.08), inset 0 -2px 6px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.5);
}
.cod-midbar-nav::before,
.cod-midbar-nav::after { content: ""; position: absolute; right: 0; left: 0; z-index: 2; height: 1px; pointer-events: none; }
.cod-midbar-nav::before { top: 0; background: linear-gradient(90deg, transparent, rgba(237, 216, 163, 0.55) 20%, rgba(219, 181, 85, 0.75) 50%, rgba(237, 216, 163, 0.55) 80%, transparent); box-shadow: 0 0 8px rgba(219, 181, 85, 0.45); }
.cod-midbar-nav::after { bottom: 0; background: linear-gradient(90deg, transparent, rgba(217, 166, 38, 0.28) 50%, transparent); }
.cod-midbar-item {
  position: relative;
  min-width: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  overflow: hidden;
  border: 0;
  background: transparent;
  font-family: "Cinzel", "Oswald", "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.25s ease;
}
.cod-midbar-item:not(:first-child)::before { content: ""; position: absolute; top: 22%; bottom: 22%; left: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(237, 216, 163, 0.12) 40%, rgba(237, 216, 163, 0.12) 60%, transparent); }
.cod-midbar-item::after { content: ""; position: absolute; right: 14%; bottom: 3px; left: 14%; height: 1px; opacity: 0; background: linear-gradient(90deg, transparent, rgba(219, 181, 85, 0.95), transparent); box-shadow: 0 0 10px rgba(219, 181, 85, 0.55), 0 0 18px rgba(219, 181, 85, 0.25); transition: opacity 0.28s ease, height 0.25s ease, left 0.25s ease, right 0.25s ease; }
.cod-nav-icon { flex-shrink: 0; color: #dad7d2; font-size: 24px; line-height: 1; filter: drop-shadow(0 0 5px rgba(233, 208, 144, 0.35)); transition: color 0.25s ease, transform 0.25s ease, filter 0.25s ease; }
.cod-nav-label { background: linear-gradient(180deg, #fbfaf9, #dad7d2 28%, #867e69 58%, #aca8a0); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 19px; font-weight: 600; letter-spacing: 0.03em; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 0 6px rgba(233, 208, 144, 0.28)); transition: filter 0.25s ease, transform 0.28s ease; }
.cod-nav-withdraw .cod-nav-icon { display: inline-block; transform: rotate(180deg); }
.cod-midbar-item:hover { background: linear-gradient(180deg, rgba(178, 163, 132, 0.18), rgba(115, 95, 45, 0.28) 55%, rgba(32, 27, 40, 0.16)); box-shadow: inset 0 1px rgba(231, 224, 208, 0.6), inset 0 2px 3px rgba(237, 216, 163, 0.18), inset 0 -2px 4px rgba(0, 0, 0, 0.5), inset 1px 0 rgba(227, 196, 119, 0.18), inset -1px 0 rgba(227, 196, 119, 0.18); transform: translateY(-1px); }
.cod-midbar-item:hover::after { right: 6%; bottom: 0; left: 6%; height: 2px; opacity: 1; }
.cod-midbar-item:hover .cod-nav-label { transform: scale(1.08); }
.cod-midbar-item:hover .cod-nav-icon { transform: scale(1.12); }
.cod-midbar-item.cod-nav-withdraw:hover .cod-nav-icon { transform: rotate(180deg) scale(1.12); }
.cod-nav-deposit:hover .cod-nav-label { background: linear-gradient(180deg, #ecfdf5, #6ee7b7 25%, #10b981 55%, #047857 85%, #a7f3d0); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 0 12px rgba(16, 185, 129, 0.5)) brightness(1.15); }
.cod-nav-withdraw:hover .cod-nav-label { background: linear-gradient(180deg, #fbfaf7, #e5ddcd 25%, #a42f43 55%, #9a3d4d 85%, #e5ddcd); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 0 12px rgba(164, 47, 67, 0.5)) brightness(1.15); }
.cod-nav-notice:hover .cod-nav-label { background: linear-gradient(180deg, #faf8f4, #edd8a3 25%, #dbb557 55%, #997c34 85%, #edd8a3); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 0 12px rgba(218, 181, 87, 0.5)) brightness(1.15); }
.cod-nav-mypage:hover .cod-nav-label { background: linear-gradient(180deg, #fcfbf8, #e5ddcd 25%, #a32d41 55%, #8e3b49 85%, #e5ddcd); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 0 12px rgba(163, 45, 65, 0.5)) brightness(1.15); }
.cod-nav-deposit:hover .cod-nav-icon { color: #6ee7b7; filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.7)) brightness(1.2); }
.cod-nav-withdraw:hover .cod-nav-icon { color: #e5ddcd; filter: drop-shadow(0 0 12px rgba(164, 47, 67, 0.7)) brightness(1.2); }
.cod-nav-notice:hover .cod-nav-icon { color: #edd8a3; filter: drop-shadow(0 0 12px rgba(218, 181, 87, 0.7)) brightness(1.2); }
.cod-nav-mypage:hover .cod-nav-icon { color: #e5ddcd; filter: drop-shadow(0 0 12px rgba(163, 45, 65, 0.7)) brightness(1.2); }
.cod-nav-coupon:hover .cod-nav-icon,
.cod-nav-betting:hover .cod-nav-icon { color: var(--cod-gold-2); filter: drop-shadow(0 0 12px rgba(217, 166, 38, 0.6)) brightness(1.2); }
.cod-nav-shine { position: absolute; top: 0; bottom: 0; left: 0; width: 35%; opacity: 0; background: linear-gradient(90deg, transparent, rgba(231, 224, 208, 0.22), transparent); pointer-events: none; }
.cod-midbar-item:hover .cod-nav-shine { animation: cod-nav-shine 1.2s ease-out forwards; }
@keyframes cod-nav-shine { from { left: -35%; opacity: 0; } 35% { opacity: 1; } to { left: 100%; opacity: 0; } }
.cod-midbar-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border: 0; background: none; }
.cod-midbar-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--cod-text-1); }

.cod-gamesec { position: relative; isolation: isolate; min-height: 500px; padding-bottom: 72px; overflow: hidden; background: #09080a; }
.cod-gamesec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(217, 166, 38, 0.1), rgba(10, 8, 12, 0.55)), url("/assets/cod/images/gamelist_bg.webp") center / cover no-repeat; }
.cod-gamesec--casino::before { background: linear-gradient(135deg, rgba(217, 166, 38, 0.1), rgba(10, 8, 12, 0.55)), url("/assets/cod/images/gamelist_bg2.jpg") center / cover no-repeat; }
.cod-gamesec-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.cod-game-tabs { display: flex; align-items: center; justify-content: center; }
.cod-game-tabs-desktop {
  gap: 48px;
  margin: 20px 0 40px;
  padding: 34px 24px 30px;
  border: 1px solid var(--cod-line);
  border-radius: 18px;
  background: radial-gradient(130% 150% at 50% 0%, rgba(66, 59, 40, 0.55), rgba(16, 13, 19, 0.92) 72%), url("/assets/cod/images/odometer_section_ptn_bg.webp") center / cover no-repeat;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 14px 44px rgba(0, 0, 0, 0.4);
}
.cod-game-tab {
  --cod-tab-veil:
    radial-gradient(ellipse 40% 72% at 22% 50%, rgba(217, 166, 38, 0.1), transparent 70%),
    linear-gradient(270deg, rgba(10, 8, 12, 0.95), transparent 26%),
    linear-gradient(0deg, rgba(10, 8, 12, 0.92), transparent 20%),
    linear-gradient(180deg, rgba(10, 8, 12, 0.7), transparent 14%),
    linear-gradient(90deg, rgba(10, 8, 12, 0.9), rgba(10, 8, 12, 0.55) 46%, rgba(10, 8, 12, 0.05) 78%);
  position: relative;
  flex: 0 1 440px;
  width: 440px;
  max-width: 42vw;
  aspect-ratio: 864 / 289;
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid var(--cod-line-2);
  border-radius: 4px;
  background-color: #0a080c;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 1px rgba(215, 176, 78, 0.15), 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cod-game-tab--casino { background-image: var(--cod-tab-veil), url("/assets/cod/images/tab_casino_bg.jpg"); }
.cod-game-tab--slot { background-image: var(--cod-tab-veil), url("/assets/cod/images/tab_slot_bg.jpg"); }
.cod-game-tab::before { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(217, 166, 38, 0.4); border-radius: 2px; pointer-events: none; }
.cod-game-tab::after { content: ""; position: absolute; left: 6%; bottom: 8%; width: 60%; height: 2px; opacity: 0; background: linear-gradient(90deg, transparent, var(--cod-gold) 18%, var(--cod-gold-2) 50%, var(--cod-gold) 82%, transparent); transform: scaleX(0.4); transform-origin: left center; transition: opacity 0.3s ease, transform 0.35s ease; }
.cod-game-tab.is-active { border-color: var(--cod-gold); box-shadow: inset 0 1px rgba(215, 176, 78, 0.15), 0 0 0 1px rgba(217, 166, 38, 0.35), 0 8px 26px rgba(0, 0, 0, 0.5); }
.cod-game-tab.is-active::after { opacity: 1; box-shadow: 0 0 10px var(--cod-gold); transform: scaleX(1); }
.cod-game-tab:hover { transform: translateY(-2px); border-color: rgba(217, 166, 38, 0.6); }
.cod-game-tab-label { position: absolute; left: 8%; top: 34%; width: 56%; height: 34%; display: flex; align-items: center; justify-content: center; color: var(--cod-gold); font-family: "Cinzel", serif; font-size: 5cqw; font-weight: 700; letter-spacing: 0.12em; text-shadow: 0 0 18px rgba(217, 166, 38, 0.25); }
.cod-game-tabs-mobile { display: none; }

.cod-provider-grid { display: grid; }
.cod-provider-grid--slot { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cod-provider-grid--casino { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 34px 16px; padding-top: 26px; }
.cod-slot-card { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 14px; background: none; transition: transform 0.28s ease, filter 0.25s ease; }
.cod-slot-card:hover { z-index: 3; transform: translateY(-10px) scale(1.04); filter: brightness(1.08); }
.cod-slot-wrap { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; }
.cod-slot-bg { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: url("/assets/cod/images/slot_cards/gamecard_bg_play.webp") center / cover no-repeat; filter: hue-rotate(172deg) saturate(1.3); transition: 0.4s; }
.cod-slot-card:hover .cod-slot-bg { background-image: url("/assets/cod/images/slot_cards/gamecard_bg_01.webp"); animation: cod-spin 4s linear infinite; filter: hue-rotate(-10deg); }
.cod-slot-veil { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.46); }
.cod-slot-fan { position: absolute; left: 50%; top: 46%; z-index: 2; width: 92%; height: 48%; transform: translate(-50%, -50%); }
.cod-slot-thumb { position: absolute; top: 0; width: 44%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.72), 0 0 0 2px rgba(255, 255, 255, 0.16); transition: transform 0.24s ease; }
.cod-slot-thumb-1 { left: 3%; z-index: 1; transform: rotate(-15deg) translateY(7%); }
.cod-slot-thumb-2 { left: 28%; z-index: 3; transform: translateY(-6%); }
.cod-slot-thumb-3 { left: 53%; z-index: 2; transform: rotate(15deg) translateY(7%); }
.cod-slot-card:hover .cod-slot-thumb-1 { transform: rotate(-19deg) translateY(5%); }
.cod-slot-card:hover .cod-slot-thumb-2 { transform: translateY(-13%) scale(1.07); }
.cod-slot-card:hover .cod-slot-thumb-3 { transform: rotate(19deg) translateY(5%); }
.cod-slot-foot { position: absolute; left: 8px; right: 8px; bottom: 14px; z-index: 4; text-align: center; }
.cod-slot-foot span { display: block; color: #fff; font-size: 27px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; text-shadow: 0 2px 12px #000, 0 0 24px rgba(0, 0, 0, 0.85); word-break: keep-all; }
.cod-slot-foot .is-long { font-size: 22px; }
.cod-slot-frame { position: absolute; inset: 0; z-index: 5; background: url("/assets/cod/images/slot_cards/gamecard_stroke.png") center / cover no-repeat; pointer-events: none; }
@keyframes cod-spin { to { transform: rotate(360deg); } }

.cod-live-card { position: relative; display: block; aspect-ratio: 330 / 230; padding: 0; border: 0; background: none; container-type: inline-size; transition: transform 0.28s ease, filter 0.25s ease; }
.cod-live-card:hover { z-index: 3; transform: translateY(-8px); filter: brightness(1.05); }
.cod-live-face { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; background-position: center; background-size: cover; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7), inset 0 2px rgba(255, 255, 255, 0.16), inset 0 -3px 8px rgba(0, 0, 0, 0.5); }
.cod-live-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 54%, rgba(255, 255, 255, 0.1) 68%, transparent 76%); }
.cod-live-hover { position: absolute; inset: 0; border-radius: 14px; background: url("/assets/cod/images/casino_cards/ca_hv_bg.png") center / cover; opacity: 0; transition: opacity 0.35s; }
.cod-live-card:hover .cod-live-hover { opacity: 1; }
.cod-live-model { position: absolute; left: 50%; bottom: 0; z-index: 2; width: 112%; height: 116%; transform: translateX(-50%); pointer-events: none; }
.cod-live-model img { object-fit: contain; object-position: center bottom; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55)); }
.cod-live-logo { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cod-live-logo img { object-fit: contain; }
.cod-live-name { position: absolute; right: 6.7%; bottom: 13%; left: 18%; z-index: 3; color: #fff; font-family: "NotoSansKR", sans-serif; font-size: 8.2cqw; font-weight: 600; line-height: 1.15; text-align: right; text-shadow: 0 2px 4px #000; }
.cod-live-name small { position: absolute; right: 0; bottom: 100%; margin-bottom: 0.3em; font-size: 4cqw; letter-spacing: 0.1em; }

.cod-footer { padding: 32px 20px; border-top: 1px solid var(--cod-line); background: #08070a; color: var(--cod-text-3); text-align: center; }
.cod-footer div { margin-bottom: 10px; color: var(--cod-gold-2); font-family: "Cinzel", serif; font-size: 18px; }
.cod-footer p { margin: 0; font-size: 12px; }
.cod-scroll-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 42px; height: 42px; border: 1px solid var(--cod-line-2); border-radius: 50%; background: rgba(20, 18, 25, 0.9); color: var(--cod-gold-2); font-size: 20px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); }

.cod-offcanvas-backdrop { position: fixed; inset: 0; z-index: 60; border: 0; background: rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.cod-offcanvas-backdrop.is-open { opacity: 1; pointer-events: auto; }
.cod-offcanvas { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: 280px; padding: 24px; border-left: 1px solid var(--cod-line-2); background: var(--cod-bg-2); transform: translateX(100%); transition: transform 0.35s; }
.cod-offcanvas.is-open { transform: translateX(0); }
.cod-offcanvas-close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--cod-text-2); }
.cod-offcanvas > div { margin-top: 48px; }
.cod-offcanvas > div button { width: 100%; display: flex; gap: 12px; padding: 16px 12px; border: 0; border-bottom: 1px solid var(--cod-line); background: none; text-align: left; }

.cod-popup-notices,
.cod-popup-notices *,
.cod-popup-close-all { box-sizing: border-box; }
.cod-popup-notices { position: fixed; top: 50%; left: 50%; z-index: 1090; display: flex; gap: 24px; max-width: 96vw; pointer-events: none; font-family: "Pretendard", "NotoSansKR", sans-serif; transform: translate(-50%, -50%); }
.cod-popup-notice { position: relative; width: 360px; display: flex; flex-direction: column; overflow: hidden; pointer-events: auto; border: 1px solid rgba(227, 196, 119, 0.28); border-radius: 10px; background: transparent; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 22px rgba(219, 181, 85, 0.14); animation: cod-popup-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards; transition: opacity 0.28s ease, transform 0.28s ease; }
.cod-popup-notice.is-closing { opacity: 0; transform: scale(0.96) translateY(8px); }
.cod-popup-notice::before { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(237, 216, 163, 0.55) 25%, rgba(219, 181, 85, 0.85) 50%, rgba(237, 216, 163, 0.55) 75%, transparent 100%); box-shadow: 0 0 10px rgba(219, 181, 85, 0.5); pointer-events: none; }
.cod-popup-image { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: url("/assets/cod/images/popup/frame_hud.jpg") center / cover no-repeat; }
.cod-popup-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.16) 32%, rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.58) 100%); pointer-events: none; }
.cod-popup-image.has-scroll::after { content: ""; position: absolute; left: calc(15% + 2px); right: calc(15% + 2px); bottom: calc(11% + 2px); z-index: 2; height: 48px; background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent); pointer-events: none; }
.cod-popup-content { position: absolute; inset: 11% 15%; z-index: 1; display: flex; flex-direction: column; overflow: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.38) transparent; }
.cod-popup-content-inner { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: auto; }
.cod-popup-title { margin: 0; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.3; text-align: center; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.cod-popup-body { color: rgba(255, 255, 255, 0.92); font-size: 13px; line-height: 1.65; text-align: center; }
.cod-popup-body p { margin: 0 0 16px; }
.cod-popup-body p:last-child { margin-bottom: 0; }
.cod-popup-body img { max-width: 100%; height: auto; }
.cod-popup-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid rgba(227, 196, 119, 0.32); background: linear-gradient(180deg, rgba(18, 16, 22, 0.96) 0%, #09070b 100%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cod-popup-hide-today { display: inline-flex; align-items: center; gap: 8px; color: rgba(245, 241, 232, 0.65); font-size: 12.5px; letter-spacing: 0.02em; cursor: pointer; user-select: none; }
.cod-popup-hide-today input { position: relative; flex-shrink: 0; width: 16px; height: 16px; margin: 0; appearance: none; border: 1px solid rgba(227, 196, 119, 0.5); border-radius: 3px; background: rgba(33, 29, 39, 0.6); cursor: pointer; }
.cod-popup-hide-today input:checked { border-color: rgba(227, 196, 119, 0.85); background: linear-gradient(180deg, rgba(219, 181, 85, 0.6), rgba(218, 181, 87, 0.7)); box-shadow: 0 0 8px rgba(219, 181, 85, 0.4); }
.cod-popup-hide-today input:checked::after { content: ""; position: absolute; top: 1px; left: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cod-popup-close { padding: 7px 16px; line-height: 16px; border: 1px solid rgba(227, 196, 119, 0.35); border-radius: 4px; background: rgba(227, 196, 119, 0.1); color: #edd8a3; font-family: "Cinzel", "Pretendard", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; cursor: pointer; }
.cod-popup-close:hover { border-color: rgba(227, 196, 119, 0.65); background: rgba(227, 196, 119, 0.22); color: #e9e2d4; box-shadow: 0 0 10px rgba(219, 181, 85, 0.3); }
.cod-popup-close-all { position: fixed; top: 8px; left: 8px; z-index: 1091; padding: 8px 16px; border: 1px solid #3d4f73; border-radius: 999px; background: linear-gradient(135deg, #24395f, #16233d); color: #e8edf6; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); font-family: "Pretendard", sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; }
.cod-popup-close-all:hover { filter: brightness(1.12); }
.cod-popup-seq { display: none; }
@keyframes cod-popup-in { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 768px) {
  .cod-popup-notices { width: min(86vw, 320px); max-height: 90vh; flex-direction: column; gap: 0; overflow-y: auto; }
  .cod-popup-notice { width: 100%; display: none; }
  .cod-popup-notice:first-child { display: flex; }
  .cod-popup-seq { display: inline-flex; flex: none; color: #edd8a3; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
}

.cod-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: "Pretendard", "NotoSansKR", sans-serif; }
.cod-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2, 2, 5, 0.82); backdrop-filter: blur(5px); }
.cod-modal-card { position: relative; z-index: 1; width: min(520px, 100%); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(215, 176, 78, 0.26); border-radius: 14px; background: #0f1420; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 40px rgba(217, 166, 38, 0.08); animation: cod-modal-in 0.22s ease-out; }
.cod-modal-card--wide { width: min(900px, 100%); }
.cod-modal-card--page { width: min(1280px, 100%); border-color: rgba(148, 163, 184, 0.28); border-radius: 16px; box-shadow: 0 28px 70px rgba(2, 6, 18, 0.55), 0 3px 10px rgba(2, 6, 18, 0.35); }
.cod-modal-card--page .cod-modal-head { position: relative; padding: 22px 26px 18px; border-bottom: 0; background: linear-gradient(180deg, #1b171f, #0d0b10); }
.cod-modal-card--page .cod-modal-head::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg, transparent, #c9a86a 20%, #ecd9ab 50%, #c9a86a 80%, transparent); }
.cod-modal-card--page .cod-modal-body { padding: 22px 26px 24px; }
@keyframes cod-modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.cod-modal-close { position: absolute; top: 15px; right: 15px; z-index: 2; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--cod-text-2); font-size: 17px; }
.cod-modal-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cod-modal-head { padding: 26px 28px 18px; border-bottom: 1px solid var(--cod-line); }
.cod-modal-eyebrow { margin-bottom: 6px; color: var(--cod-gold-1); font-family: "Cinzel", serif; font-size: 11px; letter-spacing: 0.24em; }
.cod-modal-title { margin: 0; color: var(--cod-text); font-size: 23px; line-height: 1.3; }
.cod-modal-body { padding: 24px 28px 28px; overflow-y: auto; }
.cod-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.cod-modal-hint { margin: 12px 0 0; color: var(--cod-text-3); font-size: 13px; }

.cod-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.cod-field-label { color: var(--cod-text-2); font-size: 13px; font-weight: 600; }
.cod-field-input, .cod-field-select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(215, 176, 78, 0.18); border-radius: 7px; background: rgba(5, 7, 13, 0.72); color: var(--cod-text); }
.cod-field-input::placeholder { color: var(--cod-text-3); }
.cod-field-input[readonly] { opacity: 0.65; cursor: default; }
.cod-field-select option { background: #11151f; }
.cod-textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.cod-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cod-quickbtns { display: flex; flex-wrap: wrap; gap: 7px; margin: -2px 0 18px; }
.cod-quickbtns .cod-btn { min-width: 0; }
.cod-dl { display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; margin: 0; }
.cod-dl dt { color: var(--cod-text-3); }
.cod-dl dd { margin: 0; color: var(--cod-text-1); }
.cod-strong { color: var(--cod-gold-2) !important; font-weight: 700; }
.cod-balance-list { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--cod-line); }
.cod-alert { display: flex; gap: 12px; margin-top: 24px; padding: 15px 16px; border: 1px solid rgba(217, 166, 38, 0.16); border-radius: 8px; background: rgba(217, 166, 38, 0.06); }
.cod-alert-icon { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(217, 166, 38, 0.18); color: var(--cod-gold-2); font-weight: 800; }
.cod-alert-title { color: var(--cod-gold-2); font-weight: 700; }
.cod-alert ul { margin: 8px 0 0; padding-left: 18px; color: var(--cod-text-2); font-size: 13px; line-height: 1.7; }
.cod-inline-link { padding: 0; border: 0; background: none; color: var(--cod-gold-2); text-decoration: underline; }

.cod-table { width: 100%; border-collapse: collapse; text-align: left; }
.cod-table th { padding: 12px 14px; border-bottom: 1px solid var(--cod-line-2); color: var(--cod-text-3); font-size: 12px; font-weight: 600; }
.cod-table td { padding: 14px; border-bottom: 1px solid var(--cod-line); color: var(--cod-text-1); }
.cod-table tbody tr { transition: background 0.15s; }
.cod-table tbody tr:hover { background: rgba(217, 166, 38, 0.04); }
.cod-table-link { padding: 0; border: 0; background: none; text-align: left; }
.cod-record-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; border-bottom: 1px solid var(--cod-line-2); }
.cod-record-tabs button { position: relative; padding: 12px 10px 15px; border: 0; background: none; color: var(--cod-text-3); font-weight: 650; text-align: center; }
.cod-record-tabs button::after { content: ""; position: absolute; right: 18%; bottom: -1px; left: 18%; height: 2px; background: transparent; }
.cod-record-tabs button:hover { color: var(--cod-gold-2); }
.cod-record-tabs button.is-active { color: var(--cod-gold-2); }
.cod-record-tabs button.is-active::after { background: var(--cod-gold-1); box-shadow: 0 0 8px rgba(215, 176, 78, 0.5); }
.cod-record-toolbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.cod-record-table { overflow-x: auto; }
.cod-record-table .cod-table { min-width: 620px; }
.cod-record-table .cod-table th { color: var(--cod-gold-2); background: rgba(217, 166, 38, 0.07); }
.cod-record-empty { height: 110px; vertical-align: middle; }
.cod-col-num { width: 70px; text-align: center; }
.cod-col-date { width: 130px; }
.cod-empty { padding: 30px 12px !important; color: var(--cod-text-3) !important; text-align: center; }
.cod-toolbar { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cod-meta { color: var(--cod-text-3); }
.cod-meta b { color: var(--cod-text-1); }
.cod-detail-head { padding: 4px 0 20px; border-bottom: 1px solid var(--cod-line); }
.cod-detail-head span { color: var(--cod-text-3); font-size: 13px; }
.cod-detail-head h3 { margin: 8px 0 0; font-size: 18px; line-height: 1.4; }
.cod-detail-body { color: var(--cod-text-1); font-size: 15px; line-height: 1.8; }

.cod-faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cod-faq-cats button { padding: 8px 15px; border: 1px solid var(--cod-line); border-radius: 20px; background: rgba(255, 255, 255, 0.03); color: var(--cod-text-2); }
.cod-faq-cats button.is-active { border-color: var(--cod-gold); background: rgba(217, 166, 38, 0.15); color: var(--cod-gold-2); }
.cod-accordion { border-top: 1px solid var(--cod-line); }
.cod-accordion-item { border-bottom: 1px solid var(--cod-line); }
.cod-accordion-item > button { width: 100%; display: flex; justify-content: space-between; gap: 16px; padding: 17px 8px; border: 0; background: none; color: var(--cod-text-1); text-align: left; }
.cod-accordion-item > p { margin: 0; padding: 0 12px 18px; color: var(--cod-text-2); line-height: 1.75; }
.cod-accordion-item.is-open > button { color: var(--cod-gold-2); }

.cod-m-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cod-m-card, .cod-m-section { padding: 20px; border: 1px solid var(--cod-line); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.cod-m-card h3, .cod-m-section h3 { margin: 0 0 18px; color: var(--cod-text); font-size: 16px; }
.cod-m-section { margin-top: 16px; }
.cod-m-section-head { display: flex; align-items: center; justify-content: space-between; }
.cod-vip { color: var(--cod-gold-2); font-size: 12px; }
.cod-password-row { display: flex; gap: 10px; }
.cod-check { display: flex; align-items: center; gap: 8px; color: var(--cod-text-1); }
.cod-check input { accent-color: var(--cod-gold); }
.cod-panel-note { margin: 12px 0 0; color: var(--cod-text-3); font-size: 12px; line-height: 1.6; }
.cod-type-in { color: #4ade80; }
.cod-type-out { color: #f87171; }
.cod-amount-in { color: #4ade80; font-weight: 700; }
.cod-amount-out { color: #f87171; font-weight: 700; }
.cod-gold { color: var(--cod-gold-2); font-weight: 700; }

.cod-game-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 18px 20px; border: 1px solid rgba(164, 142, 86, 0.28); border-radius: 10px; background: linear-gradient(180deg, rgba(33, 29, 39, 0.78), rgba(22, 18, 26, 0.88)); }
.cod-game-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.cod-game-filters button { padding: 8px 16px; border: 1px solid rgba(164, 142, 86, 0.3); border-radius: 10px; background: transparent; color: var(--cod-text-2); font-family: "Cinzel", "Pretendard", sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.05em; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.cod-game-filters button:hover { border-color: rgba(227, 196, 119, 0.55); color: #edd8a3; }
.cod-game-filters button.is-active { border-color: rgba(227, 196, 119, 0.7); background: linear-gradient(180deg, rgba(219, 181, 85, 0.32), rgba(218, 181, 87, 0.42)); color: #fff; font-weight: 700; text-shadow: 0 0 8px rgba(219, 181, 85, 0.5); }
.cod-game-search { display: flex; align-items: center; gap: 8px; }
.cod-game-search .cod-field-input { min-width: 220px; min-height: 0; padding: 9px 14px; border-color: rgba(227, 196, 119, 0.2); background: rgba(15, 13, 18, 0.7); font-size: 14px; }
.cod-game-search .cod-field-input:focus { border-color: rgba(219, 181, 85, 0.55); outline: 0; background: rgba(22, 18, 26, 0.85); box-shadow: 0 0 0 3px rgba(219, 181, 85, 0.12), 0 0 16px rgba(219, 181, 85, 0.2); }
.cod-game-view { padding: 8px 14px; border: 1px solid rgba(164, 142, 86, 0.3); border-radius: 8px; background: transparent; color: var(--cod-text-2); font-family: "Cinzel", "Pretendard", sans-serif; font-size: 13px; letter-spacing: 0.04em; white-space: nowrap; }
.cod-game-view:hover { border-color: rgba(227, 196, 119, 0.6); color: var(--cod-text); }
.cod-game-view[aria-pressed="true"] { border-color: rgba(227, 196, 119, 0.6); background: rgba(227, 196, 119, 0.12); color: #edd8a3; }
.cod-selection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; }
.cod-selection-grid.is-large { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.cod-game-card { position: relative; }
.cod-game-launch { width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; background: none; color: var(--cod-text-1); font-size: 14px; }
.cod-game-thumb { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(164, 142, 86, 0.28); border-radius: 10px; background: linear-gradient(135deg, rgba(33, 29, 39, 0.92), rgba(22, 18, 26, 0.96) 60%, #09070b); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.cod-game-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.cod-game-launch:hover .cod-game-thumb { border-color: rgba(227, 196, 119, 0.6); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 22px rgba(219, 181, 85, 0.22); }
.cod-game-launch:hover .cod-game-thumb img { transform: scale(1.05); }
.cod-game-fav { position: absolute; top: 6px; right: 6px; z-index: 2; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.58); color: #fff; font-size: 18px; }
.cod-game-fav.is-active { color: #ff4d6d; }
.cod-live-preview { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 30px; }
.cod-live-preview .cod-live-card { width: min(330px, 100%); }
.cod-live-preview p { margin: 0; color: var(--cod-text-3); }
.cod-toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; max-width: calc(100vw - 32px); padding: 13px 20px; border: 1px solid var(--cod-line-2); border-radius: 8px; background: rgba(20, 18, 25, 0.97); color: var(--cod-text); box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55); transform: translateX(-50%); }

@media (max-width: 1250px) {
  .cod-userbar-info { gap: 7px; font-size: 12px; }
  .cod-userbar-actions .cod-btn { min-width: 0; padding-inline: 10px; }
  .cod-midbar-item { min-width: 130px; font-size: 16px; }
  .cod-selection-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .cod-midbar-nav { display: none; }
  .cod-midbar-toggle { display: flex; margin: 0 auto; }
  .cod-hero-content { padding-left: 5%; }
  .cod-hero-slide { left: 5%; }
}
@media (max-width: 900px) {
  .cod-game-toolbar { flex-direction: column; align-items: stretch; }
  .cod-game-search .cod-field-input { min-width: 0; flex: 1; }
  .cod-selection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .cod-site { padding-top: 0; }
  .cod-hero { min-height: auto; padding: 8px 16px; border-bottom: 1px solid var(--cod-line-2); background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(219, 181, 85, 0.08), transparent 70%), linear-gradient(180deg, #141119, #0a090c); }
  .cod-hero-bg, .cod-hero-content, .cod-hero-brand-desktop { display: none; }
  .cod-hero-brand-mobile { display: block; background: linear-gradient(135deg, #fff4a8, #d9a626, #9c7018); background-clip: text; color: transparent; font-family: "Cinzel", serif; font-size: 30px; letter-spacing: 0.1em; line-height: 1.2; }
  .cod-userbar { position: relative; height: auto; }
  .cod-userbar-inner { padding: 8px 12px; }
  .cod-userbar-user { width: 100%; flex-direction: column; gap: 8px; font-size: 13px; }
  .cod-userbar-actions { flex-wrap: wrap; justify-content: center; gap: 4px; }
  .cod-userbar-actions .cod-btn { min-width: 100px; padding: 6px 10px; font-size: 12px; }
  .cod-userbar-auth .cod-btn { min-width: 130px; }
  .cod-game-tabs-desktop { display: none; }
  .cod-game-tabs-mobile { display: flex; gap: 8px; padding: 14px 0 38px; }
  .cod-game-tabs-mobile button { padding: 11px 22px; border: 1px solid var(--cod-line-2); border-radius: 5px; background: rgba(20, 18, 25, 0.8); color: var(--cod-text-2); font-size: 13px; font-weight: 700; }
  .cod-game-tabs-mobile button.is-active { border-color: var(--cod-gold-1); color: var(--cod-text); box-shadow: inset 0 0 15px rgba(217, 166, 38, 0.08); }
  .cod-slot-foot { bottom: 10px; }
  .cod-slot-foot span { font-size: 20px; }
  .cod-slot-foot .is-long { font-size: 16px; }
  .cod-m-cards { grid-template-columns: 1fr; }
  .cod-modal { padding: 16px; }
  .cod-modal-head { padding: 22px 20px 16px; }
  .cod-modal-body { padding: 18px 20px 22px; }
}
@media (max-width: 600px) {
  .cod-selection-grid, .cod-selection-grid.is-large { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .cod-game-filters { justify-content: center; }
  .cod-game-search { flex-wrap: wrap; }
  .cod-game-search .cod-field-input { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .cod-midbar { height: 56px; }
  .cod-gamesec-inner { padding: 0 12px; }
  .cod-provider-grid--slot, .cod-provider-grid--casino { gap: 14px; }
  .cod-field-row { grid-template-columns: 1fr; gap: 0; }
  .cod-modal { padding: 10px; }
  .cod-modal-card { max-height: 94vh; }
  .cod-col-num { width: 48px; }
  .cod-col-date { width: 96px; }
  .cod-table th, .cod-table td { padding: 11px 8px; font-size: 12px; }
  .cod-dl { grid-template-columns: 90px 1fr; }
  .cod-live-preview { padding: 12px 0; }
}

.cod-body { margin: 0; background: #07060a; }
.cod-body.modal-open { overflow: hidden !important; }
.cod-hero-brand-desktop, .cod-btn, .cod-footer a { text-decoration: none; }
.cod-game-loading { min-height: 240px; display: grid; place-items: center; color: var(--cod-gold-1); }
.cod-casino-provider-img { width: 100%; height: 100%; object-fit: cover; }
.cod-game-modal-site { min-height: 100vh; padding-top: 0; overflow: visible; }
.cod-subgame-head { position: relative; padding: 22px 26px 18px; background: linear-gradient(180deg, #1b171f, #0d0b10); }
.cod-subgame-head::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg, transparent, #c9a86a 20%, #ecd9ab 50%, #c9a86a 80%, transparent); }
.cod-subgame-content { padding: 22px 26px 30px; }
.cod-game-title-en { min-height: 1.4em; overflow: hidden; color: var(--cod-text-3); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.cod-game-card[hidden], .cod-game-card[style*="display: none"] { display: none !important; }

.cod-submodal-body {
  margin: 0;
  padding: 0 !important;
  overflow-y: auto !important;
  background: #09080c !important;
  color: #f5f1e8;
  font-family: "Pretendard", "NotoSansKR", sans-serif;
}
.subModal {
  --cod-bg-0: #07060a;
  --cod-bg-1: #0d0c12;
  --cod-bg-2: #141219;
  --cod-gold: #d9a626;
  --cod-gold-1: #d7b04e;
  --cod-gold-2: #d6bf85;
  --cod-text: #f5f1e8;
  --cod-text-1: rgba(245, 241, 232, 0.88);
  --cod-text-2: rgba(245, 241, 232, 0.65);
  --cod-text-3: rgba(245, 241, 232, 0.52);
  --cod-line: rgba(215, 176, 78, 0.14);
  --cod-line-2: rgba(215, 176, 78, 0.26);
  min-height: 100vh;
  height: auto;
  background: #09080c;
  color: var(--cod-text);
  font-family: "Pretendard", "NotoSansKR", sans-serif;
}
.subModal *, .subModal *::before, .subModal *::after { box-sizing: border-box; }
.subModal button, .subModal input, .subModal select, .subModal textarea { font-family: inherit; }
.subModal .modal-head { padding: 0; border: 0; background: linear-gradient(180deg, #17141c, #0d0b10); }
.subModal .modal-head::before, .subModal .section-header::after { display: none; }
.subModal .modal-head .container-fluid, .subModal .modal-body .container-fluid { padding: 0; }
.subModal .modal-head .row, .subModal .modal-body .row { margin-right: 0; margin-left: 0; }
.subModal .modal-head ul.modal-menu {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0 48px 0 0;
  border-bottom: 1px solid var(--cod-line-2);
  background: transparent;
  list-style: none;
}
.subModal .modal-head ul.modal-menu li { height: auto; margin: 0; }
.subModal .modal-head ul.modal-menu li a {
  position: relative;
  min-height: 58px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cod-text-3);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
}
.subModal .modal-head ul.modal-menu li a:hover,
.subModal .modal-head ul.modal-menu li a.active { background: rgba(217, 166, 38, 0.06); color: var(--cod-gold-2); }
.subModal .modal-head ul.modal-menu li a::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  width: auto;
  height: 2px;
  opacity: 0;
  background: var(--cod-gold-1);
}
.subModal .modal-head ul.modal-menu li a.active::after { opacity: 1; box-shadow: 0 0 8px rgba(215, 176, 78, 0.5); }
.subModal .modal-head .subpg-nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #121016;
}
.subModal .modal-head .subpg-nav > a {
  width: auto;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 6px;
  border: 0;
  border-right: 1px solid var(--cod-line);
  border-radius: 0;
  background: transparent;
  color: var(--cod-text-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.subModal .modal-head .subpg-nav > a:last-child { border-right: 0; }
.subModal .modal-head .subpg-nav > a:hover { background: rgba(217, 166, 38, 0.08); color: var(--cod-gold-2); }
.subModal .modal-head .subpg-nav > a.active { background: rgba(217, 166, 38, 0.14); color: var(--cod-gold-2); box-shadow: inset 0 -2px var(--cod-gold-1); }
.subModal .modal-body { height: auto; padding: 0; overflow: visible; background: #09080c; color: var(--cod-text-1); }
.subModal .modal-body .modal-content { border: 0; border-radius: 0; background: transparent; color: var(--cod-text-1); box-shadow: none; }
.subModal .modal-body .section-header {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px 22px;
  border: 0;
  border-bottom: 1px solid var(--cod-line);
  background: linear-gradient(90deg, transparent, rgba(217, 166, 38, 0.07), transparent);
}
.subModal .modal-body .section-header .title { display: inline-block; margin: 0; padding: 0 15px; color: var(--cod-text); font-size: 22px; font-weight: 700; }
.subModal .modal-body .section-header .title::after { display: none; }
.subModal .form-container .delete-btn { border: 1px solid rgba(227, 196, 119, 0.4) !important; background: rgba(218, 181, 87, 0.12) !important; color: #edd8a3 !important; }
.subModal .form-container .btn.btn-orange { border: 1px solid rgba(217, 166, 38, 0.55) !important; background: linear-gradient(180deg, #8e2d3e, #521922) !important; color: #fff1d0 !important; }
.subModal .form-container .delete-btn:hover { background: rgba(218, 181, 87, 0.24) !important; color: #fff1d0 !important; }
.subModal .form-section { margin: 0; }
.subModal .modal-body .col-md-12 { padding-right: 0; padding-left: 0; }
.subModal .modal-body .form-container { width: 100%; max-width: none; margin: 0; padding: 22px 26px 30px; overflow-x: auto; border: 0; background: transparent; }
.subModal .form-container .form-group { margin-bottom: 20px; }
.subModal .form-container .labels { float: none; margin: 0 0 8px; padding: 0; color: var(--cod-text-2); font-size: 13px; font-weight: 600; }
.subModal .form-container .labels::before { display: none; }
.subModal .form-container .infos { width: 100%; float: none; }
.subModal .form-container .form-group .input-container {
  width: 100%;
  height: 46px;
  float: none;
  border: 1px solid rgba(215, 176, 78, 0.22);
  border-radius: 7px;
  background: #0d0c11;
}
.subModal .form-container .form-group .input-container.description { height: auto !important; min-height: 74px; padding: 12px 0; }
.subModal .form-container .form-group input,
.subModal input:not([type="checkbox"]):not([type="radio"]),
.subModal select,
.subModal textarea {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(215, 176, 78, 0.2);
  border-radius: 6px;
  background: #0d0c11;
  color: var(--cod-text);
}
.subModal .form-container .form-group input { height: 100%; border: 0; background: transparent !important; }
.subModal .form-container .form-group input:read-only { color: var(--cod-gold-2); }
.subModal input:focus, .subModal select:focus, .subModal textarea:focus { border-color: var(--cod-gold-1); outline: 0; box-shadow: 0 0 0 3px rgba(217, 166, 38, 0.1); }
.subModal input::placeholder, .subModal textarea::placeholder { color: var(--cod-text-3); }
.subModal .form-container .form-group .infos .btn-grp { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; float: none; }
.subModal .form-container .form-group .infos .btn-grp div { width: auto; padding: 0; }
.subModal .form-container .form-group .infos .btn-grp div button,
.subModal .form-footer button,
.subModal .btn,
.subModal .btn-blue,
.subModal .btn-bora,
.subModal .btn-gold,
.subModal .delete-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid rgba(227, 196, 119, 0.4);
  border-radius: 6px;
  background: rgba(218, 181, 87, 0.12);
  color: #edd8a3;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.subModal .form-container .form-group .infos .btn-grp div button { width: 100%; float: none; }
.subModal .form-container .form-group .infos .btn-grp div button:hover,
.subModal .form-footer button:hover,
.subModal .btn:hover,
.subModal .delete-btn:hover { border-color: rgba(227, 196, 119, 0.65); background: rgba(218, 181, 87, 0.24); color: #fff1d0; }
.subModal .form-container .form-group .infos .btn-grp div button.btn-orange,
.subModal .form-footer button.btn-blue { border-color: rgba(217, 166, 38, 0.55); background: linear-gradient(180deg, #8e2d3e, #521922); color: #fff1d0; }
.subModal .form-container .btn.btn-blue,
.subModal .form-container .btn.btn-bora,
.subModal .form-footer button.btn-bora { border: 1px solid rgba(227, 196, 119, 0.4) !important; background: rgba(218, 181, 87, 0.12) !important; color: #edd8a3 !important; }
.subModal .form-container .btn.btn-blue:hover,
.subModal .form-container .btn.btn-bora:hover,
.subModal .form-footer button.btn-bora:hover { background: rgba(218, 181, 87, 0.24) !important; color: #fff1d0 !important; }
.subModal .form-footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.subModal .form-footer.center { justify-content: center; }
.subModal .description { color: var(--cod-text-2); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.subModal .modal-body .form-container table.bs-table { width: 100%; min-width: 600px; margin: 0; border-collapse: collapse; border-spacing: 0; background: transparent; color: var(--cod-text-1); text-align: left; }
.subModal .modal-body .form-container table.bs-table thead { background: rgba(217, 166, 38, 0.07); }
.subModal .modal-body .form-container table.bs-table thead th { height: auto; padding: 13px 15px; border: 0; border-bottom: 1px solid var(--cod-line-2); border-radius: 0; background: transparent; color: var(--cod-gold-2); font-size: 12px; font-weight: 600; letter-spacing: 0; text-align: left; }
.subModal .modal-body .form-container table.bs-table tbody tr { background: transparent; }
.subModal .modal-body .form-container table.bs-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.015); }
.subModal .modal-body .form-container table.bs-table tbody tr:hover { background: rgba(217, 166, 38, 0.035); }
.subModal .modal-body .form-container table.bs-table tbody td { max-width: none; height: auto; padding: 15px; border: 0; border-bottom: 1px solid var(--cod-line); border-radius: 0; background: transparent; color: var(--cod-text-1); font-size: 13px; text-align: left; word-break: normal; }
.subModal .modal-body .form-container table.bs-table tbody td:only-child[colspan] { padding: 44px 16px; color: var(--cod-text-3); text-align: center; }
.subModal .badge { padding: 5px 9px; border-radius: 4px; font-size: 11px; }
.subModal .bg-success { background: #166534 !important; }
.subModal .bg-danger { background: #8e2d3e !important; }
.subModal .bg-info, .subModal .bg-primary { background: #66501d !important; }
.subModal .bg-secondary { background: #4b4654 !important; }
.subModal .text-orange-d, .subModal .text-blue-d, .subModal .text-yellow { color: var(--cod-gold-2) !important; }
.subModal .text-red-d { color: #f3a1af !important; }
.subModal .text-black { color: var(--cod-text-1) !important; }
.subModal .card { overflow: hidden; border: 1px solid var(--cod-line-2); border-radius: 9px; background: #111016; color: var(--cod-text-1); }
.subModal .card-header { padding: 17px 20px; border-bottom: 1px solid var(--cod-line); background: rgba(217, 166, 38, 0.08); color: var(--cod-text); }
.subModal .card .card-body { padding: 22px 20px; background: #111016 !important; color: var(--cod-text-1) !important; line-height: 1.75; }
.subModal .myTextArea1 { width: 100%; min-height: 220px; padding: 0 !important; border: 0; background: transparent !important; color: var(--cod-text-1) !important; }
.subModal .ck-content { color: var(--cod-text-1); overflow-wrap: anywhere; }
.subModal .ck-content img { max-width: 100%; height: auto; }
.subModal ul.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 22px 0 0; padding: 0; }
.subModal ul.pagination li { margin: 0; }
.subModal ul.pagination li a,
.subModal .page-link { min-width: 34px; min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 7px 10px; border: 1px solid var(--cod-line-2); border-radius: 4px; background: #141219; color: var(--cod-text-2); text-decoration: none; }
.subModal ul.pagination li a.active,
.subModal ul.pagination li a:hover,
.subModal .active .page-link,
.subModal .page-link:hover { background: rgba(217, 166, 38, 0.18); color: var(--cod-gold-2); }

body.modal-open { margin: 0 !important; padding-right: 0 !important; overflow-y: auto !important; }
body.cod-body.modal-open { overflow: hidden !important; }
body[style*="background-color"] { background: #07060a !important; }
.modalFrame .modal-content { overflow: hidden; border: 1px solid rgba(215, 176, 78, 0.35); border-radius: 12px; background: #0f1420; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7); }
.modalFrame .modal-backdrop, .modal-backdrop.show { opacity: 0.82; }
#subModal .modal-dialog { max-width: 1100px; }
#subModal .modal-content iframe, #game2Modal .modal-content iframe { min-height: min(760px, calc(100vh - 70px)); background: #0f1420; }
#svg-close { filter: grayscale(100%) sepia(100%) saturate(500%); }

@media (max-width: 768px) {
  .cod-subgame-head { padding: 20px; }
  .cod-subgame-content { padding: 18px 16px 24px; }
  .subModal .modal-head ul.modal-menu { padding-right: 40px; }
  .subModal .modal-head ul.modal-menu li a { min-height: 50px; padding: 10px 3px; font-size: 12px; }
  .subModal .modal-head .subpg-nav > a { font-size: 12px; }
  .subModal .modal-body .form-container { padding: 16px 12px 24px; }
  .subModal .modal-body .section-header .title { font-size: 19px; }
  .subModal .form-footer { flex-wrap: wrap; }
  .subModal .form-container .form-group .infos .btn-grp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#loginModal {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: none;
  font-family: "Pretendard", "NotoSansKR", sans-serif;
  color: rgba(245, 241, 232, 0.88);
}
#loginModal.is-open { display: flex !important; pointer-events: auto; }
#loginModal, #loginModal * {
  font-family: "Pretendard", "NotoSansKR", sans-serif;
  line-height: normal;
}
#loginModal .modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: auto;
  display: block;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.25s ease;
}
#loginModal.show .modal-backdrop { opacity: 1; }
#loginModal .modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  background: #0f1420;
  box-shadow: 0 28px 70px rgba(2, 6, 18, 0.55), 0 3px 10px rgba(2, 6, 18, 0.35);
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: all 0.25s ease;
}
#loginModal.show .modal-card { opacity: 1; transform: translateY(0) scale(1); }
#loginModal .modal-head {
  position: relative;
  flex: none;
  padding: 22px 26px 18px;
  border: 0;
  background: linear-gradient(135deg, #182842 0%, #101b31 55%, #0c1526 100%);
}
#loginModal .modal-head::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 168, 106, 0) 0%, #c9a86a 20%, #ecd9ab 50%, #c9a86a 80%, rgba(201, 168, 106, 0) 100%);
}
#loginModal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 26px 24px;
  background: transparent;
}
#loginModal .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #9aa4bb;
  font-size: 13px;
  line-height: normal;
  transition: all 0.2s ease;
}
#loginModal .modal-close:hover { background: rgba(255, 255, 255, 0.16); color: #f2f6fc; }
#loginModal .modal-eyebrow {
  margin-bottom: 6px;
  color: #c9a86a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
#loginModal .modal-title {
  margin: 0;
  color: #f2f6fc;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
#loginModal .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
#loginModal .field-label { color: rgba(218, 215, 210, 0.95); font-size: 15px; font-weight: 700; letter-spacing: 0.03em; }
#loginModal .field-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.7);
  color: #f5f1e8;
  font-family: "Pretendard", "NotoSansKR", sans-serif;
  font-size: 16px;
  line-height: normal;
  transition: border-color 0.2s ease;
}
#loginModal .field-input::placeholder { color: rgba(159, 166, 188, 0.5); }
#loginModal .field-input:focus {
  border-color: rgba(148, 163, 184, 0.55);
  outline: none;
  background: rgba(15, 20, 32, 0.85);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12), 0 0 16px rgba(148, 163, 184, 0.2);
}
#loginModal .modal-actions { display: flex; gap: 10px; margin-top: 10px; }
#loginModal .modal-actions--bar {
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
#loginModal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 6px;
  font-family: "Pretendard", "NotoSansKR", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all 0.2s ease;
}
#loginModal .btn-primary {
  border: 1px solid rgba(188, 52, 74, 0.32);
  background: linear-gradient(180deg, #7e3440 0%, #521922 22%, #3a141a 48%, #270d11 70%, #100e13 90%, #3a141a 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
  box-shadow: 0 6px 18px rgba(19, 16, 24, 0.6), inset 0 1px 0 rgba(229, 221, 205, 0.22), inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}
#loginModal .btn-primary:hover {
  border-color: rgba(188, 52, 74, 0.5);
  background: linear-gradient(180deg, #963f4e 0%, #7e3440 22%, #521922 48%, #3a141a 70%, #270d11 90%, #7e3440 100%);
  box-shadow: 0 9px 24px rgba(126, 52, 64, 0.55), inset 0 1px 0 rgba(229, 221, 205, 0.32);
  filter: brightness(1.08);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  #loginModal .modal-card { max-width: calc(100% - 32px); }
}

/* Local design for the framed screens: outer dialog, subModal pages, game list, point transfer. */
.modalFrame .modal-content { border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 16px; background: #0f1420; box-shadow: 0 28px 70px rgba(2, 6, 18, 0.55), 0 3px 10px rgba(2, 6, 18, 0.35); }
.modal-backdrop.show { backdrop-filter: blur(6px); }
#subModal .modal-dialog { max-width: 730px; }
.modalFrame#game2Modal .modal-dialog { max-width: 1290px; }
.modalFrame #svg-close { top: 14px; right: 14px; width: 30px; height: 30px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); filter: grayscale(100%) brightness(1.6); }
.modalFrame #svg-close:hover { background: rgba(255, 255, 255, 0.16); filter: grayscale(100%) brightness(2); }

.cod-submodal-body { background: #0f1420 !important; }
.subModal { background: #0f1420; }
.subModal .modal-head { display: none; }
.subModal .modal-body { background: #0f1420; }
.subModal .modal-body .section-header { display: block !important; }
.subModal .modal-body .section-header,
#codPointModal .cod-modal-head,
.cod-subgame-head { position: relative; display: block; height: auto; min-height: 0; margin: 0; padding: 22px 26px 18px; border: 0; background: linear-gradient(135deg, #182842 0%, #101b31 55%, #0c1526 100%); text-align: left; }
.subModal .modal-body .section-header::after,
#codPointModal .cod-modal-head::after,
.cod-subgame-head::after { content: ""; position: absolute; top: auto; right: 0; bottom: 0; left: 0; display: block; width: auto; height: 2px; margin: 0; transform: none; background: linear-gradient(90deg, rgba(201, 168, 106, 0), #c9a86a 20%, #ecd9ab 50%, #c9a86a 80%, rgba(201, 168, 106, 0)); }
.subModal .modal-body .section-header::before,
#codPointModal .cod-modal-eyebrow,
.cod-subgame-head .cod-modal-eyebrow { display: block; margin-bottom: 6px; color: #c9a86a; font-family: "Pretendard", "NotoSansKR", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.34em; }
.subModal input[data-modal-menu="notice"] ~ .modal-body .section-header::before { content: "ANNOUNCEMENT"; }
.subModal input[data-modal-menu="message"] ~ .modal-body .section-header::before { content: "MESSAGE"; }
.subModal input[data-modal-menu="coupon"] ~ .modal-body .section-header::before { content: "COUPON"; }
.subModal input[data-modal-menu="betting"] ~ .modal-body .section-header::before { content: "BETTING HISTORY"; }
.subModal .modal-body .section-header .title,
#codPointModal .cod-modal-title,
.cod-subgame-head .cod-modal-title { display: block; margin: 0; padding: 0; color: #f2f6fc; font-family: "Pretendard", "NotoSansKR", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.2px; line-height: normal; }
.subModal input[data-modal-menu="message"] ~ .modal-body .section-header .title,
.subModal input[data-modal-menu="coupon"] ~ .modal-body .section-header .title { font-size: 0; }
.subModal input[data-modal-menu="message"] ~ .modal-body .section-header .title::after,
.subModal input[data-modal-menu="coupon"] ~ .modal-body .section-header .title::after { position: static; display: inline; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; transform: none; color: #f2f6fc; font-size: 19px; font-weight: 700; letter-spacing: -0.2px; line-height: normal; }
.subModal input[data-modal-menu="message"] ~ .modal-body .section-header .title::after { content: "쪽지함"; }
.subModal input[data-modal-menu="coupon"] ~ .modal-body .section-header .title::after { content: "쿠폰내역"; }
.subModal .modal-body .form-container { padding: 22px 26px 24px; }
.subModal .modal-body .form-container table.bs-table thead { background: transparent; }
.subModal .modal-body .form-container table.bs-table thead th { padding: 13px 12px; border-bottom: 1px solid rgba(227, 196, 119, 0.32); color: rgba(231, 224, 208, 0.85); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.subModal .modal-body .form-container table.bs-table tbody tr,
.subModal .modal-body .form-container table.bs-table tbody tr:nth-child(even),
.subModal .modal-body .form-container table.bs-table tbody tr:hover { background: transparent; }
.subModal .modal-body .form-container table.bs-table tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
.subModal .modal-body .form-container table.bs-table tbody td { padding: 15px 12px; border-bottom: 1px solid rgba(227, 196, 119, 0.12); color: rgba(246, 246, 244, 0.92); font-size: 16px; text-align: start; }
.subModal .modal-body .form-container table.bs-table tbody td:only-child[colspan] { padding: 24px; color: rgba(245, 241, 232, 0.4); text-align: center; }
.subModal .form-container .btn.btn-sm,
.subModal .form-container .btn.btn-blue,
.subModal .form-container .btn.btn-orange,
.subModal .form-container .delete-btn { padding: 7px 14px; border: 1px solid rgba(215, 176, 78, 0.1) !important; border-radius: 6px; background: rgba(255, 255, 255, 0.06) !important; color: rgba(218, 215, 210, 0.75) !important; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.subModal .form-container .btn.btn-sm:hover,
.subModal .form-container .btn.btn-blue:hover,
.subModal .form-container .btn.btn-orange:hover,
.subModal .form-container .delete-btn:hover { background: rgba(255, 255, 255, 0.12) !important; color: #f5f1e8 !important; }
.subModal .badge { padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.subModal .form-container .row.justify-content-end { gap: 8px; }

.cod-subgame-content { padding: 22px 26px 24px; }
.cod-game-filters button { color: rgba(245, 241, 232, 0.65); font-family: "Cinzel", "Oswald", "Pretendard", sans-serif; }
.cod-site .cod-game-view { color: rgba(245, 241, 232, 0.65); font-family: "Cinzel", "Oswald", "Pretendard", sans-serif; font-size: 13px; }
.cod-site .cod-game-view:hover { color: var(--cod-text); }
.cod-site .cod-game-view[aria-pressed="true"] { color: #edd8a3; }
.cod-site .cod-game-search .cod-btn-primary { font-size: 13px; }
.cod-game-search .cod-field-input { border-radius: 6px; color: #f5f1e8; }
.cod-game-search .cod-btn-primary,
#codPointModal .cod-point-confirm { border: 1px solid rgba(188, 52, 74, 0.32); border-radius: 6px; background: linear-gradient(180deg, #7e3440 0%, #521922 22%, #3a141a 48%, #270d11 70%, #100e13 90%, #3a141a 100%); color: #fff; font-weight: 700; letter-spacing: 0.04em; }
.cod-selection-grid, .cod-selection-grid.is-large { gap: 12px; }

#codPointModal { z-index: 8000; }
#codPointModal[hidden] { display: none; }
#codPointModal .cod-modal-card { width: min(440px, 100%); border-color: rgba(148, 163, 184, 0.28); border-radius: 16px; box-shadow: 0 28px 70px rgba(2, 6, 18, 0.55), 0 3px 10px rgba(2, 6, 18, 0.35); }
#codPointModal .cod-modal-close { top: 14px; right: 14px; width: 30px; height: 30px; font-size: 13px; }
#codPointModal .cod-modal-body { padding: 22px 26px 24px; }
.cod-point-dl { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid rgba(227, 196, 119, 0.18); }
.cod-point-dl dt, .cod-point-dl dd { margin: 0; padding: 13px 8px; border-bottom: 1px solid rgba(227, 196, 119, 0.12); font-size: 16px; }
.cod-point-dl dt { padding-right: 20px; color: rgba(231, 224, 208, 0.75); font-weight: 600; white-space: nowrap; }
.cod-point-dl dd { color: #fff; }
.cod-point-dl dd.strong { color: #edd8a3; font-weight: 700; text-shadow: 0 0 6px rgba(219, 181, 85, 0.3); }
.cod-point-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.cod-point-cancel, .cod-point-confirm { height: 40px; padding: 0 20px; font-size: 14px; font-weight: 700; }
.cod-point-cancel { border: 1px solid rgba(215, 176, 78, 0.1); border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: rgba(218, 215, 210, 0.75); letter-spacing: 0.04em; }
.cod-point-confirm { flex: 1; }
.cod-point-alert { display: flex; gap: 14px; margin-top: 22px; padding: 18px 20px; border: 1px solid rgba(210, 163, 46, 0.22); border-left: 2px solid rgba(210, 163, 46, 0.6); border-radius: 6px; background: radial-gradient(ellipse 80% 100% at 0% 0%, rgba(210, 163, 46, 0.06) 0%, transparent 70%), linear-gradient(180deg, rgba(27, 23, 31, 0.65) 0%, rgba(18, 16, 22, 0.78) 100%); }
.cod-point-alert-icon { flex-shrink: 0; background: linear-gradient(180deg, #d2a32e 0%, #b45309 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 12px rgba(210, 163, 46, 0.4); color: #1c0e02; font-size: 22px; line-height: 1.3; }
.cod-point-alert-title { display: block; margin-bottom: 8px; color: #fbbf24; font-size: 16px; font-weight: 700; text-shadow: 0 0 6px rgba(210, 163, 46, 0.3); }
.cod-point-alert ul { margin: 0; padding-left: 18px; color: rgba(218, 215, 210, 0.85); }
.cod-point-alert li { margin: 5px 0; font-size: 14px; line-height: 1.6; list-style: disc; }

/* Detail pages (notice / message view): back button, date + title, divider, body. */
.subModal .cod-view-toolbar { justify-content: flex-start !important; margin-bottom: 16px !important; }
.subModal .cod-view-hint { display: none; }
.subModal .card.cod-view { overflow: visible; border: 0; border-radius: 0; background: transparent; }
.subModal .card.cod-view .card-header { display: flex; flex-direction: column; padding: 4px 0 20px; border-bottom: 1px solid rgba(215, 176, 78, 0.1); background: transparent; color: #f5f1e8; font-size: 18px; font-weight: 700; line-height: 1.4; }
.subModal .card.cod-view--message .card-header { border-bottom-color: rgba(96, 165, 250, 0.18); }
.subModal .card.cod-view .card-header .cod-view-date { order: -1; margin-bottom: 8px; color: rgba(245, 241, 232, 0.4); font-size: 13px; font-weight: 400; line-height: normal; }
.subModal .card.cod-view--message .card-header .cod-view-date { margin-bottom: 10px; }
.subModal .card.cod-view .card-header b.text-blue-d { display: none; }
.subModal .card.cod-view .card-body { margin-top: 20px; padding: 14px 16px; border-radius: 8px; background: #0f1420 !important; color: rgb(232, 236, 244) !important; font-size: 15px; line-height: 27px; }
.subModal .card.cod-view .card-body .ck-content { color: inherit; line-height: 27px !important; }
.subModal .card.cod-view .card-body .ck-content p { margin: 0 0 6px; font-size: 15px; }
.subModal .card.cod-view--message .card-body { padding: 0; background: transparent !important; color: rgba(245, 241, 232, 0.88) !important; }
.subModal .card.cod-view--message .myTextArea1 { min-height: 220px; border: 0; background: transparent !important; color: rgba(245, 241, 232, 0.88) !important; font-size: 15px; line-height: 27px; resize: none !important; }

/* Slot popup (game list page): same card as the local game modal. */
.cod-game-modal-site { background: #0f1420; }
.cod-game-launch { gap: 0; }
.cod-game-thumb { border: 0; border-radius: 8px; background: #0d0f1a; }
.cod-game-thumb img { border-radius: 8px; }
.cod-game-launch > span:not(.cod-game-thumb) { display: block; width: 100%; margin-top: 6px; padding: 0 4px; overflow: hidden; color: rgba(245, 241, 232, 0.88); font-size: 14px; line-height: 1.3; letter-spacing: 0.02em; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.cod-game-title-en { display: none; }
.cod-site .cod-game-fav { top: 5px; right: 5px; width: 26px; height: 26px; padding: 0; background: rgba(0, 0, 0, 0.5); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); color: #fff; font-size: 15px; line-height: 26px; }
.cod-site .cod-game-fav.is-active { color: #ff4d6d; }

/* Live casino cards (original 3-layer card): cloth -> hover cloth -> dealer -> logo/name -> PLAY GAME. */
@keyframes gcv-glow { 0% { box-shadow: 0 0 6px 8px rgba(254, 223, 171, 0.10); } 50% { box-shadow: 0 0 6px 4px rgba(227, 150, 17, 0.70); } 100% { box-shadow: 0 0 6px 1px rgba(254, 223, 171, 0.80); } }
.lcv { position: relative; display: block; aspect-ratio: 330 / 230; text-decoration: none; container-type: inline-size; transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease; }
button.lcv { width: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.lcv:hover { z-index: 5; transform: translateY(-8px); filter: brightness(1.05); }
.lcv-face { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; box-shadow: 0 10px 26px rgba(10, 8, 12, 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.16), inset 0 -3px 8px rgba(0, 0, 0, 0.5); }
.lcv:hover .lcv-face { animation: gcv-glow 0.8s ease infinite; }
.lcv-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.lcv-hv { position: absolute; inset: 0; opacity: 0; background: url("/assets/cod/images/casino_cards/ca_hv_bg.png") center / cover no-repeat; transition: opacity 0.35s ease; }
.lcv:hover .lcv-hv { opacity: 1; }
.lcv-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 54%, rgba(255, 255, 255, 0.10) 68%, rgba(255, 255, 255, 0) 76%); }
.lcv-model { position: absolute; bottom: 0; left: 50%; z-index: 2; width: 112%; max-width: 100%; height: 116%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55)); pointer-events: none; transform: translateX(-50%); transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1); }
.lcv:hover .lcv-model { transform: translateX(-50%) translateY(-4%) scale(1.05); }
.lcv-logo { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: contain; object-position: center center; pointer-events: none; }
.lcv-name { position: absolute; right: 6.7%; bottom: 13%; left: 18%; z-index: 3; text-align: right; pointer-events: none; }
.lcv-name .en { position: absolute; right: 0; bottom: 100%; margin-right: -0.1em; margin-bottom: 0.3em; color: rgba(255, 255, 255, 0.82); font-size: 11px; font-size: 4cqw; font-weight: 600; letter-spacing: 0.1em; text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9); text-transform: uppercase; white-space: nowrap; }
.lcv-name .ko { display: block; margin-right: -0.05em; color: #fff; font-family: "NotoSansKR", "Pretendard", sans-serif; font-size: 22px; font-size: 8.2cqw; font-weight: 600; letter-spacing: 0.05em; line-height: 1; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 1px 1px rgba(0, 0, 0, 0.7); word-break: keep-all; }
.lcv-play { position: absolute; bottom: 5%; left: 50%; z-index: 4; width: 44%; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity 0.25s ease, transform 0.25s ease; }
.lcv:hover .lcv-play { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 640px) { .lcv-play { width: 52%; } }
.cod-live-card--flat .cod-live-hover { display: none; }
