/* 春秋国际艺术网风格 - 主样式 */
:root {
  --primary: #329d15;
  --primary-hover: #5bb144;
  --primary-dark: #2d8d13;
  --text: #262626;
  --text-secondary: #595959;
  --text-muted: #8c8c8c;
  --border: #e8e8e8;
  --bg-gray: #f2f2f2;
  --bg-page: #ffffff;
  --container: 1180px;
  --sidebar: 380px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-nav: 0 8px 12px hsla(0, 0%, 62.7%, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== Header ========== */
.site-header {
  background: #fff;
  margin-bottom: 10px;
}

.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--border);
}

.site-header-sticky .main-header-nav {
  box-shadow: var(--shadow-nav);
}

.main-header-top {
  background: var(--bg-gray);
  height: 42px;
}

.main-header-top .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 13px;
}

.app-download {
  display: flex;
  align-items: center;
  gap: 20px;
}

.app-download .item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-download .item:hover {
  color: var(--primary);
}

.logbox {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-header-top .container.logbox-only-wrap,
.main-header-top .container:has(.logbox-only) {
  justify-content: flex-end;
}

.logbox-only {
  margin-left: auto;
}

.logbox a:hover {
  color: var(--primary);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 30px;
  background: var(--primary);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.btn-login:hover {
  background: var(--primary-hover);
}

/* 主导航 */
.main-header-nav {
  box-shadow: var(--shadow-nav);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.logo-svg {
  width: 181px;
  height: 45px;
}

.nav-list {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: center;
  margin: 0 30px;
}

.nav-item {
  position: relative;
  font-size: 18px;
  font-weight: 700;
}

.nav-item a {
  color: var(--text);
  padding: 4px 0;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.2s;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-item.active a,
.nav-item:hover a {
  color: var(--primary);
}

.search-box {
  display: flex;
  width: 220px;
}

.search-input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 13px;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
}

.search-btn {
  height: 36px;
  padding: 0 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 13px;
}

.search-btn:hover {
  background: var(--primary-hover);
}

.nav-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.main-header-nav.is-open .nav-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.main-header-nav.is-open .nav-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.main-header-nav.is-open .nav-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-scroll-lock {
  overflow: hidden;
}

/* 固定导航 */
.main-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s;
}

.main-header-fixed.visible {
  transform: translateY(0);
}

.fixed-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-small {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nav-list-sm {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
  margin: 0 25px;
  font-size: 16px;
  font-weight: 700;
}

.nav-list-sm .active a {
  color: var(--primary);
}

.btn-login-sm {
  width: 60px;
  height: 28px;
  font-size: 12px;
}

/* ========== Main Layout ========== */
.home {
  max-width: var(--container);
  margin: 20px auto 80px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.home-left {
  flex: 1;
  min-width: 0;
}

.home-right {
  width: var(--sidebar);
  flex-shrink: 0;
}

/* ========== Cards ========== */
.card {
  background: #fff;
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  padding-left: 12px;
}

.card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
}

.card-title.highlight {
  color: var(--primary);
}

.more-link {
  font-size: 13px;
  color: var(--text-muted);
}

.more-link:hover {
  color: var(--primary);
}

/* ========== Carousel ========== */
.hero-carousel {
  position: relative;
  height: 360px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #000;
  border: 1px solid var(--border);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.hero-carousel:hover .carousel-slide.active img {
  transform: scale(1.08);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
}

.slide-caption h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.slide-caption p {
  font-size: 14px;
  opacity: 0.9;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dots .dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ========== News ========== */
.news-list {
  padding: 8px 16px 16px;
}

.news-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.tag {
  flex-shrink: 0;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 2px;
  background: #ff4d4f;
  color: #fff;
}

/* ========== Tabs ========== */
.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}

.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  font-family: inherit;
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--primary);
}

.tab-panel {
  display: none;
  padding: 8px 16px 16px;
}

.tab-panel.active {
  display: block;
}

.tab-panel li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
}

.tab-panel li:last-child {
  border-bottom: none;
}

.tab-panel a::before {
  content: "·";
  color: var(--primary);
  margin-right: 8px;
  font-weight: bold;
}

/* ========== Headlines ========== */
.headlines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.headline-main {
  position: relative;
  min-height: 220px;
}

.headline-main img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.headline-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
}

.headline-overlay .label {
  display: inline-block;
  background: var(--primary);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}

.headline-overlay h4 {
  font-size: 16px;
  line-height: 1.4;
}

.headline-list {
  border-left: 1px solid var(--border);
}

