/* Trend shell bridge — keep user-new page modules on Trend chrome */

html, body.trend-shell {
  background: var(--body-bg, #121410) !important;
  color: var(--font-color, #fff);
  min-width: 0 !important;
}

body.trend-hide-right {
  padding-right: 0 !important;
}
body.trend-hide-right #right {
  display: none !important;
}

/* FA icons inside Trend left menu */
#left .left-menu em {
  display: inline-flex;
  width: 28px;
  align-items: center;
  justify-content: center;
}
#left .left-menu em i {
  font-size: 15px;
  color: var(--accent-cyan, #c9a24a);
}
#left .left-menu > li.has-sub > a .arr {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.2s;
}
#left .left-menu > li.has-sub.open > a .arr {
  transform: rotate(180deg);
}
#left .left-menu > li.has-sub > ul {
  display: none;
}
#left .left-menu > li.has-sub.open > ul {
  display: block;
}
#left .left-menu > li.active > a,
#left .left-menu > li.active > a span {
  color: var(--accent-cyan, #c9a24a) !important;
}
#left .left-menu a.left-menu-disabled {
  cursor: default;
  opacity: 0.85;
}

body.trend-shell #footer address,
body.trend-shell #footer a {
  color: var(--font-color);
}
[data-theme-mode=light] body.trend-shell #footer address,
[data-theme-mode=light] body.trend-shell #footer a,
html[data-theme-mode=light] body.trend-shell #footer address,
html[data-theme-mode=light] body.trend-shell #footer a {
  color: #334155 !important;
}

.one-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #fff53f;
  font-size: 12px;
  overflow: hidden;
}
.one-notice .notice-scroll {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.one-notice .notice-scroll span {
  display: inline-block;
  padding-left: 100%;
  animation: trend-notice 18s linear infinite;
}
@keyframes trend-notice {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.trend-logout-btn {
  background: transparent;
  border: 1px solid rgba(201, 162, 74, 0.45);
  color: #fff;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
}
.trend-logout-btn:hover {
  border-color: #c9a24a;
  color: #c9a24a;
}

.header-menu.cash strong {
  color: var(--accent-cyan, #c9a24a);
}

/* Right panel widgets (replace bet slip) */
.trend-right-panel {
  padding: 12px;
  box-sizing: border-box;
}
.trend-right-block {
  background: var(--left-bg, #1c2018);
  border: 1px solid rgba(201, 162, 74, 0.2);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.trend-right-tit {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(201, 162, 74, 0.25);
  color: var(--accent-cyan, #c9a24a);
  font-weight: 700;
  text-align: center;
}
.trend-right-banner {
  display: block;
  line-height: 0;
}
.trend-right-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.trend-right-more {
  display: block;
  text-align: center;
  padding: 10px;
  color: #cfd8e3;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.trend-right-more:hover {
  color: #c9a24a;
}
.trend-right-panel .right_customer,
.trend-right-panel .right_domain {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
  padding: 12px;
  box-sizing: border-box;
}

/* Inner pages: content_box etc on Trend palette */
#content .content_box,
#content .write_box,
#content .list_box,
#content .member_wrap,
#content .info_wrap {
  background: #1c2018 !important;
  border: 1px solid rgba(201, 162, 74, 0.18) !important;
  color: #fff !important;
  box-sizing: border-box;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
}
#content .title_box {
  border-bottom: 1px solid rgba(201, 162, 74, 0.35) !important;
  margin-bottom: 14px;
  padding-bottom: 10px;
}
#content .title_box .title {
  color: #fff !important;
  font-weight: 800;
}
#content .title_box .title span {
  color: #c9a24a !important;
}
#content .title_box::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, #c9a24a, #4f6b3a);
}
#content a { color: #e8f4fa; }
#content a:hover { color: #c9a24a; }

#content .list_title1,
#content .s_title1,
#content .info_title,
#content .write_title,
#content .amp-board-table th {
  background: #262b20 !important;
  color: #c9a24a !important;
  border-color: rgba(201, 162, 74, 0.2) !important;
}
#content .amp-board-table td,
#content .list_notice1,
#content .list1,
#content .list3 {
  background: #151922 !important;
  border-color: rgba(201, 162, 74, 0.12) !important;
  color: #d7dee8 !important;
}
#content .button,
#content .btn1,
#content .btn4,
#content .btn5,
#content [class*="btn1_"],
#content [class*="btn2_"],
#content [class*="btn3_"],
#content .join_btn {
  background: linear-gradient(180deg, #1a2a38 0%, #101820 100%) !important;
  border: 1px solid rgba(201, 162, 74, 0.5) !important;
  color: #c9a24a !important;
  border-radius: 4px !important;
}
#content .btn1_1,
#content .btn3_1,
#content .pop_login_btn1 {
  background: linear-gradient(180deg, #c9a24a 0%, #4f6b3a 100%) !important;
  color: #1a160c !important;
  border-color: #c9a24a !important;
  font-weight: 700 !important;
}
#content input,
#content select,
#content textarea,
#content .input1,
#content .input2 {
  background: #0f121b !important;
  border: 1px solid rgba(201, 162, 74, 0.35) !important;
  color: #fff !important;
}
#content .page_wrap .page,
#content .page_wrap .pageon {
  background: #1a2230 !important;
  border: 1px solid rgba(201, 162, 74, 0.35) !important;
  color: #9ab !important;
}
#content .page_wrap .pageon {
  background: linear-gradient(180deg, #c9a24a 0%, #4f6b3a 100%) !important;
  color: #1a160c !important;
  border-color: #c9a24a !important;
}

