:root {
  --ink: #2d1d18;
  --muted: #7d7069;
  --light: #f8f2eb;
  --paper: #fffaf4;
  --line: #eee3d8;
  --brand: #b9481d;
  --brand-dark: #8c2f14;
  --brand-soft: #f5dfcf;
  --gold: #c68648;
  --green: #3f7f62;
  --warning: #ba7419;
  --danger: #b83228;
  --gray: #8c817a;
  --shadow: 0 16px 42px rgba(80, 42, 20, 0.09);
  --radius: 8px;
  --content: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: #fffaf6;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: visible;
  padding-top: 88px;
}

[data-site-footer] {
  margin-top: auto;
}

.footer-gap-page .site-shell > main {
  flex: 1 0 auto;
  background: var(--main-gap-background, #fffaf6);
}

.footer-gap-page [data-site-footer] {
  margin-top: 0;
}

.notice-main-page {
  --main-gap-background: #fffaf6;
}

.container {
  width: calc(100% - 48px);
  max-width: var(--content);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(238, 227, 216, 0.72);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 290px;
  align-items: center;
  gap: 18px;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 290px;
}

.brand-title-image {
  display: block;
  width: 186px;
  height: 24px;
  background-image: url("../images/title.png");
  background-size: 864px 486px;
  background-position: -657px -16px;
  background-repeat: no-repeat;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 88px;
  color: #1f1714;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a + a {
  margin-left: 28px;
}

.site-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 2px;
  background: transparent;
}

.site-nav a.is-active {
  color: var(--brand);
}

.site-nav a.is-active:after,
.site-nav a:hover:after {
  background: var(--brand);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--brand);
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fffaf6;
}

.mobile-drawer a {
  display: flex;
  justify-content: space-between;
  padding: 15px 24px;
  border-bottom: 1px solid rgba(238, 227, 216, 0.7);
  color: var(--ink);
  font-weight: 700;
}

