/**
 * Yuedong v3 — 全站统一视觉（前台 · 会员 · 通行证）
 * v23：文章详情页、搜索页、地图页、权益页与全局分页样式（yd-article-* / yd-map-* / yd-quanyi-page）
 * v22：发布/编辑页顶栏导航强制可读字号（yd-page-add / yd-page-edit）
 * v21：正文/导航/ZUI 表单与按钮字号上调（覆盖默认 13px）
 * v14：视频列表 JSON 解析修复 · 卡片浏览/点赞 ZUI 图标 · 接口返回 praised_num
 */
:root {
  --yd-font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --yd-bg: #f3f4f6;
  --yd-surface: #ffffff;
  --yd-elevated: #ffffff;
  --yd-text: #111827;
  --yd-muted: #6b7280;
  --yd-border: #e5e7eb;
  --yd-brand: #2563eb;
  --yd-brand-hover: #1d4ed8;
  --yd-brand-soft: rgba(37, 99, 235, 0.08);
  --yd-danger: #dc2626;
  --yd-success: #059669;
  --yd-radius: 3px;
  --yd-radius-sm: 3px;
  --yd-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --yd-shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.08);
  --yd-max: 1240px;
  --yd-header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: 118.75%;
}

body.yd-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--yd-font);
  font-size: 1.125rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--yd-text);
  background: var(--yd-bg);
}

/* 覆盖 ZUI 默认 12–13px，正文与表单控件更易读 */
body.yd-body .form-control {
  font-size: 1.125rem;
  min-height: 42px;
  padding: 8px 14px;
  line-height: 1.5;
}

body.yd-body textarea.form-control {
  min-height: 6.5rem;
}

body.yd-body select.form-control {
  height: auto;
}

body.yd-body .input-group-addon {
  font-size: 1.0625rem;
  padding: 8px 12px;
}

body.yd-body .btn {
  font-size: 1.0625rem;
  padding: 8px 16px;
  line-height: 1.45;
}

body.yd-body .btn-sm {
  font-size: 0.9375rem;
  padding: 5px 12px;
}

body.yd-body .btn-lg {
  font-size: 1.125rem;
  padding: 10px 22px;
}

/* 发布作品 / 编辑作品：顶栏增高 + 主导航与按钮字号兜底（避免后续引入的样式压小） */
body.yd-body.yd-page-add,
body.yd-body.yd-page-edit {
  --yd-header-h: 72px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.yd-body.yd-page-add .yd-header-zone .yd-nav__link,
body.yd-body.yd-page-edit .yd-header-zone .yd-nav__link {
  font-size: 1.1875rem !important;
  font-weight: 600 !important;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 900px) {
  body.yd-body.yd-page-add .yd-header-zone > .yd-nav .yd-nav__link,
  body.yd-body.yd-page-edit .yd-header-zone > .yd-nav .yd-nav__link {
    font-size: 1.125rem !important;
    min-height: 48px;
    padding: 12px 18px;
  }
}

body.yd-body.yd-page-add .yd-btn,
body.yd-body.yd-page-edit .yd-btn {
  font-size: 1.125rem !important;
  padding: 11px 22px !important;
}

body.yd-body.yd-page-add .yd-user-dd > button,
body.yd-body.yd-page-edit .yd-user-dd > button {
  font-size: 1.125rem !important;
}

body.yd-body.yd-page-add .yd-user-dd__menu a,
body.yd-body.yd-page-edit .yd-user-dd__menu a {
  font-size: 1.0625rem !important;
}

body.yd-body a,
body.yd-body a:link,
body.yd-body a:visited,
body.yd-body a:hover,
body.yd-body a:active {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.yd-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.yd-wrap {
  width: 100%;
  max-width: var(--yd-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .yd-wrap {
    padding: 0 14px;
  }
}

/* ========== 顶栏 ========== */
.yd-header-zone {
  position: sticky;
  top: 0;
  z-index: 400;
}

.yd-header {
  position: relative;
  z-index: 1;
  height: var(--yd-header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yd-border);
  box-shadow: var(--yd-shadow);
}

.yd-header--simple .yd-header__inner {
  grid-template-columns: 1fr auto;
}

.yd-header__inner {
  height: var(--yd-header-h);
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr auto;
  grid-template-areas: "logo spacer actions";
  align-items: stretch;
  gap: 12px 20px;
}

.yd-logo,
.yd-header__actions,
.yd-nav-toggle {
  align-self: center;
}

.yd-logo {
  grid-area: logo;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.yd-logo__img {
  display: block;
  max-height: 44px;
  width: auto;
}

.yd-header__simple-links {
  justify-self: end;
  display: flex;
  gap: 8px 18px;
  align-items: center;
}

.yd-header__simple-links a {
  color: var(--yd-muted);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
}

.yd-header__simple-links a:hover {
  color: var(--yd-brand);
}

.yd-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius-sm);
  background: var(--yd-surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.yd-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--yd-text);
  border-radius: var(--yd-radius-sm);
}

@media (min-width: 901px) {
  .yd-header-zone > .yd-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: var(--yd-header-h);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0 clamp(140px, 17vw, 260px);
    box-sizing: border-box;
    pointer-events: none;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    z-index: 5;
  }

  .yd-header-zone > .yd-nav .yd-nav__link {
    pointer-events: auto;
  }
}

.yd-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  min-height: var(--yd-header-h);
  border-radius: 0;
  text-decoration: none;
  color: var(--yd-muted);
  font-size: 1.125rem;
  font-weight: 600;
}