/* —— Critical: keep overlays out of document flow ——
   Without these, login/join/ref/popups render in the padded center column. */
.popup_none {
  display: none !important;
  width: 100%;
}
body.trend-shell > .aside,
body.trend-shell > .aside2 {
  display: none !important;
}

#login.modal,
#ref_code_popup.modal {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
#login.modal.is-open,
#login.modal[style*="block"],
#login.modal[style*="flex"],
#ref_code_popup.modal.is-open,
#ref_code_popup.modal[style*="block"],
#ref_code_popup.modal[style*="flex"] {
  display: flex !important;
}

#login .modal_content,
#login .pop_login_wrap,
#ref_code_popup .modal_content,
#ref_code_popup .pop_login_wrap {
  position: relative;
  width: 95%;
  max-width: 420px;
  margin: 40px auto;
  padding: 20px 16px;
  background: #1c2018 !important;
  border: 1px solid rgba(201, 162, 74, 0.4) !important;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.65);
  box-sizing: border-box;
}
#login .modal-close,
#login .pop_login_close,
#ref_code_popup .modal-close,
#ref_code_popup .pop_login_close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #262b20;
  position: absolute;
  top: -30px;
  right: 20px;
  width: 50px;
  height: 50px;
  color: #fff;
  border: 0;
  cursor: pointer;
}
#login .sugar-login-head,
#login .pop_login_title,
#ref_code_popup .pop_login_title {
  text-align: center;
  margin: 10px 0 20px;
}
#login .sugar-login-head img,
#login .pop_login_title img,
#ref_code_popup .pop_login_title img {
  max-width: 240px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}
#login .sugar-login-head h4 { display: none; }
#login .lg_frm_arr,
#ref_code_popup .lg_frm_arr {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#login .pop_login_text,
#ref_code_popup .pop_login_text {
  color: #9ab;
  font-size: 13px;
}
#login #userid,
#login #passwd,
#login input[type="text"],
#login input[type="password"],
#ref_code_popup input[type="text"] {
  width: 100%;
  height: 40px;
  background: #0f121b;
  border: 1px solid rgba(201, 162, 74, 0.35);
  padding: 0 10px;
  color: #fff;
  box-sizing: border-box;
}
#login #login-btn {
  display: block;
  text-align: center;
  background: transparent !important;
  height: 40px;
  line-height: 40px;
  color: #fff !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
}
#login #join-btn,
#login #join-btn-anony,
#login .pop_login_btn1,
#ref_code_popup .pop_login_btn1 {
  display: block;
  text-align: center;
  background: linear-gradient(180deg, #c9a24a 0%, #4f6b3a 100%) !important;
  height: 40px;
  line-height: 40px;
  color: #1a160c !important;
  font-weight: 700;
  border: 1px solid #c9a24a !important;
  cursor: pointer;
  text-decoration: none;
}

/* Join modal overlay */
#join.popup_style02,
#join.popup_none {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(0, 0, 0, 0.75);
  display: none !important;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 40px 0;
  margin: 0;
  box-sizing: border-box;
}
#join.popup_style02.is-open,
#join.popup_none.is-open,
#join[style*="flex"],
#join[style*="block"] {
  display: flex !important;
}
#join .join_wrap {
  width: 95%;
  max-width: 800px;
  margin: 50px auto 30px;
  position: relative;
  overflow: visible;
}
#join .loginbox {
  width: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  overflow: visible;
  display: block;
  max-height: none;
}
#join .join_box {
  width: 100%;
  padding: 24px 20px 20px;
  background: #1c2018;
  border: 1px solid rgba(201, 162, 74, 0.35);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.65);
  position: relative;
  max-height: 80vh;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #0dc0d4 #12151d;
}
#join .join_box::-webkit-scrollbar {
  width: 8px;
}
#join .join_box::-webkit-scrollbar-track {
  background: #12151d;
  border-radius: 8px;
}
#join .join_box::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0dc0d4, #007bfe);
  border-radius: 8px;
  border: 2px solid #12151d;
}
#join .join_box::-webkit-scrollbar-thumb:hover {
  background: #19d4e8;
}
#join .join_wrap > a.close_btn_cu {
  position: absolute;
  top: -40px;
  right: 0;
  width: 50px;
  height: 40px;
  line-height: 40px;
  background: #262b20;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px 3px 0 0;
  cursor: pointer;
  z-index: 20;
  text-decoration: none;
  font-size: 18px;
}
#join .login_title {
  float: none;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(201, 162, 74, 0.25);
  position: relative;
}
#join .login_title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #c9a24a, #4f6b3a);
}
#join .login1 {
  float: left;
  width: 100%;
  margin: 10px 0 0;
}
#join .login1 ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
#join .login1 li {
  float: left;
  width: 50%;
  padding: 1%;
  box-sizing: border-box;
  list-style: none;
}
#join .join_title {
  float: left;
  width: 100%;
  color: #fff;
  margin: 0;
  padding: 0 0 5px;
  font-size: 12px;
}
#join .login_input,
#join select.login_input,
#join select.user_bankname {
  width: 100%;
  height: 40px;
  margin-bottom: 0;
  background: #0f121b;
  border: 1px solid rgba(201, 162, 74, 0.35);
  padding: 0 10px;
  color: #fff;
  box-sizing: border-box;
}
#join .join_text {
  float: left;
  width: 100%;
  color: #8a93a3;
  font-size: 12px;
  padding: 5px 0 0;
  margin: 0;
}
#join .join_phone {
  float: left;
  clear: both;
  width: 100%;
  display: block;
}
#join .login1 li.join-li-phone {
  width: 100%;
}
#join .phone-verify-box {
  float: left;
  clear: both;
  width: 100%;
  margin-top: 8px;
  box-sizing: border-box;
}
#join .phone-verify-row {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  box-sizing: border-box;
}
#join .phone-verify-row .login_input,
#join .phone-verify-row .input1 {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
#join .btn-phone-send,
#join .btn-phone-verify {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(13, 192, 212, 0.45);
  background: linear-gradient(180deg, #1a3a4a, #152633);
  color: #dff9ff;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
}
#join .btn-phone-send:disabled,
#join .btn-phone-verify:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
#join .phone-verify-status {
  font-size: 12px;
  color: #9ad29a;
}
#join .phone-verify-status.is-error {
  color: #ff8f8f;
}
#join .login_btn_box2 {
  float: left;
  width: 100%;
  margin: 20px 0 0;
  text-align: center;
}
#join .login_btn_box2 ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  gap: 10px;
}
#join .login_btn_box2 li {
  float: none;
  flex: 1 1 0;
  width: auto;
  min-width: 140px;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
