#login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.login-box {
  width: 360px;
  background: white;
  padding: 55px 30px;
  border-radius: 6px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.login-box #login-icon {
  width: 80px;
  height: 80px;

}

.login-box .divider {
  border: none;
  width: 100%;
  height: 1px;
  background-color: #ddd;
  margin: 1px 0;
}

.login-box button {
  margin-top: 32px;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background: #1572ec;
  border-radius: 6px;
  color: white;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.login-box #login-beian {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #ccc;
}


#navbar {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 20px;

  background: #1572ec;

  color: white;
  z-index: 1000;

  box-shadow: 0 5px 8px rgba(0,0,0,0.2);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

#navbar-icon {
  width: 28px;
  height: 28px;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 80px;
}

#user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.main-box {
  width: 1400px;
  height: 665px;
  margin: 30px auto;   /* 上下间距 + 左右居中 */

  display: flex;

  background: white;
  border-radius: 6px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);

  overflow: hidden;
}

.left-area {
  width: 100%;
  flex: 4;

  display: flex;
  flex-direction: column;

  background-color: #f1f1f1; /* 深色 */
}

.left-area #stream {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: black;
}

.left-area .video-info {
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
}

.video-info-right {
  display: flex;
  gap: 5px;
  margin-left: auto;
  align-items: center;
}

#viewer-count {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #888888;
}

#viewer-number {
  display: flex;
  transition: all 0.3s ease;
}

.divider {
  width: 2px;
  background-color: rgba(0, 0, 0, 0.15);
}

.stream-option {
  flex: 1;
  padding-left: 20px;
  padding-right: 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

#mic {
  margin-bottom: 10px;
  padding: 8px 16px;
}

#share {
  margin-top: auto;
  margin-bottom:15px;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background: #1572ec;
  border-radius: 6px;
  color: white;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

body {
  padding-top: 60px;
}

.note {
  color: #888888;
  line-height: 1.4;
}

#footer {
  position: fixed;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #666;
}