.yd-nav__link:hover {
  color: var(--yd-text);
  background: var(--yd-bg);
}

.yd-nav__link--active {
  border-radius: 0;
  color: var(--yd-brand);
  background: var(--yd-brand-soft);
}

.yd-header__actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.yd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--yd-radius-sm);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.yd-btn--primary {
  background: var(--yd-brand);
  color: #fff;
}

.yd-btn--primary:hover {
  background: var(--yd-brand-hover);
  color: #fff;
}

.yd-btn--ghost {
  background: var(--yd-surface);
  color: var(--yd-text);
  border: 1px solid var(--yd-border);
}

.yd-btn--ghost:hover {
  border-color: var(--yd-brand);
  color: var(--yd-brand);
}

.yd-user-dd {
  position: relative;
}

.yd-user-dd > button {
  padding: 10px 16px;
  border-radius: var(--yd-radius-sm);
  border: 1px solid var(--yd-border);
  background: var(--yd-surface);
  color: var(--yd-text);
  cursor: pointer;
  font-size: 1.0625rem;
}

.yd-user-dd__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: var(--yd-surface);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  box-shadow: var(--yd-shadow-lg);
}

.yd-user-dd:hover .yd-user-dd__menu {
  display: block;
}

@media (hover: none) {
  .yd-user-dd:focus-within .yd-user-dd__menu {
    display: block;
  }
}

.yd-user-dd__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--yd-radius-sm);
  color: var(--yd-text);
  text-decoration: none;
  font-size: 1.0625rem;
}

.yd-user-dd__menu a:hover {
  background: var(--yd-bg);
}

.yd-user-dd__sep {
  height: 1px;
  margin: 6px 0;
  background: var(--yd-border);
  border: 0;
}

.yd-nav-overlay {
  display: none;
}

@media (max-width: 900px) {
  /* H5：第一行 logo | 操作按钮 | 汉堡；主导航横向满宽单行默认收起，展开后可滑动 */
  .yd-header {
    height: auto;
    min-height: var(--yd-header-h);
  }

  .yd-header__inner {
    height: auto;
    min-height: var(--yd-header-h);
    grid-template-columns: minmax(100px, 1fr) auto auto;
    grid-template-areas: "logo actions toggle";
    align-items: center;
    gap: 8px 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .yd-logo {
    align-self: center;
    min-width: 0;
  }

  .yd-logo__img {
    max-height: 40px;
  }

  .yd-nav-toggle {
    display: inline-flex;
    grid-area: toggle;
    justify-self: end;
    flex-shrink: 0;
  }

  body.yd-nav-open .yd-nav-toggle {
    border-color: var(--yd-brand);
    background: var(--yd-brand-soft);
  }

  .yd-header__actions {
    grid-area: actions;
    justify-self: end;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    padding-bottom: 0;
    border-bottom: none;
    box-sizing: border-box;
  }

  .yd-header__actions .yd-btn {
    flex: 0 1 auto;
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 0.88rem;
    min-height: 40px;
    box-sizing: border-box;
  }

  .yd-header__actions .yd-user-dd > button {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.88rem;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
  }

  /* 收起：不占可视高度；展开：横向单行（仍可横向滑动） */
  .yd-header-zone > .yd-nav {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--yd-surface);
    box-shadow: none;
    transform: none !important;
    z-index: 2;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border-top: 0 solid transparent;
    border-bottom: 0 solid transparent;
    transition:
      max-height 0.32s ease,
      opacity 0.22s ease,
      border-color 0.22s ease;
    scrollbar-width: thin;
  }

  body.yd-nav-open .yd-header-zone > .yd-nav {
    max-height: 96px;
    opacity: 1;
    pointer-events: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-color: var(--yd-border);
    border-bottom-color: var(--yd-border);
    border-top-style: solid;
    border-bottom-style: solid;
  }

  .yd-header-zone > .yd-nav::-webkit-scrollbar {
    height: 4px;
  }

  .yd-header-zone > .yd-nav::-webkit-scrollbar-thumb {
    background: var(--yd-border);
    border-radius: 3px;
  }

  .yd-header-zone > .yd-nav .yd-nav__link {
    flex: 1 0 auto;
    min-width: max-content;
    width: auto;
    min-height: 46px;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 0;
    border-right: 1px solid var(--yd-border);
    border-bottom: none;
    font-size: 1.0625rem;
    white-space: nowrap;
  }

  .yd-header-zone > .yd-nav .yd-nav__link:last-child {
    border-right: none;
  }

  .yd-header-zone > .yd-nav .yd-nav__link--active {
    background: var(--yd-brand-soft);
    color: var(--yd-brand);
  }

  /* 遮罩必须低于 .yd-header-zone(400)，否则会盖住横向导航导致无法点击 */
  .yd-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 350;
    background: rgba(15, 23, 42, 0.45);
  }

  body.yd-nav-open .yd-nav-overlay {
    display: block;
  }

  body.yd-nav-open {
    overflow: hidden;
  }
}