#join .login_btn_box2 a {
  display: block;
  width: 100%;
  text-decoration: none;
}
#join .login_btn1,
#join .login_btn2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  line-height: 1;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  border-radius: 8px;
  box-sizing: border-box;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
#join .login_btn1 {
  background: linear-gradient(180deg, #2f7dff 0%, #1a5fd4 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 16px rgba(26, 95, 212, 0.35);
}
#join .login_btn1:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
#join .login_btn2 {
  background: #262b20 !important;
  color: #cfd8e3 !important;
  border: 1px solid rgba(201, 162, 74, 0.45) !important;
  box-shadow: none;
}
#join .login_btn2:hover {
  color: #c9a24a !important;
  border-color: #c9a24a !important;
}

/* Register mode switch → Trend palette */
#join .register-mode-switch-wrap {
  gap: 12px;
  margin-bottom: 14px;
}
#join .register-mode-label {
  color: #8a93a3;
  font-size: 13px;
}
#join .register-mode-label.is-active {
  color: #c9a24a;
  font-weight: 700;
}
#join .register-mode-slider {
  background: #0f121b;
  border: 1px solid rgba(201, 162, 74, 0.35);
}
#join .register-mode-slider::before {
  background: #cfd8e3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
#join .register-mode-toggle input:checked + .register-mode-slider {
  background: linear-gradient(180deg, #c9a24a 0%, #4f6b3a 100%);
  border-color: #c9a24a;
}
#join .register-mode-toggle input:checked + .register-mode-slider::before {
  background: #fff;
}
#join .register-mode-notice-box {
  color: #d7dee8;
  background: #151922;
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-top: 2px solid #c9a24a;
  border-radius: 8px;
}
#join .register-mode-notice-box strong,
#join .register-mode-notice-highlight,
#join .register-mode-notice-arrow {
  color: #c9a24a;
}

