@charset "UTF-8";
/**
 * Live theme overrides — tokens from Figma MCP (file LkFbbPv85mRyu0GmPFVaLS)
 */

/* ═══════════ PC 直播房 70:1519 ═══════════ */
body.live-theme {
  color: var(--live-text);
  background-color: var(--live-bg-page-fallback);
  position: relative;
}

/* Page bottom-left decoration (Figma 78:14 → bg-left.png) */
body.live-theme .live-bg-decoration {
  position: fixed;
  left: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

body.live-theme .live-bg-left {
  width: 408px;
  height: 549px;
  background-image: var(--live-bg-left);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
}

body.live-theme .lay-main,
body.live-theme .lay-bottom,
body.live-theme .lay-userpanel {
  position: relative;
  z-index: 1;
}

body.live-theme .sidebar-section-header .sidebar-lesson-icon {
  width: 22px;
  height: 22px;
}

/* Header 88px */
body.live-theme .lay-top,
body.live-theme .header-wrapper {
  height: var(--live-header-height) !important;
  line-height: var(--live-header-height) !important;
  background-color: var(--live-bg-header) !important;
}

body.live-theme .lay-main,
body.live-theme .lay-userpanel {
  top: var(--live-header-height) !important;
}

body.live-theme .lay-main {
  /* block_left_01 uses 72px — align to Figma */
  top: var(--live-header-height) !important;
  height: calc(100% - var(--live-header-height)) !important;
}

/* Sidebar */
body.live-theme .lay-main-left {
  background-color: var(--live-bg-sidebar) !important;
}

body.live-theme #left-sidebar-custom {
  background-color: transparent !important;
  color: var(--live-text);
}

body.live-theme .sidebar-users-header .count-wrapper {
  color: var(--live-gold-accent) !important;
}

body.live-theme .sidebar-section-header {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

/* Notice pills */
body.live-theme .teacher-pill,
body.live-theme .notice-pill {
  background: var(--live-bg-pill) !important;
}

body.live-theme .teacher-val,
body.live-theme .noticeMarquee ul li a {
  color: var(--live-gold-accent) !important;
}

body.live-theme .notice-icon {
  color: var(--live-gold-start) !important;
}

body.live-theme .videoBottom {
  border-color: rgba(138, 111, 82, 0.3) !important;
  background: var(--live-bg-pill-alt) !important;
}

/* Video area Figma 70:1525 + control bar 70:1537 */
body.live-theme .videoArea {
  border-radius: var(--live-radius-sm, 6px);
}

body.live-theme .video-controls {
  background: var(--live-bg-video-bar) !important;
}

body.live-theme .video-waiting p {
  color: var(--live-text-muted) !important;
}

/* Right chat panel */
body.live-theme .lay-main-right {
  background-color: var(--live-bg-panel) !important;
  border: 1px solid var(--live-bg-panel-border) !important;
  border-radius: var(--live-radius-md) !important;
}

body.live-theme .global-titbg {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(138, 111, 82, 0.2);
}

body.live-theme .global-titbg li {
  color: var(--live-text-muted);
  font-size: 20px;
  font-weight: 400;
  background: transparent !important;
  border: none !important;
  padding: 0 4px 8px;
  margin-right: 16px;
  display: inline-block;
  position: relative;
}

body.live-theme .global-titbg li.layui-this {
  color: transparent;
  background: var(--live-gradient-title) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  font-weight: 700;
}

body.live-theme .global-titbg li.layui-this::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--live-gradient-primary);
  border-radius: 1px;
}

/* Chat messages */
body.live-theme .chat-item .u-info-row .account {
  color: var(--live-gold-accent) !important;
}

body.live-theme .chat-item .msg-bubble {
  background-color: var(--live-bubble-other) !important;
  color: var(--live-text-body) !important;
  border-radius: var(--live-bubble-radius-other) !important;
}

body.live-theme .chat-item.self .msg-bubble {
  background: var(--live-gradient-bubble-self) !important;
  color: var(--live-bubble-self-text) !important;
  border-radius: var(--live-bubble-radius-self) !important;
}

body.live-theme .chat-item .ctime {
  color: var(--live-text-time) !important;
}

/* Input area */
body.live-theme .dialog-chat-post .input-area .editinput {
  background-color: var(--live-bg-input) !important;
  border: 1px solid var(--live-bg-input-border) !important;
  border-radius: var(--live-radius-input) !important;
}

body.live-theme .dialog-chat-post .input-area .editinput:focus-within {
  border-color: rgba(138, 111, 82, 0.6) !important;
}

body.live-theme
  .dialog-chat-post
  .input-area
  .editinput
  .ctextarea.empty:before {
  color: var(--live-text-placeholder) !important;
}