.headline-list li {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.headline-list li:last-child {
  border-bottom: none;
}

.label-sm {
  color: var(--primary);
  margin-right: 6px;
  font-size: 12px;
}

/* ========== Exhibition ========== */
.exhibition-tabs {
  display: flex;
  padding: 12px 16px 0;
  gap: 16px;
}

.ex-tab {
  padding: 6px 16px;
  background: var(--bg-gray);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.ex-tab.active {
  background: var(--primary);
  color: #fff;
}

.ex-list {
  display: none;
  padding: 12px 16px 16px;
}

.ex-list.active {
  display: block;
}

.ex-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
}

.ex-list li:last-child {
  border-bottom: none;
}

/* ========== Video ========== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px 16px 16px;
}

.video-item p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 4px;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ========== Auction Section ========== */
.auction-stats {
  font-size: 13px;
  color: var(--text-muted);
}

.auction-stats a {
  color: var(--primary);
  font-weight: 700;
}

.auction-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.company-card {
  padding: 8px 16px;
  background: var(--bg-gray);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.company-card:hover {
  background: #ebf5e8;
  color: var(--primary);
}

.auction-events {
  padding: 8px 16px 16px;
}

.auction-events li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}

.auction-events li:last-child {
  border-bottom: none;
}

.auction-events .company {
  flex-shrink: 0;
  width: 72px;
  color: var(--primary);
  font-weight: 600;
}

.auction-events a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-events .date {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 12px;
}

/* ========== Sidebar ========== */
.sidebar-card {
  background: #fff;
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--border);
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.sidebar-more {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--primary);
}

/* Index chart */
.index-item {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}

.index-item:last-child {
  border-bottom: none;
}

.index-item .rank {
  width: 20px;
  height: 20px;
  background: var(--bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.index-item:nth-child(1) .rank {
  background: #ffd666;
  color: #874d00;
}

.index-item:nth-child(2) .rank {
  background: #d9d9d9;
}

.index-item:nth-child(3) .rank {
  background: #ffbb96;
}

.index-item .name {
  font-weight: 600;
}

.index-item .price {
  color: var(--text-muted);
  font-size: 12px;
}

.index-item .change {
  font-size: 12px;
  font-weight: 600;
}

.index-item .change.up {
  color: #cf1322;
}

.index-item .change.down {
  color: #389e0d;
}

.topic-list li,
.activity-list li,
.beian-list li,
.region-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}

.topic-list li:last-child,
.activity-list li:last-child,
.beian-list li:last-child,
.region-list li:last-child {
  border-bottom: none;
}

.activity-list .date {
  color: var(--primary);
  margin-right: 8px;
  font-size: 12px;
}

.region-list .region {
  display: inline-block;
  background: var(--bg-gray);
  padding: 1px 6px;
  border-radius: 2px;
  font-size: 11px;
  margin-right: 6px;
  color: var(--primary);
}

.btn-beian {
  display: block;
  margin-top: 12px;
  padding: 10px;
  text-align: center;
  background: var(--primary);
  color: #fff !important;
  border-radius: 4px;
  font-weight: 600;
}

.btn-beian:hover {
  background: var(--primary-hover);
}

.artist-cards {
  display: flex;
  gap: 12px;
}

.artist-mini {
  flex: 1;
  text-align: center;
  font-size: 12px;
}

.artist-mini img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
}

