html.yt-runtime-active,
html.yt-runtime-active body {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.96), transparent 24%),
    radial-gradient(circle at 82% 0%, rgba(226, 232, 240, 0.78), transparent 20%),
    linear-gradient(180deg, #f8fafc 0%, #f5f5f7 54%, #ffffff 100%) !important;
  background-attachment: fixed !important;
}

html.yt-runtime-active body {
  font-family:
    'SF Pro Display', 'SF Pro Text', 'PingFang SC', 'Helvetica Neue', Arial,
    'Microsoft YaHei', sans-serif !important;
  color: #0f172a;
}

html.yt-runtime-active body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.84), transparent 26%),
    radial-gradient(circle at 84% 12%, rgba(226, 232, 240, 0.7), transparent 22%);
  z-index: 0;
}

html.yt-runtime-active #root,
html.yt-runtime-active .app-layout,
html.yt-runtime-active .semi-layout,
html.yt-runtime-active .semi-layout-content,
html.yt-runtime-active .semi-layout-footer,
html.yt-runtime-active .semi-layout-header {
  background: transparent !important;
}

html.yt-runtime-active #root > section > header > section,
html.yt-runtime-active .sidebar-container,
html.yt-runtime-active .semi-card,
html.yt-runtime-active .yt-runtime-footer-panel,
html.yt-runtime-active .custom-footer {
  background: rgba(255, 255, 255, 0.76) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

html.yt-runtime-active #root > section > header > section {
  max-width: 1440px;
  margin: 10px auto 0 !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
}

html.yt-runtime-active .sidebar-container {
  border-radius: 28px !important;
}

html.yt-runtime-active .semi-navigation-item {
  border-radius: 16px !important;
  transition: all 0.2s ease !important;
}

html.yt-runtime-active .semi-navigation-item:hover {
  background: rgba(15, 23, 42, 0.045) !important;
}

html.yt-runtime-active .semi-navigation-item-selected {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.88) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 24px rgba(15, 23, 42, 0.06) !important;
}

html.yt-runtime-active .semi-button {
  min-height: 44px;
  border-radius: 999px !important;
  font-weight: 600 !important;
}

html.yt-runtime-active .semi-button.semi-button-primary:not(.semi-button-dangerous) {
  background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%) !important;
  color: #1e3a8a !important;
  border: 1px solid rgba(59, 130, 246, 0.18) !important;
  box-shadow: 0 14px 24px rgba(59, 130, 246, 0.12) !important;
}

