/* ==========================================================================
   致尚主持团队 · 独立样式（白底轻奢 + 蒂芙尼蓝）
   断点：手机 <768 两列 / 平板 768-1199 两列 / PC ≥1200 两列大间距
   ========================================================================== */

:root {
  --hs-bg: #ffffff;
  --hs-ink: #141414;
  --hs-sub: #8f8f8f;
  --hs-line: #ececec;
  --hs-soft: #f7f8f8;
  --hs-accent: #0abab5;
  --hs-accent-dark: #079a96;
  --hs-accent-soft: rgba(10, 186, 181, 0.08);
  --hs-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --hs-safe-bottom: env(safe-area-inset-bottom, 0px);
  --hs-safe-top: env(safe-area-inset-top, 0px);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--hs-bg);
  color: var(--hs-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
}

body.hs-lock {
  overflow: hidden;
}

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--hs-accent);
  outline-offset: 3px;
}

/* ==========================================================================
   页面容器
   ========================================================================== */

#app {
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(96px + var(--hs-safe-bottom));
  background: var(--hs-bg);
}

/* ==========================================================================
   首屏：双语居中标题
   ========================================================================== */

.hs-hero {
  padding: calc(var(--hs-safe-top) + 48px) 24px 30px;
  text-align: center;
}

.hs-eyebrow {
  margin: 0;
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--hs-sub);
}

.hs-title {
  margin: 14px 0 0;
  font-family: var(--hs-serif);
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 600;
  letter-spacing: clamp(4px, 1.6vw, 10px);
  color: var(--hs-ink);
}

.hs-title-en {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--hs-accent);
}

.hs-rule {
  display: block;
  width: 36px;
  height: 2px;
  margin: 18px auto;
  background: var(--hs-accent);
}

.hs-slogan {
  margin: 0;
  font-size: 13px;
  letter-spacing: 2px;
  color: #6f6f6f;
}

.hs-slogan-en {
  margin: 8px 0 0;
  font-size: 9px;
  letter-spacing: 3px;
  color: #b5b5b5;
}

/* ==========================================================================
   区块标题
   ========================================================================== */

.hs-section {
  padding: 8px 16px 0;
}

.hs-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 2px;
  margin-bottom: 14px;
}

.hs-sec-head h3 {
  margin: 0;
  font-family: var(--hs-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--hs-ink);
}

.hs-sec-head h3 em {
  margin-left: 8px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--hs-accent);
}

.hs-sec-head > span {
  font-size: 10px;
  letter-spacing: 1px;
  color: #b5b5b5;
}

/* ==========================================================================
   两列卡片
   ========================================================================== */

.hs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hs-card {
  display: block;
  width: 100%;
  overflow: hidden;
  text-align: left;
  background: var(--hs-bg);
  border: 1px solid var(--hs-line);
  border-radius: 6px;
  animation: hsFadeUp 0.4s ease both;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

@keyframes hsFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hs-card:active {
  transform: scale(0.985);
}

.hs-cover {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 133.33%;
  overflow: hidden;
  background: var(--hs-soft);
}

.hs-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img.is-broken {
  opacity: 0;
}

.hs-card-body {
  display: block;
  padding: 10px 10px 14px;
  text-align: center;
}

.hs-name {
  display: block;
  font-family: var(--hs-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--hs-ink);
}

.hs-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.hs-tags em {
  margin: 2px 3px;
  padding: 1px 7px;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--hs-accent-dark);
  background: var(--hs-accent-soft);
  border-radius: 2px;
}

.hs-desc {
  display: -webkit-box;
  margin-top: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 10px;
  line-height: 1.7;
  color: #a3a3a3;
}

/* ==========================================================================
   状态 / 重试 / 页脚
   ========================================================================== */

.hs-state {
  padding: 72px 24px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--hs-sub);
}

.hs-state p {
  margin: 0 0 18px;
  line-height: 1.8;
}

.hs-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 32px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--hs-ink);
  border: 1px solid var(--hs-line);
  border-radius: 4px;
}

.hs-footer {
  padding: 40px 0 12px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 3px;
  color: #c4c4c4;
}

