body.live-detail-page .content-container .primary-content {
  margin-top: 48px;
}

body.live-detail-page .crumbs-container .live-crumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.live-detail-page .crumbs-container .live-crumbs .crumbs-path {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.live-login-content {
  flex: 0 0 auto;
  min-width: 80px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #666;
  font-size: 14px;
  line-height: 1;
}

.live-login-content #loginButton,
.live-login-content #userContainer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
}

.live-login-content #showLoginModal,
.live-login-content #logoutButton,
.live-login-content #userName {
  cursor: pointer;
}

.live-login-content #showLoginModal,
.live-login-content #logoutButton {
  color: #2874da;
}

.live-login-content #userName {
  display: inline-block;
  max-width: 96px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333;
}

.live-login-content #userAvatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

body.live-detail-page .content-container .primary-content .live-left-column {
  width: 907px;
  min-height: 960px;
  background: #fff;
  display: block;
  float: left;
}

.live-detail {
  width: 100%;
  color: #333;
}

.live-detail-header {
  padding-bottom: 18px;
  border-bottom: 1px solid #ebf0fa;
}

.live-detail-title {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 700;
  color: #333;
}

.live-detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #999;
  font-size: 14px;
}

.live-detail-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  min-width: 0;
}

.live-online-person {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-online-person img {
  width: 19px;
  height: 15px;
  object-fit: contain;
}

.count-down strong {
  color: #2874da;
  font-weight: 600;
}

.live-detail-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.live-detail-share .detail-share-btn {
  width: 26px;
  height: 26px;
  cursor: pointer;
}

.live-player-card {
  margin-top: 28px;
}

.live-player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  margin-bottom: 10px;
}

.live-status-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 2px;
  background: #2874da;
  color: #fff;
  font-size: 14px;
}

.live-praise-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #ebf0fa;
  background: #fff;
  color: #666;
  cursor: pointer;
  position: relative;
}

.live-praise-button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.praise-heart {
  position: absolute;
  left: 12px;
  bottom: 24px;
  width: 20px;
  height: 20px;
  background: url("../../images/live/heart-icon.png") no-repeat center center;
  background-size: contain;
  opacity: 0;
  animation: liveHeartAnimation 1s ease-out;
  pointer-events: none;
}

@keyframes liveHeartAnimation {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  55% {
    transform: translateY(-48px) scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-92px) scale(1.45);
    opacity: 0;
  }
}

.live-tv {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  position: relative;
  overflow: hidden;
}

.live-tv .video-js,
.live-tv .my-img,
.live-tv .live-text {
  width: 100%;
  height: 100%;
  display: none;
}

.live-tv .my-img {
  object-fit: contain;
  background: #111;
}

.live-tv .live-text {
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  background: #111;
}

.live-tv .vjs-big-play-button {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-js .vjs-picture-in-picture-control,
.video-js .vjs-live-control .vjs-live-display,
.video-js .vjs-subs-caps-button,
.video-js .vjs-remaining-time .vjs-control-text + span[aria-hidden="true"],
.video-js .vjs-error-display {
  display: none;
}

.live-summary {
  margin: 24px 0 26px;
  color: #555;
  font-size: 16px;
  line-height: 1.9;
}

.live-summary:empty {
  display: none;
}

.live-tabs-container {
  margin-top: 10px;
}

.live-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 44px;
  border-bottom: 1px solid #ebf0fa;
}

.live-tab-pane {
  height: 44px;
  padding: 0 4px;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.live-tab-pane.active {
  color: #2874da;
  border-bottom-color: #2874da;
}

.live-tab-content {
  min-height: 360px;
}

.live-loading,
.live-empty {
  padding: 36px 0;
  color: #999;
  font-size: 14px;
  text-align: center;
}

.live-comment-asc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 18px 0 2px;
  color: #2874da;
  font-size: 14px;
  cursor: pointer;
}

.live-comment-asc img {
  width: 9px;
  height: 12px;
  object-fit: contain;
}

.live-timeline-list,
.live-interaction-list {
  width: 100%;
}

.live-timeline-item,
.live-interaction-item {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid #ebf0fa;
}

.live-timeline-marker {
  width: 76px;
  flex: 0 0 76px;
  color: #999;
  font-size: 13px;
  line-height: 1.5;
}

.live-timeline-body,
.live-interaction-body {
  flex: 1;
  min-width: 0;
}

.live-timeline-user {
  margin-bottom: 8px;
  color: #666;
  font-size: 14px;
}

.live-timeline-text,
.live-interaction-text {
  color: #333;
  font-size: 16px;
  line-height: 1.9;
}

.live-comment-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.live-comment-attachments .attachment-item {
  width: calc((100% - 20px) / 3);
  height: 128px;
  overflow: hidden;
  background: #f5f7fb;
}