/* Center image popups */
.center_popup_area_box {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100060;
  width: 100%;
  height: 100%;
  text-align: center;
  pointer-events: none;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.72);
  overflow-x: hidden;
  overflow-y: auto;
}
.center_popup_area_box.is-open,
.center_popup_area_box[style*="flex"],
.center_popup_area_box[style*="block"] {
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.center_popup_area_box .shadow { display: none; }
.center_popup_area_box .line_up {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: min(1480px, calc(100vw - 48px));
  margin: auto;
  box-sizing: border-box;
  pointer-events: auto;
  overflow: visible;
  float: none;
}
.center_popup_area_box .center_popup_area {
  display: none;
  float: none;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #1c1c1c;
  border: 1px solid rgba(201, 162, 74, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
}
.center_popup_area_box .center_popup_area.is-open {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}
.center_popup_area_box .center_popup_area .conts {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  max-height: min(55vh, 480px);
  box-sizing: border-box;
  background: #000;
}
.center_popup_area_box .center_popup_area .conts img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(55vh, 480px);
  object-fit: contain;
}
.center_popup_area_box .center_popup_area .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}
.center_popup_area_box .center_popup_area .bottom .pop_only_close,
.center_popup_area_box .center_popup_area .bottom .pop_close,
.center_popup_area_box .center_popup_area .bottom a,
.center_popup_area_box .center_popup_area .bottom span {
  float: none;
  font-size: 14px;
  color: #c9a24a;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.center_popup_area_box .center_popup_area .bottom .pop_only_close {
  display: inline-flex;
  align-items: center;
}
.center_popup_area_box .center_popup_area .bottom .pop_close {
  margin-left: auto;
}
@media screen and (max-width: 1100px) {
  .center_popup_area_box .line_up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (max-width: 768px) {
  .center_popup_area_box {
    padding: 12px;
    align-items: center;
    overflow: hidden;
  }
  .center_popup_area_box .line_up {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    justify-items: center;
    gap: 0;
    width: 100%;
    max-width: min(448px, calc(100vw - 24px));
    margin: auto;
  }
  .center_popup_area_box .center_popup_area.is-open {
    grid-area: 1 / 1;
    width: 100%;
    max-width: min(448px, calc(100vw - 24px));
  }
}

/* Guest header CTA */
.header-menu.guest-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header-menu.guest-auth .trend-btn-bookmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 8px;
  background: #2a3024;
  color: var(--accent-cyan, #c9a24a) !important;
  border: 1px solid rgba(201, 162, 74, 0.35);
  text-decoration: none;
}
.header-menu.guest-auth a.join.email_join {
  border-color: var(--accent-cyan, #c9a24a);
  color: var(--accent-cyan, #c9a24a) !important;
  background: none !important;
}

/* leftInner / left drawer mode toggle icons (FA instead of iconfont) */
#modeToggle .switch .fa-sun,
#modeToggle .switch .fa-moon,
#modeToggle .switch .left,
#modeToggle .switch .right,
#modeToggleMobile .switch .fa-sun,
#modeToggleMobile .switch .fa-moon,
#modeToggleMobile .switch .left,
#modeToggleMobile .switch .right,
.themeModeSwitch .fa-sun,
.themeModeSwitch .fa-moon {
  position: absolute;
  top: 5px;
  font-size: 12px;
  color: #fff;
  z-index: 1;
}
#modeToggle .switch .left,
#modeToggleMobile .switch .left,
.themeModeSwitch .left { left: 5px; }
#modeToggle .switch .right,
#modeToggleMobile .switch .right,
.themeModeSwitch .right { right: 5px; }
#header .leftInner {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Trend live deposit/withdraw ticker */
.main-board.has-inout .inout .inout-scroll {
  height: 200px;
  overflow: hidden;
}
.main-board.has-inout .inout .live_ticker_list {
  margin: 0;
  padding: 0;
}
.main-board.has-inout .inout .live_ticker_list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 40px;
  padding: 0 16px !important;
  box-sizing: border-box;
}
.main-board.has-inout .inout .inout-name {
  flex: 0 0 auto;
  min-width: 56px;
}
.main-board.has-inout .inout .inout-cash {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-align: right;
  color: var(--accent-cyan, #c9a24a);
  font-weight: 700;
}
.main-board.has-inout .inout .inout-date {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--bababa, #9aa3b2);
}
.freeboard .board-list ul li .name {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 12px;
  color: #9aa3b2;
}
.freeboard .board-list ul li .name img {
  border-radius: 50%;
}
.sc-tit p button i {
  font-size: 12px;
  color: #e8eef6;
}
.sc-tit p button.active i {
  color: #fff;
}
[data-theme-mode="light"] .sc-tit p button i {
  color: #64748b;
}
[data-theme-mode="light"] .sc-tit p button.active i {
  color: #8a6e2e;
}

/* Mobile adaptations */
.is-mobile-only { display: none !important; }

/* Desktop/tablet: 2x2 board grid (notice+freeboard / deposit+withdraw) */
body.trend-shell .main-board.has-inout {
  grid-template-columns: 1fr 1fr;
  gap: 24px 30px;
}

@media screen and (max-width: 1023px) {
  .is-mobile-only { display: inline-flex !important; }

  html, body.trend-shell {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  body.trend-shell {
    padding: 56px 0 0 0 !important;
  }
  body.trend-shell.expand {
    padding: 56px 0 0 0 !important;
  }

  body.trend-shell #wrap,
  body.trend-shell #main,
  body.trend-shell #container {
    width: 100% !important;
    min-width: 0 !important;
    display: block !important;
  }

  body.trend-shell #left {
    width: min(86vw, 300px) !important;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    z-index: 1200;
    box-shadow: none;
  }
  body.trend-shell #left.is-open {
    transform: translateX(0);
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.45);
  }
  .trend-mobile-dim {
    display: none !important;
  }
  .trend-mobile-dim.is-open {
    display: none !important;
  }
  body.trend-mobile-nav-open {
    overflow: hidden !important;
  }
  body.trend-shell #left .logo {
    position: static !important;
    width: 100% !important;
    height: 56px !important;
  }
  body.trend-shell #left .logo img {
    height: 36px !important;
    transform: none !important;
  }
  body.trend-shell #left .innerWrap {
    padding-top: 8px !important;
  }

  body.trend-shell #header {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 56px !important;
    padding: 0 10px !important;
    gap: 8px;
    justify-content: space-between;
  }
  body.trend-shell #header .leftInner {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
  }
  body.trend-shell #header .trend-btn-expand {
    display: none !important;
  }
  body.trend-shell #header #modeToggle {
    display: none !important;
  }
  body.trend-shell #header .trend-mobile-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0;
    max-width: min(46vw, 180px);
    height: 40px;
    flex: 0 0 auto;
    z-index: 1;
    pointer-events: auto;
  }
  body.trend-shell #header .trend-mobile-brand img {
    display: block;
    max-height: 36px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  body.trend-shell #header .header-menu-user,
  body.trend-shell #header .header-menu.cash,
  body.trend-shell #header .header-menu.quick,
  body.trend-shell #header .header-menu:not(.guest-auth) {
    display: none !important;
  }
  body.trend-shell #header .guest-auth {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }
  body.trend-shell #header .trend-mobile-logout.is-mobile-only {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    flex: 0 0 auto;
    margin-left: auto;
    align-items: center;
  }
  body.trend-shell #header .trend-mobile-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(201, 162, 74, 0.4);
    border-radius: 8px;
    background: #262b20;
    color: #c9a24a;
    cursor: pointer;
  }
  body.trend-shell #header .trend-mobile-logout-btn i {
    font-size: 15px;
    color: inherit;
  }
  [data-theme-mode="light"] body.trend-shell #header .trend-mobile-logout-btn {
    background: #efe8d4;
    border-color: rgba(138, 110, 46, 0.4);
    color: #8a6e2e;
  }

  /* Left drawer: user money / nickname between notice and menus */
  body.trend-shell #left .left-user-panel {
    display: block !important;
    margin: 8px 12px 12px;
    padding: 12px;
    border: 1px solid rgba(201, 162, 74, 0.28);
    border-radius: 10px;
    background: linear-gradient(180deg, #262b20 0%, #151922 100%);
    box-sizing: border-box;
  }
  body.trend-shell #left .left-user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
  }
  body.trend-shell #left .left-user-name img {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }
  body.trend-shell #left .left-user-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }
  body.trend-shell #left .left-user-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 74, 0.2);
    background: #10141c;
    color: #d7dee8 !important;
    text-decoration: none;
    font-size: 12px;
  }
  body.trend-shell #left .left-user-stat .label {
    color: #8a93a3;
  }
  body.trend-shell #left .left-user-stat strong {
    color: #c9a24a;
    font-weight: 700;
  }
  body.trend-shell #left .left-user-stat .unit {
    margin-left: 2px;
    color: #8a93a3;
  }
  body.trend-shell #header .guest-auth {
    gap: 6px;
  }
  body.trend-shell #header .guest-auth a.login,
  body.trend-shell #header .guest-auth a.join {
    min-width: 0;
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }
  body.trend-shell #header .guest-auth .trend-btn-bookmark {
    display: none !important;
  }

  body.trend-shell #right {
    display: none !important;
  }

  body.trend-shell #left .left-mobile-banners.is-mobile-only {
    display: block !important;
    margin: 16px 12px 24px;
    padding-top: 8px;
  }
  body.trend-shell #left .left-mobile-banners .banners {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
  }
  body.trend-shell #left .left-mobile-banners .banners a {
    display: block;
    overflow: hidden;
    border-radius: 10px;
  }
  body.trend-shell #left .left-mobile-banners .banners img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.trend-shell #content {
    padding: 12px 12px 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.trend-shell .main-visual {
    margin-bottom: 12px;
  }
  body.trend-shell .main-visual .slide img:not(.mobile) {
    display: none;
  }
  body.trend-shell .main-visual .slide img.mobile {
    display: block !important;
    width: 100%;
    height: auto;
  }

  body.trend-shell .main-link {
    display: none !important;
  }
  body.trend-shell .mobile-link.isMobile {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 12px;
    margin: 0;
  }
  body.trend-shell .mobile-link.isMobile a {
    min-width: 0;
  }
  body.trend-shell .mobile-link.isMobile a img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  body.trend-shell .main-scroll {
    margin-top: 12px;
  }
  body.trend-shell .main-scroll .sc-tit {
    font-size: 15px;
    height: auto;
    margin-bottom: 8px;
  }
  body.trend-shell .main-scroll .sc-list {
    gap: 12px;
  }
  body.trend-shell .main-scroll .sc-list a {
    width: 120px;
  }
  body.trend-shell .main-scroll .sc-list a .img {
    width: 120px;
    height: 160px;
  }
  body.trend-shell .main-scroll.partner .sc-list .img {
    width: 88px;
    height: 88px;
    padding: 8px;
  }

  /* 2x2 on tablet, stack on narrow phones handled below */
  body.trend-shell .main-board,
  body.trend-shell .main-board.has-inout {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-top: 18px;
  }
  body.trend-shell .board-tit {
    height: auto;
    min-height: 20px;
    margin-bottom: 10px;
    font-size: 14px;
  }
  body.trend-shell .board-list ul li {
    height: auto;
    min-height: 40px;
    padding: 0 12px;
  }
  body.trend-shell .board-list ul li a {
    height: auto;
    min-height: 40px;
    line-height: 1.35;
    padding: 10px 0;
    white-space: normal;
  }
  body.trend-shell .freeboard .board-list ul li {
    grid-template-columns: 1fr 72px;
    gap: 6px;
  }
  body.trend-shell .freeboard .board-list ul li .name {
    font-size: 11px;
  }
  body.trend-shell .main-board.has-inout .inout .inout-scroll {
    height: 180px;
  }
  body.trend-shell .main-board.has-inout .inout .live_ticker_list li {
    padding: 0 10px !important;
    gap: 6px;
    font-size: 12px;
  }
  body.trend-shell .main-board.has-inout .inout .inout-date {
    font-size: 10px;
  }

  body.trend-shell #footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    margin-top: 20px;
  }
  body.trend-shell #footer address {
    margin-left: 0;
    font-size: 12px;
    line-height: 1.5;
  }

  /* Join modal mobile */
  #join .login1 li {
    width: 100% !important;
    padding: 6px 0 !important;
  }
  #join .join_wrap {
    width: 94%;
    margin: 24px auto;
  }
  #join .join_box {
    max-height: none;
    padding: 18px 14px;
  }
  #join .login_btn_box2 ul {
    flex-direction: column;
  }
  #join .login_btn_box2 li {
    min-width: 0;
    width: 100%;
  }

  #login .modal_content,
  #ref_code_popup .modal_content {
    margin: 24px auto;
    width: 92%;
  }
}