/* ========== 主区域 ========== */
.yd-main {
  flex: 1;
  padding-bottom: 48px;
}

.yd-main--auth {
  padding-top: 24px;
  padding-bottom: 48px;
}

.yd-main .container {
  max-width: var(--yd-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 1.125rem;
}

/* ========== 通行证 / 表单 ========== */
.yd-auth-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0 40px;
}

.yd-auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--yd-surface);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  box-shadow: var(--yd-shadow-lg);
  padding: 30px 28px 34px;
}

@media (max-width: 480px) {
  .yd-auth-card {
    padding: 22px 18px 28px;
    border-radius: var(--yd-radius-sm);
    box-shadow: none;
  }
}

.yd-auth-card__brand {
  text-align: center;
  margin-bottom: 20px;
}

.yd-auth-card__brand img {
  max-height: 48px;
}

.yd-auth-card__title {
  margin: 0 0 6px;
  font-size: 1.55rem;
  font-weight: 700;
  text-align: center;
}

.yd-auth-card__sub {
  margin: 0 0 20px;
  text-align: center;
  font-size: 1rem;
  color: var(--yd-muted);
}

.yd-auth-steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 22px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--yd-muted);
}

.yd-auth-steps .is-done {
  color: var(--yd-success);
}

.yd-auth-note {
  font-size: 0.92rem;
  color: var(--yd-muted);
  margin: 8px 0 0;
  line-height: 1.45;
}

.yd-auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 1rem;
}

.yd-auth-links a {
  color: var(--yd-brand);
  text-decoration: none;
}

.yd-auth-links a:hover {
  text-decoration: underline;
}

.yd-auth-oauth {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--yd-border);
}

.yd-auth-oauth img {
  height: 40px;
  width: auto;
}

/* ZUI 表单在通行证内的样式 */
.yd-auth-card .input-group {
  margin-bottom: 14px;
  border-radius: var(--yd-radius-sm);
  overflow: hidden;
  border: 1px solid var(--yd-border);
}

.yd-auth-card .input-group:focus-within {
  border-color: var(--yd-brand);
  box-shadow: 0 0 0 3px var(--yd-brand-soft);
}

.yd-auth-card .input-group-addon {
  background: var(--yd-bg);
  border: none !important;
  color: var(--yd-muted);
}

.yd-auth-card .form-control {
  border: none !important;
  box-shadow: none !important;
  height: 48px;
  font-size: 1.0625rem;
}

.yd-auth-card .btn-primary,
.yd-auth-card .btn.btn-primary {
  height: 50px;
  border-radius: var(--yd-radius-sm);
  font-weight: 600;
  font-size: 1.0625rem;
  background: var(--yd-brand) !important;
  border-color: var(--yd-brand) !important;
}

.yd-auth-card .btn-info {
  border-radius: var(--yd-radius-sm);
}

.yd-auth-card .checkbox label {
  font-size: 1rem;
  color: var(--yd-muted);
}