.live-comment-attachments .attachment-item img,
.live-comment-attachments .attachment-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-comment-attachments .attachment-item:only-child {
  width: 260px;
  height: 180px;
}

.live-interaction-item {
  align-items: flex-start;
}

.live-comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 48px;
}

.live-interaction-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.live-comment-user {
  color: #333;
  font-size: 18px;
  font-weight: 700;
}

.live-comment-time {
  color: #999;
  font-size: 13px;
}

.live-comment-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  margin-left: 8px;
  color: #fff;
  background: #2874da;
  font-size: 12px;
}

.live-comment-form {
  margin-top: 34px;
}

#liveCommentTextarea {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #e1e7f2;
  box-shadow: 0 3px 12px rgba(31, 80, 140, 0.08);
}

#liveCommentTextarea .live-comment-avatar {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.live-comment-input {
  flex: 1;
  min-height: 50px;
  border: none;
  resize: none;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

.live-comment-input:focus {
  outline: none;
}

#submitComment {
    flex: 0 0 40px;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent url(../../images/send.png) no-repeat center center;
    background-size: 20px 20px;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    background-color: #4573DA;
    border-radius: 5px;
}

#loginToComment {
  height: 56px;
  line-height: 56px;
  text-align: center;
  border: 1px solid #e1e7f2;
  color: #666;
  cursor: pointer;
}

#loginToComment span {
  color: #2874da;
  font-weight: 700;
}

.message-container {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 10000;
  transform: translateX(-50%);
  min-width: 260px;
  padding: 12px 42px 12px 18px;
  color: #fff;
  background: #2874da;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.message-container.success {
  background: #28a745;
}

.message-container.error {
  background: #d93025;
}

.message-container.warning {
  background: #f59e0b;
}

.message-close {
  position: absolute;
  top: 8px;
  right: 14px;
  cursor: pointer;
}

.login-modal,
.captcha-modal,
.edit-profile-modal {
  display: none;
  position: fixed;
  z-index: 9000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.captcha-modal {
  z-index: 9100;
}

.login-modal-content,
.edit-profile-modal-content {
  width: 400px;
  min-height: 460px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 40px;
}

.captcha-modal-content {
  width: 300px;
  min-height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 40px;
}

.login-modal-close,
.captcha-modal-close,
.edit-profile-modal-close {
  color: #666;
  font-size: 32px;
  position: absolute;
  right: 18px;
  top: 4px;
  cursor: pointer;
}

.login-modal-content h2 {
  margin: 36px 0 50px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  color: #333;
}

#loginForm,
#captchaForm,
#editProfileForm {
  text-align: center;
}

#loginForm label,
#editProfileForm label {
  display: inline-block;
  min-width: 58px;
  margin-right: 10px;
  color: #454647;
  font-size: 14px;
  text-align: right;
}

#loginForm input,
#captchaForm input,
#editProfileForm input[type="text"] {
  width: 236px;
  height: 40px;
  margin-bottom: 20px;
  padding: 0 10px;
  border: 1px solid #e1e3e5;
  border-radius: 4px;
  background: #f1f3f6;
}

#loginForm #code {
  width: 157px;
}

#getVerificationCode {
  border: none;
  background: transparent;
  color: #2874da;
  cursor: pointer;
  margin-left: 12px;
}

#submit-login,
#submit-captchaForm,
#editProfileForm button[type="submit"] {
  min-width: 160px;
  height: 40px;
  border: none;
  border-radius: 4px;
  background: #2874da;
  color: #fff;
  cursor: pointer;
}

body.live-detail-page #userContainer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.edit-profile-modal-content {
  height: 460px;
  min-height: 0;
  box-sizing: border-box;
}

#editProfileForm {
  margin-top: 20px;
  position: relative;
}

#editProfileForm .avatar-preview {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
}

#editProfileForm .avatar-tips {
  margin-top: 10px;
  color: #2874da;
  font-size: 14px;
  font-weight: 400;
}

#editProfileForm .avatar-format-tips {
  margin-top: 10px;
  margin-bottom: 20px;
  color: #969798;
  font-size: 14px;
  font-weight: 400;
}

#editProfileForm #avatar {
  width: 150px;
  height: 150px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  border: none;
  opacity: 0;
  cursor: pointer;
}

#editProfileForm .cancel-editProfile {
  width: 100px;
  height: 40px;
  border: none;
  border-radius: 4px;
  background: #d2d3d4;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

#editProfileForm #submit-editProfile {
  width: 100px;
  min-width: 100px;
  height: 40px;
  margin-top: 20px;
  margin-left: 30px;
  border: none;
  border-radius: 4px;
  background: #2874da;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
