/* ==========================================================================
   HN720 · beauty.css  —  全站 / 全模板视觉提升层
   加载时机：各主题自身 CSS 之后。用 html.th-* 区分 6 套模板气质。
   ========================================================================== */

html.th-ready { visibility: visible; }

/* ---------- 全局质感 ---------- */
::selection { background: rgba(78,201,176,.28); color: inherit; }
:focus-visible {
  outline: 2px solid var(--color-accent, #4ec9b0);
  outline-offset: 3px;
}
img { max-width: 100%; }
a { transition: color .2s var(--ease-out, ease), opacity .2s, background .2s, border-color .2s, transform .2s; }

/* 滚动条克制 */
html::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-thumb { background: rgba(128,128,128,.35); border-radius: 10px; }
html::-webkit-scrollbar-thumb:hover { background: rgba(128,128,128,.5); }

/* ---------- 按钮 ---------- */
.btn, .btn-theme, .btn-light, .btn-primary, .submit-btn, .ht-btn-pill, .ht-btn-primary,
input[type="submit"], button.item-tope, .av-more {
  border-radius: 999px !important;
  letter-spacing: .02em;
  font-weight: 600;
  transition: transform .2s var(--ease-out, ease), box-shadow .2s, background .2s, border-color .2s !important;
}
.btn:hover, .btn-theme:hover, .submit-btn:hover, .ht-btn-pill:hover {
  transform: translateY(-1px);
}

/* ---------- 表单 ---------- */
input[type="text"], input[type="password"], input[type="email"], input[type="search"],
input[type="tel"], input[type="number"], textarea, select, .form-control {
  border-radius: 12px !important;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus,
textarea:focus, select:focus, .form-control:focus {
  border-color: var(--color-accent, #4ec9b0) !important;
  box-shadow: 0 0 0 3px rgba(78,201,176,.14);
}

/* ---------- 卡片通用 ---------- */
.item-post, .av-card, .post-item, .utf-services-items .item, .utf-team-items .item,
.card, .effect-left-swipe, .feature-item {
  border-radius: 16px;
  overflow: hidden;
  transition: transform .28s var(--ease-out, ease), box-shadow .28s, border-color .28s;
}
.item-post:hover, .av-card:hover, .post-item:hover, .utf-services-items .item:hover,
.utf-team-items .item:hover, .card:hover, .effect-left-swipe:hover {
  transform: translateY(-4px);
}

/* ---------- 分页 / 筛选芯片 ---------- */
.item-tope, .filter-tope-group .item-tope, .pager a, .pager span, .pagination > li > a {
  border-radius: 999px !important;
}
.item-tope.active, .item-tope.active a {
  background: var(--color-accent, #4ec9b0) !important;
  color: #06231d !important;
  border-color: transparent !important;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs, .wrap-breadcrumb { font-size: 13px; letter-spacing: .04em; opacity: .85; }

/* ---------- 页头横幅 ---------- */
.page-title .main-top, .page-title h1 {
  letter-spacing: -.02em;
}
.page-title h1 { font-weight: 650; }

/* ---------- 页脚 ---------- */
footer, .ht-footer, .nebula-footer, .utf-footer-area {
  letter-spacing: .01em;
}
footer a:hover { opacity: 1; }

/* ---------- 会员中心侧栏 / 表格 ---------- */
.member-menu a, .list-group-item, .nav-tabs > li > a { border-radius: 10px !important; }
.table { border-radius: 12px; overflow: hidden; }
.table > thead > tr > th { font-weight: 600; letter-spacing: .02em; }

/* ---------- 隐私密码框 ---------- */
.modal-content {
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.modal-title { font-weight: 650; letter-spacing: -.02em; }

/* ---------- 作品网格（全模板兜底） ---------- */
#pictures_content .item-post img,
#video_content .item-post img,
#people_content img,
.pf-item img {
  object-fit: cover;
}

/* ==========================================================================
   模板：new（简白 / 新锐）— 当前站点常用
   ========================================================================== */
html.th-new {
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
}
html.th-new body {
  background: #0b0d12;
  color: #e8edf4;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
html.th-new .navbar.bootsnav {
  background: rgba(11,13,18,.62) !important;
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: none !important;
}
html.th-new .navbar.bootsnav.navbar-sticky,
html.th-new .navbar.bootsnav.sticked {
  background: rgba(11,13,18,.88) !important;
}
html.th-new .navbar .navbar-nav > li > a {
  color: rgba(255,255,255,.78) !important;
  font-weight: 500;
  letter-spacing: .02em;
}
html.th-new .navbar .navbar-nav > li > a:hover,
html.th-new .navbar .navbar-nav > li.active > a {
  color: #fff !important;
}
html.th-new .navbar-brand img { max-height: 36px !important; }

html.th-new .utf-banner-area-block,
html.th-new .hn720-hero {
  min-height: 86vh;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}
html.th-new .hn720-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(59,130,246,.22), transparent 50%),
    linear-gradient(180deg, rgba(11,13,18,.35) 0%, rgba(11,13,18,.55) 50%, rgba(11,13,18,.88) 100%);
}
html.th-new .hn720-hero iframe { filter: saturate(1.05) brightness(.85); }
html.th-new .utf-banner-area-block .utf-box-table { position: relative; z-index: 2; }
html.th-new .utf-banner-area-block .content h3 {
  font-size: 13px !important; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: #93c5fd !important; margin-bottom: 14px !important;
}
html.th-new .utf-banner-area-block .content h1 {
  font-size: clamp(36px, 6vw, 68px) !important;
  font-weight: 650 !important; letter-spacing: -.03em; line-height: 1.12 !important;
  color: #fff !important; margin-bottom: 16px !important;
}
html.th-new .utf-banner-area-block .content h1 span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.th-new .utf-banner-area-block .content h4 {
  color: rgba(232,237,244,.72) !important; font-weight: 400 !important;
  font-size: 16px !important; line-height: 1.7 !important; max-width: 520px;
}
html.th-new .utf-banner-area-block .btn-theme {
  background: #3b82f6 !important; border: 0 !important; color: #fff !important;
  padding: 12px 26px !important; box-shadow: 0 10px 28px rgba(59,130,246,.35);
}
html.th-new .utf-banner-area-block .btn-light {
  background: transparent !important; border: 1px solid rgba(255,255,255,.28) !important;
  color: #fff !important; padding: 12px 26px !important;
}
html.th-new .utf-banner-area-block .btn-light:hover { background: rgba(255,255,255,.1) !important; }

html.th-new .utf-portfolio-area-item,
html.th-new .utf-services-area,
html.th-new .utf-team-area,
html.th-new .utf-clients-area,
html.th-new .utf-fun-factor-area {
  background: #0f131a !important;
}
html.th-new .utf-services-area.bg-gray,
html.th-new .utf-team-area.bg-gray { background: #11161f !important; }
html.th-new .utf-site-heading h2 {
  color: #fff !important; font-weight: 650; letter-spacing: -.03em;
}
html.th-new .utf-site-heading h2 span {
  background: linear-gradient(135deg, #60a5fa, #c4b5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.th-new .utf-site-heading p { color: #8b95a7 !important; }

html.th-new .pf-item .effect-left-swipe {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  background: #161c27;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
html.th-new .pf-item img { height: 220px; object-fit: cover; width: 100%; }
html.th-new .pf-item .icons h4 a { color: #fff !important; font-weight: 600; }
html.th-new .pf-item .cat { color: #93a0b5; font-size: 12px; }

html.th-new .utf-services-items .item {
  background: #161c27 !important;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 32px 24px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
html.th-new .utf-services-items .item h4 { color: #fff !important; font-weight: 650; }
html.th-new .utf-services-items .item p { color: #8b95a7 !important; }
html.th-new .utf-services-items .item i { color: #60a5fa !important; }

html.th-new .utf-team-items .item {
  background: #161c27; border: 1px solid rgba(255,255,255,.06); border-radius: 18px;
}
html.th-new .utf-team-items .item h4 a { color: #fff !important; }
html.th-new .utf-team-items .info { color: #8b95a7; }

html.th-new .page-title .main-top {
  min-height: 240px;
  background-size: cover; background-position: center;
}
html.th-new .page-title h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
html.th-new .page-title .main-top {
  position: relative;
}
html.th-new .page-title .main-top::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,18,.35), rgba(11,13,18,.82));
}
html.th-new .page-title .content { position: relative; z-index: 1; }
html.th-new .item-tope, html.th-new .filter-tope-group .item-tope,
html.th-new .item-tope a {
  color: #d5dbe6 !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  padding: 6px 14px !important;
  margin: 0 6px 8px 0;
}
html.th-new .item-tope.active, html.th-new .item-tope.active a {
  background: #3b82f6 !important; color: #fff !important; border-color: transparent !important;
}
html.th-new .heading-element { margin: 8px 0 20px; }
html.th-new footer, html.th-new .utf-footer-area {
  background: #0b0d12 !important; color: #8b95a7;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ==========================================================================
   模板：nebula（星云）
   ========================================================================== */
html.th-nebula body { background: #0b0e14; }
html.th-nebula .heading-post .title { letter-spacing: -.03em; }
html.th-nebula .ht-hero-title { letter-spacing: -.04em; }
html.th-nebula .item-post .text-item .title a { color: #e8edf4 !important; }
html.th-nebula .item-post .text-item font,
html.th-nebula .card-author { color: #8b95a7 !important; }
html.th-nebula .ht-accent {
  display: inline;
  background: linear-gradient(135deg, #4ec9b0, #7fe3d0) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* ==========================================================================
   模板：aurora（极光 · 浅色）
   ========================================================================== */
html.th-aurora ::selection { background: rgba(166,132,74,.22); }

/* ==========================================================================
   模板：black2021（暗夜）
   ========================================================================== */
html.th-black2021 body { background: #0a0a0c; color: #eee; }
html.th-black2021 .item-post, html.th-black2021 .card {
  background: #141418; border: 1px solid rgba(255,255,255,.07);
}
html.th-black2021 .navbar, html.th-black2021 header {
  background: rgba(10,10,12,.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
html.th-black2021 a:hover { color: #f0c27b; }

/* ==========================================================================
   模板：720mo（经典）
   ========================================================================== */
html.th-720mo .item-post, html.th-720mo .card {
  border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
html.th-720mo .navbar, html.th-720mo .header {
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
html.th-720mo .page-title h1 { font-weight: 650; }

/* ==========================================================================
   模板：default
   ========================================================================== */
html.th-default .card {
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.07);
}
html.th-default .card-heading { padding: 14px 16px !important; }

/* ---------- 登录 / 通行证（各主题） ---------- */
html.th-new .passport-box,
html.th-black2021 .passport-box,
html.th-nebula .passport-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
html.th-aurora .passport-box,
html.th-720mo .passport-box,
html.th-default .passport-box {
  background: #faf7f1;
  border: 1px solid rgba(28,25,23,.08);
  box-shadow: none;
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  html.th-new .utf-banner-area-block,
  html.th-new .hn720-hero { min-height: 72vh; }
  html.th-new .pf-item img { height: 180px; }
  .btn, .btn-theme, .btn-light { padding-left: 18px !important; padding-right: 18px !important; }
}
