:root {
  --bg: #fcfbf9;
  --bg-deep: #f2ede4;
  --bg-soft: #f8f6f1;
  --card: rgba(255, 255, 255, 0.95);
  --card-strong: #ffffff;
  --text: #2c2824;
  --muted: #82786d;
  --line: rgba(181, 164, 142, 0.2);
  --brand: #b89772;
  --brand-deep: #8f7253;
  --brand-dark: #5c4731;
  --accent: #e3d3c1;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --success: #366d48;
  --danger: #b34d3e;
  --shadow-subtle: 0 4px 20px rgba(92, 71, 49, 0.04);
  --shadow: 0 16px 40px rgba(92, 71, 49, 0.08);
  --shadow-hover: 0 24px 60px rgba(92, 71, 49, 0.12);
  --shadow-panel: 0 22px 60px rgba(92, 71, 49, 0.1);
  --brand-rgb: 184, 151, 114;
  --text-rgb: 44, 40, 36;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 66%);
  z-index: -1;
}

.site-ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -2;
}

.site-ambient-a {
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: rgba(var(--brand-rgb), 0.16);
}

.site-ambient-b {
  left: -120px;
  bottom: 8vh;
  width: 320px;
  height: 320px;
  background: rgba(227, 211, 193, 0.5);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.site-topbar {
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.12);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-topbar-inner,
.site-topbar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-topbar-inner {
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
}

.site-header {
  position: sticky;
  top: 45px;
  z-index: 40;
  padding: 12px 0;
  background: transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
}

.header-inner,
.admin-header-inner,
.section-bar,
.footer-grid,
.split-block {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.header-panel {
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(252, 251, 249, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(var(--brand-rgb), 0.18);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 20px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.brand span,
.site-footer p,
.meta,
.section-heading p,
.hero-copy p,
.card p,
.inner-hero p,
.story-copy p,
.story-panel p,
.city-location {
  color: var(--muted);
}

@keyframes fadeUpAnim {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  will-change: opacity, transform;
}

.fade-up.is-visible {
  animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-0 { animation-delay: 0ms; }
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(var(--text-rgb), 0.8);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), transparent);
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.primary-btn,
.ghost-btn,
.customer-toggle,
.widget-form button,
.table-actions button,
.table-actions a {
  border-radius: 999px;
  padding: 14px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.primary-btn,
.nav-cta,
.customer-toggle,
.widget-form button {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(var(--brand-rgb), 0.3);
  position: relative;
  overflow: hidden;
}

.primary-btn::after,
.nav-cta::after,
.customer-toggle::after,
.widget-form button::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ghost-btn {
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.primary-btn:hover,
.nav-cta:hover,
.customer-toggle:hover,
.widget-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(184, 151, 114, 0.35);
  background: var(--brand-deep);
}

.primary-btn:hover::after,
.nav-cta:hover::after,
.customer-toggle:hover::after,
.widget-form button:hover::after {
  opacity: 1;
}

.primary-btn:active,
.nav-cta:active,
.ghost-btn:active,
.customer-toggle:active,
.widget-form button:active {
  transform: translateY(0) scale(0.98);
}

.ghost-btn:hover,
.table-actions button:hover,
.table-actions a:hover {
  transform: translateY(-2px);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(184, 151, 114, 0.2);
}

.hero,
.inner-hero,
.section,
.site-footer,
.admin-main,
.admin-editor-page {
  padding: 96px 0;
}

.hero-shell {
  display: grid;
  gap: 28px;
  padding: 44px;
  border-radius: 44px;
  background:
    radial-gradient(circle at top right, rgba(var(--brand-rgb), 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 245, 238, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-panel);
  position: relative;
  overflow: hidden;
}

.hero-shell::after,
.page-hero-card::after,
.admin-rail-card::after,
.admin-dashboard-hero::after,
.admin-login-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 30px;
}

.hero-copy h1,
.inner-hero h1,
.section-heading h2,
.section-bar h2,
.cta-banner h2,
.story-copy h2,
.story-panel h3,
.city-card-body h3 {
  margin: 0 0 18px;
  line-height: 1.08;
  font-family: "Noto Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
}

.hero-copy h1 {
  font-size: clamp(40px, 5vw, 70px);
  letter-spacing: 1px;
  text-wrap: balance;
}

.inner-hero h1,
.section-heading h2,
.section-bar h2,
.cta-banner h2,
.story-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.hero-copy p,
.inner-hero p,
.story-copy p {
  font-size: 17px;
  line-height: 1.95;
}

.hero-copy p {
  max-width: 620px;
}

.hero-trust-strip,
.cta-detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.hero-trust-strip span,
.cta-detail-row span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  color: var(--brand-dark);
  font-size: 13px;
}

.hero-actions,
.cta-actions,
.admin-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.eyebrow,
.chip,
.scenario-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(197, 156, 103, 0.14);
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 600;
}

.eyebrow {
  margin-bottom: 18px;
}

.hero-collage {
  position: relative;
  min-height: 560px;
}

.hero-floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  min-width: 200px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-floating-card strong {
  font-family: "Fira Sans", "Noto Sans SC", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.hero-floating-card span {
  color: var(--text);
  font-weight: 600;
}

.hero-floating-top {
  right: 8px;
  top: 38px;
}

.hero-floating-bottom {
  left: 12px;
  bottom: 18px;
}

.hero-frame {
  position: absolute;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-frame img,
.showcase-card img,
.article-card img,
.city-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-frame.large {
  inset: 0 0 30px 70px;
}

.hero-frame.small {
  width: 220px;
  height: 220px;
}

.hero-frame.top {
  top: 24px;
  left: 0;
}

.hero-frame.bottom {
  right: 18px;
  bottom: 0;
}

.metric-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric-card,
.honor-item,
.empty-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 240, 0.98));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
  color: var(--brand-dark);
}

.metric-card span {
  color: var(--muted);
}

.section.soft {
  background: linear-gradient(180deg, rgba(197, 156, 103, 0.05), rgba(255, 255, 255, 0));
}

.editorial-section {
  padding-top: 24px;
}

.story-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.story-copy,
.story-panel,
.cta-banner,
.card,
.admin-section,
.admin-login-card,
.customer-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
}