@media screen and (max-width: 768px) {
  body.trend-shell .main-board,
  body.trend-shell .main-board.has-inout {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  body.trend-shell #header .header-menu:not(.guest-auth) {
    display: none !important;
  }
  body.trend-shell .mobile-link.isMobile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.trend-shell .header-menu.guest-auth a.join.email_join {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  body.trend-shell .mobile-link.isMobile {
    display: none !important;
  }
  .trend-mobile-dim {
    display: none !important;
  }
}

/* Sports embed fill */
body.trend-hide-right #right {
  display: none !important;
}
body.trend-shell:has(.sports-embed-page) #content {
  padding: 0 !important;
  overflow: hidden !important;
}
body.trend-shell:has(.sports-embed-page) #footer,
body.trend-shell:has(.sports-embed-page) .footer_wrap {
  display: none !important;
}
body.trend-hide-right .sports-embed-wrap,
body.trend-hide-right .amp-sports-frame,
body.trend-hide-right iframe.amp-sports-frame {
  width: 100% !important;
  max-width: none !important;
}

/* Mobile-only theme switch in left drawer */
body.trend-shell #left .left-theme-switch {
  display: none;
}
@media screen and (max-width: 1024px) {
  body.trend-shell:has(.sports-embed-page) #content {
    padding: 0 !important;
    width: 100% !important;
  }
  body.trend-shell #left .left-theme-switch {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 12px 12px;
    padding: 10px 12px;
    border: 1px solid rgba(201, 162, 74, 0.28);
    border-radius: 10px;
    background: #151922;
    box-sizing: border-box;
  }
  body.trend-shell #left .left-theme-label {
    color: #d7dee8;
    font-size: 13px;
    font-weight: 700;
  }
  body.trend-shell #left #modeToggleMobile .switch {
    margin: 0 !important;
  }
}


