:root {
  color-scheme: light;
  --paper: #fff;
  --text: #28251f;
  --muted: #777066;
  --brand: #4d2801;
  --yellow: #fad64a;
  --blue: #176286;
  --line: #e8e7e3;
  --header-height: 88px;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--paper); color: var(--text); }
body { display: flex; flex-direction: column; min-height: 100dvh; }
main { flex: 1; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; touch-action: manipulation; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #3ca7ec; outline-offset: 4px; }
.site-header { height: var(--header-height); border-bottom: 1px solid var(--line); background: #fff; }
.header-inner, .page-wrap, .footer-inner { width: min(1480px, 100%); margin: auto; padding-left: clamp(22px, 5.3vw, 84px); padding-right: clamp(22px, 5.3vw, 84px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 5px; font-size: 27px; font-weight: 700; color: var(--brand); }
.brand-logo { display: block; width: 72px; height: 72px; object-fit: contain; image-rendering: pixelated; }
.site-nav { display: flex; align-self: stretch; gap: clamp(24px, 4vw, 58px); }
.site-nav a { position: relative; display: flex; align-items: center; color: #55534d; font-size: 16px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current=page] { color: #723b01; }
.site-nav a[aria-current=page] { font-weight: 700; }
.site-nav a[aria-current=page]::after { content: ""; position: absolute; bottom: 18px; left: 0; right: 0; height: 2px; background: var(--yellow); }
.home-layout { display: grid; grid-template-columns: .66fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: 44px 0 35px; }
.home-intro { padding: 12px 0; }
.server-label { color: var(--muted); font-size: 18px; margin: 0 0 14px; }
.home-intro h1 { margin: 0; font-size: clamp(68px, 7.2vw, 112px); line-height: 1.2; font-weight: 750; letter-spacing: -.05em; }
.intro-copy { color: #6c675e; font-size: clamp(15px, 1.5vw, 21px); line-height: 1.7; margin: 26px 0 42px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 155px; padding: 0 25px; border: 1px solid transparent; border-radius: 6px; font-size: 16px; font-weight: 700; }
.button-primary { color: var(--brand); background: var(--yellow); }
.button-primary:hover { background: #efce34; }
.button-secondary { border-color: #d5d3cf; color: #3b3730; }
.button-secondary:hover { border-color: var(--brand); }
.server-gallery { min-width: 0; }
.carousel-viewport { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; background: #fff; border-radius: 8px; border: 1px solid var(--line); isolation: isolate; }
.carousel-track { display: flex; width: 100%; height: 100%; will-change: transform; }
.carousel-slide { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; background: #fff; }
.carousel-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.carousel-controls { display: flex; align-items: center; gap: 8px; }
.carousel-controls button { height: 30px; min-width: 28px; padding: 0 6px; background: none; border: 0; border-radius: 4px; color: #6c675e; cursor: pointer; font-size: 22px; }
.carousel-controls button:hover { color: var(--brand); background: #f5f4f1; }
.carousel-controls .carousel-pause { margin-left: 5px; min-width: 38px; font-size: 12px; }
.carousel-count { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.home-details { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--line); padding: 30px 0 48px; }
.home-details h2 { font-size: 21px; font-weight: 650; margin: 0 0 13px; }
.home-details p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.home-details a:hover h2 { color: var(--blue); }
.about-content { padding: 80px 0 100px; max-width: 720px; }
.about-content h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 26px; color: var(--brand); }
.about-copy { color: var(--muted); font-size: 16px; line-height: 2; }
.about-links { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--blue); font-size: 14px; }
.about-links a:hover { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); color: #938b7f; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 12px; }
.map-view { height: calc(100dvh - var(--header-height)); min-height: 300px; }
.map-view iframe { display: block; width: 100%; height: 100%; border: 0; background: #172017; color-scheme: dark; }
body[data-current-view=map] .site-footer { display: none; }
@media (max-width: 1050px) {
  .home-layout { grid-template-columns: .8fr 1fr; gap: 30px; }
  .site-nav { gap: 25px; }
  .button { min-width: 126px; min-height: 46px; padding: 0 18px; font-size: 14px; }
  .hero-actions { gap: 10px; }
}
@media (max-width: 760px) {
  :root { --header-height: 120px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 6px; }
  .brand { font-size: 24px; }
  .brand-logo { width: 56px; height: 56px; }
  .site-nav { width: 100%; justify-content: space-between; flex: 1; gap: 12px; }
  .site-nav a { font-size: 13px; }
  .site-nav a[aria-current=page]::after { bottom: 9px; }
  .home-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; padding-bottom: 28px; }
  .home-intro { padding: 0; }
  .server-label { font-size: 15px; margin-bottom: 12px; }
  .home-intro h1 { font-size: 72px; }
  .intro-copy { font-size: 16px; margin: 18px 0 24px; }
  .button { min-width: 142px; }
  .home-details { grid-template-columns: 1fr; gap: 26px; padding: 26px 0 35px; }
  .home-details h2 { font-size: 18px; }
  .home-details p { font-size: 14px; }
  .footer-inner { font-size: 10px; }
  .about-content { padding: 45px 0 60px; }
}

