#xqbj-container .xqbj-main {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#xqbj-container #home-main-content {
  padding-top: 0;
}

.worldcup-live-page {
  color: #fff;
  padding-bottom: 1.2rem;
}

.wc-live-page {
  margin-top: 0.75rem;
}

.wc-live-page-title {
  margin: 0;
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #262626;
}

.world-cup-live-container {
  position: relative;
  height: 10rem;
  margin-bottom: 1rem;
  background: none !important;
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.world-cup-live-container .world-cup-swiper {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
}

.world-cup-swiper-nav {
  position: relative;
  flex: 0 0 2.5rem;
  height: 100%;
  border: 0;
  padding: 0;
  background-color: transparent;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.world-cup-swiper-nav-prev {
  background-image: url("/static/v4/__base/images/world-cup-swiper-left.png");
}

.world-cup-swiper-nav-next {
  background-image: url("/static/v4/__base/images/world-cup-swiper-right.png");
}

.world-cup-live-container .world-cup-swiper-slide {
  position: relative;
  height: 100%;
  background: #151515;
  border-radius: 0.3rem;
  overflow: hidden;
  outline-offset: -2px;
  outline: none;
  display: flex;
  flex-direction: column;
}

.world-cup-live-container .world-cup-swiper-slide.swiper-slide-active {
  outline: none;
}

.world-cup-live-container .world-cup-swiper-slide.world-cup-swiper-slide-selected {
  outline: 1px solid #fadfa3;
}

.world-cup-swiper-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem;
  color: #fff;
  background-color: #1e1e1e;
  font-size: 0.75rem;
  box-sizing: border-box;
  flex: 0 0 auto;
  gap: 0.4rem;
  min-height: 2rem;
  position: relative;
  z-index: 3;
}

.world-cup-swiper-slide-header > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.world-cup-swiper-slide-header > span:last-child {
  text-align: right;
}

.world-cup-live-container .world-cup-swiper-slide-content {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  z-index: 1;
  box-sizing: border-box;
  padding: 0.35rem 0.5rem 1.6rem;
}

.world-cup-live-container .world-cup-swiper-slide-content-country {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.world-cup-live-container .world-cup-swiper-slide-content-country > img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.world-cup-live-container .world-cup-swiper-slide-content-country > span {
  width: 100%;
  color: #fff;
  font-size: 0.6rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.world-cup-live-container .world-cup-swiper-slide-content-info {
  flex: 0 0 3.2rem;
  color: #fff;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
}

.world-cup-live-status {
  color: #fadfa3;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.world-cup-live-score {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
  line-height: 1;
}

.world-cup-live-score > i {
  display: block;
  width: 0.5rem;
  height: 1px;
  background: currentColor;
}

.world-cup-live-container .world-cup-swiper-slide-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 1.5rem;
  z-index: 2;
}

.world-cup-swiper-slide-progress > img {
  display: block;
  height: 100%;
  width: auto;
}

.world-cup-live-player-block {
  position: relative;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: visible !important;
}

.wc-player-outer,
.wc-player-outer .world-cup-live-dplayer,
.wc-player-outer .dplayer,
.wc-player-outer .dplayer-video-wrap,
.wc-player-outer .dplayer-danmaku {
  overflow: hidden !important;
}

.wc-player-infobar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 0.5rem;
  flex-wrap: nowrap;
}

.wc-live-badge-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.wc-live-badge {
  background: #ff0000;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 0 8px;
  border-radius: 4px;
  height: 24px;
  line-height: 24px;
  display: inline-block;
}

.wc-viewer-count {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.wc-match-title {
  color: #fff;
  font-size: 14px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.wc-player-outer .dplayer-danmaku-right,
.wc-player-outer .dplayer-danmaku-top,
.wc-player-outer .dplayer-danmaku-bottom {
  animation-play-state: running !important;
}

.wc-player-outer {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0e0e0e;
}

.world-cup-live-dplayer {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0.3rem;
  overflow: hidden;
}

.wc-live-status-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0e0e0e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  pointer-events: none;
  transition: background-image 0.5s ease;
}

.wc-live-status-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.wc-live-status-overlay.bg-fade-in::before {
  opacity: 1;
}

.wc-live-status-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.wc-live-status-tip,
.wc-live-status-title,
.wc-live-status-desc {
  position: relative;
  z-index: 1;
}

.wc-live-status-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #ff9000;
  border-radius: 5px;
  padding: 4px 12px 6px;
  color: #f7931d;
  font-size: 16px;
  font-weight: 450;
  pointer-events: none;
}

.wc-live-status-title {
  color: #ff9000;
  font-size: 32px;
  font-weight: 600;
}

.wc-live-status-desc {
  color: #fff;
  font-size: 16px;
}

.wc-player-outer .dplayer-controller {
  z-index: 20 !important;
}

.wc-player-outer .dplayer-icons-right {
  display: flex !important;
  align-items: center !important;
  top: 0 !important;
  bottom: 0 !important;
  height: auto !important;
}

.wc-player-outer .dplayer-comment-box {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  z-index: 5 !important;
  padding-left: 162px !important;
  padding-right: 50px !important;
  overflow: visible !important;
  height: 44px !important;
  pointer-events: none !important;
}

.wc-player-outer .dplayer-comment-box > *,
.wc-player-outer .wc-danmu-input-wrap > * {
  pointer-events: auto !important;
}

.wc-player-outer .wc-danmu-input-wrap {
  pointer-events: auto !important;
}

.wc-player-outer .dplayer-comment-icon {
  display: none !important;
}

.wc-player-outer .dplayer-setting,
.wc-player-outer .dplayer-setting-icon,
.wc-player-outer .dplayer-comment-setting-icon,
.wc-player-outer .dplayer-comment-setting-box,
.wc-player-outer .dplayer-full-in-icon,
.wc-player-outer .dplayer-web-fullscreen-icon {
  display: none !important;
}

.wc-player-outer .wc-danmu-toggle-btn {
  flex-shrink: 0;
  width: 64px;
  height: 36px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-player-outer .wc-danmu-toggle-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wc-player-outer.danmu-disabled .wc-danmu-toggle-btn {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.wc-player-outer.danmu-disabled .dplayer-comment-input {
  color: rgba(255, 255, 255, 0.3) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.wc-player-outer.danmu-disabled .dplayer-comment-input::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
}

.wc-player-outer.danmu-disabled .dplayer-send-icon {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.wc-player-outer.danmu-disabled .wc-danmu-input-wrap {
  background: rgba(255, 255, 255, 0.15) !important;
}

.wc-player-outer .wc-danmu-input-wrap {
  flex: 1 !important;
  height: 36px !important;
  position: relative !important;
  background: rgba(255, 255, 255, 0.4) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.wc-player-outer .dplayer-comment-input {
  flex: 1 !important;
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  height: 36px !important;
  padding: 0 68px 0 11px !important;
  outline: none !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

.wc-player-outer .dplayer-comment-input::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 12px !important;
}

.wc-player-outer .dplayer-send-icon {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  flex-shrink: 0 !important;
  background: #ff9000 !important;
  color: #000 !important;
  border: none !important;
  border-radius: 0 4px 4px 0 !important;
  height: 36px !important;
  width: 60px !important;
  padding: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

.wc-player-outer .dplayer-send-icon:hover {
  background: #e0820f !important;
}

.wc-player-outer .dplayer-send-icon::before,
.wc-player-outer .dplayer-send-icon::after {
  display: none !important;
}

.wc-player-outer .dplayer-send-icon .dplayer-icon-content {
  font-size: 15px !important;
  font-weight: 600 !important;
  width: 60px !important;
  height: 36px !important;
  line-height: 36px !important;
  display: block !important;
  text-align: center !important;
}

.wc-player-outer .dplayer-danmaku-item {
  font-family: "PingFang SC", sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: #ffffff !important;
  text-align: center !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8) !important;
}

.wc-player-outer .dplayer-danmaku-item span[style*="border"] {
  border-radius: 5px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 2px 8px !important;
  display: inline-block;
}

.wc-chat-room {
  background: #0e0e0e;
  border-radius: 8px;
  margin-top: 0.75rem;
  overflow: hidden;
}

.wc-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 0;
}

.wc-chat-title {
  color: #ff9000;
  font-size: 24px;
  font-weight: 600;
}

.wc-chat-divider {
  height: 1px;
  background: #3e3e3e;
  margin: 12px 0 0;
}

.wc-chat-messages {
  padding: 12px 20px;
  height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}

.wc-chat-messages::-webkit-scrollbar {
  width: 4px;
}

.wc-chat-messages::-webkit-scrollbar-thumb {
  background: #3e3e3e;
  border-radius: 2px;
}

.wc-chat-msg {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 20px;
  line-height: 1.5;
  flex-wrap: wrap;
}

.wc-chat-msg-nick {
  color: #ff9000;
  flex-shrink: 0;
  font-weight: 500;
}

.wc-chat-msg-text {
  color: #fff;
  word-break: break-all;
}

.wc-chat-input-bar {
  padding: 12px 20px;
  border-top: 1px solid #3e3e3e;
}

.wc-chat-input-wrap {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  height: 60px;
  min-width: 0;
  padding: 6px 6px 6px 0;
}

.wc-chat-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 19px;
  opacity: 0.7;
}

.wc-chat-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 20px;
  padding: 0 8px;
  min-width: 0;
}

.wc-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.wc-chat-count {
  color: rgba(255, 255, 255, 0.3);
  font-size: 20px;
  padding: 0 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.wc-chat-send-btn {
  background: #ff9000;
  color: #242424;
  border: none;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 500;
  height: 48px;
  padding: 0 18px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
}

.wc-chat-send-btn:hover {
  background: #e0820f;
}

.wc-chat-guest-bar {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 60px;
}

.wc-chat-guest-tip {
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
}

.wc-chat-guest-login-btn {
  background: #ff9000;
  color: #242424;
  border: none;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 500;
  height: 48px;
  padding: 0 24px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.wc-chat-guest-login-btn:hover {
  background: #e0820f;
}

@media (max-width: 767px) {
  .world-cup-live-container {
    height: 7.25rem;
    gap: 0.3rem;
  }

  .world-cup-swiper-nav {
    flex: 0 0 2rem;
  }

  .world-cup-swiper-slide-header {
    font-size: 0.65rem;
    min-height: 1.8rem;
  }

  .world-cup-live-container .world-cup-swiper-slide-content {
    gap: 0.8rem;
    padding: 0.3rem 0.35rem 1.45rem;
  }

  .world-cup-live-container .world-cup-swiper-slide-content-country > img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .world-cup-live-container .world-cup-swiper-slide-content-info {
    flex-basis: 2.6rem;
  }

  .world-cup-live-status {
    font-size: 0.58rem;
  }

  .world-cup-live-score {
    font-size: 0.85rem;
  }

  .world-cup-live-player-block {
    overflow: hidden !important;
  }

  .wc-player-outer {
    overflow: hidden !important;
    isolation: isolate;
  }

  .wc-live-badge {
    font-size: 12px;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
  }

  .wc-viewer-count,
  .wc-match-title {
    font-size: 14px;
  }

  .wc-player-infobar {
    margin-bottom: 0.35rem;
    gap: 7px;
  }

  .wc-live-status-tip {
    font-size: 12px;
    padding: 3px 8px 4px;
    gap: 4px;
  }

  .wc-live-status-title {
    font-size: 17px;
  }

  .wc-live-status-desc {
    font-size: 9px;
  }

  .wc-chat-room {
    border-radius: 4px;
  }

  .wc-chat-header {
    padding: 8px 14px 0;
  }

  .wc-chat-title {
    font-size: 12px;
  }

  .wc-chat-divider {
    margin: 6px 0 0;
  }

  .wc-chat-messages {
    height: 200px;
    padding: 6px 14px;
    gap: 2px;
  }

  .wc-chat-msg,
  .wc-chat-msg-nick,
  .wc-chat-msg-text {
    font-size: 12px;
  }

  .wc-chat-input-bar {
    padding: 6px 14px;
  }

  .wc-chat-guest-bar {
    height: 30px;
    gap: 8px;
  }

  .wc-chat-guest-tip {
    font-size: 10px;
  }

  .wc-chat-guest-login-btn {
    font-size: 10px;
    height: 24px;
    padding: 0 12px;
  }

  .wc-chat-input-wrap {
    border-radius: 4px;
    border-color: rgba(255, 255, 255, 0.3);
    height: 30px;
    padding: 3px 3px 3px 0;
  }

  .wc-chat-icon {
    width: 10px;
    height: 10px;
    margin-left: 10px;
  }

  .wc-chat-input,
  .wc-chat-input::placeholder {
    font-size: 10px;
  }

  .wc-chat-count {
    font-size: 10px;
    padding: 0 4px;
  }

  .wc-chat-send-btn {
    border-radius: 3px;
    height: 24px;
    padding: 0 8px;
    font-size: 10px;
    margin-left: 0;
  }

  .wc-player-outer .dplayer-comment-box {
    gap: 8px !important;
    height: 36px !important;
    padding-left: 75px !important;
    padding-right: 50px !important;
  }

  .wc-player-outer .dplayer-icons-right {
    top: 0 !important;
    bottom: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .wc-player-outer .dplayer-full-icon {
    align-self: center !important;
    transform: translateY(3px) !important;
  }

  .wc-player-outer .wc-danmu-toggle-btn {
    width: 44px !important;
    height: 26px !important;
    border: none !important;
  }

  .wc-player-outer .wc-danmu-input-wrap {
    height: 26px !important;
    border-radius: 3px !important;
  }

  .wc-player-outer .dplayer-comment-input {
    height: 26px !important;
    font-size: 11px !important;
    padding: 0 46px 0 8px !important;
  }

  .wc-player-outer .dplayer-comment-input::placeholder {
    font-size: 11px !important;
  }

  .wc-player-outer .dplayer-send-icon {
    height: 26px !important;
    width: 40px !important;
    border-radius: 0 3px 3px 0 !important;
  }

  .wc-player-outer .dplayer-send-icon .dplayer-icon-content {
    font-size: 11px !important;
    width: 40px !important;
    height: 26px !important;
    line-height: 26px !important;
  }

  .wc-chat-msg-nick {
    color: #ff9000 !important;
  }

  .wc-chat-msg-text {
    color: #ffffff !important;
  }

  .wc-player-outer .dplayer-danmaku-item {
    font-size: 14px !important;
    font-weight: 400 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.9) !important;
  }

  .wc-player-outer .dplayer-danmaku-item span[style*="border"] {
    border-radius: 3px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 1px 6px !important;
    border-color: rgba(255, 144, 0, 0.8) !important;
  }
}
