:root {
  --bg: #070716;
  --bar: #1d1a2a;
  --nav: #05051c;
  --line: #6a3dff;
  --text: #f4f6ff;
  --muted: #c9c6d8;
  --purple: #7a3dff;
  --blue: #4d7dff;
  --max: 1280px;
  --topbar-h: 72px;
  --font: "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 50;
  overflow: visible;
  background: #0d0f15;
}

.topbar-inner {
  height: var(--topbar-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  padding: 0 28px 0 40px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 60px;
  width: auto;
  max-width: none;
}

.brand-mark {
  display: none;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  max-width: 690px;
  justify-self: center;
  height: 36px;
  padding: 0 8px 0 8px;
  border: 1px solid rgba(168, 110, 235, .72);
  border-radius: 999px;
  background: linear-gradient(180deg, #120c1c, #080612);
  box-shadow:
    0 0 0 1px rgba(92, 48, 150, .28),
    0 0 12px rgba(155, 96, 230, .32);
}

.ticker-below,
.ticker-slot {
  display: none;
}

.ticker-ico {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid rgba(186, 140, 255, .7);
  border-radius: 50%;
  color: #d7b6ff;
  box-shadow: 0 0 8px rgba(186, 140, 255, .35);
}

.ticker-ico svg {
  width: 12px;
  height: 12px;
}

.ticker-badge {
  flex: 0 0 auto;
  padding: 3px 8px 2px;
  border-radius: 999px;
  background: #241536;
  color: #dcc4ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
}

.ticker-rule {
  flex: 0 0 1px;
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, transparent, #c090ff 18%, #c090ff 82%, transparent);
  box-shadow: 0 0 6px rgba(192, 144, 255, .7);
}

.ticker-view {
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.ticker-item {
  padding-right: 56px;
}

.ticker-track {
  display: flex;
  margin: 0;
  width: max-content;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
  animation: ticker-run 12s linear infinite;
}

.ticker.is-paused .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: #ff5d6e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ticker-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d5e;
  box-shadow: 0 0 8px rgba(255, 77, 94, .9);
  animation: ticker-live-pulse 1.4s ease-in-out infinite;
}

@keyframes ticker-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

.ticker-pause {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  padding: 0;
  border: 1px solid rgba(186, 140, 255, .7);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  box-shadow: 0 0 8px rgba(186, 140, 255, .28);
}

.ticker-pause svg {
  width: 12px;
  height: 12px;
}

.ticker-pause .ico-play { display: none; }
.ticker.is-paused .ticker-pause .ico-pause { display: none; }
.ticker.is-paused .ticker-pause .ico-play { display: block; }

.top-utils {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-dock {
  display: contents;
}

.top-utils .auth.is-login { order: 3; }
.top-utils .auth.is-join,
.top-utils .sess { order: 4; }
.top-utils .lang { order: 5; }

.util-label em {
  font-style: normal;
  font-weight: inherit;
}

.util-sub,
.util-mob,
.lang-copy {
  display: none;
}

.util {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f3f2f8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.util-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
}

.util-ico svg {
  width: 24px;
  height: 24px;
}

.util-bypass {
  font-size: 16px;
  gap: 10px;
}

.util-bypass .util-ico {
  width: 36px;
  height: 36px;
}

.util-bypass .util-ico svg {
  width: 31px;
  height: 31px;
}

.tg-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: transparent;
}

.tg-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.util-tg:hover .tg-mark {
  transform: translateY(-1px);
}

.icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: transparent;
  color: #fff;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.icon-btn em {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #b14dff;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.auth {
  appearance: none;
  min-width: 86px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 2px;
  background: #0a0b12;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: box-shadow .18s ease, filter .18s ease;
}

.auth.is-login {
  border: 1px solid #3d5cff;
  box-shadow:
    0 -6px 12px rgba(61, 92, 255, .45),
    0 6px 12px rgba(61, 92, 255, .45),
    inset 0 8px 10px rgba(67, 90, 224, .18),
    inset 0 -8px 10px rgba(67, 90, 224, .18);
}

.auth.is-join {
  border: 1px solid #b14dff;
  box-shadow:
    0 -6px 12px rgba(177, 77, 255, .48),
    0 6px 12px rgba(177, 77, 255, .48),
    inset 0 8px 10px rgba(196, 93, 255, .2),
    inset 0 -8px 10px rgba(196, 93, 255, .2);
}

.auth.is-login:hover,
.auth.is-login:focus-visible {
  filter: brightness(1.12);
}

.auth.is-join:hover,
.auth.is-join:focus-visible {
  filter: brightness(1.12);
}

body.is-in .auth { display: none; }

.sess {
  display: none;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 70;
}

body.is-in .sess { display: flex; }

.sess-bal {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 8px;
  border: 1.4px solid rgba(255,255,255,.78);
  border-radius: 999px;
  background: #0a0c12;
  color: #fff;
}

.sess-plus {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.sess-krw {
  display: grid;
  gap: 1px;
  text-align: left;
}

.sess-krw b {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
}

.sess-user { position: relative; }

.sess-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: #0a0c12;
  color: #fff;
}

.sess-avatar svg { width: 20px; height: 20px; }

.sess-avatar.is-on,
.sess-avatar[aria-expanded="true"] {
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .22);
}

.sess-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px #0d0f15;
}

.sess-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 252px;
  padding: 10px 10px 8px;
  border-radius: 14px;
  background: #0b1424;
  border: 1px solid rgba(125, 211, 252, .38);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, .22),
    0 0 28px rgba(168, 85, 247, .38),
    0 18px 40px rgba(0,0,0,.5);
}

.sess-rank {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  padding: 0 12px;
  margin-bottom: 4px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #4a2f78, #2d2154);
  color: #fff;
  text-align: left;
}

.sess-be {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 28%, #7dd3fc 0%, #818cf8 46%, #c026d3 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
}

.sess-rank strong {
  flex: 1;
  font-size: 14px;
  font-weight: 800;
}

.sess-rank svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.sess-menu nav { display: grid; }

.sess-menu nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.sess-menu nav button:last-child { border-bottom: 0; }

.sess-menu nav button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.sess-menu nav button:hover,
.sess-rank:hover {
  filter: brightness(1.08);
}

.sess-note {
  margin-left: auto;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.sess-menu nav button.is-out {
  color: #f87171;
}

.lang {
  position: relative;
  z-index: 60;
  flex-shrink: 0;
}

.lang-toggle,
.lang-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 8px 6px;
  border-radius: 24px;
  background: rgba(7, 9, 16, .92);
  box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(92, 126, 255, .22);
}

.lang-menu[hidden] { display: none; }

.lang-ring {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #070b14;
  box-shadow:
    0 0 0 1.5px rgba(92, 126, 255, .95),
    0 0 10px rgba(78, 118, 255, .42);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.lang-btn:hover .lang-ring,
.lang-btn:focus-visible .lang-ring {
  transform: scale(1.06);
  box-shadow:
    0 0 0 1.6px #8eb0ff,
    0 0 14px rgba(110, 150, 255, .7);
}

.lang-btn.is-active .lang-ring {
  box-shadow:
    0 0 0 2px #9ec2ff,
    0 0 16px rgba(120, 165, 255, .85);
}

.lang-disc {
  display: block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 50%;
  background: #10141f;
}

.lang-disc svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.42);
  transform-origin: center;
}

.nav-toggle {
  display: none;
}

.nav-dim {
  display: none;
}

.nav-panel {
  display: contents;
}

.nav {
  width: 100%;
  background: #0d0f15;
  border-top: 2px solid #8c2cf0;
  border-bottom: 2px solid #8c2cf0;
  box-shadow:
    0 -4px 14px rgba(140, 44, 240, .28),
    0 4px 14px rgba(140, 44, 240, .28);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 56px;
  padding-left: 40px;
  overflow: visible;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  overflow-x: auto;
}

.menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding-top: 25px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.ico-broadcast {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 24px;
  height: 15px;
  transform: translateX(-50%);
  overflow: visible;
  color: #ff2d3a;
  filter: drop-shadow(0 0 5px rgba(255, 45, 58, .75));
}

.ico-broadcast .live-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: live-dot 1.2s ease-in-out infinite;
}

.ico-broadcast .live-wave {
  animation: live-wave 1.6s ease-out infinite;
}

.ico-broadcast .live-wave.is-outer {
  animation-delay: .28s;
}

.live-tv {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 11px;
  padding: 0 4px;
  border-radius: 2px;
  background: #fff;
  color: #111;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}
.live-tv::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 8px;
  height: 3px;
  transform: translateX(-50%);
  background:
    linear-gradient(#fff, #fff) 50% 0 / 1.2px 3px no-repeat,
    linear-gradient(#fff, #fff) 0 0 / 3.5px 1.2px no-repeat,
    linear-gradient(#fff, #fff) 100% 0 / 3.5px 1.2px no-repeat;
}

.new {
  position: absolute;
  top: 5px;
  left: 50%;
  height: 13px;
  padding: 0 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff4b63 0%, #e10600 100%);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 13px;
  animation: new-pulse 1.35s ease-in-out infinite;
}

.menu-more {
  gap: 5px;
}

.chevron {
  width: 9px;
  height: 6px;
  margin-top: 2px;
}

.event {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: auto;
  height: 56px;
  margin-left: auto;
  margin-right: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  flex-shrink: 0;
  background: none;
  box-shadow: none;
  text-decoration: none;
  line-height: 0;
}

.event-face {
  display: block;
  height: 54px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .nav-inner {
    height: 56px;
    padding-left: 40px;
  }
  .menu {
    gap: 32px;
  }
  .menu a {
    height: 56px;
    padding-top: 25px;
    font-size: 15px;
    font-weight: 700;
  }
  .event {
    height: 56px;
  }
  .event-face {
    height: 54px;
  }
}

.hero {
  position: relative;
  width: 100%;
  padding: 18px 70px 8px;
  overflow: hidden;
  background: #050505;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, .92fr);
  gap: 12px;
  align-items: stretch;
}

.stage-promo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .45);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, .42),
    0 0 22px rgba(122, 61, 255, .16);
  background: #070716;
}

.promo-track {
  position: absolute;
  inset: 0;
}

.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: #070716;
  transition: opacity .8s ease;
}

.promo-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promo-slide.is-active { opacity: 1; z-index: 1; }

.stage-copy {
  position: relative;
  z-index: 2;
  max-width: 18em;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 28px 52px;
}

.promo-dots {
  position: absolute;
  left: 28px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: transparent;
}

.promo-dots button.is-active {
  width: 28px;
  border-color: transparent;
  background: linear-gradient(90deg, #b56bff, #6d28d9);
  box-shadow: 0 0 10px rgba(122, 61, 255, .45);
}

.stage-copy h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.25;
  word-break: keep-all;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}

.stage-copy p {
  margin: 0;
  color: #e8eefc;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 600;
  line-height: 1.55;
  word-break: keep-all;
}

.liveboard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .45);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(122, 61, 255, .16), transparent 46%),
    linear-gradient(180deg, #12101f 0%, #070716 100%);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, .42),
    0 0 22px rgba(122, 61, 255, .16);
}

.board-track {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
}

.board-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 12px 12px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.board-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.board-dots {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.board-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1.5px solid rgba(181, 107, 255, .7);
  border-radius: 999px;
  background: transparent;
}

.board-dots button.is-active {
  width: 28px;
  border-color: transparent;
  background: linear-gradient(90deg, #b56bff, #6d28d9);
  box-shadow: 0 0 10px rgba(122, 61, 255, .45);
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat-box {
  --c: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(90deg, #b56bff, #7a3dff 48%, #4d7dff);
  clip-path: var(--c);
  filter: drop-shadow(0 0 8px rgba(122, 61, 255, .28));
}

.stat-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: #0a0814;
  clip-path: var(--c);
}

.stat-box > * { position: relative; z-index: 1; }

.stat-box span {
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 700;
}

.stat-box strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 0 0 14px rgba(122, 61, 255, .35);
  font-variant-numeric: tabular-nums;
}

.stat-box strong.is-flash {
  animation: stat-flash .4s ease;
}

.feed h2 {
  display: flex;
  margin: 0 0 8px;
}

.feed h2 b {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: 0 0 10px rgba(122, 61, 255, .28);
}

.feed-grid {
  display: grid;
  gap: 6px;
  contain: layout style;
}

.feed-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feed-grid.is-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feed-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 54px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .32);
  background: #0a0918;
  color: #fff;
  contain: content;
}

.feed-card.is-in {
  animation: feed-in .45s ease;
}

.feed-card .uid {
  color: #c9c6d8;
  font-size: 12px;
  font-weight: 700;
}

.feed-card .amt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.feed-card .amt::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 7.2 8 4.8h8l-1.2 2.4A5 5 0 0 1 17 11v.4c1.2.5 2 1.4 2 2.6 0 2.4-3.1 3.5-7 3.5s-7-1.1-7-3.5c0-1.2.8-2.1 2-2.6V11a5 5 0 0 1 2.2-3.8zM12 8.6A3.4 3.4 0 0 0 8.6 11h6.8A3.4 3.4 0 0 0 12 8.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 7.2 8 4.8h8l-1.2 2.4A5 5 0 0 1 17 11v.4c1.2.5 2 1.4 2 2.6 0 2.4-3.1 3.5-7 3.5s-7-1.1-7-3.5c0-1.2.8-2.1 2-2.6V11a5 5 0 0 1 2.2-3.8zM12 8.6A3.4 3.4 0 0 0 8.6 11h6.8A3.4 3.4 0 0 0 12 8.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.feed-new {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  overflow: hidden;
  pointer-events: none;
}

