/* True fullscreen: cover logo + GNB entirely */
.contents.honor-sport-page {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  min-height: 100vh !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #0b0b0b !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  z-index: 99990 !important;
}

@media (max-width: 767px) {
  .contents.honor-sport-page {
    top: 0 !important;
    height: 100vh !important;
    min-height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
  }
}

.honor-sport-page .page_ttl,
.honor-sport-page .page_tab,
.honor-sport-page .honor-sport-money-hint {
  display: none !important;
}

.honor-sport-toolbar {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  background: #151515;
  border-bottom: 1px solid rgba(201, 169, 98, 0.28);
  z-index: 5;
}

.honor-sport-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.honor-sport-close {
  border: 1px solid rgba(201, 169, 98, 0.45);
  background: #2a1f12;
  color: #f2e0aa;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.honor-sport-close:hover {
  background: #3a2c18;
  color: #fff;
}

.honor-sport-tab {
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: #1a1a1a;
  color: #ddd;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.honor-sport-tab.on {
  background: linear-gradient(180deg, #8a6a2f 0%, #5c451c 100%);
  color: #fff;
  border-color: #c9a962;
}

.honor-sport-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.honor-sport-status {
  color: #f2e0aa;
  font-size: 12px;
  margin-right: 4px;
}

.honor-sport-status.is-error {
  color: #f87171;
}

.honor-sport-actions .charge-btn-like {
  border: 1px solid rgba(201, 169, 98, 0.4);
  background: #222;
  color: #fff;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.honor-sport-stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto;
  background: #000;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.honor-sport-stage.is-fs {
  background: #000;
}

.honor-sport-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  display: block;
}

.honor-sport-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ddd;
  z-index: 2;
  background: #0b0b0b;
  text-align: center;
  padding: 20px;
}

.honor-sport-empty.dspn {
  display: none !important;
}

.honor-sport-empty .muted {
  color: #999;
  margin-top: 8px;
  max-width: 420px;
  line-height: 1.45;
}

/* Kill side chrome / bg that show beside the sports stage */
body.honor-sport-active {
  overflow: hidden !important;
}

body.honor-sport-active #bgVideo,
body.honor-sport-active .btn_bet_slip_open,
body.honor-sport-active .new_memo,
body.honor-sport-active .snb_left,
body.honor-sport-active .bet_slip,
body.honor-sport-active .banner_box,
body.honor-sport-active .top_info_box,
body.honor-sport-active .gnb_box,
body.honor-sport-active .only_mobile.mobile_user_info_box {
  display: none !important;
}

body.honor-sport-active .wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  height: 100vh !important;
  padding-top: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.honor-sport-active .top_inner {
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  position: static !important;
}

/* CSS fullscreen fallback (when browser API is blocked) */
body.honor-sport-cssfs .honor-sport-stage--cssfs {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
}

@media (max-width: 767px) {
  body.honor-sport-active .wrap {
    padding-top: 0 !important;
  }
  .honor-sport-tab,
  .honor-sport-close {
    padding: 6px 10px;
    font-size: 12px;
  }
}