html.yt-runtime-active .semi-button.semi-button-primary:not(.semi-button-dangerous):hover,
html.yt-runtime-active .semi-button.semi-button-primary:not(.semi-button-dangerous):focus {
  background: linear-gradient(180deg, #f8fbff 0%, #dbeafe 100%) !important;
  color: #1d4ed8 !important;
  box-shadow: 0 18px 28px rgba(59, 130, 246, 0.16) !important;
}

html.yt-runtime-active .semi-button:not(.semi-button-primary) {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

html.yt-runtime-active .semi-modal,
html.yt-runtime-active .semi-sidesheet,
html.yt-runtime-active .semi-modal *,
html.yt-runtime-active .semi-sidesheet * {
  color: #0f172a;
}

html.yt-runtime-active .semi-modal-content,
html.yt-runtime-active .semi-sidesheet-content,
html.yt-runtime-active .semi-sidesheet-inner {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14) !important;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

html.yt-runtime-active .semi-modal-header,
html.yt-runtime-active .semi-modal-footer,
html.yt-runtime-active .semi-sidesheet-header,
html.yt-runtime-active .semi-sidesheet-footer {
  background: transparent !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

html.yt-runtime-active .semi-modal-title,
html.yt-runtime-active .semi-sidesheet-title,
html.yt-runtime-active .semi-typography,
html.yt-runtime-active .semi-form-field-label-text {
  color: #0f172a !important;
}

html.yt-runtime-active .semi-sidesheet-content .semi-card,
html.yt-runtime-active .semi-modal-content .semi-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06) !important;
}

html.yt-runtime-active .semi-tag,
html.yt-runtime-active .semi-tag * {
  background: rgba(248, 250, 252, 0.96) !important;
  color: #475569 !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

html.yt-runtime-active .semi-avatar,
html.yt-runtime-active .semi-avatar-square,
html.yt-runtime-active .semi-avatar-circle {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
  color: #334155 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

html.yt-runtime-active .semi-sidesheet .semi-button.semi-button-primary:not(.semi-button-dangerous),
html.yt-runtime-active .semi-modal .semi-button.semi-button-primary:not(.semi-button-dangerous) {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%) !important;
  color: #1e40af !important;
}

html.yt-runtime-active .semi-input-wrapper,
html.yt-runtime-active .semi-input {
  border-radius: 18px !important;
}

html.yt-runtime-active .semi-input-wrapper {
  background: rgba(248, 250, 252, 0.92) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html.yt-runtime-active .semi-chat-chatBox-content,
html.yt-runtime-active .semi-chat-chatBox-content *:not(svg):not(path),
html.yt-runtime-active .semi-chat-chatBox-content-bubble,
html.yt-runtime-active .semi-chat-chatBox-wrap {
  color: #0f172a !important;
}

html.yt-runtime-active .semi-chat-chatBox-content-bubble,
html.yt-runtime-active .semi-chat-chatBox-content-noBubble {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06) !important;
}

html.yt-runtime-active .semi-chat-chatBox-content-user,
html.yt-runtime-active .semi-chat-chatBox-content-userBubble {
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%) !important;
  border-color: rgba(15, 23, 42, 0.2) !important;
  color: #f8fafc !important;
}

html.yt-runtime-active .semi-chat-chatBox-content-user *,
html.yt-runtime-active .semi-chat-chatBox-content-userBubble *,
html.yt-runtime-active .user-message,
html.yt-runtime-active .user-message *,
html.yt-runtime-active .user-message .markdown-body,
html.yt-runtime-active .user-message h1,
html.yt-runtime-active .user-message h2,
html.yt-runtime-active .user-message h3,
html.yt-runtime-active .user-message h4,
html.yt-runtime-active .user-message h5,
html.yt-runtime-active .user-message h6,
html.yt-runtime-active .user-message p,
html.yt-runtime-active .user-message span,
html.yt-runtime-active .user-message div,
html.yt-runtime-active .user-message li,
html.yt-runtime-active .user-message td,
html.yt-runtime-active .user-message th,
html.yt-runtime-active .user-message blockquote,
html.yt-runtime-active .user-message a {
  color: #f8fafc !important;
}

html.yt-runtime-active .user-message a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

html.yt-runtime-active .user-message code:not(pre code) {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

html.yt-runtime-active .user-message blockquote {
  background: rgba(255, 255, 255, 0.1) !important;
  border-left-color: rgba(255, 255, 255, 0.45) !important;
}

html.yt-runtime-active .bg-gradient-to-r.from-purple-50.to-indigo-50,
html.yt-runtime-active .bg-gradient-to-r.from-amber-50.to-orange-50,
html.yt-runtime-active .bg-gradient-to-r.from-purple-500.to-blue-500 {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

html.yt-runtime-active .bg-gradient-to-r.from-purple-500.to-blue-500 *,
html.yt-runtime-active .bg-gradient-to-r.from-purple-50.to-indigo-50 *,
html.yt-runtime-active .bg-gradient-to-r.from-amber-50.to-orange-50 * {
  color: #0f172a !important;
}

html.yt-runtime-active .bg-gradient-to-br.from-purple-500.to-indigo-600,
html.yt-runtime-active .bg-gradient-to-br.from-amber-500.to-orange-600,
html.yt-runtime-active .bg-gradient-to-r.from-purple-500.to-pink-500,
html.yt-runtime-active .bg-gradient-to-r.from-green-500.to-blue-500 {
  background: linear-gradient(180deg, #334155 0%, #0f172a 100%) !important;
  color: #f8fafc !important;
}

html.yt-runtime-active .shine-text {
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: #0f172a !important;
  animation: none !important;
  font-weight: 700 !important;
}

html.yt-runtime-active .shine-text::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: #0f172a;
  vertical-align: middle;
}

html.yt-runtime-active img[src*='yutian-logo.svg'] {
  border-radius: 20px !important;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
  background: transparent !important;
}

html.yt-runtime-active .yt-runtime-brand-text {
  letter-spacing: -0.03em;
  color: #0f172a !important;
  font-weight: 700 !important;
}

html.yt-runtime-active .yt-runtime-footer-panel {
  width: min(1110px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 22px 24px;
  border-radius: 30px;
  position: relative;
  z-index: 2;
}

html.yt-runtime-active .yt-runtime-footer-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

html.yt-runtime-active .yt-runtime-footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  flex-shrink: 0;
}

html.yt-runtime-active .yt-runtime-footer-overline {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}

html.yt-runtime-active .yt-runtime-footer-title {
  display: block;
  margin-top: 2px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #0f172a;
}

html.yt-runtime-active .yt-runtime-footer-desc,
html.yt-runtime-active .yt-runtime-footer-meta {
  display: block;
  margin-top: 6px;
  color: #64748b;
}

html.yt-runtime-active .yt-runtime-footer-meta a {
  color: #0f172a;
  font-weight: 600;
}

html.dark.yt-runtime-active .semi-chat-chatBox-content-bubble,
html.dark.yt-runtime-active .semi-chat-chatBox-content-noBubble {
  background: rgba(15, 23, 42, 0.84) !important;
}

@media (max-width: 767px) {
  html.yt-runtime-active #root > section > header > section {
    margin-top: 8px !important;
    border-radius: 24px !important;
    padding: 0 10px !important;
  }

  html.yt-runtime-active .yt-runtime-footer-panel {
    width: calc(100% - 20px);
    padding: 18px;
    border-radius: 24px;
  }

  html.yt-runtime-active .yt-runtime-footer-inner {
    align-items: flex-start;
  }

  html.yt-runtime-active .yt-runtime-footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }
}