.yd-auth-card .has-error {
  border-color: var(--yd-danger) !important;
}

/* 通行证单页切换 */
.yd-auth-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--yd-border);
}

.yd-auth-tabs__btn {
  margin: 0;
  padding: 8px 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--yd-muted);
  background: transparent;
  border: none;
  border-radius: var(--yd-radius-sm);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -15px;
}

.yd-auth-tabs__btn:hover {
  color: var(--yd-brand);
}

.yd-auth-tabs__btn.is-active {
  color: var(--yd-brand);
  border-bottom-color: var(--yd-brand);
}

.yd-auth-panel {
  display: none;
}

.yd-auth-panel.is-active {
  display: block;
}

.yd-findpwd-step {
  display: none;
}

.yd-findpwd-step.is-active {
  display: block;
}

/* 首次访问协议提示（与 auth.html 文案一致） */
.yd-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.yd-consent-backdrop.is-open {
  display: flex;
}

.yd-consent-modal {
  background: var(--yd-surface);
  border-radius: var(--yd-radius);
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  box-shadow: var(--yd-shadow-lg);
  border: 1px solid var(--yd-border);
}

.yd-consent-modal__head {
  padding: 18px 20px;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--yd-border);
}

.yd-consent-modal__body {
  padding: 18px 20px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--yd-muted);
}

.yd-consent-modal__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.yd-consent-modal__links a {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--yd-radius-sm);
  background: var(--yd-bg);
  color: var(--yd-brand);
  font-weight: 600;
  text-decoration: none;
}

.yd-consent-modal__links a:hover {
  text-decoration: underline;
}

.yd-consent-modal__foot {
  padding: 14px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.yd-consent-modal__foot .btn {
  min-width: 120px;
}

/* 会员二级导航与到期条：见 /static/css/member-zone.css（library/member_paths.lbi 引入） */

/* ========== 会员区 ZUI / Bootstrap 覆盖 ========== */
.yd-main .panel {
  border-radius: var(--yd-radius);
  border: 1px solid var(--yd-border);
  box-shadow: var(--yd-shadow);
}

.yd-main .panel-heading {
  background: var(--yd-bg);
  border-bottom: 1px solid var(--yd-border);
  font-weight: 600;
  font-size: 1.0625rem;
}

.yd-main .panel-body {
  font-size: 1.0625rem;
}

.yd-main .table {
  font-size: 1.02rem;
}

.yd-main .btn {
  font-size: 1rem;
}

.yd-main .nav-secondary > li > a,
.yd-main .navbar-nav > li > a {
  font-size: 1.02rem;
}

.yd-main .table > thead > tr > th {
  border-bottom: 2px solid var(--yd-border);
}

.yd-main .btn-primary {
  background: var(--yd-brand);
  border-color: var(--yd-brand);
}

.yd-main .btn-primary:hover {
  background: var(--yd-brand-hover);
  border-color: var(--yd-brand-hover);
}

.yd-main .form-control:focus {
  border-color: var(--yd-brand);
  box-shadow: 0 0 0 3px var(--yd-brand-soft);
}

/* ========== 前台首页区块（沿用 yd-* 类） ========== */
.yd-page-head {
  padding: 22px 0 14px;
}

.yd-page-head__title {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 800;
}

.yd-hero {
  margin: 20px auto 28px;
  overflow: hidden;
  box-sizing: border-box;
}

.yd-hero-carousel {
  width: 100%;
  margin: 0 auto;
}

.yd-hero-carousel .owl-stage-outer {
  overflow: hidden;
  border-radius: var(--yd-radius);
}

.yd-hero-carousel .owl-item .item {
  width: 100%;
}

.yd-hero-carousel .owl-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.yd-hero-carousel .owl-dot {
  display: inline-flex;
}

.yd-hero-carousel .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 3px;
  background: #cbd5e1;
  transition: background 0.15s, transform 0.15s;
}

.yd-hero-carousel .owl-dot.active span {
  background: var(--yd-brand);
  transform: scale(1.15);
}

.yd-hero__slide {
  display: block;
  width: 100%;
  margin: 0 auto;
  height: min(46vw, 380px);
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--yd-radius);
  border: 1px solid var(--yd-border);
  box-shadow: var(--yd-shadow);
}

.yd-section {
  margin-bottom: 36px;
}

.yd-section__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.yd-section__title {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
}

.yd-more {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--yd-brand);
  text-decoration: none;
}