/* ========== Footer ========== */
.site-footer {
  background: #333;
  color: #999;
  padding: 32px 0;
  font-size: 13px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 12px;
  color: #666;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.12);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 100;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: #ebf5e8;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .home {
    max-width: 100%;
    padding: 0 16px;
  }

  .main-header-top .container,
  .nav-container {
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .home {
    flex-direction: column;
  }

  .home-right {
    width: 100%;
  }

  .headlines-grid {
    grid-template-columns: 1fr;
  }

  .headline-list {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu-toggle {
    display: inline-flex;
  }

  .main-header-nav {
    position: relative;
  }

  .main-header-nav .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px 0 10px;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 20;
  }

  .main-header-nav.is-open .nav-list {
    display: flex;
  }

  .main-header-nav .nav-item {
    font-size: 16px;
  }

  .main-header-nav .nav-item::after {
    display: none;
  }

  .main-header-nav .nav-item a {
    display: block;
    padding: 12px 20px;
  }

  .home-page .nav-container,
  .site-nav-page .nav-container {
    height: auto;
    min-height: 56px;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 8px;
  }

  .home-page .logo,
  .site-nav-page .logo {
    flex: 1;
    min-width: 0;
  }

  .home-page .logo-img,
  .site-nav-page .logo-img {
    height: 48px;
    max-width: min(260px, 44vw);
  }

  .home-page .search-box,
  .site-nav-page .search-box {
    width: 200px;
    max-width: 55vw;
    padding-left: 12px;
  }

  .home-page .search-btn,
  .site-nav-page .search-btn {
    min-width: 60px;
    padding: 0 14px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .app-download {
    display: none;
  }

  .hero-carousel {
    height: 240px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}

/* ========== 首页 v2 ========== */
.home-page {
  background: #fff;
  --home-sidebar: 300px;
  --home-gap: 20px;
  --home-pad-x: 16px;
}

/* 站内统一顶栏（首页、资讯等） */
.home-page .nav-container,
.site-nav-page .nav-container {
  max-width: var(--container);
  padding: 0 var(--home-pad-x, 16px);
}

.home-page .nav-list,
.site-nav-page .nav-list {
  gap: 24px;
  margin: 0 12px;
}

/* 英文顶栏：单行导航，避免长文案折行 */
html[lang="en"] .nav-list .nav-item a {
  white-space: nowrap;
}

html[lang="en"] .home-page .nav-list,
html[lang="en"] .site-nav-page .nav-list {
  gap: 20px;
  margin: 0 8px;
}

html[lang="en"] .home-page .nav-item,
html[lang="en"] .site-nav-page .nav-item {
  font-size: 16px;
}

html[lang="en"] .home-page .logo-img,
html[lang="en"] .site-nav-page .logo-img {
  max-width: min(300px, 46vw);
}

html[lang="en"] .home-page .search-box,
html[lang="en"] .site-nav-page .search-box {
  width: 200px;
}

html[lang="en"] .home-page .search-input,
html[lang="en"] .site-nav-page .search-input {
  font-size: 12px;
}

.home-page .nav-end,
.site-nav-page .nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.home-page .nav-actions,
.site-nav-page .nav-actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  margin-left: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.nav-action-link {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: 36px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-action-link:hover,
.nav-action-link.active {
  color: var(--primary);
}

.nav-action-link.active {
  font-weight: 600;
}

.nav-action-lang {
  min-width: 40px;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-radius: 4px;
}

.nav-action-lang:hover {
  background: var(--bg-gray);
  color: var(--primary);
}

.btn-login-nav {
  width: auto;
  min-width: 72px;
  height: 34px;
  padding: 0 18px;
  margin: 0 10px;
  font-size: 13px;
  border-radius: 17px;
}

.nav-end--no-search {
  margin-left: auto;
}

.nav-end--no-search .nav-actions {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

/* 顶栏艺搜：胶囊输入框 + 右侧绿色按钮（无左侧分类） */
.home-page .search-box,
.site-nav-page .search-box {
  display: flex;
  align-items: center;
  width: 300px;
  max-width: 42vw;
  height: 38px;
  padding: 3px 3px 3px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  flex-shrink: 0;
  overflow: visible;
  box-sizing: border-box;
}

.home-page .search-input,
.site-nav-page .search-input {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 100%;
  padding: 0 12px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  outline: none;
  box-shadow: none;
}

.home-page .search-input::placeholder,
.site-nav-page .search-input::placeholder {
  color: #bbb;
}

.home-page .search-input:focus,
.site-nav-page .search-input:focus {
  border: none;
  box-shadow: none;
}

.home-page .search-btn,
.site-nav-page .search-btn {
  flex-shrink: 0;
  height: 32px;
  min-width: 72px;
  padding: 0 20px;
  margin: 0;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 32px;
  cursor: pointer;
}

.home-page .search-btn:hover,
.site-nav-page .search-btn:hover {
  background: var(--primary-hover);
}

.site-nav-page {
  --home-pad-x: 16px;
}

.btn-login-xs {
  width: 56px;
  height: 28px;
  font-size: 12px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo-img {
  display: block;
  width: auto;
  height: 58px;
  max-width: min(300px, 48vw);
  object-fit: contain;
}

.logo-en {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.logo-cn {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.home-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--home-pad-x) 72px;
  box-sizing: border-box;
}

/* 焦点区 / 主内容 — 统一栅格，与导航同宽对齐 */
.home-hero-row,
.home-content-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--home-sidebar);
  gap: var(--home-gap);
  width: 100%;
}

.home-hero-row {
  --hero-focus-height: 412px;
  align-items: start;
  margin-bottom: 28px;
}

.home-hero-row .hero-carousel {
  height: var(--hero-focus-height);
  margin: 0;
  align-self: start;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: var(--hero-focus-height);
  min-height: var(--hero-focus-height);
  max-height: var(--hero-focus-height);
  align-self: start;
}

.hero-user-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-shrink: 0;
}

.hero-user-card__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-user-card__decor::before,
.hero-user-card__decor::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-user-card__decor::before {
  width: 130px;
  height: 130px;
  top: -52px;
  right: -36px;
  background: rgba(50, 157, 21, 0.07);
}

.hero-user-card__decor::after {
  width: 88px;
  height: 88px;
  bottom: -28px;
  left: -24px;
  background: rgba(50, 157, 21, 0.05);
}

.hero-user-card__dots {
  position: absolute;
  right: 14px;
  top: 22%;
  width: 36px;
  height: 52px;
  background-image: radial-gradient(circle, rgba(160, 170, 160, 0.55) 1px, transparent 1px);
  background-size: 7px 7px;
  opacity: 0.45;
}

.hero-user-card__dots--b {
  top: auto;
  bottom: 18%;
  right: 20px;
  width: 28px;
  height: 36px;
  opacity: 0.35;
}

.hero-user-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.hero-user-card__body--guest {
  align-items: center;
  text-align: center;
  padding: 36px 20px 32px;
}

.hero-guest-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.hero-guest-desc {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.btn-hero-login {
  display: inline-block;
  min-width: 160px;
  padding: 10px 28px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-hero-login:hover {
  background: var(--primary-hover);
}

.hero-user-card__body--member {
  gap: 14px;
  padding: 18px 16px;
}

.hero-user-card__body[hidden] {
  display: none !important;
}

.hero-user-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-user-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-user-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.hero-user-name {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.hero-user-link {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
}

.hero-user-link:hover {
  color: var(--primary);
}

.btn-hero-art {
  flex-shrink: 0;
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-hero-art:hover {
  background: var(--primary-hover);
}

/* 焦点侧栏 — 推荐展览 */
.hero-featured {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.hero-featured-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
}

.hero-featured-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  padding-left: 10px;
  position: relative;
}

.hero-featured-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: var(--primary);
  border-radius: 1px;
}

.hero-featured-link {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-featured-link:hover {
  color: var(--primary);
}

.hero-featured-main {
  position: relative;
  display: block;
  flex: 1;
  min-height: 168px;
  color: #fff;
  overflow: hidden;
}

.hero-featured-main img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-featured-main:hover img {
  transform: scale(1.04);
}

.hero-featured-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 12px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.hero-featured-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  background: var(--primary);
  border-radius: 2px;
  line-height: 1.3;
}

.hero-featured-name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-featured-meta {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
}

.hero-featured-more {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.hero-featured-thumb {
  flex: 1;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eee;
}

.hero-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.hero-featured-thumb:hover img {
  opacity: 0.88;
}

.hero-featured-all {
  flex-shrink: 0;
  padding: 0 8px;
  font-size: 11px;
  color: var(--primary);
  white-space: nowrap;
  line-height: 1.4;
}

.hero-featured-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: 14px;
  color: var(--primary);
  text-align: center;
}

.home-content-row {
  align-items: start;
}

.home-main-col,
.home-side-col {
  min-width: 0;
}

.home-side-col {
  overflow: hidden;
}

.section-block {
  margin-bottom: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  padding-left: 14px;
  position: relative;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  background: var(--primary);
  border-radius: 1px;
}

.section-more {
  font-size: 14px;
  color: var(--text-muted);
}

.section-more:hover {
  color: var(--primary);
}

/* 藏品网格 — 主栏三列，避免挤入右侧资讯栏 */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--text);
}

.collection-card:hover {
  color: var(--text);
}

.collection-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 12px;
}

.collection-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.collection-poster .poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
  color: #bbb;
  font-size: 13px;
}