.mobile-drawer a.is-active {
  color: var(--brand);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: currentColor;
  vertical-align: middle;
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.section-title {
  margin: 0;
  color: #1f1714;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.section-link,
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.pill-link {
  padding: 7px 14px;
  border-radius: 999px;
  background: #f6ede6;
}

.panel {
  border: 1px solid rgba(238, 227, 216, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.soft-band {
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.78), #fffaf6),
    radial-gradient(circle at 18% 10%, rgba(185, 72, 29, 0.08), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(63, 127, 98, 0.08), transparent 30%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.btn-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.btn-soft {
  border-color: #f1dfd2;
  background: #f8eee6;
  color: var(--brand);
}

.page-hero {
  display: none;
}

.page-hero h1 {
  margin: 0;
  color: #291813;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 900;
}

.page-hero p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #6f5d54;
  font-size: 17px;
}

.crumb {
  margin-bottom: 14px;
  color: var(--brand);
  font-weight: 800;
}

.page-main {
  padding: 22px 0 58px;
}

.grid {
  display: grid;
  gap: 16px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.status-holiday,
.status-stopped {
  background: #fff1ec;
  color: var(--danger);
}

.status-bookable,
.status-today {
  background: #eaf7ef;
  color: var(--green);
}

.status-onsite {
  background: #fff6df;
  color: var(--warning);
}

.status-full,
.status-soon,
.status-empty {
  background: #f2efed;
  color: var(--gray);
}

.state-message {
  padding: 28px;
  border: 1px dashed #ead9c9;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

.is-hidden {
  display: none !important;
}

.site-footer {
  border-top: 0;
  background: #fffaf6;
  color: #2a1b16;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(240px, 0.85fr) minmax(260px, 1fr) minmax(190px, 0.7fr);
  gap: 24px;
  align-items: start;
  padding: 34px 0 24px;
}

.footer-brand-block {
  display: grid;
  gap: 10px;
  align-content: start;
  align-items: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-brand-head {
  display: block;
  min-width: 0;
}

.footer-title-image {
  display: block;
  width: 154px;
  height: 20px;
  background-image: url("../images/title.png");
  background-size: 716px 403px;
  background-position: -544px -13px;
  background-repeat: no-repeat;
}

.footer-contact h3,
.footer-schedule h3,
.footer-links h3 {
  margin: 0 0 12px;
  color: #211713;
  font-size: 18px;
  line-height: 1.3;
}

.footer-contact p,
.footer-schedule li {
  margin: 7px 0;
  color: #5f524b;
  font-size: 14px;
  line-height: 1.55;
}

.footer-schedule li {
  display: contents;
}

.footer-schedule li + li .footer-hours-label,
.footer-schedule li + li .footer-hours-value {
  margin-top: 7px;
}

.footer-hours-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: start;
}

.footer-hours-label {
  color: #3f332d;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
  white-space: nowrap;
}

.footer-hours-value {
  min-width: 0;
  color: #5f524b;
  font-size: 14px;
  line-height: 1.55;
}

.footer-hours-sub-row {
  display: grid;
  grid-template-columns: 3em 5.8em minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
}

.footer-hours-sub-row.is-full {
  grid-template-columns: 1fr;
}

.footer-hours-period {
  color: #3f332d;
  font-weight: 700;
  white-space: nowrap;
}

.footer-hours-period.is-empty {
  visibility: hidden;
}

.footer-hours-day,
.footer-hours-time {
  min-width: 0;
  white-space: nowrap;
}

.footer-links a {
  display: block;
  margin: 12px 0;
  color: var(--brand);
  font-size: 15px;
  font-weight: 800;
}

.footer-note {
  margin: 16px 0 0;
  color: #6d5d54;
  font-size: 13px;
  line-height: 1.55;
}

.footer-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qr-item {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  color: #5f524b;
  font-size: 13px;
  font-weight: 800;
}

.qr-item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 16px;
  border-top: 0;
  color: #6d5d54;
  font-size: 14px;
  font-weight: 800;
}

.footer-record-link {
  color: #6d5d54;
  transition: color 0.2s ease;
}

.footer-record-link:hover {
  color: var(--brand);
}

.wechat-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wechat-modal.is-open {
  display: flex;
}

.wechat-modal-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(33, 23, 17, 0.58);
  backdrop-filter: blur(4px);
}

.wechat-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 26px 26px 22px;
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: 0 24px 60px rgba(36, 20, 10, 0.28);
  text-align: center;
}

.wechat-modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f7eee7;
  color: #8f6d5a;
}

.wechat-modal-close .icon {
  width: 18px;
  height: 18px;
}

.wechat-modal-qr {
  display: flex;
  justify-content: center;
  margin: 10px auto 16px;
}

.wechat-modal-qr img {
  width: 228px;
  height: 228px;
  object-fit: contain;
}

.wechat-modal-panel h2 {
  margin: 0;
  color: #211713;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.wechat-modal-panel p {
  margin: 10px 0 0;
  color: #6a5b53;
  font-size: 14px;
  line-height: 1.6;
}

.wechat-modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

body.wechat-modal-open {
  overflow: hidden;
}

.mobile-topbar {
  display: none;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 238px minmax(0, 1fr) 238px;
  }

  .brand {
    min-width: 238px;
  }

  .site-nav a + a {
    margin-left: 18px;
  }

}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 64px;
  }

  body:not(.home-page) .site-header {
    display: none;
  }

  .container {
    width: calc(100% - 32px);
    max-width: 620px;
  }

  .header-inner {
    display: flex;
    height: 86px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-title-image {
    width: 154px;
    height: 20px;
    background-size: 716px 403px;
    background-position: -544px -13px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-drawer.is-open {
    display: block;
  }

  body:not(.home-page) .site-shell {
    padding-top: 64px;
  }

  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    height: 64px;
    border-bottom: 1px solid rgba(238, 227, 216, 0.72);
    background: #fffaf6;
  }

  .mobile-topbar h1 {
    margin: 0;
    color: #151210;
    font-size: 18px;
    font-weight: 900;
  }

  .mobile-back {
    position: absolute;
    left: 14px;
    top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #19120f;
  }
  .page-main {
    padding: 18px 0 44px;
  }

  .section-title {
    font-size: 20px;
  }

  .site-footer {
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0 20px;
    justify-items: center;
    text-align: center;
  }

  .footer-brand-block {
    justify-items: center;
    align-items: center;
    text-align: center;
  }

  .footer-contact,
  .footer-schedule,
  .footer-links {
    width: 100%;
    max-width: 520px;
    text-align: center;
  }

  .footer-contact p {
    max-width: 34em;
    margin-right: auto;
    margin-left: auto;
  }

  .footer-hours-list {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 8px;
    width: 100%;
  }

  .footer-schedule li {
    display: block;
    width: 100%;
  }

  .footer-schedule li + li .footer-hours-label,
  .footer-schedule li + li .footer-hours-value {
    margin-top: 0;
  }

  .footer-hours-label,
  .footer-hours-value {
    display: block;
  }

  .footer-hours-value {
    margin-top: 4px;
  }

  .footer-hours-sub-row {
    grid-template-columns: max-content max-content minmax(0, 1fr);
    justify-content: center;
    max-width: 100%;
  }

  .footer-hours-time {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-qr-grid {
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 0 18px;
    text-align: center;
  }

  .footer-bottom span,
  .footer-record-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  body {
    background: #fffaf6;
    font-size: 15px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .brand-title-image {
    width: 132px;
    height: 18px;
    background-size: 614px 345px;
    background-position: -467px -12px;
  }

  .section-head {
    margin-bottom: 14px;
  }

  .footer-brand-block {
    padding: 0;
  }

  .site-footer {
    text-align: left;
  }

  .footer-main {
    gap: 18px;
    padding-top: 24px;
  }

  .footer-contact,
  .footer-schedule,
  .footer-links {
    text-align: left;
  }

  .footer-brand-block,
  .footer-links {
    justify-items: start;
  }

  .footer-contact h3,
  .footer-schedule h3,
  .footer-links h3 {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .footer-contact p,
  .footer-schedule li,
  .footer-hours-label,
  .footer-hours-value {
    font-size: 13px;
    line-height: 1.6;
  }

  .footer-contact p {
    margin-right: 0;
    margin-left: 0;
  }

  .footer-hours-list {
    justify-items: stretch;
  }

  .footer-hours-sub-row {
    grid-template-columns: max-content minmax(0, 1fr);
    justify-content: start;
    column-gap: 6px;
  }

  .footer-hours-period {
    grid-column: 1;
  }

  .footer-hours-day,
  .footer-hours-time {
    white-space: normal;
  }

  .footer-hours-time {
    grid-column: 2;
  }

  .footer-hours-period.is-empty {
    display: none;
  }

  .footer-qr-grid {
    grid-template-columns: repeat(2, minmax(88px, 1fr));
    width: min(100%, 224px);
    margin: 0;
    gap: 10px;
  }

  .qr-item {
    padding: 0;
    font-size: 12px;
  }

  .qr-item img {
    width: 68px;
    height: 68px;
  }

  .footer-bottom {
    align-items: flex-start;
    text-align: left;
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  .footer-title-image {
    width: 132px;
    height: 18px;
    background-size: 614px 345px;
    background-position: -467px -12px;
  }

  .footer-qr-grid {
    width: min(100%, 204px);
  }

  .qr-item img {
    width: 62px;
    height: 62px;
  }
}
