img {
  vertical-align: middle;
}
/* 입금 */
.green-button3 {
  background-color: #a2ddff;
  border: 1px solid #a2ddff;
  color: #000;
  padding: 1rem 1.2rem;
  border-radius: 0.6rem;
}
.green-button2,
.green-button2:active,
.green-button2:focus,
.green-button2:hover {
  background-color: #179c2d;
  border: 1px solid #179c2d;
}
.green-button3:active,
.green-button3:focus,
.green-button3:hover {
  background-color: #a2ddff;
  border: 1px solid #a2ddff;
  color: #000;
}
.el-button {
  font-weight: 300;
}

/* popup */
@-webkit-keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes popupDimbg {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.4;
  }
}
.scroll-off {
  overflow: hidden;
}
.screen-out {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
  text-indent: -9999px !important;
}
.popup__section {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}
.popup__section.is-open {
  display: block;
}
.popup__dim {
  background: #000;
  opacity: 0;
}
.is-open .popup__dim {
  opacity: 0.4;
  animation: popupDimbg 0.5s;
}
.popup__inner,
.popup__dim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.popup__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup__container__group {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px);
  max-width: 980px;
  max-height: 60%;
  background-color: rgb(45, 52, 58);
  border-radius: 20px;
  overflow: hidden;
  animation: fade 0.5s;
}
.popup__container__group {
  max-height: 80%;
}
.popup__header__group {
  height: 77px;
  padding: 24px;
  flex-shrink: 0;
}
.popup__header__title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  line-height: 29px;
  letter-spacing: -0.8px;
}
.popup__header__close {
  width: 24px;
  height: 24px;
  background: url(/img/icon_close.png) no-repeat center/contain;
  position: absolute;
  top: 24px;
  right: 24px;
}
.popup__contents__group {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  overflow-y: auto;
  max-height: calc(80vh - 174px);
  margin-bottom: 40px;
}
.popup__button__group {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  height: 56px;
}
.popup__button__group > button + button {
  margin-left: 10px;
}
.alert {
  display: none;
  margin-top: 10px;
  margin-left: 25px;
  color: #f04c23;
  font-size: 18px;
  line-height: 1;
}
.alert.on,
.alert2.on {
  display: block;
}

.popup-sm .popup__container__group {
  max-width: 400px;
}
/* popup 끝 */
@media all and (max-width: 767px) {
  /* popup */
  .popup__container__group {
    width: 100%;
    max-height: 90%;
    border-radius: 20px 20px 0 0;
    animation-name: popupYmove;
  }
  @-webkit-keyframes popupYmove {
    0% {
      opacity: 0;
      transform: translateY(50%);
    }
    100% {
      opacity: 0.4;
      transform: translateY(0);
    }
  }

  .popup__inner {
    align-items: flex-end;
  }
  .popup-sm .popup__container__group {
    max-width: initial;
    animation-name: popupYmove;
    width: calc(100% - 32px);
    border-radius: 20px;
  }
  .popup__inner.popup-sm {
    align-items: center;
  }
  /* popup 끝 */
}
.main-center .alert-info {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}
.main-center .alert-info > div {
  display: flex;
  align-items: center;
  height: 4.5rem;
}
.deposit .red-button1 img {
  height: 80%;
}
.cost-btns {
  display: flex;
  align-items: center;
}
.cost-btns button {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cost-btns > * {
  flex: 1;
}
.main-left .sidebar {
  width: 100%;
  margin-top: 1rem;
  font-size: 1.2rem;
}
a,
a:focus,
a:hover {
  cursor: pointer;
}
.sidebar .sub-menu > li > a.text-theme-orange13 {
  font-weight: 400;
}
.table-coupon-tr > div > div {
  width: 100%;
}
@media all and (max-width: 1500px) {
  .deposit {
    flex-direction: column;
  }
  .deposit > div:nth-child(1) {
    width: 100% !important;
    padding: 0 !important;
  }
  .deposit > div:nth-child(2) {
    width: 100% !important;
  }
  .deposit > div > .el-row {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  .table-history-orange13 .table-header > div:nth-child(1),
  .table-history-orange13 .table-header > div:nth-child(3),
  .table-history-orange13 .table-history-tr > div:nth-child(1),
  .table-history-orange13 .table-history-tr > div:nth-child(3) {
    width: 8rem !important;
  }
  .table-history-orange13 .only-pc {
    display: none !important;
  }
  .table-history-orange13 .word-keep {
    width: 100%;
  }
  .live-game-cont,
  .slot-game-cont {
    width: 50%;
  }
}
@media all and (max-width: 1300px) {
  .event-wrap .col-md-12 > div:nth-child(1) {
    width: 100%;
  }
  .event-wrap .col-md-12 > div:nth-child(2) {
    display: none;
  }
  .event-wrap .collapse {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }

  .collapse.show2 {
    max-height: 1400px;
  }
  /* 출석체크 */
  .attendancew-wrap .position-absolute {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
  }
}
@media (max-width: 950px) {
  .main-center {
    width: 100%;
  }
  .cost-btns {
    flex-wrap: wrap;
  }
  .cost-btns > * {
    flex: none;
    width: calc(25% - 0.4rem);
  }
  .wallet-type img {
    display: none;
  }
  .casino-banner-orange13 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem 0;
  }
  .casino-banner-text-orange13 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .game-search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border-radius: 0 !important;
  }
}

/* 언어 선택 */
.language-selector {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.language-selector .lang-select {
  width: 150px;
  height: 40px;
  padding: 0.8rem 1.2rem;
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.4rem;
  padding-right: 3rem;
  line-height: 1.4;
}

.language-selector .lang-select:hover {
  background-color: #333;
  border-color: #555;
}

.language-selector .lang-select:focus {
  background-color: #2a2a2a;
  border-color: #179c2d;
  box-shadow: 0 0 0 2px rgba(23, 156, 45, 0.2);
}

.language-selector .lang-select option {
  background-color: #2a2a2a;
  color: #fff;
  padding: 1rem;
  font-size: 1.4rem;
}

/* 모바일 언어 선택 */
.language-selector.mobile {
  margin: 0 0.5rem;
}

.language-selector.mobile .lang-select {
  width: 80px;
  height: 36px;
  padding: 0.6rem 0.8rem;
  padding-right: 2.2rem;
  font-size: 1.2rem;
  background-size: 1rem;
}

/* 구글 번역 배너 숨기기 */
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.skiptranslate {
  display: none !important;
}

/* 모바일 반응형 */
@media all and (max-width: 767px) {
  .language-selector {
    margin: 0 0.5rem;
  }

  .language-selector .lang-select {
    padding: 0.3rem 0.6rem;
    font-size: 1rem;
  }
}

/* 로그인/회원가입 모달 스타일 - 기존 디자인 따름 */

/* 로그인 모달 */
.login-modal-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #131417;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
}

/* 회원가입 모달 */
.signup-modal-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 0 auto;
}