.collection-card:hover .collection-poster img {
  transform: scale(1.03);
}

.collection-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(50, 157, 21, 0.92);
  color: #fff;
  border-radius: 2px;
}

.collection-poster-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 10px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.collection-poster-foot .work-stats {
  pointer-events: auto;
  margin: 0;
  gap: 6px 12px;
}

.collection-poster-foot .work-stat-icon {
  width: 14px;
  height: 14px;
}

.collection-poster-foot .work-stat {
  font-size: 11px;
}

.collection-poster-foot .work-stats--hot .work-stat-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.collection-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.collection-card:hover .collection-title {
  color: var(--primary);
}

.collection-sub {
  font-size: 12px;
  color: #999;
  margin: 0 0 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.collection-btn {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 16px;
  font-size: 12px;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 16px;
  background: #fff;
  flex-shrink: 0;
}

.collection-card:hover .collection-btn {
  background: var(--primary);
  color: #fff;
}

/* 作品互动图标（首页藏品海报叠加） */
.work-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 18px;
}

.work-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #999;
  line-height: 1;
}

.work-stat em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #666;
}

.work-stat-btn {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: color 0.2s ease, transform 0.15s ease;
}

.work-stat-btn:hover {
  color: var(--primary);
}

.work-stat-btn.is-active {
  color: var(--primary);
}

