/* DONUTS doughnut theme — chrome / home overrides (load after layout-common + style) */

/* Dark balloon decor clashes with light peach shell */
.idx-page .idx-balloon-bg {
  display: none !important;
}

/* Topbar */
.idx-page .idx-topbar {
  background: var(--bg-bar);
  border-bottom: 1px solid var(--border);
}

.idx-page .idx-brand__logo {
  height: 40px;
  max-width: min(260px, 56vw);
}

.idx-page .idx-marquee {
  background: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06);
  padding: 10px 18px;
}

.idx-page .idx-marquee__text {
  color: var(--text-body);
}

.idx-page .idx-topbar__btn {
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.idx-page .idx-topbar__btn--ghost {
  background: var(--accent-brown);
  color: #ffffff;
}

.idx-page .idx-topbar__btn--accent {
  background: var(--accent);
  color: #ffffff;
}

/* Compact login/join are full button art (not 36×36 icons) */
.idx-page .idx-topbar__iconbtn--login,
.idx-page .idx-topbar__iconbtn--join {
  width: auto;
  height: 36px;
  background: transparent;
}

.idx-page .idx-topbar__iconbtn--login .idx-topbar__iconbtn-img,
.idx-page .idx-topbar__iconbtn--join .idx-topbar__iconbtn-img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

/* Logged-in chrome — 스샷: 흰 필 칩 + 핑크 Lv 뱃지(흰 글씨) */
.idx-page .idx-userbar__chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 36px;
  padding: 0 10px 0 8px !important;
  box-sizing: border-box;
  background: #ffffff !important;
  border: 1px solid #edd4b8 !important;
  border-radius: 999px !important;
  box-shadow: 0 1px 4px rgba(59, 43, 36, 0.06);
}

.idx-page .idx-userbar__avatar {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  object-fit: contain;
}

.idx-page .idx-userbar__name {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.idx-page .idx-userbar__level {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px;
  height: 22px;
  padding: 0 8px !important;
  background-color: #ff639b !important;
  border-radius: 8px !important;
  box-sizing: border-box;
}

.idx-page .idx-userbar__lv-label,
.idx-page .idx-userbar__lv-num {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.idx-page .idx-userbar__wallet {
  background-color: #ffffff;
  border: 1px solid var(--border);
}

.idx-page .idx-userbar__wallet-item + .idx-userbar__wallet-item {
  border-left-color: var(--border);
}

.idx-page .idx-userbar__wallet-label,
.idx-page .idx-userbar__wallet-unit {
  color: var(--text-muted);
}

.idx-page .idx-userbar__wallet-val {
  color: var(--accent-brown);
}

.idx-page .idx-userbar__logout {
  background-color: var(--accent-brown);
  color: #ffffff;
  border-radius: var(--radius-pill);
}

.idx-page .idx-topbar__iconbtn--avatar,
.idx-page .idx-topbar__iconbtn--cart {
  background: #ffffff;
  border: 1px solid var(--border);
}

/* Aside */
.idx-page .idx-aside {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
}

.idx-page .idx-aside__ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-align: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.idx-page .idx-aside__ttl::before,
.idx-page .idx-aside__ttl::after {
  content: "";
  flex: 1 1 auto;
  height: 0;
  border-top: 1px dashed rgba(154, 123, 95, 0.55);
}

.idx-page .idx-wallet {
  height: 42px;
  padding: 0 14px;
  background: var(--accent);
  border-radius: var(--radius-sm);
}

.idx-page .idx-wallet__label {
  color: #ffffff;
  font-weight: 600;
}

/* wallet icons in package are already white strokes */

.idx-page .idx-nav__text,
.idx-page .idx-menu__label,
.idx-page .idx-menu__sub {
  color: var(--text-body);
}

.idx-page .idx-nav__count {
  color: var(--accent);
  font-weight: 700;
}

.idx-page .idx-nav__ico {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(59, 43, 36, 0.08);
  overflow: hidden;
}

/* 마이페이지/이벤트/고객센터 등 absolute 오프셋 제거 → 중앙정렬 + 동일 크기 */
.idx-page .idx-nav__ico img,
.idx-page .idx-nav__stroke,
.idx-page .idx-nav__glyph,
.idx-page .idx-nav__glyph--event,
.idx-page .idx-nav__glyph--support {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  margin: 0 !important;
  display: block !important;
  object-fit: contain !important;
}

.idx-page .idx-nav__row > .idx-nav__img--inline,
.idx-page .idx-nav__img--tile {
  width: 15px !important;
  height: 15px !important;
  padding: 0 !important;
  box-sizing: border-box;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain;
}

/* 내비 아이콘 색 통일 — 흰 원(.idx-nav__ico)과 분리해서 필터 적용 */
.idx-page .idx-nav__ico img,
.idx-page .idx-nav__stroke,
.idx-page .idx-nav__glyph {
  filter: brightness(0) saturate(100%) invert(68%) sepia(8%) saturate(350%) hue-rotate(180deg) brightness(95%);
  opacity: 1;
}

/* 페이백/총횟수/총금액 PNG도 동일 톤 */
.idx-page .idx-nav__row[data-payback-claim] .idx-nav__ico img {
  width: 15px !important;
  height: 15px !important;
  filter: brightness(0) saturate(100%) invert(68%) sepia(8%) saturate(350%) hue-rotate(180deg) brightness(95%);
}

.idx-page .idx-menu__row:hover,
.idx-page .idx-nav__row:hover {
  background: rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
}

/* 활성: 핑크 배경 + 흰 글씨 (화이트 배경이면 layout의 흰 글씨가 안 보임) */
.idx-page .idx-menu__row--active {
  background: #ff639b !important;
  border-radius: var(--radius-sm);
}

.idx-page .idx-menu__row--active .idx-menu__ttl,
.idx-page .idx-menu__row--active .idx-menu__label,
.idx-page .idx-menu__row--active .idx-menu__sub {
  color: #ffffff !important;
}

/* 활성 시에도 아이콘 고유 컬러 유지 (화이트 필터 금지) */
.idx-page .idx-menu__row--active .idx-menu__ico img,
.idx-page .idx-menu__row--active .idx-menu__slot {
  filter: none;
  opacity: 1;
}

.idx-page .idx-menu__row--active .idx-menu__caret img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.idx-page .idx-aside__ban {
  border-radius: 14px;
  overflow: hidden;
}

/* Home slide */
.idx-page .idx-slide__viewport,
.idx-page .idx-slide__loading {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
}

.idx-page .idx-slide__viewport {
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(59, 43, 36, 0.1);
}

/* Boards — white cards, pink MORE */
.idx-page .idx-panel {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(59, 43, 36, 0.08);
  padding: 8px 0 12px;
}

.idx-page .idx-panel__head {
  border-bottom: 1px solid #f0e0d0;
}

.idx-page .idx-panel__ttl {
  color: var(--text);
  font-weight: 700;
}

.idx-page .idx-panel__more {
  color: var(--accent);
  gap: 4px;
}

.idx-page .idx-panel__dot {
  background: var(--accent);
}

.idx-page .idx-panel__txt {
  color: var(--text-body);
}

/* Category headings */
.idx-page .idx-cat__name {
  color: var(--accent);
  font-size: 18px;
}

.idx-page .idx-cat__btn {
  background: #ffffff;
  border: 1px solid var(--border);
}

.idx-page .idx-cat__btn-txt {
  color: var(--text-muted);
}

/* 타일 PNG에 라운드+투명 모서리가 베이크됨 → CSS radius/overflow/box-shadow 쓰면
   투명 코너 뒤로 사각 그림자가 비쳐 "빈 틀"처럼 보임. 그림자는 drop-shadow로만. */
.idx-page .idx-cat__tiles .idx-tile {
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.idx-page .idx-cat__tiles .idx-tile picture,
.idx-page .idx-cat__tiles .idx-tile img {
  border-radius: 0;
  background: transparent;
}

.idx-page .idx-cat__tiles .idx-tile img {
  filter: drop-shadow(0 8px 14px rgba(59, 43, 36, 0.14));
}

/* Footer */
.idx-page .idx-ft {
  background: var(--bg-bar);
  border-top: 1px solid var(--border);
}

.idx-page .idx-ft__nex {
  color: var(--accent);
}

.idx-page .idx-ft__rest {
  color: var(--accent-brown);
}

.idx-page .idx-ft__txt {
  color: var(--text-muted);
}

.idx-page .idx-ft__hi {
  color: var(--accent);
}

/* Drawer backdrop on light shell */
.idx-page .idx-drawer-backdrop,
body .idx-drawer-backdrop {
  background: rgba(59, 43, 36, 0.35);
}

/* Soften logout chip — image itself retinted; keep transparent shell */
.idx-page .idx-topbar__iconbtn--user-logout {
  background: transparent;
}

.idx-page .idx-topbar__iconbtn--user-logout .idx-topbar__iconbtn-img {
  opacity: 0.92;
}

/* 햄버거 메뉴 — 진한 갈색 */
.idx-page .idx-topbar__menu img {
  filter: none;
  opacity: 1;
}

/* ═══════════════════════════════════════════
   Auth modal — DONUTS login/join popup
   ═══════════════════════════════════════════ */
#idx-modal-login .popup,
#idx-modal-join .popup {
  background-color: #fde4cf !important;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 40px rgba(59, 43, 36, 0.22) !important;
  padding: 18px 22px 24px !important;
  gap: 14px !important;
}

#idx-modal-login .btn-popup-close,
#idx-modal-join .btn-popup-close {
  width: 36px;
  height: 36px;
  background-color: #5b4239 !important;
  background-image: none;
  border-radius: 12px;
  box-shadow: none;
}

#idx-modal-login .btn-popup-close-icon,
#idx-modal-join .btn-popup-close-icon {
  width: 14px;
  height: 14px;
  background-image: url(../img/ico-popup-close-x.svg) !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
}

:is(#idx-modal-login, #idx-modal-join) .idx-auth-brand {
  height: auto;
  margin-top: 4px;
}

:is(#idx-modal-login, #idx-modal-join) .idx-auth-brand-img {
  height: 44px;
  max-width: 240px;
}

:is(#idx-modal-login, #idx-modal-join) .idx-auth-heading {
  color: #e7719b !important;
  font-weight: 800 !important;
  font-size: 26px !important;
  line-height: 1.3 !important;
}

:is(#idx-modal-login, #idx-modal-join) .idx-auth-lede {
  color: #5b4239 !important;
  font-weight: 500 !important;
}

:is(#idx-modal-login, #idx-modal-join) .idx-auth-field-label {
  color: #5b4239 !important;
  font-weight: 700 !important;
}

#idx-modal-login .idx-auth-input-wrap,
#idx-modal-join .idx-auth-input-wrap,
#idx-modal-join .idx-auth-field-row .idx-auth-input-wrap {
  height: 48px !important;
  background-color: #ffffff !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgba(59, 43, 36, 0.08);
  overflow: hidden;
}

:is(#idx-modal-login, #idx-modal-join) .idx-auth-field {
  color: #3b2b24 !important;
  text-align: center;
  border-radius: 14px !important;
  background: transparent !important;
}

:is(#idx-modal-login, #idx-modal-join) .idx-auth-field::placeholder {
  color: #b0a094 !important;
  text-align: center;
}

:is(#idx-modal-login, #idx-modal-join) .idx-auth-field:-webkit-autofill,
:is(#idx-modal-login, #idx-modal-join) .idx-auth-field:-webkit-autofill:hover,
:is(#idx-modal-login, #idx-modal-join) .idx-auth-field:-webkit-autofill:focus,
:is(#idx-modal-login, #idx-modal-join) .idx-auth-field:-webkit-autofill:active {
  -webkit-text-fill-color: #3b2b24 !important;
  caret-color: #3b2b24 !important;
  border-radius: 14px !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
}

/* Login = brown / Telegram = blue / Register = pink */
#idx-modal-login button.login {
  background-color: #5b4239 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  height: 48px;
}

#idx-modal-login button.login .idx-auth-action-label,
#idx-modal-login button.telegram .idx-auth-action-label,
#idx-modal-login .idx-auth-btn-register .idx-auth-action-label,
#idx-modal-join button.telegram .idx-auth-action-label {
  color: #ffffff !important;
  font-weight: 800 !important;
}

#idx-modal-login button.telegram {
  background: #4da1e8 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  height: 48px;
}

/* join 제출 버튼이 class="telegram" 이지만 디자인상 핑크 회원가입 */
#idx-modal-join button.telegram,
#idx-modal-join button[type="submit"].telegram {
  background: #df6a8d !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  height: 48px;
}

#idx-modal-login .idx-auth-btn-register,
#idx-modal-login button.idx-auth-btn-register.idx-auth-switch-join {
  background-color: #df6a8d !important;
  border-radius: 14px !important;
  height: 48px;
  box-shadow: none !important;
}

#idx-modal-login .join-btn .idx-auth-lede,
#idx-modal-login .idx-auth-switch-caption .idx-auth-lede {
  color: #5b4239 !important;
}

/* Join modal secondary controls on light peach */
#idx-modal-join .idx-auth-btn-secondary {
  background-color: #5b4239 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  border-color: #5b4239 !important;
}

#idx-modal-join .idx-auth-btn-secondary .idx-auth-action-label {
  color: #ffffff !important;
}

/* 회원가입 입력 래퍼 전부 — 다크(#2f2f30) 제거 (인풋 자체는 투명, 래퍼만 화이트) */
#idx-modal-join .idx-auth-input-wrap,
#idx-modal-join .idx-auth-control,
#idx-modal-join .idx-auth-phone-prefix,
#idx-modal-join .idx-auth-phone-part,
#idx-modal-join .idx-auth-select-shell,
#idx-modal-join .idx-auth-input-wrap--select {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgba(59, 43, 36, 0.08);
}

#idx-modal-join .idx-auth-phone-prefix .idx-auth-field,
#idx-modal-join .idx-auth-phone-part .idx-auth-field,
#idx-modal-join .idx-auth-field--phone-prefix,
#idx-modal-join .idx-auth-select-shell .idx-auth-select,
#idx-modal-join .idx-auth-control .idx-auth-field {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

#idx-modal-join .idx-auth-phone-prefix,
#idx-modal-join .idx-auth-phone-part,
#idx-modal-join .idx-auth-select-shell,
#idx-modal-join .idx-auth-control,
#idx-modal-join .idx-auth-input-wrap {
  height: 48px !important;
}

#idx-modal-join .idx-auth-select-shell .idx-auth-select {
  text-align: left;
}

#idx-modal-join .idx-auth-select-chevron .idx-auth-chevron-img {
  filter: invert(0.35) sepia(0.4) saturate(1.2) hue-rotate(350deg);
  opacity: 0.85;
}

#idx-modal-join .idx-auth-field-heading,
#idx-modal-join .idx-auth-field-hint {
  color: #5b4239 !important;
}

#idx-modal-join button[type="submit"],
#idx-modal-join .idx-auth-submit,
#idx-modal-join button.login {
  background-color: #df6a8d !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

#idx-modal-join button[type="submit"] .idx-auth-action-label,
#idx-modal-join .idx-auth-submit .idx-auth-action-label {
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* ═══════════════════════════════════════════
   Sports national + user board (zip 3)
   ═══════════════════════════════════════════ */

/* Category bar — 해외형/국내형/스페셜/실시간 동일 */
.idx-sp-page .idx-sp-catbar,
.idx-sp-page .idx-sd-dcats,
.idx-sp-page .idx-sl-dcats {
  background-color: #f6d4b5 !important;
  border-radius: 20px !important;
}

/* 모바일 종목바 — 더보기 페이드/화살표 (다크→피치·핑크) */
@media (max-width: 1024px) {
  .idx-sp-page .idx-sp-catbar-scroller::after {
    top: 8px !important;
    right: 4px !important;
    bottom: 8px !important;
    width: 36px !important;
    border-radius: 0 16px 16px 0 !important;
    background: linear-gradient(
      90deg,
      rgba(246, 212, 181, 0) 0%,
      rgba(246, 212, 181, 0.85) 45%,
      #f6d4b5 100%
    ) !important;
  }

  .idx-sp-page .idx-sp-catbar-scroller::before {
    content: "" !important;
    top: 50% !important;
    right: 8px !important;
    transform: translateY(-50%) !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 8px !important;
    background-color: #fff6ec !important;
    border: 1px solid #e8c9a8 !important;
    box-shadow: 0 1px 3px rgba(59, 43, 36, 0.1) !important;
    color: transparent !important;
    font-size: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23ff639b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
    z-index: 4 !important;
  }

  /* sticky ALL 탭도 다크 잔상 제거 */
  .idx-sp-page .idx-sp-catbar .idx-sp-cat:first-child {
    background-color: #f6d4b5 !important;
    box-shadow: 8px 0 12px rgba(246, 212, 181, 0.95) !important;
  }

  .idx-sp-page .idx-sp-catbar .idx-sp-cat:first-child.idx-sp-cat--active,
  .idx-sp-page .idx-sp-catbar .idx-sp-cat:first-child.selected {
    background-color: #ff639b !important;
  }
}

.idx-sp-page .idx-sp-cat,
.idx-sp-page .idx-sd-dcat,
.idx-sp-page .idx-sl-dcat {
  opacity: 1 !important;
  color: #5b4239 !important;
  border-radius: 12px !important;
  background: transparent !important;
}

.idx-sp-page .idx-sp-cat__label,
.idx-sp-page .idx-sd-dcat span,
.idx-sp-page .idx-sl-dcat span {
  color: #5b4239 !important;
}

.idx-sp-page .idx-sp-cat:hover,
.idx-sp-page .idx-sd-dcat:hover,
.idx-sp-page .idx-sl-dcat:hover {
  background-color: rgba(255, 255, 255, 0.45) !important;
  opacity: 1 !important;
}