/* 닫기 버튼 */
.login-modal-container .modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.signup-modal-container .modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.login-modal-container .modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 헤더 */
.login-modal-header,
.signup-modal-header {
  text-align: center;
  margin-bottom: 25px;
}

.signup-modal-header {
  padding: 10px 0 20px;
}

.login-modal-logo,
.signup-modal-logo {
  max-width: 200px;
  height: auto;
}

.signup-modal-logo {
  height: 35px;
  max-width: none;
}

.login-modal-title,
.signup-modal-title {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-top: 10px;
  font-weight: normal;
}

.login-modal-subtitle,
.signup-modal-subtitle {
  display: none;
}

/* 폼 */
.login-modal-form,
.signup-modal-form {
  width: 100%;
}

.login-modal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Form Group */
.modal-form-group {
  margin-bottom: 12px;
}

.modal-form-group label {
  display: block;
  color: #999;
  font-size: 13px;
  margin-bottom: 6px;
}

/* Input & Select */
.modal-form-input,
.modal-form-select {
  width: 100%;
  height: 40px;
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  box-sizing: border-box;
}

.login-modal-form .modal-form-input {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  background: #fff;
  color: #000;
}

.modal-form-input::placeholder {
  color: #666;
}

.login-modal-form .modal-form-input::placeholder {
  color: #999;
}

.modal-form-input:focus,
.modal-form-select:focus {
  outline: none;
  border-color: #8f6855;
}

.modal-form-select {
  cursor: pointer;
}

.modal-form-select option {
  background: #1c1c1c;
  color: #fff;
}

/* Input with Button */
.modal-input-with-button {
  display: flex;
  gap: 6px;
}

.modal-input-with-button .modal-form-input {
  flex: 1;
}

.modal-check-btn {
  min-width: 80px;
  height: 40px;
  background: #8f6855;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  padding: 0 12px;
}

.modal-check-btn:hover {
  filter: brightness(0.85);
}

/* Form Row */
.modal-form-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.modal-form-row > * {
  flex: 1;
}

/* Form Options (로그인 상태 유지) */
.modal-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 13px;
}

.modal-remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #999;
  cursor: pointer;
}

.modal-remember-me input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.modal-forgot-password {
  color: #8f6855;
  text-decoration: none;
  font-size: 13px;
}

.modal-forgot-password:hover {
  text-decoration: underline;
}

/* Buttons */
.modal-login-button {
  position: relative;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  color: #fff;
  border: none;
  cursor: pointer;
  background-color: #8f6855;
  width: 100%;
  font-size: 14px;
  margin-top: 10px;
}

.modal-signup-button {
  width: 100%;
  max-width: 280px;
  height: 42px;
  background: #8f6855;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.modal-login-button:hover,
.modal-signup-button:hover {
  filter: brightness(0.85);
}

/* Divider */
.modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  color: #666;
  font-size: 13px;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #2a2a2a;
}

/* Signup/Login Link */
.modal-signup-link,
.modal-login-link {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 15px;
}

.modal-signup-link a,
.modal-login-link a {
  color: #8f6855;
  text-decoration: none;
  margin-left: 8px;
}

.modal-signup-link a:hover,
.modal-login-link a:hover {
  text-decoration: underline;
}

/* Footer (회원가입) */
.signup-modal-form .modal-signup-button {
  margin-top: 20px;
}

.modal-login-link {
  display: block;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
}