/* —— LIGHT MODE: chrome + detail pages —— */
[data-theme-mode="light"] body.trend-shell,
[data-theme-mode="light"].trend-shell {
  color: var(--font-color) !important;
}

[data-theme-mode="light"] #content .content_box,
[data-theme-mode="light"] #content .write_box,
[data-theme-mode="light"] #content .list_box,
[data-theme-mode="light"] #content .member_wrap,
[data-theme-mode="light"] #content .info_wrap {
  background: #ffffff !important;
  border: 1px solid rgba(138, 110, 46, 0.22) !important;
  color: #1e293b !important;
}

[data-theme-mode="light"] #content .title_box {
  border-bottom-color: rgba(138, 110, 46, 0.28) !important;
}
[data-theme-mode="light"] #content .title_box .title {
  color: #1e293b !important;
}
[data-theme-mode="light"] #content .title_box .title span {
  color: #8a6e2e !important;
}
[data-theme-mode="light"] #content .title_box::after {
  background: linear-gradient(90deg, #8a6e2e, #8a6e2e);
}

[data-theme-mode="light"] #content a {
  color: #1e293b;
}
[data-theme-mode="light"] #content a:hover {
  color: #8a6e2e;
}

[data-theme-mode="light"] #content .list_title1,
[data-theme-mode="light"] #content .s_title1,
[data-theme-mode="light"] #content .info_title,
[data-theme-mode="light"] #content .write_title,
[data-theme-mode="light"] #content .amp-board-table th {
  background: #efe8d4 !important;
  color: #8a6e2e !important;
  border-color: rgba(138, 110, 46, 0.2) !important;
}

[data-theme-mode="light"] #content .amp-board-table td,
[data-theme-mode="light"] #content .list_notice1,
[data-theme-mode="light"] #content .list1,
[data-theme-mode="light"] #content .list3,
[data-theme-mode="light"] #content .content_box table td.list1,
[data-theme-mode="light"] #content .content_box table td.list_notice1 {
  background: #ffffff !important;
  border-color: rgba(138, 110, 46, 0.12) !important;
  color: #1e293b !important;
}
[data-theme-mode="light"] #content .content_box table tbody tr:hover td.list1,
[data-theme-mode="light"] #content .content_box table tbody tr:hover td.list_notice1,
[data-theme-mode="light"] #content .amp-board-table tr:hover td.list1,
[data-theme-mode="light"] #content .amp-board-table tr:hover td.list_notice1,
[data-theme-mode="light"] #content .list_table tr:hover,
[data-theme-mode="light"] #content .list_table tr:hover td {
  background: #f3efe2 !important;
  color: #1e293b !important;
}

[data-theme-mode="light"] #content .button,
[data-theme-mode="light"] #content .btn1,
[data-theme-mode="light"] #content .btn4,
[data-theme-mode="light"] #content .btn5,
[data-theme-mode="light"] #content [class*="btn1_"],
[data-theme-mode="light"] #content [class*="btn2_"],
[data-theme-mode="light"] #content [class*="btn3_"],
[data-theme-mode="light"] #content .join_btn {
  background: linear-gradient(180deg, #ffffff 0%, #f3efe2 100%) !important;
  border: 1px solid rgba(138, 110, 46, 0.4) !important;
  color: #8a6e2e !important;
}

[data-theme-mode="light"] #content .btn1_1,
[data-theme-mode="light"] #content .btn3_1,
[data-theme-mode="light"] #content .pop_login_btn1 {
  background: linear-gradient(180deg, #8a6e2e 0%, #8a6e2e 100%) !important;
  color: #fff !important;
  border-color: #8a6e2e !important;
}

[data-theme-mode="light"] #content input,
[data-theme-mode="light"] #content select,
[data-theme-mode="light"] #content textarea,
[data-theme-mode="light"] #content .input1,
[data-theme-mode="light"] #content .input2 {
  background: #f8fafc !important;
  border: 1px solid #c9c0a4 !important;
  color: #1e293b !important;
}