.idx-sp-page .idx-sp-cat--active,
.idx-sp-page .idx-sp-cat.selected,
.idx-sp-page .idx-sd-dcat--active,
.idx-sp-page .idx-sl-dcat--active {
  background-color: #ff639b !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

.idx-sp-page .idx-sp-cat--active .idx-sp-cat__label,
.idx-sp-page .idx-sp-cat.selected .idx-sp-cat__label,
.idx-sp-page .idx-sd-dcat--active span,
.idx-sp-page .idx-sl-dcat--active span {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* ALL 아이콘(ico_group): 흰색 SVG → 비선택 시 갈색, 선택(핑크) 시 흰색 */
.idx-sp-page .idx-sp-cat[data-sport="all"]:not(.idx-sp-cat--active):not(.selected) .idx-sp-cat__icon,
.idx-sp-page .idx-sd-dcat[data-sport="all"]:not(.idx-sd-dcat--active) img,
.idx-sp-page .idx-sl-dcat[data-sport="all"]:not(.idx-sl-dcat--active) img {
  filter: brightness(0) saturate(100%);
  opacity: 0.72;
}

.idx-sp-page .idx-sp-cat[data-sport="all"].idx-sp-cat--active .idx-sp-cat__icon,
.idx-sp-page .idx-sp-cat[data-sport="all"].selected .idx-sp-cat__icon,
.idx-sp-page .idx-sd-dcat[data-sport="all"].idx-sd-dcat--active img,
.idx-sp-page .idx-sl-dcat[data-sport="all"].idx-sl-dcat--active img {
  filter: none;
  opacity: 1;
}

/* 모바일 sticky ALL: 다크 배경 제거 → 크림바 톤 유지 */
@media (max-width: 1024px) {
  .idx-sp-page .idx-sp-cat:first-child {
    background-color: #f6d4b5 !important;
    box-shadow: 8px 0 12px rgba(59, 43, 36, 0.12) !important;
  }

  .idx-sp-page .idx-sp-cat:first-child.idx-sp-cat--active,
  .idx-sp-page .idx-sp-cat:first-child.selected {
    background-color: #ff639b !important;
  }

  .idx-sp-page .idx-sp-cat:first-child:not(.idx-sp-cat--active):not(.selected) .idx-sp-cat__icon,
  .idx-sp-page .idx-sp-cat:first-child:not(.idx-sp-cat--active):not(.selected) .idx-sp-cat__label {
    opacity: 1 !important;
  }
}

/* 국내형/스페셜 상단 타이틀 + 모두 펼치기 */
.idx-sp-page .idx-sd-toolbar {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(59, 43, 36, 0.06);
}

.idx-sp-page .idx-sd-toolbar__ttl {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sd-toolbar__bulk {
  background-color: #ff639b !important;
  border: none !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(255, 99, 155, 0.28);
}

.idx-sp-page .idx-sd-toolbar__bulk[aria-pressed="true"] {
  background-color: #5b4239 !important;
  box-shadow: none;
}

.idx-sp-page .idx-sd-toolbar__bulk-ico {
  filter: brightness(0) invert(1) !important;
}

/* 카드 단위 펼치기 */
.idx-sp-page .idx-sd-match__toggle {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 8px !important;
  color: #5b4239 !important;
}

.idx-sp-page .idx-sd-match__toggle[aria-expanded="true"] {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sd-match__toggle[aria-expanded="true"] .idx-sd-match__toggle-ico {
  filter: brightness(0) invert(1);
}

.idx-sp-page .idx-sd-match__toggle-ico {
  filter: none;
}

/* Bonus bar */
.idx-sp-page .idx-sp-bonus {
  background-color: #f8c49d !important;
  border-radius: 16px !important;
  color: #5b4239 !important;
}

.idx-sp-page .idx-sp-bonus__title {
  color: #5b4239 !important;
}

.idx-sp-page .idx-sp-bonus__note {
  color: #7a5c48 !important;
}

.idx-sp-page .idx-sp-bonus__cell {
  background-color: #ffffff !important;
}

.idx-sp-page .idx-sp-bonus__cell--pink {
  background-color: #b55d9a !important;
}

.idx-sp-page .idx-sp-bonus__cell--pink .idx-sp-bonus__name,
.idx-sp-page .idx-sp-bonus__cell--pink .idx-sp-bonus__odds {
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-bonus__cell--orange .idx-sp-bonus__name,
.idx-sp-page .idx-sp-bonus__cell--orange .idx-sp-bonus__odds {
  color: #d37442 !important;
}

.idx-sp-page .idx-sp-bonus__cell--blue .idx-sp-bonus__name,
.idx-sp-page .idx-sp-bonus__cell--blue .idx-sp-bonus__odds {
  color: #1e88e5 !important;
}

/* Filter / type tabs — 내부 select·search까지 라이트 */
.idx-sp-page .idx-sp-board-filter,
.idx-sp-page .idx-sp-m-tabs__btn,
.idx-sl-live > .idx-sp-board-filter {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(59, 43, 36, 0.06);
}

.idx-sp-page .idx-sp-board-filter__head,
.idx-sp-page .idx-sp-board-filter__panel,
.idx-sp-page .idx-sp-board-filter__title,
.idx-sp-page .idx-sp-board-filter__label {
  color: #5b4239 !important;
  background: transparent !important;
}

.idx-sp-page .idx-sp-board-filter__toggle,
.idx-sp-page .idx-sp-board-filter__select,
.idx-sp-page .idx-sp-board-filter__search,
.idx-sp-page .idx-sp-board-filter__field,
.idx-sp-page .idx-sp-board-filter__field--popular,
.idx-sp-page .idx-sp-board-filter__input {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
}

.idx-sp-page .idx-sp-board-filter__input::placeholder {
  color: #b8956f !important;
}

.idx-sp-page .idx-sp-board-filter__select option {
  background: #ffffff;
  color: #3b2b24;
}

.idx-sp-page .idx-sp-m-tabs__btn--active,
.idx-sp-page .idx-sp-board-filter__submit {
  background-color: #ff639b !important;
  color: #ffffff !important;
  border: none !important;
  border-left: none !important;
}

.idx-sp-page .idx-sp-m-tabs__ttl,
.idx-sp-page .idx-sp-m-tabs__sub {
  color: inherit !important;
}

/* Match list cards */
.idx-sp-page .idx-sp-gl,
.idx-sp-page .idx-sd-match,
.idx-sp-page .idx-sl-card {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  box-shadow: 0 4px 14px rgba(59, 43, 36, 0.08);
  border: 1px solid #e8c9a8 !important;
}

.idx-sp-page .idx-sp-gl--active::before,
.idx-sp-page .idx-sd-match--active::before {
  background: linear-gradient(180deg, #ff639b 0%, rgba(255, 99, 155, 0.45) 100%) !important;
}

.idx-sp-page .idx-sp-gl__league-txt,
.idx-sp-page .idx-sp-gl__teams,
.idx-sp-page .idx-sp-gl__time,
.idx-sp-page .idx-sp-gl__vs,
.idx-sp-page .idx-sp-gl__name,
.idx-sp-page .idx-sp-gl__odd,
.idx-sp-page .idx-sp-gl__mkt-h {
  color: #3b2b24 !important;
}

.idx-sp-page .idx-sp-gl__time {
  color: #9a7b5f !important;
}

.idx-sp-page .idx-sp-gl__vs {
  color: #ff6b35 !important;
}

.idx-sp-page .idx-sp-gl__bet-tag {
  background-color: #fff6ec !important;
  color: #5b4239 !important;
}

/* 배당 셀 + 중앙 기준점(VS/핸디/무) — 다크 #3b3f46 제거 */
.idx-sp-page .idx-sp-gl__pick,
.idx-sp-page .idx-sp-gl__mkt,
.idx-sp-page .idx-sp-gl__line,
.idx-sp-page .idx-sp-gl__vs-cap,
.idx-sp-page .idx-sp-gl__vs-cap--stacked,
.idx-sp-page .idx-sp-gl__slot,
.idx-sp-page .idx-sl-card__vs,
.idx-sp-page .idx-sl-league__vs,
.idx-sp-page .idx-sp-dblk__mid-cap,
.idx-sp-page .idx-sp-dblk__mid-cap--stacked {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border: none !important;
  border-radius: 10px !important;
}

.idx-sp-page .idx-sp-gl__vs-cap,
.idx-sp-page .idx-sp-gl__vs-cap-line,
.idx-sp-page .idx-sp-gl__vs-cap-line--top,
.idx-sp-page .idx-sp-gl__vs-cap-line--bottom,
.idx-sp-page .idx-sd-mline__mid-line,
.idx-sp-page .idx-sd-mline__mid-line--bottom,
.idx-sp-page .idx-sp-dblk__mid-cap__line,
.idx-sp-page .idx-sp-dblk__mid-cap__paren {
  color: #ff639b !important;
  background-color: transparent !important;
}

.idx-sp-page .idx-sp-gl__vs-cap-line--bottom,
.idx-sp-page .idx-sp-gl__vs-cap.idx-sp-gl__cell--selected {
  color: #ff639b !important;
}

.idx-sp-page .idx-sp-gl__pick.is-selected,
.idx-sp-page .idx-sp-gl__pick.sd-cell--value-accent,
.idx-sp-page .idx-sp-gl__cell--selected,
.idx-sp-page .idx-sp-gl__vs-cap.idx-sp-gl__cell--selected,
.idx-sp-page .idx-sd-score--selected,
.idx-sp-page .idx-sp-dblk__cell--selected {
  background-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-gl__vs-cap.idx-sp-gl__cell--selected,
.idx-sp-page .idx-sp-gl__vs-cap.idx-sp-gl__cell--selected .idx-sp-gl__vs-cap-line {
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-gl__mkt-bar,
.idx-sp-page .idx-sp-dblk__bar,
.idx-sp-page .idx-sl-card__mkt-bar {
  background: #ff639b !important;
}

/* Detail / markets / tracker */
.idx-sp-page .idx-sp-board-detail,
.idx-sp-page .idx-sp-live,
.idx-sp-page .idx-sp-tabs,
.idx-sp-page .idx-sp-markets--detail {
  background-color: #fde4cf !important;
  color: #3b2b24 !important;
}

.idx-sp-page .idx-sp-tabs__btn--active {
  background-color: #ff639b !important;
  color: #ffffff !important;
  border-radius: 12px !important;
}

.idx-sp-page .idx-sp-tabs__btn--inactive {
  background: transparent !important;
  color: #5b4239 !important;
}

.idx-sp-page .idx-sp-dblk__cell {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border-radius: 10px !important;
  border: 1px solid #f0dcc8 !important;
}

.idx-sp-page .idx-sp-tracker,
.idx-sp-page .idx-sp-live__frame,
.idx-sp-page .idx-sp-live__body {
  background-color: #ffffff !important;
  color: #5b4239 !important;
  border-radius: 16px !important;
}

/* 트래커 접기/열기 — 다크 #303338 제거, 다른 칩/버튼과 동일 톤 */
.idx-sp-page .idx-sp-live__tracker {
  background-color: #ffffff !important;
  color: #5b4239 !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 4px rgba(59, 43, 36, 0.06);
}

.idx-sp-page .idx-sp-live__tracker-chevron {
  filter: brightness(0) saturate(100%) invert(42%) sepia(18%) saturate(700%) hue-rotate(340deg);
}

/* User board / bet slip — slip-head·stake-row 다크 제거 */
.idx-user-board__panel {
  background-color: #f6d4b5 !important;
  color: #3b2b24 !important;
}

.idx-user-board__nickname,
.idx-user-board__slip-title,
.idx-user-board__stat-label,
.idx-user-board__msg-label,
.idx-user-board__check,
.idx-user-board__stake-label,
.idx-user-board__total-label {
  color: #3b2b24 !important;
}

.idx-user-board__stat,
.idx-user-board__limits,
.idx-user-board__stake-input,
.idx-user-board__stake-field,
.idx-user-board__amount-btn,
.idx-user-board__slip-head,
.idx-user-board__stake-row {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border-radius: 10px !important;
}

.idx-user-board__slip-head,
.idx-user-board__stake-row {
  border: 1px solid #e8c9a8 !important;
}

.idx-user-board__slip-divider {
  background: #e8c9a8 !important;
}

.idx-user-board__stat-values,
.idx-user-board__stat-values span {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

.idx-user-board__stat-values .idx-user-board__stat-unit {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

.idx-user-board__msg-count,
.idx-user-board__odds-val,
.idx-user-board__payout-val,
.idx-user-board__total-val {
  color: #de5285 !important;
}

.idx-user-board__level {
  background-color: #ff639b !important;
  border-radius: 8px !important;
  color: #ffffff !important;
}

.idx-user-board__level,
.idx-user-board__level span,
.idx-user-board__level-num {
  color: #ffffff !important;
}

.idx-user-board__amount-btn.is-active,
.idx-user-board__amount-btn[aria-pressed="true"],
.idx-user-board__chip--active,
.idx-user-board__chip.is-active,
.idx-user-board__chip[aria-pressed="true"] {
  background-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-user-board__chip {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border-radius: 10px !important;
  border: 1px solid #e8c9a8 !important;
}

.idx-user-board__change,
.idx-user-board__stake-change,
.idx-user-board__stake-suffix {
  background-color: #5b4239 !important;
  color: #ffffff !important;
}

.idx-user-board__bet {
  background: #4da1e8 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(77, 161, 232, 0.35) !important;
}

.idx-user-board__bet:hover {
  filter: brightness(1.05);
}

/* limits footer — 피그마 피치톤 */
.idx-user-board__limits,
.idx-user-board__limit-row {
  background-color: #ffffff !important;
  color: #5b4239 !important;
}

/* dome/live — page 스코프 없는 셀렉터 보강 (상세 polish에서 덮어씀) */
.idx-sd-mline--tri .idx-sd-mline__mid,
.idx-sd-mline__mid,
.idx-sl-card__vs,
.idx-sl-league__vs {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
}

.idx-sd-score {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

.idx-sd-mline {
  background: transparent !important;
  color: #3b2b24 !important;
}

.idx-sd-score--selected {
  background-color: #ff639b !important;
  color: #ffffff !important;
  border-color: #ff639b !important;
}

.idx-sd-match {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
}

/* ═══════════════════════════════════════════
   Sports polish pass — filter / markets / slip / detail
   ═══════════════════════════════════════════ */

/* 1) 필터: 라벨과 드롭다운 분리 */
.idx-sp-page .idx-sp-board-filter__field,
.idx-sp-page .idx-sp-board-filter__field--popular {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  gap: 6px !important;
}

.idx-sp-page .idx-sp-board-filter__label {
  color: #5b4239 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding-left: 4px !important;
  background: transparent !important;
}

.idx-sp-page .idx-sp-board-filter__select {
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%235b4239' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  color: #3b2b24 !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 6px rgba(59, 43, 36, 0.06);
}

.idx-sp-page .idx-sp-board-filter__search {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(59, 43, 36, 0.06);
}

.idx-sp-page .idx-sp-board-filter__input {
  background: transparent !important;
  color: #3b2b24 !important;
  border: none !important;
  box-shadow: none !important;
}

.idx-sp-page .idx-sp-board-filter__submit {
  background-color: #ff639b !important;
  border-left: 1px solid #e8c9a8 !important;
  color: #fff !important;
}

/* 2) 리스트 개별 마켓 행: 라벨 / 배당 / 기준점 영역 분리 */
.idx-sp-page .idx-sp-gl__line {
  gap: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  height: auto !important;
  min-height: 30px;
}

.idx-sp-page .idx-sp-gl__slot {
  gap: 4px !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.idx-sp-page .idx-sp-gl__mkt {
  background-color: #f0d4b8 !important;
  color: #5b4239 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  flex-shrink: 0;
}

.idx-sp-page .idx-sp-gl__pick {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border-radius: 10px !important;
  border: 1px solid #f0dcc8 !important;
}

.idx-sp-page .idx-sp-gl__pick .idx-sp-gl__odd {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sp-gl__pick.is-selected,
.idx-sp-page .idx-sp-gl__pick.sd-cell--value-accent {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-gl__pick.is-selected .idx-sp-gl__odd,
.idx-sp-page .idx-sp-gl__pick.sd-cell--value-accent .idx-sp-gl__odd {
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-gl__vs-cap,
.idx-sp-page .idx-sp-gl__vs-cap--stacked {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  border: 1px solid #ffd0e0 !important;
  min-width: 48px;
  justify-content: center;
  display: flex !important;
  align-items: center !important;
}

.idx-sp-page .idx-sp-gl__pick--tail {
  border-radius: 10px !important;
}

.idx-sp-page .idx-sp-gl__pick--draw {
  border-radius: 10px !important;
}

/* 2b) 국내형/스페셜 마켓 — 해외형 idx-sp-gl 과 동일 톤·형태 */
.idx-sp-page .idx-sd-mline-block > .idx-sd-mline,
.idx-sp-page .idx-sd-mline {
  gap: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  height: auto !important;
  min-height: 30px;
}

.idx-sp-page .idx-sd-mline__cap {
  background-color: #f0d4b8 !important;
  color: #5b4239 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  border: none !important;
  flex-shrink: 0;
}

.idx-sp-page .idx-sd-score {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border-radius: 10px !important;
  border: 1px solid #f0dcc8 !important;
}

.idx-sp-page .idx-sd-mline-block > .idx-sd-mline--tri .idx-sd-score:first-of-type,
.idx-sp-page .idx-sd-mline-block > .idx-sd-mline .idx-sd-score,
.idx-sp-page .idx-sd-mline--tri .idx-sd-score {
  border-radius: 10px !important;
}

.idx-sp-page .idx-sd-score__odd,
.idx-sp-page .idx-sd-score .idx-sd-score__odd {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sd-mline--tri .idx-sd-mline__mid,
.idx-sp-page .idx-sd-mline__mid {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  border: 1px solid #ffd0e0 !important;
  min-width: 48px;
  justify-content: center;
  display: flex !important;
  align-items: center !important;
}

.idx-sp-page .idx-sd-mline__mid-line,
.idx-sp-page .idx-sd-mline__mid-line--bottom {
  color: #ff639b !important;
  background: transparent !important;
}

.idx-sp-page .idx-sd-score--draw {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
  border: 1px solid #ffd0e0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sd-score--draw .idx-sd-score__odd {
  color: #ff639b !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sd-score--selected,
.idx-sp-page .idx-sd-score.sd-cell--value-accent {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sd-score--selected .idx-sd-score__odd,
.idx-sp-page .idx-sd-score.sd-cell--value-accent .idx-sd-score__odd,
.idx-sp-page .idx-sd-score--draw.idx-sd-score--selected .idx-sd-score__odd,
.idx-sp-page .idx-sd-score--draw.sd-cell--value-accent .idx-sd-score__odd {
  color: #ffffff !important;
}

/* 승무패 홈/원정 기본톤 (해외형 line-block pick 과 동일) */
.idx-sp-page .idx-sd-mline-block > .idx-sd-mline--wdl > .idx-sd-score:not(.idx-sd-score--draw):not(.idx-sd-score--selected),
.idx-sp-page .idx-sd-mline-block > .idx-sd-mline--tri > .idx-sd-score:not(.idx-sd-score--draw):not(.idx-sd-score--selected) {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

/* 2c) 실시간 마켓 — 해외형 idx-sp-gl 과 동일 톤·형태 */
.idx-sp-page .idx-sl-card__mkt,
.idx-sp-page .idx-sl-card__mkt-row {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  gap: 4px !important;
}

/* 좌·우는 내용 길이와 무관하게 같은 너비. 선택해도 가운데(VS/라인)가 밀리지 않음 */
.idx-sp-page .idx-sl-card__mkt-row > .idx-sl-oddcell.idx-sl-score:not(.idx-sl-oddcell--mid-draw) {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.idx-sp-page .idx-sl-card__mkt-row > .idx-sl-oddcell.idx-sl-score:not(.idx-sl-oddcell--mid-draw) > span {
  min-width: 0;
}

.idx-sp-page .idx-sl-card__mkt-row > .idx-sl-oddcell .idx-sl-odd {
  flex-shrink: 0;
}

.idx-sp-page .idx-sl-card__mkt-h,
.idx-sp-page .idx-sl-card__mkt > .idx-sp-gl__mkt-h {
  color: #5b4239 !important;
  font-weight: 600 !important;
}

.idx-sp-page .idx-sl-card__teams,
.idx-sp-page .idx-sl-card__teams > span {
  color: #3b2b24 !important;
}

.idx-sp-page .idx-sl-card__vs {
  background: transparent !important;
  color: #ff6b35 !important;
  border: none !important;
}

.idx-sp-page .idx-sl-card__period {
  color: #9a7b5f !important;
}

.idx-sp-page .idx-sl-card__scoreplate,
.idx-sp-page .idx-sl-card .idx-sl-score.idx-sl-card__scoreplate {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

.idx-sp-page .idx-sl-card__score-txt {
  color: #3b2b24 !important;
}

.idx-sp-page .idx-sl-score:not(.idx-sl-score--selected):not(.sd-cell--value-accent),
.idx-sp-page .idx-sl-card .idx-sl-score:not(.idx-sl-score--selected):not(.sd-cell--value-accent),
.idx-sp-page .idx-sl-oddcell:not(.idx-sl-score--selected):not(.sd-cell--value-accent),
.idx-sp-page .idx-sl-card .idx-sl-oddcell.idx-sl-score:not(.idx-sl-score--selected):not(.sd-cell--value-accent),
.idx-sp-page .idx-sl-card .idx-sl-oddcell.idx-sl-score.idx-sl-oddcell--end:not(.idx-sl-score--selected):not(.sd-cell--value-accent) {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

.idx-sp-page .idx-sl-card__mkt-row > .idx-sl-score:not(.idx-sl-oddcell--mid-draw):not(.idx-sl-score--selected),
.idx-sp-page .idx-sl-card__mkt-row > .idx-sl-oddcell.idx-sl-score:not(.idx-sl-oddcell--mid-draw):not(.idx-sl-score--selected) {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

.idx-sp-page .idx-sl-odd,
.idx-sp-page .idx-sl-oddcell .idx-sl-odd {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sl-cap,
.idx-sp-page .idx-sl-cap.idx-sl-cap--stacked,
.idx-sp-page .idx-sl-mid-stack .idx-sl-cap {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
  border: 1px solid #ffd0e0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sl-cap__line,
.idx-sp-page .idx-sl-cap__paren {
  color: #ff639b !important;
}

.idx-sp-page .idx-sl-card .idx-sl-score.idx-sl-oddcell.idx-sl-oddcell--mid-draw:not(.idx-sl-score--selected):not(.sd-cell--value-accent),
.idx-sp-page .idx-sl-mid-stack .idx-sl-score.idx-sl-oddcell:not(.idx-sl-score--selected):not(.sd-cell--value-accent),
.idx-sp-page .idx-sl-oddcell--mid-draw:not(.idx-sl-score--selected):not(.sd-cell--value-accent) {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
  border: 1px solid #ffd0e0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sl-oddcell--mid-draw .idx-sl-odd,
.idx-sp-page .idx-sl-card .idx-sl-oddcell--mid-draw .idx-sl-odd {
  color: #ff639b !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sl-card .idx-sl-oddcell.idx-sl-score.idx-sl-score--selected,
.idx-sp-page .idx-sl-card .idx-sl-oddcell.idx-sl-score.idx-sl-oddcell--end.idx-sl-score--selected,
.idx-sp-page .idx-sl-card .idx-sl-score.idx-sl-oddcell.idx-sl-oddcell--mid-draw.idx-sl-score--selected,
.idx-sp-page .idx-sl-mid-stack .idx-sl-score.idx-sl-oddcell.idx-sl-score--selected,
.idx-sp-page .idx-sl-card__mkt-row > .idx-sl-oddcell.idx-sl-score.idx-sl-score--selected,
.idx-sp-page .idx-sl-score--selected,
.idx-sp-page .idx-sl-card .idx-sl-score--selected,
.idx-sp-page .idx-sl-score.sd-cell--value-accent,
.idx-sp-page .idx-sl-oddcell.idx-sl-score--selected,
.idx-sp-page .idx-sl-oddcell--mid-draw.idx-sl-score--selected {
  background-color: #ff639b !important;
  border: 1px solid #ff639b !important;
  border-radius: 10px !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sl-card .idx-sl-oddcell.idx-sl-score.idx-sl-score--selected .idx-sl-odd,
.idx-sp-page .idx-sl-card .idx-sl-oddcell.idx-sl-score.idx-sl-score--selected > span,
.idx-sp-page .idx-sl-card .idx-sl-score.idx-sl-oddcell.idx-sl-oddcell--mid-draw.idx-sl-score--selected .idx-sl-odd,
.idx-sp-page .idx-sl-score--selected .idx-sl-odd,
.idx-sp-page .idx-sl-score.sd-cell--value-accent .idx-sl-odd,
.idx-sp-page .idx-sl-score.sd-cell--value-accent > span,
.idx-sp-page .idx-sl-oddcell--mid-draw.idx-sl-score--selected .idx-sl-odd {
  color: #ffffff !important;
}

.idx-sp-page .idx-sl-card--selected::before,
.idx-sp-page .idx-sl-card--bet-active::before {
  background: linear-gradient(180deg, #ff639b 0%, rgba(255, 99, 155, 0.45) 100%) !important;
}

/* 실시간 우측 스케줄/리그 패널 */
.idx-sp-page .idx-sl-sched {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(59, 43, 36, 0.08);
  color: #3b2b24 !important;
}

.idx-sp-page .idx-sl-sched__ttl {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

.idx-sp-page .idx-sl-sched__ico img {
  width: 15px;
  height: 15px;
  filter: brightness(0) saturate(100%) invert(48%) sepia(55%) saturate(1400%) hue-rotate(314deg) brightness(105%);
}

.idx-sp-page .idx-sl-league__time,
.idx-sp-page .idx-sl-league__body {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border-radius: 10px !important;
}

.idx-sp-page .idx-sl-league__time-date,
.idx-sp-page .idx-sl-league__time-clock,
.idx-sp-page .idx-sl-league__name,
.idx-sp-page .idx-sl-league__row:last-child span {
  color: #3b2b24 !important;
}

.idx-sp-page .idx-sl-league__vs {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
  border-radius: 8px !important;
}

.idx-sp-page .idx-sl-league--selected .idx-sl-league__time,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__body {
  background-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sl-league--selected .idx-sl-league__time-date,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__time-clock,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__name {
  color: #ffffff !important;
}

/* 3) 슬립 선택 카드 — 라이트 */
.idx-user-board__slip-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.idx-user-board__slip-f20,
.idx-user-board__slip-f17 {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border: 1px solid #edd4b8 !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06);
  outline: none !important;
}

/* 다크테마용 그라데이션 링(::before) — 라이트에서 점선처럼 보임 → 제거 */
.idx-user-board__slip-f20::before,
.idx-user-board__slip-f17::before {
  display: none !important;
  opacity: 0 !important;
  content: none !important;
}

/* 슬립 카드 헤더 — 연핑크 + 흰 글씨 */
.idx-user-board__slip-f20-head {
  background-color: #ff8fb3 !important;
  border-radius: 8px !important;
  padding: 6px 8px !important;
  box-sizing: border-box;
}

.idx-user-board__slip-f20-cap {
  color: #ffffff !important;
}

/* 팀명 (헤더와 분리 — 흰 글씨면 안 보임) */
.idx-user-board__slip-f20 .idx-user-board__slip-f17-h,
.idx-user-board__slip-f17-h,
.idx-user-board__slip-f17-teams .idx-user-board__slip-f17-h {
  color: #3b2b24 !important;
}

.idx-user-board__slip-f20-pick-txt {
  color: #8a6b58 !important;
}

.idx-user-board__slip-f20 .idx-user-board__slip-f17-vs,
.idx-user-board__slip-f17-vs {
  color: #ff6b35 !important;
}

/* 픽 영역 — 베이지 미색 */
.idx-user-board__slip-f20-pick {
  background-color: #fff6ec !important;
  border-radius: 8px !important;
  padding: 0 !important;
  overflow: hidden;
}

.idx-user-board__slip-f20-pick-txt {
  padding: 7px 8px !important;
}

.idx-user-board__slip-f20-pick-val,
.idx-user-board__slip-f20-odd,
.idx-user-board__slip-f20-odd.bet-cart-odds {
  color: #de5285 !important;
  font-weight: 700 !important;
}

.idx-user-board__slip-f20-odd,
.idx-user-board__slip-f20-odd.bet-cart-odds {
  border-left: 1px solid #e8d2b8 !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
}

.idx-user-board__slip-f20-dismiss {
  background: rgba(255, 255, 255, 0.35) !important;
  border-radius: 8px !important;
  border: none !important;
}

.idx-user-board__slip-f20-dismiss img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* 4) 베팅금액/칩/합계 — 라이트 */
.idx-user-board__slip-stake {
  background: transparent !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.idx-user-board__bet-cash,
.idx-user-board__bet-list,
.idx-user-board__bet-cal {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
}

.idx-user-board__bet-cash {
  border-bottom: 1px solid #f0dcc8 !important;
}

.idx-user-board__bet-list {
  border-bottom: 1px solid #f0dcc8 !important;
}

.idx-user-board__stake-label,
.idx-user-board__total-label {
  color: #5b4239 !important;
}

.idx-user-board__stake-input {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border: 1px solid #e8c9a8 !important;
}

.idx-user-board__stake-suffix {
  background-color: #5b4239 !important;
  color: #ffffff !important;
}

.idx-user-board__chip {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border: 1px solid #e8c9a8 !important;
}

.idx-user-board__chip--active,
.idx-user-board__chip--accent,
.idx-user-board__chip.is-active {
  background-color: #ff639b !important;
  color: #ffffff !important;
  border-color: #ff639b !important;
  box-shadow: none !important;
}

.idx-user-board__total-values,
.idx-user-board__total-values span {
  color: #de5285 !important;
}

/* 5) 상세 메인마켓: 외곽 라운드 + 좌측 카드와 같은 진한 텍스트 */
.idx-sp-page .idx-sp-board-detail .idx-sp-tabs,
.idx-sp-page .idx-sp-tabs {
  background-color: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: 0 4px 14px rgba(59, 43, 36, 0.08);
  overflow: hidden !important;
}

.idx-sp-page .idx-sp-tabs__btn--active {
  background-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-tabs__btn--inactive {
  background-color: #fff6ec !important;
  color: #5b4239 !important;
}

.idx-sp-page .idx-sp-gl.idx-sp-gl--detail-markets,
.idx-sp-page .idx-sp-markets--detail,
.idx-sp-page .idx-sp-markets--detail:has(.idx-sp-gl--detail-markets) {
  background-color: #ffffff !important;
  border-radius: 16px !important;
  padding: 12px !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: 0 4px 14px rgba(59, 43, 36, 0.08);
  overflow: hidden !important;
}

.idx-sp-page .idx-sp-dblk__label {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sp-dblk__cell {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border-radius: 10px !important;
  border: 1px solid #f0dcc8 !important;
  font-weight: 500 !important;
  height: auto !important;
  min-height: 36px !important;
  align-items: center !important;
}

.idx-sp-page .idx-sp-dblk__line {
  height: auto !important;
  min-height: 36px !important;
  align-items: stretch !important;
}

/* 해외형 상세 — 팀명/라벨 영역 넘침 시 2줄 */
.idx-sp-page .idx-sp-dblk__cell:not(.idx-sp-dblk__cell--mid) > span:not(.idx-sp-dblk__odd):not(.idx-sp-gl__ou):not(.idx-sp-gl__hc),
.idx-sp-page .idx-sp-gl__pick:not(.idx-sp-gl__pick--draw) > span:not(.idx-sp-gl__odd):not(.idx-sp-gl__ou):not(.idx-sp-gl__hc),
.idx-sp-page .idx-sp-gl__pick--tail > span:last-child,
.idx-sp-page .idx-sd-mline .idx-sd-score:not(.idx-sd-score--draw) > span:last-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  line-height: 1.15 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.idx-sp-page .idx-sp-dblk__cell--end > span:last-child,
.idx-sp-page .idx-sp-gl__pick--tail > span:last-child {
  text-align: right !important;
}

/* OU 등 짧은 라벨은 1줄 유지 */
.idx-sp-page .idx-sp-dblk__cell:has(> .idx-sp-gl__ou) > span:last-child,
.idx-sp-page .idx-sp-gl__pick:has(> .idx-sp-gl__ou) > span:last-child,
.idx-sp-page .idx-sd-mline .idx-sd-score:has(> .idx-sp-gl__ou) > span:last-child {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

.idx-sp-page .idx-sp-gl__line,
.idx-sp-page .idx-sp-gl__slot,
.idx-sp-page .idx-sp-gl__pick {
  height: auto !important;
  min-height: 36px !important;
  align-items: stretch !important;
}

.idx-sp-page .idx-sp-gl__pick {
  align-items: center !important;
}

.idx-sp-page .idx-sp-dblk__cell--mid {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
  border: 1px solid #ffd0e0 !important;
  font-weight: 700 !important;
  justify-content: center !important;
}

.idx-sp-page .idx-sp-dblk__odd {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sp-dblk__cell--selected,
.idx-sp-page .idx-sp-dblk__cell--selected.idx-sp-dblk__cell--mid {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-dblk__cell--selected .idx-sp-dblk__odd {
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-dblk__line {
  gap: 4px !important;
  background: transparent !important;
  overflow: visible !important;
}

.idx-sp-page .idx-sp-live {
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid #e8c9a8 !important;
  background: #ffffff !important;
}

/* ═══════════════════════════════════════════
   Fix pass: names / limits / 1X2 list / no double-round
   ═══════════════════════════════════════════ */

/* 팀명·리그·시간 — 화이트 제거 */
.idx-sp-page .idx-sp-gl__names,
.idx-sp-page .idx-sp-gl__names > span,
.idx-sp-page .idx-sp-gl__league-txt,
.idx-sp-page .idx-sp-gl__title,
.idx-sp-page .idx-sp-gl__title span,
.idx-sp-page .idx-sp-live__names,
.idx-sp-page .idx-sp-live__names > span {
  color: #3b2b24 !important;
}

.idx-sp-page .idx-sp-gl__vs,
.idx-sp-page .idx-sp-gl__names .idx-sp-gl__vs,
.idx-sp-page .idx-sp-live__names .idx-sp-gl__vs {
  color: #ff6b35 !important;
}

.idx-sp-page .idx-sp-gl__time {
  color: #9a7b5f !important;
}

.idx-sp-page .idx-sp-gl__bet-tag {
  background-color: #fff6ec !important;
  color: #5b4239 !important;
}

/* 한도표 — 스샷: 화이트 박스 + 다크 라벨 + 핑크 값 */
.idx-user-board__detail {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  gap: 8px !important;
  margin-top: 8px;
}

.idx-user-board__limit-row {
  background: transparent !important;
}

.idx-user-board__limit-label {
  color: #5b4239 !important;
  font-size: 12px !important;
}

.idx-user-board__limit-val,
.idx-user-board__limit-val span {
  color: #de5285 !important;
  font-weight: 700 !important;
}

.idx-user-board__limit-unit {
  color: #de5285 !important;
  font-weight: 500 !important;
}

/* 상세 마켓: 이중 라운드 제거 — 바깥(tabs)만, 안쪽은 플랫 */
.idx-sp-page .idx-sp-gl.idx-sp-gl--detail-markets,
.idx-sp-page .idx-sp-markets--detail,
.idx-sp-page .idx-sp-markets--detail:has(.idx-sp-gl--detail-markets) {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 4px 0 0 !important;
  overflow: visible !important;
}

.idx-sp-page .idx-sp-board-detail .idx-sp-tabs,
.idx-sp-page .idx-sp-tabs {
  border-radius: 16px !important;
  overflow: hidden !important;
}

/* 리스트 승무패(1X2): 상세 dblk 라인과 동일 톤
   [마켓라벨][홈][무][원정] */
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:first-child > .idx-sp-gl__pick,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:last-child > .idx-sp-gl__pick--tail {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

/* 위 기본톤이 .is-selected 보다 특이도가 높아 덮어씀 → 선택 핑크  Explicit */
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:first-child > .idx-sp-gl__pick.is-selected,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:first-child > .idx-sp-gl__pick.sd-cell--value-accent,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:last-child > .idx-sp-gl__pick--tail.is-selected,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:last-child > .idx-sp-gl__pick--tail.sd-cell--value-accent,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot > .idx-sp-gl__pick.is-selected,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot > .idx-sp-gl__pick.sd-cell--value-accent {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:first-child > .idx-sp-gl__pick.is-selected .idx-sp-gl__odd,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:first-child > .idx-sp-gl__pick.sd-cell--value-accent .idx-sp-gl__odd,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:last-child > .idx-sp-gl__pick--tail.is-selected .idx-sp-gl__odd,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:last-child > .idx-sp-gl__pick--tail.sd-cell--value-accent .idx-sp-gl__odd,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot > .idx-sp-gl__pick.is-selected .idx-sp-gl__odd,
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot > .idx-sp-gl__pick.sd-cell--value-accent .idx-sp-gl__odd {
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:first-child > .idx-sp-gl__pick {
  border-radius: 10px !important;
}

.idx-sp-page .idx-sp-gl__pick--draw {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
  border: 1px solid #ffd0e0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sp-gl__pick--draw .idx-sp-gl__odd {
  color: #ff639b !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sp-gl__pick--draw.is-selected,
.idx-sp-page .idx-sp-gl__pick--draw.sd-cell--value-accent {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sp-page .idx-sp-gl__pick--draw.is-selected .idx-sp-gl__odd,
.idx-sp-page .idx-sp-gl__pick--draw.sd-cell--value-accent .idx-sp-gl__odd {
  color: #ffffff !important;
}

/* 리스트 라인: 슬롯 안 셀도 gap으로 분리 (상세 mid 셀과 동일) */
.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot {
  gap: 4px !important;
}

.idx-sp-page .idx-sp-gl__line-block > .idx-sp-gl__line > .idx-sp-gl__slot:last-child > .idx-sp-gl__vs-cap {
  border-radius: 10px !important;
}

.idx-sp-page .idx-sp-gl__odd {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.idx-sp-page .idx-sp-gl__pick.is-selected .idx-sp-gl__odd,
.idx-sp-page .idx-sp-gl__pick.sd-cell--value-accent .idx-sp-gl__odd {
  color: #ffffff !important;
}

/* ═══════════════════════════════════════════
   Recharge (zip 4) — light peach / pink form
   ═══════════════════════════════════════════ */

.element-recharge.idx-em-surface,
.element-recharge .idx-charge-home,
.element-recharge .main-content,
.element-recharge .main-content-wrapper {
  background: transparent !important;
  color: #3b2b24 !important;
}

.element-recharge .board-title {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
}

.element-recharge .board-title .text-wrapper-14,
.element-recharge .text-wrapper-14 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-recharge .ico-cash-2 {
  background-image: none !important;
  width: 22px !important;
  height: 18px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.element-recharge .ico-cash-2 img {
  width: 20px !important;
  height: 16px !important;
  object-fit: contain !important;
  display: block !important;
}

/* 카테고리 탭: 충전/환전/포인트 */
.element-recharge .idx-charge-cat-row {
  background-color: #f6d4b5 !important;
  border-radius: 16px !important;
}

.element-recharge .idx-charge-cat-row > .idx-charge-cat-btn {
  color: #5b4239 !important;
  opacity: 1 !important;
}

.element-recharge .idx-charge-cat-row > .idx-charge-cat-btn.is-selected {
  background-color: #ff639b !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* 좌측 요청 패널 / 우측 안내 패널 */
.element-recharge :is(.cash-detail, .idx-charge-request-panel),
.element-recharge :is(.frame-wrapper, .idx-charge-guide-panel) {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
}

.element-recharge .title .text-wrapper-15,
.element-recharge .text-wrapper-15,
.element-recharge :is(.idx-charge-request-content, .idx-charge-guide-content) .title .text-wrapper-15 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

/* 행: 라벨 + 화이트 값 박스 */
.element-recharge .element-3,
.element-recharge .element {
  background-color: transparent !important;
  color: #3b2b24 !important;
}

.element-recharge .list.idx-charge-request-list > .element-3 > .text-2 .text-wrapper-24,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-4 .text-wrapper-27,
.element-recharge .text-wrapper-24,
.element-recharge .text-wrapper-27,
.element-recharge .text-wrapper-35,
.element-recharge .text-wrapper-21,
.element-recharge .text-wrapper-30,
.element-recharge .USDT-USDT,
.element-recharge .p {
  color: #3b2b24 !important;
}

.element-recharge .text-wrapper-25,
.element-recharge .text-wrapper-31 {
  color: #8a6b58 !important;
}

.element-recharge .list.idx-charge-request-list > .element-3 > .text-3,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-5,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-6,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-7,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-9,
.element-recharge .list.idx-charge-request-list .idx-charge-amount-group {
  background-color: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid #f0dcc8 !important;
  color: #3b2b24 !important;
}

/* text-10/text-11 가이드 안쪽은 보더 금지 (이중 라운드) — 별도 규칙에서 처리 */

.element-recharge .list.idx-charge-request-list > .element-3 > .text-3 .text-wrapper-25,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-3 .text-wrapper-26 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

/* 입금방식 */
.element-recharge .idx-deposit-method {
  border-radius: 10px !important;
  border: none !important;
}

.element-recharge .idx-deposit-method.is-selected,
.element-recharge .frame-7.idx-deposit-method.is-selected,
.element-recharge .frame-8.idx-deposit-method.is-selected {
  background-color: #ff639b !important;
}

.element-recharge .idx-deposit-method.is-selected .text-wrapper-20 {
  color: #ffffff !important;
}

.element-recharge .idx-deposit-method:not(.is-selected),
.element-recharge .frame-7.idx-deposit-method:not(.is-selected),
.element-recharge .frame-8.idx-deposit-method:not(.is-selected) {
  background-color: #f0d4b8 !important;
}

.element-recharge .idx-deposit-method:not(.is-selected) .text-wrapper-20 {
  color: #3b2b24 !important;
}

/* 입금계좌요청 — 스샷 블루 */
.element-recharge .btn-join.idx-account-open,
.element-recharge .btn-join {
  background-color: #4da1e8 !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

.element-recharge .btn-join .text-wrapper-22,
.element-recharge .btn-join.idx-account-open .text-wrapper-22 {
  color: #ffffff !important;
}

/* 보너스 라디오 — 핑크 */
.element-recharge .idx-bonus-option .check {
  background-color: #ffffff !important;
  border: 1.5px solid #d4b090 !important;
  border-radius: 50% !important;
}

.element-recharge .idx-bonus-option .check .check-2 {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}

.element-recharge .idx-bonus-option.is-selected .check {
  border-color: #ff639b !important;
  background-color: #ff639b !important;
}

.element-recharge .idx-bonus-option.is-selected .check::after {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

.element-recharge .idx-bonus-option.is-selected .text-wrapper-24,
.element-recharge .idx-bonus-option.is-selected .frame-11 > .text-wrapper-24 {
  color: #2a1c14 !important;
  -webkit-text-fill-color: #2a1c14 !important;
  font-weight: 700 !important;
}

/* 금액 입력 / 프리셋 */
.element-recharge .idx-charge-amount-input-row,
.element-recharge .bet-cash.idx-charge-amount-input-row,
.element-recharge .idx-charge-amount-input.text-wrapper-32,
.element-recharge .idx-charge-amount-input-row > .input,
.element-recharge .idx-charge-amount-input-row > .idx-charge-usdt-amount.text-wrapper-32 {
  background-color: transparent !important;
  color: #3b2b24 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.element-recharge .idx-charge-amount-presets .idx-amount-btn,
.element-recharge .frame-14 {
  background-color: #f0d4b8 !important;
  border-radius: 10px !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: none !important;
}

/* 금액 입력 셸 — frame-13 하나만 보더/라운드 */
.element-recharge .frame-13 {
  background-color: #ffffff !important;
  border-radius: 10px !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: none !important;
}

.element-recharge .idx-charge-amount-presets .idx-amount-btn .text-wrapper-32,
.element-recharge .idx-charge-amount-presets .idx-amount-btn .text-wrapper-33,
.element-recharge .idx-charge-amount-presets .idx-amount-btn .text-wrapper-34,
.element-recharge .frame-14 .text-wrapper-33 {
  color: #3b2b24 !important;
}

.element-recharge .idx-amount-btn.is-selected,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.is-selected,
.element-recharge .idx-charge-amount-presets .idx-amount-btn:active,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.idx-amount-btn--pressed {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}

.element-recharge .idx-amount-btn.is-selected .text-wrapper-32,
.element-recharge .idx-amount-btn.is-selected .text-wrapper-33,
.element-recharge .idx-amount-btn.is-selected .text-wrapper-34,
.element-recharge .idx-charge-amount-presets .idx-amount-btn:active .text-wrapper-32,
.element-recharge .idx-charge-amount-presets .idx-amount-btn:active .text-wrapper-33,
.element-recharge .idx-charge-amount-presets .idx-amount-btn:active .text-wrapper-34,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.idx-amount-btn--pressed .text-wrapper-32,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.idx-amount-btn--pressed .text-wrapper-33,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.idx-amount-btn--pressed .text-wrapper-34 {
  color: #ffffff !important;
}

/* 충전요청 CTA — 핑크 */
.element-recharge .btn-join-2 {
  background-color: #ff639b !important;
  box-shadow: 0 4px 14px rgba(255, 99, 155, 0.35) !important;
  border-radius: 12px !important;
  max-width: 100% !important;
  width: 100% !important;
  cursor: pointer;
}

.element-recharge .btn-join-2[aria-disabled="true"] {
  cursor: not-allowed;
}

.element-recharge .btn-join-2 .text-wrapper-22 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* 안내 패널 리스트 */
.element-recharge .idx-charge-guide-panel .element,
.element-recharge .frame-wrapper .element {
  background-color: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid #f0dcc8 !important;
  padding: 12px !important;
}

.element-recharge .idx-charge-guide-panel .text-wrapper-35,
.element-recharge .idx-charge-guide-panel .text-wrapper-36,
.element-recharge .idx-charge-guide-panel .text-wrapper-24,
.element-recharge .idx-charge-guide-panel p,
.element-recharge .idx-charge-guide-panel span {
  color: #3b2b24 !important;
}

.element-recharge .idx-charge-guide-panel .span,
.element-recharge .notosanskr-semi-bold-chartreuse-yellow-10px {
  color: #de5285 !important;
}

/* 충전내역 */
.element-recharge .bet-list-2.idx-charge-history,
.element-recharge .bet-list-2 {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
}

.element-recharge .title-2 .text-wrapper-36,
.element-recharge .text-wrapper-36,
.element-recharge .title-2 .text-wrapper-37,
.element-recharge .text-wrapper-37 {
  color: #5b4239 !important;
}

.element-recharge .text-13 {
  background-color: #f0d4b8 !important;
}

.element-recharge .text-wrapper-38 {
  color: #5b4239 !important;
  font-weight: 600 !important;
}

.element-recharge .text-15 {
  background-color: #ffffff !important;
  border-top: 1px solid #f0dcc8 !important;
}

.element-recharge .text-14 {
  background-color: #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid #f0dcc8 !important;
}

.element-recharge .text-wrapper-39 {
  color: #3b2b24 !important;
}

.element-recharge .text-wrapper-40 {
  color: #e53935 !important;
  font-weight: 600 !important;
}

.element-recharge .page .text-wrapper-41 {
  color: #3b2b24 !important;
}

.element-recharge .page .idx-wallet-page-btn {
  color: #de5285 !important;
}

.element-recharge .page .idx-wallet-page-btn.is-current,
.element-recharge .page .text-wrapper-41.is-current {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-recharge .btn-join-3 {
  background-color: #e53935 !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

.element-recharge .btn-join-3 .text-wrapper-42 {
  color: #ffffff !important;
}

/* 팝업/autofill 라이트 */
.element-recharge .idx-em-input:-webkit-autofill,
.element-recharge .idx-em-input:-webkit-autofill:hover,
.element-recharge .idx-em-input:-webkit-autofill:focus,
.idx-em-surface.element-recharge .idx-em-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff6ec inset !important;
  -webkit-text-fill-color: #3b2b24 !important;
  caret-color: #3b2b24 !important;
}

/* 입금자 입력 */
.element-recharge .frame-9 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
}

.element-recharge .frame-9 .text-wrapper-23,
.element-recharge .frame-9 input {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.element-recharge .frame-9 .text-wrapper-23,
.element-recharge .text-wrapper-23 {
  color: #8a6b58 !important;
}

/* ═══════════════════════════════════════════
   Recharge fix pass — match zip4 screenshots
   ═══════════════════════════════════════════ */

/* nested dark strips inside amount card */
.element-recharge .list.idx-charge-request-list .USDT-USDT-wrapper,
.element-recharge .list.idx-charge-request-list .bet-cash,
.element-recharge .list.idx-charge-request-list .bet-list,
.element-recharge .list.idx-charge-request-list .bet-list.idx-charge-amount-presets,
.element-recharge .USDT-USDT-wrapper,
.element-recharge .bet-cash,
.element-recharge .bet-list {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* amount input shell + kill yellow !important text */
.element-recharge .idx-charge-amount-input-row .frame-13,
.element-recharge .list.idx-charge-request-list .frame-13,
.element-recharge .frame-13 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.element-recharge .frame-13 .idx-em-input,
.element-recharge .frame-13 .idx-charge-amount-input.text-wrapper-32,
.element-recharge .frame-13 input.text-wrapper-32,
.element-recharge input.text-wrapper-32.idx-em-input,
.element-recharge .idx-charge-amount-input.text-wrapper-32 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  caret-color: #3b2b24 !important;
  background: transparent !important;
}

.element-recharge .frame-13 .idx-em-input::placeholder,
.element-recharge input.text-wrapper-32::placeholder {
  color: #b0a094 !important;
  -webkit-text-fill-color: #b0a094 !important;
}

/* notice / highlight spans */
.element-recharge .text-wrapper-31,
.element-recharge .USDT-USDT .text-wrapper-31,
.element-recharge .span,
.element-recharge .idx-charge-rate-note .idx-usdt-rate-note-link,
.element-recharge .notosanskr-semi-bold-chartreuse-yellow-10px {
  color: #de5285 !important;
}

/* row layout: label left */
.element-recharge .list.idx-charge-request-list > .element-3 {
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  padding: 4px 0 !important;
}

.element-recharge .list.idx-charge-request-list .text-2,
.element-recharge .list.idx-charge-request-list .text-4 {
  justify-content: flex-start !important;
  align-items: center !important;
}

.element-recharge .list.idx-charge-request-list > .element-3 > .text-2 .text-wrapper-24,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-4 .text-wrapper-27,
.element-recharge .text-wrapper-24,
.element-recharge .text-wrapper-27 {
  justify-content: flex-start !important;
  text-align: left !important;
  color: #3b2b24 !important;
}

/* value boxes */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-3,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-5,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-6,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-7,
.element-recharge .list.idx-charge-request-list .idx-charge-amount-group,
.element-recharge .list.idx-charge-request-list .frame-12 {
  background-color: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid #f0dcc8 !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}

/* bonus radios — native pink (custom .check is display:none in base) */
.element-recharge .idx-bonus-option .idx-bonus-radio {
  accent-color: #ff639b !important;
  width: 15px !important;
  height: 15px !important;
  opacity: 1 !important;
  position: static !important;
  display: inline-block !important;
}

.element-recharge .idx-bonus-option .text-wrapper-24,
.element-recharge .idx-bonus-option .frame-11 > .text-wrapper-24,
.element-recharge .idx-bonus-option p.text-wrapper-24 {
  color: #2a1c14 !important;
  -webkit-text-fill-color: #2a1c14 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  opacity: 1 !important;
}

.element-recharge .idx-bonus-option .text-wrapper-25,
.element-recharge .idx-bonus-option .frame-11 .text-wrapper-25 {
  color: #3b2b24 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 16px !important;
  opacity: 1 !important;
}

/* deposit methods reinforce */
.element-recharge .idx-deposit-method.is-selected {
  background-color: #ff639b !important;
}
.element-recharge .idx-deposit-method.is-selected .text-wrapper-20 {
  color: #ffffff !important;
}
.element-recharge .idx-deposit-method:not(.is-selected) {
  background-color: #f0d4b8 !important;
}
.element-recharge .idx-deposit-method:not(.is-selected) .text-wrapper-20 {
  color: #3b2b24 !important;
}

/* presets peach / selected pink */
.element-recharge .idx-charge-amount-presets .idx-amount-btn,
.element-recharge .idx-charge-amount-presets .frame-14 {
  background-color: #f0d4b8 !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
}
.element-recharge .idx-charge-amount-presets .idx-amount-btn .text-wrapper-32,
.element-recharge .idx-charge-amount-presets .idx-amount-btn .text-wrapper-33,
.element-recharge .idx-charge-amount-presets .idx-amount-btn .text-wrapper-34 {
  color: #3b2b24 !important;
}
.element-recharge .idx-amount-btn.is-selected,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.is-selected,
.element-recharge .idx-charge-amount-presets .idx-amount-btn:active,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.idx-amount-btn--pressed {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}
.element-recharge .idx-amount-btn.is-selected .text-wrapper-32,
.element-recharge .idx-amount-btn.is-selected .text-wrapper-33,
.element-recharge .idx-amount-btn.is-selected .text-wrapper-34,
.element-recharge .idx-charge-amount-presets .idx-amount-btn:active .text-wrapper-32,
.element-recharge .idx-charge-amount-presets .idx-amount-btn:active .text-wrapper-33,
.element-recharge .idx-charge-amount-presets .idx-amount-btn:active .text-wrapper-34,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.idx-amount-btn--pressed .text-wrapper-32,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.idx-amount-btn--pressed .text-wrapper-33,
.element-recharge .idx-charge-amount-presets .idx-amount-btn.idx-amount-btn--pressed .text-wrapper-34 {
  color: #ffffff !important;
}

/* guide: fix white-on-white div.text-wrapper-3 */
.element-recharge .idx-charge-guide-panel .text-wrapper-3,
.element-recharge .idx-charge-guide-panel .text-wrapper-19,
.element-recharge .idx-charge-guide-panel .text-wrapper-36,
.element-recharge .frame-wrapper .text-wrapper-3,
.element-recharge .frame-wrapper .text-wrapper-19,
.element-recharge .frame-wrapper .text-wrapper-36,
.element-recharge .idx-charge-guide-panel div,
.element-recharge .idx-charge-guide-panel p,
.element-recharge .idx-charge-guide-panel span {
  color: #3b2b24 !important;
}

.element-recharge .idx-charge-guide-panel .element,
.element-recharge .frame-wrapper .element {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 14px !important;
}

/* history: one peach header bar + white row strips */
.element-recharge .idx-charge-history .text-12,
.element-recharge .bet-list-2 .text-12 {
  background-color: #f0d4b8 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  gap: 0 !important;
}
.element-recharge .idx-charge-history .text-13,
.element-recharge .bet-list-2 .text-13 {
  background-color: transparent !important;
}
.element-recharge .idx-charge-history .text-wrapper-38,
.element-recharge .bet-list-2 .text-wrapper-38 {
  color: #5b4239 !important;
  font-weight: 600 !important;
}
.element-recharge .idx-charge-history .list-2,
.element-recharge .bet-list-2 .list-2 {
  gap: 6px !important;
}
.element-recharge .idx-charge-history .text-14,
.element-recharge .bet-list-2 .text-14 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  gap: 0 !important;
  overflow: hidden !important;
}
.element-recharge .idx-charge-history .text-15,
.element-recharge .bet-list-2 .text-15 {
  background-color: transparent !important;
  border-top: none !important;
  border-left: 1px solid #f0dcc8 !important;
}
.element-recharge .idx-charge-history .text-15:first-child,
.element-recharge .bet-list-2 .text-15:first-child {
  border-left: none !important;
}
.element-recharge .idx-charge-history .text-wrapper-39,
.element-recharge .bet-list-2 .text-wrapper-39 {
  color: #3b2b24 !important;
}
.element-recharge .idx-charge-history .text-wrapper-40,
.element-recharge .idx-charge-history .idx-payment-history-delete,
.element-recharge .bet-list-2 .text-wrapper-40 {
  color: #e53935 !important;
  font-weight: 600 !important;
}
.element-recharge .idx-charge-history .text-wrapper-37,
.element-recharge .bet-list-2 .text-wrapper-37,
.element-recharge .idx-charge-history .title-2 .text-wrapper-15 {
  color: #5b4239 !important;
}
.element-recharge .page .text-wrapper-41 {
  color: #3b2b24 !important;
}
.element-recharge .page .idx-wallet-page-btn:not(.is-current) {
  color: #de5285 !important;
}

/* account popup light */
.idx-account-popup,
.idx-account-popup__body {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  border-radius: 16px !important;
}
.idx-account-popup__title,
.idx-account-popup__subtitle,
.idx-account-popup__lead,
.idx-account-popup__body,
.idx-account-popup__body p,
.idx-account-popup__body span {
  color: #3b2b24 !important;
}
.idx-account-dim {
  background: rgba(59, 43, 36, 0.35) !important;
}

/* ═══════════════════════════════════════════
   Recharge polish — no double-round / guide / notice
   ═══════════════════════════════════════════ */

/* --- 금액 카드: 이중 라운드 제거 (외곽만 화이트, 입력만 단일 보더) --- */
.element-recharge .list.idx-charge-request-list .idx-charge-amount-group,
.element-recharge .list.idx-charge-request-list .frame-12 {
  background-color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  padding: 12px !important;
}

.element-recharge .idx-charge-amount-input-row,
.element-recharge .bet-cash.idx-charge-amount-input-row,
.element-recharge .idx-charge-amount-input-row .input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.element-recharge .idx-charge-amount-input-row .frame-13,
.element-recharge .list.idx-charge-request-list .frame-13,
.element-recharge .frame-13 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* --- 안내 문구: 보이게 + 입력 위 구분선 --- */
.element-recharge .idx-charge-amount-notice,
.element-recharge .USDT-USDT-wrapper.idx-charge-amount-notice {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #e8c9a8 !important;
  border-radius: 0 !important;
  padding: 0 0 12px !important;
  margin: 0 0 12px !important;
  gap: 0 !important;
}

.element-recharge .idx-charge-amount-notice .USDT-USDT,
.element-recharge .idx-charge-amount-notice .text-wrapper-30 {
  color: #3b2b24 !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

.element-recharge .idx-charge-amount-notice .text-wrapper-31 {
  color: #de5285 !important;
  font-weight: 700 !important;
}

/* ※ 주의 문장 — 연핑크/얇은 굵기 제거 */
.element-recharge .idx-charge-amount-notice .text-wrapper-31[style],
.element-recharge .idx-charge-amount-notice .USDT-USDT > .text-wrapper-31:last-child {
  color: #5b4239 !important;
  font-weight: 600 !important;
  display: block !important;
  margin-top: 8px !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

/* --- 충전안내 / 입금주의사항: 스샷처럼 좌측 세로 타이틀 + 단일 화이트 카드 --- */
.element-recharge .idx-charge-guide-panel .list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.element-recharge .idx-charge-guide-panel .element,
.element-recharge .frame-wrapper .element {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 14px !important;
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 14px !important;
  padding: 14px 12px !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* 안쪽 text-10/text-11 보더·라운드 제거 → 이중 라운드 해소 */
.element-recharge .idx-charge-guide-panel .element .text-10,
.element-recharge .idx-charge-guide-panel .element .text-11,
.element-recharge .frame-wrapper .element .text-10,
.element-recharge .frame-wrapper .element .text-11 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.element-recharge .idx-charge-guide-panel .text-10,
.element-recharge .frame-wrapper .text-10 {
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  align-self: stretch !important;
  justify-content: center !important;
  align-items: center !important;
}

.element-recharge .idx-charge-guide-panel .text-wrapper-35,
.element-recharge .idx-charge-guide-panel .text-wrapper-19,
.element-recharge .frame-wrapper .text-wrapper-35,
.element-recharge .frame-wrapper .text-wrapper-19 {
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  transform: none !important;
  white-space: nowrap !important;
  letter-spacing: 0.12em !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  color: #3b2b24 !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.element-recharge .idx-charge-guide-panel .text-11,
.element-recharge .frame-wrapper .text-11 {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  gap: 10px !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

.element-recharge .idx-charge-guide-panel .frame-17 {
  gap: 8px !important;
  align-items: flex-start !important;
}

.element-recharge .idx-charge-guide-panel .text-wrapper-3 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  white-space: normal !important;
}

.element-recharge .idx-charge-guide-panel .frame-18 .text-wrapper-3 {
  color: #3b2b24 !important;
  font-weight: 600 !important;
}

/* 대괄호 부가설명 — 읽히게 */
.element-recharge .idx-charge-guide-panel .text-wrapper-36,
.element-recharge .frame-wrapper .text-wrapper-36 {
  color: #7a5c48 !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

/* 가이드 패널 자체는 피치만, 내부 카드만 라운드 */
.element-recharge :is(.frame-wrapper, .idx-charge-guide-panel) {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
}

/* 보유머니 등: 값 박스만 라운드 (패널과 보더 이중 느낌 완화) */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-3,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-5,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-6,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-7 {
  border: 1px solid #f0dcc8 !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════
   Recharge polish 2 — title on top, single input shell
   ═══════════════════════════════════════════ */

/* 금액 입력: 입력/row/input 래퍼 보더 전부 제거, frame-13만 유지 */
.element-recharge .idx-charge-amount-input-row,
.element-recharge .bet-cash.idx-charge-amount-input-row,
.element-recharge .idx-charge-amount-input-row > .input,
.element-recharge .idx-charge-amount-input-row .input,
.element-recharge .list.idx-charge-request-list .idx-charge-amount-input-row > .input {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.element-recharge .frame-13 .idx-em-input,
.element-recharge .frame-13 .idx-charge-amount-input.text-wrapper-32,
.element-recharge .frame-13 input.text-wrapper-32,
.element-recharge input.text-wrapper-32.idx-em-input.idx-charge-amount-input,
.element-recharge .idx-charge-amount-input.text-wrapper-32 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100% !important;
  text-align: center !important;
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.element-recharge .list.idx-charge-request-list .idx-charge-amount-group .frame-13,
.element-recharge .idx-charge-amount-input-row .frame-13 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  outline: none !important;
}

/* 안내/주의사항: 제목 위쪽 가로 배치 */
.element-recharge .idx-charge-guide-panel .element,
.element-recharge .frame-wrapper .element {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 14px !important;
  padding: 14px 14px 12px !important;
}

.element-recharge .idx-charge-guide-panel .element .text-10,
.element-recharge .frame-wrapper .element .text-10 {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding: 0 0 8px !important;
  margin: 0 !important;
  border: none !important;
  border-bottom: 1px solid #f0dcc8 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.element-recharge .idx-charge-guide-panel .text-wrapper-35,
.element-recharge .idx-charge-guide-panel .text-wrapper-19,
.element-recharge .frame-wrapper .text-wrapper-35,
.element-recharge .frame-wrapper .text-wrapper-19 {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
  white-space: nowrap !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  color: #3b2b24 !important;
  justify-content: flex-start !important;
  text-align: left !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.element-recharge .idx-charge-guide-panel .element .text-11,
.element-recharge .frame-wrapper .element .text-11 {
  flex: 1 1 auto !important;
  width: 100% !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* ═══════════════════════════════════════════
   USDT charge rows — restore tidy layout
   ═══════════════════════════════════════════ */

/* 시세 라벨(text-8)은 라벨열 — 값박스 스타일 금지 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-8 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  justify-content: flex-start !important;
  align-items: center !important;
  max-width: 110px !important;
  flex: 0 0 90px !important;
  width: 90px !important;
  padding: 5px 8px !important;
}

.element-recharge .list.idx-charge-request-list > .element-3 > .text-8 .text-wrapper-26 {
  color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  justify-content: flex-start !important;
  text-align: left !important;
  margin: 0 !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}

/* 시세 값 영역 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-9 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  gap: 4px !important;
}

.element-recharge .idx-charge-rate-value.text-wrapper-27,
.element-recharge .text-9 .text-wrapper-27 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.element-recharge .idx-charge-rate-time.text-wrapper-28,
.element-recharge .text-9 .text-wrapper-28 {
  color: #8a6b58 !important;
  font-size: 12px !important;
}

.element-recharge .idx-charge-rate-note.text-wrapper-29,
.element-recharge .text-9 .text-wrapper-29 {
  color: #7a5c48 !important;
  font-size: 12px !important;
}

.element-recharge .idx-charge-rate-note .idx-usdt-rate-note-link {
  color: #de5285 !important;
}

/* 내 지갑 주소: 라벨 위 / 입력 풀폭 */
.element-recharge .element-3:has(.idx-charge-wallet-row) {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  background: transparent !important;
}

.element-recharge .element-3:has(.idx-charge-wallet-row) > .text-4 {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  padding: 2px 4px 0 !important;
  background: transparent !important;
  border: none !important;
}

.element-recharge .element-3:has(.idx-charge-wallet-row) > .text-5.idx-charge-wallet-row {
  width: 100% !important;
  flex: 1 1 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.element-recharge .idx-charge-wallet-row .input {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
}

.element-recharge .list.idx-charge-request-list .idx-charge-wallet-frame.frame-13,
.element-recharge .list.idx-charge-request-list .frame-13.idx-charge-wallet-frame,
.element-recharge .idx-charge-wallet-row .frame-13.idx-charge-wallet-frame {
  width: 100% !important;
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  min-height: 40px !important;
  height: auto !important;
  padding: 8px 12px !important;
  justify-content: flex-start !important;
}

.element-recharge .frame-13 .idx-charge-wallet-input,
.element-recharge .idx-charge-wallet-input {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  caret-color: #3b2b24 !important;
  text-align: left !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  background: transparent !important;
  border: none !important;
}

.element-recharge .idx-charge-wallet-ph {
  color: #b0a094 !important;
  -webkit-text-fill-color: #b0a094 !important;
}

/* USDT 환산 금액 박스 — 금액행 transparent 규칙보다 높은 특이도 */
.element-recharge .idx-charge-amount-input-row > .idx-charge-usdt-amount.text-wrapper-32,
.element-recharge .bet-cash.idx-charge-amount-input-row > .idx-charge-usdt-amount.text-wrapper-32,
.element-recharge .list.idx-charge-request-list .idx-charge-amount-input-row > .idx-charge-usdt-amount {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
  height: 36px !important;
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 보너스·시세·금액 행 간격 */
.element-recharge .list.idx-charge-request-list > .element-3.idx-charge-row {
  gap: 8px !important;
  align-items: stretch !important;
}

.element-recharge .list.idx-charge-request-list > .element-3 > .text-7.idx-charge-bonus-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 12px !important;
}

.element-recharge .idx-bonus-option.frame-10 {
  margin: 0 !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #f0e0d0 !important;
}

.element-recharge .idx-bonus-option.frame-10:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* 보너스 그룹 안 안내문 */
.element-recharge .idx-charge-bonus-group > .p {
  color: #5b4239 !important;
  margin: 0 0 8px !important;
}

/* USDT 지갑주소요청 버튼 행: text-6만 값박스 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-6 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 10px !important;
}

.element-recharge .list.idx-charge-request-list > .element-3 > .text-6 .btn-join {
  width: 100% !important;
  max-width: 280px !important;
}

/* ═══════════════════════════════════════════
   Charge request — dark-style grouped row shells
   각 element-3 = 라벨+내용 한 묶음 (다크 #3b3f46 대응)
   ═══════════════════════════════════════════ */

.element-recharge .list.idx-charge-request-list {
  gap: 8px !important;
}

/* 행 통째로 묶음 박스 */
.element-recharge .list.idx-charge-request-list > .element-3,
.element-recharge .list.idx-charge-request-list > .element-3.idx-charge-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* 안쪽 값영역: 행 박스 안에서는 별도 카드 금지 (이중 묶음 해제) — 시세 text-9는 아래에서 흰 패널로 복구 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-3,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-5,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-6,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-7,
.element-recharge .list.idx-charge-request-list > .element-3 > .idx-charge-amount-group,
.element-recharge .list.idx-charge-request-list > .element-3 > .frame-12 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* 좌측 라벨열 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-2,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-4,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-8 {
  flex: 0 0 88px !important;
  width: 88px !important;
  max-width: 88px !important;
  background: transparent !important;
  border: none !important;
  padding: 4px 6px !important;
  justify-content: flex-start !important;
  align-items: center !important;
  align-self: stretch !important;
}

.element-recharge .list.idx-charge-request-list > .element-3 > .text-2 .text-wrapper-24,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-4 .text-wrapper-27,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-8 .text-wrapper-26 {
  color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  justify-content: flex-start !important;
  text-align: left !important;
  margin: 0 !important;
}

/* 우측 콘텐츠 열 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-3,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-5,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-6,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-7,
.element-recharge .list.idx-charge-request-list > .element-3 > .text-9,
.element-recharge .list.idx-charge-request-list > .element-3 > .idx-charge-amount-group,
.element-recharge .list.idx-charge-request-list > .element-3 > .frame-12 {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  align-self: stretch !important;
}

/* 보유/홀덤 머니: 안쪽만 흰 입력바 (다크의 어두운 inset) */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-3 {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
}

/* 입금방식 버튼 행 */
.element-recharge .list.idx-charge-request-list .idx-charge-deposit-methods {
  display: flex !important;
  gap: 6px !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* USDT 지갑주소요청 / 입금계좌요청 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-6 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 4px 0 !important;
}

.element-recharge .list.idx-charge-request-list > .element-3 > .text-6 .btn-join {
  width: 100% !important;
  max-width: none !important;
}

/* 내 지갑 주소: 한 묶음 안에서 라벨 위 + 입력 아래 */
.element-recharge .list.idx-charge-request-list > .element-3:has(.idx-charge-wallet-row) {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

.element-recharge .list.idx-charge-request-list > .element-3:has(.idx-charge-wallet-row) > .text-4 {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 2px !important;
}

.element-recharge .list.idx-charge-request-list > .element-3:has(.idx-charge-wallet-row) > .text-5.idx-charge-wallet-row {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.element-recharge .list.idx-charge-request-list .idx-charge-wallet-frame.frame-13,
.element-recharge .list.idx-charge-request-list .frame-13.idx-charge-wallet-frame {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
}

/* 보너스 선택 묶음 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-7.idx-charge-bonus-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 2px 0 !important;
  background: transparent !important;
  border: none !important;
}

.element-recharge .idx-bonus-option.frame-10 {
  border-bottom: 1px solid rgba(232, 201, 168, 0.65) !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.element-recharge .idx-bonus-option.frame-10:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* 시세 값 — 피치 행 안 흰 패널 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-9 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 4px !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  box-shadow: none !important;
}

/* 충전금액 묶음: 행 박스가 외곽, 안은 투명 */
.element-recharge .list.idx-charge-request-list > .element-3 > .idx-charge-amount-group,
.element-recharge .list.idx-charge-request-list > .element-3 > .frame-12.idx-charge-amount-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 2px 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.element-recharge .list.idx-charge-request-list .idx-charge-amount-notice,
.element-recharge .list.idx-charge-request-list .USDT-USDT-wrapper.idx-charge-amount-notice {
  border-bottom: 1px solid #e8c9a8 !important;
  margin: 0 0 2px !important;
  padding: 0 0 10px !important;
  background: transparent !important;
}

/* CTA는 묶음 밖 — 여백만 */
.element-recharge .list.idx-charge-request-list > .btn-join-wrapper {
  margin-top: 4px !important;
  background: transparent !important;
  border: none !important;
  padding: 8px 0 0 !important;
}

/* ═══════════════════════════════════════════
   Exchange + Point — charge-parity peach/pink
   [data-idx-em] 포함해 base !important 를 이김
   ═══════════════════════════════════════════ */

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange).idx-em-surface,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .main-content,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .main-content-wrapper,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .home,
.element-point.idx-em-surface,
.element-point .main-content,
.element-point .main-content-wrapper,
.element-point .home {
  background: transparent !important;
  color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .board-title,
.element-point .board-title {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .board-title .text-wrapper-14,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-14,
.element-point .board-title .text-wrapper-13,
.element-point .text-wrapper-13 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

/* 카테고리 탭 — 충전과 동일 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-cat-row,
.element-point .idx-point-cat-row {
  background-color: #f6d4b5 !important;
  border-radius: 16px !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-cat-row > .idx-exchange-cat-btn,
.element-point .idx-point-cat-row > .idx-point-cat-btn {
  color: #5b4239 !important;
  opacity: 1 !important;
  background: transparent !important;
  box-shadow: none !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-cat-row > .idx-exchange-cat-btn.is-selected,
.element-point .idx-point-cat-row > .idx-point-cat-btn.is-selected {
  background-color: #ff639b !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* 패널 셸 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.cash-detail, .idx-exchange-request-panel),
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.frame-wrapper, .idx-exchange-guide-panel),
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history),
.element-point .cash-detail,
.element-point .bet-list {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .title .text-wrapper-15,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-15,
.element-point .title .text-wrapper-14,
.element-point .title-2 .text-wrapper-14 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

/* 요청 리스트 — 충전 request-list 와 동일 묶음행 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list {
  gap: 8px !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3.idx-exchange-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-3,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-5,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-6,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-7:not(.idx-exchange-rate-label-wrap),
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .idx-exchange-amount-group,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .frame-10,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .idx-exchange-wallet-panel,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .idx-exchange-pw-panel {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  align-self: stretch !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-2,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-4,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-6:not(.idx-exchange-wallet-panel):not(.idx-exchange-pw-panel),
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-7.idx-exchange-rate-label-wrap,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-8.idx-exchange-rate-label-wrap,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .idx-exchange-rate-label-wrap {
  flex: 0 0 88px !important;
  width: 88px !important;
  max-width: 88px !important;
  background: transparent !important;
  border: none !important;
  padding: 4px 6px !important;
  justify-content: flex-start !important;
  align-items: center !important;
  align-self: stretch !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list .text-wrapper-24,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list .text-wrapper-27,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list .text-wrapper-29,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list .text-wrapper-34,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list .text-wrapper-36,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list .idx-exchange-rate-label {
  color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

/* 머니 값 — 흰 inset 바 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-3 {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list .text-wrapper-25,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list .text-wrapper-26 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

/* 환전방식 칩 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-methods,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-5 {
  display: flex !important;
  gap: 6px !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-method {
  border-radius: 10px !important;
  border: none !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-method.is-selected {
  background-color: #ff639b !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-method.is-selected .text-wrapper-28,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-method.is-selected span {
  color: #ffffff !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-method:not(.is-selected) {
  background-color: #f0d4b8 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-method:not(.is-selected) .text-wrapper-28,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-method:not(.is-selected) span {
  color: #3b2b24 !important;
}

/* 금액 그룹: 안쪽 다크 스트립 제거 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-group .bet-cash,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-group .bet-list,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-group .frame-11,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-group .frame-13,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-group .input,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-group .div-4 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-notice,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-note {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #e8c9a8 !important;
  padding: 0 0 8px !important;
  margin: 0 0 8px !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-note .text-wrapper-29,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-note .text-wrapper-36 {
  color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-note .text-wrapper-30,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-note .text-wrapper-37 {
  color: #de5285 !important;
  font-weight: 700 !important;
}

/* 입력 셸 = frame-12 만 (충전 frame-13) */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-input-row .frame-12,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-group .frame-12,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .frame-12 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-input,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-input.text-wrapper-31,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .frame-12 .idx-em-input,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .frame-12 input {
  background: transparent !important;
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  caret-color: #3b2b24 !important;
  border: none !important;
  box-shadow: none !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-input::placeholder,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .frame-12 input::placeholder {
  color: #b0a094 !important;
  -webkit-text-fill-color: #b0a094 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-input-row .text-wrapper-38 {
  color: #de5285 !important;
  font-weight: 700 !important;
}

/* 프리셋 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-amount-presets .idx-amount-btn,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .bet-list .idx-amount-btn,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .frame-14,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .frame-15 {
  background-color: #f0d4b8 !important;
  border-radius: 10px !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: none !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-amount-btn .text-wrapper-32,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-amount-btn .text-wrapper-33,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-amount-btn .text-wrapper-34 {
  color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-amount-btn.is-selected,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-amount-btn.idx-amount-btn--pressed,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-amount-btn:active {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-amount-btn.is-selected span,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-amount-btn.idx-amount-btn--pressed span,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-amount-btn:active span {
  color: #ffffff !important;
}

/* 회원정보 / PW 흰 박스 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-7,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .list.idx-exchange-request-list > .element-3 > .text-8,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-wallet-box,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-pw-box,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .frame-17 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-3,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-35,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-wallet-value,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-pw-value,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-37,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-30 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-38,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-pw-note,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-wallet-note,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-23,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rate-note {
  color: #8a6b58 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-usdt-rate-note-link {
  color: #de5285 !important;
  font-weight: 700 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rate-value,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rate-time {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

/* CTA — 충전 btn-join-2 와 동일 핑크 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .btn-join {
  background-color: #ff639b !important;
  box-shadow: 0 4px 14px rgba(255, 99, 155, 0.35) !important;
  border-radius: 12px !important;
  max-width: 100% !important;
  width: 100% !important;
  cursor: pointer;
}

.element-point .btn-join {
  background-color: #ff639b !important;
  box-shadow: 0 4px 14px rgba(255, 99, 155, 0.35) !important;
  border-radius: 10px !important;
  width: 300px !important;
  max-width: 300px !important;
  height: 40px !important;
  cursor: pointer;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .btn-join .text-wrapper-39,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .btn-join .text-wrapper-42,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .btn-join span,
.element-point .btn-join .text-wrapper-17,
.element-point .btn-join span {
  color: #ffffff !important;
  font-weight: 700 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .btn-join-wrapper,
.element-point .btn-join-wrapper {
  background: transparent !important;
  border: none !important;
  margin-top: 4px !important;
}

/* 전체삭제 — 충전 btn-join-3 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .btn-join-2 {
  background-color: #e53935 !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  cursor: pointer;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .btn-join-2 span,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .btn-join-2 .text-wrapper-49 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* 안내 패널 — 제목 위쪽 (충전 guide polish) */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.frame-wrapper, .idx-exchange-guide-panel) .element-3 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 14px !important;
  padding: 14px 14px 12px !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.frame-wrapper, .idx-exchange-guide-panel) .element-3 > .text-9 {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding: 0 0 8px !important;
  margin: 0 !important;
  border: none !important;
  border-bottom: 1px solid #f0dcc8 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.frame-wrapper, .idx-exchange-guide-panel) .text-9 .text-wrapper-27 {
  writing-mode: horizontal-tb !important;
  transform: none !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #3b2b24 !important;
  text-align: left !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.frame-wrapper, .idx-exchange-guide-panel) .element-3 > .text-10,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.frame-wrapper, .idx-exchange-guide-panel) .element-3 > .text-11 {
  flex: 1 1 auto !important;
  width: 100% !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.frame-wrapper, .idx-exchange-guide-panel) .text-wrapper-3 {
  color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.frame-wrapper, .idx-exchange-guide-panel) .text-wrapper-40,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.frame-wrapper, .idx-exchange-guide-panel) .text-wrapper-43 {
  color: #7a5c48 !important;
}

/* 롤링 */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rolling-item,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rolling-list .container-2 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 14px !important;
  color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .rolling {
  background: conic-gradient(#ff639b calc(var(--roll-pct, 0) * 1%), #f0d4b8 0) !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .rolling::before,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .rolling::after {
  background: radial-gradient(circle at 50% 6px, #ff639b 0 6px, transparent 7px) !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rolling-label .text-wrapper-17 {
  color: #ff639b !important;
  font-weight: 700 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rolling-meta .text-wrapper-16,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rolling-meta .text-wrapper-19,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rolling-meta .text-wrapper-21,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rolling-label .text-wrapper-18 {
  color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rolling-meta .text-wrapper-20,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rolling-meta .text-wrapper-22 {
  color: #de5285 !important;
  font-weight: 700 !important;
}

/* 내역 — 충전 history polish */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .title-2 .text-wrapper-15,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .title-2 .text-wrapper-41 {
  color: #5b4239 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .text-12 {
  background-color: #f0d4b8 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  gap: 0 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .text-13 {
  background-color: transparent !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .text-wrapper-42 {
  color: #5b4239 !important;
  font-weight: 600 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .text-14 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  gap: 0 !important;
  overflow: hidden !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .text-15 {
  background-color: transparent !important;
  border-top: none !important;
  border-left: 1px solid #f0dcc8 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .text-15:first-child {
  border-left: none !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .text-wrapper-39,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .text-wrapper-43 {
  color: #3b2b24 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) :is(.bet-list-2, .idx-exchange-history) .text-wrapper-40 {
  color: #e53935 !important;
  font-weight: 600 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .page .text-wrapper-45,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .page .idx-wallet-page-btn {
  color: #de5285 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .page .idx-wallet-page-btn.is-current,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .page .text-wrapper-45.is-current {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-em-input:-webkit-autofill,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-em-input:-webkit-autofill:hover,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-em-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff6ec inset !important;
  -webkit-text-fill-color: #3b2b24 !important;
  caret-color: #3b2b24 !important;
}

/* 포인트 — 와이어프레임 유지, 색감만 충전 톤 */
.element-point .cash-detail .list-2 .element {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 5px 10px !important;
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.element-point .list-2 .element .text-2 {
  width: 80px !important;
  flex: 0 0 80px !important;
  max-width: 80px !important;
  padding: 5px 10px !important;
  background: transparent !important;
  border: none !important;
  justify-content: center !important;
}

.element-point .list-2 .element .text-3 {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  gap: 5px !important;
  padding: 5px 10px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
}

.element-point .list-2 .element .text-3 .frame {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.element-point .list-2 .element .text-wrapper-15 {
  color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 10px !important;
}

.element-point .list-2 .element .text-wrapper-16 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.element-point .bet-list .text-4 {
  background-color: #f0d4b8 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: none !important;
}

.element-point .bet-list .text-4 > .text-5,
.element-point .bet-list .frame-7 .text-4 > .text-5 {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
}

.element-point .bet-list .text-wrapper-18 {
  color: #5b4239 !important;
  font-weight: 600 !important;
}

.element-point .bet-list .text-6 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.element-point .bet-list .text-6 > .text-7,
.element-point .bet-list .frame-7 .list-3 .text-6 > .text-7 {
  background-color: transparent !important;
  background: transparent !important;
  border-left: 1px solid #f0dcc8 !important;
}

.element-point .bet-list .text-6 > .text-7:first-child,
.element-point .bet-list .frame-7 .list-3 .text-6 > .text-7:first-child {
  border-left: none !important;
}

.element-point .bet-list .text-wrapper-19,
.element-point .bet-list .idx-payment-date__day,
.element-point .bet-list .idx-payment-date__time {
  color: #3b2b24 !important;
}

.element-point .bet-list .text-wrapper-20 {
  color: #e53935 !important;
  font-weight: 600 !important;
}

.element-point .bet-list .text-wrapper-21 {
  color: #de5285 !important;
  font-weight: 700 !important;
}

.element-point .bet-list .text-wrapper-22 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-point .p {
  color: #8a6b58 !important;
}

.element-point .page .text-wrapper-23,
.element-point .page .idx-point-page-btn,
.element-point .page .idx-wallet-page-btn {
  color: #8a6b58 !important;
}

.element-point .page .text-wrapper-23.is-current,
.element-point .page .idx-point-page-btn.is-current,
.element-point .page .idx-wallet-page-btn.is-current {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-point .page .idx-wallet-page-btn:not(:disabled),
.element-point .page .idx-point-page-btn:not(:disabled) {
  color: #de5285 !important;
}


/* ═══════════════════════════════════════════
   Exchange UX fix — guide title / method toggle / USDT parity
   ═══════════════════════════════════════════ */

/* 가이드 제목: 27뿐 아니라 29·36도 (환전시 참고사항) */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
:is(.frame-wrapper, .idx-exchange-guide-panel)
.text-9
:is(.text-wrapper-27, .text-wrapper-29, .text-wrapper-36) {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
  white-space: nowrap !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  justify-content: flex-start !important;
  text-align: left !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
}

/* 환전방식 토글: frame-8/9 다크·퍼플 제거 → is-selected만 (충전 입금방식과 동일) */
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method.frame-8,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method.frame-9,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method {
  background-color: #f0d4b8 !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  min-height: 34px !important;
  height: auto !important;
  padding: 8px 10px !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method.is-selected,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method.is-selected.frame-8,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method.is-selected.frame-9 {
  background-color: #ff639b !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method .text-wrapper-28,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method span {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  opacity: 1 !important;
}

:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method.is-selected .text-wrapper-28,
:is(.element-exchange, [data-idx-em="23_Exchange_1"] .element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-method.is-selected span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
}

/* 테더(USDT) 환전 — 충전 USDT 톤 맞춤 */
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.list.idx-exchange-request-list > .element-3.idx-exchange-rate-row {
  align-items: stretch !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .idx-exchange-rate-label-wrap,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .text-7,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .text-8 {
  flex: 0 0 90px !important;
  width: 90px !important;
  max-width: 110px !important;
  background: transparent !important;
  border: none !important;
  padding: 5px 8px !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-rate-label,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.list.idx-exchange-request-list .text-wrapper-32.idx-exchange-rate-label {
  color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-align: left !important;
  justify-content: flex-start !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .idx-exchange-rate-panel,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .text-9 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rate-value,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-33.idx-exchange-rate-value {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rate-time,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-34.idx-exchange-rate-time {
  color: #8a6b58 !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-exchange-rate-note,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .text-wrapper-35.idx-exchange-rate-note {
  color: #7a5c48 !important;
  font-weight: 400 !important;
  font-size: 12px !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange) .idx-usdt-rate-note-link {
  color: #de5285 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

/* 지갑주소 행 — 라벨/값 폰트 강약 */
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.list.idx-exchange-request-list > .element-3.idx-exchange-wallet-row > .text-4 .text-wrapper-29 {
  color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-wallet-box,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-pw-box {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-wallet-value,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-pw-value {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-wallet-note,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-pw-note,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.text-wrapper-31.idx-exchange-wallet-note,
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.text-wrapper-41.idx-exchange-pw-note {
  color: #8a6b58 !important;
  font-weight: 400 !important;
  font-size: 11px !important;
}

/* USDT 환산량 — 충전 idx-charge-usdt-amount 와 동일 */
:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-amount-input-row > .text-wrapper-38 {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
  height: 36px !important;
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 6px !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-amount-input-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-amount-note .text-wrapper-36 {
  color: #3b2b24 !important;
  font-weight: 400 !important;
}

:is(.element-exchange, [data-idx-em="24_Exchange_2"] .element-exchange)
.idx-exchange-amount-note .text-wrapper-37 {
  color: #de5285 !important;
  font-weight: 700 !important;
}


/* ═══════════════════════════════════════════
   v29 — method toggle specificity + white inputs + rate label
   ═══════════════════════════════════════════ */

/* 환전방식: data-idx-em 특이도로 다크 #303338 완전 제압 (충전 입금방식과 동일) */
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method.frame-8,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method.frame-8,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method.frame-9,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method.frame-9,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method:not(.is-selected),
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method:not(.is-selected),
[data-idx-em="23_Exchange_1"] .element-exchange .frame-8.idx-exchange-method:not(.is-selected),
[data-idx-em="24_Exchange_2"] .element-exchange .frame-8.idx-exchange-method:not(.is-selected),
[data-idx-em="23_Exchange_1"] .element-exchange .frame-9.idx-exchange-method:not(.is-selected),
[data-idx-em="24_Exchange_2"] .element-exchange .frame-9.idx-exchange-method:not(.is-selected) {
  background-color: #f0d4b8 !important;
  background-image: none !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #3b2b24 !important;
}

[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method.is-selected,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method.is-selected,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method.is-selected.frame-8,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method.is-selected.frame-8,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method.is-selected.frame-9,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method.is-selected.frame-9,
[data-idx-em="23_Exchange_1"] .element-exchange .frame-8.idx-exchange-method.is-selected,
[data-idx-em="24_Exchange_2"] .element-exchange .frame-8.idx-exchange-method.is-selected,
[data-idx-em="23_Exchange_1"] .element-exchange .frame-9.idx-exchange-method.is-selected,
[data-idx-em="24_Exchange_2"] .element-exchange .frame-9.idx-exchange-method.is-selected {
  background-color: #ff639b !important;
  background-image: none !important;
  color: #ffffff !important;
}

[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method .text-wrapper-28,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method .text-wrapper-28,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method:not(.is-selected) .text-wrapper-28,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method:not(.is-selected) .text-wrapper-28,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method span,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method span {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  opacity: 1 !important;
}

[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method.is-selected .text-wrapper-28,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method.is-selected .text-wrapper-28,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-method.is-selected span,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-method.is-selected span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
}

/* 충전 시세 라벨 줄바꿈 */
.element-recharge .list.idx-charge-request-list > .element-3 > .text-8 .text-wrapper-26 {
  white-space: normal !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

/* 환전 시세행 = 충전 시세행과 동일 구조 톤 */
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .idx-exchange-rate-label-wrap,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .text-7,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .text-8 {
  flex: 0 0 90px !important;
  width: 90px !important;
  max-width: 110px !important;
  background: transparent !important;
  border: none !important;
  padding: 5px 8px !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-rate-label,
[data-idx-em="24_Exchange_2"] .element-exchange .text-wrapper-32.idx-exchange-rate-label {
  color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .idx-exchange-rate-panel,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .text-9 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  gap: 4px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-rate-value,
[data-idx-em="24_Exchange_2"] .element-exchange .text-wrapper-33 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-rate-time,
[data-idx-em="24_Exchange_2"] .element-exchange .text-wrapper-34 {
  color: #8a6b58 !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-rate-note,
[data-idx-em="24_Exchange_2"] .element-exchange .text-wrapper-35 {
  color: #7a5c48 !important;
  font-weight: 400 !important;
  font-size: 12px !important;
}

/* 충·환전 금액/비번/지갑 인풋 셸 — 흰색 */
.element-recharge .idx-charge-amount-input-row .frame-13,
.element-recharge .list.idx-charge-request-list .frame-13,
.element-recharge .frame-13,
.element-recharge .list.idx-charge-request-list .idx-charge-wallet-frame.frame-13,
.element-recharge .idx-charge-wallet-row .frame-13.idx-charge-wallet-frame {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
}

[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-amount-group .frame-12,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-amount-group .frame-12,
[data-idx-em="23_Exchange_1"] .element-exchange .frame-12,
[data-idx-em="24_Exchange_2"] .element-exchange .frame-12,
[data-idx-em="23_Exchange_1"] .element-exchange .frame-17,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-wallet-box,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-pw-box,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-pw-row .text-8,
[data-idx-em="23_Exchange_1"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-pw-row > .text-8 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}


/* ═══════════════════════════════════════════
   v30 — white amount inputs + exchange rate = charge rate
   ═══════════════════════════════════════════ */

/* 충전 금액 인풋 — 최고 특이도 흰색 */
.element-recharge .list.idx-charge-request-list .idx-charge-amount-group .frame-13,
.element-recharge .list.idx-charge-request-list .idx-charge-amount-input-row .frame-13,
.element-recharge .idx-charge-amount-group .idx-charge-amount-input-row .frame-13,
.element-recharge .bet-cash.idx-charge-amount-input-row .frame-13,
.element-recharge .idx-charge-amount-input-row .frame-13,
.element-recharge .list.idx-charge-request-list .frame-13,
.element-recharge .frame-13 {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #f0dcc8 !important;
}

.element-recharge .frame-13 .idx-em-input,
.element-recharge .frame-13 .idx-charge-amount-input,
.element-recharge .frame-13 input {
  background-color: transparent !important;
  background: transparent !important;
}

/* 환전 금액/비번 인풋도 흰색 */
[data-idx-em="23_Exchange_1"] .element-exchange .list.idx-exchange-request-list .idx-exchange-amount-group .frame-12,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list .idx-exchange-amount-group .frame-12,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-amount-input-row .frame-12,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-amount-input-row .frame-12,
[data-idx-em="23_Exchange_1"] .element-exchange .frame-12,
[data-idx-em="24_Exchange_2"] .element-exchange .frame-12,
[data-idx-em="23_Exchange_1"] .element-exchange .frame-17,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-wallet-box,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-pw-box {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #f0dcc8 !important;
}

/* 환전 시세행 — 충전 text-8/text-9 구조와 동일 */
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .text-8,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .idx-exchange-rate-label-wrap {
  flex: 0 0 90px !important;
  width: 90px !important;
  max-width: 110px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 5px 8px !important;
  justify-content: flex-start !important;
  align-items: center !important;
  display: flex !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row .idx-exchange-rate-label,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row .text-wrapper-26 {
  color: #3b2b24 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-align: left !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .text-9,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list > .element-3.idx-exchange-rate-row > .idx-exchange-rate-panel {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  box-shadow: none !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-rate-value,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list .idx-exchange-rate-value {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-rate-time,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list .idx-exchange-rate-time {
  color: #8a6b58 !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-rate-note,
[data-idx-em="24_Exchange_2"] .element-exchange .list.idx-exchange-request-list .idx-exchange-rate-note {
  color: #7a5c48 !important;
  font-weight: 400 !important;
  font-size: 12px !important;
}

[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-rate-note .idx-usdt-rate-note-link,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-usdt-rate-note-link {
  color: #de5285 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}


/* ═══════════════════════════════════════════
   v32 — 환전 요청금액 인풋 풀폭 (충전과 동일)
   ═══════════════════════════════════════════ */
[data-idx-em="23_Exchange_1"] .element-exchange .bet-cash.idx-exchange-amount-input-row,
[data-idx-em="24_Exchange_2"] .element-exchange .bet-cash.idx-exchange-amount-input-row,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-amount-input-row,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-amount-input-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  align-self: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-amount-input-row > .input,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-amount-input-row > .input,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-amount-input-row .input,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-amount-input-row .input {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-amount-input-row .frame-12,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-amount-input-row .frame-12,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-amount-group .idx-exchange-amount-input-row .frame-12,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-amount-group .idx-exchange-amount-input-row .frame-12 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-amount-input-row .idx-exchange-amount-input,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-amount-input-row .idx-exchange-amount-input,
[data-idx-em="23_Exchange_1"] .element-exchange .idx-exchange-amount-input-row .frame-12 input,
[data-idx-em="24_Exchange_2"] .element-exchange .idx-exchange-amount-input-row .frame-12 input {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}


/* ═══════════════════════════════════════════
   v33 — 보너스 선택 이름: 진한 갈색 + 볼드
   ═══════════════════════════════════════════ */
.element-recharge .list.idx-charge-request-list .idx-charge-bonus-group .idx-bonus-option .text-wrapper-24,
.element-recharge .list.idx-charge-request-list .idx-bonus-option .frame-11 > .text-wrapper-24,
.element-recharge .list.idx-charge-request-list .idx-bonus-option p.text-wrapper-24,
.element-recharge .idx-charge-bonus-group .idx-bonus-option .text-wrapper-24 {
  color: #2a1c14 !important;
  -webkit-text-fill-color: #2a1c14 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: -0.02em !important;
  opacity: 1 !important;
}


/* ═══════════════════════════════════════════
   v34 — 포인트: 와이어프레임 유지 + 충전 색감
   ═══════════════════════════════════════════ */
.element-point .board-list,
.element-point .board-list-2,
.element-point .cash-detail-wrapper,
.element-point .frame-5,
.element-point .list-2 {
  background: transparent !important;
}

.element-point .cash-detail,
.element-point .bet-list {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
}

.element-point .title .text-wrapper-14,
.element-point .title-2 .text-wrapper-14 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

/* 전체 포인트 행 — 기존 80px / 5·10 패딩 유지, 다크→피치·흰값만 */
.element-point .cash-detail .list-2 > .element {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 5px 10px !important;
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}

.element-point .cash-detail .list-2 > .element > .text-2 {
  width: 80px !important;
  flex: 0 0 80px !important;
  max-width: 80px !important;
  padding: 5px 10px !important;
  background: transparent !important;
  border: none !important;
}

.element-point .cash-detail .list-2 > .element > .text-3 {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 5px 10px !important;
  gap: 5px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

.element-point .cash-detail .list-2 > .element .text-wrapper-15 {
  color: #3b2b24 !important;
  font-weight: 600 !important;
}

.element-point .cash-detail .list-2 > .element .text-wrapper-16 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-point .btn-join-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  background: transparent !important;
  padding: 15px 0 !important;
  margin: 0 !important;
}

.element-point .btn-join {
  width: 300px !important;
  max-width: min(300px, 100%) !important;
  height: 40px !important;
  border-radius: 10px !important;
  background-color: #ff639b !important;
}

/* 내역 셀 다크 잔상 제거 */
.element-point .bet-list .frame-7 .text-4,
.element-point .bet-list .frame-7 .text-4 > .text-5 {
  background-color: transparent !important;
}
.element-point .bet-list .frame-7 .text-4 {
  background-color: #f0d4b8 !important;
}
.element-point .bet-list .frame-7 .list-3 .text-6 > .text-7 {
  background-color: transparent !important;
}
.element-point .bet-list .frame-7 .list-3 .text-6 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
}


/* ═══════════════════════════════════════════
   v35 — 마이페이지 / 베팅내역 / 쪽지
   유저보드·충전·포인트와 동일 결 (피치·흰카드·핑크)
   ═══════════════════════════════════════════ */

/* ── shared page chrome ── */
.element-mypage.idx-em-surface,
.element-mypage .main-content,
.element-mypage .main-content-wrapper,
.element-mypage .home,
.element-betlist.idx-em-surface,
.element-betlist .main-content,
.element-betlist .main-content-wrapper,
.element-betlist .home,
.element-message.idx-em-surface,
.element-message .main-content,
.element-message .main-content-wrapper,
.element-message .home {
  background: transparent !important;
  color: #3b2b24 !important;
}

.element-mypage .board-title,
.element-betlist .board-title,
.element-message .board-title {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
}

.element-mypage .board-title .text-wrapper-14,
.element-betlist .board-title .text-wrapper-14,
.element-message .board-title .text-wrapper-13 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

/* ═══════════════
   마이페이지 — 유저보드 패널 결
   ═══════════════ */
.element-mypage .user-info,
.element-mypage .idx-mypage-top-summary .user-info {
  background-color: #f6d4b5 !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
}

.element-mypage .user-info-2,
.element-mypage .user-title,
.element-mypage .frame-5,
.element-mypage .frame-8,
.element-mypage .frame-9 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.element-mypage .user-title .text-wrapper-21,
.element-mypage .text-wrapper-24,
.element-mypage .text-wrapper-26 {
  color: #3b2b24 !important;
  font-weight: 600 !important;
}

.element-mypage .frame-wrapper,
.element-mypage .user-title .frame-wrapper {
  background-color: #ff639b !important;
  border-radius: 8px !important;
  border: none !important;
}

.element-mypage .text-wrapper-22,
.element-mypage .text-wrapper-23 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
}

.element-mypage .text-wrapper-25 {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

/* 스탯 행 = 유저보드 white card */
.element-mypage .div-6 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
}

.element-mypage .div-6 .text-wrapper-27,
.element-mypage .div-6 .text-wrapper-28 {
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font-weight: 700 !important;
}

.element-mypage .btn-join,
.element-mypage .telegram {
  background-color: #ff639b !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(255, 99, 155, 0.35) !important;
  border: none !important;
  cursor: pointer;
}

.element-mypage .btn-join .text-wrapper-29,
.element-mypage .telegram .text-wrapper-29 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* 마이페이지 팝업 */
.idx-mypage-pass-popup,
.idx-mypage-profile-popup {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  color: #3b2b24 !important;
}

.idx-mypage-pass-popup__title,
.idx-mypage-profile-popup__title,
.idx-mypage-pass-popup__label,
.idx-mypage-profile-popup__label {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.idx-mypage-pass-popup__input-frame,
.idx-mypage-profile-popup__control {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

.idx-mypage-pass-popup__input,
.idx-mypage-profile-popup__input,
.idx-mypage-profile-popup__select {
  background: transparent !important;
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.idx-mypage-pass-popup__confirm,
.idx-mypage-profile-popup__confirm {
  background-color: #ff639b !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  border: none !important;
  font-weight: 700 !important;
}

.idx-mypage-pass-popup__close,
.idx-mypage-profile-popup__close {
  color: #3b2b24 !important;
  background: #f0d4b8 !important;
  border-radius: 10px !important;
}

/* ═══════════════
   베팅내역
   ═══════════════ */
.element-betlist .board-category {
  background-color: #f6d4b5 !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.element-betlist .board-category .frame-5 {
  background-color: #ff639b !important;
  border: none !important;
  box-shadow: none !important;
}

.element-betlist .board-category .frame-5 .text-wrapper-15,
.element-betlist .board-category .frame-5 .idx-bet-cat-line {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
}

.element-betlist .board-category .frame-6 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.element-betlist .board-category .frame-6 .text-wrapper-16,
.element-betlist .board-category .frame-6 .idx-bet-cat-line {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  opacity: 1 !important;
}

.element-betlist .bet-list-2,
.element-betlist .frame-14 {
  background: transparent !important;
  border: none !important;
}

.element-betlist .btn-join-3 {
  background-color: #e53935 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  border: none !important;
  cursor: pointer;
}

.element-betlist .btn-join-3 .text-wrapper-37 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.element-betlist .btn-join-4 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  cursor: pointer;
}

.element-betlist .btn-join-4 .text-wrapper-38 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-betlist .bet-list,
.element-betlist .bet-ticket-unit,
.element-betlist .frame-7.bet-ticket-card,
.element-betlist .bet-list > .frame-7 {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
}

.element-betlist .bet-list > .frame-7 > .title,
.element-betlist .bet-ticket-card > .title,
.element-betlist .frame-7 .title {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
  color: #3b2b24 !important;
}

.element-betlist .text-wrapper-17 {
  color: #5b4239 !important;
  font-weight: 600 !important;
}

.element-betlist .text-wrapper-18,
.element-betlist .bet-ticket-val--win {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.element-betlist .check-box-off {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 6px !important;
}

.element-betlist .check-box-off.is-checked,
.element-betlist .check-box-off[aria-checked="true"],
.element-betlist .check-box-on {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}

.element-betlist .title-2,
.element-betlist .title-2__meta,
.element-betlist .list-2 > .view-2,
.element-betlist .list-2 > .view-3 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  color: #3b2b24 !important;
}

.element-betlist .text-wrapper-20,
.element-betlist .text-wrapper-21,
.element-betlist .text-wrapper-22,
.element-betlist .text-wrapper-23,
.element-betlist .p {
  color: #3b2b24 !important;
}

.element-betlist .text-wrapper-24 {
  color: #8a6b58 !important;
}

.element-betlist .view-2,
.element-betlist .text-3,
.element-betlist .frame-11,
.element-betlist .idx-score-option {
  background-color: #fff6ec !important;
  border-color: #f0dcc8 !important;
  color: #3b2b24 !important;
}

.element-betlist .idx-score-option.is-selected,
.element-betlist .frame-11 .is-selected {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.element-betlist .idx-score-option.is-selected *,
.element-betlist .frame-11 .is-selected * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.element-betlist .idx-status-win,
.element-betlist .text-12.idx-status-win,
.element-betlist .text-15 {
  background-color: #ffe8f0 !important;
  border-color: #ff639b !important;
}

.element-betlist .idx-status-win .text-wrapper-31,
.element-betlist .text-wrapper-29 {
  color: #de5285 !important;
  font-weight: 700 !important;
}

.element-betlist .frame-13 .btn-join {
  background-color: #e53935 !important;
  border-radius: 10px !important;
  border: none !important;
}

.element-betlist .frame-13 .btn-join .text-wrapper-32 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.element-betlist .frame-13 .btn-join-2,
.element-betlist .btn-join-cancel {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
}

.element-betlist .frame-13 .btn-join-2 .text-wrapper-33,
.element-betlist .btn-join-cancel span {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-betlist .page .text-wrapper-36,
.element-betlist .page .page_num,
.element-betlist .list_bet_page .page_num {
  color: #8a6b58 !important;
}

.element-betlist .page .text-wrapper-36.is-current,
.element-betlist .page .page_num.is-current,
.element-betlist .list_bet_page .page_num.is-current {
  color: #de5285 !important;
  font-weight: 700 !important;
}

.element-betlist .line {
  background-color: #e8c9a8 !important;
}

/* ═══════════════
   쪽지
   ═══════════════ */
.element-message .bet-list {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
}

.element-message .frame-wrapper,
.element-message .frame-5,
.element-message .contents-wrapper,
.element-message .contents {
  background: transparent !important;
  border-color: #e8c9a8 !important;
}

.element-message .text-2 {
  background-color: #f0d4b8 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.element-message .text-2 > .text-3,
.element-message .text-2 > .text-4,
.element-message .text-2 > .text-5,
.element-message .text-2 > .text-6 {
  background: transparent !important;
  border: none !important;
}

.element-message .text-wrapper-14 {
  color: #5b4239 !important;
  font-weight: 600 !important;
}

.element-message .text-7 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.element-message .text-7 > .text-8,
.element-message .text-7 > .text-9,
.element-message .text-7 > .text-10,
.element-message .text-7 > .text-11 {
  background: transparent !important;
  border-left: 1px solid #f0dcc8 !important;
}

.element-message .text-7 > .text-8:first-child {
  border-left: none !important;
}

.element-message .text-wrapper-15,
.element-message .text-wrapper-16,
.element-message .text-wrapper-17 {
  color: #3b2b24 !important;
}

.element-message .text-wrapper-18 {
  color: #e53935 !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.element-message .text-12,
.element-message .text-12 .idx-cc__detail,
.element-message .idx-note-detail {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  /* !important 금지: 자식 RTE 인라인 color 를 덮어 쪽지 컬러가 안 먹힘 */
  color: #3b2b24;
}

/* 평문 쪽지/메타만 강제색. HTML(--html)은 인라인 글자색(매크로 RTE) 유지 */
.element-message .idx-cc__detail-line:not(.idx-cc__detail-pre--html),
.element-message .idx-cc__detail-pre:not(.idx-cc__detail-pre--html),
.element-message .idx-cc__detail-meta {
  color: #3b2b24 !important;
}

.element-message .idx-cc__detail-pre--html {
  color: #3b2b24;
  -webkit-text-fill-color: unset !important;
}

.element-message .idx-cc__detail-pre--html [style*='color'],
.element-message .idx-cc__detail-pre--html font[color] {
  -webkit-text-fill-color: unset !important;
}

.element-message .page .text-wrapper-19,
.element-message .page .text-wrapper-20 {
  color: #8a6b58 !important;
}

.element-message .page .text-wrapper-19.is-current,
.element-message .page .is-current {
  color: #de5285 !important;
  font-weight: 700 !important;
}

.element-message .frame-6 .btn-join {
  background-color: #e53935 !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.element-message .frame-6 .btn-join .text-wrapper-21 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.element-message .frame-6 .btn-join-2 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  cursor: pointer;
}

.element-message .frame-6 .btn-join-2 .text-wrapper-22 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}


/* v35b — 베팅내역 base !important / 티켓 유닛 다크 잔상 제거 */
.element-betlist .bet-list > .bet-ticket-unit {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.element-betlist .bet-ticket-unit > .frame-7.bet-ticket-card {
  background: transparent !important;
  border: none !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option {
  background-color: #fff6ec !important;
  border-color: #f0dcc8 !important;
  color: #3b2b24 !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option.is-selected,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option.is-selected,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.element-betlist .bet-ticket-card .title,
.element-betlist .bet-ticket-card .list-2 > .view-2,
.element-betlist .bet-ticket-card .list-2 > .view-3,
.element-betlist .bet-ticket-card .title-2 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  color: #3b2b24 !important;
}

.element-betlist .bet-ticket-card .text-wrapper-18,
.element-betlist .bet-ticket-card .text-wrapper-28,
.element-betlist .bet-ticket-card .text-wrapper-29,
.element-betlist .bet-ticket-card .text-wrapper-31 {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
}

.element-betlist .bet-ticket-card .idx-score-option.is-selected .text-wrapper-28,
.element-betlist .bet-ticket-card .idx-score-option.is-selected * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 마이페이지 스탯 — 유저보드와 동일 특이도 보강 */
.element-mypage .user-info .div-6,
.element-mypage .user-info-2 > .div-6 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
}

.element-mypage .user-info .text-wrapper-27,
.element-mypage .user-info .text-wrapper-28 {
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font-weight: 700 !important;
}

/* 쪽지 셀 다크 잔상 */
.element-message .bet-list .text-3,
.element-message .bet-list .text-4,
.element-message .bet-list .text-5,
.element-message .bet-list .text-6,
.element-message .bet-list .text-8,
.element-message .bet-list .text-9,
.element-message .bet-list .text-10,
.element-message .bet-list .text-11 {
  background-color: transparent !important;
}


/* ═══════════════════════════════════════════
   v36 — 쪽지: 헤더 그림자 제거·글자 키움 / 작성일 색 / 이중 라운드 해제
   ═══════════════════════════════════════════ */
.element-message .text-2 {
  background-color: #f0d4b8 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
  border: none !important;
  border-bottom: none !important;
}

.element-message .text-2 .text-wrapper-14,
.element-message .text-2 > .text-4 .text-wrapper-14,
.element-message .text-2 > .text-5 .text-wrapper-14,
.element-message .text-2 > .text-6 .text-wrapper-14 {
  color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

/* 작성일 — day/time 흰색 잔상 제거 */
.element-message .text-7 .text-wrapper-17,
.element-message .text-7 > .text-11 .text-wrapper-17,
.element-message .idx-note-date,
.element-message .idx-note-date__day,
.element-message .idx-note-date__time {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

.element-message .idx-note-date__day {
  font-weight: 600 !important;
  font-size: 11px !important;
}

.element-message .idx-note-date__time {
  color: #8a6b58 !important;
  -webkit-text-fill-color: #8a6b58 !important;
  font-size: 10px !important;
}

/* 내용 펼침 — 바깥 text-12 는 래퍼만, 안쪽 detail 만 흰 라운드 */
.element-message .text-12,
.element-message .text-7.is-open + .text-12 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 2px 0 6px !important;
}

.element-message .text-12 .idx-cc__detail,
.element-message .text-12 .idx-note-detail,
.element-message .idx-note-detail {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  /* 인라인 글자색 유지 — !important 쓰면 RTE color 무력화 */
  color: #3b2b24;
}


/* ═══════════════════════════════════════════
   v37 — 베팅내역: 원래 스킨 묶음 복원 (색만 치환)
   한 티켓 = 피치 셸 하나. 안쪽은 스트립/행 (카드 중첩 금지)
   ═══════════════════════════════════════════ */

/* 리스트 자체는 투명 — 티켓 유닛만 카드 */
.element-betlist .bet-list {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 10px 0 !important;
  gap: 14px !important;
}

/* 티켓 바깥 셸만 피치 (원본 #1e2126 대응) */
.element-betlist .bet-list > .bet-ticket-unit {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* 카드 바디는 투명 (원본 transparent) */
.element-betlist .bet-ticket-unit > .frame-7.bet-ticket-card,
.element-betlist .bet-list > .frame-7.bet-ticket-card,
.element-betlist .frame-7.bet-ticket-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* 상단 요약바 — 플랫 스트립 (원본 #272a31, radius 0) */
.element-betlist .bet-ticket-card > .title,
.element-betlist .bet-ticket-unit .title {
  background-color: #f6d4b5 !important;
  border: none !important;
  border-bottom: 1px solid #e8c9a8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 10px !important;
}

.element-betlist .bet-ticket-card .text-wrapper-17 {
  color: #5b4239 !important;
  font-weight: 600 !important;
}

.element-betlist .bet-ticket-card .text-wrapper-18,
.element-betlist .bet-ticket-card .bet-ticket-val--win {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

/* 레그 영역 */
.element-betlist .bet-ticket-card > .text-2,
.element-betlist .bet-ticket-card .text-2 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 10px !important;
  gap: 0 !important;
}

/* 레그 헤더 + 리스트 = 한 블록 (위·아래 radius만) */
.element-betlist .bet-ticket-card .text-2 > .title-2 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-bottom: none !important;
  border-radius: 10px 10px 0 0 !important;
  box-shadow: none !important;
  padding: 8px 10px !important;
}

.element-betlist .bet-ticket-card .title-2__meta,
.element-betlist .bet-ticket-card .title-2 .p {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.element-betlist .bet-ticket-card .text-wrapper-20,
.element-betlist .bet-ticket-card .text-wrapper-21,
.element-betlist .bet-ticket-card .text-wrapper-22,
.element-betlist .bet-ticket-card .text-wrapper-23 {
  color: #3b2b24 !important;
}

.element-betlist .bet-ticket-card .text-wrapper-24 {
  color: #8a6b58 !important;
}

/* 배당/결과 묶음 — title-2 와 이어지는 한 덩어리 */
.element-betlist .bet-ticket-card .text-2 > .title-2 + .list-2,
.element-betlist .bet-ticket-card .list-2 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-top: none !important;
  border-radius: 0 0 10px 10px !important;
  box-shadow: none !important;
  padding: 8px 10px !important;
  gap: 6px !important;
}

/* 안쪽 행은 카드가 아니라 플랫 행 (이중 라운드 금지) */
.element-betlist .bet-ticket-card .list-2 > .view-2,
.element-betlist .bet-ticket-card .list-2 > .view-3 {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.element-betlist .bet-ticket-card .view-2 .text-3,
.element-betlist .bet-ticket-card .frame-11,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-9 {
  background-color: #f0d4b8 !important;
  border: none !important;
  border-radius: 6px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
}

/* 픽 셀 */
.element-betlist .bet-ticket-card .idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  color: #3b2b24 !important;
}

.element-betlist .bet-ticket-card .idx-score-option.is-selected,
.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option.is-selected,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option.is-selected {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.element-betlist .bet-ticket-card .idx-score-option.is-selected *,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 미적중 등 상태 */
.element-betlist .bet-ticket-card .idx-status-win,
.element-betlist .bet-ticket-card .text-12.idx-status-win {
  background-color: #ffe8f0 !important;
  border: 1px solid #ff639b !important;
}

.element-betlist .bet-ticket-card .text-wrapper-28,
.element-betlist .bet-ticket-card .text-wrapper-31,
.element-betlist .bet-ticket-card .idx-status-miss,
.element-betlist .bet-ticket-card .text-wrapper-29 {
  color: #e53935 !important;
  font-weight: 700 !important;
}

.element-betlist .bet-ticket-card .idx-status-win .text-wrapper-31,
.element-betlist .bet-ticket-card .idx-status-win .text-wrapper-29 {
  color: #de5285 !important;
}

/* 푸터 — 셸과 같은 피치 (원본 #1a1c20 검정 바 제거) */
.element-betlist .bet-ticket-unit > .frame-7.bet-ticket-card + .frame-13,
.element-betlist .bet-list > .frame-13,
.element-betlist .bet-ticket-unit > .frame-13 {
  background-color: #f6d4b5 !important;
  border: none !important;
  border-top: 1px solid #e8c9a8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 10px !important;
}

.element-betlist .frame-13 .btn-join,
.element-betlist .bet-ticket-delete {
  background-color: #e53935 !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.element-betlist .frame-13 .btn-join .text-wrapper-32,
.element-betlist .bet-ticket-delete span {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.element-betlist .frame-13 .btn-join-2,
.element-betlist .bet-ticket-inquiry,
.element-betlist .btn-join-cancel {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.element-betlist .frame-13 .btn-join-2 .text-wrapper-33,
.element-betlist .bet-ticket-inquiry span {
  color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-betlist .line {
  background-color: #e8c9a8 !important;
  border: none !important;
  height: 1px !important;
  margin: 8px 0 !important;
}

/* 샘플 HTML(래퍼 없는 frame-7)도 동일 셸처럼 */
.element-betlist .bet-list > .frame-7:not(.bet-ticket-card) {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}


/* ═══════════════════════════════════════════
   v38 — 베팅내역: 갈색 카테고리 헤더 + 글자 가시성
        + 해외형 마켓 셀(라운드·색감) 맞춤
   ═══════════════════════════════════════════ */

/* 카테고리 타이틀 헤더 — 갈색 배경 + 흰 글자 */
.element-betlist .bet-ticket-category-line,
.element-betlist .bet-history-section-title,
.element-betlist .bet-ticket-card > .title > .bet-ticket-category-line {
  margin: 0 0 6px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  background: #5b4239 !important;
  background-color: #5b4239 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font: 700 12px/1.2 "Noto Sans KR", Helvetica, sans-serif !important;
  border: none !important;
  box-shadow: none !important;
}

/* 요약 라벨/값 — 확실히 보이게 */
.element-betlist .bet-ticket-card .text-wrapper-17 {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  font-weight: 600 !important;
}

.element-betlist .bet-ticket-card .text-wrapper-18,
.element-betlist .bet-ticket-card .bet-ticket-val--emphasis,
.element-betlist .bet-ticket-card .bet-ticket-val--win {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

/* ── 마켓 픽 셀 = 해외형 idx-sp-gl__pick 동일 ── */
.element-betlist .bet-ticket-card .frame-11 .idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-5,
.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-7,
.element-betlist .bet-ticket-card .frame-11 .text-13,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-17 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
}

.element-betlist .bet-ticket-card .frame-11 .idx-score-option .text-wrapper-26,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option .text-wrapper-27,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option .text-wrapper-28,
.element-betlist .bet-ticket-card .frame-11 .text-wrapper-26,
.element-betlist .bet-ticket-card .frame-11 .text-wrapper-27,
.element-betlist .bet-ticket-card .frame-11 .text-wrapper-28 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

.element-betlist .bet-ticket-card .frame-11 .idx-score-option .text-wrapper-27 {
  font-weight: 700 !important;
}

/* 선택 셀 — 핑크 + 흰 글자 */
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected,
.element-betlist .bet-ticket-card .frame-11 .text-5.is-selected,
.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option.is-selected,
.element-betlist .bet-ticket-card .frame-11 .text-7.is-selected,
.element-betlist .bet-ticket-card .frame-11 .text-13.is-selected,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option.is-selected {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected .text-wrapper-26,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected .text-wrapper-27,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected .text-wrapper-28,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 가운데(무) 미선택 — 해외형 draw 톤 */
.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option:not(.is-selected),
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option:not(.is-selected) {
  background-color: #ffe8f0 !important;
  border: 1px solid #ffd0e0 !important;
  color: #de5285 !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option:not(.is-selected) .text-wrapper-28,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option:not(.is-selected) .text-wrapper-28 {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

/* WIN 배지 — 노란 칩 + 진한 글자 (선택 핑크 셀 위에서도 대비) */
.element-betlist .bet-ticket-card .frame-11 .text-15,
.element-betlist .bet-ticket-card .idx-score-option .text-15,
.element-betlist .frame-11 .text-15 {
  background-color: #ffef5a !important;
  border: 1px solid #e6d100 !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(59, 43, 36, 0.15) !important;
  z-index: 2 !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-15 .text-wrapper-29,
.element-betlist .bet-ticket-card .idx-score-option .text-15 .text-wrapper-29,
.element-betlist .frame-11 .text-15 .text-wrapper-29 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 800 !important;
  font-size: 9px !important;
}

/* 결과/상태 칩 글자 */
.element-betlist .bet-ticket-card .view-3 .text-wrapper-22,
.element-betlist .bet-ticket-card .view-3 .text-wrapper-30,
.element-betlist .bet-ticket-card .view-2 .text-wrapper-25 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 600 !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .frame-12,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-11 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 8px !important;
  color: #3b2b24 !important;
}

.element-betlist .bet-ticket-card .idx-status-win {
  background-color: #ffe8f0 !important;
  border: 1px solid #ff639b !important;
  border-radius: 8px !important;
}

.element-betlist .bet-ticket-card .idx-status-win .text-wrapper-31 {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.element-betlist .bet-ticket-card .idx-status-miss .text-wrapper-31,
.element-betlist .bet-ticket-card .text-12:not(.idx-status-win) .text-wrapper-31 {
  color: #e53935 !important;
  -webkit-text-fill-color: #e53935 !important;
  font-weight: 700 !important;
}

/* 마켓 라벨(승무패 등) */
.element-betlist .bet-ticket-card .view-2 .text-3 {
  background-color: #f0d4b8 !important;
  border-radius: 8px !important;
  border: none !important;
}


/* ═══════════════════════════════════════════
   v39 — 체크박스 톤 완화 / 픽 배경 제거
        결과·상태 이중라운드 해제 / 적중·대기 색
   ═══════════════════════════════════════════ */

/* 체크박스 — 흰 면 완화 (크림 + 연한 보더) */
.element-betlist .check-box-off,
.element-betlist .bet-ticket-card .check-box-off,
.element-betlist .frame-8 .check-box-off {
  background-color: #f3e2d0 !important;
  border: 1px solid #d9b99a !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

.element-betlist .check-box-off::after,
.element-betlist .bet-ticket-card .check-box-off::after {
  border-left-color: #ff639b !important;
  border-bottom-color: #ff639b !important;
}

.element-betlist .check-box-off.is-checked,
.element-betlist .check-box-off[aria-checked="true"],
.element-betlist .check-box-on,
.element-betlist .bet-ticket-card .check-box-off.is-checked {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}

.element-betlist .check-box-off.is-checked::after,
.element-betlist .bet-ticket-card .check-box-off.is-checked::after {
  border-left-color: #ffffff !important;
  border-bottom-color: #ffffff !important;
  opacity: 1 !important;
}

.element-betlist .check-box-off .vector-22,
.element-betlist .bet-ticket-card .check-box-off .vector-22 {
  opacity: 0 !important;
  filter: none !important;
}

/* 미선택 픽 — 배경 제거 (글자만) */
.element-betlist .bet-ticket-card .frame-11 .idx-score-option:not(.is-selected),
.element-betlist .bet-ticket-card .frame-11 .text-5:not(.is-selected),
.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option:not(.is-selected),
.element-betlist .bet-ticket-card .frame-11 .text-7:not(.is-selected),
.element-betlist .bet-ticket-card .frame-11 .text-13:not(.is-selected),
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option:not(.is-selected) {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.element-betlist .bet-ticket-card .frame-11 .idx-score-option:not(.is-selected) .text-wrapper-26,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option:not(.is-selected) .text-wrapper-27,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option:not(.is-selected) .text-wrapper-28 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

/* 선택 픽만 핑크 칩 유지 */
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected {
  background-color: #ff639b !important;
  border: 1px solid #ff639b !important;
  border-radius: 10px !important;
}

/* 결과/상태 view-3 — 바깥 카드 제거 (이중 라운드 해제) */
.element-betlist .bet-ticket-card .list-2 > .view-3,
.element-betlist .list-2 > .view-3 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .frame-12,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-10,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-11 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .text-9 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 0 4px !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .text-wrapper-22 {
  color: #5b4239 !important;
  font-weight: 600 !important;
  font-size: 11px !important;
}

/* 결과 값 — 칩 하나 */
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-wrapper-30 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 24px !important;
  padding: 4px 10px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 8px !important;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font-weight: 700 !important;
  box-sizing: border-box !important;
}

/* 적중 — 핑크 배경 + 흰 글자 */
.element-betlist .bet-ticket-card .idx-status-win,
.element-betlist .bet-ticket-card .text-12.idx-status-win {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 24px !important;
  padding: 4px 10px !important;
  background-color: #ff639b !important;
  border: 1px solid #ff639b !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.element-betlist .bet-ticket-card .idx-status-win .text-wrapper-31 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
}

/* 대기 — 흰 배경 + 검정 글자 */
.element-betlist .bet-ticket-card .idx-status-pending,
.element-betlist .bet-ticket-card .text-12.idx-status-pending,
.element-betlist .bet-ticket-card .text-12:not(.idx-status-win) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 24px !important;
  padding: 4px 10px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.element-betlist .bet-ticket-card .idx-status-pending .text-wrapper-31,
.element-betlist .bet-ticket-card .text-12.idx-status-pending .text-wrapper-31,
.element-betlist .bet-ticket-card .text-12:not(.idx-status-win) .text-wrapper-31 {
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font-weight: 700 !important;
}

/* 미적중 */
.element-betlist .bet-ticket-card .text-16 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 24px !important;
  padding: 4px 10px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 8px !important;
}

.element-betlist .bet-ticket-card .text-16 .text-wrapper-34 {
  color: #e53935 !important;
  -webkit-text-fill-color: #e53935 !important;
  font-weight: 700 !important;
}


/* ═══════════════════════════════════════════
   v40 — 마켓 픽 개별 셀 복원 + 결과/상태 외곽 프레임
   ═══════════════════════════════════════════ */

/* 픽 줄: 한 덩어리 스트립이 아니라 셀 사이 간격 */
.element-betlist .bet-ticket-card .frame-11 .text-4 {
  display: flex !important;
  align-items: stretch !important;
  gap: 6px !important;
  height: auto !important;
  min-height: 34px !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

/* 각 픽 = 개별 박스 (해외형 마켓처럼) */
.element-betlist .bet-ticket-card .frame-11 .idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-5,
.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-7,
.element-betlist .bet-ticket-card .frame-11 .text-13,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  min-height: 34px !important;
  padding: 6px 10px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* 가운데(무/배당만) 셀 — 폭 조금 좁게 */
.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option {
  flex: 0 0 auto !important;
  min-width: 56px !important;
  max-width: 80px !important;
  justify-content: center !important;
  background-color: #ffe8f0 !important;
  border-color: #ffd0e0 !important;
}

.element-betlist .bet-ticket-card .frame-11 .idx-score-option:not(.is-selected) .text-wrapper-26,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option:not(.is-selected) .text-wrapper-27,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option:not(.is-selected) .text-wrapper-28 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-6.idx-score-option:not(.is-selected) .text-wrapper-28,
.element-betlist .bet-ticket-card .frame-11 .text-14.idx-score-option:not(.is-selected) .text-wrapper-28 {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}

.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected .text-wrapper-26,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected .text-wrapper-27,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected .text-wrapper-28,
.element-betlist .bet-ticket-card .frame-11 .idx-score-option.is-selected * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* WIN 배지는 셀 위에 유지 */
.element-betlist .bet-ticket-card .frame-11 .text-15 {
  background-color: #ffef5a !important;
  border: 1px solid #e6d100 !important;
  z-index: 2 !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-15 .text-wrapper-29 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

/* 결과 / 상태 — 외곽 프레임 복구 (안쪽 이중만 제거) */
.element-betlist .bet-ticket-card .list-2 > .view-3,
.element-betlist .list-2 > .view-3 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 4px !important;
  min-width: 64px !important;
  padding: 6px 8px !important;
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .text-9 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .text-wrapper-22 {
  color: #5b4239 !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .frame-12,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-10,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-11 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  justify-content: center !important;
}

/* 결과 값 */
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-wrapper-30 {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 2px 4px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font-weight: 700 !important;
}

/* 상태 칩은 프레임 안에서만 컬러 */
.element-betlist .bet-ticket-card .list-2 > .view-3 .idx-status-win,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-12.idx-status-win {
  width: 100% !important;
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .idx-status-win .text-wrapper-31 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .idx-status-pending,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-12.idx-status-pending,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-12:not(.idx-status-win) {
  width: 100% !important;
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .idx-status-pending .text-wrapper-31,
.element-betlist .bet-ticket-card .list-2 > .view-3 .text-12:not(.idx-status-win) .text-wrapper-31 {
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .text-16 {
  width: 100% !important;
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 8px !important;
  justify-content: center !important;
}

.element-betlist .bet-ticket-card .list-2 > .view-3 .text-16 .text-wrapper-34 {
  color: #e53935 !important;
  -webkit-text-fill-color: #e53935 !important;
  font-weight: 700 !important;
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}


/* ═══════════════════════════════════════════
   v41 — 베팅내역 종목/미니게임 아이콘 가시성
   (원본 SVG fill=white → 밝은 스킨에서 안 보임)
   ═══════════════════════════════════════════ */
.element-betlist .game,
.element-betlist .game-minigame,
.element-betlist .bet-ticket-card .title-2 .frame-10 .game,
.element-betlist .bet-ticket-card .title-2 .frame-10 .game-minigame {
  display: inline-block !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  flex-shrink: 0 !important;
  background-color: transparent !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* white SVG → 진한 갈색 */
  filter: brightness(0) saturate(100%) invert(18%) sepia(24%) saturate(900%) hue-rotate(340deg) brightness(0.95) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.element-betlist .title-2 .frame-10 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}


/* ═══════════════════════════════════════════
   v42 — 베팅내역 마켓 = 해외형처럼 3칸 분리
   (선택칸이 늘어나 한 줄로 붙는 문제 수정)
   ═══════════════════════════════════════════ */

.element-betlist .bet-ticket-card .list-2 > .view-2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.element-betlist .bet-ticket-card .view-2 .text-3 {
  align-self: flex-start !important;
  background-color: #f0d4b8 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
}

.element-betlist .bet-ticket-card .view-2 .frame-11 {
  display: flex !important;
  width: 100% !important;
  align-items: stretch !important;
  gap: 6px !important;
  background: transparent !important;
  border: none !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-4 {
  display: flex !important;
  width: 100% !important;
  align-items: stretch !important;
  gap: 6px !important;
  height: auto !important;
  min-height: 36px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
}

/* 좌·중·우 모두 동일 비율의 개별 박스 */
.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-5,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-6,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-7,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-13,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-14 {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  min-height: 36px !important;
  height: auto !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* 좌: 팀명 왼쪽 / 배당 오른쪽 */
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-5,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-13 {
  justify-content: space-between !important;
  gap: 8px !important;
}

/* 중: 가운데 정렬 + 연핑크 (해외형 draw) */
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-6,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-14 {
  justify-content: center !important;
  flex: 0.7 1 0 !important;
  min-width: 64px !important;
  background-color: #ffe8f0 !important;
  border-color: #ffd0e0 !important;
}

/* 우: 배당 왼쪽 / 팀명 오른쪽 */
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-7 {
  justify-content: space-between !important;
  flex-direction: row !important;
  gap: 8px !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option .text-wrapper-26,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option .text-wrapper-27,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option .text-wrapper-28 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-14 .text-wrapper-28,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-6 .text-wrapper-28 {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option .text-wrapper-27 {
  font-weight: 700 !important;
}

/* 선택(내 픽) — 같은 크기 유지, 핑크만 */
.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option.is-selected {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option.is-selected .text-wrapper-26,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option.is-selected .text-wrapper-27,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option.is-selected .text-wrapper-28,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option.is-selected > *:not(.text-15) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 이전 v39 투명 배경 규칙 무력화 */
.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option:not(.is-selected) {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-14:not(.is-selected),
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-6:not(.is-selected) {
  background-color: #ffe8f0 !important;
  border-color: #ffd0e0 !important;
}


/* ═══════════════════════════════════════════
   v43 — view-2 마켓: 외곽 프레임 유지 + 안쪽 3칸 분리
   (해외형은 픽만, 국내형 view-2 는 카드 외곽이 맞음)
   ═══════════════════════════════════════════ */

.element-betlist .bet-ticket-card .list-2 > .view-2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 10px !important;
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.element-betlist .bet-ticket-card .view-2 .text-3 {
  align-self: flex-start !important;
  background-color: #f0d4b8 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
}

.element-betlist .bet-ticket-card .view-2 .frame-11,
.element-betlist .bet-ticket-card .frame-11 .text-4 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 프레임 안 픽 셀 — 크림면 위에서도 구분되게 흰 박스 */
.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-5,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-7,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-13 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 8px !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-6,
.element-betlist .bet-ticket-card .frame-11 .text-4 > .text-14 {
  background-color: #ffe8f0 !important;
  border: 1px solid #ffd0e0 !important;
  border-radius: 8px !important;
}

.element-betlist .bet-ticket-card .frame-11 .text-4 > .idx-score-option.is-selected {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}


/* ═══════════════════════════════════════════
   v44 — 종목 아이콘: 갈색 원 뭉개짐 해제
   (brightness(0) 이 흰 원+문양을 한 덩어리로 만들어 원만 보임)
   SVG 자체에 문양 fill 이 있으므로 필터 없이 원형 표시
   ═══════════════════════════════════════════ */

.element-betlist .game,
.element-betlist .game-minigame,
.element-betlist .bet-ticket-card .title-2 .frame-10 .game,
.element-betlist .bet-ticket-card .title-2 .frame-10 .game-minigame {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  background-color: transparent !important;
}


/* ═══════════════════════════════════════════
   v45 — 하단 액션바(전체삭제/선택문의) 외곽 프레임 복구
   ═══════════════════════════════════════════ */

.element-betlist .bet-list-2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  align-self: stretch !important;
  width: 100% !important;
  padding: 10px !important;
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.element-betlist .bet-list-2 > .frame-14 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 6px !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.element-betlist .bet-list-2 .btn-join-3,
.element-betlist .bet-list-2 .btn-join-4 {
  flex: 1 1 0 !important;
  max-width: 400px !important;
  min-height: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.element-betlist .bet-list-2 .btn-join-3 {
  background-color: #e53935 !important;
  border: none !important;
}

.element-betlist .bet-list-2 .btn-join-3 .text-wrapper-37 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
}

.element-betlist .bet-list-2 .btn-join-4 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
}

.element-betlist .bet-list-2 .btn-join-4 .text-wrapper-38 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
}


/* ═══════════════════════════════════════════
   v46 — 배팅취소 버튼 글자 복구
   (text-wrapper-32 가 삭제용 흰색이라 흰 배경에서 안 보임)
   ═══════════════════════════════════════════ */

.element-betlist .frame-13 .btn-join-cancel,
.element-betlist .btn-join-cancel,
.element-betlist .bet-ticket-cancel {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.element-betlist .frame-13 .btn-join-cancel .text-wrapper-32,
.element-betlist .btn-join-cancel .text-wrapper-32,
.element-betlist .bet-ticket-cancel .text-wrapper-32,
.element-betlist .btn-join-cancel > *,
.element-betlist .bet-ticket-cancel > * {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}


/* ═══════════════════════════════════════════
   v47 — 출석부(element-check) 도넛 테마
   흰 글자 금지 → 크림/흰 면 위 갈색 텍스트
   ═══════════════════════════════════════════ */

.element-check.idx-em-surface,
.element-check .main-content,
.element-check .main-content-wrapper,
.element-check .home,
.element-check .board-list,
.element-check .board-list-2 {
  background: transparent !important;
  color: #3b2b24 !important;
}

.element-check .board-title {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
}

.element-check .board-title .text-wrapper-14 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.element-check .bet-list {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
}

.element-check .bet-list > .title {
  background: transparent !important;
  border: none !important;
}

.element-check .text-wrapper-15,
.element-check #attendance-month-label {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.element-check .bet-list > .title > .p,
.element-check .p {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

.element-check .frame-5 {
  background: transparent !important;
  border: none !important;
}

/* 요일 헤더 */
.element-check .day .frame-6 {
  background-color: #f0d4b8 !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.element-check .day .text-wrapper-16 {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* 날짜 셀 — 어두운 회색 박스 제거 */
.element-check .date .element-2,
.element-check .date > .element > .element-2 {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #3b2b24 !important;
}

.element-check .date .element-2:has(.frame-9:empty),
.element-check .date .element-2:has(.frame-9:not(:has(*))) {
  background-color: #fff6ec !important;
  border-color: #f5e6d6 !important;
  opacity: 0.7;
}

.element-check .date .text-wrapper-17,
.element-check .date .frame-9 .text-wrapper-17 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* 출석 완료(핑크 스탬프) 셀 */
.element-check .date .element-2:has(img[src*="stamp-pink"]) {
  background-color: #ffe8f0 !important;
  border-color: #ffd0e0 !important;
  opacity: 1 !important;
}

.element-check .date .element-2:has(img[src*="stamp-pink"]) .text-wrapper-17 {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
}

/* 미출석 스탬프 — 원본 문양 유지, 밝은 면에서만 농도 조정 */
.element-check .date .frame-8 {
  opacity: 1 !important;
  filter: none !important;
}

.element-check .date .element-2:not(:has(img[src*="stamp-pink"])) > img.frame-8[src*="ico-stamp.svg"] {
  opacity: 0.28 !important;
  filter: none !important;
}


/* ═══════════════════════════════════════════
   v49 — AI 코치 카드 라이트화 + 비번변경 팝업 상단 블랙바 제거
   ═══════════════════════════════════════════ */

/* 팝업 sticky 닫기행 — 원본 #212328 이 크림 팝업 위에 검정 바로 남음 */
.idx-mypage-pass-popup__close-row,
.idx-mypage-profile-popup__close-row {
  background: #fff6ec !important;
  background-color: #fff6ec !important;
  border: none !important;
  box-shadow: none !important;
}

.idx-mypage-pass-popup__close,
.idx-mypage-profile-popup__close {
  background: #f0d4b8 !important;
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  border: none !important;
  box-shadow: none !important;
}

.idx-mypage-pass-popup,
.idx-mypage-profile-popup {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: 0 10px 28px rgba(59, 43, 36, 0.18) !important;
}

/* AI 베팅 코치 */
.element-mypage .idx-mypage-coach-period {
  background-color: #f0d4b8 !important;
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  border: none !important;
  font-weight: 600 !important;
}

.element-mypage .idx-mypage-coach-list .insight-card,
.element-mypage .insight-card {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  color: #3b2b24 !important;
}

.element-mypage .idx-mypage-coach-list .union-wrapper,
.element-mypage .union-wrapper {
  background-color: #fff6ec !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

.element-mypage .idx-mypage-coach-list .idx-mypage-coach-icon-wrap--sports {
  background-color: rgba(34, 197, 94, 0.12) !important;
  border-color: rgba(34, 197, 94, 0.28) !important;
  box-shadow: none !important;
}

.element-mypage .idx-mypage-coach-list .idx-mypage-coach-icon-wrap--minigame {
  background-color: rgba(234, 179, 8, 0.12) !important;
  border-color: rgba(234, 179, 8, 0.3) !important;
  box-shadow: none !important;
}

.element-mypage .idx-mypage-coach-list .idx-mypage-coach-icon-wrap--casino {
  background-color: rgba(222, 82, 133, 0.1) !important;
  border-color: rgba(222, 82, 133, 0.28) !important;
  box-shadow: none !important;
}

.element-mypage .idx-mypage-coach-list .idx-mypage-coach-icon-wrap--casino .idx-mypage-coach-icon {
  filter: brightness(0) saturate(100%) invert(42%) sepia(55%) saturate(1400%) hue-rotate(314deg)
    brightness(100%) contrast(95%) !important;
}

.element-mypage .idx-mypage-coach-list .text-wrapper-30,
.element-mypage .idx-mypage-coach-list .text-wrapper-35 {
  color: #8a6b58 !important;
  -webkit-text-fill-color: #8a6b58 !important;
}

.element-mypage .idx-mypage-coach-list .text-wrapper-31,
.element-mypage .idx-mypage-coach-list .text-wrapper-36 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-mypage .idx-mypage-coach-list .text-wrapper-33 {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
}

.element-mypage .idx-mypage-coach-list .text-wrapper-34 {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.element-mypage .idx-mypage-coach-list .text-wrapper-32 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 600 !important;
}

.element-mypage .idx-mypage-coach-list .element-2 {
  color: #5b4239 !important;
}


/* ═══════════════════════════════════════════
   v50 — 마이페이지 딤/팝업: 헤더(z=120) 위로
   ═══════════════════════════════════════════ */

.idx-mypage-pass-dim,
.idx-mypage-pass-dim.idx-mypage-pass-dim--open {
  z-index: 200 !important;
}

.idx-mypage-pass-popup,
.idx-mypage-pass-popup.IDX-MYPAGE-PASS-POPUP,
.idx-mypage-pass-popup.idx-mypage-pass-popup--open,
.idx-mypage-profile-popup,
.idx-mypage-profile-popup.idx-mypage-profile-popup--open {
  z-index: 201 !important;
}


/* ═══════════════════════════════════════════
   v51 — 실시간 경기 일정(idx-sl-sched) 도넛 톤 강화
   ═══════════════════════════════════════════ */

.idx-sl-sched,
.idx-sp-page .idx-sl-sched,
.board.sports_real .idx-sl-sched,
#idx-sl-live-root .idx-sl-sched {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(59, 43, 36, 0.08) !important;
  color: #3b2b24 !important;
}

.idx-sl-sched__head,
.idx-sp-page .idx-sl-sched__head {
  color: #3b2b24 !important;
}

.idx-sl-sched__ttl,
.idx-sp-page .idx-sl-sched__ttl {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  opacity: 1 !important;
}

.idx-sl-sched__ico img,
.idx-sp-page .idx-sl-sched__ico img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(55%) saturate(1400%) hue-rotate(314deg)
    brightness(105%) !important;
  opacity: 1 !important;
}

.idx-sl-league,
.idx-sp-page .idx-sl-league {
  background: transparent !important;
}

.idx-sl-league__time,
.idx-sl-league__body,
.idx-sp-page .idx-sl-league__time,
.idx-sp-page .idx-sl-league__body {
  background-color: #fff6ec !important;
  color: #3b2b24 !important;
  border: 1px solid #f0dcc8 !important;
  box-shadow: none !important;
}

.idx-sl-league__time {
  border-radius: 10px 0 0 10px !important;
  border-right: none !important;
}

.idx-sl-league__body {
  border-radius: 0 10px 10px 0 !important;
  border-left: none !important;
}

.idx-sl-league__time-date,
.idx-sl-league__time-clock,
.idx-sl-league__name,
.idx-sl-league__row:last-child span,
.idx-sl-league__row:last-child span:first-child,
.idx-sl-league__row:last-child span:last-child,
.idx-sp-page .idx-sl-league__time-date,
.idx-sp-page .idx-sl-league__time-clock,
.idx-sp-page .idx-sl-league__name,
.idx-sp-page .idx-sl-league__row:last-child span,
.idx-sp-page .idx-sl-league__row:last-child span:first-child,
.idx-sp-page .idx-sl-league__row:last-child span:last-child {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

.idx-sl-league__time-clock,
.idx-sp-page .idx-sl-league__time-clock {
  font-weight: 700 !important;
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
}

.idx-sl-league__name,
.idx-sp-page .idx-sl-league__name {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
}

.idx-sl-league__vs,
.idx-sp-page .idx-sl-league__vs {
  background-color: #ffe8f0 !important;
  color: #ff639b !important;
  -webkit-text-fill-color: #ff639b !important;
  border-radius: 8px !important;
  padding: 1px 6px !important;
  font-weight: 700 !important;
}

.idx-sl-league--selected .idx-sl-league__time,
.idx-sl-league--selected .idx-sl-league__body,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__time,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__body {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  color: #ffffff !important;
}

.idx-sl-league--selected .idx-sl-league__time-date,
.idx-sl-league--selected .idx-sl-league__time-clock,
.idx-sl-league--selected .idx-sl-league__name,
.idx-sl-league--selected .idx-sl-league__row:last-child span,
.idx-sl-league--selected .idx-sl-league__row:last-child span:first-child,
.idx-sl-league--selected .idx-sl-league__row:last-child span:last-child,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__time-date,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__time-clock,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__name,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__row:last-child span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.idx-sl-league--selected .idx-sl-league__vs,
.idx-sp-page .idx-sl-league--selected .idx-sl-league__vs {
  background-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* ═══════════════════════════════════════════
   v52 — 실시간 리그 헤더(idx-sl-lc)
   갈색 바 + 흰 글자 (카드와 구분)
   ═══════════════════════════════════════════ */

.idx-sl-lc,
.idx-sp-page .idx-sl-lc,
#idx-sl-live-root .idx-sl-lc {
  background-color: #5b4239 !important;
  border: 1px solid #4a352e !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.idx-sl-lc__ttl,
.idx-sp-page .idx-sl-lc__ttl,
#idx-sl-live-root .idx-sl-lc__ttl {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.idx-sl-lc__row,
.idx-sp-page .idx-sl-lc__row {
  color: #ffffff !important;
}

.idx-sl-lc__flag,
.idx-sl-lc__sport img,
.idx-sp-page .idx-sl-lc__flag,
.idx-sp-page .idx-sl-lc__sport img {
  opacity: 1 !important;
  filter: none !important;
}

/* 좌측 종목 탭 바는 라이트 유지 */
.idx-sl-dcats,
.idx-sp-page .idx-sl-dcats {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
}


/* ═══════════════════════════════════════════
   v55 — 미니게임 보드 (idx-mg-*)
   도넛 크림/피치/핑크 · 블랙 테마 제거 · 글자 대비 확보
   ═══════════════════════════════════════════ */

.idx-mg-page,
.idx-mg-page.idx-em-surface,
[data-idx-em="11_Minigame_1"] .idx-mg-page,
[data-idx-em="11_Minigame_1"] .idx-em-surface {
  background-color: transparent !important;
  color: #3b2b24 !important;
}

/* 카테고리 탭 */
.idx-mg-page .idx-tg-game-cat-row > .idx-casino-cat-btn,
.idx-mg-page .idx-casino-cat-row > .idx-casino-cat-btn {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-tg-game-cat-row > .idx-casino-cat-btn:visited,
.idx-mg-page .idx-casino-cat-row > .idx-casino-cat-btn:visited {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
}

.idx-mg-page .idx-tg-game-cat-row > .idx-casino-cat-btn:not(.is-selected),
.idx-mg-page .idx-casino-cat-row > .idx-casino-cat-btn:not(.is-selected) {
  opacity: 0.72 !important;
  background-color: #fff6ec !important;
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  border-radius: 10px !important;
  box-shadow: inset 0 0 0 1px #f0dcc8 !important;
}

.idx-mg-page .idx-tg-game-cat-row > .idx-casino-cat-btn.is-selected,
.idx-mg-page .idx-casino-cat-row > .idx-casino-cat-btn.is-selected {
  opacity: 1 !important;
  background-color: #ff639b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.idx-mg-page .idx-tg-game-cat-row > .idx-casino-cat-btn:focus-visible,
.idx-mg-page .idx-casino-cat-row > .idx-casino-cat-btn:focus-visible {
  outline: 2px solid #ff639b !important;
  outline-offset: 2px !important;
}

/* 제공사 바 — 원본처럼 연속 바 + 선택만 떠오름 (미선택 칸 분리 X) */
.idx-mg-page .idx-mg-board__providers {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06) !important;
}

.idx-mg-page .idx-mg-board__provider-frame,
.idx-mg-page .idx-mg-board__provider-frame--lead {
  background-color: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-board__providers > .idx-mg-board__provider-btn:not(.is-selected) {
  opacity: 0.42 !important;
  background-color: transparent !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.idx-mg-page .idx-mg-board__providers > .idx-mg-board__provider-btn.is-selected,
.idx-mg-page .idx-mg-board__provider-frame--lead.is-selected {
  opacity: 1 !important;
  background-color: #ff639b !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.idx-mg-page .idx-mg-board__provider-label,
.idx-mg-page .idx-mg-board__provider-label--alt {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-board__providers > .idx-mg-board__provider-btn.is-selected .idx-mg-board__provider-label,
.idx-mg-page .idx-mg-board__providers > .idx-mg-board__provider-btn.is-selected .idx-mg-board__provider-label--alt {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 제공사 아이콘: 원본이 흰색 → 미선택은 갈색, 선택은 흰색 */
.idx-mg-page .idx-mg-board__provider-icon {
  opacity: 1 !important;
  filter: brightness(0) saturate(100%) invert(22%) sepia(18%) saturate(900%) hue-rotate(340deg)
    brightness(95%) contrast(92%) !important;
}

.idx-mg-page .idx-mg-board__providers > .idx-mg-board__provider-btn.is-selected .idx-mg-board__provider-icon {
  filter: brightness(0) invert(1) !important;
}

.idx-mg-page .idx-mg-board__providers > .idx-mg-board__provider-btn:focus-visible {
  outline: 2px solid #ff639b !important;
  outline-offset: 2px !important;
}

.idx-mg-page .idx-mg-board__providers > .idx-mg-board__provider-btn.is-unused,
.idx-mg-page .idx-mg-board__providers > .idx-mg-board__provider-btn[data-mg-unused='1'] {
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.4 !important;
}

.idx-mg-page .idx-mg-board__provider-unused {
  display: block !important;
  margin-top: 2px !important;
  font: 600 10px/1.2 var(--font-sans, 'Inter', Helvetica, sans-serif) !important;
  color: #ff639b !important;
  -webkit-text-fill-color: #ff639b !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.idx-mg-page .idx-mg-board__providers > .idx-mg-board__provider-btn.is-selected .idx-mg-board__provider-unused {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.idx-mg-page .idx-mg-board__game-btn[data-mg-unused='1'],
.idx-mg-page .idx-mg-board__game-btn[data-mg-maintenance='1'] {
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.55 !important;
}

/* 종목 탭 — 연속 바, 미선택은 투명(칸 없음), 선택만 핑크 */
.idx-mg-page .idx-mg-board__games {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06) !important;
}

.idx-mg-page .idx-mg-board__game-frame,
.idx-mg-page .idx-mg-board__game-frame--lead {
  background-color: transparent !important;
  box-shadow: none !important;
}

.idx-mg-page .idx-mg-board__games > .idx-mg-board__game-btn:not(.is-selected) {
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 10px !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-board__games > .idx-mg-board__game-btn.is-selected,
.idx-mg-page .idx-mg-board__game-frame--lead.is-selected,
.idx-mg-page .idx-mg-board__game-frame--lead {
  background-color: #ff639b !important;
  box-shadow: none !important;
  border-radius: 10px !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-board__game-title,
.idx-mg-page .idx-mg-board__game-title-full,
.idx-mg-page .idx-mg-board__game-title-short {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-board__games > .idx-mg-board__game-btn.is-selected .idx-mg-board__game-title,
.idx-mg-page .idx-mg-board__games > .idx-mg-board__game-btn.is-selected .idx-mg-board__game-title-full,
.idx-mg-page .idx-mg-board__games > .idx-mg-board__game-btn.is-selected .idx-mg-board__game-title-short,
.idx-mg-page .idx-mg-board__game-frame--lead .idx-mg-board__game-title,
.idx-mg-page .idx-mg-board__game-frame--lead .idx-mg-board__game-title-full,
.idx-mg-page .idx-mg-board__game-frame--lead .idx-mg-board__game-title-short {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.idx-mg-page .idx-mg-board__game-timer {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.idx-mg-page .idx-mg-board__games > .idx-mg-board__game-btn.is-selected .idx-mg-board__game-timer,
.idx-mg-page .idx-mg-board__game-frame--lead .idx-mg-board__game-timer {
  color: #fff6ec !important;
  -webkit-text-fill-color: #fff6ec !important;
}

.idx-mg-page .idx-mg-board__game-status {
  color: #c2410c !important;
  -webkit-text-fill-color: #c2410c !important;
}

.idx-mg-page .idx-mg-board__games > .idx-mg-board__game-btn.is-selected .idx-mg-board__game-status,
.idx-mg-page .idx-mg-board__game-frame--lead .idx-mg-board__game-status {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}

.idx-mg-page .idx-mg-board__games > .idx-mg-board__game-btn:focus-visible {
  outline: 2px solid #ff639b !important;
  outline-offset: 2px !important;
}

/* 라이브 스테이지 · 마켓 */
.idx-mg-page .idx-mg-live,
.idx-mg-page .idx-mg-live:has(.idx-mg-live__iframe) {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06) !important;
}

.idx-mg-page .idx-mg-live__viewport,
.idx-mg-page .idx-mg-live__viewport:has(.idx-mg-live__iframe) {
  background-color: #1a1520 !important;
}

.idx-mg-page .idx-mg-markets {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06) !important;
}

.idx-mg-page .idx-mg-markets__event-line {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-markets__tag {
  background-color: #5b4239 !important;
}

.idx-mg-page .idx-mg-markets__tag .idx-mg-markets__meta-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.idx-mg-page .idx-mg-markets__countdown {
  background-color: #ff639b !important;
}

.idx-mg-page .idx-mg-markets__countdown .idx-mg-markets__meta-text,
.idx-mg-page .idx-mg-markets__meta-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-markets__sections--loading,
.idx-mg-page .idx-mg-markets__sections.idx-mg-markets__sections--loading {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-market-card__marker {
  background-color: #ff639b !important;
}

.idx-mg-page .idx-mg-market-card__label {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-market-card__odds-left,
.idx-mg-page .idx-mg-market-card__odds-right,
.idx-mg-page .idx-mg-market-card__odds-left-mid,
.idx-mg-page .idx-mg-market-card__odds-mid,
.idx-mg-page .idx-mg-market-card__odds-right-mid {
  background-color: #fff6ec !important;
  box-shadow: inset 0 0 0 1px #f0dcc8 !important;
}

.idx-mg-page .idx-mg-market-card__odd-value {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-market-card__picks,
.idx-mg-page .idx-mg-market-card__pick-cell-right,
.idx-mg-page .idx-mg-market-card__pick-tie-cell,
.idx-mg-page .idx-mg-market-card__pick-cell-ou {
  background-color: #ffffff !important;
  box-shadow: inset 0 0 0 1px #f0dcc8 !important;
}

/* 픽 원형 버튼 — 흰 글자만 (채도 있는 배경) */
.idx-mg-page .idx-mg-market-card__pick,
.idx-mg-page .idx-mg-market-card__pick-player {
  background-color: #5b7cfa !important;
}

.idx-mg-page .idx-mg-market-card__pick-alt {
  background-color: #ff7a45 !important;
}

.idx-mg-page .idx-mg-market-card__pick-tie {
  background-color: #3d9b5f !important;
}

.idx-mg-page .idx-mg-market-card__pick-label,
.idx-mg-page .idx-mg-market-card__pick-long {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.idx-mg-page .idx-mg-market-card__pick-ou-a {
  border-color: #5b7cfa !important;
  background-color: #fff6ec !important;
}

.idx-mg-page .idx-mg-market-card__pick-ou-b {
  border-color: #ff7a45 !important;
  background-color: #fff6ec !important;
}

.idx-mg-page .idx-mg-market-card__pick-ou-a .idx-mg-market-card__pick-label,
.idx-mg-page .idx-mg-market-card__pick-ou-b .idx-mg-market-card__pick-label {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.idx-mg-page .idx-mg-market-card__pick.is-selected,
.idx-mg-page .idx-mg-market-card__pick-alt.is-selected,
.idx-mg-page .idx-mg-market-card__pick-player.is-selected,
.idx-mg-page .idx-mg-market-card__pick-tie.is-selected,
.idx-mg-page .idx-mg-market-card__pick-ou-a.is-selected,
.idx-mg-page .idx-mg-market-card__pick-ou-b.is-selected {
  box-shadow:
    inset 0 0 0 2px #ff639b,
    0 0 0 2px rgba(255, 99, 155, 0.35) !important;
}

.idx-mg-page .idx-mg-market-card__pick-ou-a.is-selected,
.idx-mg-page .idx-mg-market-card__pick-ou-b.is-selected {
  border-color: #ff639b !important;
}

/* 베팅내역 */
.idx-mg-page .idx-mg-history {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06) !important;
}

.idx-mg-page .idx-mg-history__title-text {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-history__refresh {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
}

.idx-mg-page .idx-mg-history__refresh:hover {
  background-color: #ffe8f0 !important;
  border-color: #ff639b !important;
  color: #3b2b24 !important;
}

.idx-mg-page .idx-mg-history__refresh img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(18%) saturate(900%) hue-rotate(340deg)
    brightness(95%) contrast(90%) !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-history__th-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* 행 안 셀 구분자: 세로 구분선만 (가로 gap 있으면 일시/회차 사이 선 생김) */
.idx-mg-page .idx-mg-history__thead,
.idx-mg-page .idx-mg-history__row {
  column-gap: 1px !important;
  row-gap: 0 !important;
  gap: 0 1px !important;
  background-color: #e8c9a8 !important;
}

.idx-mg-page .idx-mg-history__th {
  background-color: #5b4239 !important;
  box-shadow: none !important;
}

.idx-mg-page .idx-mg-history__cell {
  background-color: #fff6ec !important;
  box-shadow: none !important;
}

/* 모바일·태블릿: 일시·회차 위아래 한 칸처럼 (중간 가로선 제거) */
@media (max-width: 1024px) {
  .idx-mg-page .idx-mg-history__row {
    row-gap: 0 !important;
    gap: 0 1px !important;
  }

  .idx-mg-page .idx-mg-history__row .idx-mg-history__cell:nth-child(1) {
    border-bottom: none !important;
    box-shadow: none !important;
    padding-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .idx-mg-page .idx-mg-history__row .idx-mg-history__cell:nth-child(2) {
    border-top: none !important;
    box-shadow: none !important;
    padding-top: 2px !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }
}

.idx-mg-page .idx-mg-history__cell-text {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-history__cell-text--hit {
  color: #1f9d57 !important;
  -webkit-text-fill-color: #1f9d57 !important;
  font-weight: 800 !important;
}

.idx-mg-page .idx-mg-history__cell-text--miss {
  color: #e11d48 !important;
  -webkit-text-fill-color: #e11d48 !important;
  font-weight: 800 !important;
}

.idx-mg-page .idx-mg-history__cell-text--pending,
.idx-mg-page .idx-mg-history__cell-text--cancel {
  color: #8a6b58 !important;
  -webkit-text-fill-color: #8a6b58 !important;
}

.idx-mg-page .idx-mg-history__action {
  color: #c2410c !important;
  -webkit-text-fill-color: #c2410c !important;
  font-weight: 600 !important;
}

.idx-mg-page .idx-mg-history__rows.idx-mg-history__rows--empty,
.idx-mg-page .idx-mg-history__rows--empty {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  opacity: 1 !important;
}

.idx-mg-page .idx-mg-board__pager {
  background-color: transparent !important;
}

.idx-mg-page .idx-mg-board__pager-num {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.idx-mg-page .idx-mg-empty__title,
.idx-mg-page .idx-mg-empty__desc,
.idx-mg-page .idx-mg-board__game-content[data-mg-maintenance-full="1"] .idx-mg-empty__title,
.idx-mg-page .idx-mg-board__game-content[data-mg-maintenance-full="1"] .idx-mg-empty__desc,
.idx-mg-page.idx-mg-page--mini-empty .idx-mg-empty__title,
.idx-mg-page.idx-mg-page--mini-empty .idx-mg-empty__desc {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

/* ═══════════════════════════════════════════
   v59 — 카지노 페이지 (element-casino-nor)
   상단 배너 + 유저/머니 패널 + 칩 UI 도넛톤
   ═══════════════════════════════════════════ */

.element-casino-nor.idx-em-surface,
.element-casino-nor .main-content,
.element-casino-nor .main-content-wrapper,
.element-casino-nor .home,
.element-casino-nor .board {
  background: transparent !important;
  color: #3b2b24 !important;
}

.element-casino-nor .idx-casino-hero {
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid #e8c9a8 !important;
  box-shadow: 0 2px 10px rgba(59, 43, 36, 0.06) !important;
}

.element-casino-nor .idx-casino-hero .image-2,
.element-casino-nor .idx-casino-hero img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 16px !important;
}

/* 유저 정보 / 머니 이동 패널 */
.element-casino-nor .user-info,
.element-casino-nor .bet-list {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06) !important;
  color: #3b2b24 !important;
}

/* 상단 프로필 헤더 — 하단 스탯행과 구분 (핑크 틴트 + 구분선) */
.element-casino-nor .user-title {
  background-color: #ffe8f0 !important;
  border: 1px solid #f5c5d6 !important;
  border-radius: 10px !important;
  margin-bottom: 2px !important;
}

.element-casino-nor .user-title .text-wrapper-14,
.element-casino-nor .user-title .text-wrapper-17 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-casino-nor .user-title .frame-7 {
  background-color: rgba(255, 255, 255, 0.55) !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
}

.element-casino-nor .text-wrapper-14,
.element-casino-nor .text-wrapper-15,
.element-casino-nor .text-wrapper-16,
.element-casino-nor .text-wrapper-17,
.element-casino-nor .text-wrapper-19,
.element-casino-nor .text-wrapper-21,
.element-casino-nor .text-wrapper-27 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.element-casino-nor .frame-wrapper {
  background-color: #ff639b !important;
}

.element-casino-nor .frame-wrapper .text-wrapper-15,
.element-casino-nor .frame-wrapper .text-wrapper-16 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.element-casino-nor .text-wrapper-18,
.element-casino-nor .text-wrapper-20 {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

/* 하단 스탯행 — 크림톤으로 헤더와 대비 */
.element-casino-nor .div-7.idx-user-stat-row {
  background-color: #fff6ec !important;
  border-radius: 10px !important;
  border: 1px solid #f0dcc8 !important;
}

/* 머니 이동 탭 — 선택(sel)=핑크, 미선택(nor)=피치 */
.element-casino-nor .tab {
  gap: 6px !important;
}

.element-casino-nor .tab-sel,
.element-casino-nor .tab_1_sel,
.element-casino-nor .tab_2_sel {
  background-color: #ff639b !important;
  box-shadow: none !important;
}

.element-casino-nor .tab-sel .idx-transfer-tab__label,
.element-casino-nor .tab_1_sel .idx-transfer-tab__label,
.element-casino-nor .tab_2_sel .idx-transfer-tab__label {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
}

.element-casino-nor .tab-nor,
.element-casino-nor .tab_1_nor,
.element-casino-nor .tab_2_nor {
  background-color: #fde4cf !important;
  box-shadow: inset 0 0 0 1px #e8c9a8 !important;
}

.element-casino-nor .tab-nor .idx-transfer-tab__label,
.element-casino-nor .tab_1_nor .idx-transfer-tab__label,
.element-casino-nor .tab_2_nor .idx-transfer-tab__label {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  font-weight: 600 !important;
}

/* 베팅금액 입력 */
.element-casino-nor .bet-cash,
.element-casino-nor .bet-list-2 {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
}

.element-casino-nor .frame-10 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
}

.element-casino-nor .idx-bet-amount-input {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  caret-color: #de5285 !important;
}

.element-casino-nor .frame-11 {
  background-color: #5b4239 !important;
}

.element-casino-nor .frame-11 .text-wrapper-24 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 금액 칩 */
.element-casino-nor .frame-13 {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
}

.element-casino-nor .frame-13 .text-wrapper-25 {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
}

.element-casino-nor .frame-14,
.element-casino-nor .idx-amount-chip--active,
.element-casino-nor .frame-13.idx-amount-chip--active {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
}

.element-casino-nor .idx-amount-chip--active .text-wrapper-25,
.element-casino-nor .frame-14 .text-wrapper-25,
.element-casino-nor .frame-14 .text-wrapper-26 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 목록 헤더 */
.element-casino-nor .board-list .text-wrapper-27 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

/* 로비 썸네일 PNG에 라운드+투명이 베이크됨 → 카드 배경/그림자/보더 금지
   (부모에 배경·box-shadow 있으면 투명 코너 뒤로 사각 틀이 비침) */
.element-casino-nor .board-list,
.element-slot .board-list,
.element-slot .board-list-2 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.element-casino-nor .idx-casino-thumb,
.element-slot .idx-casino-thumb {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  overflow: visible !important;
  padding: 0 !important;
  outline: none !important;
}

.element-casino-nor .idx-casino-thumb .frame-15,
.element-casino-nor .board-list .frame-15,
.element-slot .idx-casino-thumb .frame-15,
.element-slot .board-list .frame-15 {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  filter: none !important;
  outline: none !important;
}

/* 카테고리 탭(사용 시) */
.element-casino-nor .idx-casino-cat-row,
.element-casino-nor .idx-casino-cat-row-2 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
}

.element-casino-nor .idx-casino-cat-btn:not(.is-selected),
.element-casino-nor .idx-casino-cat2-btn:not(.is-selected) {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  opacity: 0.7 !important;
  background: transparent !important;
}

.element-casino-nor .idx-casino-cat-btn.is-selected,
.element-casino-nor .idx-casino-cat2-btn.is-selected {
  background-color: #ff639b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}


/* ═══════════════════════════════════════════
   v63 — 쿠폰(element-coupon) 도넛 테마
   출석부·포인트와 동일: 피치 패널 · 흰 카드 · 핑크 선택
   ═══════════════════════════════════════════ */

.element-coupon.idx-em-surface,
.element-coupon .main-content,
.element-coupon .main-content-wrapper,
.element-coupon .home,
.element-coupon .board-list,
.element-coupon .board-list-2,
.element-coupon .frame-5 {
  background: transparent !important;
  color: #3b2b24 !important;
}

.element-coupon .board-title {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
}

.element-coupon .board-title .text-wrapper-14 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.element-coupon .bet-list {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.element-coupon .board-list,
.element-coupon .board-list-2,
.element-coupon .frame-5 {
  overflow: visible !important;
}

.element-coupon .bet-list > .title,
.element-coupon .title {
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* 룰렛 이벤트 아이콘 — 밝은 배경에서 보이게 */
.element-coupon .title > img {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.element-coupon .text-wrapper-15 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* 쿠폰 타입 선택 래퍼 — 흰 카드 */
.element-coupon .frame-5 > .element,
.element-coupon .element {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.element-coupon .text-2 {
  background: transparent !important;
}

/* 미선택 탭 */
.element-coupon .idx-coupon-type-btn:not(.is-selected),
.element-coupon .frame-6.idx-coupon-type-btn:not(.is-selected),
.element-coupon .frame-7.idx-coupon-type-btn:not(.is-selected) {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.element-coupon .idx-coupon-type-btn:not(.is-selected) .text-wrapper-16,
.element-coupon .frame-6:not(.is-selected) .text-wrapper-16,
.element-coupon .frame-7:not(.is-selected) .text-wrapper-16 {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

/* 선택 탭 — 핑크 */
.element-coupon .idx-coupon-type-btn.is-selected,
.element-coupon .frame-6.idx-coupon-type-btn.is-selected,
.element-coupon .frame-7.idx-coupon-type-btn.is-selected {
  background-color: #ff639b !important;
  border: 1px solid #ff639b !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(255, 99, 155, 0.28) !important;
}

.element-coupon .idx-coupon-type-btn.is-selected .text-wrapper-16,
.element-coupon .frame-6.is-selected .text-wrapper-16,
.element-coupon .frame-7.is-selected .text-wrapper-16 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.element-coupon .idx-coupon-type-btn.is-disabled {
  opacity: 0.45 !important;
}

/* 룰렛 영역 — 다크 day.svg 제거, 피치 패널 + 포인터/휠 클리핑 방지 */
.element-coupon .day {
  background-image: none !important;
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  overflow: visible !important;
  margin-top: 24px !important;
  /* 포인터(위) + 휠 전체 + 여백 */
  padding: 72px 24px 48px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

.element-coupon .day .roulette {
  background: transparent !important;
  overflow: visible !important;
  width: min(689px, 100%) !important;
  max-width: 100% !important;
  aspect-ratio: 1 !important;
  height: auto !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  .element-coupon .day {
    margin-top: 16px !important;
    padding: 56px 12px 32px !important;
  }
}


/* ═══════════════════════════════════════════
   v65 — 이벤트 목록/상세 (idx-ev1 / idx-ev2)
   쿠폰·쪽지와 동일: 흰 바 · 피치 패널 · 핑크 액센트
   ═══════════════════════════════════════════ */

.idx-ev1,
.idx-ev2 {
  --idx-ev1-bar: #ffffff;
  --idx-ev1-panel: #fde4cf;
  --idx-ev1-caption: #ffffff;
  --idx-ev1-page: #de5285;
  --idx-ev2-bar: #ffffff;
  --idx-ev2-panel: #fde4cf;
  --idx-ev2-head: #ffffff;
  --idx-ev2-body: #fff6ec;
  --idx-ev2-accent: #de5285;
  --idx-ev2-btn: #ff639b;
  --idx-ev2-btn-txt: #ffffff;
  --idx-ev2-divider: #e8c9a8;
  color: #3b2b24;
}

/* ── 목록 ── */
.idx-ev1__bar,
.idx-ev2__bar {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.idx-ev1__bar-title,
.idx-ev2__bar-title {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
}

.idx-ev1__panel,
.idx-ev2__surface {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.idx-ev1__thumb {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
}

.idx-ev1__caption {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 600 !important;
}

.idx-ev1__link:focus-visible {
  outline-color: #ff639b !important;
}

.idx-ev1__page-current,
.idx-ev1__pager .idx-ev1__page-btn,
.idx-ev1__pager .idx-ev1__page-num {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.idx-ev1__pager .idx-ev1__page-btn:not(.is-current),
.idx-ev1__pager .idx-ev1__page-num:not(.is-current) {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  opacity: 0.7;
}

.idx-ev1__card--empty .idx-ev1__caption {
  background-color: #fff6ec !important;
  color: #5b4239 !important;
}

/* ── 상세 ── */
.idx-ev2__block {
  border-bottom-color: #e8c9a8 !important;
}

.idx-ev2__ribbon-in {
  background-color: #ffffff !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

.idx-ev2__badge {
  border-color: #ff639b !important;
  background-color: #ffe8f0 !important;
}

.idx-ev2__badge-txt {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.idx-ev2__event-title {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 600 !important;
}

.idx-ev2__body {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 12px !important;
}

.idx-ev2__copy-strong,
.idx-ev2__copy,
.idx-ev2__copy p {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.idx-ev2__copy-meta {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 600 !important;
}

.idx-ev2__btn {
  background-color: #ff639b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(255, 99, 155, 0.28) !important;
}

.idx-ev2__btn:hover {
  filter: brightness(1.05) !important;
}

.idx-ev2__btn:focus-visible {
  outline-color: #ff639b !important;
}


/* ═══════════════════════════════════════════
   v66 — 고객센터 / 문의작성 / 공지사항
   이벤트·쪽지와 동일: 흰 바 · 피치 패널 · 흰 셀 · 핑크 액센트
   ═══════════════════════════════════════════ */

.idx-cc,
.idx-ccw,
.idx-notice {
  --idx-cc-bar: #ffffff;
  --idx-cc-surface: #fde4cf;
  --idx-cc-head: #f0d4b8;
  --idx-cc-cell: #ffffff;
  --idx-cc-detail: #fff6ec;
  --idx-cc-muted: #5b4239;
  --idx-cc-body: #3b2b24;
  --idx-cc-accent: #de5285;
  --idx-ccw-bar: #ffffff;
  --idx-ccw-panel: #fde4cf;
  --idx-ccw-label: #5b4239;
  --idx-ccw-field-bg: #ffffff;
  --idx-ccw-field-bd: #e8c9a8;
  --idx-ccw-placeholder: #9a7f72;
  --idx-ccw-confirm: #ff639b;
  --idx-ccw-confirm-glow: rgba(255, 99, 155, 0.35);
  --idx-ccw-cancel-bg: #fff6ec;
  --idx-ccw-cancel-txt: #5b4239;
  --idx-ccw-divider: #e8c9a8;
  --idx-notice-bar: #ffffff;
  --idx-notice-surface: #fde4cf;
  --idx-notice-head-cell: #f0d4b8;
  --idx-notice-row-cell: #ffffff;
  --idx-notice-thread: #fff6ec;
  --idx-notice-muted: #5b4239;
  --idx-notice-accent: #de5285;
  color: #3b2b24;
}

/* ── 공통 타이틀 바 ── */
.idx-cc__bar,
.idx-ccw__head,
.idx-notice__toolbar {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.idx-cc__bar-title,
.idx-ccw__title,
.idx-notice__toolbar-title {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
}

/* ── 패널 ── */
.idx-cc__surface,
.idx-ccw__panel,
.idx-notice__card {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.idx-cc__table-wrap,
.idx-cc thead,
.idx-notice thead,
.idx-ccw__fieldset {
  border-color: #e8c9a8 !important;
  box-shadow: 0 1px 0 #e8c9a8 !important;
}

/* ── 테이블 헤더/셀 ── */
.idx-cc__th,
.idx-notice__th {
  background-color: #f0d4b8 !important;
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  font-weight: 600 !important;
}

.idx-cc__td,
.idx-notice__td {
  background-color: #ffffff !important;
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  border-color: #f0dcc8 !important;
}

/* 제목 볼드 · 상태/삭제 구분 색 */
.idx-cc__td--subject,
.idx-cc__td--subject .idx-cc__subject-btn {
  font-weight: 700 !important;
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.idx-cc__status {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.idx-cc__status.is-done {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
}

.idx-cc__status.is-pending {
  color: #c47a1a !important;
  -webkit-text-fill-color: #c47a1a !important;
}

.idx-cc__del {
  color: #e53935 !important;
  -webkit-text-fill-color: #e53935 !important;
  font-weight: 700 !important;
}

.idx-cc__del:hover {
  color: #c62828 !important;
  -webkit-text-fill-color: #c62828 !important;
}

.idx-cc__subject-btn:focus-visible,
.idx-notice__link:focus-visible {
  outline-color: #ff639b !important;
}

.idx-cc__detail,
.idx-notice__thread {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
}

.idx-cc__detail-line,
.idx-notice__thread-line {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.idx-cc__detail-meta,
.idx-notice__thread-meta,
.idx-cc__page-current,
.idx-notice__page-current {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 600 !important;
}

.idx-notice__badge {
  border-color: #ff639b !important;
  background-color: #ffe8f0 !important;
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-weight: 700 !important;
}

.idx-cc__compose {
  background-color: #ff639b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(255, 99, 155, 0.28) !important;
}

.idx-cc__compose:hover {
  filter: brightness(1.05);
}

/* ── 문의 작성 폼 ── */
.idx-ccw__label {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
}

.idx-ccw__input-shell {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
}

.idx-ccw__input,
.idx-ccw__textarea {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

.idx-ccw__input::placeholder,
.idx-ccw__textarea::placeholder {
  color: #9a7f72 !important;
}

.idx-ccw__btn--primary {
  background-color: #ff639b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 99, 155, 0.35) !important;
}

.idx-ccw__btn--ghost {
  background-color: #fff6ec !important;
  color: #5b4239 !important;
  border: 1px solid #e8c9a8 !important;
}

.idx-ccw__btn:focus-visible {
  outline-color: #ff639b !important;
}


/* ═══════════════════════════════════════════
   v66b — 슬롯 목록 (element-slot) 잔여 다크 제거
   ═══════════════════════════════════════════ */

.element-slot.idx-em-surface,
.element-slot .main-content,
.element-slot .main-content-wrapper,
.element-slot .home {
  background: transparent !important;
  color: #3b2b24 !important;
}

/* 슬롯 벤더 게임 목록 패널만 카드 셸 — 메인 board-list 썸네일엔 배경/그림자 금지 */
.element-slot .slot-list {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
  box-shadow: none !important;
}

.element-slot .board-title,
.element-slot .slot-list > .title {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.element-slot .board-title .text-wrapper-14,
.element-slot .slot-list .text-wrapper-14,
.element-slot .text-wrapper-14,
.element-slot .text-wrapper-13 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
}

.element-slot .slot-list .frame-5 {
  background: transparent !important;
  border: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-right: 12px !important;
}

.element-slot .slot-list .text-wrapper-14 {
  margin-right: 0 !important;
  white-space: nowrap !important;
}

/* 검색 — 크림 필드 + 핑크는 검색 버튼만 */
.element-slot .slot-list .search {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  color: #3b2b24 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.element-slot .slot-list .btn-search {
  background-color: transparent !important;
  color: #3b2b24 !important;
  border-radius: 10px 0 0 10px !important;
}

.element-slot .slot-list .idx-slot-search-input,
.element-slot .slot-list .idx-em-input.idx-slot-search-input,
.element-slot .slot-list .text-wrapper-15 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  background: transparent !important;
  font-weight: 500 !important;
}

.element-slot .slot-list .idx-slot-search-input::placeholder,
.element-slot .slot-list .idx-slot-search-input::-webkit-input-placeholder {
  color: #9a7b5f !important;
  -webkit-text-fill-color: #9a7b5f !important;
  opacity: 1 !important;
}

.element-slot .slot-list .search .img-wrapper {
  background-color: #ff639b !important;
  border-radius: 0 10px 10px 0 !important;
  width: 40px !important;
  height: 40px !important;
}

.element-slot .slot-list .search .img-wrapper .vector {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* 닫기 — 크림/브라운 */
.element-slot .slot-list .button-login {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 10px !important;
}

.element-slot .slot-list .button-login .vector-16,
.element-slot .slot-list .button-login img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(18%) saturate(900%) hue-rotate(340deg)
    brightness(95%) contrast(90%) !important;
  opacity: 1 !important;
}

.element-slot .idx-casino-cat-btn.is-selected {
  background-color: #ff639b !important;
  color: #ffffff !important;
  border-radius: 10px !important;
}

/* 슬롯 게임 리스트 — 전체 펼침(내부 스크롤 없음) + 썸네일/타이틀 노출 */
.element-slot .slot-list {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
}

.element-slot .play-ist {
  padding: 12px 14px 24px !important;
  gap: 16px 14px !important;
  align-content: start !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
}

@media (max-width: 1280px) {
  .element-slot .play-ist {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  .element-slot .play-ist {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .element-slot .play-ist {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.element-slot .play-ist .frame-7 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  gap: 8px !important;
  padding: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  min-width: 0 !important;
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.element-slot .play-ist .image-3 {
  border: none !important;
  border-radius: 12px !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  display: block !important;
}

.element-slot .play-ist .frame-8 {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  min-height: 48px !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.element-slot .play-ist .text-wrapper-16 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-align: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.element-slot .casino-card {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}


/* ═══════════════════════════════════════════
   v66c — 토큰게임 / 벳365 (coming-soon 포함) 기본 라이트화
   ═══════════════════════════════════════════ */

.element-token-game.idx-em-surface,
.element-token-game .main-content,
.element-token-game .main-content-wrapper,
.element-token-game .home {
  background: transparent !important;
  color: #3b2b24 !important;
}

.element-token-game .board-category,
.element-token-game .board-list,
.element-token-game .bet-list,
.element-token-game .user-info {
  background-color: #fde4cf !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  color: #3b2b24 !important;
}

.element-token-game .board-title,
.element-token-game .title {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  color: #3b2b24 !important;
}

.element-token-game .text-wrapper-14,
.element-token-game .text-wrapper-15,
.element-token-game .text-wrapper-16 {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
}

/* ═══════════════════════════════════════════
   v90 — 벳365 = 미니게임과 동일 도넛 톤
   (크림/화이트 패널 · 핑크 선택 · 갈색 텍스트)
   ═══════════════════════════════════════════ */

[data-idx-em="13_Bet365"] .element.idx-em-surface,
[data-idx-em="13_Bet365"] .element .main-content,
[data-idx-em="13_Bet365"] .element .main-content-wrapper,
[data-idx-em="13_Bet365"] .element .home,
[data-idx-em="13_Bet365"] .element .board,
[data-idx-em="13_Bet365"] .element .board-list {
  background: transparent !important;
  color: #3b2b24 !important;
}

/* 상단 카테고리 탭 (표시될 때) */
[data-idx-em="13_Bet365"] .element .idx-tg-game-cat-row > .idx-casino-cat-btn,
[data-idx-em="13_Bet365"] .element .idx-casino-cat-row > .idx-casino-cat-btn {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

[data-idx-em="13_Bet365"] .element .idx-tg-game-cat-row > .idx-casino-cat-btn:not(.is-selected),
[data-idx-em="13_Bet365"] .element .idx-casino-cat-row > .idx-casino-cat-btn:not(.is-selected) {
  opacity: 0.72 !important;
  background-color: #fff6ec !important;
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  border-radius: 10px !important;
  box-shadow: inset 0 0 0 1px #f0dcc8 !important;
}

[data-idx-em="13_Bet365"] .element .idx-tg-game-cat-row > .idx-casino-cat-btn.is-selected,
[data-idx-em="13_Bet365"] .element .idx-casino-cat-row > .idx-casino-cat-btn.is-selected {
  opacity: 1 !important;
  background-color: #ff639b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* 제공사 / 종목 바 — 화이트 패널 */
[data-idx-em="13_Bet365"] .element .board-category,
[data-idx-em="13_Bet365"] .element .board-category-2 {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06) !important;
  color: #3b2b24 !important;
}

/* 제공사 탭 — 미선택 투명, 선택 핑크 */
[data-idx-em="13_Bet365"] .element .board-category > .idx-bet-cat-btn:not(.is-selected),
[data-idx-em="13_Bet365"] .element .idx-bet-cat-primary-item {
  opacity: 0.42 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

[data-idx-em="13_Bet365"] .element .board-category > .idx-bet-cat-btn.is-selected,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-primary-item--active {
  opacity: 1 !important;
  background-color: #ff639b !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-cat-primary-label {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

[data-idx-em="13_Bet365"] .element .board-category > .idx-bet-cat-btn.is-selected .idx-bet-cat-primary-label,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-primary-item--active .idx-bet-cat-primary-label {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-cat-primary-status {
  color: #c2410c !important;
  -webkit-text-fill-color: #c2410c !important;
  font-size: 10px !important;
  font-weight: 600 !important;
}

[data-idx-em="13_Bet365"] .element .board-category > .idx-bet-cat-btn.is-selected .idx-bet-cat-primary-status,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-primary-item--active .idx-bet-cat-primary-status {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-cat-primary-icon {
  opacity: 1 !important;
  filter: brightness(0) saturate(100%) invert(22%) sepia(18%) saturate(900%) hue-rotate(340deg)
    brightness(95%) contrast(92%) !important;
}

[data-idx-em="13_Bet365"] .element .board-category > .idx-bet-cat-btn.is-selected .idx-bet-cat-primary-icon,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-primary-item--active .idx-bet-cat-primary-icon {
  filter: brightness(0) invert(1) !important;
}

[data-idx-em="13_Bet365"] .element .board-category > .idx-bet-cat-btn:focus-visible,
[data-idx-em="13_Bet365"] .element .board-category-2 > .idx-bet-cat2-btn:focus-visible {
  outline: 2px solid #ff639b !important;
  outline-offset: 2px !important;
}

/* 종목/리그 탭 */
[data-idx-em="13_Bet365"] .element .board-category-2 > .idx-bet-cat2-btn:not(.is-selected),
[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-item {
  opacity: 1 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

[data-idx-em="13_Bet365"] .element .board-category-2 > .idx-bet-cat2-btn.is-selected,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-item--active {
  opacity: 1 !important;
  background-color: #ff639b !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-sport,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-league {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  opacity: 1 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-sport {
  font-size: 12px !important;
  font-weight: 600 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-league {
  font-size: 10px !important;
  font-weight: 400 !important;
}

[data-idx-em="13_Bet365"] .element .board-category-2 > .idx-bet-cat2-btn.is-selected .idx-bet-cat-secondary-sport,
[data-idx-em="13_Bet365"] .element .board-category-2 > .idx-bet-cat2-btn.is-selected .idx-bet-cat-secondary-league,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-item--active .idx-bet-cat-secondary-sport,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-item--active .idx-bet-cat-secondary-league {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-timer {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

[data-idx-em="13_Bet365"] .element .board-category-2 > .idx-bet-cat2-btn.is-selected .idx-bet-cat-secondary-timer,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-item--active .idx-bet-cat-secondary-timer {
  color: #fff6ec !important;
  -webkit-text-fill-color: #fff6ec !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-status,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-status--label {
  color: #c2410c !important;
  -webkit-text-fill-color: #c2410c !important;
  font-size: 10px !important;
  font-weight: 600 !important;
}

[data-idx-em="13_Bet365"] .element .board-category-2 > .idx-bet-cat2-btn.is-selected .idx-bet-cat-secondary-status,
[data-idx-em="13_Bet365"] .element .board-category-2 > .idx-bet-cat2-btn.is-selected .idx-bet-cat-secondary-status--label,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-item--active .idx-bet-cat-secondary-status,
[data-idx-em="13_Bet365"] .element .idx-bet-cat-secondary-item--active .idx-bet-cat-secondary-status--label {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 라이브 · 마켓 패널 */
[data-idx-em="13_Bet365"] .element .live-picture,
[data-idx-em="13_Bet365"] .element .game-list {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06) !important;
}

/* 라이브 박스 — 16:9 고정 (데스크톱은 가로 flex, 모바일은 세로 축소 금지) */
[data-idx-em="13_Bet365"] .element .live-picture {
  align-self: stretch !important;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 1024px) {
  [data-idx-em="13_Bet365"] .element .live-picture {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-stage {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* iframe 송출 박스 — 패딩 0, 영상 영역 최대화 */
[data-idx-em="13_Bet365"] .element .live-picture:has(.idx-bet365-live__iframe),
[data-idx-em="13_Bet365"] .element .live-picture:has(iframe) {
  padding: 0 !important;
  background-color: #1a1520 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

[data-idx-em="13_Bet365"] .element .live-picture-2,
[data-idx-em="13_Bet365"] .element .live-picture-2--iframe {
  background-color: #1a1520 !important;
  border-radius: 10px !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  position: relative !important;
  overflow: hidden !important;
}

/* img/iframe — absolute로 부모 16:9 박스 채움 (height:100% 순환 참조 방지) */
[data-idx-em="13_Bet365"] .element .live-picture-2 > img,
[data-idx-em="13_Bet365"] .element .live-picture-2--iframe .idx-bet365-live__iframe {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* ── Bet365 마켓 — 해외형(idx-sp-gl / idx-sp-dblk) 톤·수치 맞춤 ── */

/* 리그/메뉴명 숨김 — 매치명만 표시 */
[data-idx-em="13_Bet365"] .element .idx-bet-market-name-league {
  display: none !important;
}

/* 헤더 종목 아이콘(ico_fs 등) 제거 */
[data-idx-em="13_Bet365"] .element .idx-bet-market-header-left > .game {
  display: none !important;
}

[data-idx-em="13_Bet365"] .element .game-list {
  padding: 6px !important;
}

/* 헤더 — idx-sp-gl__title / names / time / bet-tag */
[data-idx-em="13_Bet365"] .element .idx-bet-market-header {
  min-height: 0 !important;
  padding: 5px 10px !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-meta {
  gap: 4px !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-name,
[data-idx-em="13_Bet365"] .element .idx-bet-market-name-match {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-family: "Noto Sans KR", "Inter", Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  max-width: none !important;
  opacity: 1 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-datetime {
  color: #9a7b5f !important;
  -webkit-text-fill-color: #9a7b5f !important;
  font-family: "Inter", Helvetica, sans-serif !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-status-chip {
  background-color: #5b4239 !important;
  border-radius: 8px 0 0 8px !important;
  padding: 6px 10px !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-timer-chip {
  background-color: #ff639b !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 6px 10px !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-status-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: "Inter", Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

/* 마켓 스택 — 해외형 상세처럼 섹션 간격 */
[data-idx-em="13_Bet365"] .element .idx-bet-market-cards {
  gap: 10px !important;
  padding: 6px 10px !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-card {
  gap: 4px !important;
}

/* 마켓 타이틀 — idx-sp-gl__mkt-h */
[data-idx-em="13_Bet365"] .element .idx-bet-market-card-head {
  height: auto !important;
  min-height: 20px !important;
  gap: 4px !important;
  padding: 0 2px !important;
}

[data-idx-em="13_Bet365"] .element .rectangle {
  background-color: #ff639b !important;
  width: 2px !important;
  height: 10px !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-card-title,
[data-idx-em="13_Bet365"] .element .idx-bet-market-card-title-alt {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  font-family: "Inter", Helvetica, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  height: auto !important;
  min-height: 20px !important;
  line-height: 1.2 !important;
  width: auto !important;
  opacity: 1 !important;
}

/* 배당 행 — 해외형처럼 셀 분리 + 2줄 허용 높이 */
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-row {
  gap: 4px !important;
  min-height: 36px !important;
  align-items: stretch !important;
}

/* 배당 셀 — 스크린샷 크림톤 · 자동높이 · radius 10 */
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-left,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-right,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-mid,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-center {
  background-color: #fff6ec !important;
  border: 1px solid #f0dcc8 !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 36px !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  gap: 6px !important;
  min-width: 0 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-center {
  width: 56px !important;
  flex: 0 0 56px !important;
  max-width: 56px !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: #ffe8f0 !important;
  border-color: #ffd0e0 !important;
  padding: 4px 4px !important;
}

/* 승무패 무(mid) — 배당만, 좌/우와 같은 크림 기본톤 */
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-mid {
  justify-content: center !important;
  align-items: center !important;
  background-color: #fff6ec !important;
  border-color: #f0dcc8 !important;
  padding: 4px 6px !important;
  flex: 0 0 56px !important;
  width: 56px !important;
  max-width: 56px !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-mid .idx-bet-market-odds-left-label,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-mid .idx-bet-market-odds-right-label {
  display: none !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-mid .idx-bet-market-odds-left-value,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-mid .idx-bet-market-odds-right-value {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-weight: 700 !important;
  margin: 0 auto !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-left-label,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-right-label {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-family: "Inter", Helvetica, sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  opacity: 1 !important;
  /* 영역 넘침 방지 — 최대 2줄 */
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-left-label {
  justify-content: flex-start !important;
  text-align: left !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-right-label {
  justify-content: flex-end !important;
  text-align: right !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-left-value,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-right-value,
[data-idx-em="13_Bet365"] .element .idx-bet-market-trend-value-a,
[data-idx-em="13_Bet365"] .element .idx-bet-market-trend-value-b {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-family: "Inter", Helvetica, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-center-label {
  color: #ff639b !important;
  -webkit-text-fill-color: #ff639b !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-market-total-line {
  color: #ff639b !important;
  -webkit-text-fill-color: #ff639b !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* 선택 — 해외형 pick.is-selected 과 동일 (핑크 솔리드) */
[data-idx-em="13_Bet365"] .element .idx-bet-odds-cell.is-selected,
[data-idx-em="13_Bet365"] .element button.idx-bet365-pick.is-selected,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-left.is-selected,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-right.is-selected,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-mid.is-selected,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-center.is-selected {
  background-color: #ff639b !important;
  border-color: #ff639b !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-odds-cell.is-selected :is(
  .idx-bet-market-odds-left-label,
  .idx-bet-market-odds-left-value,
  .idx-bet-market-odds-center-label,
  .idx-bet-market-total-line,
  .idx-bet-market-odds-right-value,
  .idx-bet-market-odds-right-label,
  .idx-bet-market-trend-value-a,
  .idx-bet-market-trend-value-b
),
[data-idx-em="13_Bet365"] .element button.idx-bet365-pick.is-selected :is(
  .idx-bet-market-odds-left-label,
  .idx-bet-market-odds-left-value,
  .idx-bet-market-odds-right-value,
  .idx-bet-market-odds-right-label
),
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-mid.is-selected .idx-bet-market-odds-left-label,
[data-idx-em="13_Bet365"] .element .idx-bet-market-odds-mid.is-selected .idx-bet-market-odds-left-value {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 점검 안내 */
[data-idx-em="13_Bet365"] .element .game-list.idx-bet365-maintenance .idx-bet365-maintenance__msg {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
}

/* 베팅내역 */
[data-idx-em="13_Bet365"] .element .bet-list,
[data-idx-em="13_Bet365"] .element .user-info {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(59, 43, 36, 0.06) !important;
  color: #3b2b24 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-title-text {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-refresh {
  background-color: #fff6ec !important;
  border: 1px solid #e8c9a8 !important;
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  font-size: 11px !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-refresh:hover {
  background-color: #ffe8f0 !important;
  border-color: #ff639b !important;
  color: #3b2b24 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-refresh img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(18%) saturate(900%) hue-rotate(340deg)
    brightness(95%) contrast(90%) !important;
  opacity: 1 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-table {
  width: 100% !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-head-row,
[data-idx-em="13_Bet365"] .element .idx-bet-history-row {
  column-gap: 1px !important;
  gap: 0 1px !important;
  background-color: #e8c9a8 !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-head-cell {
  background-color: #5b4239 !important;
  min-width: 0 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-head-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-cell {
  background-color: #fff6ec !important;
  min-width: 0 !important;
}

/* 모바일: 미니게임과 동일 — 일시/회차 위아래 · 5열 그리드 */
@media (max-width: 1024px) {
  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-row,
  [data-idx-em="13_Bet365"] .element .idx-bet-history-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.75fr) minmax(0, 0.55fr) !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-row .idx-bet-history-head-cell:nth-child(2) {
    display: none !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-row .idx-bet-history-head-cell:nth-child(1) .idx-bet-history-head-text {
    font-size: 0 !important;
    line-height: 0 !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-row .idx-bet-history-head-cell:nth-child(1) .idx-bet-history-head-text::after {
    content: '일시/회차';
    font-size: 11px !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-row .idx-bet-history-head-cell:nth-child(1) {
    grid-column: 1 !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-row .idx-bet-history-head-cell:nth-child(3) {
    grid-column: 2 !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-row .idx-bet-history-head-cell:nth-child(4) {
    grid-column: 3 !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-row .idx-bet-history-head-cell:nth-child(5) {
    grid-column: 4 !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-row .idx-bet-history-head-cell:nth-child(6) {
    grid-column: 5 !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-row {
    grid-template-rows: auto auto !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-row .idx-bet-history-cell:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-row .idx-bet-history-cell:nth-child(2) {
    grid-column: 1 !important;
    grid-row: 2 !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 2px !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-row .idx-bet-history-cell:nth-child(3) {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    height: auto !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-row .idx-bet-history-cell:nth-child(4) {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    height: auto !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-row .idx-bet-history-cell:nth-child(5) {
    grid-column: 4 !important;
    grid-row: 1 / span 2 !important;
    height: auto !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-row .idx-bet-history-cell:nth-child(6) {
    grid-column: 5 !important;
    grid-row: 1 / span 2 !important;
    height: auto !important;
  }

  [data-idx-em="13_Bet365"] .element .idx-bet-history-head-text,
  [data-idx-em="13_Bet365"] .element .idx-bet-history-cell-text,
  [data-idx-em="13_Bet365"] .element .idx-bet-history-cell-action {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
    text-align: center !important;
  }
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-cell-text {
  color: #3b2b24 !important;
  -webkit-text-fill-color: #3b2b24 !important;
  font-size: 12px !important;
  opacity: 1 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-cell-text--hit {
  color: #1f9d57 !important;
  -webkit-text-fill-color: #1f9d57 !important;
  font-weight: 800 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-cell-text--miss {
  color: #e11d48 !important;
  -webkit-text-fill-color: #e11d48 !important;
  font-weight: 800 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-cell-text--pending,
[data-idx-em="13_Bet365"] .element .idx-bet-history-cell-text--cancel {
  color: #8a6b58 !important;
  -webkit-text-fill-color: #8a6b58 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-cell-action {
  color: #c2410c !important;
  -webkit-text-fill-color: #c2410c !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-list--empty {
  color: #5b4239 !important;
  -webkit-text-fill-color: #5b4239 !important;
  font-size: 12px !important;
}

[data-idx-em="13_Bet365"] .element .idx-bet-history-page-num {
  color: #de5285 !important;
  -webkit-text-fill-color: #de5285 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

[data-idx-em="13_Bet365"] .element .board-title,
[data-idx-em="13_Bet365"] .element .title {
  background-color: #ffffff !important;
  border: 1px solid #e8c9a8 !important;
  color: #3b2b24 !important;
}


/* 플로팅 카트 — 다크 원 톤 다운 */
.floating-cart-ico--nor {
  opacity: 0.88;
  filter: saturate(0.85) brightness(1.05);
}

.floating-cart-btn.is-active .floating-cart-ico--act {
  opacity: 0.95;
  filter: saturate(0.9);
}