body.live-theme .dialog-chat-post .input-area .editinput .sendbtn {
  background: var(--live-gradient-primary-btn) !important;
  background-image: var(--live-gradient-primary-btn) !important;
  color: var(--live-gold-text-on) !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.live-theme .dialog-chat-post .input-area .editinput .sendbtn:hover {
  opacity: 0.92;
  background: var(--live-gradient-primary-btn) !important;
  background-image: var(--live-gradient-primary-btn) !important;
}

body.live-theme .dialog-chat-post .input-area .toolbar .tbtn {
  background-color: var(--live-bg-toolbar-btn) !important;
}

body.live-theme .dialog-chat-post .input-area .toolbar .tbtn {
  border-radius: 10px !important;
}

body.live-theme .dialog-chat-post .input-area .editinput .faceBtn-trigger {
  background: var(--live-bg-toolbar-btn) !important;
}

body.live-theme .dialog-chat-post .input-area .editinput .faceBtn-trigger i {
  display: inline-block !important;
}

body.live-theme .dialog-chat-post .input-area .toolbar .tbtn.magic {
  background-color: transparent !important;
  background-image: var(--live-icon-magic) !important;
  background-size: 100% 100% !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}

body.live-theme .dialog-chat-post .input-area .toolbar .tbtn.btnQuickLike {
  background-color: transparent !important;
  background-image: var(--live-icon-like) !important;
  background-size: 100% 100% !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}

body.live-theme .dialog-chat-post .input-area .toolbar .btnSign {
  background-color: transparent !important;
  background-image: var(--live-icon-sign) !important;
  background-size: 100% 100% !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  width: 44px !important;
}

body.live-theme .dialog-chat-post .input-area .toolbar .btnSign .btnSign-label {
  display: none !important;
}

/* Top header buttons */
body.live-theme .header-btn-save {
  background: transparent !important;
  border: 1px solid var(--live-gold-outline) !important;
  color: var(--live-gold-accent) !important;
}

body.live-theme .header-btn-skin,
body.live-theme .btnUserLogin {
  background: var(--live-gradient-primary) !important;
  color: var(--live-gold-text-on) !important;
  border: none !important;
}

body.live-theme .header-btn-mobile {
  border-color: #dcab77 !important;
  color: var(--live-gold-accent) !important;
  background-color: #553d29 !important;
  opacity: 0.6;
}

body.live-theme .header-user-name {
  color: var(--live-text) !important;
}

body.live-theme .header-logo img {
  height: 38px;
  width: auto;
  max-width: 166px;
  object-fit: contain;
}

/* Tabs */
body.live-theme .layui-tab-room .layui-tab-title li.layui-this {
  color: var(--live-text);
  background: rgba(243, 177, 125, 0.2);
  border-bottom-color: transparent;
}

/* Modals */
body.live-theme .layer-theme-dark,
body.live-theme #popBoxRoomSkin,
body.live-theme #popBoxRoomSkin .pop_con {
  background-color: var(--live-bg-page) !important;
  border-color: var(--live-bg-panel-border) !important;
}

body.live-theme .roomSkinS a:hover {
  border-color: var(--live-gold-start);
  box-shadow: 0 0 15px rgba(243, 177, 125, 0.35);
}

body.live-theme .qiandap-box.new-theme-modal {
  background: var(--live-modal-bg);
  border-image-source: var(--live-gradient-border);
}

body.live-theme .new-theme-modal .my-points-btn {
  background-color: var(--live-gold-start) !important;
  color: var(--live-gold-text-on) !important;
}

body.live-theme .sign-modal {
  background: var(--live-gradient-border);
}

body.live-theme .sign-modal-inner {
  background: var(--live-login-bg, #1b140e);
}

body.live-theme .sign-points-btn {
  background: var(--live-sign-points-btn, #ffda89) !important;
  color: var(--live-gold-text-on) !important;
}

body.live-theme .sign-action {
  background: var(--live-sign-btn-active, #ffdb27) !important;
  color: var(--live-gold-text-on) !important;
}

body.live-theme .sign-action.done {
  background: var(--live-sign-btn-done, #5c656f) !important;
  color: var(--live-text) !important;
}

/* ═══════════ 弹层子页 / layer iframe ═══════════ */
body.live-theme .layui-form-label {
  color: var(--live-text-muted);
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(138, 111, 82, 0.3);
}

body.live-theme .layui-input,
body.live-theme .layui-textarea {
  background-color: var(--live-bg-input);
  border: 1px solid var(--live-bg-input-border);
  color: var(--live-text-body);
}

body.live-theme .layui-btn-danger,
body.live-theme .layui-btn-normal {
  background: var(--live-gradient-primary) !important;
  color: var(--live-gold-text-on) !important;
  border: none !important;
}