.feed-new span {
  position: absolute;
  top: 7px;
  right: -18px;
  width: 64px;
  padding: 2px 0;
  background: linear-gradient(90deg, #b56bff, #7a3dff);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(122, 61, 255, .4);
}

@keyframes stat-flash {
  0%, 100% { text-shadow: 0 0 14px rgba(122, 61, 255, .35); }
  50% { color: #f4f6ff; text-shadow: 0 0 18px rgba(181, 107, 255, .85); }
}

@keyframes feed-in {
  from { opacity: .35; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hot {
  padding: 8px 70px 28px;
}

.hot-inner {
  width: 100%;
}

.hot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #8c2cf0;
}

.hot-chip {
  --cut: 10px;
  --c: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  position: relative;
  display: block;
  height: 40px;
  margin: 0;
  padding: 1.5px;
  border: 0;
  background: #a24dff;
  clip-path: var(--c);
  filter: drop-shadow(0 0 7px rgba(162, 77, 255, .55));
  color: #fff;
  cursor: pointer;
}

.hot-chip-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 100%;
  padding: 0 14px;
  background: #090812;
  clip-path: var(--c);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.hot-chip.is-title {
  --c: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
  cursor: default;
}

.hot-chip.is-title .hot-chip-in {
  padding: 0 18px 0 20px;
  background: #a24dff;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 0 10px rgba(255, 255, 255, .25);
}

.hot-chip.is-evo {
  --c: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 2px 100%, 0 calc(100% - 2px));
  background: linear-gradient(90deg, #6d2ad8 0%, #e14cff 100%);
}

.hot-chip.is-pp {
  --c: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.hot-chip.is-pp-slot {
  --c: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.hot-tab-wrap {
  position: relative;
  display: block;
  flex: 0 0 auto;
}

.hot-badge {
  position: absolute;
  top: -7px;
  right: 0;
  z-index: 2;
  min-width: 34px;
  height: 15px;
  padding: 0 5px;
  border-radius: 3px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 15px;
  text-align: center;
  pointer-events: none;
}

.hot-badge.is-live {
  background: #e11d48;
}

.hot-badge.is-slot {
  background: #2563eb;
}

.hot-chip.is-haba {
  --c: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.hot-chip.is-bn {
  --c: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.hot-chip.is-cq9 {
  --c: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 2px 100%, 0 calc(100% - 2px));
}

.hot-chip.is-png {
  --c: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.hot-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-top: 8px;
  overflow-x: auto;
}

.hot-tab.is-active,
.hot-tab:hover {
  filter: drop-shadow(0 0 11px rgba(186, 110, 255, .85));
}

.prov-logo {
  display: block;
  height: 20px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
}

.prov-logo.is-cq9 { height: 18px; }
.prov-logo.is-png { height: 22px; }

.prov-name {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.hot-frame {
  position: relative;
  padding: 14px;
  background:
    linear-gradient(#241046, #140828) padding-box,
    linear-gradient(180deg, #a56bff, #4a1d9c) border-box;
  border: 3px solid transparent;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px);
  box-shadow: 0 0 28px rgba(122, 45, 255, .28), inset 0 0 0 1px rgba(180, 120, 255, .18);
}

.hot-frame::before,
.hot-frame::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 28px;
  height: 10px;
  background: repeating-linear-gradient(90deg, #4de8ff 0 3px, transparent 3px 6px);
  opacity: .85;
}

.hot-frame::before { left: 18px; }
.hot-frame::after { right: 18px; }

.hot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.game-card {
  position: relative;
  min-width: 0;
  padding: 2px;
  background: linear-gradient(180deg, #b07aff 0%, #5b28c2 100%);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%, 0 10px);
  transition: transform .25s ease, filter .25s ease;
}

.game-card.is-dim {
  filter: grayscale(.35) brightness(.55);
}

.game-card:hover {
  transform: translateY(-6px);
  filter: brightness(1.08);
  z-index: 1;
}

.game-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #100818;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%, 0 9px);
}

.game-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 8px;
  background: linear-gradient(180deg, #1d1033 0%, #140826 100%);
}

.game-head em {
  overflow: hidden;
  color: #d7c7ff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-pips {
  display: flex;
  gap: 2px;
}

.game-pips b {
  width: 3px;
  height: 11px;
  background: #4de8ff;
  box-shadow: 0 0 6px #4de8ff;
}

.game-thumb {
  position: relative;
  aspect-ratio: 3 / 4.05;
  overflow: hidden;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .45s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.06);
}

.game-card.is-poster {
  padding: 0;
  background: none;
  clip-path: none;
  align-self: start;
  overflow: hidden;
  filter: drop-shadow(0 0 10px rgba(176, 72, 255, .38));
}

.game-card.is-poster:hover {
  transform: none;
  filter: drop-shadow(0 0 16px rgba(198, 96, 255, .58));
}

.game-card.is-poster.is-dim {
  filter: grayscale(.35) brightness(.55) drop-shadow(0 0 6px rgba(176, 72, 255, .18));
  pointer-events: none;
  cursor: default;
}

.game-card.is-poster.is-dim:hover {
  transform: none;
  filter: grayscale(.35) brightness(.55) drop-shadow(0 0 6px rgba(176, 72, 255, .18));
}

.game-card.is-poster.is-dim .play-overlay {
  opacity: 0 !important;
}

.game-card.is-poster.is-active {
  filter: drop-shadow(0 0 18px rgba(186, 110, 255, .92)) drop-shadow(0 0 32px rgba(122, 45, 255, .45));
  z-index: 2;
}

.game-card.is-poster.is-active:hover {
  filter: drop-shadow(0 0 22px rgba(198, 96, 255, .98)) drop-shadow(0 0 36px rgba(122, 45, 255, .55));
}

.game-card.is-poster .game-card-inner {
  background: transparent;
  clip-path: none;
  overflow: visible;
}

.game-card.is-poster .game-thumb {
  aspect-ratio: 723 / 1024;
  overflow: hidden;
}

.game-card.is-poster .game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.game-card.is-poster:hover .game-thumb img {
  transform: none;
}

.game-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.game-title.is-live {
  gap: 6px;
}

.game-title.is-live strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.04em;
  text-shadow: 0 2px 0 #c81e5a, 0 0 12px rgba(255, 70, 140, .7);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 7px;
  border-radius: 3px;
  background: #e10600;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 0 8px rgba(225, 6, 0, .5);
}

.game-title.is-candy {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(80, 0, 40, .45);
}

.game-title.is-candy b:first-child { color: #ff4fa3; font-size: 16px; }
.game-title.is-candy b:nth-child(2) { color: #ff8a1a; font-size: 16px; }
.game-title.is-candy small { color: #ffe14a; font-size: 14px; font-weight: 900; }

.game-title.is-myth b {
  color: #f3d37a;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 0 10px rgba(90, 160, 255, .6);
}

.game-title.is-myth span {
  color: #9ec7ff;
  font-size: 11px;
  font-weight: 800;
}

.game-title.is-myth small {
  margin-top: 2px;
  color: #dce7ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.game-title.is-korea {
  width: 86%;
  padding: 8px 6px;
  border: 1px solid rgba(255, 214, 120, .7);
  border-radius: 50%;
  background: rgba(20, 8, 4, .35);
}

.game-title.is-korea small,
.game-title.is-korea b {
  color: #ffe7b0;
  text-shadow: 0 1px 4px #000;
}

.game-title.is-korea small { font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.game-title.is-korea b { font-size: 11px; font-weight: 900; }

.game-title.is-kpop b {
  color: #ff4fd8;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 0 0 12px rgba(255, 79, 216, .7);
}

.game-title.is-kpop small {
  color: #c9a6ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}



.lobby {
  padding: 4px 70px 40px;
  scroll-margin-top: 20px;
}

.lobby-inner {
  width: 100%;
}

.lobby-tabs {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: #12081f;
  border: 1px solid rgba(140, 44, 240, .28);
  box-shadow: inset 0 1px 0 rgba(162, 77, 255, .08);
}

.lobby-tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 20px;
  border: 1px solid rgba(140, 44, 240, .18);
  border-radius: 12px;
  background: linear-gradient(180deg, #1a1230 0%, #12081f 100%);
  color: #c9c6d8;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.lobby-tab:hover {
  color: #f4f6ff;
  border-color: rgba(162, 77, 255, .45);
  background: linear-gradient(180deg, #24163e 0%, #161028 100%);
}

.lobby-tab.is-on {
  color: #fff;
  background: linear-gradient(180deg, #2a1848 0%, #17102c 100%);
  border-color: #8c2cf0;
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .16), 0 0 18px rgba(140, 44, 240, .28);
}

.lobby-ico {
  display: block;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  color: #8b7aa8;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .22s ease, opacity .22s ease, color .22s ease, drop-shadow .22s ease;
}

.lobby-ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lobby-ico .ico-a,
.lobby-ico .ico-b,
.lobby-ico .ico-c,
.lobby-ico .ico-card {
  fill: none;
  stroke: currentColor;
}

.lobby-ico .ico-fill {
  fill: currentColor;
  stroke: none;
}

.lobby-tab[data-lobby-tab="casino"] .ico-b {
  fill: currentColor;
}

.lobby-tab.is-on .lobby-ico {
  filter: none;
  opacity: 1;
}

.lobby-tab.is-on .lobby-ico {
  filter: drop-shadow(0 0 8px rgba(162, 77, 255, .35));
}

.lobby-tab[data-lobby-tab="casino"].is-on .lobby-ico { color: #e9d5ff; }
.lobby-tab[data-lobby-tab="casino"].is-on .ico-a { stroke: #c4b5fd; }
.lobby-tab[data-lobby-tab="casino"].is-on .ico-card { stroke: #f3e8ff; fill: rgba(196, 181, 253, .1); }
.lobby-tab[data-lobby-tab="casino"].is-on .ico-b,
.lobby-tab[data-lobby-tab="casino"].is-on .ico-fill { stroke: #e879f9; fill: #e879f9; }
.lobby-tab[data-lobby-tab="casino"].is-on .ico-c { stroke: #a78bfa; fill: rgba(167, 139, 250, .14); }

.lobby-tab[data-lobby-tab="slot"].is-on .lobby-ico { color: #f0abfc; }
.lobby-tab[data-lobby-tab="slot"].is-on .ico-a { stroke: #d8b4fe; }
.lobby-tab[data-lobby-tab="slot"].is-on .ico-card { stroke: #c4b5fd; fill: rgba(162, 77, 255, .12); }
.lobby-tab[data-lobby-tab="slot"].is-on .ico-b { stroke: #e879f9; fill: none; }
.lobby-tab[data-lobby-tab="slot"].is-on .ico-c { stroke: #a78bfa; }

.lobby-tab[data-lobby-tab="sports"].is-on .lobby-ico { color: #ddd6fe; }
.lobby-tab[data-lobby-tab="sports"].is-on .ico-a { stroke: #f4f6ff; }
.lobby-tab[data-lobby-tab="sports"].is-on .ico-b { stroke: #e879f9; fill: none; }
.lobby-tab[data-lobby-tab="sports"].is-on .ico-fill { fill: #e879f9; stroke: none; }
.lobby-tab[data-lobby-tab="sports"].is-on .ico-c { stroke: #a78bfa; fill: rgba(167, 139, 250, .16); }

.lobby-pane {
  margin-top: 16px;
}

.lobby-pane[hidden] {
  display: none !important;
}

.prov-bar {
  margin: 16px 0 14px;
  padding: 12px 14px 12px;
  border-radius: 10px;
  background: #0a101f;
  border: 1px solid rgba(255,255,255,.06);
}

.prov-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.prov-title {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.prov-title b {
  font-weight: 700;
  color: #c5c9d6;
}

.prov-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.prov-reset {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #2a3144;
  color: #d7dbe6;
  font-weight: 700;
  white-space: nowrap;
}

.prov-reset:hover { background: #343c52; }

.prov-search {
  position: relative;
  width: min(240px, 36vw);
}

.prov-search input {
  width: 100%;
  height: 36px;
  padding: 0 36px 0 12px;
  border: 1px solid #8b2cff;
  border-radius: 6px;
  background: #0c1220;
  color: #fff;
  font: inherit;
  outline: none;
}

.prov-search input::placeholder { color: #8b93a7; }
.prov-search input::-webkit-search-decoration,
.prov-search input::-webkit-search-cancel-button { appearance: none; }

.prov-search svg {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  color: #fff;
  transform: translateY(-50%);
  pointer-events: none;
}

.prov-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  width: auto;
  min-width: 36px;
  height: 36px;
  padding: 0 10px 0 8px;
  border: 0;
  border-radius: 6px;
  background: #8b2cff;
  color: #fff;
  box-shadow: 0 0 12px rgba(139, 44, 255, .45);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.04em;
  white-space: nowrap;
  cursor: pointer;
}

.prov-more svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.prov-more span {
  line-height: 1;
}

.prov-bar.is-closed .prov-row { display: none; }
.prov-bar.is-closed .prov-more svg { transform: rotate(-180deg); }
.prov-bar.is-closed .prov-head {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.prov-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.prov-row.is-casino {
  display: grid;
  grid-template-columns: minmax(88px, 1.15fr) repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(2, 52px);
  align-items: stretch;
}

.prov-row.is-casino .prov-all {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: auto;
  min-width: 0;
  height: auto;
  font-size: 13px;
}

.prov-row.is-casino .prov-chip {
  width: auto;
  height: auto;
  min-width: 0;
}

.prov-row.is-slot {
  display: grid;
  grid-template-columns: minmax(88px, 1.15fr) repeat(11, minmax(0, 1fr));
  grid-template-rows: repeat(5, 52px);
  align-items: stretch;
}

.prov-row.is-slot .prov-all {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  min-width: 0;
  height: auto;
  align-self: stretch;
  font-size: 13px;
}

.prov-row.is-slot .prov-chip {
  width: auto;
  height: auto;
  min-width: 0;
}

.prov-chip.is-slot-more {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid #2ee0c5;
  background: linear-gradient(180deg, #157a6c, #0d4f47);
  color: #e8fffb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: 0 0 12px rgba(46, 224, 197, .28);
}

.prov-bar.is-slot-open .prov-chip.is-slot-more {
  border-color: #f3b04a;
  background: linear-gradient(180deg, #8a5a16, #5c3a0c);
  color: #fff6e4;
  box-shadow: 0 0 12px rgba(243, 176, 74, .3);
}


.prov-row.is-slot .prov-mark {
  font-size: 9px;
  letter-spacing: 0;
  line-height: 1.15;
  padding: 0 2px;
}

.prov-all,
.prov-chip {
  position: relative;
  height: 52px;
  border-radius: 8px;
  color: #fff;
}

.prov-all {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0 14px;
  border: 1px solid #8b2cff;
  background: #12182a;
  font-weight: 800;
}

.prov-chip {
  width: 118px;
  padding: 6px 10px;
  border: 1px solid transparent;
  background: #162035;
}

.prov-chip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prov-mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #f2f4f8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  line-height: 1.15;
}

.prov-all.is-on,
.prov-chip.is-on {
  border-color: #8b2cff;
  box-shadow: inset 0 0 0 1px rgba(139, 44, 255, .35);
}

.prov-chip.is-miss { display: none; }

.prov-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 1;
  height: 14px;
  padding: 0 5px;
  border-radius: 3px;
  background: #e1062c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.prov-tag.is-ex { background: #e67e22; }

.hits-card.is-hide { display: none; }

/* 슬롯 벤더 필터: 접힌 목록의 nth-child 숨김보다 우선해 선택 배너만 표시 */
.hits-grid.is-slot.is-prov-filter > .hits-card {
  display: none !important;
}
.hits-grid.is-slot.is-prov-filter > .hits-card.is-filter-on {
  display: block !important;
}
.hits-grid.is-slot.is-prov-filter > .hits-card.is-slot-grid-more {
  display: none !important;
}



.hits-grid.is-sports {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hits-grid.is-sports .hits-card {
  aspect-ratio: 3 / 2;
}

.hits-grid.is-sports .hits-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.sport-copy {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 62%;
  padding: 22px 16px 22px 28px;
  background: linear-gradient(90deg, rgba(4, 10, 22, .62) 0%, rgba(4, 10, 22, .22) 70%, transparent 100%);
  pointer-events: none;
}

.sport-brand {
  display: block;
  margin: 0 0 10px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .55));
}

.sport-brand img {
  display: block;
  height: 28px;
  width: auto;
}

.sport-copy strong {
  color: #fff;
  font-size: clamp(17px, 1.55vw, 26px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(80, 210, 255, .5), 0 2px 10px rgba(0, 0, 0, .7);
}

.sport-copy em {
  margin-top: 7px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(11px, .8vw, 13px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .72);
}

.sport-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 16 / 11;
  padding: 14px 14px 12px;
  border-radius: 10px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(122,61,255,.26), transparent 48%),
    linear-gradient(180deg, #171326 0%, #0c0a16 100%);
  border: 1px solid rgba(140, 44, 240, .26);
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, filter .2s ease;
}

.sport-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 110, 255, .5);
  filter: brightness(1.06);
}

.sport-card.is-basket {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,140,60,.22), transparent 48%),
    linear-gradient(180deg, #1b1420 0%, #0e0a12 100%);
}

.sport-card.is-base {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(80,170,255,.22), transparent 48%),
    linear-gradient(180deg, #121826 0%, #0a0e16 100%);
}

.sport-card.is-tennis {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(170,220,70,.2), transparent 48%),
    linear-gradient(180deg, #141c16 0%, #0a120c 100%);
}

.sport-card.is-volley {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(80,200,220,.2), transparent 48%),
    linear-gradient(180deg, #102026 0%, #0a1216 100%);
}

.sport-card.is-ufc {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,70,70,.22), transparent 48%),
    linear-gradient(180deg, #1c1014 0%, #12080c 100%);
}

.sport-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sport-kind {
  color: #d7c7ff;
  font-size: 12px;
  font-weight: 800;
}

.sport-live {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  background: #e1062c;
  box-shadow: 0 0 10px rgba(225, 6, 44, .55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  animation: hot-pulse 1.15s ease-in-out infinite;
}

.sport-league {
  margin-top: 8px;
  color: #9aa4b8;
  font-size: 12px;
  font-weight: 700;
}

.sport-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.sport-match i {
  flex: 0 0 auto;
  color: #8b93a7;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.sport-match b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sport-odds {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}

.sport-odds span {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #e8edf5;
  font-size: 12px;
  font-weight: 800;
}

.hits {
  padding: 0 70px 32px;
}

.hits:last-of-type {
  padding-bottom: 40px;
}

.hits-inner {
  width: 100%;
}

.hits-head {
  display: flex;
  align-items: flex-end;
  margin-bottom: 12px;
  border-bottom: 1px solid #8c2cf0;
}

.hits-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 -1px;
  padding: 10px 20px 10px 14px;
  border: 1px solid #8c2cf0;
  border-bottom-color: transparent;
  background: #12081f;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.hits-ico {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #fff;
}

.hits-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.hits-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 917 / 575;
  overflow: hidden;
  border-radius: 10px;
  background: #16101f;
  border: 1px solid rgba(140, 44, 240, .22);
}

.hits-card.is-filled {
  border-color: transparent;
  background: transparent;
}

.hits-card.is-filled picture,
.hits-card.is-filled img {
  display: block;
  width: 100%;
  height: 100%;
}

.hits-card.is-filled img {
  object-fit: cover;
  object-position: center;
}

.hits-grid.is-live {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hits-grid.is-live .hits-card {
  aspect-ratio: 1024 / 598;
}

.hits-grid.is-slot {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.hits-grid.is-slot .hits-card {
  aspect-ratio: 1 / 1;
  background: #0a0614;
}

.hits-grid.is-slot .hits-card img {
  object-fit: contain;
  object-position: center;
}

.hits-card.is-slot-grid-more {
  display: none;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 1px solid #2ee0c5;
  background: linear-gradient(180deg, #157a6c, #0d4f47);
  color: #e8fffb;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(46, 224, 197, .28);
}

.hits-grid.is-slot-open .hits-card.is-slot-grid-more {
  border-color: #f3b04a;
  background: linear-gradient(180deg, #8a5a16, #5c3a0c);
  color: #fff6e4;
}

.hits-card.is-filled {
  transition: transform .2s ease, filter .2s ease;
}

.hits-card.is-filled:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.hits-grid.is-live .hits-card.is-filled:hover,
.hits-grid.is-slot .hits-card.is-filled:hover {
  transform: none;
  filter: none;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 10px 14px;
  background: rgba(6, 4, 16, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.play-orb {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .38);
}

.play-tri {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  background: linear-gradient(180deg, #e14cff 0%, #9b4dff 48%, #6d2ad8 100%);
  clip-path: polygon(12% 6%, 12% 94%, 92% 50%);
}

.play-name {
  max-width: 92%;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hits-grid.is-slot .play-orb {
  width: 22px;
  height: 22px;
}

.hits-grid.is-slot .play-tri {
  width: 14px;
  height: 14px;
}

.hits-grid.is-slot .play-name {
  font-size: 12px;
}

.hits-grid.is-live .hits-card:focus-visible .play-overlay,
.hits-grid.is-slot .hits-card:focus-visible .play-overlay,
.hot-grid .game-card:focus-visible .play-overlay {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .hits-grid.is-live .hits-card:hover .play-overlay,
  .hits-grid.is-slot .hits-card:hover .play-overlay,
  .hot-grid .game-card:hover .play-overlay {
    opacity: 1;
  }
}

@media (hover: none) {
  .hits-grid.is-live .hits-card:active .play-overlay,
  .hits-grid.is-slot .hits-card:active .play-overlay,
  .hot-grid .game-card:active .play-overlay {
    opacity: 1;
  }
}

.hits-grid .hits-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 0;
  text-align: center;
  color: rgba(201, 198, 216, .8);
}

.hits-card-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #16101f;
  color: #e9d5ff;
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

.hot-mark,
.hot-mark.HOT {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 20px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #f3b04a;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  box-shadow: 0 0 10px rgba(243, 176, 74, .65);
  animation: hot-pulse 1.15s ease-in-out infinite;
}

.hits-grid.is-slot .hot-mark {
  top: 6px;
  right: 6px;
  min-width: 32px;
  height: 17px;
  font-size: 9px;
}

@keyframes hot-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(243, 176, 74, .45);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(255, 200, 90, .9);
  }
}

.dock {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: 88px;
  transform: translateY(-50%);
}

.dock-item {
  --glow: transparent;
  --accent: #3cead0;
  --dock-bg: #071612;
  position: relative;
  display: block;
  width: 88px;
  height: auto;
  color: #fff;
  background: none;
  clip-path: none;
  animation: dock-in .7s cubic-bezier(.18,.86,.24,1) both, dock-pulse 2.8s ease-in-out 1s infinite;
}

.dock-item::before,
.dock-item::after {
  content: none;
  display: none;
}

.dock-item:nth-child(1) { animation-delay: .08s, 1s; }
.dock-item:nth-child(2) { animation-delay: .18s, 1.2s; }
.dock-item:nth-child(3) { animation-delay: .28s, 1.4s; }

.dock-face {
  position: relative;
  display: block;
  width: 88px;
  height: auto;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
}

.dock-txt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dock-item.is-green { --glow: rgba(72, 230, 190, .45); --accent: #3cead0; --dock-bg: #071612; }
.dock-item.is-purple { --glow: rgba(196, 93, 255, .45); --accent: #d060ff; --dock-bg: #14081c; }
.dock-item.is-blue { --glow: rgba(80, 190, 255, .45); --accent: #4ec4ff; --dock-bg: #071018; }

.dock-item:hover {
  transform: translateX(-8px);
  filter: brightness(1.08);
  animation-play-state: paused;
}

.dock-item:hover .dock-face {
  animation: dock-pop .45s ease;
}

.to-top {
  position: fixed;
  top: auto;
  right: 22px;
  bottom: 98px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--purple);
  border-radius: 50%;
  background: #12121a;
  color: var(--purple);
  box-shadow: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.to-top svg {
  display: block;
  width: 26px;
  height: 26px;
}

.to-top:hover,
.to-top:focus-visible {
  color: var(--line);
  border-color: var(--line);
  background: #17171f;
}

body.is-modal .to-top,
body.is-pops .to-top,
body.is-nav .to-top,
body:has(.livechat.is-open) .to-top {
  visibility: hidden;
  pointer-events: none;
}

@keyframes dock-in {
  from { opacity: 0; transform: translateX(90px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes dock-pulse {
  0%, 100% { filter: drop-shadow(0 8px 14px rgba(0,0,0,.28)); }
  50% { filter: drop-shadow(0 8px 16px var(--glow)); }
}

@keyframes dock-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes live-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .7; }
}

@keyframes live-wave {
  0%, 100% { opacity: .28; }
  45% { opacity: 1; }
}

@keyframes new-pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(225, 6, 0, .55);
  }
  50% {
    transform: translateX(-50%) scale(1.08);
    box-shadow: 0 0 10px 2px rgba(255, 64, 90, .7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dock-item,
  .dock-item .dock-face,
  .ico-broadcast .live-dot,
  .ico-broadcast .live-wave,
  .new {
    animation: none;
  }
  .new { transform: translateX(-50%); }
  .stat-box strong,
  .feed-card,
  .ticker-track,
  .ticker-live i {
    animation: none;
  }
}

html.is-tab-hidden .ticker-track,
html.is-tab-hidden .ticker-live i,
html.is-tab-hidden .ico-broadcast .live-dot,
html.is-tab-hidden .ico-broadcast .live-wave,
html.is-tab-hidden .new,
html.is-tab-hidden .sport-live,
html.is-tab-hidden .hot-mark,
html.is-tab-hidden .dock-item,
html.is-tab-hidden .mp-msg-ico.is-unread circle {
  animation-play-state: paused;
}


body.is-modal {
  overflow: hidden;
}

html.is-scroll-lock {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-scroll-lock {
  position: fixed;
  left: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  overscroll-behavior: none;
}

.modal-root[hidden] {
  display: none !important;
}

.modal-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .82);
}

.modal-stack {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  overscroll-behavior: contain;
}

.modal-root[data-open="login"] .modal-stack {
  width: min(924px, 100%);
}

.modal-root[data-open="join"] .modal-stack,
.modal-root[data-open="forgot"] .modal-stack {
  width: min(1100px, 100%);
}

.modal-root[data-open="wallet"] .modal-stack {
  width: min(2006px, 99vw);
  zoom: calc(1 / 1.2);
}

.modal-root[data-open="slot"] .modal-stack {
  width: min(1841px, 100%);
  max-width: 100%;
  min-width: 0;
}

.modal-root[data-open="wallet"] [data-modal="wallet"] {
  display: flex;
  max-height: min(98vh, 1462px);
  background: #07111c;
}

.wal-side {
  display: flex;
  flex-direction: column;
  width: 422px;
  flex-shrink: 0;
  padding: 27px 24px 31px;
  background: #08131f;
  border-right: 1px solid rgba(122, 61, 255, .2);
  overflow: auto;
}

.wal-user {
  padding: 24px 20px 27px;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(122, 61, 255, .38), transparent 46%),
    linear-gradient(180deg, #1a1630 0%, #10182a 100%);
  border: 1px solid rgba(183, 163, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  text-align: center;
  color: #fff;
}

.wal-uid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 17px;
  font-size: 20px;
  font-weight: 700;
}

.wal-copy {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.wal-copy svg { width: 24px; height: 24px; }

.wal-avatar {
  display: grid;
  place-items: center;
  width: 95px;
  height: 95px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #12182a;
  color: #fff;
  font-size: 31px;
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(122, 61, 255, .35);
}

.wal-user strong { font-size: 26px; }

.wal-bals {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.wal-bals article {
  padding: 17px 20px;
  border-radius: 14px;
  background: #0d1a28;
  border: 1px solid rgba(255,255,255,.06);
}

.wal-bals span {
  display: block;
  color: #9aa4b8;
  font-size: 19px;
}

.wal-bals b {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 27px;
}

.wal-deposit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 75px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(77, 125, 255, .22);
}

.wal-deposit-btn span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  font-size: 27px;
}

.wal-cat {
  margin: 31px 7px 14px;
  color: #8b93a7;
  font-size: 20px;
  font-weight: 700;
}

.wal-nav {
  display: grid;
  gap: 8px;
}

.wal-nav button,
.wal-out {
  position: relative;
  display: flex;
  align-items: center;
  gap: 17px;
  width: 100%;
  height: 75px;
  padding: 24px 20px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background: #0d1a28;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
}

.wal-nav button.is-on {
  color: #c4b5fd;
  box-shadow: inset 5px 0 0 #7a3dff;
}

.wal-nav button::after {
  content: "›";
  margin-left: auto;
  color: #6b7280;
  font-size: 18px;
}

.wal-badge {
  position: absolute;
  top: -6px;
  left: 28px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
}

.wal-out {
  margin-top: 8px;
  color: #f87171;
  justify-content: flex-start;
}

.wal-nav button span,
.wal-out span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.wal-out::after { content: none; }

.wi {
  display: inline-block;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.wi-wallet { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v2H3zm0 4h18v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm13 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E"); }
.wi-gear { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 8.5A3.5 3.5 0 1 1 8.5 12 3.5 3.5 0 0 1 12 8.5zm8 2.2-1.7-.3a6.8 6.8 0 0 0-.7-1.6l1-1.4-2-2-1.4 1a6.8 6.8 0 0 0-1.6-.7L13.3 4h-2.6l-.3 1.7a6.8 6.8 0 0 0-1.6.7l-1.4-1-2 2 1 1.4a6.8 6.8 0 0 0-.7 1.6L4 10.7v2.6l1.7.3a6.8 6.8 0 0 0 .7 1.6l-1 1.4 2 2 1.4-1a6.8 6.8 0 0 0 1.6.7l.3 1.7h2.6l.3-1.7a6.8 6.8 0 0 0 1.6-.7l1.4 1 2-2-1-1.4a6.8 6.8 0 0 0 .7-1.6l1.7-.3z'/%3E%3C/svg%3E"); }
.wi-list { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z'/%3E%3C/svg%3E"); }
.wi-gift { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 8h-2.1A3 3 0 0 0 13 5.2L12 4l-1 1.2A3 3 0 0 0 6.1 8H4v4h8V8h2v4h8zM4 14v6h8v-6zm10 0v6h8v-6z'/%3E%3C/svg%3E"); }
.wi-msg { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.wi-medal { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 9 8H3l5 4-2 8 6-4 6 4-2-8 5-4h-6z'/%3E%3C/svg%3E"); }
.wi-out { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5v-2H5V6h5zm3.5 4 5 4-5 4v-3H9v-2h4.5z'/%3E%3C/svg%3E"); }
.wi-in { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 4v7H8l4 5 4-5h-3V4zM5 18h14v2H5z'/%3E%3C/svg%3E"); }
.wi-out2 { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 20v-7h3l-4-5-4 5h3v7zM5 4h14v2H5z'/%3E%3C/svg%3E"); }
.wi-hist { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a8 8 0 1 1-8 8H2l3.5 4L9 12H7a5 5 0 1 0 5-5V4zm1 4v5l3 2'/%3E%3C/svg%3E"); }
.wi-user { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5z'/%3E%3C/svg%3E"); }
.wi-key { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14.5 5A4.5 4.5 0 1 0 17 13.2L21 17v3h-3v-2h-2v-2h-1.2A4.5 4.5 0 0 0 14.5 5zm-2 4.5A2 2 0 1 1 14.5 11.5 2 2 0 0 1 12.5 9.5z'/%3E%3C/svg%3E"); }
.wi-cal { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3v2H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2V3h-2v2H9V3zm12 6H5v10h14z'/%3E%3C/svg%3E"); }
.wi-find { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.5 4a6.5 6.5 0 1 1 0 13 6.5 6.5 0 0 1 0-13zm0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9zm7.2 10.1 3.6 3.6-1.4 1.4-3.6-3.6z'/%3E%3C/svg%3E"); }
.wi-box { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 8.5 12 4l9 4.5v2H3zm0 3h18V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }

.wi-bell { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a6 6 0 0 1 6 6v4.2l1.6 2.4H4.4L6 13.2V9a6 6 0 0 1 6-6zm-2.2 16h4.4A2.2 2.2 0 0 1 12 21.2 2.2 2.2 0 0 1 9.8 19z'/%3E%3C/svg%3E"); }
.wi-ask { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm8 3.2a2.4 2.4 0 0 0-2.4 2.4h1.6c0-.44.36-.8.8-.8s.8.36.8.8c0 .5-.28.66-.72.94-.52.34-.88.78-.88 1.46v.4h1.6v-.28c0-.22.12-.36.5-.6.7-.46 1.3-1 1.3-1.92A2.4 2.4 0 0 0 12 7.2zM11.2 14.4h1.6V16h-1.6z'/%3E%3C/svg%3E"); }
.wi-trash { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4h6l1 2h4v2H4V6h4zm1 6h2v8h-2zm4 0h2v8h-2zM7 10h2v8H7z'/%3E%3C/svg%3E"); }


.wal-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  background: #071320;
}

.wal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 31px;
  border-bottom: 1px solid rgba(122, 61, 255, .18);
}

.wal-head h2 {
  margin: 0;
  color: #fff;
  font-size: 27px;
  font-weight: 800;
}

.wal-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inq-write {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.inq-write:hover,
.inq-write:focus-visible {
  filter: brightness(1.08);
}

.modal-x.is-in-wal {
  position: static;
  width: 32px;
  min-width: 32px;
  padding: 0;
}

.wal-tabs {
  display: flex;
  gap: 14px;
  padding: 20px 31px 0;
}

.wal-tabs button {
  min-width: 187px;
  height: 61px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #9aa4b8;
  font-weight: 800;
  font-size: 20px;
}

.wal-tabs button.is-on {
  background: #121f30;
  color: #fff;
}

.wal-body {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 31px;
  min-height: 0;
  flex: 1;
  padding: 24px 34px 37px;
  overflow: auto;
}

.wal-body[hidden] {
  display: none !important;
}

.wal-body.is-status:not([hidden]) {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
}

.wal-body.is-set:not([hidden]) {
  display: block;
  grid-template-columns: 1fr;
}

.wal-tabs[hidden] { display: none !important; }

.wal-empty { color: #9aa4b8; }

.wal-rail {
  display: grid;
  align-content: start;
  gap: 8px;
}

.wal-rail button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 122px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background: #0d1a28;
  color: #d1d5e0;
  font-size: 19px;
  font-weight: 700;
}

.wal-rail button.is-on {
  color: #c4b5fd;
  border-color: #7a3dff;
}

.wal-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.wal-lead {
  margin: 3px 0 27px;
}

.wal-lead h3 {
  margin: 0 0 10px;
  color: #c4b5fd;
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.wal-lead p {
  margin: 0;
  color: #e8edf5;
  font-size: 22px;
}

.wal-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(510px, .92fr);
  gap: 34px;
  align-items: start;
}

.wal-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.wal-methods button {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 88px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: #0c1826;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
}

.wal-methods button.is-on {
  border-color: #7a3dff;
  background: #101828;
  box-shadow: 0 0 0 1px #7a3dff, 0 0 22px rgba(122, 61, 255, .28);
}

.pm {
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  display: grid;
  place-items: center;
}

.pm svg {
  display: block;
  width: 48px;
  height: 48px;
}

.wal-info {
  padding: 27px 27px 24px;
  border: 1px solid rgba(122, 61, 255, .45);
  border-radius: 14px;
  background: #0a1522;
}

.wal-info h4 {
  margin: 0 0 20px;
  color: #c4b5fd;
  font-size: 27px;
  font-weight: 800;
}

.wal-info ol {
  margin: 0 0 17px;
  padding-left: 31px;
  color: #f3f4f6;
  font-size: 21px;
  line-height: 1.7;
}

.wal-info ul {
  margin: 0 0 20px;
  padding-left: 31px;
  color: #c5cddb;
  font-size: 20px;
  line-height: 1.65;
}

.wal-limit {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  color: #9aa8c2;
  font-size: 20px;
  font-weight: 700;
}

.wal-amt-label {
  display: block;
  margin: 27px 0 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.wal-amt-label i { color: #ef4444; font-style: normal; }

.wal-amt {
  position: relative;
}

.wal-amt input {
  width: 100%;
  height: 78px;
  padding: 0 95px 0 24px;
  border: 1px solid #7a3dff;
  border-radius: 12px;
  background: #07111c;
  color: #fff;
  font: inherit;
  font-size: 22px;
  outline: none;
  box-shadow: 0 0 0 4px rgba(122, 61, 255, .16);
}

.wal-amt em {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #fff;
  font-style: normal;
  font-weight: 800;
  transform: translateY(-50%);
}

.wal-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.wal-chips button {
  height: 65px;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: #1a2740;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.wal-chips .wal-correct {
  background: linear-gradient(180deg, #f43f5e, #be123c);
  box-shadow: 0 6px 14px rgba(190, 18, 60, .28);
}

.wal-submit {
  width: 100%;
  height: 82px;
  margin-top: 27px;
  margin-bottom: 36px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 27px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(77, 125, 255, .22);
}

@media (max-width: 980px) {
  .modal-root[data-open="wallet"] [data-modal="wallet"] {
    flex-direction: column;
  }
  .wal-side { width: 100%; max-height: 374px; }
  .wal-body { grid-template-columns: 1fr; }
  .wal-split { grid-template-columns: 1fr; }
  .wal-methods { grid-template-columns: 1fr 1fr; }
}



.wal-sheet {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.wal-sheet[hidden] { display: none !important; }

.set-wrap {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 31px;
  min-height: 0;
  flex: 1;
  padding: 24px 34px 37px;
  overflow: auto;
}

.set-wrap[hidden] { display: none !important; }

.set-body {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 31px;
  min-height: 0;
  flex: 1;
  padding: 24px 34px 37px;
  overflow: auto;
}

.set-rail {
  display: grid;
  align-content: start;
  gap: 8px;
}

.set-rail button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 72px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  background: #0d1a28;
  color: #d1d5e0;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.set-rail button.is-on {
  color: #c4b5fd;
  background: #12182a;
  border-color: #7a3dff;
  box-shadow: 0 0 0 1px #7a3dff, 0 0 18px rgba(122, 61, 255, .28);
}

.set-rail .wi {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.set-main { min-width: 0; }

.set-main h3,
.wal-body.is-set h3 {
  margin: 4px 0 10px;
  color: #c4b5fd;
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.wal-body.is-set {
  padding: 0;
  overflow: visible;
}

.set-pane[hidden] { display: none !important; }

.set-pane h3 {
  margin: 4px 0 10px;
  color: #c4b5fd;
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.set-help {
  margin: 0 0 22px;
  max-width: 560px;
  color: #c9d0de;
  font-size: 15px;
  line-height: 1.6;
}

.set-form {
  max-width: 560px;
}

.set-form.is-profile {
  max-width: 720px;
}

.set-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 680px) {
  .set-row { grid-template-columns: 1fr; }
}

.set-label {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.set-label i { color: #ef4444; font-style: normal; }

.set-form .modal-field {
  margin-bottom: 16px;
}

.set-form .modal-field input {
  border-color: #7a3dff;
  background: #07111c;
  box-shadow: 0 0 0 2px rgba(122, 61, 255, .14);
}

.set-form.is-locked .modal-field input[readonly] {
  color: #ddd8f0;
  border-color: rgba(122, 61, 255, .28);
  background: #0a1018;
  box-shadow: none;
  cursor: default;
}

.set-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.set-save {
  min-width: 88px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.set-save:hover { filter: brightness(1.08); }

.acc-sheet {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  padding: 12px 18px 18px;
  overflow: auto;
}

.acc-sheet[hidden] { display: none !important; }

.acc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.acc-tabs button {
  min-width: 132px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9aa4b8;
  font-size: 15px;
  font-weight: 800;
}

.acc-tabs button.is-on {
  background: #121f30;
  color: #fff;
}

.bet-filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.acc-select,
.acc-search {
  position: relative;
}

.acc-select select,
.acc-input,
.acc-search input,
.acc-date {
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: #0c1826;
  color: #e8edf5;
  font: inherit;
  outline: none;
}

.acc-select select { min-width: 0; width: 88px; padding-right: 22px; appearance: none; }
.acc-input { width: 112px; min-width: 0; flex: 0 1 112px; }
.acc-search input { width: 100%; min-width: 0; }
.acc-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 0 128px;
  padding-left: 10px;
}

.acc-search .wi,
.acc-date .wi {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 14px;
  height: 14px;
  color: #9aa4b8;
  transform: translateY(-50%);
}

.acc-date { position: relative; padding-right: 32px; }
.acc-date .wi { position: absolute; }

.bet-find {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 240px;
  min-width: 0;
}

.bet-find .acc-search,
.bet-find .acc-search-btn {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}

.bet-find .acc-search input,
.bet-find .acc-search-btn {
  width: 100%;
  height: 38px;
  box-sizing: border-box;
}

.acc-search-btn {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-weight: 800;
}

.bet-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  min-height: 360px;
  border: 1px solid rgba(120, 180, 230, .22);
  border-radius: 10px;
  color: #c5cddb;
}

.bet-empty svg {
  width: 72px;
  height: 58px;
  color: #f3f6fb;
}

.bet-empty p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.bon-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.bon-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: #0c1826;
  color: #d1d5e0;
  font-weight: 800;
}

.bon-tabs button b {
  color: #9aa4b8;
  font-size: 12px;
}

.bon-tabs button.is-on {
  color: #fff;
  border-color: #7a3dff;
  background: #12182a;
  box-shadow: 0 0 0 1px #7a3dff;
}

.bon-tabs button.is-on b { color: #c4b5fd; }

.bon-lead { margin: 0 0 14px; }
.bon-lead h3 {
  margin: 0 0 6px;
  color: #c4b5fd;
  font-size: 22px;
  font-weight: 800;
}
.bon-lead p { margin: 0; color: #c9d0de; font-size: 15px; line-height: 1.6; }

.bon-card {
  margin-bottom: 12px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  background: #0b1624;
}

.bon-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.bon-card h4 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.bon-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #86efac;
  font-size: 13px;
  font-weight: 800;
}

.bon-ok i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.bon-split {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.bon-card dl { display: grid; gap: 6px; margin: 0; }
.bon-card dl div { display: flex; justify-content: space-between; gap: 10px; }
.bon-card dt { color: #9aa4b8; font-size: 14px; }
.bon-card dd { margin: 0; color: #fff; font-size: 14px; font-weight: 800; }

.bon-side p {
  margin: 0 0 14px;
  color: #9aa4b8;
  font-size: 14px;
  line-height: 1.65;
}

.bon-apply {
  min-width: 160px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-weight: 800;
}

.acc-empty {
  padding: 48px 16px;
  color: #9aa4b8;
  text-align: center;
}

.acc-sheet.is-msg { overflow: hidden; }

.msg-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.msg-inbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(192, 38, 211, .45);
  border-radius: 8px;
  background: #1a1030;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.msg-split {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  flex: 1;
}

.msg-list {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  overflow: auto;
}

.msg-item {
  position: relative;
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 16px 32px 16px 16px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  background: #0c1826;
  color: #fff;
  text-align: left;
}

.msg-item.is-on {
  border-color: #7a3dff;
  background: #12182a;
  box-shadow: 0 0 0 1px #7a3dff;
}

.msg-item strong { font-size: 16px; font-weight: 800; line-height: 1.4; letter-spacing: -.02em; }
.msg-item span { color: #9aa4b8; font-size: 13px; }

.msg-dot {
  position: absolute;
  top: 16px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.msg-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  background: #0b1624;
  overflow: auto;
}

.msg-detail header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.msg-detail h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.msg-detail header p {
  margin: 0;
  color: #9aa4b8;
  font-size: 14px;
}

.msg-detail header b { color: #d1d5e0; font-weight: 700; }

.msg-del {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: #0c1826;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 700;
}

.msg-body p { margin: 0 0 12px; color: #e8edf5; font-size: 16px; line-height: 1.75; }
.msg-body .msg-sub { margin: 18px 0 8px; color: #fff; font-size: 16px; font-weight: 800; }
.msg-body ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #d1d5e0;
  font-size: 16px;
  line-height: 1.75;
}

.msg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.msg-links a { color: #c4b5fd; font-size: 15px; font-weight: 700; }
.msg-links em { color: #7a3dff; font-style: normal; }

.ntc-tabs { margin-bottom: 12px; }
.ntc-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
}
.ntc-tag.is-notice { background: #1e3a5f; color: #93c5fd; }
.ntc-tag.is-event { background: #1a1640; color: #c4b5fd; }
.ntc-tag.is-maint { background: #3f2a12; color: #fbbf24; }
.ntc-tag.is-wait { background: #3f2a12; color: #fbbf24; }
.ntc-tag.is-done { background: #12361f; color: #86efac; }

.inq-form { display: grid; gap: 8px; }
.inq-form[hidden] { display: none !important; }
.inq-text {
  width: 100%;
  min-height: 180px;
  padding: 14px 16px;
  border: 1px solid rgba(122, 61, 255, .28);
  border-radius: 10px;
  background: #0a1018;
  color: #eee;
  font: inherit;
  font-size: 16px;
  line-height: 1.65;
  resize: vertical;
}
.msg-item .ntc-tag { margin-bottom: 2px; }
.msg-body ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: #d1d5e0;
  font-size: 16px;
  line-height: 1.75;
}


@media (max-width: 980px) {
  .bon-split, .msg-split { grid-template-columns: 1fr; }
  .bet-filters { flex-wrap: wrap; }
  .bet-find { flex: 1 1 100%; }
}


.set-meta {
  display: grid;
  gap: 12px;
  margin: 0;
  max-width: 420px;
}

.set-meta div {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: #0d1a28;
  border: 1px solid rgba(255,255,255,.06);
}

.set-meta dt { color: #9aa4b8; font-size: 14px; }
.set-meta dd { margin: 0; color: #fff; font-weight: 800; }

@media (max-width: 980px) {
  .set-wrap, .set-body { grid-template-columns: 1fr; }
}

.modal-panel {
  display: none;
  position: relative;
  overflow: hidden;
  max-height: min(90vh, 860px);
  overflow-y: auto;
  border-radius: 10px;
  background: #0c0d18;
  box-shadow: 0 0 0 1px rgba(162, 77, 255, .55), 0 24px 60px rgba(0, 0, 0, .55);
}

.modal-panel:focus {
  outline: none;
}

.modal-root[data-open="login"] [data-modal="login"],
.modal-root[data-open="login"] .modal-panel.is-auth.is-login,
.modal-root[data-open="join"] [data-modal="join"],
.modal-root[data-open="forgot"] [data-modal="forgot"] {
  display: flex !important;
}

.modal-root[data-open="bypass"] .modal-stack {
  width: min(420px, 100%);
}

.modal-root[data-open="bypass"] [data-modal="bypass"] {
  display: flex;
}

.modal-root[data-open="slot"] [data-modal="slot"] {
  display: flex;
}

/* wallet mp 패널 — .modal-panel{display:none} 이후에  Explicit 표시 */
.modal-root[data-open="wallet"] [data-modal="wallet"],
.modal-root[data-open="wallet"] .modal-panel.is-wallet {
  display: flex !important;
}

.modal-panel.is-slot-lobby {
  flex-direction: column;
  max-height: min(98vh, 1435px);
  overflow: hidden;
  background:
    radial-gradient(900px 280px at 50% -8%, rgba(122, 61, 255, .28), transparent 58%),
    linear-gradient(180deg, #12101f 0%, #0a0814 42%, #070716 100%);
}

.modal-x.is-slot-x {
  position: static;
  flex: 0 0 auto;
  width: auto;
  height: 48px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: rgba(12, 10, 22, .72);
  border: 1px solid rgba(162, 77, 255, .38);
  color: #f4f6ff;
}

.modal-x.is-slot-x:hover,
.modal-x.is-slot-x:focus-visible {
  background: rgba(122, 61, 255, .28);
  border-color: #9b5cff;
}

.slot-lobby-head {
  flex-shrink: 0;
  padding: 22px 28px 0;
}

.slot-head-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slot-head-row .slot-search {
  flex: 1;
  min-width: 0;
}

.slot-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 62px;
  padding: 0 20px;
  border: 1px solid rgba(162, 77, 255, .32);
  border-radius: 12px;
  background: #0c0d18;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.slot-search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #9b8ec4;
}

.slot-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4f6ff;
  font: inherit;
  font-size: 16px;
}

.slot-search input::placeholder {
  color: #7d7694;
}

.slot-search:focus-within {
  border-color: #8b2cff;
  box-shadow: 0 0 0 3px rgba(122, 61, 255, .18);
}

.slot-prov-wrap {
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(162, 77, 255, .16);
}

.slot-prov-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #9b8ec4;
  font-size: 12px;
  font-weight: 700;
}

.slot-prov-label em {
  color: #c45dff;
  font-style: normal;
  font-weight: 800;
}

.slot-provs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.slot-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(162, 77, 255, .22);
  background: #161226;
  color: #f4f6ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.slot-chip:hover,
.slot-chip:focus-visible {
  border-color: rgba(162, 77, 255, .55);
  background: #1c1630;
}

.slot-chip.is-on {
  border-color: transparent;
  background: linear-gradient(180deg, #9b5cff 0%, #7a3dff 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(122, 61, 255, .32);
}

.slot-chip.is-slot-fold {
  display: none;
}

.slot-chip.is-slot-fold.is-more {
  border-color: #2ee0c5;
  background: linear-gradient(180deg, #157a6c, #0d4f47);
  color: #e8fffb;
  box-shadow: 0 0 12px rgba(46, 224, 197, .28);
}

.slot-chip.is-slot-fold.is-less {
  border-color: #f3b04a;
  background: linear-gradient(180deg, #8a5a16, #5c3a0c);
  color: #fff6e4;
  box-shadow: 0 0 12px rgba(243, 176, 74, .3);
}

.slot-lobby-body {
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 22px 28px 30px;
}

.slot-dir {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.slot-dir em {
  display: block;
  margin: 0 0 4px;
  color: #c45dff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
}

.slot-dir h2 {
  margin: 0;
  color: #fff;
  font-size: 43px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.slot-dir-count {
  color: #c45dff;
  font-size: 13px;
  font-weight: 800;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}

.slot-game {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: inherit;
}

.slot-game[hidden] { display: none !important; }

.slot-game-art {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #0c0d18;
  box-shadow: 0 0 0 1px rgba(162, 77, 255, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}

.slot-game-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slot-game-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(6, 4, 16, .92));
  pointer-events: none;
}

.slot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  background: #7a3dff;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 18px;
}

.slot-game-art strong {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

.slot-game-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 0 2px;
}

.slot-game-meta b {
  overflow: hidden;
  color: #f4f6ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.slot-game-meta em {
  overflow: hidden;
  color: #8b8498;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.slot-game:hover .slot-game-art,
.slot-game:focus-visible .slot-game-art {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(162, 77, 255, .5), 0 14px 28px rgba(122, 61, 255, .22);
}

.slot-empty {
  margin: 28px 0 8px;
  color: #9b8ec4;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 980px) {
  .modal-root[data-open="slot"] {
    padding: 10px;
    align-items: stretch;
    justify-items: stretch;
  }
  .modal-root[data-open="slot"] .modal-stack,
  .modal-panel.is-slot-lobby {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .slot-lobby-head { padding: 16px 16px 0; }
  .modal-x.is-slot-x {
    flex-basis: auto;
    width: auto;
    height: 40px;
    padding: 0 12px 0 8px;
    font-size: 12px;
  }
  .slot-search { height: 40px; }
  .slot-lobby-body { padding: 16px; }
  .slot-dir h2 { font-size: 26px; }
  .slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot-game-art strong { font-size: 13px; }
  .slot-prov-wrap {
    margin-top: 12px;
    padding-bottom: 12px;
  }
  /* 5열 고정 그리드 제거 — 긴 공급사명이 옆/아래 칩과 겹치던 원인 */
  .slot-provs {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    max-height: 128px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
  }
  .slot-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: calc(50% - 4px);
    min-width: 0;
    height: auto;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .slot-chip.is-slot-fold {
    max-width: none;
    height: auto;
    min-height: 36px;
    font-size: 12px;
  }
  .slot-provs:not(.is-open) .slot-chip[data-slot-prov]:nth-child(n+10) { display: none; }
  .slot-provs:not(.is-open) .slot-chip.is-more { display: inline-flex; }
  .slot-provs.is-open .slot-chip.is-less { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .slot-game-art,
  .slot-chip {
    transition: none;
  }
  .slot-game:hover .slot-game-art,
  .slot-game:focus-visible .slot-game-art {
    transform: none;
  }
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: auto;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 6px 0 2px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.modal-x svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.modal-panel.is-bypass {
  flex-direction: column;
  align-items: center;
  max-height: min(92vh, 860px);
  padding: 16px 22px 22px;
  overflow: auto;
  background:
    radial-gradient(ellipse 80% 36% at 50% 0%, rgba(122, 61, 255, .34), transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(77, 125, 255, .05) 52px 53px),
    linear-gradient(180deg, #141228 0%, #0a0818 42%, #070716 100%);
  box-shadow:
    0 0 0 1px rgba(162, 77, 255, .5),
    0 0 40px rgba(122, 61, 255, .22),
    0 24px 60px rgba(0, 0, 0, .55);
}

.modal-panel.is-bypass .modal-x {
  position: sticky;
  top: 8px;
  align-self: flex-end;
  z-index: 3;
  width: 32px;
  min-width: 32px;
  padding: 0;
  margin: 0 -6px 0 auto;
}

.bp-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 18px;
}

.bp-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.bp-word {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.bp-word em {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
}

.bp-word strong {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}

.bp-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-align: center;
}

.bp-lead {
  margin: 0 0 20px;
  color: #c9c6d8;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.bp-list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.bp-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid rgba(162, 77, 255, .55);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(122, 61, 255, .16), rgba(7, 7, 22, .88));
  box-shadow:
    0 0 0 1px rgba(181, 107, 255, .12),
    0 0 18px rgba(122, 61, 255, .28);
  color: #fff;
  text-decoration: none;
}

.bp-link span {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.bp-link b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #f4f6ff;
}

.bp-link b svg,
.bp-ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.bp-link:hover,
.bp-link:focus-visible {
  filter: brightness(1.08);
}

.bp-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: rgba(12, 10, 24, .75);
  color: #e9d5ff;
  box-shadow: 0 0 0 1px rgba(162, 77, 255, .35);
}

.bp-ico.is-globe { color: #c4b5fd; }
.bp-ico.is-shield { color: #93c5fd; }
.bp-ico.is-lock {
  color: #93c5fd;
  box-shadow: 0 0 0 1px rgba(77, 125, 255, .45), 0 0 12px rgba(77, 125, 255, .28);
}

.bp-note {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(77, 125, 255, .28);
  border-radius: 12px;
  background: rgba(10, 8, 22, .72);
}

.bp-note p {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
}

.bp-note strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.bp-note span {
  color: #9b95b5;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .modal-root[data-open="bypass"] .modal-stack {
    width: min(400px, 100%);
  }
  .modal-panel.is-bypass {
    padding: 12px 16px 18px;
  }
  .bp-title { font-size: 20px; }
  .bp-link { min-height: 52px; }
  .bp-link span { font-size: 14px; }
}

.modal-title {
  margin: 28px 0 22px;
  color: #d946ef;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -.02em;
}

.modal-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 22px 48px 20px 22px;
  background:
    radial-gradient(ellipse at 14% 50%, rgba(0, 230, 255, .42), transparent 52%),
    radial-gradient(ellipse at 88% 18%, rgba(177, 77, 255, .38), transparent 48%),
    linear-gradient(90deg, #07101c 0%, #101428 55%, #0c1022 100%);
  overflow: hidden;
}

.modal-hero::before,
.modal-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 255, .7), rgba(177, 77, 255, .7), transparent);
  opacity: .7;
  pointer-events: none;
}

.modal-hero::before { top: 18%; }
.modal-hero::after { bottom: 22%; transform: scaleX(.92); }

.modal-hero-mark {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5ef2ff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
  text-shadow: 0 0 10px #2ee0ff, 0 0 28px #2ee0ff, 0 0 48px rgba(46, 224, 255, .7);
  white-space: nowrap;
}

.modal-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.modal-hero-copy h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.modal-hero-copy p {
  margin: 0;
  color: #e8eaf6;
  font-size: 14px;
  font-weight: 500;
}

.modal-form {
  padding: 22px 28px 26px;
}

.modal-panel.is-login .modal-form {
  padding-top: 0;
}

.modal-label {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.modal-label i {
  color: #ff4d4f;
  font-style: normal;
  font-weight: 800;
}

.modal-form .modal-label + .modal-field {
  margin-bottom: 16px;
}

.modal-field {
  position: relative;
}

.modal-field input,
.modal-field select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #a855f7;
  border-radius: 6px;
  background: #12121f;
  color: #fff;
  font: inherit;
  outline: none;
  appearance: none;
}

.modal-field input::placeholder {
  color: #8b849c;
}

.modal-field input:focus,
.modal-field select:focus {
  border-color: #d946ef;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .18);
}

.modal-field:has(.modal-eye) input {
  padding-right: 44px;
}

.modal-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #cfc7e0;
  transform: translateY(-50%);
}

.modal-eye svg {
  width: 18px;
  height: 18px;
}

.modal-field .ico-eye { display: none; }
.modal-field.is-shown .ico-eye { display: block; }
.modal-field.is-shown .ico-eye-off { display: none; }

.modal-field.is-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.modal-field.is-select select {
  padding-right: 36px;
}

.modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 18px;
}

.modal-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.modal-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.modal-check-ui {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #12121f;
  box-shadow: inset 0 0 0 1.5px #a855f7;
}

.modal-check input:checked + .modal-check-ui {
  background: #a855f7;
  box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2 6.6 11.2 12.5 4.8'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.modal-link {
  color: #d946ef;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.modal-submit {
  display: grid;
  place-items: center;
  width: 100%;
  height: 46px;
  margin: 4px 0 16px;
  border: 0;
  border-radius: 8px;
  background: #4263eb;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.modal-submit:hover,
.modal-submit:focus-visible {
  filter: brightness(1.08);
}

.modal-foot {
  margin: 0;
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.modal-switch {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-switch.is-plain {
  font-weight: 700;
  text-decoration: none;
}


.event.is-on .event-face {
  filter: drop-shadow(0 0 10px rgba(162, 77, 255, .45));
}

.promo-page {
  min-height: calc(100vh - 128px);
  padding: 36px 70px 80px;
  background: #070716;
}

.promo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 28px;
}

.promo-tab {
  min-width: 118px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid #8b5cf6;
  border-radius: 999px;
  background: #12101c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  transition: background .18s ease, box-shadow .18s ease, filter .18s ease;
}

.promo-tab:hover,
.promo-tab:focus-visible {
  filter: brightness(1.12);
}

.promo-tab.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #b56bff 0%, #6d28d9 100%);
  box-shadow: 0 8px 18px rgba(139, 92, 246, .35);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promo-card[hidden] {
  display: none !important;
}

.promo-card {
  position: relative;
  display: block;
  min-height: 228px;
  overflow: hidden;
  border: 1px solid #a855f7;
  background: #12081f;
  color: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.promo-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 6, 18, .78) 0%, rgba(7, 6, 18, .35) 42%, rgba(7, 6, 18, .08) 70%, transparent 100%);
}

.promo-card:hover {
  transform: translateY(-5px);
  border-color: #d8b4fe;
  box-shadow: 0 16px 32px rgba(122, 45, 255, .28), 0 0 0 1px rgba(216, 180, 254, .25);
}

.promo-card-in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 74%;
  min-height: 228px;
  padding: 22px 22px 20px;
}

.promo-date {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(37, 99, 235, .72);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.promo-card-in b {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.promo-card-in span {
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.promo-prize {
  margin-top: auto;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.promo-empty {
  margin: 48px 0 0;
  color: #c9c6d8;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.promo-tabs:has(+ .promo-subtabs:not([hidden])),
.promo-tabs:has(~ .promo-ruletabs:not([hidden])) {
  margin-bottom: 12px;
}

.promo-subtabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
}

.promo-ruletabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
  scroll-margin-top: 88px;
}

.promo-subtabs[hidden],
.promo-ruletabs[hidden],
.promo-grid[hidden],
.promo-detail[hidden],
.promo-rules[hidden],
.ed-panel[hidden] {
  display: none !important;
}

.promo-subtab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(139, 92, 246, .42);
  border-radius: 8px;
  background: #0d0c18;
  color: #d8d4ee;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  transition: background .18s ease, box-shadow .18s ease, color .18s ease, filter .18s ease;
}

.promo-subtab:hover,
.promo-subtab:focus-visible {
  filter: brightness(1.12);
}

.promo-subtab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #b56bff 0%, #6d28d9 100%);
  box-shadow: 0 6px 16px rgba(139, 92, 246, .32);
}

.promo-detail,
.promo-rules {
  max-width: 1080px;
  margin: 0 auto;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
}

.promo-detail p,
.promo-rules p {
  margin: 0 0 10px;
  color: #f3f4ff;
}

.ed-hero {
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .38);
  border-radius: 14px;
  background: #060714;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .38), 0 0 0 1px rgba(139, 92, 246, .12);
}

.ed-hero img {
  width: 100%;
  height: auto;
}

.ed-lead {
  color: #fff;
  font-weight: 600;
}

.ed-title {
  margin: 28px 0 14px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.3;
  text-shadow: 0 0 10px rgba(196, 181, 253, .55), 0 0 24px rgba(139, 92, 246, .38);
}

.ed-sub {
  margin: 28px 0 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 0 10px rgba(167, 139, 250, .4);
}

.ed-bullets,
.ed-note ul,
.ed-days {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.ed-bullets li,
.ed-note li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 16px;
}

.ed-bullets li::before,
.ed-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  background: #fff;
}

.ed-note ul ul {
  margin: 8px 0 0;
}

.ed-note ul ul li::before {
  width: 4px;
  height: 4px;
  background: #c4b5fd;
}

.ed-days {
  margin: 0 0 8px;
}

.ed-days li {
  margin: 0 0 16px;
}

.ed-days b {
  display: block;
  font-size: 16px;
}

.ed-days span {
  display: block;
  margin-top: 4px;
  color: #e7e5f5;
  font-weight: 500;
}

.ed-note {
  margin: 28px 0;
  padding: 22px 24px 18px;
  border: 1px solid #7c5cff;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 16, 36, .96), rgba(10, 10, 22, .96));
  box-shadow: 0 0 0 1px rgba(124, 92, 255, .16), 0 0 22px rgba(124, 92, 255, .28);
}

.ed-note h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.ed-note h3 i {
  position: relative;
  width: 18px;
  height: 16px;
  flex: 0 0 18px;
}

.ed-note h3 i::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.ed-note h3 i::after {
  content: "!";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #0b0c1b;
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.ed-note.is-warn {
  text-align: center;
}

.ed-note.is-warn h3 {
  justify-content: center;
  margin-bottom: 8px;
  font-size: 22px;
}

.ed-note.is-warn p {
  margin: 0;
  font-weight: 600;
}

.ed-spec {
  display: grid;
  gap: 12px;
}

.ed-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.ed-row span {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 500;
}

.ed-row i {
  flex: 1 1 auto;
  min-width: 24px;
  border-bottom: 1px dotted rgba(148, 187, 255, .42);
  transform: translateY(-5px);
}

.ed-row b {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.02em;
}

.ed-hint {
  margin: -4px 0 0;
  color: #c9c6d8;
  font-size: 13px;
  text-align: right;
}

.ed-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 48px;
  margin-top: 12px;
}


.site-foot {
  position: relative;
  z-index: 4;
  margin-top: 8px;
  padding: 0 70px 28px;
  background: #070716;
  border-top: 1px solid rgba(140, 44, 240, .28);
}

.foot-pay {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 72px;
}

.foot-pay-btn {
  flex: 0 0 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.foot-pay-view {
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.foot-pay-track {
  display: flex;
  align-items: center;
  gap: 46px;
  width: max-content;
  color: #fff;
  will-change: auto;
}

.foot-pay-track.is-moving {
  will-change: transform;
}

.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 118px;
  height: 44px;
  color: #fff;
  opacity: .94;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .03em;
  white-space: nowrap;
}

.pay-logo svg {
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
}

.pay-logo.is-pago {
  gap: 0;
  font-style: italic;
  font-weight: 900;
  letter-spacing: .04em;
}
.pay-logo.is-pago b {
  padding: 3px 7px 2px;
  border: 1.6px solid #fff;
  border-radius: 2px;
}
.pay-logo.is-pago em {
  margin-left: 4px;
  font-style: italic;
}

.pay-logo.is-safe {
  font-family: Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.02em;
}

.pay-logo.is-ripple {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
.pay-logo.is-ripple svg { width: 22px; height: 22px; }

.pay-logo.is-eth {
  flex-direction: column;
  gap: 1px;
  font-weight: 500;
}
.pay-logo.is-eth svg { width: 18px; height: 18px; }
.pay-logo.is-eth em { font-size: 10px; letter-spacing: .08em; }

.pay-logo.is-btc {
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
}
.pay-logo.is-btc svg { width: 22px; height: 22px; }

.pay-logo.is-mc {
  position: relative;
  gap: 0;
  font-size: 11px;
  letter-spacing: .01em;
}
.pay-logo.is-mc i {
  width: 18px;
  height: 18px;
  border: 1.6px solid #fff;
  border-radius: 50%;
}
.pay-logo.is-mc i + i { margin-left: -7px; }
.pay-logo.is-mc em {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  font-weight: 800;
}

.pay-logo.is-skrill {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.pay-logo.is-visa {
  font-style: italic;
  font-weight: 900;
  letter-spacing: .18em;
}

.pay-logo.is-bank {
  flex-direction: column;
  gap: 2px;
}
.pay-logo.is-bank svg { width: 22px; height: 22px; }
.pay-logo.is-bank em { font-size: 8px; letter-spacing: .08em; }

.pay-logo.is-astro {
  flex-direction: column;
  gap: 3px;
  font-size: 16px;
}
.pay-logo.is-astro em {
  padding: 0 8px;
  border: 1.4px solid #fff;
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: .08em;
}

.pay-logo.is-directa {
  flex-direction: column;
  gap: 0;
  font-size: 16px;
  font-weight: 800;
}
.pay-logo.is-directa svg { width: 34px; height: 10px; }

.pay-logo.is-much { font-size: 16px; }
.pay-logo.is-much b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid #fff;
  border-radius: 4px;
  font-size: 12px;
}

.pay-logo.is-jeton { font-size: 18px; }
.pay-logo.is-jeton svg { width: 20px; height: 20px; }

.pay-logo.is-voucher {
  position: relative;
  min-width: 128px;
  letter-spacing: .16em;
  font-size: 13px;
}
.pay-logo.is-voucher svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 32px;
  padding: 28px 8px 36px;
}

.foot-col h3 {
  margin: 0 0 14px;
  color: #e879f9;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 0 10px rgba(232, 121, 249, .7);
}

.foot-col a {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.foot-col a:hover {
  color: #e9d5ff;
}

.foot-corp {
  max-width: 1080px;
  margin: 28px auto 16px;
  padding: 0 12px;
  color: #9aa3b8;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
}

.foot-legal {
  max-width: 980px;
  margin: 0 auto 28px;
  color: #eceaf6;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
}

.foot-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.foot-sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-sns a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  color: #fff;
}

.foot-sns svg {
  width: 14px;
  height: 14px;
}

.foot-copy {
  text-align: center;
}

.foot-copy p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.foot-powered {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px !important;
  color: #d6d3e8 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.foot-powered img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.foot-powered b {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.foot-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.foot-marks {
  display: flex;
  align-items: center;
  gap: 18px;
}

.foot-age {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

.foot-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.foot-mark.is-juve,
.foot-mark.is-madrid,
.foot-mark.is-serie {
  width: 34px;
  height: 44px;
}

.foot-seal {
  display: block;
  width: 40px;
  height: 52px;
}

.foot-seal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


@media (max-width: 1180px) {
  .topbar {
    z-index: 190;
  }
  body.is-pops .topbar {
    z-index: 40;
  }
  .topbar-inner {
    display: flex;
    grid-template-columns: none;
    gap: 10px 12px;
    padding: 0 12px 0 16px;
  }
  .brand { order: 1; }
  .top-utils {
    display: contents;
  }
  .topbar-inner > .ticker { order: 2; flex: 1; }
  .top-utils .lang {
    order: 3;
    margin-left: auto;
  }
  .top-utils .util-tg { order: 4; }
  .top-utils .auth.is-login { order: 5; }
  .top-utils .auth.is-join,
  .top-utils .sess { order: 6; }
  .top-utils .util-bypass { order: 7; }
  .nav-toggle {
    order: 8;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav-toggle-bars {
    position: relative;
    width: 22px;
    height: 15px;
  }
  .nav-toggle-bars i {
    position: absolute;
    left: 50%;
    height: 2.4px;
    border-radius: 999px;
    background: #c26cff;
    box-shadow: 0 0 7px rgba(194, 108, 255, .9);
    transform: translateX(-50%);
    transition:
      top .34s cubic-bezier(.22, 1, .36, 1),
      width .34s cubic-bezier(.22, 1, .36, 1),
      transform .34s cubic-bezier(.22, 1, .36, 1),
      opacity .2s ease;
  }
  .nav-toggle-bars i:nth-child(1) { top: 0; width: 13px; }
  .nav-toggle-bars i:nth-child(2) { top: 6.3px; width: 22px; }
  .nav-toggle-bars i:nth-child(3) { top: 12.6px; width: 13px; }
  body.is-nav .nav-toggle-bars i:nth-child(1) {
    top: 6.3px;
    width: 22px;
    transform: translateX(-50%) rotate(45deg);
  }
  body.is-nav .nav-toggle-bars i:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(.15);
  }
  body.is-nav .nav-toggle-bars i:nth-child(3) {
    top: 6.3px;
    width: 22px;
    transform: translateX(-50%) rotate(-45deg);
  }
  .nav {
    position: fixed;
    top: var(--topbar-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 180;
    height: auto;
    overflow: hidden;
    border: 0;
    box-shadow: none;
    background: transparent;
    pointer-events: none;
  }
  .nav-inner {
    height: 100%;
    padding: 0;
    overflow: hidden;
  }
  .nav-dim {
    display: block;
    position: fixed;
    top: var(--topbar-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 170;
    background: rgba(0, 0, 0, .78);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .nav-dim[hidden] { display: block; }
  body.is-nav .nav-dim {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 180;
    width: min(320px, 86vw);
    overflow: auto;
    background:
      linear-gradient(180deg, rgba(162, 77, 255, .12), transparent 120px),
      #0b0c16;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
    transform: translateY(-105%);
    transition: transform .32s cubic-bezier(.22, .8, .24, 1);
    pointer-events: auto;
  }
  body.is-nav .nav-panel {
    transform: none;
  }
  .event {
    order: -1;
    width: calc(100% - 28px);
    min-width: 0;
    height: auto;
    margin: 14px 14px 8px;
    padding: 0;
    justify-content: center;
  }
  .event-face {
    width: min(100%, 420px);
    height: auto;
  }
  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
    padding: 6px 0 28px;
  }
  .menu li {
    width: 100%;
  }
  .menu a {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    justify-content: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(140, 44, 240, .16);
    font-size: 15px;
  }
  .menu a:hover,
  .menu a:focus-visible {
    background: rgba(162, 77, 255, .12);
  }
  .ico-broadcast {
    position: static;
    transform: none;
    order: 1;
    flex: 0 0 24px;
    width: 24px;
    height: 15px;
    filter: drop-shadow(0 0 5px rgba(255, 45, 58, .75));
  }
  .new {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin-left: 6px;
  }
  body.is-nav {
    overflow: hidden;
  }
}

@media (max-width: 980px) {
  :root {
    /* 1행(로고·잔액·햄버거 50px) + 2행(top-dock 58px) — 모바일 드로어 상단 정렬 */
    --topbar-h: 108px;
    --head-ico: 36px;
    --mfoot-h: 72px;
  }
  body {
    padding-bottom: calc(var(--mfoot-h) + env(safe-area-inset-bottom, 0px));
  }
  .topbar {
    background: #0a0c12;
  }
  .topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 0;
    gap: 0 6px;
  }
  .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 168px); /* 잔액/로그인+햄버거 자리 확보 */
    margin-right: auto;
    padding: 8px 0 8px 12px;
    line-height: 0;
  }
  .brand .brand-logo {
    display: block;
    height: 34px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }
  .brand .brand-mark {
    display: none;
  }
  .topbar-inner > .ticker {
    display: none;
  }
  .ticker-slot {
    display: block;
    padding: 8px 16px 10px;
    background: #050505;
  }
  .ticker-below {
    display: flex;
    order: 0;
    flex: none;
    align-self: stretch;
    width: 100%;
    max-width: none;
    height: 38px;
    margin: 0;
    padding: 0 8px;
    gap: 7px;
  }
  .top-utils {
    display: contents;
  }
  .top-utils .auth.is-login {
    order: 2;
    margin-left: 0;
    flex-shrink: 0;
  }
  .top-utils .auth.is-join,
  .top-utils .sess {
    order: 3;
    flex-shrink: 0;
  }
  .nav-toggle {
    order: 4;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 4px;
  }
  .nav-toggle-bars {
    width: 20px;
    height: 16px;
  }
  .nav-toggle-bars i {
    height: 2.6px;
    background: linear-gradient(90deg, #7eb6ff, #c56dff 70%, #e040fb);
    box-shadow: 0 0 8px rgba(194, 108, 255, .95);
  }
  .nav-toggle-bars i:nth-child(1),
  .nav-toggle-bars i:nth-child(2),
  .nav-toggle-bars i:nth-child(3) {
    width: 20px;
  }
  .nav-toggle-bars i:nth-child(1) { top: 0; }
  .nav-toggle-bars i:nth-child(2) { top: 6.7px; }
  .nav-toggle-bars i:nth-child(3) { top: 13.4px; }
  .top-dock {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    order: 5;
    flex: 1 0 100%;
    width: 100%;
    min-height: 58px;
    position: relative;
    overflow: visible;
  }
  .top-dock::before,
  .top-dock::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, #3b9bff 0%, #6e6aff 46%, #e040fb 100%);
    box-shadow:
      0 0 8px rgba(59, 155, 255, .55),
      0 0 14px rgba(224, 64, 251, .42);
  }
  .top-dock::before { top: 0; }
  .top-dock::after { bottom: 0; }
  .top-dock > * {
    position: relative;
    min-width: 0;
  }
  .top-dock .util-bypass { order: 1; }
  .top-dock .util-tg { order: 2; }
  .top-dock .lang { order: 3; }
  .top-dock > * + *::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: rgba(210, 214, 230, .28);
    pointer-events: none;
  }
  .top-dock .util,
  .top-dock .lang-toggle {
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 8px 6px 8px 8px;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -.04em;
  }
  .top-dock .util-label,
  .top-dock .lang-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    width: 4.6em;
    white-space: normal;
    line-height: 1.22;
    word-break: keep-all;
  }
  .top-dock .lang-copy {
    width: auto;
    white-space: nowrap;
  }
  .top-dock .util-sub {
    display: block;
  }
  .top-dock .util-desk {
    display: none;
  }
  .top-dock .util-mob {
    display: block;
  }
  .top-dock .util-bypass .util-sub {
    display: none;
  }
  .top-dock .util-bypass .util-label {
    justify-content: center;
  }
  .top-dock .util-ico {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }
  .top-dock .util-ico svg {
    width: 26px;
    height: 26px;
  }
  .top-dock .tg-mark {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }
  .top-dock .lang {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }
  .top-dock .lang-toggle {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    min-height: 58px;
  }
  .top-dock .lang-ring {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }
  .top-dock .lang-disc {
    width: 22px;
    height: 22px;
  }
  .shell { width: calc(100% - 24px); }
  .auth,
  .sess-bal,
  .sess-avatar {
    height: 32px;
  }
  .auth.is-login,
  .auth.is-join {
    min-width: 70px;
    padding: 0 11px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
  }
  .auth.is-login {
    border-color: #3d9bff;
    box-shadow: 0 0 10px rgba(61, 155, 255, .55);
  }
  .auth.is-join {
    border-color: #c040fb;
    box-shadow: 0 0 10px rgba(192, 64, 251, .55);
  }
  .hero { padding: 12px 16px 8px; }
  .hot { padding: 8px 10px 20px; }
  .hits { padding: 0 10px 20px; }
  .hits:last-of-type { padding-bottom: 36px; }
  .lobby { padding: 4px 10px 32px; }
  .hits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hits-grid.is-live { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hits-grid.is-slot { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hits-grid.is-sports { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero,
  .hot,
  .hits,
  .lobby,
  .site-foot,
  .stage,
  .liveboard,
  .hot-inner,
  .lobby-inner {
    max-width: 100%;
    min-width: 0;
  }
  .hot-bar,
  .hot-tabs {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  .lobby-tabs {
    gap: 6px;
    padding: 6px;
  }
  .lobby-tab {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 86px;
    padding: 10px 6px 12px;
    font-size: 13px;
    letter-spacing: -.04em;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
  }
  .lobby-ico {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }
  .prov-row,
  .prov-chip {
    overflow: visible;
  }
  .prov-tag {
    top: -6px;
    right: 2px;
  }
  .site-foot { padding: 0 10px 24px; }
  .prov-bar { padding: 10px 8px; }
  .prov-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .prov-tools {
    flex-wrap: nowrap;
    width: 100%;
    gap: 6px;
  }
  .prov-reset {
    flex: 0 0 auto;
    padding: 0 10px;
  }
  .prov-search {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
  .prov-more { flex: 0 0 auto; }
  .prov-all {
    flex-direction: column;
    min-width: 0;
    padding: 4px 2px;
    font-size: 12px;
    line-height: 1.15;
    letter-spacing: -.04em;
  }
  .prov-row.is-casino {
    grid-template-columns: minmax(72px, 1fr) repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(4, 44px);
  }
  .prov-row.is-slot {
    grid-template-columns: minmax(72px, 1fr) repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(8, 44px);
  }
  .prov-row.is-slot .prov-all {
    grid-row: 1;
  }
  .stage { grid-template-columns: 1fr; }
  .dock { display: none; }
  .to-top {
    top: auto;
    right: 22px;
    bottom: 98px;
    width: 64px;
    height: 64px;
  }
  .hot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hot-chip-in { padding: 0 12px; font-size: 12px; }
  .hot-chip.is-title .hot-chip-in { font-size: 13px; padding: 0 14px 0 16px; }
  .promo-page { padding: 24px 24px 48px; }
  .site-foot { padding: 0 10px 24px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-card-in b, .promo-prize { font-size: 18px; }
  .ed-title { font-size: 24px; }
  .ed-cols { gap: 28px 28px; }
  .modal-form { padding: 18px 18px 22px; }
  .modal-hero-mark { font-size: 28px; }
}

@media (max-width: 680px) {
  :root {
    --topbar-h: 102px;
  }

  .auth {
    min-width: 68px;
    padding: 0 10px;
    font-size: 12px;
  }
  .sess-bal { padding: 0 8px 0 6px; }
  .sess-avatar { width: var(--head-ico); }
  .sess-krw b { font-size: 10px; }
  .topbar-inner { padding: 0; gap: 0 4px; }
  .brand {
    max-width: calc(100% - 152px);
    padding: 7px 0 7px 10px;
  }
  .brand .brand-logo {
    height: 30px;
  }
  .nav-toggle {
    width: 36px;
    height: 36px;
    margin-right: 2px;
  }
  .hero {
    padding: 12px 12px 8px;
  }
  .ticker-slot {
    padding: 8px 12px 10px;
  }
  .stage {
    grid-template-columns: 1fr;
  }
  .stage-promo {
    height: auto;
    min-height: 0;
    aspect-ratio: 1024 / 366;
  }
  .stat-box strong { font-size: 22px; }
  .hot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hits-grid.is-live { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hits-grid.is-slot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hits-grid.is-sports { grid-template-columns: 1fr; }
  .sport-copy { width: 70%; padding: 24px 16px 24px 28px; }
  .sport-copy strong { font-size: 24px; }
  .sport-copy em { font-size: 13px; }
  .lobby-tabs { gap: 5px; padding: 5px; }
  .lobby-tab {
    min-height: 80px;
    padding: 8px 2px 10px;
    font-size: 12px;
    gap: 5px;
  }
  .lobby-ico { width: 30px; height: 30px; flex-basis: 30px; }
  .hot { padding: 8px 8px 16px; }
  .hits { padding: 0 8px 16px; }
  .lobby { padding: 4px 8px 28px; }
  .prov-bar { padding: 10px 6px; }
  .prov-tools { flex-wrap: nowrap; width: 100%; gap: 6px; }
  .prov-reset { flex: 0 0 auto; padding: 0 10px; font-size: 12px; }
  .prov-search { flex: 1 1 auto; width: auto; min-width: 0; }
  .prov-more { flex: 0 0 auto; }
  .prov-chip { width: calc(50% - 8px); }
  .prov-chip.is-slot-more,
  .hits-card.is-slot-grid-more:not(.is-hide) { display: grid; }
  .prov-row.is-casino {
    grid-template-columns: minmax(64px, 1fr) repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(5, 38px);
  }
  .prov-row.is-casino .prov-chip { width: auto; }
  .prov-row.is-slot {
    grid-template-columns: minmax(64px, 1fr) repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(3, 38px);
  }
  .prov-row.is-slot .prov-all { grid-row: 1; }
  .prov-row.is-slot .prov-chip { width: auto; }
  .prov-row.is-slot > .prov-chip:nth-child(n+14) { display: none; }
  .prov-bar.is-slot-open .prov-row.is-slot {
    grid-template-rows: repeat(13, 38px);
  }
  .prov-bar.is-slot-open .prov-row.is-slot .prov-all { grid-row: 1; }
  .prov-bar.is-slot-open .prov-row.is-slot > .prov-chip:nth-child(n+14) { display: grid; }
  .prov-bar.is-slot-open .prov-chip.is-slot-more { order: 40; }
  .hits-grid.is-slot > .hits-card:nth-child(n+13) { display: none; }
  .hits-grid.is-slot.is-slot-open > .hits-card:nth-child(n+13) { display: block; }
  .hits-grid.is-slot.is-slot-open > .hits-card.is-slot-grid-more { order: 40; }
  .hot-tabs { gap: 6px; overflow: auto; }
  .hot-bar { gap: 6px; overflow: auto; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-card-in { max-width: 86%; }
  .promo-tabs { gap: 8px; }
  .promo-tab { min-width: 0; flex: 1 1 auto; padding: 0 12px; font-size: 14px; }
  .promo-subtabs,
  .promo-ruletabs { gap: 6px; margin-bottom: 20px; }
  .promo-subtab { flex: 1 1 auto; min-height: 38px; padding: 0 10px; font-size: 13px; }
  .ed-title { font-size: 22px; }
  .ed-note { padding: 16px 14px 12px; }
  .ed-cols { grid-template-columns: 1fr; gap: 22px; }
  .ed-hint { text-align: left; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-bar { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .foot-sns, .foot-meta { justify-content: center; }
  .foot-marks { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .foot-age { font-size: 24px; }
}

.livechat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

body.is-modal .livechat {
  visibility: hidden;
  pointer-events: none;
}

.livechat-pop {
  width: min(408px, calc(100vw - 36px));
  transform-origin: 100% 100%;
}

.livechat-pop[hidden] { display: none; }

.livechat.is-open .livechat-pop {
  display: block;
  animation: livechat-in .28s cubic-bezier(.18,.86,.24,1);
}

.livechat-tools {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0;
}

.livechat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin-left: 14px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
  transform: translateY(-50%);
}

.livechat-pill img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: transparent;
}

.livechat-pill b {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.livechat-x {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  transform: translateY(-50%);
}

.livechat-x svg { width: 16px; height: 16px; }

.livechat-x:hover,
.livechat-x:focus-visible {
  filter: brightness(.94);
}

.livechat-card {
  overflow: hidden;
  border-radius: 26px;
  background: #f3f3f3;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
}

.livechat-hero {
  display: block;
  width: 100%;
  height: 188px;
  object-fit: cover;
  object-position: center;
}

.livechat-copy {
  padding: 18px 22px 22px;
  color: #171717;
  text-align: center;
}

.livechat-copy h3 {
  margin: 0 0 10px;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.livechat-sub {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
}

.livechat-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.livechat-copy li {
  margin: 4px 0;
  font-size: 19px;
  font-weight: 700;
}

.livechat-warn {
  margin: 14px 0 0;
  color: #3a3a3a;
  font-size: 16px;
  font-weight: 700;
}

.livechat-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #9b5cff, #7a3dff);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(122, 61, 255, .28);
}

.livechat-go:hover,
.livechat-go:focus-visible {
  filter: brightness(1.08);
}

.livechat-fab {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .38);
  animation: livechat-fab .7s cubic-bezier(.18,.86,.24,1) both;
}

.livechat-fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.livechat-fab:hover,
.livechat-fab:focus-visible {
  transform: translateY(-2px) scale(1.04);
}

@keyframes livechat-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: none; }
}

@keyframes livechat-fab {
  from { opacity: 0; transform: translateY(12px) scale(.8); }
}

@media (max-width: 980px) {
  .livechat-pop {
    width: min(326px, calc((100vw - 36px) * 0.8));
  }
  .livechat-card {
    border-radius: 21px;
  }
  .livechat-hero {
    height: 150px;
  }
  .livechat-copy {
    padding: 14px 18px 18px;
  }
  .livechat-copy h3 {
    margin: 0 0 8px;
    font-size: 25px;
  }
  .livechat-sub {
    margin: 0 0 10px;
    font-size: 15px;
  }
  .livechat-copy li {
    font-size: 15px;
  }
  .livechat-warn {
    margin: 11px 0 0;
    font-size: 13px;
  }
  .livechat-go {
    height: 40px;
    margin-top: 11px;
    border-radius: 8px;
    font-size: 14px;
  }
  .livechat-pill {
    height: 29px;
    gap: 6px;
    margin-left: 11px;
    padding: 0 11px 0 5px;
  }
  .livechat-pill img {
    width: 22px;
    height: 22px;
  }
  .livechat-pill b {
    font-size: 13px;
  }
  .livechat-x {
    width: 29px;
    height: 29px;
    margin-right: 6px;
  }
  .livechat-x svg {
    width: 13px;
    height: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .livechat.is-open .livechat-pop,
  .livechat-fab {
    animation: none;
  }
}

body.is-pops { overflow: hidden; }

.notice-pops {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: grid;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 28px 20px;
}

.notice-pops[hidden] { display: none !important; }

.notice-pops-dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(40, 22, 72, .35), transparent 58%),
    rgba(4, 2, 10, .78);
}

.notice-pops-row {
  --pop-w: 383px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  width: max-content;
  max-width: min(1400px, calc(100vw - 40px));
}

.notice-pop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: var(--pop-w);
  flex: 0 0 var(--pop-w);
  max-width: 100%;
  min-width: 0;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity .38s ease,
    transform .42s cubic-bezier(.55, 0, 1, .45);
  will-change: transform, opacity;
}

.notice-pop.is-closing {
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

.notice-pop[hidden] { display: none !important; }

.notice-pop-x {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .55));
}

.notice-pop-x svg { width: 22px; height: 22px; }

.notice-pop-x:hover,
.notice-pop-x:focus-visible {
  color: #d7c8ff;
}

.notice-pop-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #7a3dff;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(28, 22, 46, .94) 0%, rgba(10, 8, 18, .98) 100%);
  box-shadow:
    0 0 0 1px rgba(122, 61, 255, .12),
    0 22px 48px rgba(0, 0, 0, .48),
    inset 0 1px 0 rgba(255, 255, 255, .04);
}

.notice-pop-card:hover,
.notice-pop-card:focus-visible {
  border-color: #9b5cff;
  filter: brightness(1.04);
}

.notice-pop-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(122, 61, 255, .2), transparent 56%),
    radial-gradient(ellipse at 80% 90%, rgba(77, 125, 255, .1), transparent 46%),
    linear-gradient(180deg, #1c1730 0%, #0c0a14 100%);
  box-shadow: inset 0 -1px 0 rgba(122, 61, 255, .28);
}

.notice-pop-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.notice-pop-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 16px 18px 18px;
  text-align: center;
}

.notice-pop-copy h3,
.notice-pop-copy p {
  overflow: hidden;
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.notice-pop-copy h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.35;
}

.notice-pop-copy p {
  color: #7ee8ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
}

.notice-pop-more {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-top: auto;
  border-radius: 8px;
  background: linear-gradient(90deg, #4d7dff 0%, #7a3dff 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(122, 61, 255, .32);
}

.notice-pop-more:hover,
.notice-pop-more:focus-visible {
  filter: brightness(1.08);
}

.notice-pop-today {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(162, 77, 255, .38);
  border-radius: 4px;
  background: rgba(8, 6, 16, .72);
  color: #d7d4e6;
  font-size: 13px;
  font-weight: 700;
}

.notice-pop-today:hover,
.notice-pop-today:focus-visible {
  border-color: #9b5cff;
  color: #fff;
}

@media (max-width: 980px) {
  .notice-pops {
    z-index: 220;
    place-items: center;
    overflow: auto;
    padding: 20px 12px;
  }
  .notice-pops-dim {
    background: rgba(0, 0, 0, .84);
  }
  .notice-pops-row {
    --pop-w: 345px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0;
    width: min(var(--pop-w), calc((100vw - 24px) * 0.9));
    max-width: min(var(--pop-w), calc((100vw - 24px) * 0.9));
    transform: none;
  }
  .notice-pop {
    grid-area: 1 / 1;
    width: 100%;
    flex: none;
  }
  .notice-pop:nth-child(1) { z-index: 3; }
  .notice-pop:nth-child(2) { z-index: 2; }
  .notice-pop:nth-child(3) { z-index: 1; }
}

@keyframes mfoot-wash {
  0%, 100% { opacity: .42; transform: translate(-50%, -50%) scale(.88); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes mfoot-sweep {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes mfoot-core {
  0%, 100% { opacity: .5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.22); }
}
@keyframes mfoot-ping {
  0% { opacity: .8; transform: translate(-50%, -50%) scale(.42); }
  72% { opacity: .12; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.7); }
}

@media (prefers-reduced-motion: reduce) {
  .notice-pop-more { box-shadow: none; }
  .nav-toggle-bars i { transition: none; }
  .m-foot-fx-wash,
  .m-foot-fx-sweep,
  .m-foot-fx-core,
  .m-foot-fx-ping {
    animation: none;
  }
}

.m-foot {
  display: none;
}

@media (max-width: 980px) {
  .m-foot {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 160;
    height: calc(var(--mfoot-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    overflow: visible;
    background: #05050c;
    border-top: 2px solid #d498ee;
    box-shadow: 0 -2px 10px rgba(212, 152, 238, .42);
  }
  .m-foot-art {
    display: none;
  }
  .m-foot-hit {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: var(--mfoot-h);
  }
  .m-foot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: 100%;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    box-shadow: none;
    position: relative;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
  }
  .m-foot-item + .m-foot-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: linear-gradient(180deg, rgba(180, 140, 220, .08), rgba(180, 140, 220, .55) 50%, rgba(180, 140, 220, .08));
    box-shadow: 0 0 6px rgba(168, 96, 230, .28);
    pointer-events: none;
  }
  .m-foot-item:focus-visible {
    outline: 2px solid #c678ff;
    outline-offset: -4px;
  }
  .m-foot-ico {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #fff;
  }
  .m-foot-item svg {
    display: block;
    width: 28px;
    height: 28px;
  }
  .m-foot-item > span:not(.m-foot-ico) {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1;
    white-space: nowrap;
    border: 0;
  }
  .m-foot-item.is-on > span:not(.m-foot-ico) {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }
  .m-foot-item.is-menu .m-foot-ico svg {
    width: 24px;
    height: 24px;
  }
  .m-foot-fx {
    display: none;
  }
  .livechat {
    right: 14px;
    bottom: calc(var(--mfoot-h) + 12px + env(safe-area-inset-bottom, 0px));
    z-index: 165;
  }
  .livechat-fab {
    width: 56px;
    height: 56px;
  }
  .to-top {
    right: 14px;
    bottom: calc(var(--mfoot-h) + 80px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
  }
  body.is-pops .m-foot,
  body.is-modal .m-foot {
    z-index: 40;
  }
}

.sg-alert {
  position: fixed;
  top: calc(var(--topbar-h) + 16px);
  left: 50%;
  z-index: 14000;
  min-width: min(420px, calc(100vw - 32px));
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px 42px 14px 20px;
  border-radius: 4px;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  transform: translateX(-50%) translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.sg-alert.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sg-alert::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 4px 0 0 4px;
}

.sg-alert.is-ok {
  background: #2ecc71;
}

.sg-alert.is-ok::before {
  background: #1e8449;
}

.sg-alert.is-err {
  background: #e74c3c;
}

.sg-alert.is-err::before {
  background: #c0392b;
}

.sg-alert strong {
  display: block;
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.sg-alert p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.94);
}

.sg-alert-x {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.sg-alert-x:hover,
.sg-alert-x:focus-visible {
  opacity: .75;
}

.rx-alert {
  position: fixed;
  inset: 0;
  z-index: 14000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.rx-alert[hidden] {
  display: none;
}

.rx-alert-back {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.rx-alert-box {
  position: relative;
  width: min(416px, 100%);
  padding: 32px 32px 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, .08),
    0 3px 6px -4px rgba(0, 0, 0, .12),
    0 9px 28px 8px rgba(0, 0, 0, .05);
  animation: rx-alert-in .2s ease;
}

@keyframes rx-alert-in {
  from {
    opacity: 0;
    transform: scale(.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.rx-alert-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.rx-alert-ico {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
  color: #faad14;
}

.rx-alert-ico svg {
  display: block;
  width: 22px;
  height: 22px;
}

.rx-alert-copy {
  min-width: 0;
  flex: 1;
}

.rx-alert-copy strong {
  display: block;
  color: rgba(0, 0, 0, .88);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.rx-alert-copy p {
  margin: 8px 0 0;
  color: rgba(0, 0, 0, .65);
  font-size: 14px;
  line-height: 1.57;
}

.rx-alert-acts {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}

.rx-alert-btn {
  min-width: 68px;
  height: 32px;
  padding: 0 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.rx-alert-btn.is-ghost {
  border: 1px solid #d9d9d9;
  background: #fff;
  color: rgba(0, 0, 0, .88);
}

.rx-alert-btn.is-ghost:hover,
.rx-alert-btn.is-ghost:focus-visible {
  border-color: #7a3dff;
  color: #7a3dff;
}

.rx-alert-btn.is-danger {
  border: 0;
  background: #ff4d4f;
  color: #fff;
}

.rx-alert-btn.is-danger:hover,
.rx-alert-btn.is-danger:focus-visible {
  background: #ff7875;
}


/* Signal-themed mypage wallet (mp layout) */
html.is-modal,
body.is-modal {
  overflow: hidden;
}

.modal-root[data-open="wallet"]:has(.mp) {
  padding: 0;
}
.modal-root[data-open="wallet"]:has(.mp) .modal-stack {
  width: 85vw;
  height: 85vh;
  max-width: 85vw;
  zoom: 1;
}
.modal-root[data-open="wallet"]:has(.mp) [data-modal="wallet"] {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: none;
  overflow: hidden;
  border: 1px solid #7a3dff;
  background: linear-gradient(180deg, #14122a 0%, #070716 28%, #070716 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .62);
}
@media (max-width: 860px) {
  .modal-root[data-open="wallet"]:has(.mp) {
    align-items: center;
    justify-items: center;
  }
  .modal-root[data-open="wallet"]:has(.mp) .modal-stack {
    width: 95%;
    height: 95%;
    max-width: 95%;
    overflow: hidden;
  }
}
.mp {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  flex: 1;
  color: #f4f6ff;
}

.mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 58px;
  padding: 8px 18px 0 22px;
}

.mp-title {
  margin: 0;
  color: #e9d5ff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.mp-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  flex-shrink: 0;
  gap: 6px;
  margin: 6px 16px 0;
}

.mp-tabs button {
  min-width: 0;
  height: 40px;
  padding: 0 4px;
  border: 1px solid rgba(122, 61, 255, .28);
  border-radius: 7px;
  background: linear-gradient(180deg, #1a1630, #0b0a18);
  color: #c9c6d8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-tabs button.is-on {
  color: #ffffff;
  border-color: #7eb6ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, #7a3dff 0%, #4d7dff 100%);
  box-shadow:
    0 0 0 1px rgba(126, 182, 255, .4),
    0 0 14px rgba(77, 125, 255, .42),
    inset 0 1px 0 rgba(255, 255, 255, .32);
}

.mp-tabs button:hover {
  color: #e9d5ff;
  border-color: rgba(181, 107, 255, .55);
}

.mp-tabs button.is-on:hover {
  color: #ffffff;
  filter: brightness(1.04);
  border-color: #9cc8ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, #7a3dff 0%, #4d7dff 100%);
}

.mp-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  flex: 1;
  padding: 18px 22px 22px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mp-pane[hidden] { display: none !important; }

.mp-pane.is-charge:not([hidden]),
.mp-pane.is-sheet:not([hidden]) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  flex: 1;
  height: auto;
}

.mp-pane.is-charge:not([hidden]) {
  overflow: hidden;
}

.mp-pane.is-sheet .mp-table-wrap {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  min-height: 180px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mp-pane.is-sheet .mp-detail {
  flex: 0 0 auto;
}

.mp-pane.is-sheet .mp-pager {
  flex: 0 0 auto;
}

.inq-acts {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
}

.inq-acts .mp-cta {
  width: 20%;
  flex: 0 0 20%;
  margin: 0;
  background: #7a3dff;
  color: #ffffff;
  box-shadow: none;
}

.inq-acts .mp-cta:hover,
.inq-acts .mp-cta:focus-visible {
  filter: none;
  background: #b56bff;
}

.chg-h {
  margin: 0 0 10px;
  color: #e9d5ff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.mp-body:has(> .mp-pane.is-charge:not([hidden])) {
  padding-top: 8px;
}

.mp-pane.is-charge[data-mp-pane="deposit"],
.mp-pane.is-charge[data-mp-pane="withdraw"] {
  padding-bottom: 8px;
}

/* 입금/출금: 좌측(안내·내역) : 우측(신청) = 5:5 */
.chg {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
  flex: 1 1 0;
  align-self: stretch;
}

.chg-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
}

.chg-col.is-form {
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.chg-col.is-info .mp-table-wrap {
  flex: 1 1 auto;
  margin-top: 0;
  min-height: 0;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.chg-col.is-info > .chg-h,
.chg-col.is-form > .dep-step > .chg-h,
.chg-col.is-form > .chg-h {
  flex: 0 0 auto;
}

.chg-col.is-form .chg-h:not(:first-child) {
  margin-top: 18px;
}

.chg-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.chg-methods.is-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chg-methods.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chg-methods.is-one {
  grid-template-columns: minmax(0, 1fr);
}

.dep-method-empty {
  margin: 0;
  padding: 14px 12px;
  color: #c9c6d8;
  font-size: 13px;
  line-height: 1.5;
  border: 1px dashed rgba(122, 61, 255, .28);
  border-radius: 8px;
  background: rgba(12, 10, 24, .55);
}

.chg-methods button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid rgba(122, 61, 255, .22);
  border-radius: 6px;
  background: linear-gradient(180deg, #14122a, #0a0918);
  color: #f4f6ff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.chg-methods button.is-on {
  border-color: #b56bff;
  background: #12101f;
  box-shadow: 0 0 0 1px #b56bff, 0 0 16px rgba(122, 61, 255, .18);
  color: #e9d5ff;
}

.chg-methods .pm {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
}

.chg-methods .pm svg {
  display: block;
  width: 26px;
  height: 26px;
}

.chg-methods span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .chg-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chg-methods.is-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chg-methods.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.chg-amt {
  margin-top: 20px;
}

.chg-col.is-form .chg-amt .chg-h {
  margin-top: 0;
}

.mp-chips.is-add {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
}

.mp-amt.is-line {
  width: 100%;
}

.mp-amt.is-line input {
  width: 100%;
  text-align: left;
  border-color: rgba(122, 61, 255, .45);
  background: #080705;
}

.chg-apply {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.chg-apply label {
  flex: 0 0 auto;
  color: #e9d5ff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.chg-apply .mp-amt {
  flex: 1 1 0;
  min-width: 0;
}

.chg-apply .mp-amt input {
  height: 44px;
}

.chg-apply .mp-cta {
  width: 28%;
  flex: 0 0 28%;
  height: 44px;
  margin: 0;
  font-size: 16px;
  background: #7a3dff;
  color: #ffffff;
  box-shadow: none;
}

.chg-apply .mp-cta:hover,
.chg-apply .mp-cta:focus-visible {
  filter: none;
  background: #7a3dff;
}

.chg-col.is-form > .chg-amt:first-child {
  margin-top: 0;
}

.chg-apply.is-pt .mp-cta {
  width: 18%;
  flex: 0 0 18%;
  font-size: 14px;
  white-space: nowrap;
}

.mp-note {
  margin: 0 0 22px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(122, 61, 255, .28);
  background: linear-gradient(180deg, #12101f, #0a0814);
}

/* 입금/출금 좌측 컬럼 안 안내박스 */
.chg-col.is-info > .mp-note {
  flex: 0 0 auto;
  margin: 0 0 12px;
  padding: 12px 12px 10px;
}

.chg-col.is-info > .mp-note li {
  font-size: 12px;
  line-height: 1.55;
  padding: 3px 0 3px 14px;
}

.mp-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-note li {
  position: relative;
  padding: 4px 0 4px 16px;
  color: #f3ead6;
  font-size: 14px;
  line-height: 1.7;
}

.mp-note li::before {
  content: "";
  position: absolute;
  top: .85em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b56bff;
  box-shadow: 0 0 0 2px rgba(181, 107, 255, .16);
}

.mp-note em {
  color: #e8c56b;
  font-style: normal;
  font-weight: 800;
}

.mp-mini {
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin-left: 8px;
  padding: 0 10px;
  border: 1px solid rgba(122, 61, 255, .45);
  background: #0a0907;
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.mp-field {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
}

.mp-field label {
  flex: 0 0 92px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.mp-amt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.mp-amt input {
  width: min(360px, 100%);
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(246, 241, 230, .28);
  background: #070716;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  outline: none;
}

.mp-amt input:focus {
  border-color: #b56bff;
  box-shadow: 0 0 0 3px rgba(181, 107, 255, .14);
}

.mp-amt input[readonly] {
  color: #c9c6d8;
  border-color: rgba(122, 61, 255, .2);
}

.mp-amt em {
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.mp-chips {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 18px;
}

.mp-chips button {
  height: 38px;
  padding: 0 6px;
  border: 1px solid rgba(122, 61, 255, .2);
  border-radius: 4px;
  background: linear-gradient(180deg, #2a251c, #14122a);
  color: #f4f6ff;
  font-size: 13px;
  font-weight: 700;
}

.mp-chips button:hover {
  border-color: rgba(181, 107, 255, .55);
  color: #e9d5ff;
}

.mp-chips .is-reset {
  background: linear-gradient(180deg, #3a2a18, #1a120c);
  border-color: rgba(122, 61, 255, .4);
  color: #e9d5ff;
}

.mp-cta {
  display: block;
  width: 60%;
  height: 48px;
  margin: 10px 0 22px auto;
  border: 0;
  border-radius: 6px;
  background:
    linear-gradient(180deg, #f0d78c 0%, #b56bff 42%, #a9842c 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow:
    0 1px 0 rgba(255, 236, 180, .45) inset,
    0 10px 22px rgba(122, 61, 255, .22);
}

.mp-cta:hover,
.mp-cta:focus-visible {
  filter: brightness(1.06);
}

.mp-cta-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  width: 60%;
  margin: 10px 0 16px auto;
}

.mp-cta-row .mp-cta {
  width: auto;
  flex: 1;
  margin: 0;
}

.pt-apply {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}

.pt-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

.pt-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pt-apply label {
  flex: 0 0 auto;
  color: #e9d5ff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.pt-hold {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(122, 61, 255, .45);
  background: #080705;
  color: #e9d5ff;
}

.pt-hold b {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.pt-hold em {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.pt-apply .mp-amt {
  flex: 1 1 0;
  min-width: 0;
}

.pt-apply .mp-amt input {
  width: 100%;
  height: 44px;
}

.pt-acts {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.pt-apply .mp-cta {
  width: 20%;
  flex: 0 0 20%;
  height: 44px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  box-shadow: 0 10px 22px rgba(77, 125, 255, .22);
}

.pt-apply .mp-cta:hover,
.pt-apply .mp-cta:focus-visible {
  filter: brightness(1.06);
  background: linear-gradient(90deg, #8b5cf6, #60a5ff);
}

.mp-table-wrap {
  overflow: auto;
  border: 1px solid rgba(122, 61, 255, .2);
  background: #0a0a0a;
}

.mp-table {
  width: 100%;
  border-collapse: collapse;
}

.mp-table th,
.mp-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #f4f6ff;
  font-size: 14px;
  text-align: center;
}

.mp-table th {
  background: #1d1a2a;
  color: #e9d5ff;
  font-weight: 800;
}

.mp-table .mp-hist-bonus {
  max-width: 160px;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  word-break: keep-all;
}

.mp-table tr:last-child td { border-bottom: 0; }

.mp-table.is-list td:first-child,
.mp-table.is-list th:first-child,
.mp-table.is-cs td:first-child,
.mp-table.is-cs th:first-child {
  text-align: left;
  padding-left: 20px;
}

.mp-table.is-list td:last-child,
.mp-table.is-list th:last-child {
  text-align: right;
  width: 180px;
  padding-right: 20px;
  color: #c9c6d8;
}

.mp-table.is-bets th,
.mp-table.is-cs th {
  white-space: nowrap;
}

.mp-table tr.is-link { cursor: pointer; }
.mp-table tr.is-link:hover td,
.mp-table tr.is-on td {
  background: rgba(122, 61, 255, .08);
  color: #e9d5ff;
}

.mp-table tr.is-empty td {
  padding: 48px 12px;
  color: #8b86a3;
}

.chg-col.is-info .mp-table td:nth-child(2) {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.chg-col.is-info .mp-table td:nth-child(3) {
  white-space: nowrap;
}

.st {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 9px 0 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
  vertical-align: middle;
}

.st i {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.st em {
  font-style: normal;
  font-weight: 800;
}

.st.is-done {
  color: #6ee7b7;
  background: rgba(16, 185, 129, .12);
  border-color: rgba(52, 211, 153, .28);
}

.st.is-done i {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 1.7a8.3 8.3 0 1 0 0 16.6 8.3 8.3 0 0 0 0-16.6zm3.7 6.2-4.4 4.5a.7.7 0 0 1-1 0L6.3 10.4a.7.7 0 0 1 1-1l1.5 1.5 3.9-4a.7.7 0 1 1 1 1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 1.7a8.3 8.3 0 1 0 0 16.6 8.3 8.3 0 0 0 0-16.6zm3.7 6.2-4.4 4.5a.7.7 0 0 1-1 0L6.3 10.4a.7.7 0 0 1 1-1l1.5 1.5 3.9-4a.7.7 0 1 1 1 1z'/%3E%3C/svg%3E");
}

.st.is-wait {
  color: #fcd34d;
  background: rgba(251, 191, 36, .1);
  border-color: rgba(251, 191, 36, .28);
}

.st.is-wait i {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 1.7a8.3 8.3 0 1 0 0 16.6 8.3 8.3 0 0 0 0-16.6zm.7 8.3V5.8a.7.7 0 1 0-1.4 0v4.5c0 .2.1.4.3.5l2.8 1.7a.7.7 0 1 0 .7-1.2L10.7 10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 1.7a8.3 8.3 0 1 0 0 16.6 8.3 8.3 0 0 0 0-16.6zm.7 8.3V5.8a.7.7 0 1 0-1.4 0v4.5c0 .2.1.4.3.5l2.8 1.7a.7.7 0 1 0 .7-1.2L10.7 10z'/%3E%3C/svg%3E");
}

.st.is-reject {
  color: #fda4af;
  background: rgba(244, 63, 94, .1);
  border-color: rgba(251, 113, 133, .28);
}

.st.is-reject i {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 1.7a8.3 8.3 0 1 0 0 16.6 8.3 8.3 0 0 0 0-16.6zm2.8 10.1a.7.7 0 0 1-1 1L10 11l-1.8 1.8a.7.7 0 1 1-1-1L9 10 7.2 8.2a.7.7 0 1 1 1-1L10 9l1.8-1.8a.7.7 0 1 1 1 1L11 10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M10 1.7a8.3 8.3 0 1 0 0 16.6 8.3 8.3 0 0 0 0-16.6zm2.8 10.1a.7.7 0 0 1-1 1L10 11l-1.8 1.8a.7.7 0 1 1-1-1L9 10 7.2 8.2a.7.7 0 1 1 1-1L10 9l1.8-1.8a.7.7 0 1 1 1 1L11 10z'/%3E%3C/svg%3E");
}

.mp-subtabs {
  display: flex;
  gap: 18px;
  margin: 0 0 16px;
  border-bottom: 1px solid rgba(122, 61, 255, .16);
}

.mp-subtabs button {
  height: 40px;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #8b86a3;
  font-size: 14px;
  font-weight: 800;
}

.mp-subtabs button.is-on {
  color: #e9d5ff;
  border-bottom-color: #b56bff;
}

.mp-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.mp-date input {
  height: 38px;
  min-width: 168px;
  padding: 0 10px;
  border: 1px solid rgba(122, 61, 255, .22);
  background: #0a0a0a;
  color: #f4f6ff;
  font: inherit;
  color-scheme: dark;
  overflow: visible;
}

.mp-tilde { color: #8b86a3; }

.mp-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #f0d78c, #b56bff 50%, #a9842c);
  color: #ffffff;
  font-weight: 800;
}

.mp-search svg {
  width: 16px;
  height: 16px;
}

.mp-pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.mp-pager button {
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(122, 61, 255, .22);
  background: #0a0a0a;
  color: #c9c6d8;
  font-weight: 800;
}

.mp-pager button.is-on {
  background: #b56bff;
  border-color: #b56bff;
  color: #ffffff;
}

.mp-pager button:disabled { opacity: .35; }

.mp-detail {
  margin-top: 14px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(122, 61, 255, .18);
  background: #0a0918;
}

.mp-detail h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.mp-detail-time {
  margin: 0 0 12px;
  color: #8b86a3;
  font-size: 13px;
}

.mp-detail-time b { color: #e9d5ff; }

.mp-view {
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(122, 61, 255, .4);
  background: #12101f;
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 800;
}

.mp-view.is-del {
  border-color: rgba(190, 90, 70, .35);
  background: #2a1814;
  color: #f3c6b8;
}

.mp-inq-form { margin: 16px 0 8px; }

/* 고객센터 작성폼: 좌측 목록과 상단 맞춤 + 본문칸이 남는 높이를 채움(바깥 스크롤 방지) */
.mp-pane.is-cs .cs-guide,
.mp-pane.is-cs .cs-toolbar {
  flex: 0 0 auto;
}

.mp-pane.is-cs .cs-split {
  flex: 1 1 auto;
  min-height: 0;
}

.mp-pane.is-cs .mp-inq-form.cs-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 14px 16px;
  gap: 8px;
}

.mp-pane.is-cs .cs-form .set-label,
.mp-pane.is-cs .cs-form .modal-field,
.mp-pane.is-cs .cs-form .set-actions {
  flex: 0 0 auto;
}

.mp-pane.is-cs .cs-form .inq-text {
  flex: 1 1 auto;
  min-height: 160px;
  max-height: none;
  height: auto;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.5;
  resize: none;
}

.mp-pane[data-mp-pane="inquiry"] .inq-guide {
  flex: 0 0 auto;
  margin-bottom: 12px;
}

.inq-reply {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(167, 139, 250, .45);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(124, 58, 237, .28), rgba(76, 29, 149, .22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.inq-reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.inq-reply-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
}

.inq-reply-badge.is-staff {
  border: 1px solid rgba(167, 139, 250, .5);
  background: rgba(124, 58, 237, .28);
  color: #e9d5ff;
}

.inq-reply-badge.is-time {
  border: 1px solid rgba(148, 163, 184, .35);
  background: rgba(148, 163, 184, .12);
  color: #cbd5e1;
  font-weight: 700;
}

.inq-reply strong.inq-reply-badge {
  margin: 0;
  font-size: 12px;
}

.inq-reply p {
  margin: 0;
  color: #f4f6ff;
  font-size: 14px;
  line-height: 1.7;
}

.mp-msg-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1d1a2a;
  color: #e9d5ff;
  font-size: 14px;
  font-weight: 800;
}

.mp-msg-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-msg {
  position: relative;
  display: block;
  min-width: 0;
  padding: 18px 88px 18px 18px;
  border-top: 1px solid rgba(122, 61, 255, .12);
  background: linear-gradient(90deg, rgba(122, 61, 255, .07), transparent 42%);
}

.mp-msg:first-child { border-top: 0; }

.mp-msg.is-read {
  background: transparent;
}

.mp-msg time {
  display: block;
  margin-bottom: 6px;
  color: #e8c56b;
  font-size: 13px;
  font-weight: 800;
}

.mp-msg p {
  margin: 0 0 4px;
  color: #f4f6ff;
  font-size: 14px;
  line-height: 1.65;
}

.mp-msg.is-read time,
.mp-msg.is-read p { color: #8b86a3; }

.mp-msg-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 64px;
}

.mp-msg-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 58px;
  padding: 6px 0 5px;
  border: 0;
  background: transparent;
  color: #e9d5ff;
  cursor: pointer;
}

.mp-msg-state em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.mp-msg-ico {
  display: none;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 7px;
  border-radius: 50%;
  border: 1px solid rgba(122, 61, 255, .55);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 236, 180, .2), transparent 46%),
    linear-gradient(180deg, #2a2418, #12101f);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 180, .2),
    0 0 0 3px rgba(122, 61, 255, .08);
}

.mp-msg-ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mp-msg:not(.is-read) .mp-msg-ico.is-unread,
.mp-msg.is-read .mp-msg-ico.is-read { display: block; }

.mp-msg:not(.is-read) .is-read-lab,
.mp-msg.is-read .is-unread-lab { display: none; }

.mp-msg-ico.is-unread circle {
  fill: #7a3dff;
  transform-origin: 19.1px 6.6px;
  animation: mp-unread-pulse 1.8s ease-in-out infinite;
}

.mp-msg.is-read .mp-msg-state {
  color: #b7aa92;
}

.mp-msg.is-read .mp-msg-ico {
  border-color: rgba(154, 143, 121, .4);
  background: linear-gradient(180deg, #1a1916, #0e0d0b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.mp-msg-del {
  width: 100%;
  height: 26px;
  border: 1px solid rgba(190, 90, 70, .35);
  background: #2a1814;
  color: #f3c6b8;
  font-size: 11px;
  font-weight: 800;
}

@keyframes mp-unread-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.82); }
}

.mp-pane[data-mp-pane="settings"] .set-form { max-width: none; }
.mp-pane[data-mp-pane="settings"] .wal-body.is-set {
  display: block;
  padding: 8px 0 0;
}

.mp-pane.is-settings {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 20px;
}

.mp-profile {
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 18, 52, .88), rgba(12, 10, 24, .96));
  padding: 16px 16px 8px;
}

.mp-profile-head h3 {
  margin: 0 0 4px;
  color: #f3e8ff;
  font-size: 16px;
  font-weight: 800;
}

.mp-profile-head p {
  margin: 0 0 14px;
  color: #9b93b8;
  font-size: 12px;
  line-height: 1.45;
}

.mp-profile-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.mp-profile-list > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: start;
  padding: 8px 10px;
  border-top: 1px solid rgba(139, 92, 246, .14);
}

.mp-profile-list dt {
  margin: 0;
  color: #a78bfa;
  font-size: 11px;
  font-weight: 700;
}

.mp-profile-list dd {
  margin: 0;
  color: #f4f6ff;
  font-size: 13px;
  font-weight: 700;
  word-break: break-word;
}

.mp-profile-code {
  color: #fff;
  letter-spacing: .04em;
}

.mp-pass-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mp-pass-card {
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 14px;
  background: rgba(10, 8, 20, .72);
  padding: 16px;
}

.mp-pass-card h3 {
  margin: 0 0 6px;
  color: #f3e8ff;
  font-size: 15px;
  font-weight: 800;
}

.mp-pass-card .set-help {
  margin: 0 0 14px;
  color: #8b86a3;
  font-size: 12px;
  line-height: 1.45;
}

.mp-pass-card .set-form {
  max-width: none;
}

/* 비밀번호 변경 — 보라 / 출금비밀번호 변경 — 파랑, 텍스트 세로 가운데 */
#mypage-login-pass-form .set-save.mp-submit,
#mypage-withdraw-pass-form .set-save.mp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  height: auto;
  padding: 0 18px;
  line-height: 1.2;
  border: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

#mypage-login-pass-form .set-save.mp-submit {
  background: linear-gradient(90deg, #7a3dff, #9b5cff);
}

#mypage-withdraw-pass-form .set-save.mp-submit {
  background: linear-gradient(90deg, #2563eb, #4d7dff);
}

#mypage-login-pass-form .set-save.mp-submit:hover,
#mypage-withdraw-pass-form .set-save.mp-submit:hover {
  filter: brightness(1.08);
}

/* 비밀번호 결과 메시지는 상단 토스트(.sg-alert) 사용 — 하단 바 미사용 */
.mp-messages {
  display: none !important;
}

@media (max-width: 1100px) {
  .mp-profile-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .mp-profile-list,
  .mp-pass-grid {
    grid-template-columns: 1fr;
  }
  .mp-profile-list > div {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }
}

@media (max-width: 860px) {
  .modal-root[data-open="wallet"] {
    padding: 0;
    align-items: center;
    justify-items: center;
  }
  .modal-root[data-open="wallet"] .modal-stack {
    width: 95%;
    height: 95%;
    max-width: 95%;
    min-width: 0;
    overflow: hidden;
  }
  .modal-root[data-open="wallet"] [data-modal="wallet"] {
    max-height: none;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 6px;
  }
  .mp-head {
    min-height: 40px;
    padding: 2px 6px 0;
  }
  .mp-title { font-size: 14px; }
  .mp-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin: 4px 4px 0;
  }
  .mp-tabs button {
    height: 34px;
    font-size: 11px;
    white-space: normal;
    line-height: 1.15;
    padding: 0 2px;
  }
  .mp-body { padding: 8px 6px 10px; min-width: 0; }
  .mp-pane { min-width: 0; max-width: 100%; }
  .mp-subtabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 10px;
  }
  .mp-subtabs button {
    height: 34px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
  }
  .mp-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
  }
  .mp-date { min-width: 0; flex: 1 1 0; display: block; }
  .mp-date input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
  }
  .mp-search {
    flex: 0 0 10%;
    width: 10%;
    max-width: 10%;
    padding: 0 2px;
    justify-content: center;
    gap: 0;
    font-size: 11px;
  }
  .mp-search svg { display: none; }
  .mp-search span { white-space: nowrap; }
  .mp-note {
    margin-bottom: 12px;
    padding: 10px 10px 8px;
  }
  .mp-note li { font-size: 12px; padding: 3px 0 3px 14px; }
  .mp-field {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 10px;
  }
  .mp-field label { flex: none; font-size: 13px; }
  .mp-amt input { width: 100%; height: 44px; }
  .mp-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 12px;
  }
  .mp-chips button { height: 32px; font-size: 12px; }
  .mp-cta,
  .mp-cta-row {
    width: 60%;
    margin-left: auto;
  }
  .mp-cta { height: 42px; font-size: 15px; margin-bottom: 14px; }
  .mp-cta-row { flex-direction: row; }
  .pt-apply { gap: 8px; }
  .pt-fields { gap: 8px; }
  .pt-apply label { font-size: 11px; }
  .pt-hold { height: 36px; padding: 0 10px; }
  .pt-hold b { font-size: 13px; }
  .pt-hold em { font-size: 11px; }
  .pt-apply .mp-amt {
    flex: 1 1 0;
    min-width: 0;
  }
  .pt-apply .mp-amt input,
  .pt-apply .mp-cta {
    height: 36px;
    font-size: 11px;
  }
  .pt-apply .mp-cta {
    width: 28%;
    flex: 0 0 28%;
    padding: 0 8px;
    margin: 0;
    white-space: nowrap;
  }
  .mp-msg { padding: 14px 76px 14px 12px; }
  .mp-msg-tools { top: 8px; right: 8px; width: 58px; gap: 6px; }
  .mp-msg-ico { width: 32px; height: 32px; padding: 6px; }
  .mp-msg-state em { font-size: 10px; }
  .mp-msg-del { height: 24px; font-size: 10px; }
  .mp-table th,
  .mp-table td { padding: 9px 8px; font-size: 12px; }
  .mp-table.is-bets {
    min-width: 560px;
    width: max-content;
  }
  .mp-table.is-cs {
    min-width: 0;
    width: 100%;
  }
  .mp-table.is-bets th,
  .mp-table.is-bets td,
  .mp-table.is-cs th,
  .mp-table.is-cs td {
    padding: 8px 6px;
    font-size: 11px;
    white-space: nowrap;
  }
  .mp-table.is-cs td:first-child,
  .mp-table.is-cs th:first-child {
    white-space: normal;
    padding-left: 8px;
  }
  .mp-table.is-cs td:last-child,
  .mp-table.is-cs th:last-child {
    width: 52px;
    padding-right: 6px;
  }
  .mp-view { height: 26px; padding: 0 8px; font-size: 11px; }
  .mp-detail { padding: 12px; }
  .mp-detail h3 { font-size: 15px; }
  .chg {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    height: auto;
    max-height: none;
    flex: none;
  }
  .chg-col {
    height: auto;
    max-height: none;
  }
  .chg-col.is-form { order: 1; }
  .chg-col.is-info { order: 2; }
  .chg-col.is-info .mp-table-wrap {
    flex: none;
    min-height: 0;
    height: auto;
  }
  .mp-pane.is-charge:not([hidden]),
  .mp-pane.is-sheet:not([hidden]) { height: auto; flex: none; overflow: visible; }
  .mp-pane.is-sheet .mp-table-wrap { flex: none; min-height: 0; }
  .inq-acts .mp-cta {
    width: 20%;
    flex: 0 0 20%;
    height: 38px;
    font-size: 13px;
  }
  .chg-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chg-methods.is-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mp-chips.is-add { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chg-amt { margin-top: 20px; }
  .chg-apply { margin-top: 0; gap: 6px; }
  .chg-apply label { font-size: 12px; }
  .chg-apply .mp-amt input,
  .chg-apply .mp-cta { height: 38px; font-size: 13px; }
  .chg-apply .mp-cta { flex-basis: 28%; width: 28%; }
  .chg-apply.is-pt { flex-wrap: wrap; }
  .chg-apply.is-pt .mp-cta {
    flex: 1 1 calc(50% - 4px);
    width: auto;
    font-size: 13px;
  }
  .st { min-height: 24px; padding: 0 7px 0 6px; font-size: 11px; }
  .st i { width: 12px; height: 12px; flex-basis: 12px; }
}

.modal-x.is-in-wal {
  position: static;
  width: 32px;
  min-width: 32px;
  padding: 0;
}

.mp-tabs button.is-on,
.mp-tabs button.is-on:hover {
  color: #fff;
  border-color: #7eb6ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, #7a3dff 0%, #4d7dff 100%);
  box-shadow:
    0 0 0 1px rgba(126, 182, 255, .4),
    0 0 14px rgba(77, 125, 255, .42),
    inset 0 1px 0 rgba(255, 255, 255, .32);
}
.chg-apply .mp-cta,
.chg-apply.is-pt .mp-cta,
.inq-acts .mp-cta,
.pt-apply .mp-cta {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  box-shadow: 0 10px 22px rgba(77, 125, 255, .22);
}
.chg-apply .mp-cta:hover,
.chg-apply .mp-cta:focus-visible,
.chg-apply.is-pt .mp-cta:hover,
.chg-apply.is-pt .mp-cta:focus-visible,
.inq-acts .mp-cta:hover,
.inq-acts .mp-cta:focus-visible,
.pt-apply .mp-cta:hover,
.pt-apply .mp-cta:focus-visible {
  filter: brightness(1.06);
  background: linear-gradient(90deg, #8b5cf6, #60a5ff);
}
.chg-methods button.is-on {
  border-color: #b56bff;
  background: #161232;
  box-shadow: 0 0 0 1px #8b5cf6, 0 0 16px rgba(122, 61, 255, .22);
  color: #e9d5ff;
}
.mp-note {
  border-color: rgba(139, 92, 246, .42);
  background: linear-gradient(180deg, #161232, #0b0a18);
}
.mp-note li { color: #f4f6ff; }
.mp-note li::before { background: #b56bff; box-shadow: 0 0 0 2px rgba(181, 107, 255, .18); }
.mp-title { color: #e9d5ff; }

/* Homepage slide + liveboard: Signal purple/blue original (do not inherit wallet chrome) */
.stage-promo {
  border: 1px solid rgba(139, 92, 246, .45);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, .42),
    0 0 22px rgba(122, 61, 255, .16);
  background: #070716;
}
.promo-slide { background-color: #070716; }
.promo-dots button.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, #b56bff, #6d28d9);
  box-shadow: 0 0 10px rgba(122, 61, 255, .45);
}
.liveboard {
  border: 1px solid rgba(139, 92, 246, .45);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(122, 61, 255, .16), transparent 46%),
    linear-gradient(180deg, #12101f 0%, #070716 100%);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, .42),
    0 0 22px rgba(122, 61, 255, .16);
}
.board-dots button {
  border: 1.5px solid rgba(181, 107, 255, .7);
  background: transparent;
}
.board-dots button.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, #b56bff, #6d28d9);
  box-shadow: 0 0 10px rgba(122, 61, 255, .45);
}
.stat-box {
  background: linear-gradient(90deg, #b56bff, #7a3dff 48%, #4d7dff);
  filter: drop-shadow(0 0 8px rgba(122, 61, 255, .28));
}
.stat-box::before { background: #0a0814; }
.stat-box span { color: #e9d5ff; }
.stat-box strong { text-shadow: 0 0 14px rgba(122, 61, 255, .35); }
.feed h2 b {
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  box-shadow: 0 0 10px rgba(122, 61, 255, .28);
}
.feed-card {
  border: 1px solid rgba(139, 92, 246, .32);
  background: #0a0918;
}
.feed-card .uid { color: #c9c6d8; }
.feed-new span {
  background: linear-gradient(90deg, #b56bff, #7a3dff);
  color: #fff;
  box-shadow: 0 0 8px rgba(122, 61, 255, .4);
}
@keyframes stat-flash {
  0%, 100% { text-shadow: 0 0 14px rgba(122, 61, 255, .35); }
  50% { color: #f4f6ff; text-shadow: 0 0 18px rgba(181, 107, 255, .85); }
}

.mp-pane.is-bets .mp-subtabs {
  gap: 22px;
  margin: 0 0 14px;
  border-bottom-color: rgba(139, 92, 246, .22);
}

.mp-pane.is-bets .mp-subtabs button {
  height: 42px;
  color: #8b86a3;
  font-size: 15px;
  border-bottom-width: 3px;
}

.mp-pane.is-bets .mp-subtabs button.is-on {
  color: #fff;
  border-bottom-color: #7a3dff;
}

.bet-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 12px;
  background: linear-gradient(180deg, #16132a, #0e0c1a);
}

.bet-dates {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bet-date {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 168px;
  height: 42px;
  padding: 0 12px 0 40px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 8px;
  background: #0a0914;
}

.bet-date-ico {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #b56bff;
  pointer-events: none;
}

.bet-date-ico svg {
  display: block;
  width: 18px;
  height: 18px;
}

.bet-date input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color-scheme: dark;
}

.bet-date input:focus {
  outline: none;
}

.bet-date input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.bet-date:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(122, 61, 255, .16);
}

.bet-tilde {
  color: #8b86a3;
  font-size: 16px;
  font-weight: 800;
}

.bet-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  min-width: 108px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(77, 125, 255, .22);
}

.bet-search svg {
  width: 16px;
  height: 16px;
}

.bet-search:hover,
.bet-search:focus-visible {
  filter: brightness(1.06);
  background: linear-gradient(90deg, #8b5cf6, #60a5ff);
}

.bet-quick {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.bet-quick button {
  height: 42px;
  min-width: 64px;
  padding: 0 14px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 8px;
  background: #14122a;
  color: #c9c6d8;
  font-size: 14px;
  font-weight: 800;
}

.bet-quick button:hover {
  border-color: rgba(181, 107, 255, .5);
  color: #fff;
}

.bet-quick button.is-on {
  border-color: #8b5cf6;
  background: linear-gradient(180deg, #2a1f4a, #161232);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .35);
}

.mp-pane.is-bets .mp-table-wrap {
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 10px;
  background: #0c0b16;
}

.mp-pane.is-bets .mp-table {
  width: 100%;
}

.mp-pane.is-bets .mp-table th {
  background: #1a1730;
  color: #e9d5ff;
}

.mp-pane.is-bets .mp-table tr.is-empty td {
  height: clamp(240px, 38vh, 420px);
  padding: 36px 16px;
  vertical-align: middle;
  border-bottom: 0;
}

.bet-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.bet-empty-art {
  width: min(168px, 46vw);
  margin-bottom: 6px;
}

.bet-empty-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.bet-empty strong {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.bet-empty p {
  margin: 0;
  color: #8b86a3;
  font-size: 14px;
  line-height: 1.5;
}

.bet-empty.is-pulse {
  animation: bet-empty-pulse .45s ease;
}

@keyframes bet-empty-pulse {
  0% { transform: scale(1); opacity: 1; }
  40% { transform: scale(.98); opacity: .72; }
  100% { transform: scale(1); opacity: 1; }
}

.mp-pane.is-bets .mp-pager {
  margin-top: 16px;
}

.mp-pane.is-bets .mp-table td.bet-num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
.mp-pane.is-bets .mp-table td.bet-game {
  text-align: left;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-pane.is-bets .mp-table tr.is-win td {
  background: rgba(16, 185, 129, .06);
}
.mp-pane.is-bets .bet-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(139, 92, 246, .45);
  border-radius: 8px;
  background: rgba(122, 61, 255, .14);
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.02em;
  cursor: pointer;
  white-space: nowrap;
}
.mp-pane.is-bets .bet-detail-btn:hover {
  background: rgba(122, 61, 255, .28);
  border-color: rgba(167, 139, 250, .7);
}

.mp-pane.is-bets .mp-pager button {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
}

.mp-pane.is-bets .mp-pager button.is-on {
  border-color: transparent;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  box-shadow: 0 8px 16px rgba(77, 125, 255, .22);
}

@media (max-width: 1180px) {
  .bet-filter { flex-wrap: wrap; }
  .bet-quick { margin-left: 0; }
}

@media (max-width: 860px) {
  .mp-pane.is-bets .mp-subtabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
  }
  .mp-pane.is-bets .mp-subtabs button {
    flex: 1 0 auto;
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }
  .bet-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }
  .bet-dates {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .bet-date { min-width: 0; width: 100%; }
  .bet-tilde { display: none; }
  .bet-search {
    width: 100%;
    min-width: 0;
    height: 42px;
    font-size: 14px;
  }
  .bet-search svg { display: block; }
  .bet-quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-left: 0;
  }
  .bet-quick button {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 4px;
    font-size: 13px;
  }
  .mp-pane.is-bets .mp-table-wrap { border-radius: 8px; }
  .mp-table.is-bets {
    min-width: 0;
    width: 100%;
  }
  .mp-pane.is-bets .mp-table th,
  .mp-pane.is-bets .mp-table td {
    padding: 10px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .mp-pane.is-bets .mp-table tr.is-empty td {
    height: auto;
    min-height: 220px;
    padding: 28px 12px;
    white-space: normal;
  }
  .bet-empty-art { width: 128px; }
  .bet-empty strong { font-size: 16px; }
  .bet-empty p { font-size: 12px; }
}

.mp-pane.is-ntc {
  min-height: 0;
}

.ntc-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 12px;
  background: linear-gradient(180deg, #16132a, #0e0c1a);
}

.ntc-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 220px;
  min-width: 180px;
  height: 42px;
  padding: 0 12px 0 40px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 8px;
  background: #0a0914;
}

.ntc-search svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #b56bff;
}

.ntc-search input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  outline: none;
}

.ntc-search input::placeholder { color: #6f6a86; }

.ntc-search:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(122, 61, 255, .16);
}

.ntc-cats {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.ntc-cats button {
  height: 42px;
  min-width: 72px;
  padding: 0 14px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 8px;
  background: #14122a;
  color: #c9c6d8;
  font-size: 14px;
  font-weight: 800;
}

.ntc-cats button:hover {
  border-color: rgba(181, 107, 255, .5);
  color: #fff;
}

.ntc-cats button.is-on {
  border-color: transparent;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  box-shadow: 0 8px 16px rgba(77, 125, 255, .22);
}

.ntc-count {
  margin: 0 0 0 auto;
  color: #8b86a3;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.ntc-count b { color: #e9d5ff; }

.ntc-split {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(360px, 1.08fr);
  gap: 14px;
  min-height: 0;
  flex: 1;
}

.ntc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

.ntc-item {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .2);
  border-radius: 12px;
  background: #0c0b16;
  color: inherit;
  line-height: 1.3;
  text-align: left;
}

.ntc-item::-moz-focus-inner { border: 0; padding: 0; }

.ntc-item > * {
  position: relative;
  align-self: center;
}

.ntc-item:hover {
  border-color: rgba(139, 92, 246, .45);
}

.ntc-item.is-on {
  border-color: #8b5cf6;
  background: linear-gradient(180deg, #221848, #14102a);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .28), 0 10px 22px rgba(122, 61, 255, .16);
}

.ntc-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
}

.ntc-ico svg {
  display: block;
  width: 20px;
  height: 20px;
}

.ntc-ico.is-bell { background: rgba(122, 61, 255, .18); color: #c4b5fd; }
.ntc-ico.is-wrench { background: rgba(251, 191, 36, .14); color: #fbbf24; }
.ntc-ico.is-shield { background: rgba(45, 212, 191, .14); color: #5eead4; }
.ntc-ico.is-card { background: rgba(77, 125, 255, .16); color: #93c5fd; }

.ntc-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.ntc-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.ntc-badge.is-info { background: rgba(122, 61, 255, .2); color: #c4b5fd; }
.ntc-badge.is-maint { background: rgba(251, 191, 36, .16); color: #fbbf24; }
.ntc-badge.is-policy { background: rgba(45, 212, 191, .16); color: #5eead4; }
.ntc-badge.is-pay { background: rgba(139, 92, 246, .22); color: #e9d5ff; }

.ntc-meta strong {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.ntc-meta time {
  color: #8b86a3;
  font-size: 12px;
}

.ntc-dot {
  display: none !important;
}

/* demo2: 구형 쪽지 레이어 숨김 (지갑모달 쪽지탭 사용) */
.memo-layer {
  display: none !important;
}

.ntc-go {
  display: none;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #8b86a3;
}

.ntc-go svg { display: block; width: 16px; height: 16px; }

.ntc-view {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px 18px 14px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  background: linear-gradient(180deg, #14122a, #0b0a16);
}

.ntc-back {
  display: none;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 0 12px;
  padding: 0 10px 0 6px;
  height: 32px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 8px;
  background: #12101f;
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 800;
}

.ntc-back svg { width: 16px; height: 16px; }

.ntc-view-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0 72px 16px 0;
  border-bottom: 1px solid rgba(139, 92, 246, .18);
}

.ntc-view-head .ntc-ico {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.ntc-view-head .ntc-ico svg { width: 22px; height: 22px; }

.ntc-view-copy { min-width: 0; flex: 1; }

.ntc-view-copy h3 {
  margin: 6px 0 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.ntc-view-copy p {
  margin: 0;
  color: #8b86a3;
  font-size: 13px;
}

.ntc-view-copy b { color: #e9d5ff; }

.ntc-mega {
  position: absolute;
  top: -6px;
  right: 0;
  width: 72px;
  height: 72px;
  color: rgba(139, 92, 246, .28);
  pointer-events: none;
}

.ntc-mega svg { display: block; width: 72px; height: 72px; }

.ntc-view-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  color: #f4f6ff;
  font-size: 15px;
  line-height: 1.75;
}

.ntc-view-body .msg-body { margin: 0; }

.ntc-view-body p { margin: 0 0 10px; }

.ntc-view-body ul {
  margin: 0;
  padding: 0 0 0 18px;
}

.ntc-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.ntc-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 8px;
  background: #12101f;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.ntc-nav button em { font-style: normal; }

.ntc-nav button:hover:not(:disabled) {
  border-color: #8b5cf6;
  background: #1a1632;
}

.ntc-nav button:disabled { opacity: .4; }

@media (max-width: 1180px) {
  .ntc-toolbar { flex-wrap: wrap; }
  .ntc-count { margin-left: 0; }
}

@media (max-width: 860px) {
  .ntc-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }
  .ntc-search {
    min-width: 0;
    height: 44px;
    max-height: none;
    padding: 0 10px 0 36px;
    border-radius: 6px;
  }
  .ntc-search svg {
    left: 10px;
    width: 13px;
    height: 13px;
  }
  .ntc-search input { font-size: 16px; font-weight: 600; }
  .ntc-cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ntc-cats button {
    min-width: 0;
    height: 30px;
    padding: 0 4px;
    font-size: 12px;
  }
  .ntc-count { text-align: right; }
  .ntc-split { grid-template-columns: 1fr; }
  .mp-pane.is-ntc:not(.is-reading) .ntc-view { display: none; }
  .mp-pane.is-ntc.is-reading .ntc-list { display: none; }
  .ntc-back { display: inline-flex; }
  .ntc-go { display: block; }
  .ntc-view { padding: 14px 12px 12px; }
  .ntc-view-copy h3 { font-size: 17px; }
  .ntc-view-head { padding-right: 58px; }
  .ntc-mega { width: 56px; height: 56px; }
  .ntc-mega svg { width: 56px; height: 56px; }
}

.cs-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "tog stats"
    "main stats";
  align-items: start;
  gap: 8px 16px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 12px;
  background: linear-gradient(180deg, #16132a, #0e0c1a);
}

.cs-guide-top {
  display: contents;
}

.cs-guide-tog {
  grid-area: tog;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}

.cs-guide-tog strong {
  font-size: 16px;
  font-weight: 800;
}

.cs-guide-tog i {
  display: none;
  width: 18px;
  height: 18px;
  color: #b56bff;
}

.cs-guide-tog svg { display: block; width: 18px; height: 18px; }

.cs-guide-main {
  grid-area: main;
  display: block;
  margin-top: 0;
  min-width: 0;
}

.cs-guide-main ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-guide-main li {
  position: relative;
  padding: 3px 0 3px 14px;
  color: #d7d3ea;
  font-size: 13px;
  line-height: 1.65;
}

.cs-guide-main li::before {
  content: "";
  position: absolute;
  top: .85em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b56bff;
}

.cs-stats {
  grid-area: stats;
  display: grid;
  gap: 8px;
  min-width: 188px;
  align-self: start;
}

.cs-stat {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 10px;
  background: #12101f;
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.cs-stat > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  line-height: 0;
  border-radius: 50%;
}

.cs-stat svg {
  display: block;
  width: 15px;
  height: 15px;
}
.cs-stat span {
  display: flex;
  align-items: center;
  height: 26px;
  line-height: 1;
  white-space: nowrap;
}
.cs-stat span, .cs-stat em, .cs-stat b { font-style: normal; }
.cs-stat.is-24 i { background: rgba(122, 61, 255, .2); color: #c4b5fd; }
.cs-stat.is-avg i { background: rgba(77, 125, 255, .18); color: #93c5fd; }
.cs-stat.is-wait { border-color: rgba(251, 146, 60, .35); color: #fdba74; }
.cs-stat.is-wait i { background: rgba(251, 146, 60, .16); color: #fb923c; }
.cs-stat.is-wait b { color: #fdba74; margin: 0 2px; }

.cs-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 12px;
  background: linear-gradient(180deg, #16132a, #0e0c1a);
}

.cs-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 200px;
  min-width: 160px;
  height: 42px;
  padding: 0 12px 0 40px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 8px;
  background: #0a0914;
}

.cs-search svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #b56bff;
}

.cs-search input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  outline: none;
}

.cs-search input::placeholder { color: #6f6a86; }

.cs-cats { display: flex; gap: 8px; }

.cs-cats button,
.cs-sort {
  height: 42px;
  min-width: 72px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 8px;
  background: #14122a;
  color: #c9c6d8;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.cs-cats button.is-on {
  border-color: transparent;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
}

.cs-sort { min-width: 92px; color-scheme: dark; }

.cs-write {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(77, 125, 255, .22);
  white-space: nowrap;
}

.cs-write em { font-style: normal; }
.cs-write.is-dock { display: none; }

.cs-split {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(360px, 1.08fr);
  gap: 14px;
  min-height: 0;
  flex: 1;
}

.cs-side,
.cs-main,
.cs-view {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cs-view[hidden] {
  display: none !important;
}

.cs-view.is-blank {
  flex: 1 1 auto;
  min-height: 0;
}

.cs-view.is-blank .cs-view-body.is-empty {
  flex: 1 1 auto;
  min-height: 180px;
}

.cs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: auto;
}

.cs-item {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  align-self: stretch;
  flex: 0 0 auto;
  flex-shrink: 0;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 64px;
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .2);
  border-radius: 12px;
  background: #0c0b16;
  color: inherit;
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
}

/* display:flex 가 [hidden] 을 덮어쓰지 않도록 */
.cs-item[hidden] {
  display: none !important;
}

.cs-item::-moz-focus-inner { border: 0; padding: 0; }

.cs-item > * {
  position: relative;
  align-self: center;
}

.cs-item.is-on {
  border-color: #8b5cf6;
  background: linear-gradient(180deg, #221848, #14102a);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .28), 0 10px 22px rgba(122, 61, 255, .16);
}

.cs-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  gap: 3px;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow: visible;
}

.cs-meta strong,
.cs-meta time { display: block; line-height: 1.3; }

.cs-meta strong { color: #fff; font-size: 14px; font-weight: 800; }
.cs-meta time { color: #8b86a3; font-size: 12px; }

.cs-st {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: center;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
  overflow: visible;
}

.cs-st.is-wait {
  border: 1px solid rgba(251, 146, 60, .4);
  background: rgba(251, 146, 60, .12);
  color: #fdba74;
}

.cs-st.is-done {
  border: 1px solid rgba(74, 222, 128, .35);
  background: rgba(34, 197, 94, .12);
  color: #86efac;
}

.cs-go {
  display: none;
  width: 16px;
  height: 16px;
  color: #8b86a3;
}

.cs-go svg { display: block; width: 16px; height: 16px; }

.cs-empty {
  margin: 18px 0;
  color: #8b86a3;
  font-size: 14px;
  text-align: center;
}

.cs-empty[hidden] {
  display: none !important;
}

.cs-list-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.cs-list-foot-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cs-list-foot button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: 8px;
  background: #12101f;
  color: #c9c6d8;
  font-size: 13px;
  font-weight: 800;
}

.cs-list-foot .is-del {
  border-color: rgba(248, 113, 113, .35);
  color: #fda4af;
}

.cs-list-foot svg { width: 15px; height: 15px; }

.cs-list-foot [data-cs-refresh]:hover,
.cs-list-foot [data-cs-refresh]:focus-visible {
  border-color: rgba(139, 92, 246, .55);
  color: #e9d5ff;
}

.cs-view {
  padding: 18px 18px 14px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  background: linear-gradient(180deg, #14122a, #0b0a16);
}

/* 문의 상세·빈본문: 우측 영역 높이를 채우고 본문만 확장(바깥 스크롤 방지) */
.mp-pane.is-cs .cs-main > .cs-view:not([hidden]) {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.cs-view > .cs-back,
.cs-view > .cs-view-head,
.cs-view > .cs-del {
  flex: 0 0 auto;
}

.cs-back {
  display: none;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 0 12px;
  height: 32px;
  padding: 0 10px 0 6px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 8px;
  background: #12101f;
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 800;
}

.cs-back svg { width: 16px; height: 16px; }

.cs-view-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(139, 92, 246, .18);
}

.cs-view-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.cs-view-head h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  min-width: 0;
  line-height: 1.3;
}

.cs-view-title .cs-st {
  flex: 0 0 auto;
}

.cs-view-date {
  margin: 0;
  flex: 0 0 auto;
  color: #8b86a3;
  font-size: 13px;
  white-space: nowrap;
}

.cs-view-head p { margin: 0; color: #8b86a3; font-size: 13px; }
.cs-view-head b { color: #e9d5ff; }

.cs-view-body {
  flex: 1 1 auto;
  min-height: 160px;
  overflow: auto;
  color: #f4f6ff;
  font-size: 15px;
  line-height: 1.75;
}

/* 미답변: 본문은 내용만큼, 답변대기 박스가 남는 높이를 채움 */
.cs-view:has(.cs-pending:not([hidden])) .cs-view-body {
  flex: 0 0 auto;
  min-height: 0;
  max-height: 40%;
  overflow: auto;
}

.cs-view.is-blank .cs-view-body.is-empty {
  flex: 1 1 auto;
  min-height: 200px;
}

.cs-pending {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 18px 14px;
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: 10px;
  background: rgba(122, 61, 255, .08);
  text-align: center;
}

.cs-view > .cs-pending:not([hidden]) {
  flex: 1 1 auto;
  min-height: 180px;
}

.cs-pending[hidden] { display: none !important; }

.cs-pending i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(122, 61, 255, .18);
  color: #c4b5fd;
}

.cs-pending svg { width: 18px; height: 18px; }
.cs-pending strong { color: #fff; font-size: 15px; }
.cs-pending p { margin: 0; color: #8b86a3; font-size: 13px; }

.cs-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: 16px auto 0;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(248, 113, 113, .4);
  border-radius: 8px;
  background: transparent;
  color: #fda4af;
  font-size: 14px;
  font-weight: 800;
}

.cs-del svg { width: 15px; height: 15px; }

.cs-del[hidden] {
  display: none !important;
}

.cs-form {
  padding: 18px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  background: linear-gradient(180deg, #14122a, #0b0a16);
}

.mp-pane.is-cs .cs-main:has(.cs-form:not([hidden])) {
  min-height: 0;
}

.mp-pane.is-cs .cs-form .set-save {
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
}

@media (max-width: 1180px) {
  .cs-toolbar { flex-wrap: wrap; }
  .cs-guide {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tog"
      "stats"
      "main";
  }
  .cs-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; width: 100%; }
}

@media (max-width: 860px) {
  .cs-guide-tog i { display: block; }
  .cs-guide:not(.is-open) .cs-guide-main,
  .cs-guide:not(.is-open) .cs-stats { display: none; }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-toolbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
  .cs-search {
    min-width: 0;
    height: 44px;
    max-height: none;
    padding: 0 10px 0 36px;
    border-radius: 6px;
  }
  .cs-search svg {
    left: 10px;
    width: 13px;
    height: 13px;
  }
  .cs-search input { font-size: 16px; font-weight: 600; }
  .cs-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-cats button, .cs-sort {
    min-width: 0;
    width: 100%;
    height: 30px;
    font-size: 12px;
  }
  .cs-sort {
    height: 44px;
    font-size: 16px;
  }
  .cs-toolbar .cs-write { display: none; }
  .cs-write.is-dock {
    display: flex;
    width: 100%;
    margin-top: 10px;
  }
  .mp-pane.is-cs.is-reading .cs-write.is-dock,
  .mp-pane.is-cs.is-writing .cs-write.is-dock { display: none; }
  .cs-split { grid-template-columns: 1fr; }
  .mp-pane.is-cs:not(.is-reading):not(.is-writing) .cs-main { display: none; }
  .mp-pane.is-cs.is-reading .cs-side,
  .mp-pane.is-cs.is-writing .cs-side { display: none; }
  .cs-back { display: inline-flex; }
  .cs-go { display: block; }
  .cs-view-head h3 { font-size: 17px; }
}

.mp-pane.is-note {
  min-height: 0;
}

.note-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 12px;
  background: linear-gradient(180deg, #16132a, #0e0c1a);
}

.note-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 220px;
  min-width: 180px;
  height: 42px;
  padding: 0 12px 0 40px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 8px;
  background: #0a0914;
}

.note-search > svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #b56bff;
}

.note-search input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  outline: none;
}

.note-search input::placeholder { color: #6f6a86; }

.note-search:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(122, 61, 255, .16);
}

.note-search-filter {
  display: none;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-left: 8px;
  color: #8b86a3;
}

.note-search-filter svg { display: block; width: 16px; height: 16px; }

.note-cats {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.note-cats button,
.note-sort,
.note-act {
  height: 42px;
  min-width: 72px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 8px;
  background: #14122a;
  color: #c9c6d8;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.note-cats button:hover,
.note-act:hover {
  border-color: rgba(181, 107, 255, .5);
  color: #fff;
}

.note-cats button.is-on,
.mp-pane.is-note.is-picking .note-act.is-pick {
  border-color: transparent;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  box-shadow: 0 8px 16px rgba(77, 125, 255, .22);
}

.note-sort { min-width: 92px; color-scheme: dark; }

.note-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.note-count {
  margin: 0;
  color: #8b86a3;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.note-count b { color: #e9d5ff; }
.note-count i { font-style: normal; color: #6f6a86; }

.note-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}

.note-act svg { width: 15px; height: 15px; }

.note-split {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(360px, 1.08fr);
  gap: 14px;
  min-height: 0;
  flex: 1;
}

.note-side,
.note-view {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.note-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

.note-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .2);
  border-radius: 12px;
  background: #0c0b16;
  color: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.note-item[hidden] {
  display: none !important;
}

.note-item:hover { border-color: rgba(139, 92, 246, .45); }

.note-item.is-on {
  border-color: #8b5cf6;
  background: linear-gradient(180deg, #221848, #14102a);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .28), 0 10px 22px rgba(122, 61, 255, .16);
}

.note-check {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  cursor: pointer;
}

.mp-pane.is-note.is-picking .note-check { display: flex; }

.note-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.note-check i,
.note-dock-pick i {
  display: block;
  width: 18px;
  height: 18px;
  border: 1.6px solid rgba(139, 92, 246, .45);
  border-radius: 5px;
  background: #0a0914;
}

.note-check input:checked + i,
.note-dock-pick input:checked + i {
  border-color: transparent;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.4 12.2 10 15.7 17.6 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px 14px no-repeat,
    linear-gradient(90deg, #7a3dff, #4d7dff);
}

.note-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
}

.note-ico svg { display: block; width: 20px; height: 20px; }

.note-ico.is-mail { background: rgba(122, 61, 255, .18); color: #c4b5fd; }
.note-ico.is-ok { display: none; background: rgba(34, 197, 94, .16); color: #86efac; }
.note-ico.is-gear { background: rgba(122, 61, 255, .18); color: #c4b5fd; }

.note-item.is-read .note-ico.is-mail { display: none; }
.note-item.is-read .note-ico.is-ok { display: grid; }

.note-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.note-meta strong {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-snip {
  overflow: hidden;
  color: #9b96b0;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-item.is-on .note-snip { color: #c9c6d8; }

.note-meta time {
  color: #8b86a3;
  font-size: 12px;
}

.note-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 8px rgba(139, 92, 246, .75);
}

.note-item.is-read .note-dot { opacity: 0; }

.note-st {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.note-st.is-unread {
  border: 1px solid rgba(139, 92, 246, .4);
  background: rgba(122, 61, 255, .16);
  color: #c4b5fd;
}

.note-st.is-read {
  border: 1px solid rgba(74, 222, 128, .35);
  background: rgba(34, 197, 94, .12);
  color: #86efac;
}

.note-go {
  display: none;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #8b86a3;
}

.note-go svg { display: block; width: 16px; height: 16px; }

.note-empty {
  margin: 18px 0;
  color: #8b86a3;
  font-size: 14px;
  text-align: center;
}

.note-page {
  margin: 10px 0 0;
  color: #6f6a86;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.note-view {
  padding: 18px 18px 14px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  background: linear-gradient(180deg, #14122a, #0b0a16);
}

.note-view[hidden] { display: none !important; }

.mp-pane.is-note:has(.note-view[hidden]) .note-split {
  grid-template-columns: 1fr;
}

.note-back {
  display: none;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 0 12px;
  height: 32px;
  padding: 0 10px 0 6px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 8px;
  background: #12101f;
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 800;
}

.note-back svg { width: 16px; height: 16px; }

.note-view-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(139, 92, 246, .18);
}

.note-view-head .note-ico {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.note-view-head .note-ico svg { width: 22px; height: 22px; }

.note-view-copy { min-width: 0; flex: 1; }

.note-from {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(122, 61, 255, .16);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 800;
}

.note-view-copy h3 {
  margin: 8px 0 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.note-view-copy p {
  margin: 0;
  color: #8b86a3;
  font-size: 13px;
}

.note-view-copy b { color: #e9d5ff; }

.note-view-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  color: #f4f6ff;
  font-size: 15px;
  line-height: 1.75;
}

.note-view-body .msg-body { margin: 0; }
.note-view-body p { margin: 0 0 10px; }

.note-view-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.note-view-acts button,
.note-nav button,
.note-dock-acts button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 8px;
  background: #12101f;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.note-view-acts button:hover:not(:disabled),
.note-nav button:hover:not(:disabled) {
  border-color: #8b5cf6;
  background: #1a1632;
}

.note-view-acts .is-del,
.note-dock-acts .is-del {
  border-color: rgba(248, 113, 113, .4);
  background: #1a1014;
  color: #fda4af;
}

.note-view-acts .is-del:hover:not(:disabled),
.note-dock-acts .is-del:hover:not(:disabled) {
  border-color: #fb7185;
  background: #2a1418;
}

.note-view-acts button:disabled,
.note-nav button:disabled,
.note-dock-acts button:disabled { opacity: .4; }

.note-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.note-nav button em { font-style: normal; }

.note-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  background: linear-gradient(180deg, #16132a, #0e0c1a);
}

.note-dock-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9c6d8;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.note-dock-pick input { position: absolute; opacity: 0; pointer-events: none; }
.note-dock-pick b { color: #e9d5ff; }
.note-dock-pick em { font-style: normal; }

.note-dock-acts { display: flex; gap: 8px; }
.note-dock-acts button { min-width: 92px; padding: 0 14px; }

.note-pick-dock { display: none; }

@media (max-width: 1180px) {
  .note-toolbar { flex-wrap: wrap; }
  .note-tools { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .note-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }
  .note-search {
    min-width: 0;
    height: 44px;
    max-height: none;
    padding: 0 10px 0 36px;
    border-radius: 6px;
  }
  .note-search > svg {
    left: 10px;
    width: 13px;
    height: 13px;
  }
  .note-search input { font-size: 16px; font-weight: 600; }
  .note-search-filter { display: block; width: 14px; height: 14px; flex-basis: 14px; }
  .note-search-filter svg { width: 14px; height: 14px; }
  .note-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .note-tools { width: 100%; }
  .note-count { flex: 1 1 auto; text-align: left; }
  .note-cats button,
  .note-sort,
  .note-act {
    min-width: 0;
    width: 100%;
    height: 30px;
    padding: 0 6px;
    font-size: 12px;
  }
  .note-sort {
    height: 44px;
    font-size: 16px;
  }
  .note-sort,
  .note-act { flex: 1 1 88px; width: auto; }
  .note-toolbar .note-act.is-pick { display: none; }
  .note-split { grid-template-columns: 1fr; }
  .mp-pane.is-note:not(.is-reading) .note-view { display: none; }
  .mp-pane.is-note.is-reading .note-side { display: none; }
  .note-back { display: inline-flex; }
  .note-go { display: block; }
  .note-view { padding: 14px 12px 12px; }
  .note-view-copy h3 { font-size: 17px; }
  .note-dock {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .note-dock-pick { display: none; }
  .mp-pane.is-note.is-picking:not(.is-reading) .note-dock-pick { display: inline-flex; }
  .mp-pane.is-note.is-reading .note-dock { display: none; }
  .note-dock-acts { display: grid; grid-template-columns: 1fr 1fr; }
  .note-pick-dock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    margin-top: 10px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #7a3dff, #4d7dff);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(77, 125, 255, .22);
  }
  .note-pick-dock svg { width: 18px; height: 18px; }
  .mp-pane.is-note.is-picking .note-pick-dock,
  .mp-pane.is-note.is-reading .note-pick-dock { display: none; }
}

.mp-pane.is-ev { min-height: 0; }
.mp-pane.is-ev .ev-toolbar { order: 1; }
.mp-pane.is-ev .ev-view { order: 2; }
.mp-pane.is-ev .ev-track { order: 3; }
.mp-pane.is-ev .ev-empty { order: 4; }
.mp-pane.is-ev .ev-dots { order: 5; }

.ev-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 12px;
  background: linear-gradient(180deg, #16132a, #0e0c1a);
}

.ev-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 220px;
  min-width: 180px;
  height: 42px;
  padding: 0 12px 0 40px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 8px;
  background: #0a0914;
}

.ev-search svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #b56bff;
}

.ev-search input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  outline: none;
}

.ev-search input::placeholder { color: #6f6a86; }

.ev-search:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(122, 61, 255, .16);
}

.ev-cats { display: flex; gap: 8px; flex: 0 0 auto; }

.ev-cats button,
.ev-sort {
  height: 42px;
  min-width: 72px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 8px;
  background: #14122a;
  color: #c9c6d8;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.ev-cats button:hover { border-color: rgba(181, 107, 255, .5); color: #fff; }

.ev-cats button.is-on {
  border-color: transparent;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  box-shadow: 0 8px 16px rgba(77, 125, 255, .22);
}

.ev-sort {
  margin-left: auto;
  min-width: 92px;
  color-scheme: dark;
}

.ev-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ev-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 14px;
  background: #0c0b16;
  cursor: pointer;
  user-select: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.ev-card:hover { border-color: rgba(139, 92, 246, .5); }

.ev-card.is-on {
  border-color: #4d7dff;
  box-shadow: 0 0 0 1px rgba(77, 125, 255, .45), 0 12px 24px rgba(122, 61, 255, .2);
}

.ev-thumb {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #12101f;
}

.ev-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.ev-badge.is-live {
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
}

.ev-badge.is-end {
  background: rgba(15, 14, 24, .82);
  color: #9b96b0;
  border: 1px solid rgba(139, 92, 246, .25);
}

.ev-card-copy {
  display: grid;
  gap: 6px;
  padding: 12px 14px 14px;
}

.ev-card-copy time {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
}

.ev-card-copy strong {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.ev-card-copy p {
  margin: 0;
  color: #9b96b0;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ev-more {
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 800;
}

.ev-empty {
  margin: 18px 0;
  color: #8b86a3;
  font-size: 14px;
  text-align: center;
}

.ev-dots { display: none; }

.ev-view {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 14px;
  background: linear-gradient(180deg, #14122a, #0b0a16);
}

.ev-view[hidden] { display: none !important; }

.ev-view-media {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #12101f;
}

.ev-view-media img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.ev-view-copy { min-width: 0; }

.ev-view-copy h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.ev-view-date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: #8b86a3;
  font-size: 13px;
}

.ev-view-date svg { width: 15px; height: 15px; color: #93c5fd; }
.ev-view-date b { color: #e9d5ff; }

.ev-view-desc {
  margin: 0 0 12px;
  color: #c9c6d8;
  font-size: 14px;
  line-height: 1.65;
}

.ev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ev-tags span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: 999px;
  background: #12101f;
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 800;
}

.ev-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 188px;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(77, 125, 255, .22);
  text-decoration: none;
  white-space: nowrap;
}

.ev-cta i { font-style: normal; }

.ev-cta:disabled {
  opacity: .42;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 1180px) {
  .ev-toolbar { flex-wrap: wrap; }
  .ev-sort { margin-left: 0; }
  .ev-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-view { grid-template-columns: 160px minmax(0, 1fr); }
  .ev-cta { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 860px) {
  .ev-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }
  .ev-search {
    min-width: 0;
    height: 44px;
    max-height: none;
    padding: 0 10px 0 36px;
    border-radius: 6px;
  }
  .ev-search svg { left: 10px; width: 13px; height: 13px; }
  .ev-search input { font-size: 16px; font-weight: 600; }
  .ev-cats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ev-cats button,
  .ev-sort {
    min-width: 0;
    width: 100%;
    height: 30px;
    padding: 0 6px;
    font-size: 12px;
  }
  .ev-sort {
    height: 44px;
    font-size: 16px;
  }
  .ev-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .ev-card {
    flex: 0 0 min(86%, 320px);
    scroll-snap-align: start;
  }
  .ev-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
  }
  .ev-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #3a3654;
  }
  .ev-dots button.is-on {
    width: 16px;
    background: linear-gradient(90deg, #7a3dff, #4d7dff);
  }
  .ev-dots button[hidden] { display: none; }
  .ev-view {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .ev-view-media img { height: 160px; }
  .ev-view-copy h3 { font-size: 17px; }
  .ev-cta { height: 44px; }
}

@media (max-width: 980px) {
  .ntc-search,
  .cs-search,
  .note-search,
  .ev-search {
    box-sizing: border-box;
    overflow: hidden;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    max-height: none;
    padding: 0 10px 0 36px;
    border-radius: 6px;
  }
  .ntc-search svg,
  .cs-search svg,
  .note-search > svg,
  .ev-search svg {
    left: 12px;
    width: 16px;
    height: 16px;
  }
  .ntc-search input,
  .cs-search input,
  .note-search input,
  .ev-search input {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-width: 0;
    height: 100%;
    max-height: none;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
  }
}

.mp-pane.is-pc {
  gap: 14px;
}

.pc-balance {
  flex: 0 0 auto;
  padding: 16px 18px 12px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  background: linear-gradient(180deg, #14122a 0%, #0a0816 100%);
}

.pc-balance-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.pc-hold {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}

.pc-coin {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  background: radial-gradient(circle at 40% 30%, rgba(181, 107, 255, .22), transparent 62%), #100e22;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .22);
}

.pc-coin svg { display: block; width: 36px; height: 36px; }

.pc-hold-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pc-hold-copy em {
  color: #9b95b5;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.pc-hold-copy strong {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.pc-balance-msg {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #8b86a3;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.pc-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 8px;
  background: #0c0a18;
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.pc-refresh svg { width: 15px; height: 15px; }
.pc-refresh.is-spin svg { animation: pc-spin .6s linear; }

@keyframes pc-spin {
  to { transform: rotate(360deg); }
}

.pc-krw {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  color: #8b86a3;
  font-size: 12px;
  font-weight: 600;
}

.pc-krw i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .18);
  color: #c4b5fd;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.pc-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 14px;
  min-height: 0;
  flex: 1;
}

.pc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 16px 16px 14px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 12px;
  background: linear-gradient(180deg, #100e1c 0%, #0a0814 100%);
}

.pc-card h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.pc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.pc-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.pc-filters button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 8px;
  background: #12101f;
  color: #c9c6d8;
  font-size: 12px;
  font-weight: 800;
}

.pc-filters button.is-done { color: #6ee7b7; border-color: rgba(52, 211, 153, .28); }
.pc-filters button.is-wait { color: #fcd34d; border-color: rgba(251, 191, 36, .28); }
.pc-filters button.is-reject { color: #fda4af; border-color: rgba(251, 113, 133, .28); }

.pc-filters button.is-on {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  box-shadow: 0 8px 16px rgba(77, 125, 255, .2);
}

.pc-filters button.is-on.is-done {
  background: rgba(16, 185, 129, .18);
  border-color: rgba(52, 211, 153, .4);
  color: #6ee7b7;
  box-shadow: none;
}

.pc-filters button.is-on.is-wait {
  background: rgba(251, 191, 36, .14);
  border-color: rgba(251, 191, 36, .4);
  color: #fcd34d;
  box-shadow: none;
}

.pc-filters button.is-on.is-reject {
  background: rgba(244, 63, 94, .14);
  border-color: rgba(251, 113, 133, .4);
  color: #fda4af;
  box-shadow: none;
}

.pc-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: auto;
}

.pc-list-head,
.pc-item {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}

.pc-list-head {
  padding: 10px 12px;
  border-radius: 8px 8px 0 0;
  background: #1a1730;
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 800;
}

.pc-item {
  appearance: none;
  min-height: 52px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: default;
}

.pc-item > * { align-self: center; }

.pc-item time,
.pc-item b {
  color: #f4f6ff;
  font-size: 14px;
  font-weight: 700;
}

.pc-item b { font-variant-numeric: tabular-nums; }

.pc-item .st { justify-self: center; }

.pc-go { display: none; }

.pc-list-empty {
  margin: 0;
  padding: 36px 12px;
  color: #8b86a3;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.pc-pager { margin-top: 14px; }

.pc-lead {
  margin: 8px 0 14px;
  color: #9b95b5;
  font-size: 13px;
  font-weight: 600;
}

.pc-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.pc-chips button {
  height: 40px;
  padding: 0 6px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 8px;
  background: linear-gradient(180deg, #1a1730, #100e1c);
  color: #f4f6ff;
  font-size: 13px;
  font-weight: 800;
}

.pc-chips button:hover,
.pc-chips button.is-on {
  border-color: #8b5cf6;
  color: #e9d5ff;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .35);
}

.pc-chips .is-reset {
  color: #c4b5fd;
  border-color: rgba(181, 107, 255, .4);
  background: linear-gradient(180deg, #24183e, #140e24);
}

.pc-amt-label {
  display: block;
  margin: 0 0 8px;
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 800;
}

.pc-amt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 8px;
  background: #070716;
}

.pc-amt:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(122, 61, 255, .16);
}

.pc-amt input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  outline: none;
}

.pc-amt em {
  color: #c9c6d8;
  font-style: normal;
  font-weight: 800;
}

.pc-amt-hint {
  margin: 8px 0 16px;
  color: #6f6a86;
  font-size: 12px;
  font-weight: 600;
}

.pc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin: 0 0 8px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(77, 125, 255, .24);
}

.pc-cta:hover,
.pc-cta:focus-visible {
  filter: brightness(1.06);
}

.pc-cta.is-ghost {
  margin-bottom: 16px;
  border: 1px solid rgba(139, 92, 246, .35);
  background: transparent;
  color: #e9d5ff;
  box-shadow: none;
}

.pc-sum {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.pc-sum div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pc-sum dt {
  color: #8b86a3;
  font-size: 13px;
  font-weight: 700;
}

.pc-sum dd {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .pc-balance { padding: 12px 12px 10px; }
  .pc-balance-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .pc-hold { flex: 1 1 auto; }
  .pc-coin { width: 40px; height: 40px; flex-basis: 40px; }
  .pc-coin svg { width: 30px; height: 30px; }
  .pc-hold-copy strong { font-size: 20px; }
  .pc-balance-msg {
    flex: 1 1 100%;
    order: 3;
    text-align: left;
    font-size: 12px;
  }
  .pc-refresh {
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
  .pc-krw { font-size: 11px; }
  .pc-split {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .pc-card.is-form { order: 1; }
  .pc-card.is-hist { order: 2; }
  .pc-card { padding: 14px 12px 12px; }
  .pc-card-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .pc-filters { justify-content: flex-start; }
  .pc-filters button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 4px;
    font-size: 11px;
  }
  .pc-list-head { display: none; }
  .pc-item {
    grid-template-columns: 1fr auto 16px;
    grid-template-areas:
      "time time go"
      "amt badge go";
    justify-items: start;
    gap: 4px 10px;
    min-height: 0;
    padding: 12px 4px 12px 2px;
    cursor: pointer;
    text-align: left;
  }
  .pc-item time { grid-area: time; color: #8b86a3; font-size: 12px; font-weight: 600; }
  .pc-item b { grid-area: amt; font-size: 15px; }
  .pc-item .st { grid-area: badge; justify-self: end; }
  .pc-go {
    display: grid;
    place-items: center;
    grid-area: go;
    width: 16px;
    height: 16px;
    color: #6f6a86;
  }
  .pc-go svg { display: block; width: 14px; height: 14px; }
  .pc-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pc-chips button { height: 36px; font-size: 12px; }
  .pc-amt { height: 44px; }
  .pc-amt input { font-size: 16px; }
  .pc-cta { height: 44px; font-size: 15px; }
  .pc-lead,
  .pc-amt-hint { font-size: 12px; }
}

.chg-col.is-dep .dep-cta,
.chg-col.is-wd .dep-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 12px 0 24px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(77, 125, 255, .24);
  box-sizing: border-box;
}

.chg-col.is-wd .dep-cta {
  background: linear-gradient(90deg, #e11d48, #dc2626);
  box-shadow: 0 10px 22px rgba(220, 38, 38, .28);
}

.chg-col.is-dep .chg-h,
.chg-col.is-wd .chg-h {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chg-col.is-dep .chg-h em,
.chg-col.is-wd .chg-h em {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.dep-step { margin: 0 0 18px; }

.dep-method-note,
.dep-bank-amt {
  margin: 8px 0 0;
  color: #8b86a3;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.dep-amt-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr);
  align-items: stretch;
  gap: 10px;
  margin: 0 0 12px;
}

.dep-amt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 52px;
}

.dep-amt-lab,
.dep-amt > span:first-child.dep-amt-lab {
  display: none;
}

.chg-col.is-dep .pc-amt,
.chg-col.is-wd .pc-amt {
  height: 52px;
  min-height: 52px;
}

.dep-rate {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 52px;
  height: 52px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 8px;
  background: #100e1c;
}

.dep-rate button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 6px;
  background: #0c0a18;
  color: #c4b5fd;
}

.dep-rate button svg { width: 14px; height: 14px; }
.dep-rate button.is-spin svg { animation: pc-spin .6s linear; }

.dep-rate p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  margin: 0;
}

.dep-rate em {
  color: #8b86a3;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.dep-rate strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.dep-fx {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 4px 0 0;
}

.dep-fx div {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  background: #0a0814;
}

.dep-fx div.is-final {
  border-color: rgba(139, 92, 246, .45);
  background: linear-gradient(180deg, #1a1450, #120e28);
}

.dep-fx em {
  display: block;
  margin: 0 0 4px;
  color: #8b86a3;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.dep-fx b {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  word-break: break-all;
}

.dep-warn {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(251, 191, 36, .28);
  border-radius: 8px;
  background: rgba(251, 191, 36, .08);
  color: #fcd34d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.dep-warn-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0 0 12px;
}

.dep-warn-row .dep-warn {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.dep-quick-inq {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 118px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffb020, #ff7a00);
  color: #1a0f00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: 0 6px 16px rgba(255, 122, 0, .35);
  white-space: nowrap;
  cursor: pointer;
}

.dep-quick-inq:hover,
.dep-quick-inq:focus-visible {
  filter: brightness(1.08);
}

.dep-quick-inq:disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: none;
}

.dep-warn.is-bank {
  border-color: rgba(139, 92, 246, .28);
  background: rgba(122, 61, 255, .1);
  color: #c4b5fd;
}

/* 계좌이체 4단계 — 보너스 선택 */
.dep-bonus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dep-bonus-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(122, 61, 255, .22);
  background: linear-gradient(180deg, #14122a, #0a0918);
  cursor: pointer;
  min-width: 0;
}

.dep-bonus-item:has(input:checked) {
  border-color: #b56bff;
  box-shadow: 0 0 0 1px #b56bff, 0 0 14px rgba(122, 61, 255, .18);
  background: #12101f;
}

.dep-bonus-item input {
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: #b56bff;
}

.dep-bonus-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dep-bonus-name {
  color: #f4f6ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.dep-bonus-meta {
  color: #8b86a3;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  word-break: keep-all;
}

@media (max-width: 720px) {
  .dep-bonus-list {
    grid-template-columns: 1fr;
  }
}

.dep-wallet {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.dep-qr {
  width: 112px;
  height: 112px;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.dep-qr.is-empty {
  background: rgba(255, 255, 255, .06);
  border: 1px dashed rgba(181, 107, 255, .35);
}

.dep-qr svg,
.dep-qr img {
  display: block;
  width: 100%;
  height: 100%;
}

.dep-wallet-copy > span {
  display: block;
  margin: 0 0 6px;
  color: #9b95b5;
  font-size: 12px;
  font-weight: 700;
}

.dep-addr-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.dep-addr-row code {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.dep-addr-row button {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 6px;
  background: #12101f;
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dep-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.dep-meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dep-meta em {
  color: #8b86a3;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.dep-meta b {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.dep-bank {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 8px;
  background: #0a0814;
}

.dep-bank.is-line {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dep-bank.is-line b {
  flex: 1;
  min-width: 0;
  text-align: right;
  word-break: break-all;
}

.wd-rolling {
  margin-top: 10px;
}

.dep-bank > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dep-bank em {
  color: #8b86a3;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.dep-bank b {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.dep-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: #c9c6d8;
  font-size: 13px;
  font-weight: 700;
}

.dep-check input {
  width: 16px;
  height: 16px;
  accent-color: #7a3dff;
}

.dep-rate[hidden],
.dep-fx[hidden],
.dep-step[hidden],
.dep-bank-amt[hidden] {
  display: none !important;
}

.dep-fx.is-bank3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wd-fields {
  display: grid;
  gap: 10px;
}

.wd-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.wd-field > span {
  color: #9b95b5;
  font-size: 12px;
  font-weight: 700;
}

.wd-field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wd-field input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 8px;
  background: #100e1c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.wd-field input:focus {
  outline: 0;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .35);
}

.wd-field input.is-bad {
  border-color: rgba(248, 113, 113, .6);
}

.wd-field-row button {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 8px;
  background: #12101f;
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.wd-mismatch {
  margin: 0;
  color: #fca5a5;
  font-size: 12px;
  font-weight: 700;
}

.wd-mismatch[hidden] {
  display: none !important;
}

.chg-col.is-dep.is-bank .dep-amt-row,
.chg-col.is-wd.is-bank .dep-amt-row {
  grid-template-columns: 1fr;
}

.dep-amt-title.is-krw { display: none; }
.chg-col.is-dep.is-bank .dep-amt-title.is-fx,
.chg-col.is-wd.is-bank .dep-amt-title.is-fx { display: none; }
.chg-col.is-dep.is-bank .dep-amt-title.is-krw,
.chg-col.is-wd.is-bank .dep-amt-title.is-krw { display: inline; }

.chg-methods.is-six button.is-on {
  border-color: #8b5cf6;
  background: #161232;
  box-shadow: 0 0 0 1px #8b5cf6, 0 0 16px rgba(122, 61, 255, .28);
  color: #fff;
}

@media (max-width: 860px) {
  .dep-amt-row,
  .dep-fx,
  .dep-fx.is-bank3,
  .dep-wallet {
    grid-template-columns: 1fr;
  }
  .dep-fx div.is-final { grid-column: 1 / -1; }
  .dep-qr { width: 96px; height: 96px; }
  .chg-methods.is-six button {
    min-height: 46px;
    padding: 6px 4px;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
  }
  .chg-methods.is-six .pm { width: 22px; height: 22px; flex-basis: 22px; }
  .chg-methods.is-six .pm svg { width: 22px; height: 22px; }
  .chg-col.is-dep .pc-amt,
  .chg-col.is-wd .pc-amt,
  .dep-rate {
    height: 48px;
    min-height: 48px;
  }
  .chg-col.is-dep .dep-cta,
  .chg-col.is-wd .dep-cta {
    height: 44px;
    min-height: 44px;
    margin-bottom: 24px;
  }
}

/* Auth modals: login / join / forgot */
.modal-panel.is-auth {
  flex-direction: column;
  max-height: min(92vh, 920px);
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(900px 220px at 18% -8%, rgba(122, 61, 255, .22), transparent 58%),
    #070716;
  box-shadow:
    0 0 0 1px rgba(106, 61, 255, .55),
    0 0 48px rgba(122, 61, 255, .18),
    0 28px 70px rgba(0, 0, 0, .62);
}

.modal-panel.is-auth .modal-x.is-au-x {
  position: static;
  top: auto;
  right: auto;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  color: #d7d3e8;
}

.au-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 62px;
  padding: 10px 16px 10px 18px;
  border-bottom: 1px solid rgba(106, 61, 255, .28);
  background: rgba(7, 7, 22, .96);
}

.au-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.au-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.au-brand strong {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

.au-brand em {
  font-style: normal;
  background: linear-gradient(90deg, #7a3dff, #4d7dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.au-tabs {
  display: inline-flex;
  gap: 8px;
  justify-self: center;
}

.au-tabs button {
  height: 34px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #9b95b5;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.au-tabs button.is-on,
.modal-root[data-open="login"] .is-login .au-tabs [data-open="login"],
.modal-root[data-open="join"] .is-join .au-tabs [data-open="join"] {
  color: #fff;
  border-color: #7a3dff;
  background: rgba(122, 61, 255, .22);
  box-shadow: 0 0 0 1px rgba(122, 61, 255, .18), 0 0 16px rgba(122, 61, 255, .2);
}

.au-head .is-au-x { justify-self: end; }

.au-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .82fr);
  flex: 1 1 auto;
  min-height: 0;
}

.modal-root[data-open="login"] .au-body {
  grid-template-columns: minmax(0, 1fr) 458px;
}

.au-main {
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 22px 24px 20px;
}

.au-title {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.au-lead {
  margin: 6px 0 16px;
  color: #a8a3bb;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.au-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 46%);
  align-items: start;
  gap: 8px 18px;
  margin: 0 0 16px;
}

.au-hero .au-lead { margin-bottom: 0; }

.au-hero .au-steps {
  width: 100%;
  margin: 4px 0 0;
}

.au-sec {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.au-form { display: grid; }

.au-lab {
  display: block;
  margin: 10px 0 6px;
  color: #f4f4fb;
  font-size: 12px;
  font-weight: 800;
}

.au-lab b {
  color: #fb7185;
  font-weight: 800;
}

.au-lab em {
  margin-left: 4px;
  color: #8b849c;
  font-style: normal;
  font-weight: 650;
}

.au-field {
  position: relative;
}

.au-field input,
.au-field select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #6a3dff;
  border-radius: 6px;
  background: #0c0b18;
  color: #fff;
  font: inherit;
  outline: none;
  appearance: none;
}

.au-field input::placeholder {
  color: #6f6984;
}

.au-field input:focus,
.au-field select:focus {
  border-color: #8b5cff;
  box-shadow: 0 0 0 3px rgba(122, 61, 255, .18), 0 0 18px rgba(77, 125, 255, .12);
}

.au-field.has-lead input { padding-left: 42px; }
.au-field.has-eye input { padding-right: 42px; }
.au-field.has-time input { padding-right: 58px; }
.au-field.is-ok input { padding-right: 38px; }
.au-field.has-eye.is-ok input { padding-right: 72px; }

.au-field.is-ok::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: #22c55e;
  clip-path: polygon(14% 48%, 0 62%, 40% 100%, 100% 18%, 84% 4%, 40% 70%);
}

.au-field.has-eye.is-ok::after { right: 44px; }

.au-ico {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #8b7cff;
  transform: translateY(-50%);
  pointer-events: none;
}

.au-ico svg { display: block; width: 100%; height: 100%; }

.au-field .modal-eye {
  color: #b7b0cc;
}

.au-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.au-split.is-phone {
  grid-template-columns: 124px minmax(0, 1fr) auto;
}

.au-carrier {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.au-carrier-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  height: 44px;
  padding: 0 30px 0 12px;
  border: 1px solid #6a3dff;
  border-radius: 6px;
  background: #0c0b18;
  color: #fff;
  font: inherit;
  outline: none;
  text-align: left;
  cursor: pointer;
}

.au-carrier-btn [data-au-carrier-lab] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.au-carrier:not(.has-val) .au-carrier-btn [data-au-carrier-lab] {
  color: #6f6984;
}

.au-carrier-btn:focus,
.au-carrier-btn:focus-visible,
.au-carrier.is-open .au-carrier-btn {
  border-color: #8b5cff;
  box-shadow: 0 0 0 3px rgba(122, 61, 255, .18), 0 0 18px rgba(77, 125, 255, .12);
}

.au-carrier-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid #c4b5fd;
  border-bottom: 1.6px solid #c4b5fd;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.au-carrier.is-open .au-carrier-btn::after {
  transform: translateY(-20%) rotate(225deg);
}

.au-carrier.is-need .au-carrier-btn {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, .18);
}

.au-carrier-mark {
  position: relative;
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #16132a center / 20px 20px no-repeat;
}

.au-carrier-mark.is-none {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='4' fill='%2316132a'/%3E%3Crect x='3.4' y='12.2' width='2.3' height='3.6' rx='.6' fill='%236f6984'/%3E%3Crect x='7.1' y='9.6' width='2.3' height='6.2' rx='.6' fill='%236f6984'/%3E%3Crect x='10.8' y='7.2' width='2.3' height='8.6' rx='.6' fill='%238b7cff'/%3E%3Crect x='14.5' y='4.8' width='2.3' height='11' rx='.6' fill='%23c4b5fd'/%3E%3C/svg%3E");
}

.au-carrier-mark.is-sk {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='4' fill='%23EA002C'/%3E%3Cpath fill='%23fff' d='M4.5 4.5h11v2.9h-4.05V15.5H8.55V7.4H4.5z'/%3E%3C/svg%3E");
}

.au-carrier-mark.is-kt {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='4' fill='%23FF6900'/%3E%3Cpath fill='%23fff' d='M3.7 4.4h2.35v4.85L9.7 4.4h2.85L8.4 9.35l4.55 6.25H9.95L6.05 10.1v5.5H3.7zm8.85 0H15v4.15h2.05v2.2H15v4.75h-2.45v-4.75H10.5V8.55h2.05z'/%3E%3C/svg%3E");
}

.au-carrier-mark.is-lg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='4' fill='%23E6007E'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' d='M4.7 5.2v5.35c0 2.2 1.7 3.55 4.25 3.55s4.25-1.35 4.25-3.55V5.2'/%3E%3Cpath fill='%23fff' d='M13.85 6.05h1.55v1.55h1.55v1.55h-1.55v1.55h-1.55V9.15h-1.55V7.6h1.55z'/%3E%3C/svg%3E");
}

.au-carrier-mark.is-mvno::after {
  content: "알";
  position: absolute;
  right: -3px;
  bottom: -3px;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #3b1d8a;
  box-shadow: 0 0 0 1px #0c0b18;
  color: #efe9ff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 12px;
  text-align: center;
}

.au-carrier-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: max(100%, 148px);
  padding: 6px;
  border: 1px solid #6a3dff;
  border-radius: 6px;
  background: #0c0b18;
  box-shadow: 0 12px 28px rgba(8, 6, 20, .55);
}

.au-carrier-menu[hidden] { display: none; }

.au-carrier-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.au-carrier-menu button:hover,
.au-carrier-menu button:focus-visible {
  background: rgba(122, 61, 255, .16);
}

.au-carrier-menu button.is-on {
  background: rgba(122, 61, 255, .22);
  color: #efe9ff;
}

.au-carrier.is-open { z-index: 8; }

.au-main:has(.au-carrier.is-open),
.modal-panel.is-auth:has(.au-carrier.is-open) {
  overflow: visible;
}

.au-split.is-cc {
  grid-template-columns: 92px minmax(0, 1fr);
}

.au-side {
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(122, 61, 255, .55);
  border-radius: 6px;
  background: rgba(122, 61, 255, .16);
  color: #efe9ff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.au-side:hover,
.au-side:focus-visible {
  background: rgba(122, 61, 255, .28);
}

.au-field.is-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid #c4b5fd;
  border-bottom: 1.6px solid #c4b5fd;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.au-field.is-select select { padding-right: 30px; }

.au-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 18px;
}

.au-link,
.au-text {
  padding: 0;
  border: 0;
  background: transparent;
  color: #60a5fa;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.au-link:hover,
.au-text:hover {
  color: #93c5fd;
}

.au-text.is-back::before {
  content: "← ";
}

.au-cta {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #4d7dff, #7a3dff);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: 0 10px 28px rgba(77, 125, 255, .28);
}

.au-cta:hover,
.au-cta:focus-visible {
  filter: brightness(1.06);
}

.au-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
  color: #8b849c;
  font-size: 12px;
  font-weight: 700;
}

.au-or::before,
.au-or::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, .1);
}

.au-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: #0c0b16;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.au-alt:hover,
.au-alt:focus-visible {
  border-color: rgba(38, 161, 123, .55);
  background: rgba(38, 161, 123, .08);
}

.au-usdt {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.au-usdt svg { display: block; width: 100%; height: 100%; }

.au-foot {
  margin: 16px 0 0;
  color: #9b95b5;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.au-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #7d7893;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.au-safe i {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #60a5fa;
}

.au-safe svg { display: block; width: 100%; height: 100%; }

.au-caps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
}

.au-caps[hidden] { display: none; }

.au-caps::before {
  content: "i";
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  font-style: italic;
}

.au-hint {
  min-height: 16px;
  margin: 4px 0 10px;
  color: #8b849c;
  font-size: 12px;
  font-weight: 650;
}

.au-hint.is-ok { color: #4ade80; }
.au-hint.is-bad { color: #fb7185; }
.au-hint.is-help {
  min-height: 0;
  margin: 6px 0 12px;
  color: #8b849c;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
}

.au-meter {
  display: grid;
  grid-template-columns: repeat(4, 28px) auto;
  align-items: center;
  gap: 4px;
  margin: 6px 0 2px;
}

.au-meter i {
  height: 4px;
  border-radius: 99px;
  background: #2a2740;
}

.au-meter em {
  margin-left: 8px;
  color: #4ade80;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.au-meter.is-1 i:nth-child(1) { background: #fb7185; }
.au-meter.is-1 em { color: #fb7185; }
.au-meter.is-2 i:nth-child(1),
.au-meter.is-2 i:nth-child(2) { background: #fbbf24; }
.au-meter.is-2 em { color: #fbbf24; }
.au-meter.is-3 i:nth-child(1),
.au-meter.is-3 i:nth-child(2),
.au-meter.is-3 i:nth-child(3) { background: #4ade80; }
.au-meter.is-4 i { background: #22c55e; }

.au-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 8px;
}

.au-type {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 10px 10px 10px 34px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(12, 11, 24, .8);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

/* 카드 전체 클릭 가능 — 네이티브 라디오는 투명 오버레이 */
.au-type input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  accent-color: #4d7dff;
}

.au-type::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
  pointer-events: none;
}

.au-type.is-on::before {
  border-color: #4d7dff;
  background: #4d7dff;
  box-shadow: inset 0 0 0 3px #0c0b18;
}

.au-type strong {
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.au-type span {
  color: #8b849c;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.au-type.is-on {
  border-color: #4d7dff;
  background: rgba(77, 125, 255, .1);
  box-shadow: 0 0 0 1px rgba(77, 125, 255, .28), 0 0 18px rgba(77, 125, 255, .12);
}

.au-bank-row {
  display: grid;
  grid-template-columns: minmax(108px, 1.05fr) minmax(0, 1.35fr) minmax(88px, 1fr);
  gap: 8px;
  align-items: stretch;
}

.au-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.au-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #6f6984;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.au-steps li::before {
  content: "";
  position: absolute;
  top: 13px;
  right: calc(50% + 18px);
  left: -50%;
  height: 2px;
  background: #2a2740;
}

.au-steps li:first-child::before { display: none; }

.au-steps i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #161428;
  color: #8b849c;
  font-style: normal;
  font-size: 12px;
  box-shadow: 0 0 0 2px #2a2740;
}

.au-steps .is-on { color: #e9d5ff; }
.au-steps .is-on i {
  color: #fff;
  background: linear-gradient(180deg, #7a3dff, #4d7dff);
  box-shadow: 0 0 0 2px rgba(122, 61, 255, .45), 0 0 12px rgba(122, 61, 255, .4);
}

.au-steps .is-on::before { background: linear-gradient(90deg, #7a3dff, #4d7dff); }

.au-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(38, 161, 123, .28);
  border-radius: 8px;
  background: rgba(8, 28, 22, .72);
  color: #bbf7d0;
  font-size: 13px;
  font-weight: 700;
}

.au-note[hidden] { display: none; }

.au-field.has-time em {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #38bdf8;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  transform: translateY(-50%);
  pointer-events: none;
}

.au-done {
  padding: 12px 0 8px;
}

.au-reset-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 4px 0 16px;
  border-radius: 50%;
  color: #c4b5fd;
  background: radial-gradient(circle at 50% 40%, rgba(77, 125, 255, .28), rgba(122, 61, 255, .08) 62%, transparent 70%);
  box-shadow: 0 0 0 1px rgba(122, 61, 255, .4), 0 0 28px rgba(122, 61, 255, .28);
}

.au-reset-ico svg {
  width: 30px;
  height: 30px;
}

.au-sent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 197, 94, .38);
  border-radius: 8px;
  background: rgba(20, 83, 45, .28);
  color: #86efac;
  font-size: 13px;
  font-weight: 700;
}

.au-sent[hidden] { display: none; }

.au-sent::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: #4ade80;
  clip-path: polygon(14% 48%, 0 62%, 40% 100%, 100% 18%, 84% 4%, 40% 70%);
}

.au-sent span { flex: 1 1 auto; min-width: 0; }

.au-sent button {
  padding: 0;
  border: 0;
  background: none;
  color: #93c5fd;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.au-sent button:disabled { opacity: .55; }

.au-aside {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-left: 1px solid rgba(106, 61, 255, .28);
  background: #070716;
}

.au-ban {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.au-ban.is-m { display: none; }

.modal-panel.is-auth .modal-check {
  color: #c9c6d8;
  font-size: 13px;
}

@media (max-width: 860px) {
  .modal-root[data-open="login"],
  .modal-root[data-open="join"],
  .modal-root[data-open="forgot"] {
    padding: 8px;
    align-items: start;
  }

  .modal-root[data-open="login"] .modal-stack,
  .modal-root[data-open="join"] .modal-stack,
  .modal-root[data-open="forgot"] .modal-stack {
    width: min(420px, 100%);
  }

  .modal-panel.is-auth {
    max-height: min(96vh, 960px);
  }

  .au-head {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand close" "tabs tabs";
    gap: 10px 8px;
    min-height: 0;
    padding: 10px 12px 12px;
  }

  .au-brand { grid-area: brand; }
  .au-head .is-au-x { grid-area: close; }
  .au-tabs {
    grid-area: tabs;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    justify-self: stretch;
  }

  .au-tabs button { height: 38px; }

  .au-body {
    display: flex;
    flex-direction: column;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .au-aside {
    order: -1;
    flex: 0 0 auto;
    height: auto;
    overflow: hidden;
    padding: 10px 12px 0;
    border-left: 0;
    background: transparent;
  }

  .au-ban.is-pc { display: none; }

  .au-ban.is-m {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 384;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(122, 61, 255, .22);
  }

  .au-hero {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 12px;
  }

  .au-hero .au-steps {
    order: -1;
    margin: 0;
  }

  .au-main {
    overflow: visible;
    padding: 16px 16px 22px;
  }

  .au-title { font-size: 24px; }
  .au-split.is-cc {
    grid-template-columns: 78px minmax(0, 1fr);
  }
  .au-split.is-phone {
    grid-template-columns: 114px minmax(0, 1fr);
  }
  .au-split.is-phone .au-side {
    grid-column: 1 / -1;
  }
  .au-types { grid-template-columns: 1fr 1fr; gap: 8px; }
  .au-bank-row {
    grid-template-columns: 1fr;
  }
  .au-type { min-height: 0; padding: 10px 8px 10px 30px; }
  .au-type strong { font-size: 12px; }
  .au-type span { font-size: 11px; }
  .au-sent { flex-wrap: wrap; }
}

/* iOS Safari: inputs below 16px auto-zoom on focus and often do not restore. */
@media screen and (max-width: 980px) {
  input,
  textarea,
  select,
  [contenteditable="true"] {
    font-size: 16px;
    line-height: 1.4;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  input[type="date"],
  input[type="url"],
  textarea,
  select,
  [contenteditable="true"],
  .prov-search input,
  .slot-search input,
  .au-field input,
  .au-field select,
  .modal-field input,
  .modal-field select,
  .set-form .modal-field input,
  .ntc-search input,
  .cs-search input,
  .note-search input,
  .ev-search input,
  .cs-sort,
  .ev-sort,
  .note-sort,
  .mp-amt input,
  .pc-amt input,
  .wd-field input,
  .bet-date input,
  .mp-date input,
  .inq-text,
  .inq-form input,
  .acc-select select,
  .acc-search input,
  .acc-input {
    font-size: 16px;
    line-height: 1.4;
  }

  .wal-amt input {
    font-size: 22px;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  input[type="date"],
  input[type="url"],
  textarea,
  select {
    box-sizing: border-box;
  }

  .au-field input,
  .au-field select,
  .modal-field input,
  .modal-field select,
  .set-form .modal-field input,
  .mp-amt input,
  .wd-field input,
  .inq-text,
  .inq-form input[type="text"] {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .au-field.has-lead input { padding-left: 42px; }
  .au-field.has-eye input { padding-right: 42px; }
  .au-field.has-time input { padding-right: 58px; }
  .au-field.is-ok input { padding-right: 38px; }
  .au-field.has-eye.is-ok input { padding-right: 72px; }
  .au-field.is-select select { padding-right: 30px; }
  .modal-field:has(.modal-eye) input { padding-right: 44px; }
  .modal-field.is-select select { padding-right: 36px; }

  .prov-search input,
  .wd-field input,
  .mp-date input {
    min-height: 44px;
    height: 44px;
  }

  .slot-search { height: 44px; min-height: 44px; }
  .bet-date { min-height: 44px; height: 44px; }
  .pc-amt { min-height: 44px; height: 44px; }
  .ntc-search,
  .cs-search,
  .note-search,
  .ev-search {
    min-height: 44px;
    height: 44px;
    max-height: none;
  }

  .cs-sort,
  .ev-sort,
  .note-sort {
    min-height: 44px;
    height: 44px;
  }

  button.cs-item,
  .cs-item {
    min-height: 64px;
    height: auto;
    max-height: none;
    overflow: visible;
    font-size: 15px;
    line-height: 1.3;
    padding: 12px 14px;
  }
  .cs-item .cs-meta strong { font-size: 14px; }
  .cs-item .cs-st {
    font-size: 11px;
    height: 22px;
    min-height: 22px;
    max-height: 22px;
    line-height: 1;
  }
}

@media screen and (max-width: 767px) {
  input,
  textarea,
  select,
  [contenteditable="true"] {
    font-size: 16px;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  input[type="date"],
  input[type="url"],
  textarea,
  select,
  [contenteditable="true"],
  .prov-search input,
  .slot-search input,
  .au-field input,
  .au-field select,
  .modal-field input,
  .modal-field select,
  .set-form .modal-field input,
  .ntc-search input,
  .cs-search input,
  .note-search input,
  .ev-search input,
  .cs-sort,
  .ev-sort,
  .note-sort,
  .mp-amt input,
  .pc-amt input,
  .wd-field input,
  .bet-date input,
  .mp-date input,
  .inq-text,
  .inq-form input,
  .acc-select select,
  .acc-search input,
  .acc-input {
    font-size: 16px;
  }

  .wal-amt input {
    font-size: 22px;
  }
}

/* Double-tap zoom: interactive controls only. Page pinch-zoom and pan/scroll stay enabled. */
@media (hover: none), (pointer: coarse) {
  a,
  button,
  [role="button"],
  [role="tab"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="checkbox"],
  input[type="radio"],
  label,
  summary,
  select,
  .hot-chip,
  .hot-tab,
  .m-foot-item,
  .nav-toggle,
  .lang-btn,
  .lang-toggle,
  .dock-item,
  .hits-card,
  .game-card,
  .slot-game,
  .slot-chip,
  .promo-tab,
  .promo-subtab,
  .ev-card,
  .note-item,
  .ntc-item,
  .cs-item,
  .au-type,
  .au-carrier-btn,
  [data-open]:not(.modal-root),
  [data-lobby-tab],
  [data-mp-tab],
  [data-ev-tab],
  [data-bonus-tab],
  [data-bets-tab],
  [data-prov],
  [data-au-carrier-opt] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