.story-copy {
  padding: 48px;
  background: linear-gradient(145deg, #ffffff, var(--bg-soft));
}

.story-panel {
  padding: 40px;
  background: linear-gradient(145deg, var(--bg-deep), #ffffff);
}

.story-inline-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.story-inline-metrics div {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.story-inline-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Fira Sans", "Noto Sans SC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.story-inline-metrics span {
  color: var(--text);
  font-weight: 600;
}

.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scenario-tags.compact span {
  padding: 7px 12px;
  font-size: 13px;
}

.section-heading,
.section-bar {
  margin-bottom: 30px;
}

.section-heading.narrow {
  max-width: 780px;
}

.grid {
  display: grid;
  gap: 20px;
}

.page-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.page-hero-card,
.page-hero-aside {
  position: relative;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(249, 245, 239, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-hero-card {
  padding: 42px;
}

.page-hero-aside {
  padding: 32px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.page-hero-aside h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  font-size: 30px;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-list p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  color: var(--muted);
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two,
.city-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.info-card,
.timeline-item,
.stat-card,
.city-card-body {
  padding: 28px;
}

.feature-card h3,
.timeline-item h3,
.showcase-card h3,
.article-card h3,
.city-card-body h3 {
  margin-top: 0;
}

.info-card p {
  white-space: pre-line;
}

.field small {
  color: var(--muted);
}

.card-link-row {
  margin-top: 18px;
}

.store-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.store-detail-main {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  background: var(--card);
}

.store-detail-main img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.store-contact-card {
  padding: 32px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.store-gallery-grid img {
  height: 280px;
}

.upload-grid {
  margin-top: 20px;
}

.city-card {
  overflow: hidden;
}

.city-card-media {
  height: 290px;
}

.city-location {
  margin: -4px 0 14px;
  font-weight: 700;
}

.process-section {
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline-item {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 239, 227, 0.95));
}

.timeline-item span,
.stat-card strong {
  color: var(--brand-dark);
  font-size: 30px;
  font-weight: 700;
}

.showcase-card,
.article-card {
  overflow: hidden;
}

.showcase-card img,
.article-card img {
  height: 240px;
}

.card-body {
  padding: 26px;
}

.card,
.showcase-card,
.article-card,
.city-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.card:hover,
.showcase-card:hover,
.article-card:hover,
.city-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.showcase-card:hover img,
.article-card:hover img,
.city-card:hover img {
  transform: scale(1.05);
}

.meta {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.honor-item {
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
}

.cta-banner,
.split-block {
  padding: 38px;
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.94), rgba(239, 226, 207, 0.58));
}

.footer-panel {
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(249, 245, 238, 0.94));
  box-shadow: var(--shadow);
}

.footer-brand-block,
.footer-contact-block,
.footer-nav-block {
  display: grid;
  gap: 8px;
}

.footer-nav-title {
  margin: 0;
  font-family: "Fira Sans", "Noto Sans SC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.footer-nav-block a {
  color: var(--muted);
}

.contact-form,
.widget-form,
.admin-form,
.admin-login-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.widget-form input,
.widget-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-login-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(149, 104, 57, 0.16);
  border-radius: 16px;
  background: #fffdf9;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(var(--brand-rgb), 0.28);
  outline-offset: 2px;
}

.flash-wrap {
  padding-top: 18px;
}

.flash {
  margin-bottom: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.flash.success {
  background: #edf6ed;
  color: var(--success);
}

.flash.error {
  background: #fff1ef;
  color: var(--danger);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.customer-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
}

.customer-panel {
  width: min(400px, calc(100vw - 28px));
  margin-top: 12px;
  padding: 20px;
  display: none;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(255, 255, 255, 0.98));
}

.customer-widget.open .customer-panel {
  display: grid;
  gap: 14px;
}

.widget-head,
.chat-session-card summary,
.chat-session-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.widget-head h3 {
  margin: 0 0 6px;
}

.widget-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(197, 156, 103, 0.12);
  cursor: pointer;
}

.widget-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.widget-contact span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(197, 156, 103, 0.12);
  color: var(--brand-dark);
  font-size: 13px;
}

.chat-thread,
.chat-admin-thread {
  display: grid;
  gap: 10px;
}

.chat-thread {
  max-height: 320px;
  overflow-y: auto;
  padding: 6px 2px 2px;
}

.chat-empty {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.chat-bubble,
.admin-bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  background: #f8efe3;
  border: 1px solid rgba(149, 104, 57, 0.1);
}

.chat-bubble.user,
.admin-bubble.user {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(197, 156, 103, 0.18), rgba(233, 211, 179, 0.3));
}