/* ==========================================================================
   关于 / 联系
   ========================================================================== */

.hs-about-text {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: #555555;
  letter-spacing: 0.5px;
}

.hs-about-line {
  width: 28px;
  height: 2px;
  margin: 26px 0;
  background: var(--hs-accent);
}

.hs-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  border-bottom: 1px solid var(--hs-line);
  font-size: 13px;
}

.hs-info-row span {
  color: var(--hs-sub);
  letter-spacing: 1px;
}

.hs-info-row em {
  font-style: normal;
  color: var(--hs-ink);
  letter-spacing: 1px;
}

.hs-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 26px;
  font-size: 14px;
  letter-spacing: 5px;
  color: #ffffff;
  background: var(--hs-accent);
  border-radius: 4px;
  cursor: pointer;
}

.hs-primary-btn:active {
  background: var(--hs-accent-dark);
}

/* ==========================================================================
   底部三 Tab
   ========================================================================== */

.hs-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  height: calc(58px + var(--hs-safe-bottom));
  padding-bottom: var(--hs-safe-bottom);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--hs-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hs-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #b0b0b0;
  transition: color 0.2s ease;
}

.hs-tab svg {
  width: 22px;
  height: 22px;
}

.hs-tab.is-active {
  color: var(--hs-accent);
}

/* ==========================================================================
   悬浮联系按钮
   ========================================================================== */

.hs-fab {
  position: fixed;
  right: 16px;
  bottom: calc(74px + var(--hs-safe-bottom));
  z-index: 62;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #ffffff;
  background: var(--hs-accent);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(10, 186, 181, 0.34);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.hs-fab svg {
  width: 24px;
  height: 24px;
}

.hs-fab:active {
  transform: scale(0.94);
}

/* ==========================================================================
   联系面板（底部弹出）
   ========================================================================== */

.hs-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.4);
  animation: hsFadeIn 0.2s ease;
}

.hs-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 72;
  padding: 0 20px calc(16px + var(--hs-safe-bottom));
  background: var(--hs-bg);
  border-radius: 18px 18px 0 0;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: hsSlideUp 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes hsSlideUp {
  from { transform: translateY(16%); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes hsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hs-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--hs-ink);
}

.hs-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--hs-sub);
}

.hs-icon-btn svg {
  width: 18px;
  height: 18px;
}

.hs-sheet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 0;
  text-align: left;
  font-size: 14px;
  color: var(--hs-ink);
  border-top: 1px solid var(--hs-line);
}

.hs-sheet-item svg {
  width: 20px;
  height: 20px;
  color: var(--hs-accent);
  flex-shrink: 0;
}

.hs-sheet-item span {
  letter-spacing: 1px;
}

.hs-sheet-item em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: #b0b0b0;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hs-sheet-item.is-static {
  cursor: default;
}

/* 联系弹窗 · 微信二维码 */
.hs-sheet-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 0 10px;
  border-top: 1px solid var(--hs-line);
}

.hs-sheet-qr img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 38vh;
  border-radius: 10px;
  -webkit-touch-callout: default;
  user-select: auto;
}

.hs-sheet-qr span {
  font-size: 11px;
  letter-spacing: 1px;
  color: #b0b0b0;
}

/* ==========================================================================
   详情弹窗（手机底部滑入全屏 / PC 居中）
   ========================================================================== */

.hs-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.hs-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: hsFadeIn 0.2s ease;
}

.hs-modal-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 6vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--hs-bg);
  border-radius: 18px 18px 0 0;
  animation: hsSlideUp 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hs-modal-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hs-modal-hero {
  height: clamp(280px, 46vh, 460px);
  background: var(--hs-soft);
}

.hs-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-modal-body {
  padding: 22px 20px 28px;
}

.hs-modal-name {
  margin: 0;
  font-family: var(--hs-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--hs-ink);
  text-align: center;
}

.hs-modal-price {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--hs-accent-dark);
  text-align: center;
}