[data-theme-mode="light"] #content .page_wrap .page,
[data-theme-mode="light"] #content .page_wrap .pageon {
  background: #fff !important;
  border: 1px solid #c9c0a4 !important;
  color: #64748b !important;
}
[data-theme-mode="light"] #content .page_wrap .pageon {
  background: linear-gradient(180deg, #8a6e2e 0%, #8a6e2e 100%) !important;
  color: #fff !important;
  border-color: #8a6e2e !important;
}

[data-theme-mode="light"] #left .left-menu em i,
[data-theme-mode="light"] #left .left-menu a {
  color: var(--font-color);
}
[data-theme-mode="light"] #left .one-notice,
[data-theme-mode="light"] #left .one-notice .notice-scroll,
[data-theme-mode="light"] #left .one-notice .notice-scroll span {
  color: #334155 !important;
}

[data-theme-mode="light"] body.trend-shell #left .left-user-panel,
[data-theme-mode="light"] body.trend-shell #left .left-theme-switch {
  background: #ffffff !important;
  border-color: rgba(138, 110, 46, 0.25) !important;
}
[data-theme-mode="light"] body.trend-shell #left .left-user-name,
[data-theme-mode="light"] body.trend-shell #left .left-theme-label {
  color: #1e293b !important;
}
[data-theme-mode="light"] body.trend-shell #left .left-user-stat {
  background: #f8fafc !important;
  border-color: rgba(138, 110, 46, 0.18) !important;
  color: #1e293b !important;
}
[data-theme-mode="light"] body.trend-shell #left .left-user-stat .label,
[data-theme-mode="light"] body.trend-shell #left .left-user-stat .unit {
  color: #64748b !important;
}
[data-theme-mode="light"] body.trend-shell #left .left-user-stat strong {
  color: #8a6e2e !important;
}

[data-theme-mode="light"] .header-menu a.nickname,
[data-theme-mode="light"] .header-menu.cash a,
[data-theme-mode="light"] .header-menu a {
  color: #475569 !important;
}
[data-theme-mode="light"] .header-menu.quick a:nth-child(1),
[data-theme-mode="light"] .header-menu.quick a:nth-child(2) {
  color: #fff !important;
}
[data-theme-mode="light"] .header-menu.guest-auth a.login,
[data-theme-mode="light"] .header-menu.guest-auth a.join:not(.email_join) {
  color: #fff !important;
}
[data-theme-mode="light"] .header-menu.guest-auth a.join.email_join {
  color: #8a6e2e !important;
  border-color: #8a6e2e !important;
}
[data-theme-mode="light"] .header-menu.guest-auth .trend-btn-bookmark {
  background: #efe8d4 !important;
  border-color: rgba(138, 110, 46, 0.35) !important;
  color: #8a6e2e !important;
}

/* Login / Join modals — light theme */
[data-theme-mode="light"] #login.modal,
[data-theme-mode="light"] #ref_code_popup.modal {
  background: rgba(15, 23, 42, 0.55);
}
[data-theme-mode="light"] #login .modal_content,
[data-theme-mode="light"] #login .pop_login_wrap,
[data-theme-mode="light"] #ref_code_popup .modal_content,
[data-theme-mode="light"] #ref_code_popup .pop_login_wrap {
  background: #ffffff !important;
  border: 1px solid rgba(138, 110, 46, 0.28) !important;
  box-shadow: 0 18px 40px rgba(138, 110, 46, 0.14);
}
[data-theme-mode="light"] #login .modal-close,
[data-theme-mode="light"] #login .pop_login_close,
[data-theme-mode="light"] #ref_code_popup .modal-close,
[data-theme-mode="light"] #ref_code_popup .pop_login_close {
  background: #efe8d4;
  color: #1e293b;
}
[data-theme-mode="light"] #login .pop_login_text,
[data-theme-mode="light"] #ref_code_popup .pop_login_text {
  color: #64748b;
}
[data-theme-mode="light"] #login #userid,
[data-theme-mode="light"] #login #passwd,
[data-theme-mode="light"] #login input[type="text"],
[data-theme-mode="light"] #login input[type="password"],
[data-theme-mode="light"] #ref_code_popup input[type="text"] {
  background: #f8fafc;
  border: 1px solid #c9c0a4;
  color: #1e293b;
}
[data-theme-mode="light"] #login #login-btn {
  color: #1e293b !important;
  border: 1px solid #94a3b8 !important;
  background: #fff !important;
}
[data-theme-mode="light"] #login #join-btn,
[data-theme-mode="light"] #login #join-btn-anony,
[data-theme-mode="light"] #login .pop_login_btn1,
[data-theme-mode="light"] #ref_code_popup .pop_login_btn1 {
  background: linear-gradient(180deg, #8a6e2e 0%, #8a6e2e 100%) !important;
  color: #fff !important;
  border-color: #8a6e2e !important;
}