.work-stat-btn.is-active em {
  color: var(--primary);
}

.work-stat-btn.is-active .work-stat-icon--like path,
.work-stat-btn.is-active .work-stat-icon--favorite path {
  fill: currentColor;
  stroke: currentColor;
}

.work-stat-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.work-stats--hot .work-stat {
  color: rgba(255, 255, 255, 0.78);
}

.work-stats--hot .work-stat em {
  color: rgba(255, 255, 255, 0.95);
}

.work-stats--hot .work-stat-btn:hover,
.work-stats--hot .work-stat-btn.is-active {
  color: #7ee06a;
}

.work-stats--hot .work-stat-btn.is-active em {
  color: #b8f5a8;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.partner-logos span {
  font-size: 13px;
  color: #bbb;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 热门资讯 — 侧栏列表 */
.section-hot-news .section-head {
  margin-bottom: 4px;
}

.hot-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hot-news-list li {
  border-bottom: 1px solid #f0f0f0;
}

.hot-news-list li:last-child {
  border-bottom: none;
}

.hot-news-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  align-items: stretch;
  color: var(--text);
  text-decoration: none;
}

.hot-news-list li:first-child .hot-news-item {
  padding-top: 12px;
}

.hot-news-item:hover .hot-news-title {
  color: var(--primary);
}

.hot-news-thumb {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f2f2f2;
  display: block;
}

.hot-news-thumb--empty {
  background: linear-gradient(145deg, #f0f0f0, #e8e8e8);
}

.hot-news-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 88px;
  padding: 2px 0;
}

.hot-news-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.hot-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #999;
  line-height: 1.3;
  margin-top: 8px;
}

.hot-news-source {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-news-time {
  flex-shrink: 0;
  color: #999;
  font-variant-numeric: tabular-nums;
}

/* 艺术号推荐 */
.section-head--art {
  align-items: center;
  gap: 12px;
}

.section-more--art {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
  max-width: 9em;
  text-align: right;
  line-height: 1.45;
}

.section-more--art:hover {
  color: var(--primary);
}

.art-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 10px;
}

.art-account-card {
  display: block;
  text-align: center;
  color: var(--text);
  min-width: 0;
}

.art-account-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
  background: #f2f2f2;
  display: block;
  transition: opacity 0.25s ease;
}

.art-account-card:hover img {
  opacity: 0.9;
}

.art-account-card .art-account-name {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.art-account-card:hover .art-account-name {
  color: var(--primary);
}

@media (max-width: 1100px) {
  .home-page {
    --home-sidebar: 260px;
  }
}

@media (max-width: 992px) {
  .home-hero-row,
  .home-content-row {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .home-hero-row {
    --hero-focus-height: auto;
  }

  .home-hero-row .hero-carousel {
    height: 320px;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .nav-end,
  .site-nav-page .nav-end {
    flex: 0 0 auto;
    justify-content: flex-end;
  }
}

@media (max-width: 576px) {
  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-page .nav-container,
  .site-nav-page .nav-container {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .home-page .nav-end,
  .site-nav-page .nav-end {
    display: contents;
  }

  .home-page .logo,
  .site-nav-page .logo {
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
  }

  .nav-menu-toggle {
    order: 2;
  }

  .home-page .nav-actions,
  .site-nav-page .nav-actions {
    order: 3;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .home-page .search-box,
  .site-nav-page .search-box {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }

  .btn-login-nav {
    margin: 0;
    min-width: auto;
    padding: 0 14px;
  }

  .nav-action-link:not(.active) {
    display: none;
  }

  .nav-end--no-search .nav-action-link.active {
    display: inline-flex;
  }

  .home-hero-row .hero-carousel {
    height: 260px;
  }

  .hero-featured {
    margin-top: 12px;
  }
}