.chat-bubble.system,
.admin-bubble.system {
  margin-right: auto;
}

.chat-bubble.typing {
  margin-right: auto;
  background: rgba(255, 250, 243, 0.96);
}

.chat-bubble.staff,
.admin-bubble.staff {
  margin-right: auto;
  background: linear-gradient(135deg, rgba(111, 76, 36, 0.08), rgba(197, 156, 103, 0.2));
  border-color: rgba(149, 104, 57, 0.16);
}

.chat-bubble span,
.admin-bubble span {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
}

.chat-bubble p,
.admin-bubble p {
  margin: 0;
  line-height: 1.7;
}

.chat-bubble small,
.admin-bubble small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.typing-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(143, 114, 83, 0.6);
  animation: typingPulse 1s infinite ease-in-out;
}

.typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingPulse {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.35;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.is-hidden {
  display: none;
}

.admin-login-body,
.admin-body {
  background:
    radial-gradient(circle at top center, rgba(var(--brand-rgb), 0.12), transparent 26%),
    linear-gradient(180deg, #faf6ef 0%, #efe0cc 100%);
  min-height: 100vh;
}

.admin-login-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.admin-login-copy {
  display: grid;
  gap: 18px;
  padding: 40px;
}

.admin-login-copy h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
}

.admin-login-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.admin-login-card {
  width: min(500px, calc(100% - 32px));
  margin: 9vh auto;
  padding: 40px;
  text-align: center;
  position: relative;
}

.admin-login-card img {
  width: 110px;
  margin: 0 auto 18px;
}

.admin-header {
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.12);
  background: rgba(255, 250, 244, 0.72);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 35;
}