.hs-modal-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.hs-modal-tags em {
  margin: 3px 4px;
  padding: 3px 10px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--hs-accent-dark);
  background: var(--hs-accent-soft);
  border-radius: 2px;
}

.hs-modal-text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2;
  color: #555555;
  word-break: break-word;
}

.hs-modal-text p {
  margin: 0 0 12px;
}

.hs-modal-text img,
.hs-modal-text video {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.hs-empty {
  color: #b0b0b0;
}

.hs-video-block {
  margin-top: 24px;
}

.hs-video-head {
  margin-bottom: 10px;
  font-family: var(--hs-serif);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--hs-ink);
}

.hs-video-head em {
  margin-left: 8px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--hs-accent);
}

.hs-video {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--hs-soft);
  border-radius: 6px;
}

.hs-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.hs-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  background: rgba(10, 186, 181, 0.92);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hs-play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.hs-video-tip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.9);
}

.hs-modal-foot {
  padding: 12px 16px calc(12px + var(--hs-safe-bottom));
  background: var(--hs-bg);
  border-top: 1px solid var(--hs-line);
}

.hs-modal-foot .hs-primary-btn {
  margin-top: 0;
}

.hs-modal-close {
  position: absolute;
  top: calc(var(--hs-safe-top) + 12px);
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.34);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hs-modal-close svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   下拉刷新 / 轻提示
   ========================================================================== */

.hs-pull {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: calc(var(--hs-safe-top) + 10px) 0 10px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--hs-accent-dark);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-100%);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.hs-pull.show {
  transform: translateY(0);
}

.hs-toast {
  position: fixed;
  left: 50%;
  bottom: calc(90px + var(--hs-safe-bottom));
  z-index: 100;
  max-width: 70vw;
  padding: 9px 20px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #ffffff;
  background: rgba(20, 20, 20, 0.9);
  border-radius: 22px;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.hs-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   平板 768 - 1199
   ========================================================================== */

@media (min-width: 768px) {
  #app {
    max-width: 880px;
  }

  .hs-hero {
    padding-top: calc(var(--hs-safe-top) + 64px);
  }

  .hs-section {
    padding: 12px 28px 0;
  }

  .hs-grid {
    gap: 20px;
  }

  .hs-modal-panel {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(720px, 92vw);
    height: min(88vh, 900px);
    border-radius: 14px;
    transform: translate(-50%, -50%);
    animation: hsPop 0.25s ease;
  }

  @keyframes hsPop {
    from { opacity: 0; transform: translate(-50%, -48%) scale(0.98); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }

  .hs-modal-hero {
    height: clamp(300px, 42vh, 440px);
  }

  .hs-sheet {
    left: 50%;
    right: auto;
    bottom: 24px;
    width: 420px;
    border-radius: 14px;
    transform: translateX(-50%);
    padding-bottom: 16px;
    animation: hsFadeIn 0.2s ease;
  }

  .hs-fab {
    right: max(24px, calc(50% - 440px + 24px));
    bottom: 88px;
  }
}

/* ==========================================================================
   PC ≥1200
   ========================================================================== */

@media (min-width: 1200px) {
  #app {
    max-width: 1160px;
  }

  .hs-hero {
    padding: calc(var(--hs-safe-top) + 84px) 40px 44px;
  }

  .hs-section {
    padding: 20px 40px 0;
  }

  .hs-grid {
    gap: 28px;
  }

  .hs-cover {
    padding-top: 120%;
  }

  .hs-name {
    font-size: 17px;
  }

  .hs-modal-panel {
    width: 820px;
  }

  .hs-modal-hero {
    height: min(52vh, 520px);
  }

  .hs-modal-body {
    padding: 28px 40px 36px;
  }

  .hs-fab {
    right: max(32px, calc(50% - 580px + 32px));
    bottom: 96px;
  }

  .hs-toast {
    bottom: 100px;
  }
}

/* ==========================================================================
   指针设备 hover
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .hs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  }

  .hs-fab:hover {
    box-shadow: 0 10px 28px rgba(10, 186, 181, 0.45);
  }

  .hs-tab:hover {
    color: var(--hs-accent-dark);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