.yd-more:hover {
  text-decoration: underline;
}

/* 与 vrjieyang 首页「分类广告位」position=1 对应，多为十大分类：桌面 5×2，窄屏 2 列自动换行 */
.yd-quick {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .yd-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.yd-quick__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 14px 16px;
  background: var(--yd-surface);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--yd-shadow);
  text-align: center;
  overflow: hidden;
}

.yd-quick__item:hover {
  border-color: var(--yd-brand);
  box-shadow: var(--yd-shadow-lg);
}

/* 有缩略图：图为底、字叠加在上（半透明遮罩保证可读） */
.yd-quick__item--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.55) 100%);
  z-index: 0;
  pointer-events: none;
}

.yd-quick__item--bg:hover::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.62) 100%);
}

.yd-quick__label {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.35;
}

.yd-quick__item--bg .yd-quick__label {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55), 0 0 1px rgba(0, 0, 0, 0.9);
}

.yd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1100px) {
  .yd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .yd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .yd-grid {
    grid-template-columns: 1fr;
  }
}

.yd-grid--hero .yd-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.yd-grid--hero .yd-card:first-child > a {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

@media (max-width: 768px) {
  .yd-grid--hero .yd-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 420px) {
  .yd-grid--hero .yd-card:first-child {
    grid-column: span 1;
  }
}

.yd-card {
  background: var(--yd-surface);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  overflow: hidden;
  box-shadow: var(--yd-shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.yd-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--yd-shadow-lg);
}

.yd-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.yd-card__thumb {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--yd-bg);
}

.yd-grid--hero .yd-card:first-child .yd-card__thumb {
  flex: 1;
  min-height: clamp(200px, 38vw, 420px);
  aspect-ratio: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--yd-bg);
}

.yd-grid--hero .yd-card:first-child .yd-card__body {
  flex-shrink: 0;
}

.yd-card__body {
  padding: 10px 12px 14px;
}

.yd-card__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yd-card__meta {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--yd-muted);
  display: flex;
  justify-content: space-between;
}

/* 卡片底部：浏览 / 点赞在左，作者在右同一行 */
.yd-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  min-width: 0;
}

.yd-card__stats {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px 18px;
  margin-top: 0;
  font-size: 0.9rem;
  color: var(--yd-muted);
  flex: 0 0 auto;
}

.yd-card__stats .yd-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.yd-card__stats .icon {
  font-size: 1rem;
  opacity: 0.78;
}

.yd-card__author {
  margin-top: 0;
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--yd-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  min-width: 0;
  flex: 1 1 auto;
}

.yd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.yd-tag {
  padding: 10px 16px;
  border-radius: var(--yd-radius-sm);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--yd-muted);
  border: 1px solid var(--yd-border);
  background: var(--yd-surface);
}

.yd-tag:hover,
.yd-tag--active {
  color: var(--yd-brand);
  border-color: var(--yd-brand);
  background: var(--yd-brand-soft);
}

.yd-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.yd-people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.yd-people-card {
  background: var(--yd-surface);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--yd-shadow);
}

.yd-people-card img {
  width: 80px;
  height: 80px;
  border-radius: var(--yd-radius-sm);
  object-fit: cover;
  border: 1px solid var(--yd-border);
}

.yd-people-card__name {
  margin: 12px 0 6px;
  font-weight: 800;
  font-size: 1.08rem;
}

.yd-people-card__stats {
  font-size: 0.95rem;
  color: var(--yd-muted);
  margin-bottom: 12px;
}

.yd-people-card__link {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--yd-radius-sm);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--yd-brand);
}

.yd-people-card__link:hover {
  background: var(--yd-brand-hover);
  color: #fff;
}

.yd-creators {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 16px;
}

.yd-creator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 14px 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, var(--yd-surface) 0%, #f9fafb 100%);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  box-shadow: var(--yd-shadow);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.yd-creator:hover {
  border-color: var(--yd-brand);
  box-shadow: var(--yd-shadow-lg);
  transform: translateY(-2px);
}

.yd-creator img {
  width: 76px;
  height: 76px;
  border-radius: 3px;
  object-fit: cover;
  border: 2px solid var(--yd-surface);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.yd-creator span {
  display: block;
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yd-text);
  line-height: 1.35;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .yd-creators {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .yd-creator {
    padding: 16px 10px 14px;
  }

  .yd-creator img {
    width: 68px;
    height: 68px;
  }
}

.yd-video-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1024px) {
  .yd-video-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .yd-video-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .yd-video-row {
    grid-template-columns: 1fr;
  }
}