.admin-main,
.admin-editor-page {
  display: grid;
  gap: 28px;
}

.admin-page-intro h1,
.admin-dashboard-copy h2 {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
}

.admin-page-intro p,
.admin-dashboard-copy p {
  margin: 0;
  color: var(--muted);
}

.admin-stage {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-rail {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.admin-rail-card,
.admin-dashboard-hero,
.admin-editor-hero {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 240, 231, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-rail-card h2 {
  margin: 10px 0 8px;
  font-family: "Noto Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  font-size: 28px;
}

.admin-rail-card p {
  margin: 0;
  color: var(--muted);
}

.admin-content-area {
  display: grid;
  gap: 24px;
}

.admin-subnav {
  display: grid;
  gap: 10px;
}

.admin-subnav-link {
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(149, 104, 57, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.admin-subnav-link:hover,
.admin-subnav-link.active {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(184, 151, 114, 0.18), rgba(237, 226, 214, 0.96));
  border-color: rgba(149, 104, 57, 0.24);
  box-shadow: 0 16px 30px rgba(var(--brand-rgb), 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card span {
  display: inline-flex;
  color: var(--muted);
  font-size: 14px;
}

.admin-section {
  padding: 30px;
}

.admin-list-meta {
  margin-bottom: 18px;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-family: "Fira Sans", "Noto Sans SC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.table-actions {
  display: flex;
  gap: 10px;
}

.table-actions button,
.table-actions a {
  background: rgba(197, 156, 103, 0.14);
  color: var(--brand-dark);
  border: none;
  cursor: pointer;
}

.admin-thumb {
  width: 88px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.admin-muted {
  color: var(--muted);
}

.admin-table-message {
  max-width: 420px;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-form {
  align-items: start;
}

.admin-filter-bar {
  display: grid;
  gap: 18px;
  padding: 24px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.admin-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-inline-form {
  display: inline-flex;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.admin-pagination .disabled {
  opacity: 0.48;
  pointer-events: none;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full,
.checkbox-field.full,
.admin-form .full {
  grid-column: 1 / -1;
}

.admin-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.admin-tab-btn {
  border: 1px solid rgba(149, 104, 57, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.admin-tab-btn.active,
.admin-tab-btn:hover {
  background: linear-gradient(135deg, rgba(184, 151, 114, 0.16), rgba(237, 226, 214, 0.92));
  border-color: rgba(149, 104, 57, 0.32);
}

.admin-tab-panel {
  display: none;
  padding: 24px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-tab-panel.active {
  display: block;
}

.admin-panel-head {
  margin-bottom: 18px;
}

.admin-panel-head h3 {
  margin-bottom: 8px;
}

.admin-image-field {
  display: grid;
  gap: 14px;
}

.admin-image-meta {
  display: grid;
  gap: 8px;
}

.admin-image-field img {
  width: min(100%, 360px);
  border-radius: 18px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-session-list {
  display: grid;
  gap: 14px;
}

.support-main {
  padding-top: 52px;
}

.support-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.support-sidebar,
.support-thread-panel {
  padding: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-dashboard-hero,
.admin-editor-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-dashboard-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.support-sidebar-head {
  margin-bottom: 18px;
}

.support-sidebar-head h2,
.support-thread-head h2 {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  font-size: 30px;
}

.support-sidebar-head p,
.support-thread-head p,
.support-session-link p {
  color: var(--muted);
}

.support-session-list {
  display: grid;
  gap: 10px;
}

.support-session-link {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(149, 104, 57, 0.12);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-session-link:hover,
.support-session-link.active {
  border-color: rgba(149, 104, 57, 0.26);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(74, 49, 18, 0.08);
}

.support-session-top,
.support-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.support-session-top.compact {
  align-items: flex-start;
}

.support-session-top strong {
  display: block;
  margin-bottom: 0;
  font-size: 17px;
}

.support-session-top span,
.support-session-top small {
  color: var(--muted);
}

.support-session-meta-list,
.support-customer-summary {
  display: grid;
  gap: 10px;
}

.support-session-meta-list > div,
.support-customer-summary > div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(249, 245, 239, 0.78);
  border: 1px solid rgba(149, 104, 57, 0.1);
}

.support-session-meta-list span,
.support-customer-summary span {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.support-session-meta-list strong,
.support-customer-summary strong {
  font-size: 14px;
  color: var(--text);
  word-break: break-word;
}

.support-customer-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.status-chip {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(197, 156, 103, 0.14);
  color: var(--brand-dark);
}

.status-chip.contacted {
  background: rgba(45, 111, 56, 0.12);
  color: var(--success);
}

.status-chip.closed {
  background: rgba(118, 99, 74, 0.12);
  color: var(--muted);
}

.support-thread {
  min-height: 420px;
  max-height: 62vh;
}

.support-reply-form {
  margin-top: 20px;
}

.support-status-form select {
  min-width: 140px;
}

.support-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.chat-session-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 251, 246, 0.88);
  overflow: hidden;
}

.chat-session-card summary {
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.chat-session-card summary::-webkit-details-marker {
  display: none;
}

.chat-session-card strong {
  display: block;
}

.chat-session-card summary span {
  color: var(--muted);
  font-size: 13px;
}

.chat-admin-thread {
  padding: 0 20px 20px;
}

.empty-card {
  text-align: center;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero-grid,
  .story-shell,
  .grid.four,
  .grid.three,
  .grid.two,
  .cards-grid,
  .timeline,
  .honor-grid,
  .stats-grid,
  .split-block,
  .metric-ribbon,
  .support-shell,
  .store-detail-shell {
    grid-template-columns: 1fr 1fr;
  }

  .admin-filter-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .page-hero-shell,
  .admin-stage,
  .admin-login-shell {
    grid-template-columns: 1fr;
  }

  .admin-rail {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .story-shell,
  .grid.four,
  .grid.three,
  .grid.two,
  .cards-grid,
  .timeline,
  .honor-grid,
  .stats-grid,
  .split-block,
  .metric-ribbon,
  .support-shell,
  .store-detail-shell {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .section-bar,
  .footer-grid,
  .admin-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-panel {
    border-radius: 32px;
  }

  .hero-collage {
    min-height: 420px;
  }

  .admin-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-frame.large {
    inset: 0 20px 20px 20px;
  }

  .hero-frame.small {
    width: 160px;
    height: 160px;
  }

  .hero-floating-card {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .hero,
  .inner-hero,
  .section,
  .site-footer,
  .admin-main,
  .admin-editor-page {
    padding: 60px 0;
  }

  .hero-copy h1,
  .inner-hero h1,
  .section-heading h2,
  .section-bar h2,
  .cta-banner h2,
  .story-copy h2 {
    font-size: 32px;
  }

  .story-copy,
  .story-panel,
  .cta-banner,
  .split-block,
  .admin-section,
  .admin-login-card,
  .page-hero-card,
  .page-hero-aside,
  .admin-rail-card,
  .admin-dashboard-hero,
  .admin-editor-hero,
  .card-body,
  .feature-card,
  .timeline-item,
  .city-card-body {
    padding: 22px;
  }

  .site-header {
    top: 0;
  }

  .site-topbar {
    display: none;
  }

  .site-nav {
    gap: 14px;
  }

  .support-thread-head,
  .support-session-top,
  .support-session-top.compact {
    flex-direction: column;
  }

  .customer-widget {
    right: 14px;
    bottom: 14px;
  }

  .story-inline-metrics {
    grid-template-columns: 1fr;
  }

  .support-customer-summary {
    grid-template-columns: 1fr;
  }

  .admin-filter-grid,
  .admin-pagination {
    grid-template-columns: 1fr;
  }

  .admin-pagination {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