[data-theme-mode="light"] #join.popup_style02,
[data-theme-mode="light"] #join.popup_none {
  background: rgba(15, 23, 42, 0.55);
}
[data-theme-mode="light"] #join .join_box {
  background: #ffffff;
  border: 1px solid rgba(138, 110, 46, 0.28);
  box-shadow: 0 18px 40px rgba(138, 110, 46, 0.14);
}
[data-theme-mode="light"] #join .join_wrap > a.close_btn_cu {
  background: #efe8d4;
  color: #1e293b !important;
}
[data-theme-mode="light"] #join .login_title {
  color: #1e293b;
  border-bottom-color: rgba(138, 110, 46, 0.2);
}
[data-theme-mode="light"] #join .login_title::after {
  background: linear-gradient(90deg, #8a6e2e, #8a6e2e);
}
[data-theme-mode="light"] #join .join_title {
  color: #334155;
}
[data-theme-mode="light"] #join .login_input,
[data-theme-mode="light"] #join select.login_input,
[data-theme-mode="light"] #join select.user_bankname {
  background: #f8fafc;
  border: 1px solid #c9c0a4;
  color: #1e293b;
}
[data-theme-mode="light"] #join select.login_input option,
[data-theme-mode="light"] #join select.user_bankname option {
  color: #1e293b;
  background: #fff;
}
[data-theme-mode="light"] #join .join_text {
  color: #64748b;
}
[data-theme-mode="light"] #join .login_btn1 {
  background: linear-gradient(180deg, #8a6e2e 0%, #8a6e2e 100%) !important;
  color: #fff !important;
  border-color: #8a6e2e;
  box-shadow: 0 6px 16px rgba(138, 110, 46, 0.28);
}
[data-theme-mode="light"] #join .login_btn2 {
  background: #efe8d4 !important;
  color: #8a6e2e !important;
  border: 1px solid rgba(138, 110, 46, 0.35) !important;
}
[data-theme-mode="light"] #join .login_btn2:hover {
  color: #1d4ed8 !important;
  border-color: #8a6e2e !important;
}
[data-theme-mode="light"] #join .register-mode-label {
  color: #64748b;
}
[data-theme-mode="light"] #join .register-mode-label.is-active {
  color: #8a6e2e;
}
[data-theme-mode="light"] #join .register-mode-slider {
  background: #f8fafc;
  border-color: #c9c0a4;
}
[data-theme-mode="light"] #join .register-mode-slider::before {
  background: #94a3b8;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
}
[data-theme-mode="light"] #join .register-mode-toggle input:checked + .register-mode-slider {
  background: linear-gradient(180deg, #8a6e2e 0%, #8a6e2e 100%);
  border-color: #8a6e2e;
}
[data-theme-mode="light"] #join .register-mode-toggle input:checked + .register-mode-slider::before {
  background: #fff;
}
[data-theme-mode="light"] #join .register-mode-notice-box {
  color: #334155;
  background: #f8fafc;
  border: 1px solid rgba(138, 110, 46, 0.22);
  border-top: 2px solid #8a6e2e;
}
[data-theme-mode="light"] #join .register-mode-notice-box strong,
[data-theme-mode="light"] #join .register-mode-notice-highlight,
[data-theme-mode="light"] #join .register-mode-notice-arrow {
  color: #8a6e2e;
}

/* Trend memberLayer login extras in light */
[data-theme-mode="light"] .memberLayer .layerInner .btnSubmit {
  color: #fff !important;
}
[data-theme-mode="light"] .memberLayer .layerInner .btnCancel,
[data-theme-mode="light"] .memberLayer .layerInner .btnSubmit.join {
  color: #1e293b !important;
}
[data-theme-mode="light"] .memberLayer .layerInner .btnSubmit.email_join {
  color: #fff !important;
}
[data-theme-mode="light"] .header-menu.cash a > i,
[data-theme-mode="light"] .header-menu.cash a .iconfont {
  color: #8a6e2e !important;
}
[data-theme-mode="light"] .header-menu.cash a .header-cash-refresh {
  color: #64748b !important;
}
[data-theme-mode="light"] .header-menu.cash strong,
[data-theme-mode="light"] .header-menu.cash .user_coin_amt,
[data-theme-mode="light"] .header-menu.cash .user_point_amt,
[data-theme-mode="light"] .header-menu.cash .money_view01 {
  color: #1e293b !important;
}
[data-theme-mode="light"] .header-menu.cash strong {
  color: #8a6e2e !important;
}
[data-theme-mode="light"] body.trend-shell #left .logo,
[data-theme-mode="light"] .logo {
  background: transparent !important;
}
[data-theme-mode="light"] .trend-logout-btn {
  color: #8a6e2e !important;
  border-color: rgba(138, 110, 46, 0.4) !important;
  background: #efe8d4 !important;
}

[data-theme-mode="light"] .main-board .board-tit,
[data-theme-mode="light"] .main-board .board-list,
[data-theme-mode="light"] .main-board a,
[data-theme-mode="light"] .board-list li,
[data-theme-mode="light"] .board-list li a {
  color: #1e293b !important;
}
[data-theme-mode="light"] .main-board .board-list li a span,
[data-theme-mode="light"] .main-board .board-tit span {
  color: #64748b !important;
}

[data-theme-mode="light"] .center_popup_area_box .center_popup_area .bottom .pop_only_close,
[data-theme-mode="light"] .center_popup_area_box .center_popup_area .bottom .pop_close {
  color: #8a6e2e !important;
}

[data-theme-mode="light"] .minigame-sports-main .minigame-tab-list .minigame-main-tab {
  background: #f8fafc !important;
  color: #64748b !important;
  border-color: rgba(138, 110, 46, 0.2) !important;
}
[data-theme-mode="light"] .minigame-sports-main .minigame-tab-list .minigame-main-tab.active {
  background: #efe8d4 !important;
  color: #8a6e2e !important;
}