.yd-video-row > .yd-card {
  margin: 0;
}

.yd-no-data {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  color: var(--yd-muted);
  font-size: 1.06rem;
}

.yd-load-more-hint {
  text-align: center;
  padding: 20px;
  color: var(--yd-muted);
  font-size: 1rem;
}

/* ========== 创作达人个人主页 ========== */
.yd-page--author {
  padding-bottom: 32px;
}

.yd-author-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yd-author-profile {
  background: var(--yd-surface);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  box-shadow: var(--yd-shadow);
  padding: 22px 24px;
}

.yd-author-profile__main {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
}

.yd-author-profile__avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--yd-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.yd-author-profile__meta {
  flex: 1;
  min-width: 220px;
}

.yd-author-profile__name {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yd-text);
  line-height: 1.35;
}

.yd-author-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  margin-bottom: 14px;
}

.yd-author-profile__stats-item span {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--yd-brand);
  line-height: 1.3;
}

.yd-author-profile__stats-item em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--yd-muted);
}

.yd-author-profile__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: var(--yd-muted);
}

.yd-author-profile__contact a {
  color: var(--yd-brand);
}

.yd-author-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  overflow: hidden;
  background: var(--yd-surface);
  box-shadow: var(--yd-shadow);
}

.yd-author-tabs__item {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--yd-muted);
  text-decoration: none;
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--yd-border);
  background: var(--yd-surface);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.yd-author-tabs__item:last-child {
  border-right: none;
}

.yd-author-tabs__item:hover {
  background: var(--yd-bg);
  color: var(--yd-text);
}

.yd-author-tabs__item.active {
  background: var(--yd-brand-soft);
  color: var(--yd-brand);
}

.yd-author-works-wrap {
  background: var(--yd-surface);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  padding: 16px 16px 20px;
  box-shadow: var(--yd-shadow);
}

/* 达人主页作品列表：PC 四列网格（模板未引入 main.css，旧 list2Dl 浮动无效导致单列） */
.yd-author-work-grid.list2Dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}

@media (max-width: 1100px) {
  .yd-author-work-grid.list2Dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .yd-author-work-grid.list2Dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .yd-author-work-grid.list2Dl {
    grid-template-columns: 1fr;
  }
}

.yd-author-work-grid.list2Dl dd {
  float: none !important;
  width: auto !important;
  max-width: none;
  display: block;
  margin: 0 !important;
  padding: 0;
}

.yd-author-work-grid.list2Dl dd a {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border-radius: var(--yd-radius);
  border: 1px solid var(--yd-border);
  background: var(--yd-surface);
  box-shadow: var(--yd-shadow);
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.yd-author-work-grid.list2Dl dd a:hover {
  box-shadow: var(--yd-shadow-lg);
  transform: translateY(-2px);
}

.yd-author-work-grid.list2Dl dd a::after {
  content: none !important;
  display: none !important;
  padding: 0 !important;
}

.yd-author-work-grid.list2Dl dd a .pic {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--yd-bg);
  flex-shrink: 0;
}