/* Bank Notice */
.modal-bank-notice {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

/* Utility Classes */
.modal-mt-10 {
  margin-top: 6px;
}

.modal-mb-10 {
  margin-bottom: 6px;
}

/* 모달 중앙 정렬 강화 */
#login-modal .popup__inner,
#signup-modal .popup__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  #login-modal .popup__inner,
  #signup-modal .popup__inner {
    padding: 15px;
  }

  .login-modal-container,
  .signup-modal-container {
    width: calc(100% - 30px);
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  #login-modal .popup__inner,
  #signup-modal .popup__inner {
    padding: 10px;
  }

  .login-modal-container,
  .signup-modal-container {
    width: calc(100% - 20px);
    padding: 20px;
    max-width: 100%;
  }

  .login-modal-container .modal-close {
    right: 10px;
    top: 10px;
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .modal-form-row {
    flex-direction: column;
    gap: 12px;
  }

  .modal-form-options {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .modal-input-with-button {
    flex-direction: column;
  }

  .modal-check-btn {
    width: 100%;
  }
}

/* 왼쪽 메뉴 텍스트 길이 제한 (베트남어 대응) */
.left-line2 a {
  display: inline-flex;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform-origin: center center;
}

/* 왼쪽 메뉴 hover 애니메이션 */
.left-line2 a:hover {
  background: linear-gradient(135deg, #8f6855 0%, #a77e68 100%);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(143, 104, 85, 0.4);
  z-index: 10;
  border-radius: 0.4rem;
  font-weight: 500;
}

.left-line2 a:active {
  transform: scale(0.99);
  transition: all 0.1s ease;
}

/* 모바일 메뉴 텍스트 길이 제한 (베트남어 대응) */
.mobile-menu__list .left-line2 a {
  display: inline-flex;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform-origin: center center;
}

/* 모바일 메뉴 hover 애니메이션 */
.mobile-menu__list .left-line2 a:hover {
  background: linear-gradient(135deg, #8f6855 0%, #a77e68 100%);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(143, 104, 85, 0.4);
  z-index: 10;
  border-radius: 0.4rem;
  font-weight: 500;
}

.mobile-menu__list .left-line2 a:active {
  transform: scale(0.99);
  transition: all 0.1s ease;
}

/* 로그인/회원가입 버튼 텍스트 길이 제한 (베트남어 대응) */
.login-btn,
.join-btn {
  display: inline-flex;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

/* PC 헤더 버튼 */
.pc-menu .login-btn,
.pc-menu .join-btn {
  max-width: 110px;
}

/* 모바일 헤더 버튼 */
.mobile-menu .login-btn,
.mobile-menu .join-btn {
  max-width: 90px;
}

/* 배팅 슬립 빈 상태 스타일 */
.empty-betting-slip {
  text-align: center;
  padding: 60px 20px;
  background: #000 !important;
  border-radius: 8px;
  margin: 10px 0;
    font-weight: bold;
}

.empty-betting-slip p {
  color: #999;
  font-size: 16px;
  margin: 0;
    text-align: center;
}

/* 우측 사이드바 - 잔액 표시 */
.balance-display {
  padding: 25px 20px;
  text-align: center;
  background: linear-gradient(to right, #443631, #9a6c3e);
}

.balance-display .welcome-text {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  font-size: 14px;
}

.balance-display .welcome-text strong {
  font-size: 16px;
}

.balance-info-box {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}

.balance-item {
  margin-bottom: 12px;
}

.balance-item:last-child {
  margin-bottom: 0;
}

.balance-label {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin-bottom: 5px;
}

.balance-amount {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.balance-amount span {
  font-size: 18px;
  margin-left: 3px;
}

.point-amount {
  color: #fc7604;
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.point-amount span {
  font-size: 16px;
  margin-left: 3px;
}

.frozen-notice {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  margin-top: 10px;
}

/* 배당 버튼 기본 스타일 */
.odd-btn {
  /*min-width: 90px !important;  !* 최소 너비 고정 *!*/
  width: 90px !important;      /* 너비 고정 */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* 배당 버튼 선택 상태 스타일 */
.odd-btn.selected {
  background: #8f6855 !important;
  color: #fff !important;
  border-color: #a77e68 !important;
  box-shadow: 0 0 8px rgba(143, 104, 85, 0.6);
  font-weight: bold;
}

.odd-btn.selected p {
  color: #fff !important;
}

/* Micromodal 스타일 */
.modal {
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal__container {
  background-color: #2d343a;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border-radius: 8px;
  overflow-y: auto;
  box-sizing: border-box;
  position: relative;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal__header.header-hidden {
  display: none !important;
}

.modal__title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.modal__close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.modal__close:before,
.modal__close:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
}

.modal__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__close:hover:before,
.modal__close:hover:after {
  background: #fc7604;
}

.modal__content {
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-message {
  color: #fff;
  font-size: 16px;
  margin: 0;
}

.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal__btn {
  padding: 10px 24px;
  background-color: #444;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal__btn:hover {
  background-color: #555;
}

.modal__btn-primary {
  background-color: #8f6855;
}

.modal__btn-primary:hover {
  background-color: #a77e68;
}

/* 애니메이션 */
@keyframes mmfadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mmfadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
  to { transform: translateY(0); }
}

@keyframes mmslideOut {
  from { transform: translateY(0); }
  to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

/* 배팅 슬립 아이템 공백 조정 */
.right-line2-data {
  width: 100% !important;
}

.right-line2-data > div {
  padding: 5px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* X 버튼과 배당을 오른쪽 끝에 붙임 */
.right-line2-data .data-right {
  margin-right: 0 !important;
  padding-right: 0 !important;
}

.right-line2-data .data-right button {
  margin-right: 0 !important;
  padding-right: 0 !important;
}

.right-line2-data .data-right p {
  margin-right: 0 !important;
}

/* 경기 목록 컨테이너 스타일 */
#matches {
  min-height: 400px;
  /*padding: 20px;*/
}

/* 경기 목록 로딩 상태 */
.matches-loading {
  text-align: center;
  padding: 40px;
  color: #888;
  font-size: 2em;
}

/* 추가 마켓 숨김 상태 */
.sports_right-hidden {
  display: none;
}

/* 배팅내역 페이지 스타일 */
.details-table th,
.details-table td {
  text-align: center;
}

.latest-bet {
  border: 2px solid #ffd700;
}

.league-icon {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  vertical-align: middle;
}

.team-icon {
  width: 14px;
  height: 14px;
  margin: 0 3px;
  vertical-align: middle;
}

.sport-type-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.empty-message {
  text-align: center;
  padding: 50px;
  color: #999;
}

/* 추가 마켓 경기 정보 박스 */
.market-match-info {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.market-match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.market-sport-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.market-match-time {
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  flex: 1;
  text-align: center;
}

.market-league-name {
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  flex-shrink: 0;
}

.market-match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.market-team-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.market-team-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.market-team-name {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
}

.market-vs {
  color: #8f6855;
  font-size: 20px;
  font-weight: bold;
  margin: 0 10px;
}

/* 슬롯 페이지 배너 레이아웃 */
.slot-banner-layout {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

.slot-banner-left {
  display: flex;
  align-items: center;
  float: none !important;
}

.slot-banner-title {
  color: #fff;
  font-size: 18px;
}

.slot-banner-right {
  margin-right: 20px;
  float: none !important;
  margin-left: auto;
}

.vendor-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.vendor-count {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.vendor-search-input {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 200px;
  background: #fff;
  color: #333;
}

.vendor-search-input::placeholder {
  color: #999;
}

.vendor-search-btn {
  padding: 8px 20px;
  background: #f39c12;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.vendor-search-btn:hover {
  background: #e67e22;
}

.vendor-reset-btn {
  padding: 8px 15px;
  background: #666;
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.vendor-reset-btn:hover {
  background: #555;
}

/* 경기목록 전체 너비 사용 - 주석 처리 (추가 배팅옵션 기능 활성화) */
/*.menu_sports .sports_left {
  width: 100% !important;
}

.menu_sports .sports_right {
  display: none !important;
}*/

/* 승무패 배당 버튼 스타일 수정 - 마켓 이름 제거 후 */
/* HTML 구조: button(홈) → button(무) → button(원정) */
.sports-game-date .game-list li > button:nth-child(1),
.sports-game-date .game-list li > button:nth-child(3) {
  flex: 1 !important;
  width: auto !important; /* style.css의 width: 10rem 오버라이드 */
  min-width: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a7a7a7;
  background: linear-gradient(to top, #141518, #212126);
  border-top: 0.1rem solid #28282f;
  border-left: 0.1rem solid #28282f;
  gap: 0.8rem;
}

.sports-game-date .game-list li > button:nth-child(2) {
  width: 8rem !important; /* 무 버튼 크기 증가 (기존 10rem → 12rem) */
  color: #a7a7a7;
  font-size: 1.4rem;
  background: linear-gradient(to top, #141518, #212126);
  border-top: 0.1rem solid #28282f;
  border-left: 0.1rem solid #28282f;
}

.sports-game-date .game-list li > button:nth-child(1) p,
.sports-game-date .game-list li > button:nth-child(3) p {
  font-size: 1.4rem;
  flex: 1;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sports-game-date .game-list li > button:nth-child(1) > p {
  text-align: left;
}

.sports-game-date .game-list li > button:nth-child(3) > p {
  text-align: right;
}

.sports-game-date .game-list li > button:nth-child(1) div,
.sports-game-date .game-list li > button:nth-child(3) div {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.sports-game-date .game-list li > button:nth-child(1) {
  padding: 0 1.2rem 0 2rem;
}

.sports-game-date .game-list li > button:nth-child(3) {
  padding: 0 2rem 0 1.2rem;
}

/* 배당 변경 애니메이션 */
@keyframes odds-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* 배당 상승 애니메이션 */
.odd-btn.odds-up {
  animation: odds-blink 0.5s ease-in-out 10;
}

.odd-btn.odds-up p,
.odd-btn.odds-up div p {
  color: #ff4444 !important;
  font-weight: bold;
}

.odd-btn.odds-up img {
  animation: odds-blink 0.5s ease-in-out 10;
}

/* 배당 하락 애니메이션 */
.odd-btn.odds-down {
  animation: odds-blink 0.5s ease-in-out 10;
}

.odd-btn.odds-down p,
.odd-btn.odds-down div p {
  color: #4444ff !important;
  font-weight: bold;
}

.odd-btn.odds-down img {
  animation: odds-blink 0.5s ease-in-out 10;
}

/* 추가 마켓 버튼 배당 상승 애니메이션 */
.s__accordion01-contents button.odds-up {
  animation: odds-blink 0.5s ease-in-out 10;
}

.s__accordion01-contents button.odds-up p,
.s__accordion01-contents button.odds-up div p {
  color: #ff4444 !important;
  font-weight: bold;
}

.s__accordion01-contents button.odds-up img {
  animation: odds-blink 0.5s ease-in-out 10;
}

/* 추가 마켓 버튼 배당 하락 애니메이션 */
.s__accordion01-contents button.odds-down {
  animation: odds-blink 0.5s ease-in-out 10;
}

.s__accordion01-contents button.odds-down p,
.s__accordion01-contents button.odds-down div p {
  color: #4444ff !important;
  font-weight: bold;
}

.s__accordion01-contents button.odds-down img {
  animation: odds-blink 0.5s ease-in-out 10;
}

/* 모바일 추가 마켓 레이어 배당 상승 애니메이션 */
.mobile-market-body button.odds-up {
  animation: odds-blink 0.5s ease-in-out 10;
}

.mobile-market-body button.odds-up p,
.mobile-market-body button.odds-up div p {
  color: #ff4444 !important;
  font-weight: bold;
}

.mobile-market-body button.odds-up img {
  animation: odds-blink 0.5s ease-in-out 10;
}

/* 모바일 추가 마켓 레이어 배당 하락 애니메이션 */
.mobile-market-body button.odds-down {
  animation: odds-blink 0.5s ease-in-out 10;
}

.mobile-market-body button.odds-down p,
.mobile-market-body button.odds-down div p {
  color: #4444ff !important;
  font-weight: bold;
}

.mobile-market-body button.odds-down img {
  animation: odds-blink 0.5s ease-in-out 10;
}

/* 플로팅 버튼 닫기 */
.menu-close2 {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.5rem;
  background: #1a1a1f;
  border: none;
  border-bottom: 2px solid #444;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.menu-close2:hover {
  background: #3a3a3f;
}

/* 모바일 추가 마켓 레이어 팝업 */
.mobile-market-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.mobile-market-modal.is-open {
  display: block;
}

.mobile-market-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.mobile-market-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1f;
  z-index: 2;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-market-header {
  position: sticky;
  top: 0;
  background: #28282f;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #444;
  z-index: 10;
}

.mobile-market-header h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
}

.mobile-market-close {
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-market-close:active {
  opacity: 0.7;
}

.mobile-market-body {
  padding: 1.5rem;
}

/* PC에서는 중앙 모달로 표시 */
@media (min-width: 769px) {
  .mobile-market-content {
    width: 80%;
    max-width: 900px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  }
}

/* 모바일에서 body 스크롤 방지 */
body.mobile-market-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* 모바일 마켓 팝업 내부 스타일 (기존 sports_right_line2 스타일 적용) */
.mobile-market-body .market-match-info,
.mobile-market-body .s__accordion01-wrap,
.mobile-market-body .s__accordion01,
.mobile-market-body .s__accordion01-title,
.mobile-market-body .s__accordion01-contents {
  /* 기존 스타일 상속 */
}

.mobile-market-body .s__accordion01-contents button {
  margin: 0.5rem;
  min-width: 100px;
  padding: 1rem;
  background: #2a2a2f;
  border: 1px solid #444;
  border-radius: 0.4rem;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mobile-market-body .s__accordion01-contents button:active {
  background: #3a3a3f;
}

.mobile-market-body .s__accordion01-contents button.on_active {
  background: #9a6c3e;
  border-color: #b8935e;
}

.mobile-market-body .s__accordion01-contents button p {
  color: #fff;
  margin: 0;
}

.mobile-market-body .s__accordion01-contents button div {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* PC 및 모바일 마켓 타이틀 - 24시간내 경기 버튼과 동일한 스타일 */
.sports_right .s__accordion01-title button,
.mobile-market-body .s__accordion01-title button {
  width: 100%;
  padding: 1.5rem;
  background: var(--main) !important;
  border: none;
  border-bottom: 1px solid #444;
  color: #fff !important;
  font-size: 1.6rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-market-body .s__accordion01-contents {
  padding: 1rem;
  background: #1a1a1f;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.mobile-market-body .s__accordion01-contents.three button {
  flex: 0 0 calc(33.333% - 1rem);
}

.mobile-market-body .s__accordion01-contents.two button {
  flex: 0 0 calc(50% - 1rem);
}

.mobile-market-body .market-match-info {
  background: #28282f;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0.4rem;
}

.mobile-market-body .market-match-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #999;
  font-size: 1.3rem;
}

.mobile-market-body .market-sport-icon {
  width: 24px;
  height: 24px;
}

.mobile-market-body .market-match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-market-body .market-team-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-market-body .market-team-name {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}

.mobile-market-body .market-vs {
  color: #9a6c3e;
  font-size: 1.6rem;
  font-weight: bold;
}

/* 마이페이지 (정보수정) 스타일 */
.mypage-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.mypage-section {
  background: #1a1a1f;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.mypage-section h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 2rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #444;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #aaa;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 1.2rem;
  background: #28282f;
  border: 1px solid #444;
  border-radius: 4px;
  color: #fff;
  font-size: 1.4rem;
  transition: all 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #8f6855;
  box-shadow: 0 0 0 2px rgba(143, 104, 85, 0.1);
}

.form-group input:disabled {
  background: #222;
  color: #666;
  cursor: not-allowed;
}

.form-group input::placeholder {
  color: #555;
}

.bank-info-notice {
  color: #ff9800;
  font-size: 1.3rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 152, 0, 0.1);
  border-radius: 4px;
  border-left: 3px solid #ff9800;
}

.no-bank-info {
  color: #aaa;
  font-size: 1.4rem;
  text-align: center;
  padding: 3rem;
  background: #222;
  border-radius: 4px;
}

.mypage-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.mypage-buttons button {
  padding: 1.5rem 4rem;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: linear-gradient(to right, #8f6855, #a77e68);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(to right, #a77e68, #b88f7a);
  box-shadow: 0 4px 12px rgba(143, 104, 85, 0.3);
}

.btn-secondary {
  background: #333;
  color: #fff;
}

.btn-secondary:hover {
  background: #444;
}

@media (max-width: 768px) {
  .mypage-container {
    padding: 1rem;
  }

  .mypage-section {
    padding: 1.5rem;
  }

  .mypage-section h3 {
    font-size: 1.6rem;
  }

  .mypage-buttons {
    flex-direction: column;
  }

  .mypage-buttons button {
    width: 100%;
  }
}

/* QnA 페이지 스타일 */
.qna-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.qna-table {
  width: 100%;
  border-collapse: collapse;
  background: #2a2a2f;
  color: #fff;
  font-size: 1.6rem;
}

.qna-table th,
.qna-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #353637;
}

.qna-table th {
  background: #2a2a2f;
  font-weight: 500;
  border-bottom: 2px solid #444;
}

.qna-table th:nth-child(1) {
  width: 8%;
}

.qna-table th:nth-child(2) {
  width: 40%;
}

.qna-table th:nth-child(3) {
  width: 12%;
}

.qna-table th:nth-child(4) {
  width: 12%;
}

.qna-table th:nth-child(5) {
  width: 18%;
}

.qna-table th:nth-child(6) {
  width: 10%;
}

.qna-table td {
  background: #1f1f24;
}

.qna-table td:nth-child(1) {
  width: 8%;
}

.qna-table td:nth-child(2) {
  width: 40%;
}

.qna-table td:nth-child(3) {
  width: 12%;
}

.qna-table td:nth-child(4) {
  width: 12%;
}

.qna-table td:nth-child(5) {
  width: 18%;
}

.qna-table td:nth-child(6) {
  width: 10%;
}

.qna-toggle-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  text-align: left;
  width: 100%;
  font-size: 1.6rem;
}

.qna-toggle-btn:hover {
  color: #ffc107;
}

.qna-delete-btn {
  background: #dc3545;
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.4rem;
}

.qna-delete-btn:hover {
  background: #c82333;
}

.qna-status.completed {
  color: #28a745;
}

.qna-status.not-completed {
  color: #ffc107;
}

.qna-status.processing {
  color: #17a2b8;
}

.qna-read.view {
  color: #28a745;
}

.qna-read.not-view {
  color: #dc3545;
}

.qna-content-row td {
  background: #2a2a2f;
  padding: 0;
}

.qna-table .no-data td {
  padding: 50px;
  text-align: center;
  color: #999;
}

.inquiry-write-container {
  background: #2a2a2f;
  padding: 30px;
  border-radius: 8px;
  margin: 20px 0;
}

.inquiry-write-container .form-group {
  margin-bottom: 25px;
}

.inquiry-write-container label {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.inquiry-write-container input[type="text"],
.inquiry-write-container select,
.inquiry-write-container textarea {
  width: 100%;
  padding: 12px 15px;
  background: #1a1a1f;
  border: 1px solid #444;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
}

.inquiry-write-container textarea {
  resize: vertical;
  min-height: 200px;
  font-family: inherit;
}

.inquiry-write-container input[type="text"]:focus,
.inquiry-write-container select:focus,
.inquiry-write-container textarea:focus {
  outline: none;
  border-color: #9a6c3e;
}

.inquiry-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.inquiry-buttons .btn-primary,
.inquiry-buttons .btn-secondary {
  min-width: 120px;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.inquiry-buttons .btn-primary {
  background: linear-gradient(to right, #9a6c3e, #c4935f);
  color: #fff;
}

.inquiry-buttons .btn-primary:hover {
  background: linear-gradient(to right, #8a5c2e, #b4834f);
}

.inquiry-buttons .btn-secondary {
  background: #444;
  color: #fff;
}

.inquiry-buttons .btn-secondary:hover {
  background: #555;
}

.qna-line1 button.quick-account-btn,
.qna-line1 button.write-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.qna-line1 button.quick-account-btn {
  background: linear-gradient(to right, #4a90e2, #5ba3f5);
  color: #fff;
}

.qna-line1 button.quick-account-btn:hover {
  background: linear-gradient(to right, #3a80d2, #4b93e5);
}

.qna-line1 button.write-btn {
  background: linear-gradient(to right, #9a6c3e, #c4935f);
  color: #fff;
}

.qna-line1 button.write-btn:hover {
  background: linear-gradient(to right, #8a5c2e, #b4834f);
}

.inquiry-content {
  padding: 20px;
  background: #1a1a1f;
  border-radius: 4px;
}

.inquiry-section,
.answer-section {
  margin-bottom: 20px;
  padding: 15px;
  background: #2a2a2f;
  border-radius: 4px;
}

.inquiry-section:last-child,
.answer-section:last-child {
  margin-bottom: 0;
}

.inquiry-section h4,
.answer-section h4 {
  color: #9a6c3e;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.inquiry-section p,
.answer-section p {
  color: #ddd;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.answer-date {
  color: #999 !important;
  font-size: 12px;
  margin-top: 10px;
  font-style: italic;
}

.waiting-answer {
  color: #999 !important;
  font-style: italic;
}

.qna-line2 .no-data {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

/* 공지사항 페이지 스타일 */
.notice-list {
  background: #2a2a2f;
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}

.notice-item {
  border-bottom: 1px solid #444;
  transition: background 0.3s;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item:hover {
  background: #333;
}

.notice-header {
  display: flex;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.notice-important {
  background: #3a2a1f !important;
}

.notice-important .notice-title {
  color: #f39c12;
  font-weight: 600;
}

.notice-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  margin-right: 10px;
}

.notice-title {
  flex: 1;
  color: #fff;
  font-size: 15px;
}

.notice-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #999;
  font-size: 13px;
}

.notice-content {
  padding: 20px;
  background: #1a1a1f;
  border-top: 1px solid #444;
  color: #ddd;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 이벤트 페이지 스타일 */
.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.event-card {
  background: #2a2a2f;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.event-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #1a1a1f;
}

.event-body {
  padding: 20px;
}

.event-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.event-period {
  color: #9a6c3e;
  font-size: 13px;
  margin-bottom: 10px;
}

.event-summary {
  color: #ddd;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 10px;
}

.event-status.active {
  background: #27ae60;
  color: #fff;
}

.event-status.ended {
  background: #95a5a6;
  color: #fff;
}

/* 이벤트 상세 모달 */
.event-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  overflow-y: auto;
}

.event-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-modal-content {
  background: #2a2a2f;
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  margin: 20px;
  position: relative;
}

.event-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #444;
  border: none;
  color: #fff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.event-modal-close:hover {
  background: #555;
}

.event-modal-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.event-modal-body {
  padding: 30px;
}

.event-modal-title {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.event-modal-period {
  color: #9a6c3e;
  font-size: 14px;
  margin-bottom: 20px;
}

.event-modal-content-text {
  color: #ddd;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 쪽지함 페이지 스타일 */
.message-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #444;
}

.message-tab {
  padding: 12px 24px;
  background: transparent;
  border: none;
  color: #999;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.message-tab:hover {
  color: #fff;
}

.message-tab.active {
  color: #9a6c3e;
  border-bottom-color: #9a6c3e;
}

.message-list {
  background: #2a2a2f;
  border-radius: 8px;
  overflow: hidden;
}

.message-item {
  border-bottom: 1px solid #444;
  transition: background 0.3s;
}

.message-item:last-child {
  border-bottom: none;
}

.message-item:hover {
  background: #333;
}

.message-item.unread {
  background: #2a3a2f;
}

.message-header {
  display: flex;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.message-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 15px;
  background: #95a5a6;
}

.message-item.unread .message-status {
  background: #27ae60;
}

.message-subject {
  flex: 1;
  color: #fff;
  font-size: 15px;
}

.message-item.unread .message-subject {
  font-weight: 600;
}

.message-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #999;
  font-size: 13px;
}

.message-content-wrapper {
  padding: 20px;
  background: #1a1a1f;
  border-top: 1px solid #444;
}

.message-content {
  color: #ddd;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 15px;
}

.message-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.message-actions button {
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.message-delete-btn {
  background: #e74c3c;
  color: #fff;
}

.message-delete-btn:hover {
  background: #c0392b;
}

@media (max-width: 768px) {
  .inquiry-buttons {
    flex-direction: column;
  }

  .inquiry-buttons .btn-primary,
  .inquiry-buttons .btn-secondary {
    width: 100%;
  }

  .event-list {
    grid-template-columns: 1fr;
  }

  .message-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .message-tab {
    white-space: nowrap;
  }

  /* QnA 모바일 스타일 */
  .qna-line1 {
    flex-direction: column;
    gap: 10px;
  }

  .qna-line1 p {
    text-align: center;
  }

  .qna-line1 div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .qna-line1 button {
    width: 100% !important;
  }

  .qna-line2 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .qna-table {
    font-size: 1.4rem;
  }

  .qna-table th,
  .qna-table td {
    padding: 10px;
    font-size: 1.4rem;
  }

  .qna-toggle-btn {
    font-size: 1.4rem;
  }

  .qna-delete-btn {
    padding: 6px 12px;
    font-size: 1.2rem;
  }

  .inquiry-write-container {
    padding: 15px;
  }

  .inquiry-content {
    padding: 10px;
  }

  .inquiry-section,
  .answer-section {
    padding: 10px;
  }
}

/* Toast 알림창 스타일 */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  pointer-events: auto;
  min-width: 250px;
  max-width: 400px;
  word-wrap: break-word;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-left: 4px solid #1e7e34;
}

.toast-error {
  background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
  border-left: 4px solid #c82333;
}

.toast-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  border-left: 4px solid #e0a800;
  color: #000;
}

.toast-info {
  background: linear-gradient(135deg, #17a2b8 0%, #00bcd4 100%);
  border-left: 4px solid #117a8b;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  #toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .toast {
    font-size: 1.3rem;
    padding: 12px 16px;
    min-width: auto;
    max-width: none;
  }
}

/* QnA 페이지네이션 */
.qna-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 20px 0;
}

.qna-pagination .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 12px;
  background: linear-gradient(to right, #443631, #9a6c3e);
  color: #fff;
  border: 1px solid #6b4423;
  border-radius: 6px;
  font-size: 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qna-pagination .page-btn:hover {
  background: linear-gradient(to right, #5a4641, #ab7d4e);
  border-color: #8b6333;
}

.qna-pagination .page-btn.active {
  background: linear-gradient(to right, #6b5641, #bb8d5e);
  border-color: #9b7343;
  color: #fff;
  font-weight: bold;
  cursor: default;
  box-shadow: 0 0 10px rgba(155, 115, 67, 0.5);
}

.qna-pagination .prev-btn,
.qna-pagination .next-btn {
  background: linear-gradient(to right, #443631, #9a6c3e);
  font-weight: 500;
}

.qna-pagination .prev-btn:hover,
.qna-pagination .next-btn:hover {
  background: linear-gradient(to right, #5a4641, #ab7d4e);
}

@media (max-width: 768px) {
  .qna-pagination {
    gap: 6px;
    margin-top: 20px;
  }

  .qna-pagination .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 6px 10px;
    font-size: 1.3rem;
  }
}

/* 공지사항 테이블 스타일 */
.notice-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
  background: #2a2a2f;
  color: #fff;
  font-size: 1.6rem;
}

.notice-table th,
.notice-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #353637;
}

.notice-table th {
  background: #2a2a2f;
  font-weight: 500;
  border-bottom: 2px solid #444;
}

.notice-table th:nth-child(1) { width: 10%; }
.notice-table th:nth-child(2) { width: 60%; }
.notice-table th:nth-child(3) { width: 15%; }
.notice-table th:nth-child(4) { width: 15%; }

.notice-table td { background: #1f1f24; }

.notice-table td:nth-child(1) { width: 10%; }
.notice-table td:nth-child(2) { width: 60%; }
.notice-table td:nth-child(3) { width: 15%; }
.notice-table td:nth-child(4) { width: 15%; }

.notice-badge {
  background: linear-gradient(to right, #dc3545, #e83e8c);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 1.3rem;
  font-weight: bold;
}

.notice-toggle-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 5px 10px;
  font-size: 1.6rem;
  transition: color 0.3s ease;
}

.notice-toggle-btn:hover {
  color: #bb8d5e;
}

.notice-content {
  padding: 20px;
  background: #16161a;
  color: #ddd;
  line-height: 1.8;
  text-align: left;
}

.notice-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 20px 0;
}

.notice-pagination .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 12px;
  background: linear-gradient(to right, #443631, #9a6c3e);
  color: #fff;
  border: 1px solid #6b4423;
  border-radius: 6px;
  font-size: 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notice-pagination .page-btn:hover {
  background: linear-gradient(to right, #5a4641, #ab7d4e);
  border-color: #8b6333;
}

.notice-pagination .page-btn.active {
  background: linear-gradient(to right, #6b5641, #bb8d5e);
  border-color: #9b7343;
  color: #fff;
  font-weight: bold;
  cursor: default;
  box-shadow: 0 0 10px rgba(155, 115, 67, 0.5);
}

/* 이벤트 테이블 스타일 */
.event-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  background: #2a2a2f;
  color: #fff;
  font-size: 1.6rem;
}

.event-table th,
.event-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #353637;
}

.event-table th {
  background: #2a2a2f;
  font-weight: 500;
  border-bottom: 2px solid #444;
}

.event-table th:nth-child(1) { width: 8%; }
.event-table th:nth-child(2) { width: 45%; }
.event-table th:nth-child(3) { width: 25%; }
.event-table th:nth-child(4) { width: 12%; }
.event-table th:nth-child(5) { width: 10%; }

.event-table td { background: #1f1f24; }

.event-table td:nth-child(1) { width: 8%; }
.event-table td:nth-child(2) { width: 45%; }
.event-table td:nth-child(3) { width: 25%; }
.event-table td:nth-child(4) { width: 12%; }
.event-table td:nth-child(5) { width: 10%; }

.event-toggle-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 5px 10px;
  font-size: 1.6rem;
  transition: color 0.3s ease;
}

.event-toggle-btn:hover {
  color: #bb8d5e;
}

.event-status.active {
  color: #28a745;
  font-weight: bold;
}

.event-status.ended {
  color: #dc3545;
  font-weight: bold;
}

.event-content-image {
  padding: 20px;
  text-align: center;
  background: #16161a;
}

.event-content-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.event-content {
  padding: 20px;
  background: #16161a;
  color: #ddd;
  line-height: 1.8;
  text-align: left;
}

.event-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 20px 0;
}

.event-pagination .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 12px;
  background: linear-gradient(to right, #443631, #9a6c3e);
  color: #fff;
  border: 1px solid #6b4423;
  border-radius: 6px;
  font-size: 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.event-pagination .page-btn:hover {
  background: linear-gradient(to right, #5a4641, #ab7d4e);
  border-color: #8b6333;
}

.event-pagination .page-btn.active {
  background: linear-gradient(to right, #6b5641, #bb8d5e);
  border-color: #9b7343;
  color: #fff;
  font-weight: bold;
  cursor: default;
  box-shadow: 0 0 10px rgba(155, 115, 67, 0.5);
}

/* 쪽지함 테이블 스타일 */
.message-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.message-table {
  width: 100%;
  border-collapse: collapse;
  background: #2a2a2f;
  color: #fff;
  font-size: 1.6rem;
}

.message-table th,
.message-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #353637;
}

.message-table th {
  background: #2a2a2f;
  font-weight: 500;
  border-bottom: 2px solid #444;
}

.message-table th:nth-child(1) { width: 10%; }
.message-table th:nth-child(2) { width: 12%; }
.message-table th:nth-child(3) { width: 48%; }
.message-table th:nth-child(4) { width: 20%; }
.message-table th:nth-child(5) { width: 10%; }

.message-table td { background: #1f1f24; }

.message-table td:nth-child(1) { width: 10%; }
.message-table td:nth-child(2) { width: 12%; }
.message-table td:nth-child(3) { width: 48%; }
.message-table td:nth-child(4) { width: 20%; }
.message-table td:nth-child(5) { width: 10%; }

.message-item.unread {
  background: rgba(187, 141, 94, 0.1);
}

.message-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 1.3rem;
  font-weight: bold;
}

.message-status-badge.unread {
  background: linear-gradient(to right, #dc3545, #e83e8c);
  color: #fff;
}

.message-status-badge.read {
  background: #555;
  color: #aaa;
}

.message-toggle-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 5px 10px;
  font-size: 1.6rem;
  transition: color 0.3s ease;
}

.message-toggle-btn:hover {
  color: #bb8d5e;
}

.message-delete-btn {
  background: linear-gradient(to right, #dc3545, #e83e8c);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.message-delete-btn:hover {
  background: linear-gradient(to right, #c82333, #d81b60);
}

.message-content {
  padding: 20px;
  background: #16161a;
  color: #ddd;
  line-height: 1.8;
  text-align: left;
}

.message-read-time {
  padding: 10px 20px;
  background: #16161a;
  color: #999;
  font-size: 1.3rem;
  text-align: right;
}

.message-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 20px 0;
}

.message-pagination .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 12px;
  background: linear-gradient(to right, #443631, #9a6c3e);
  color: #fff;
  border: 1px solid #6b4423;
  border-radius: 6px;
  font-size: 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.message-pagination .page-btn:hover {
  background: linear-gradient(to right, #5a4641, #ab7d4e);
  border-color: #8b6333;
}

.message-pagination .page-btn.active {
  background: linear-gradient(to right, #6b5641, #bb8d5e);
  border-color: #9b7343;
  color: #fff;
  font-weight: bold;
  cursor: default;
  box-shadow: 0 0 10px rgba(155, 115, 67, 0.5);
}

@media (max-width: 768px) {
  .notice-table,
  .event-table,
  .message-table {
    font-size: 1.4rem;
  }

  .notice-table th,
  .notice-table td,
  .event-table th,
  .event-table td,
  .message-table th,
  .message-table td {
    padding: 10px;
    font-size: 1.4rem;
  }

  .notice-toggle-btn,
  .event-toggle-btn,
  .message-toggle-btn {
    font-size: 1.4rem;
  }

  .notice-pagination,
  .event-pagination,
  .message-pagination {
    gap: 6px;
    margin-top: 20px;
  }

  .notice-pagination .page-btn,
  .event-pagination .page-btn,
  .message-pagination .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 6px 10px;
    font-size: 1.3rem;
  }
}

/* 추가 배팅옵션 버튼 스타일 */
.view-more-markets {
  background: var(--main) !important;
  color: #fff !important;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: normal;
  transition: opacity 0.2s;
}

.view-more-markets:hover {
  opacity: 0.9;
}

/* 최근 인기리그 아이콘 크기 조정 */
.left-line6 p img[src*="icon_globe"] {
  width: 20px;
  height: auto;
  vertical-align: middle;
}

/* 배팅 결과 - 적특 (VOID) 녹색 배경 */
.status-void {
    display: inline-block;
    padding: 0.6rem 1.6rem;
    border-radius: 0.4rem;
    background-color: #28a745;  /* 녹색 배경 */
    font-size: 1.6rem;
    text-wrap: nowrap;
    color: #fff;
}

/* 로그인 후 오른쪽 사이드바 user-info 스타일 */
.user-info-btns a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.6rem;
  gap: 0.8rem;
  background-color: #181818;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
}
.user-info-btns a:hover {
  background-color: #252525;
}
.user-info-btns a:last-child {
  width: 5.4rem;
  flex: none;
}
.user-info-btns a img {
  width: 1.6rem;
  height: auto;
}

/* ============================================
   마켓 즐겨찾기 스타일
   ============================================ */

/* 즐겨찾기 필터 버튼 영역 */
.market-favorite-filter {
    padding: 1rem;
    border-bottom: 1px solid #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.fav-filter-desc {
    color: #888;
    font-size: 1.2rem;
    margin-left: auto;
}

.fav-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 0.5rem;
    color: #aaa;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fav-filter-btn:hover {
    background: #333;
    border-color: #ffd700;
    color: #ffd700;
}

.fav-filter-btn.on_active {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    border-color: #ffd700;
    color: #000;
    font-weight: bold;
}

.fav-filter-btn i {
    font-size: 1.4rem;
}

/* 아코디언 버튼 내 마켓 이름 스타일 */
.mobile-market-body .s__accordion01-title button > span:first-of-type,
.sports_right .s__accordion01-title button > span:first-of-type {
    flex: 1;
    text-align: left;
}

/* 즐겨찾기 버튼 (마켓별 - span으로 버튼 내부에 위치) */
.market-fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 0 2px rgba(255,255,255,0.5);
}

.market-fav-btn:hover {
    border-color: #ffd700;
    color: #ffd700;
    transform: scale(1.1);
}

.market-fav-btn.is-favorite {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%) !important;
    border-color: #ffd700 !important;
    color: #000 !important;
    text-shadow: none !important;
}

.market-fav-btn.is-favorite:hover {
    background: linear-gradient(135deg, #ffdb4d 0%, #ffa033 100%) !important;
}

/* 즐겨찾기 없음 메시지 */
.no-favorite-msg {
    text-align: center;
    padding: 3rem 2rem;
    color: #888;
    font-size: 1.4rem;
    line-height: 1.8;
}

/* 반응형 */
@media screen and (max-width: 768px) {
    .market-fav-btn {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1.2rem;
    }

    .fav-filter-btn {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
}

/* ============================================
   리그 즐겨찾기 스타일
   ============================================ */

/* 리그 즐겨찾기 필터 영역 (별도 바) */
.sports_line3_5 {
    padding: 0 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.league-favorite-filter-bar {
    padding: 1rem 1.5rem;
    border: 1px solid #333;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #1a1a1f;
}

/* 리그 즐겨찾기 필터 버튼 영역 (인라인용 - 더 이상 사용 안함) */
.league-favorite-filter {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: #1a1a1f;
}

.league-fav-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 0.5rem;
    color: #aaa;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.league-fav-filter-btn:hover {
    background: #333;
    border-color: #ffd700;
    color: #ffd700;
}

.league-fav-filter-btn.on_active {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    border-color: #ffd700;
    color: #000;
    font-weight: bold;
}

.league-fav-filter-btn i {
    font-size: 1.4rem;
}

.league-fav-filter-desc {
    color: #888;
    font-size: 1.2rem;
    margin-left: auto;
}

/* 리그 타이틀 래퍼 */
.league-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.league-title-wrap .accordion-arrow {
    width: 1.2rem;
    height: auto;
    transition: transform 0.3s ease;
}

.league-title-wrap .league-icon {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
    border-radius: 4px;
}

.league-info-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 리그 즐겨찾기 버튼 */
.league-fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 0 2px rgba(255,255,255,0.5);
}

.league-fav-btn:hover {
    border-color: #ffd700;
    color: #ffd700;
    transform: scale(1.1);
}

.league-fav-btn.is-favorite {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%) !important;
    border-color: #ffd700 !important;
    color: #000 !important;
    text-shadow: none !important;
}

.league-fav-btn.is-favorite:hover {
    background: linear-gradient(135deg, #ffdb4d 0%, #ffa033 100%) !important;
}

/* 리그 즐겨찾기 없음 메시지 */
.no-favorite-league-msg {
    text-align: center;
    padding: 3rem 2rem;
    color: #888;
    font-size: 1.4rem;
    line-height: 1.8;
}

/* 반응형 - 리그 즐겨찾기 */
@media screen and (max-width: 768px) {
    .league-favorite-filter {
        padding: 0.8rem 1rem;
    }

    .league-fav-filter-btn {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }

    .league-fav-filter-desc {
        display: none;
    }

    .league-title-wrap .league-icon {
        width: 2rem;
        height: 2rem;
    }

    .league-fav-btn {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1.2rem;
    }
}

/* ============================================
   배팅 슬립 - 배당 변경/중지 스타일
   ============================================ */

/* 변경된 항목 하이라이트 */
.slip-item-changed {
    border-left: 3px solid #ffd700 !important;
    animation: slip-highlight 0.5s ease-in-out 5;
    background-color: rgba(255, 215, 0, 0.05) !important;
}

/* 중지된 항목 */
.slip-item-stopped {
    border-left: 3px solid #ff3b30 !important;
    opacity: 0.7;
    background-color: rgba(255, 59, 48, 0.05) !important;
}

/* 배당 상승 색상 (빨간색) */
.odds-increased {
    color: #ff3b30 !important;
    font-weight: bold;
}

/* 배당 하락 색상 (파란색) */
.odds-decreased {
    color: #007aff !important;
    font-weight: bold;
}

/* 하이라이트 애니메이션 */
@keyframes slip-highlight {
    0%, 100% {
        background-color: rgba(255, 215, 0, 0.05);
    }
    50% {
        background-color: rgba(255, 215, 0, 0.2);
    }
}

/* 변경 뱃지 */
.change-badge {
    display: inline-block;
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    font-weight: bold;
    animation: badge-pulse 0.5s ease-in-out 5;
}

.change-badge.up {
    background-color: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
}

.change-badge.down {
    background-color: rgba(0, 122, 255, 0.15);
    color: #007aff;
}

/* 중지 뱃지 */
.stopped-badge {
    display: inline-block;
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    background-color: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    font-weight: bold;
}

/* 추가 마켓 중지 텍스트 */
.suspended-text {
    color: #ff3b30 !important;
    font-weight: bold;
    font-size: 0.85em;
}

/* 추가 마켓 버튼 disabled 상태 */
.s__accordion01-contents button:disabled,
.mobile-market-body button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: rgba(100, 100, 100, 0.3) !important;
}

/* 뱃지 펄스 애니메이션 */
@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 배팅 슬립 내 배당 표시 */
.slip-odds-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slip-odds-arrow {
    font-size: 1rem;
    font-weight: bold;
}

.slip-odds-arrow.up {
    color: #ff3b30;
}

.slip-odds-arrow.down {
    color: #007aff;
}

/* 불가 사유 메시지 */
.unavailable-reason {
    font-size: 1.1rem;
    color: #ff3b30;
    margin-top: 0.3rem;
    font-style: italic;
}

/* 배팅 슬립 상태 메시지 */
.slip-status-msg {
    font-size: 1.1rem;
    margin-top: 0.4rem;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    display: inline-block;
}

.slip-status-msg.deleted {
    background-color: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    font-weight: bold;
}

.slip-status-msg.stopped {
    background-color: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    font-weight: bold;
}

.slip-status-msg.changed {
    background-color: rgba(255, 215, 0, 0.15);
    font-weight: normal;
    color: #fff;
}

/* 화살표만 색상 적용 */
.slip-status-msg .change-arrow.odds-increased {
    color: #ff3b30;
}

.slip-status-msg .change-arrow.odds-decreased {
    color: #007aff;
}

/* 배당 변경 배지 텍스트 흰색 */
.slip-change-badge {
    color: #fff;
}

/* 비활성화된 배팅 버튼 */
#place-bet-btn:disabled {
    background-color: #666 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 배팅 슬립 경고 메시지 */
.slip-warning-msg {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 5px;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slip-warning-msg i {
    font-size: 1.4rem;
}

/* 배팅 슬립 에러 메시지 */
.slip-error-msg {
    background-color: rgba(255, 59, 48, 0.1);
    border: 1px solid #ff3b30;
    border-radius: 5px;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: #ff3b30;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slip-error-msg i {
    font-size: 1.4rem;
}

/* 반응형 - 배팅 슬립 변경 스타일 */
@media screen and (max-width: 768px) {
    .change-badge,
    .stopped-badge {
        font-size: 0.9rem;
        padding: 0.15rem 0.4rem;
    }

    .unavailable-reason {
        font-size: 1rem;
    }

    .slip-warning-msg,
    .slip-error-msg {
        font-size: 1.1rem;
        padding: 0.6rem 0.8rem;
    }
}