.yd-author-work-grid.list2Dl dd a .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yd-author-work-grid.list2Dl dd a .txt {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 1;
  padding: 10px 12px 12px;
  background: var(--yd-surface);
  background-image: none !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yd-author-work-grid.list2Dl dd a .txt .divT {
  float: none !important;
  display: block;
  height: auto;
  padding: 0;
  margin: 0;
  line-height: 1.45;
  color: var(--yd-text);
  font-size: 0.98rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yd-author-work-grid.list2Dl dd a .txt .divT2 {
  float: none !important;
  display: flex;
  align-items: center;
  padding: 0;
  gap: 10px;
  min-width: 0;
}

.yd-author-work-grid.list2Dl dd a .txt .divT2 .yd-author-metrics {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px 18px;
  flex-shrink: 0;
}

.yd-author-work-grid.list2Dl dd a .txt .divT2 .yd-author-by {
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--yd-muted);
  text-align: right;
}

.yd-author-work-grid.list2Dl dd a .txt .divT2 span.span1,
.yd-author-work-grid.list2Dl dd a .txt .divT2 span.span2 {
  float: none !important;
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 0 !important;
  line-height: 1.35;
  font-size: 0.88rem;
  color: var(--yd-muted);
  background: none !important;
  background-image: none !important;
}

.yd-author-work-grid.list2Dl dd a .txt .divT2 .icon {
  font-size: 0.95rem;
  opacity: 0.78;
}

.yd-author-work-grid dd.yd-author-empty {
  grid-column: 1 / -1;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 16px;
}

.yd-author-work-grid dd.yd-author-empty .yd-no-data {
  margin: 0;
}

/* ========== 支付页 ========== */
.yd-pay-panel {
  max-width: 420px;
  margin: 24px auto;
  background: var(--yd-surface);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  box-shadow: var(--yd-shadow-lg);
  overflow: hidden;
}

.yd-pay-panel__tit {
  margin: 0;
  padding: 16px 20px;
  background: var(--yd-brand);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.yd-pay-panel__body {
  padding: 22px 20px 28px;
}

.yd-pay-panel .qrcode {
  border-radius: var(--yd-radius-sm);
}

/* ========== 简易提示页 ========== */
.yd-tips-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.yd-tips-card {
  max-width: 480px;
  text-align: center;
  background: var(--yd-surface);
  padding: 32px 28px;
  border-radius: var(--yd-radius);
  border: 1px solid var(--yd-border);
  box-shadow: var(--yd-shadow-lg);
}

.yd-tips-card h4 {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.45;
}

.yd-tips-card p,
.yd-tips-card a {
  font-size: 1.05rem;
}

/* ========== 隐私口令页 ========== */
.yd-privacy-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, #eef2ff 0%, var(--yd-bg) 45%);
}

.yd-privacy-card {
  width: 100%;
  max-width: 400px;
  background: var(--yd-surface);
  border-radius: var(--yd-radius);
  padding: 28px 22px 32px;
  border: 1px solid var(--yd-border);
  box-shadow: var(--yd-shadow-lg);
  text-align: center;
}

.yd-privacy-card .yd-input {
  width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius-sm);
  font-size: 1.0625rem;
}

.yd-privacy-card .yd-submit {
  margin-top: 16px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--yd-radius-sm);
  background: var(--yd-brand);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
}

/* ========== 页脚 ========== */
.yd-footer {
  margin-top: auto;
  padding: 28px 0 24px;
  background: var(--yd-surface);
  border-top: 1px solid var(--yd-border);
}

.yd-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.yd-footer__logo img {
  max-height: 40px;
}

.yd-footer__muted {
  margin: 10px 0 0;
  color: var(--yd-muted);
  font-size: 1rem;
}

@media (max-width: 768px) {
  /* H5：不展示底部 logo；联系信息占满一行；两组菜单左右两列（PC 仍为三列栅格不变） */
  .yd-footer__logo {
    display: none;
  }

  .yd-footer__muted {
    margin: 0;
  }

  .yd-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    align-items: start;
  }

  .yd-footer__brand-block {
    grid-column: 1 / -1;
  }

  .yd-footer__links {
    min-width: 0;
  }
}

.yd-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yd-footer__links a {
  color: var(--yd-muted);
  text-decoration: none;
  font-size: 1rem;
}

.yd-footer__links a:hover {
  color: var(--yd-brand);
}

.yd-footer__icp {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--yd-border);
  font-size: 0.92rem;
  color: var(--yd-muted);
}

.yd-body .headBox,
.yd-body .menuBt,
.yd-body .menuBg,
.yd-body .getTop {
  display: none !important;
}

/* ---------- v23：文章 / 搜索 / 地图 / 权益 ---------- */

.yd-page-head__desc {
  text-align: center;
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--yd-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.yd-article-sheet {
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  box-shadow: var(--yd-shadow);
  background: var(--yd-surface);
  overflow: hidden;
  margin-bottom: 2rem;
}

.yd-article-sheet .panel-body {
  padding: 1.5rem 1.75rem 2rem;
}

.yd-article-prose {
  word-break: break-word;
  line-height: 1.75;
  font-size: 1.0625rem;
}

.yd-article-prose img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.75rem auto;
}

.yd-article-prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.yd-article-prose p {
  margin: 0 0 1rem;
}

.yd-page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--yd-muted);
}

.yd-map-section {
  background: var(--yd-surface);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  box-shadow: var(--yd-shadow);
  overflow: hidden;
  min-height: 420px;
}

.yd-map-section__frame {
  width: 100%;
  height: min(72vh, 700px);
  min-height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .yd-map-section__frame {
    height: 60vh;
    min-height: 360px;
  }
}

.yd-quanyi-page {
  padding-bottom: 1.5rem;
}

.yd-quanyi-page .container.content-sm {
  max-width: var(--yd-max);
  margin-left: auto;
  margin-right: auto;
}

.yd-article-detail-ads {
  margin-bottom: 0.5rem;
}

.yd-article-detail-ad {
  margin-bottom: 0.75rem;
  border-radius: var(--yd-radius);
  overflow: hidden;
  border: 1px solid var(--yd-border);
  box-shadow: var(--yd-shadow);
}

.yd-article-detail-ad img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

.yd-article-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.yd-article-detail-row {
  margin: 0;
  padding: 0;
}

.yd-article-detail-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: stretch;
  background: var(--yd-surface);
  border: 1px solid var(--yd-border);
  border-radius: var(--yd-radius);
  box-shadow: var(--yd-shadow);
  overflow: hidden;
}

.yd-article-detail-card__thumb {
  flex: 0 0 280px;
  max-width: 100%;
  align-self: stretch;
  background: var(--yd-bg);
}

.yd-article-detail-card__thumb a {
  display: block;
  height: 100%;
  min-height: 160px;
}

.yd-article-detail-card__thumb img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}

.yd-article-detail-card__body {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.25rem 1.25rem;
}

.yd-article-detail-card__body h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
}

.yd-article-detail-card__body h2 a {
  color: var(--yd-text);
  text-decoration: none;
}

.yd-article-detail-card__body h2 a:hover {
  color: var(--yd-brand);
}

.yd-article-detail-card__excerpt {
  margin: 0 0 0.75rem;
  color: var(--yd-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-height: 5.4em;
  overflow: hidden;
}

.yd-article-detail-card__meta {
  font-size: 0.9375rem;
  color: var(--yd-muted);
}

.yd-article-detail-card__meta span + span::before {
  content: "·";
  margin: 0 0.35rem;
  opacity: 0.6;
}

body.yd-body .pagebox {
  text-align: center;
  margin: 2rem 0 1rem;
}

body.yd-body .pagebox a.apage {
  border-radius: var(--yd-radius);
  border-color: var(--yd-border);
  color: var(--yd-text);
  font-size: 1rem;
}

body.yd-body .pagebox a.apage.on,
body.yd-body .pagebox a.apage:hover {
  background: var(--yd-brand);
  border-color: var(--yd-brand);
  color: #fff;
}

body.yd-body .pagebox .s12 {
  font-size: 1rem;
}

@media (max-width: 768px) {
  body.yd-body .mui-mbar-tabs {
    display: none !important;
  }
}

/* ===================================================================
   全站圆角上限：3px（v13）
   —— 统一收敛 ZUI 组件 / 第三方插件 / 主题外壳的大圆角与胶囊，
      全站任何圆角均不超过 3px（直角元素不受影响）。
   =================================================================== */
.btn, .btn-lg, .btn-sm, .btn-xs, .btn-mini,
.btn-group-xs > .btn, .btn-group-sm > .btn, .btn-group-lg > .btn, .form-condensed .btn,
.form-control, .input-lg, .input-group-addon, .input-group-sm > .form-control,
.input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn,
.input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn,
.panel, .panel-group .panel, .panel-heading, .panel-footer,
.modal-content, .modal-dialog, .modal-header, .modal-footer, .modal-iframe .modal-body > iframe,
.dropdown-menu, .dropdown-submenu > .dropdown-menu, .popover, .popover-title, .tooltip-inner,
.nav-tabs > li > a, .nav-pills > li > a, .navbar, .navbar-toggle,
.pager > li > a, .pager > li > span, .pager-loose > li > a, .pager-loose > li > span,
.pager-pills > li > a, .pager-pills > li > span, .pagination > li > a, .pagination > li > span,
.progress, .progress-bar, .breadcrumb, .label, .label-badge, .label-dot, .alert, .well,
.img-rounded, .img-thumbnail, .img-circle, .thumbnail, .list-group-item, .card,
.card > img, .card > .media-wrapper, .cards-borderless .card > img, .cards-borderless .card > .media-wrapper,
.carousel-indicators li, .messager, .tree-chevrons li::before,
pre, code, kbd, .btn-file, .file-input,
.chosen-container, .chosen-container .chosen-single, .chosen-container .chosen-choices,
.chosen-container-multi .chosen-choices, .chosen-container .chosen-drop,
.bootstrap-switch, .bootstrap-switch-label, .bootstrap-switch-handle-on, .bootstrap-switch-handle-off,
.datetimepicker, .datetimepicker-days, .picker,
#searchScene, #searchScene .searchResultList {
  border-radius: 3px !important;
}
